:root {
  color-scheme: dark;
  --bg: #09090b;
  --surface: #15151a;
  --text: #fafafa;
  --muted: #a1a1aa;
  --line: #29292e;
  --accent: #b9c8ff;
}
* { box-sizing: border-box; }
/* Reserve desktop scrollbar space without narrowing phone layouts. */
@media (min-width: 901px) {
  html { scrollbar-gutter: stable; }
  @supports not (scrollbar-gutter: stable) {
    html { overflow-y: scroll; }
  }
}
html body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--bg); }
body a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
a { -webkit-tap-highlight-color: transparent; transition: color 150ms ease, background-color 150ms ease; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.page-width { width: 100%; max-width: 1120px; margin: auto; padding: 0 32px; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; border-bottom: 1px solid var(--line); }
.site-nav .brand { font-size: 22px; font-weight: 600; letter-spacing: -1px; text-decoration: none; }
.site-links { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 14px; }
.overview, .hero { display: grid; grid-template-columns: 1.25fr 1fr; align-items: start; gap: 64px; padding: 64px 0; }
.overview > *, .hero > * { min-width: 0; }
.intro { margin: 0; max-width: 570px; color: var(--muted); font-size: 18px; }
.contact { padding: 32px 0; border-top: 1px solid var(--line); }
.contact h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.25; font-weight: 500; letter-spacing: -.02em; }
.contact p { margin: 0 0 8px; color: var(--muted); }
.contact > a { color: var(--accent); overflow-wrap: anywhere; }
.contact > a:hover { color: var(--text); }
.site-footer { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (max-width: 900px) {
  .page-width { padding-left: 24px; padding-right: 24px; }
  .overview, .hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
  .site-links { gap: 8px 16px; }
  .site-footer { flex-direction: column; }
}
@media (max-width: 600px) {
  .site-nav { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding-top: 16px; padding-bottom: 16px; }
  .contact > a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  a { transition: none; }
}
