/* Contrail landing — "Neo-Retro" tokens mirror theme/index.ts in the app. */
:root {
  --bg: #0c0e10;
  --bg-2: #111416;
  --surface: #1d2022;
  --surface-low: #191c1e;
  --surface-hi: #272a2c;
  --line: #37393c;
  --line-soft: rgba(225, 226, 229, 0.08);

  --text: #e1e2e5;
  --text-muted: rgba(225, 226, 229, 0.7);
  --text-faint: rgba(225, 226, 229, 0.5);

  --amber: #ffb800;
  --amber-soft: #ffdca1;
  --amber-ink: #412d00;
  --amber-shadow: #6b4c00;
  --nixie: #ff5500;
  --orange: #f2891f;
  --success: #6bff8f;
  --brass: #9e8f78;
  --brass-dim: #514532;
  --sand: #d5c4ab;

  --paper: #efe6d2;
  --paper-ink: #2a2115;
  --paper-muted: rgba(42, 33, 21, 0.55);
  --paper-faint: rgba(42, 33, 21, 0.22);

  --f-display: "Hanken Grotesk", system-ui, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;
  --f-data: "VT323", ui-monospace, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Film grain over everything — the app's paper/analog feel. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
p { margin: 0; }
::selection { background: var(--amber); color: var(--amber-ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--amber); color: var(--amber-ink); padding: 10px 14px;
  font: 700 13px var(--f-mono); text-decoration: none; border-radius: 4px;
}
.skip:focus { top: 12px; }

/* ───────── Buttons ───────── */
.btn {
  --sh: 5px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 22px;
  background: var(--amber);
  color: var(--amber-ink);
  font: 700 14px/1 var(--f-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: var(--sh) var(--sh) 0 var(--amber-shadow);
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), background 0.2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: calc(var(--sh) + 1px) calc(var(--sh) + 1px) 0 var(--amber-shadow); background: #ffc21f; }
.btn:active { transform: translate(var(--sh), var(--sh)); box-shadow: 0 0 0 var(--amber-shadow); }
.btn--sm { --sh: 3px; padding: 10px 14px; font-size: 12px; }
.btn--lg { --sh: 6px; padding: 19px 28px; font-size: 15px; }

.link-arrow {
  font: 700 13px var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; color: var(--text-muted);
  padding: 8px 2px; border-bottom: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s;
}
.link-arrow:hover { color: var(--amber-soft); border-color: var(--amber); }
.link-arrow span { display: inline-block; transition: transform 0.25s var(--ease-out); }
.link-arrow:hover span { transform: translateY(3px); }

/* ───────── Nav ───────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 14px 0;
  transition: background 0.3s, border-color 0.3s, padding 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(12, 14, 16, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line-soft);
  padding: 10px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.brand img { width: 36px; height: 36px; transition: transform 0.4s var(--ease-spring); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand--sm { font-size: 17px; }
.brand--sm img { width: 24px; height: 24px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font: 400 13px var(--f-mono); color: var(--text-muted); text-decoration: none;
  position: relative; padding: 4px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--amber);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-out);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
@media (max-width: 860px) { .nav__links { display: none; } }

/* ───────── Shared type ───────── */
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12px var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber);
}
.eyebrow {
  padding: 7px 12px 7px 10px; border: 1px solid rgba(255, 184, 0, 0.3); border-radius: 999px;
  background: rgba(255, 184, 0, 0.06);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(107, 255, 143, 0.6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(107, 255, 143, 0.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(107, 255, 143, 0); } }

.section { padding: clamp(72px, 9vw, 124px) 0; position: relative; }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--center { text-align: center; justify-items: center; }
.section__title { font-size: clamp(38px, 6vw, 72px); }
.section__lede { color: var(--text-muted); max-width: 54ch; font-size: clamp(16px, 1.4vw, 18px); }
.section__head--center .section__lede { margin: 0 auto; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ───────── Hero ───────── */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  padding: 128px 0 96px;
  display: flex; align-items: center;
  overflow: hidden;
}
.sky { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(120% 70% at 70% 115%, rgba(255, 120, 20, 0.28), transparent 60%),
  radial-gradient(80% 60% at 20% 110%, rgba(255, 184, 0, 0.12), transparent 60%),
  linear-gradient(180deg, #08090b 0%, #0d0f12 45%, #17130d 100%); }
.sky__stars {
  position: absolute; inset: 0 0 35% 0; opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff, transparent),
    radial-gradient(1px 1px at 28% 42%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 46% 12%, #fff, transparent),
    radial-gradient(1px 1px at 63% 30%, #fff, transparent),
    radial-gradient(1px 1px at 78% 8%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 88% 36%, #fff, transparent),
    radial-gradient(1px 1px at 6% 52%, #fff, transparent),
    radial-gradient(1px 1px at 36% 64%, #fff, transparent),
    radial-gradient(1px 1px at 54% 50%, #fff, transparent),
    radial-gradient(1px 1px at 94% 58%, #fff, transparent),
    radial-gradient(1px 1px at 70% 62%, #fff, transparent),
    radial-gradient(1px 1px at 20% 80%, #fff, transparent);
  mask-image: linear-gradient(#000, transparent);
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { to { opacity: 0.3; } }
.sky__trails { position: absolute; inset: 0; width: 100%; height: 100%; }
.trail { fill: none; stroke: url(#trail); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 520 2400; stroke-dashoffset: 520; filter: drop-shadow(0 0 4px rgba(255,255,255,.35)); }
.t1 { animation: fly 14s linear infinite; }
.t2 { animation: fly 19s linear infinite 4s; stroke-width: 1.1; opacity: 0.7; }
.t3 { animation: fly 23s linear infinite 9s; stroke-width: 1.3; opacity: 0.6; }
@keyframes fly { from { stroke-dashoffset: 520; } to { stroke-dashoffset: -2000; } }
.sky__horizon { position: absolute; left: -10%; right: -10%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 184, 0, 0.5), transparent); box-shadow: 0 0 40px 8px rgba(255, 140, 0, 0.18); }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 26px; justify-items: start; }
.hero__title { font-size: clamp(44px, 6.4vw, 92px); letter-spacing: -0.045em; line-height: 0.96; text-wrap: balance; }
.hero__title em { font-style: italic; color: var(--amber); position: relative; white-space: nowrap; }
.hero__title em::after {
  content: ""; position: absolute; left: 0.04em; right: 0.1em; bottom: 0.04em; height: 0.07em;
  background: linear-gradient(90deg, var(--nixie), var(--amber));
  transform-origin: left; transform: scaleX(0); animation: underline 1.1s 0.9s var(--ease-out) forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.hero__lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-muted); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; margin-top: 6px; }
.hero__fine { font: 400 12px var(--f-mono); color: var(--text-faint); letter-spacing: 0.04em; }
.hero__meta { display: grid; gap: 12px; justify-items: start; }

/* Founding Flyer offer: stamp-styled chip */
.founder {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 7px; border-radius: 6px;
  border: 1px dashed rgba(255, 85, 0, 0.55); background: rgba(255, 85, 0, 0.06);
  font: 400 12px/1.4 var(--f-mono); color: var(--text-muted); text-align: left;
}
.founder b { color: var(--nixie); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.founder__seal {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--nixie); color: var(--nixie); font-size: 12px; transform: rotate(-12deg);
}

/* Stage */
.hero__stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 22px; min-width: 0; }
.counter {
  width: min(100%, 440px); display: flex; align-items: baseline; justify-content: flex-end; gap: 10px; line-height: 1;
  margin-bottom: 4px;
}
.counter__label, .counter__unit { font: 700 10px var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); }
.counter__num { font: 400 56px/0.9 var(--f-data); color: var(--amber); text-shadow: 0 0 18px rgba(255, 184, 0, 0.45); }
.counter__num.bump { animation: bump 0.6s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.25); color: #fff; } }

.deck { position: relative; width: min(100%, 440px); perspective: 1200px; }
.deck__ghost {
  position: absolute; inset: 0; border-radius: 14px; background: var(--paper);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.deck__ghost--1 { transform: rotate(-4deg) translate(-10px, 10px); opacity: 0.55; filter: brightness(0.6); }
.deck__ghost--2 { transform: rotate(5deg) translate(14px, 16px); opacity: 0.3; filter: brightness(0.45); }

/* The boarding pass */
.pass {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 8px minmax(0, 1fr);
  grid-template-areas: "stripe main" "stripe perf" "stripe stub";
  background: var(--paper); color: var(--paper-ink);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 40px 80px -24px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0,0,0,.2);
  transform: rotate(-1.5deg);
  transition: transform 0.7s var(--ease-out), opacity 0.6s var(--ease-out);
  background-image:
    radial-gradient(120% 80% at 0% 0%, rgba(255,255,255,.35), transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .22 0 0 0 0 .1 0 0 0 .12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
}
.pass.is-leaving { transform: translateY(-40px) rotate(-6deg) scale(0.92); opacity: 0; }
.pass.is-entering { transform: translateY(60px) rotate(3deg) scale(0.96); opacity: 0; transition: none; }
.pass__stripe { grid-area: stripe; background: #075aaa; transition: background 0.4s; }
.pass__main { grid-area: main; padding: 20px 22px 16px; display: grid; gap: 16px; }
.pass__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pass__kind { font: 700 10px var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper-muted); }
.pass__carrier { font: 700 12px var(--f-mono); letter-spacing: 0.04em; text-align: right; }
.pass__route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.pass__right { text-align: right; }
.pass__code { font: 800 clamp(40px, 5vw, 52px)/0.9 var(--f-display); letter-spacing: -0.04em; }
.pass__city { font: 400 12px var(--f-mono); color: var(--paper-muted); margin-top: 6px; }
.pass__plane { display: flex; align-items: center; gap: 6px; color: var(--paper-ink); }
.pass__plane span { flex: 1; height: 0; border-top: 1.5px dashed var(--paper-faint); }
.pass__plane svg { width: 20px; height: 20px; transform: rotate(90deg); fill: currentColor; }
.pass__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 0.7fr; gap: 10px; margin: 0; }
.pass__grid dt { font: 700 9px var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper-muted); }
.pass__grid dd { margin: 3px 0 0; font: 700 13px var(--f-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pass__perf {
  grid-area: perf; position: relative; height: 0; border-top: 2px dashed var(--paper-faint); margin: 0 18px;
}
.pass__stub { grid-area: stub; padding: 16px 22px 20px; }

.barcode { position: relative; height: 78px; padding: 8px; }
.barcode canvas { width: 100%; height: 100%; image-rendering: pixelated; }
.vf { position: absolute; width: 14px; height: 14px; border: 2px solid var(--nixie); opacity: 0; transition: opacity 0.3s; }
.vf--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.vf--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.vf--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.vf--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.laser {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 3px; border-radius: 2px;
  background: var(--nixie); box-shadow: 0 0 12px 3px rgba(255, 85, 0, 0.7), 0 0 40px 8px rgba(255, 85, 0, 0.25);
  opacity: 0;
}
.pass.is-scanning .vf { opacity: 1; }
.pass.is-scanning .laser { opacity: 1; animation: sweep 1.5s ease-in-out infinite alternate; }
@keyframes sweep { from { left: 2%; } to { left: calc(98% - 3px); } }

.stamp {
  position: absolute; z-index: 3; right: 30px; bottom: 34px;
  display: grid; justify-items: center; gap: 2px;
  padding: 8px 14px 6px;
  border: 3px solid var(--nixie); border-radius: 8px;
  color: var(--nixie);
  font: 700 17px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px rgba(255, 85, 0, 0.5);
  background: rgba(239, 230, 210, 0.92);
  opacity: 0; transform: rotate(-14deg) scale(2.2);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 2.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 2.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
}
.stamp small { font-size: 10px; letter-spacing: 0.2em; }
.pass.is-stamped .stamp { animation: stamp 0.45s var(--ease-out) forwards; }
@keyframes stamp {
  0% { opacity: 0; transform: rotate(-14deg) scale(2.2); }
  60% { opacity: 1; transform: rotate(-11deg) scale(0.94); }
  100% { opacity: 0.92; transform: rotate(-11deg) scale(1); }
}
.pass.is-stamped { animation: thud 0.45s var(--ease-out); }
@keyframes thud { 55% { transform: rotate(-1.5deg) scale(0.985); } }

/* Terminal readout */
.readout {
  width: min(100%, 440px);
  padding: 12px 14px; border-radius: 6px;
  background: rgba(12, 15, 17, 0.8); border: 1px solid var(--line);
  font: 400 19px/1.25 var(--f-data); color: var(--amber);
  min-height: 74px;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
}
.readout__line { display: flex; gap: 8px; white-space: pre; }
.readout__text { flex: 1; min-width: 0; display: flex; justify-content: flex-end; overflow: hidden; }
.readout__text > span { flex: none; }
.readout__prompt { color: var(--text-faint); }
.caret { display: inline-block; width: 9px; height: 16px; background: var(--amber); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.readout__ok { color: var(--success); opacity: 0; transform: translateY(4px); transition: opacity 0.3s, transform 0.3s; text-shadow: 0 0 10px rgba(107,255,143,.35); }
.readout__ok.show { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero { padding-top: 112px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__stage { margin-top: 16px; }
}
@media (max-width: 480px) {
  .pass__main { padding: 16px 16px 14px; }
  .pass__stub { padding: 12px 16px 16px; }
  .pass__grid { grid-template-columns: 1.3fr 1fr; row-gap: 10px; }
  .stamp { bottom: 26px; right: 18px; font-size: 14px; }
  .counter__num { font-size: 46px; }
  .readout { font-size: 17px; }
}

/* ───────── Departures board ───────── */
.board-section { padding: 24px 0 0; position: relative; }
.board {
  background: #0a0b0c; border: 1px solid var(--line); border-radius: 10px;
  padding: clamp(16px, 3vw, 28px);
  box-shadow: 0 0 0 6px #141619, 0 0 0 7px var(--line), 0 40px 80px -30px rgba(0,0,0,.8);
}
.board__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.board__title { font: 700 13px var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); }
.board__clock { font: 400 28px/1 var(--f-data); color: var(--amber); text-shadow: 0 0 12px rgba(255,184,0,.4); }
.board__row {
  display: grid; grid-template-columns: 7fr 3.5fr 3.5fr 7fr 9fr; gap: clamp(8px, 2vw, 24px); align-items: center;
  padding: 7px 0; border-top: 1px solid rgba(255,255,255,.04);
}
.board__row--head { border-top: 0; padding-top: 0; font: 700 10px var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); }
.flaps { display: flex; gap: 3px; }
.flap {
  position: relative; width: clamp(15px, 1.8vw, 24px); height: clamp(24px, 2.8vw, 36px);
  display: grid; place-items: center;
  background: linear-gradient(#1f2225 0 50%, #191b1e 50% 100%);
  border-radius: 3px;
  font: 400 clamp(20px, 2.4vw, 31px)/1 var(--f-data); color: #f1ead8;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.03);
  overflow: hidden;
}
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.75); }
.flap.flip { animation: flip 0.08s linear; }
@keyframes flip { 50% { transform: scaleY(0.2); filter: brightness(1.6); } }
.status--collected .flap { color: var(--success); }
.status--upcoming .flap { color: var(--amber); }
@media (max-width: 720px) {
  .board__row { grid-template-columns: 6fr 3fr 3fr 9fr; }
  .col-date { display: none !important; }
}
@media (max-width: 400px) { .flaps { gap: 2px; } .flap { width: 13px; height: 22px; font-size: 18px; } }

/* ───────── Steps ───────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step {
  position: relative; display: grid; align-content: start; gap: 10px;
  padding: 18px 18px 26px; border: 1px solid var(--line); border-radius: 8px;
  background: linear-gradient(180deg, var(--surface-low), var(--bg-2));
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}
.step:hover { border-color: var(--brass-dim); transform: translateY(-4px); }
.step__num { font: 400 30px/1 var(--f-data); color: var(--amber); margin-top: 8px; }
.step h3 { font-size: 24px; }
.step p { color: var(--text-muted); font-size: 16px; }
.step__art {
  position: relative; height: 210px; border-radius: 6px; overflow: hidden;
  background: radial-gradient(80% 90% at 50% 100%, rgba(255,184,0,.1), transparent 70%), #0e1012;
  border: 1px solid rgba(255,255,255,.04);
  display: grid; place-items: center;
}
.phone {
  width: 110px; height: 188px; margin-top: 46px; border-radius: 20px; padding: 8px;
  background: #22252a; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 20px 40px rgba(0,0,0,.5);
}
.phone__screen { position: relative; height: 100%; border-radius: 13px; background: #0a0b0d; display: grid; place-items: center; padding: 28px 14px; overflow: hidden; }
.phone__screen .vf { opacity: 1; width: 12px; height: 12px; }
.phone__screen .vf--tl, .phone__screen .vf--tr { top: 30px; } .phone__screen .vf--bl, .phone__screen .vf--br { bottom: auto; top: 76px; }
.phone__screen .vf--tl, .phone__screen .vf--bl { left: 12px; } .phone__screen .vf--tr, .phone__screen .vf--br { right: 12px; }
.phone__screen .mini-bars { position: absolute; top: 36px; left: 18px; right: 18px; height: 46px; }
.phone__screen .laser { top: 34px; bottom: auto; height: 50px; opacity: 1; animation: sweep-mini 1.6s ease-in-out infinite alternate; }
@keyframes sweep-mini { from { left: 16px; } to { left: calc(100% - 19px); } }
.mini-bars {
  background: var(--paper);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 3px, #000 3px 4px, transparent 4px 7px, #000 7px 8px, transparent 8px 9px, #000 9px 12px, transparent 12px 13px);
          mask: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 3px, #000 3px 4px, transparent 4px 7px, #000 7px 8px, transparent 8px 9px, #000 9px 12px, transparent 12px 13px);
  border-radius: 1px;
}
.shot { position: absolute; width: 104px; height: 150px; border-radius: 10px; background: #1b1e21; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 16px 30px rgba(0,0,0,.5); transition: transform 0.5s var(--ease-out); }
.shot--3 { transform: translate(-56px, 10px) rotate(-12deg); opacity: .5; }
.shot--2 { transform: translate(52px, 6px) rotate(10deg); opacity: .7; }
.shot--1 { transform: translateY(-4px); background: var(--paper); display: grid; place-items: center; padding: 14px; }
.shot--1 .mini-bars { width: 100%; height: 40px; background: var(--paper-ink); }
.share { position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 700 10px var(--f-mono); letter-spacing: .06em; padding: 6px 9px; border-radius: 999px; background: var(--amber); color: var(--amber-ink); box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.step:hover .shot--3 { transform: translate(-70px, 14px) rotate(-17deg); }
.step:hover .shot--2 { transform: translate(66px, 10px) rotate(15deg); }

.fcard {
  position: absolute; width: 86%; display: grid; grid-template-columns: 5px 1fr auto;
  background: var(--surface); border: 1px solid #37393c; border-radius: 3px; overflow: hidden;
  box-shadow: 4px 4px 0 var(--bg);
  transform: translateY(-16px); transition: transform 0.5s var(--ease-out);
  z-index: 2;
}
.fcard--back { transform: translateY(46px) scale(0.94); opacity: 0.55; z-index: 1; }
.step:hover .fcard { transform: translateY(-24px) rotate(-1.5deg); }
.step:hover .fcard--back { transform: translateY(56px) scale(0.94) rotate(1.5deg); }
.fcard i { display: block; }
.fcard__body { padding: 12px 14px; display: grid; gap: 8px; }
.fcard__body b { font: 700 13px var(--f-mono); }
.fcard__route { display: flex; align-items: center; gap: 8px; font: 800 26px/1 var(--f-display); letter-spacing: -0.03em; }
.fcard__route em { flex: 1; height: 0; border-top: 1px dashed var(--brass); }
.fcard__meta { border-left: 1px dashed #37393c; padding: 12px 14px; display: grid; align-content: center; justify-items: center; gap: 2px; }
.fcard__meta small { font: 700 9px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.fcard__meta strong { font: 400 28px/1 var(--f-data); color: var(--amber); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 520px; } }

/* ───────── Globe ───────── */
.globe-section { overflow: hidden; }
.globe-section::before {
  content: ""; position: absolute; inset: 10% -20% 10% 30%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 184, 0, 0.09), transparent);
}
.globe-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.globe-copy .section__head { margin-bottom: 22px; }
.globe-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: center; }
.globe { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.globe:active { cursor: grabbing; }
.globe-hint { position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%); font: 400 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }

.stats { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); box-shadow: 4px 4px 0 #050607; }
.stat {
  display: grid; gap: 4px; padding: 14px 12px 12px; border-radius: 4px; border: 1px solid var(--line);
  background: var(--surface); text-align: center;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
}
.stat--wide { grid-column: 1 / -1; }
.stat__v { font: 400 46px/0.9 var(--f-data); color: var(--amber); text-shadow: 0 0 16px rgba(255,184,0,.45); font-variant-numeric: tabular-nums; }
.stat__v small { font-size: 0.5em; }
.stat__route { font: 700 12px var(--f-mono); color: var(--sand); }
.stat__l { font: 700 10px var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); }
@media (max-width: 900px) {
  .globe-grid { grid-template-columns: minmax(0, 1fr); }
  .globe-wrap { order: -1; max-width: 520px; }
}

/* ───────── Anatomy ───────── */
.anatomy {
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: var(--surface-low);
}
.anatomy__strip {
  display: flex; flex-wrap: wrap; gap: 4px 2px; padding: clamp(18px, 3vw, 32px);
  font: 400 clamp(20px, 2.6vw, 32px)/1.2 var(--f-data);
  background: #0a0b0d;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 1px, transparent 1px 3px);
  border-bottom: 1px solid var(--line);
}
.seg {
  text-align: left;
  appearance: none; border: 0; margin: 0; cursor: pointer; font: inherit;
  color: var(--text-muted); background: transparent;
  padding: 4px 3px 6px; border-radius: 3px; position: relative;
  white-space: pre;
  transition: color 0.2s, background 0.2s;
}
.seg::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: 2px; height: 2px; background: currentColor; opacity: .25; transition: opacity .2s; }
.seg:hover { color: var(--text); background: rgba(255,255,255,.04); }
.seg.is-active { color: var(--amber); background: rgba(255,184,0,.1); }
.seg.is-active::after { opacity: 1; }
.seg__tag { display: block; font: 700 8px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 2px; white-space: nowrap; }
.anatomy__panel { padding: clamp(18px, 3vw, 32px); display: grid; gap: 12px; min-height: 168px; }
.anatomy__label { font: 700 12px var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.anatomy__values { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.anatomy__values code { font: 400 34px/1 var(--f-data); color: var(--text); background: #0a0b0d; padding: 4px 10px; border-radius: 4px; border: 1px solid var(--line); white-space: pre; }
.anatomy__arrow { color: var(--text-faint); font-family: var(--f-mono); }
.anatomy__values strong { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em; }
.anatomy__panel p { color: var(--text-muted); max-width: 64ch; }
.anatomy__panel.swap > * { animation: swap .35s var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }

/* ───────── Bento ───────── */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden;
  display: grid; align-content: end; gap: 10px;
  min-height: 230px; padding: 24px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface-low);
  transition: border-color .3s, background .3s;
}
.tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,184,0,.08), transparent 45%);
}
.tile:hover { border-color: var(--brass-dim); }
.tile:hover::before { opacity: 1; }
.tile--wide { grid-column: span 2; }
.tile h3 { font-size: 22px; letter-spacing: -0.02em; }
.tile p { color: var(--text-muted); font-size: 15px; max-width: 46ch; }
.tile__icon { position: absolute; top: 22px; left: 24px; font: 400 34px/1 var(--f-mono); color: var(--amber); }
.tile__art { position: absolute; inset: 0 0 auto 0; height: 55%; display: flex; align-items: center; justify-content: center; }
.tile__art--offline { gap: 18px; }
.sig { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.sig i { width: 7px; background: var(--line); border-radius: 1px; }
.sig i:nth-child(1) { height: 25%; } .sig i:nth-child(2) { height: 50%; } .sig i:nth-child(3) { height: 75%; } .sig i:nth-child(4) { height: 100%; }
.mode { font: 700 13px var(--f-mono); padding: 9px 14px; border-radius: 999px; background: var(--amber); color: var(--amber-ink); box-shadow: 0 0 30px rgba(255,184,0,.25); }
.tile__art--airports {
  flex-wrap: wrap; align-content: center; gap: 8px; padding: 22px 24px 0;
  font: 400 26px/1 var(--f-data); color: var(--text-faint);
  mask-image: linear-gradient(#000 40%, transparent);
}
.tile__art--airports span { padding: 4px 8px; border: 1px solid var(--line); border-radius: 3px; transition: color .3s, border-color .3s; }
.tile__art--airports span.lit { color: var(--amber); border-color: rgba(255,184,0,.4); }
.tile--wide { min-height: 280px; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile--wide { grid-column: auto; } .tile { min-height: 200px; } .tile--wide { min-height: 270px; } }

/* ───────── FAQ ───────── */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 6vw, 80px); align-items: start; }
.faq-grid .section__head { position: sticky; top: 110px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-size: clamp(18px, 1.8vw, 21px); font-weight: 700; letter-spacing: -0.01em;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 400 26px var(--f-mono); color: var(--amber); transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--amber-soft); }
.faq details p { color: var(--text-muted); padding: 0 44px 24px 0; max-width: 60ch; }
.faq details[open] p { animation: swap .35s var(--ease-out); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } .faq-grid .section__head { position: static; } }

/* ───────── Final CTA ───────── */
.final {
  position: relative; padding: clamp(100px, 14vw, 180px) 0; overflow: hidden; text-align: center;
  background:
    radial-gradient(60% 70% at 50% 100%, rgba(255, 120, 20, 0.22), transparent 70%),
    linear-gradient(180deg, var(--bg), #15110b);
  border-top: 1px solid var(--line-soft);
}
.final__inner { display: grid; justify-items: center; gap: 28px; }
.final__stamp { width: 132px; height: 132px; transform: rotate(-8deg); filter: drop-shadow(0 20px 30px rgba(0,0,0,.6)); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: rotate(-4deg) translateY(-8px); } }
.final__title { font-size: clamp(38px, 6.4vw, 84px); letter-spacing: -0.045em; }

/* ───────── Footer ───────── */
.footer { padding: 32px 0 40px; border-top: 1px solid var(--line-soft); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.footer p { font: 400 12px var(--f-mono); color: var(--text-faint); }
.footer .footer__tag { font: italic 800 17px var(--f-display); letter-spacing: -0.02em; color: var(--amber); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .trail { display: none; }
}
