@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("fonts/geist-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/geist-mono-latin.woff2") format("woff2");
}

:root {
  --page: #f5f5f2;
  --ink: #171717;
  --soft: rgba(32, 32, 32, 0.8);
  --quiet: #8c8c86;
  --line: rgba(32, 32, 32, 0.1);
  --panel: #efefeb;
  --card: #fbfbf9;
  --track: #c9553a;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.5; font-weight: 400;
  color: var(--ink); background: var(--page); -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 2px solid #1d6fe3; outline-offset: 3px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 10; padding: 14px 0; transition: background 0.2s; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { font-family: var(--serif); font-size: 21px; text-decoration: none; color: #fff; white-space: nowrap; text-shadow: 0 1px 0 rgba(10, 60, 150, 0.35); }
.nav.light .brand { text-shadow: none; }
.links { display: flex; gap: 6px; }
.links a {
  font-size: 14px; text-decoration: none; color: #fff; padding: 7px 12px; border-radius: 8px; white-space: nowrap;
  background: rgba(20, 30, 50, 0.32); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.links a:hover { background: rgba(20, 30, 50, 0.5); }
.nav.light { background: rgba(245, 245, 242, 0.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav.light .brand { color: var(--ink); }
.nav.light .links a { color: var(--soft); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav.light .links a:hover { background: rgba(32, 32, 32, 0.06); }

/* Hero */
.hero { position: relative; min-height: min(100vh, 860px); background: #2b82ee; overflow: hidden; }
#scene {
  position: absolute; inset: 0; width: 100%; height: 100%;
  image-rendering: pixelated; image-rendering: crisp-edges; display: block;
}
.hero .wrap { position: relative; padding-top: 118px; padding-bottom: 400px; }
h1 { font-size: clamp(34px, 5.2vw, 46px); line-height: 1.08; font-weight: 400; letter-spacing: -0.01em; margin: 0 0 18px; color: #fff; max-width: 13em; text-shadow: 0 1px 0 rgba(10, 60, 150, 0.35); }
.lede { font-size: 16px; line-height: 1.4; color: #fff; max-width: 27em; margin: 0 0 22px; font-weight: 450; text-shadow: 0 1px 0 rgba(10, 60, 150, 0.35); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn {
  display: inline-block; font-size: 15px; text-decoration: none; padding: 8px 14px; border-radius: 8px;
  background: var(--page); color: var(--ink); border: 1px solid var(--line);
}
.btn.ghost { background: rgba(255, 255, 255, 0.18); color: #fff; border-color: rgba(255, 255, 255, 0.25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn.dark { background: #2a2a2a; color: #fff; border-color: #2a2a2a; }
.status { margin: 14px 0 0; font-size: 13px; color: #fff; text-shadow: 0 1px 0 rgba(10, 60, 150, 0.45); }

/* Sections */
section { padding: 96px 0; }
.statement { text-align: center; padding-top: 72px; }
h2 { font-size: clamp(27px, 4vw, 40px); line-height: 1.15; font-weight: 400; letter-spacing: -0.01em; margin: 0; }
h2 span, .sub-ink { color: var(--quiet); }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--quiet); margin: 0 0 14px; }
.body { color: var(--soft); max-width: 34em; margin: 18px 0 0; }

/* Track mock */
.mock { margin: 48px auto 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 8px; text-align: left; }
.mock-inner { background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 20px 22px 24px; }
.mock-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--quiet); }
.mock-head strong { color: var(--ink); font-weight: 500; }
.strip { position: relative; height: 92px; margin-top: 12px; }
.strip::before { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 10px; border-radius: 3px; background: var(--track); }
.strip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 24px; border-top: 1px dashed rgba(255, 255, 255, 0.75); }
.dot { position: absolute; bottom: 34px; transform: translateX(-50%); text-align: center; font-size: 12px; color: var(--soft); white-space: nowrap; }
.dot i { display: block; width: 14px; height: 18px; margin: 4px auto 0; border-radius: 5px 5px 3px 3px; background: var(--c); box-shadow: 0 -9px 0 -3px var(--c); }
.dot.you { color: var(--ink); font-weight: 500; }
.miles { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--quiet); }
.pass { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.pass-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--quiet); margin-bottom: 8px; }
.pass-row strong { color: var(--ink); font-weight: 500; }
.tiers { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.tiers span { height: 26px; border-radius: 5px; background: var(--panel); border: 1px solid var(--line); }
.tiers .done { background: #2a2a2a; border-color: #2a2a2a; }
.tiers .now { background: #ffd36b; border-color: #e0b54f; }
.caption { font-size: 12px; color: var(--quiet); text-align: center; margin: 12px 0 0; }

.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px 32px; margin-top: 36px; text-align: left; }
.three p { margin: 0; font-size: 15px; color: var(--soft); }
.three strong { color: var(--ink); font-weight: 550; }

.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band h3 { font-size: 21px; font-weight: 400; margin: 0 0 4px; }
.band p { margin: 0; font-size: 15px; color: var(--soft); }

.rows { margin-top: 44px; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.row h3 { margin: 0; font-size: 18px; font-weight: 450; }
.row p { margin: 0; font-size: 15px; color: var(--soft); }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }

.plain { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 32px; font-size: 15px; color: var(--soft); }
.plain li { padding-left: 20px; position: relative; }
.plain li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; background: var(--track); }

footer { padding: 28px 0 48px; font-size: 13px; color: var(--quiet); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Policy page */
.doc .wrap { max-width: 720px; padding-top: 120px; padding-bottom: 80px; }
.doc h1 { color: var(--ink); max-width: none; }
.doc h2 { font-size: 22px; margin: 44px 0 10px; }
.doc p, .doc li { color: var(--soft); }
.doc li { margin-bottom: 4px; }
.doc strong { color: var(--ink); font-weight: 550; }
.doc a { color: var(--ink); }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0; min-width: 520px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); color: var(--soft); }
.doc th { font-family: var(--mono); font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.1em; color: var(--quiet); }
.draft { background: #fff6dc; border: 1px solid #ecd9a0; border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.table-scroll { overflow-x: auto; }

@media (max-width: 520px) {
  .links a.optional { display: none; }
  .brand { font-size: 18px; }
  .links a { padding: 7px 9px; font-size: 13px; }
  .hero .wrap { padding-top: 96px; padding-bottom: 400px; }
  section { padding: 72px 0; }
}
