:root {
  color-scheme: dark;
  --ground: #101011;
  --surface: #18181a;
  --ink: #f3efe8;
  --muted: #9e9da2;
  --line: #343337;
  --violet: #7c70f4;
  --mint: #48c58a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-size: 16px; line-height: 1.5; }
a { color: inherit; }

.topbar, main, footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.topbar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 780; letter-spacing: -.025em; }
.brand span { width: 40px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); color: var(--mint); font: 700 11px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
nav { display: flex; gap: 24px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
nav a:hover, nav a:focus-visible { color: var(--ink); }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; min-height: 720px; padding: 80px 0; border-bottom: 1px solid var(--line); }
.kicker { margin: 0 0 18px; color: var(--mint); font: 700 12px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 28px; font-size: clamp(58px, 7.2vw, 100px); line-height: .91; letter-spacing: -.07em; font-weight: 820; }
.lede { max-width: 620px; color: #c2c0c5; font-size: clamp(19px, 2vw, 26px); line-height: 1.35; letter-spacing: -.025em; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.button { min-height: 48px; display: inline-flex; align-items: center; padding: 0 18px; border: 1px solid var(--line); text-decoration: none; font-weight: 720; }
.button:hover, .button:focus-visible { border-color: var(--ink); }
.button.primary { background: var(--ink); color: var(--ground); border-color: var(--ink); }

.sheet { margin: 0; padding: 18px; border: 1px solid var(--line); background: var(--surface); }
.sheet img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.sheet figcaption { display: flex; justify-content: space-between; gap: 20px; padding-top: 14px; color: var(--muted); font: 12px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; }

.route { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; padding: 116px 0; border-bottom: 1px solid var(--line); }
h2 { margin-bottom: 24px; font-size: clamp(40px, 5vw, 68px); line-height: .98; letter-spacing: -.055em; }
.route ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.route li { display: grid; grid-template-columns: 44px 120px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.route li b { color: var(--violet); font: 700 13px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; }
.route li strong { font-size: 19px; }
.route li span { color: var(--muted); }

.proof { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; align-items: center; padding: 116px 0 62px; }
.proof-copy > p:not(.kicker) { color: var(--muted); }
.proof-copy > a { display: inline-block; margin-top: 18px; font-weight: 720; }
.proof-image { display: block; border: 1px solid var(--line); }
.proof-image img { display: block; width: 100%; height: auto; }

.proof-index { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.proof-index a { display: flex; flex-direction: column; gap: 7px; min-height: 125px; padding: 25px; border-right: 1px solid var(--line); text-decoration: none; }
.proof-index a:last-child { border-right: 0; }
.proof-index a:hover b, .proof-index a:focus-visible b { color: var(--violet); }
.proof-index b { font-size: 18px; }
.proof-index span { color: var(--muted); }

.closing { display: flex; justify-content: space-between; gap: 24px; padding: 80px 0; border-bottom: 1px solid var(--line); font: 700 13px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; }
.closing p { margin: 0; color: var(--mint); }
footer { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 13px; }

@media (max-width: 760px) {
  .topbar, main, footer { width: min(100% - 24px, 1180px); }
  .topbar { min-height: 70px; }
  nav a:not(:last-child) { display: none; }
  .hero, .route, .proof { grid-template-columns: 1fr; gap: 48px; }
  .hero { min-height: 0; padding: 72px 0; }
  h1 { font-size: clamp(54px, 17vw, 76px); }
  .route, .proof { padding: 78px 0; }
  .route li { grid-template-columns: 40px 1fr; }
  .route li span { grid-column: 2; }
  .proof-index { grid-template-columns: 1fr; }
  .proof-index a { min-height: 100px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-index a:last-child { border-bottom: 0; }
  .closing, footer { align-items: flex-start; flex-direction: column; }
  footer { justify-content: center; padding: 28px 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
