/* ═══════════════════════════════════════════════════════════
   Bordy — landing page
   Palettes are lifted from the app's own redesignTheme.ts so the
   page and the product cannot drift apart.
   ═══════════════════════════════════════════════════════════ */

/* ── reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html:focus-within { scroll-behavior: smooth; }
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

/* ── tokens ───────────────────────────────────────────────── */
:root {
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* status language — identical to the app */
  --amber: #E8A013;  --amber-ink: #8A5A05;  --amber-pill: #FDF3DF;
  --green: #22A65D;  --green-ink: #147040;  --green-pill: #E7F6EE;
  --red:   #B03328;  --red-pill:   #FCEBE9;

  --navy: #0F1B3D;             /* the mascot's outline */
  --paper: #FFFFFF;

  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 40px);
  --band-y: clamp(72px, 8.5vw, 118px);
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;

  --sp: 0;                      /* scroll progress 0..1, set by app.js */

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ── per-sky theming ──────────────────────────────────────── */
html[data-sky="dawn"] {
  --nav-bg: rgba(14,24,58,.66);
  --accent-strong: #1F6FCB;
  --sunx: 20%;
  --suny: 74%;
  --ink: #FFFFFF;
  --ink-soft: rgba(255,255,255,.84);
  --ink-faint: rgba(255,255,255,.70);
  --accent: #F0A93A;
  --surface: rgba(255,255,255,.07);
  --surface-line: rgba(255,255,255,.26);
  --map-ink: rgba(255,255,255,.13);
  --sun-core: rgba(255,201,120,.92);
  --sun-mid: rgba(255,148,66,.34);
  --sun-hard: 0%;
  --sun-size: 480px;
  --sun-op: .8;
}
html[data-sky="day"] {
  --nav-bg: rgba(255,255,255,.82);
  --accent-strong: #1F6FCB;
  --sunx: 52%;
  --suny: 12%;
  --ink: #0F1B3D;
  --ink-soft: rgba(15,27,61,.76);
  --ink-faint: rgba(15,27,61,.64);
  --accent: #3AA3F0;
  --surface: rgba(255,255,255,.72);
  --surface-line: rgba(15,27,61,.18);
  --map-ink: rgba(15,27,61,.13);
  --sun-core: rgba(255,250,224,.85);
  --sun-mid: rgba(255,243,196,.3);
  --sun-hard: 0%;
  --sun-size: 540px;
  --sun-op: .7;
}
html[data-sky="golden"] {
  --nav-bg: rgba(255,251,244,.80);
  --accent-strong: #B05A16;
  --sunx: 80%;
  --suny: 58%;
  --ink: #3A2A16;
  --ink-soft: rgba(58,42,22,.80);
  --ink-faint: rgba(58,42,22,.68);
  --accent: #D9772E;
  --surface: rgba(255,255,255,.66);
  --surface-line: rgba(58,42,22,.20);
  --map-ink: rgba(58,42,22,.14);
  --sun-core: rgba(255,184,96,.9);
  --sun-mid: rgba(255,146,56,.3);
  --sun-hard: 0%;
  --sun-size: 600px;
  --sun-op: .72;
}
html[data-sky="night"] {
  --nav-bg: rgba(9,15,28,.72);
  --accent-strong: #2C7FD8;
  --sunx: 84%;
  --suny: 16%;
  --ink: #EAF1FF;
  --ink-soft: rgba(234,241,255,.74);
  --ink-faint: rgba(234,241,255,.60);
  --accent: #4A9DF8;
  --surface: rgba(255,255,255,.055);
  --surface-line: rgba(255,255,255,.22);
  --map-ink: rgba(150,190,255,.16);
  --sun-core: #DCE7FB;
  --sun-mid: rgba(176,203,250,.2);
  --sun-hard: 11%;
  --sun-size: 340px;
  --sun-op: .95;
}

/* ── base ─────────────────────────────────────────────────── */
body {
  font-family: var(--body);
  color: var(--ink);
  background: #0C1733;
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: color .9s var(--ease);
}

h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 32, "WONK" 1, "opsz" 144;
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.028em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.15rem, 5vw, 3.85rem); }
h3 { font-size: 1.28rem; line-height: 1.2; letter-spacing: -.018em; font-weight: 800; }

a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); font-variant-ligatures: none; }

::selection { background: var(--accent); color: #fff; }

:where(a, button, summary):focus-visible {
  outline: 3px solid #0B1220;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #FFFFFF;
  border-radius: 6px;
}

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 300;
  padding: 12px 20px; border-radius: 12px;
  background: var(--navy); color: #fff; font-weight: 600;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: max(var(--gut), env(safe-area-inset-left)) max(var(--gut), env(safe-area-inset-right)); }
.wrap--narrow { max-width: 780px; }

/* ═══════════ ATMOSPHERE ═══════════ */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; }

.sky__layer {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.sky__layer[data-for="dawn"] {
  background: linear-gradient(178deg, #0A1430 0%, #15265C 30%, #3F3563 56%, #74424C 80%, #90502B 100%);
}
.sky__layer[data-for="day"] {
  background: linear-gradient(180deg, #BFDCF7 0%, #D8EAFB 42%, #EFF6FE 58%, #F2F8FF 100%);
}
.sky__layer[data-for="golden"] {
  background: linear-gradient(180deg, #E9CB9E 0%, #F4E3C6 40%, #FBF2E1 70%, #FCF7EF 100%);
}
.sky__layer[data-for="night"] {
  background: linear-gradient(180deg, #0B1220 0%, #0E1626 40%, #0B1220 70%, #080D18 100%);
}
html[data-sky="dawn"]   .sky__layer[data-for="dawn"],
html[data-sky="day"]    .sky__layer[data-for="day"],
html[data-sky="golden"] .sky__layer[data-for="golden"],
html[data-sky="night"]  .sky__layer[data-for="night"] { opacity: 1; }

/* sun / moon rides an arc as you scroll */
.sky__sun {
  position: absolute;
  left: var(--sunx); top: var(--suny);
  width: var(--sun-size); height: var(--sun-size);
  margin: calc(var(--sun-size) / -2);
  border-radius: 50%;
  background: radial-gradient(circle,
    var(--sun-core) 0 var(--sun-hard),
    var(--sun-mid) calc(var(--sun-hard) + 14%),
    transparent 68%);
  opacity: var(--sun-op);
  transition: width 1.2s var(--ease), height 1.2s var(--ease),
              left 1.7s var(--ease), top 1.7s var(--ease),
              opacity 1.2s var(--ease), background 1.2s var(--ease);
}

.sky__stars, .sky__clouds {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.sky__stars { visibility: hidden; }
html[data-sky="night"] .sky__stars,
html[data-sky="dawn"] .sky__stars { visibility: visible; }
html[data-sky="night"] .sky__stars { opacity: 1; }
html[data-sky="dawn"] .sky__stars { opacity: .5; }
html[data-sky="day"] .sky__clouds,
html[data-sky="golden"] .sky__clouds { opacity: 1; }

.star {
  position: absolute; border-radius: 50%; background: #fff;
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: var(--o); } 50% { opacity: calc(var(--o) * .35); } }

.cloud {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.5);
  filter: blur(44px);
  animation: drift linear infinite alternate;
}
@keyframes drift { from { transform: translateX(-40px); } to { transform: translateX(90px); } }

.sky__grain {
  position: absolute; inset: 0;
  opacity: .14; mix-blend-mode: overlay; pointer-events: none;
  will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ═══════════ SIGNATURE: FLIGHT STRIP ═══════════ */
.strip {
  /* Full viewport height: the rail is the scrollbar, so it has to start
     where the page starts and end where it ends. Top padding clears the
     floating nav; bottom padding keeps the readout off the screen edge. */
  position: fixed; z-index: 40;
  left: 26px; top: 0; bottom: 0;
  padding-block: 86px 30px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  color: var(--ink-faint);
  transition: color .9s var(--ease);
  pointer-events: none;
}
.strip__code { color: var(--ink-soft); }
.strip__rail {
  position: relative;
  width: 2px; flex: 1 1 auto; min-height: 0;
  background: var(--surface-line);
  border-radius: 2px;
}
.strip__flown {
  position: absolute; inset: 0 0 auto 0;
  height: calc(var(--sp) * 100%);
  background: var(--accent);
  border-radius: 2px;
}
.strip__dot {
  position: absolute; left: 50%; width: 7px; height: 7px;
  margin-left: -3.5px; border-radius: 50%;
  background: var(--accent);
}
.strip__dot--origin { top: -3.5px; }
.strip__dot--dest {
  bottom: -3.5px; background: transparent;
  border: 2px solid var(--accent);
}
.strip__plane {
  /* Needs an explicit size: shrink-to-fit against a 2px-wide rail
     collapsed the marker to 1px and the aircraft never showed. */
  position: absolute; left: 50%;
  top: calc(var(--sp) * 100%);
  width: 18px; height: 18px; line-height: 0;
  /* The glyph points up by default (.prog__plane rotates it 90deg for the
     horizontal bars); this rail runs DEP → ARR downwards, so nose down. */
  transform: translate(-50%, -50%) rotate(180deg);
  color: var(--accent);
}
.strip__plane svg { display: block; width: 18px; height: 18px; fill: currentColor; }
.strip__readout {
  display: flex; flex-direction: column; align-items: center;
  font-size: 9px; letter-spacing: .1em;
}
.strip__readout b { font-size: 12px; font-weight: 500; color: var(--ink-soft); }
@media (max-width: 1360px) { .strip { display: none; } }

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; inset: 14px 0 auto; z-index: 90;
  display: flex; justify-content: center;
  padding-inline: var(--gut);
  pointer-events: none;
}
.nav__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; max-width: var(--wrap); height: 70px;
  padding: 0 10px 0 20px;
  border: 1px solid var(--surface-line);
  border-radius: 35px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  pointer-events: auto;
  transition: background .9s var(--ease), border-color .9s var(--ease);
}
.nav__brand { display: flex; align-items: center; gap: 9px; }
.nav__brand span {
  font-family: var(--display);
  font-variation-settings: "SOFT" 32, "WONK" 1, "opsz" 72;
  font-weight: 900; font-size: 1.5rem; letter-spacing: -.03em;
}
.nav__links { display: flex; gap: 26px; }
.nav__links a {
  font-size: .89rem; font-weight: 500; color: var(--ink-soft);
  transition: color .2s;
}
.nav__links a:hover { color: var(--ink); }
@media (max-width: 780px) { .nav__links { display: none; } }

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  height: 52px; padding: 0 26px;
  border-radius: 26px;
  font-size: .96rem; font-weight: 700; letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn--ink { height: 42px; padding: 0 20px; font-size: .88rem; background: var(--navy); color: #fff; }
html[data-sky="night"] .btn--ink,
html[data-sky="dawn"] .btn--ink { background: #fff; color: var(--navy); }

.btn--store { background: #fff; color: var(--navy); box-shadow: 0 14px 34px rgba(6,16,40,.28); }
.btn--store svg { fill: currentColor; }
.btn--store span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.12; }
.btn--store small { font-size: .66rem; font-weight: 500; opacity: .6; }
.btn--store b { font-size: 1.06rem; font-weight: 700; }
html[data-sky="day"] .btn--store,
html[data-sky="golden"] .btn--store { background: var(--navy); color: #fff; }

.btn--lg { height: 62px; padding: 0 32px; border-radius: 31px; }
.btn--ghost { border: 1.5px solid var(--ink-faint); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-faint); }
.btn--outline { border: 1.5px solid var(--ink-faint); color: var(--ink); width: 100%; }
.btn--accent {
  background: var(--accent-strong, #1F6FCB); color: #fff; width: 100%;
  box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 30%, transparent);
}

/* ═══════════ SHARED TYPE BITS ═══════════ */
.eyebrow {
  font-family: var(--mono);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.lede {
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.62; color: var(--ink-soft);
  max-width: 46ch; text-wrap: pretty;
}
.lede em { font-style: italic; color: var(--ink); }
.head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.head .lede { margin-top: 20px; }
.aside {
  margin-top: 40px; text-align: center;
  font-size: .95rem; color: var(--ink-faint);
  max-width: 52ch; margin-inline: auto; text-wrap: pretty;
}

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 17px;
  border: 1px solid var(--surface-line); border-radius: 22px;
  background: var(--surface);
  font-size: .8rem; font-weight: 600; color: var(--ink-soft);
}
.pill__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.blink { animation: blink 1.8s ease-in-out infinite; }

.ticks { display: flex; flex-direction: column; gap: 11px; list-style: none; }
.ticks li {
  position: relative; padding-left: 27px;
  font-size: .97rem; color: var(--ink-soft);
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 15px; height: 9px;
  border-left: 2.4px solid var(--ink); border-bottom: 2.4px solid var(--ink);
  transform: rotate(-45deg);
}
.ticks--pro li::before { border-color: var(--accent); }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  padding: clamp(112px, 13vh, 150px) 0 clamp(40px, 5vw, 64px);
  text-align: center;
}
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero__h1 {
  margin-top: 18px;
  font-size: clamp(2.75rem, 7.4vw, 5.2rem);
}
.hero__h1 em { font-style: normal; color: var(--accent); }
.hero__sub {
  margin-top: 18px; max-width: 52ch;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.6; color: var(--ink-soft); text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }

.hero__stage {
  position: relative;
  width: 100%; max-width: 1080px;
  margin-top: clamp(26px, 3.4vw, 46px);
  display: flex; justify-content: center;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* floating notification cards */
.note {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 11px;
  padding: 12px 16px 12px 13px;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(6,16,40,.26);
  text-align: left;
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
.note figcaption { display: flex; flex-direction: column; }
.note b { font-size: .84rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.note small { font-size: .72rem; color: rgba(15,27,61,.5); white-space: nowrap; }
.note__icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 33px; height: 33px; border-radius: 11px;
}
.note__icon--amber { background: var(--amber-pill); color: var(--amber); }
.note__icon--green { background: var(--green-pill); color: var(--green); }
.note__icon--red   { background: var(--red-pill);   color: var(--red); }

.note--gate   { left: 0;   top: 20%;  animation-delay: -1s; }
.note--landed { right: 0;  top: 34%;  animation-delay: -3s; }
.note--delay  { left: 4%;  bottom: 14%; animation-delay: -5s; }
@media (max-width: 1080px) {
  .note--gate { left: -10px; top: 8%; }
  .note--landed { right: -10px; top: 26%; }
  .note--delay { left: -10px; bottom: 8%; }
}
@media (max-width: 960px) { .note { display: none; } }

/* ═══════════ PHONE ═══════════ */
.phone { position: relative; z-index: 4; }
.phone__body {
  width: clamp(266px, 30vw, 330px);
  padding: 9px;
  border-radius: 44px;
  background: #0B1120;
  box-shadow: 0 44px 90px rgba(6,16,40,.5), inset 0 0 0 1.5px rgba(255,255,255,.1);
  animation: bob 7s ease-in-out infinite;
}
.phone__screen {
  position: relative;
  aspect-ratio: 320 / 552;
  border-radius: 36px;
  overflow: hidden;
  padding: 42px 14px 0;
  text-align: left;
}
.sky-day { background: linear-gradient(180deg, #BFDCF7 0%, #EFF6FE 55%, #F2F8FF 100%); }
.phone__notch {
  position: absolute; top: 11px; left: 50%;
  width: 88px; height: 25px; margin-left: -44px;
  border-radius: 13px; background: #0B1120;
}
.scr { display: flex; flex-direction: column; gap: 10px; }
.scr__add {
  display: flex; align-items: center; gap: 7px;
  margin-top: 2px; padding: 11px 13px;
  border-radius: 15px;
  background: rgba(255,255,255,.55);
  color: rgba(15,27,61,.45);
  font-size: .68rem; font-weight: 500;
}
.scr__head {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-bottom: 4px;
}
.scr__head b {
  font-family: var(--display);
  font-variation-settings: "SOFT" 32, "WONK" 1, "opsz" 72;
  font-weight: 900; font-size: 1.32rem; color: var(--navy); letter-spacing: -.03em;
}

/* ═══════════ TICKET (in-phone) ═══════════ */
.tkt {
  border-radius: 17px; background: #fff; overflow: hidden;
  box-shadow: 0 8px 18px rgba(40,70,110,.13);
  color: var(--navy);
}
.tkt--green { box-shadow: inset 0 0 0 2px var(--green), 0 8px 20px rgba(40,70,110,.14); }
.tkt--amber { box-shadow: inset 0 0 0 2px var(--amber), 0 8px 18px rgba(40,70,110,.1); }
.tkt--past { background: rgba(255,255,255,.72); box-shadow: 0 4px 12px rgba(40,70,110,.07); }
.tag--muted { background: rgba(15,27,61,.07); color: rgba(15,27,61,.5); }
.tkt__eta--muted { color: rgba(15,27,61,.42); }
.prog--done .prog__a, .prog--done .prog__b { background: rgba(15,27,61,.3); border-color: rgba(15,27,61,.3); }
.prog--done .prog__left { border-top-color: rgba(15,27,61,.2); border-top-style: solid; }
.tkt__top { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 0; }
.tkt__eta { font-size: .62rem; font-weight: 700; color: var(--green-ink); }
.tkt__eta--amber { color: var(--amber-ink); }
.tkt__route {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 8px 14px 11px;
}
.tkt__route--slim { padding-bottom: 12px; }
.tkt__end { display: flex; flex-direction: column; }
.tkt__end--r { align-items: flex-end; }
.tkt__end b {
  font-family: var(--display);
  font-variation-settings: "SOFT" 32, "WONK" 1, "opsz" 72;
  font-weight: 900; font-size: 1.24rem; line-height: 1; letter-spacing: -.02em;
}
.tkt__end small { font-size: .58rem; color: rgba(15,27,61,.5); }
.tkt__mid { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 8px; }
.tkt__mid small { font-size: .56rem; color: rgba(15,27,61,.5); }
.tkt__stub {
  display: flex; align-items: center; justify-content: space-between;
  height: 34px; padding: 0 14px;
  border-top: 2px dashed rgba(15,27,61,.14);
}
.tkt__stub .mono { font-size: .53rem; letter-spacing: .1em; color: rgba(15,27,61,.5); }

.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px; border-radius: 8px;
  font-family: var(--mono); font-size: .53rem; font-weight: 500; letter-spacing: .13em;
}
.tag i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.tag--green { background: var(--green-pill); color: var(--green-ink); }
.tag--amber { background: var(--amber-pill); color: var(--amber-ink); }
.tag--red   { background: var(--red-pill);   color: var(--red); }
.tag--lg { padding: 5px 11px; font-size: .66rem; }

/* progress rail, shared by every card size */
.prog { display: flex; align-items: center; gap: 3px; width: 100%; }
.prog__a, .prog__b { flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.prog__b { background: transparent; border: 2px solid var(--green); }
.prog__done { width: var(--p, 50%); height: 3px; border-radius: 2px; background: var(--green); }
.prog__left { flex: 1; border-top: 2px dashed rgba(34,166,93,.42); }
.prog__plane { flex-shrink: 0; fill: var(--green); transform: rotate(90deg); }
.prog--empty .prog__a { background: var(--amber); }
.prog--empty .prog__b { border-color: var(--amber); }
.prog--empty .prog__left { border-top-color: rgba(232,160,19,.45); }
.prog--lg { gap: 4px; }
.prog--lg .prog__a, .prog--lg .prog__b { width: 8px; height: 8px; }
.prog--xl { gap: 6px; }
.prog--xl .prog__a, .prog--xl .prog__b { width: 9px; height: 9px; }
.prog--xl .prog__a { background: var(--amber); }
.prog--xl .prog__b { background: transparent; border-color: var(--amber); }
.prog--xl .prog__left { border-top-width: 2.5px; border-top-color: rgba(232,160,19,.5); }
.prog--xl .prog__plane { fill: var(--amber); }

.barcode {
  width: 46px; height: 13px;
  color: var(--navy);
  background-image: repeating-linear-gradient(90deg,
    currentColor 0 2px, transparent 2px 4px,
    currentColor 4px 5px, transparent 5px 8px);
}
.barcode--lg { width: 90px; height: 26px; }

/* ═══════════ SECTION SHELL ═══════════ */
.band { padding-block: var(--band-y); }
/* a section that continues the previous one's sky is a paragraph break,
   not a chapter break */
.band[data-sky="day"] + .band[data-sky="day"],
.band[data-sky="golden"] + .band[data-sky="golden"],
.band[data-sky="night"] + .band[data-sky="night"] { padding-block-start: calc(var(--band-y) * .4); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split--flip .split__copy { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__copy { order: 0; }
}
.split__art { width: 100%; max-width: 560px; margin-inline: auto; }
.split__copy h2 { margin-bottom: 20px; }
.split__copy .lede { margin-bottom: 28px; }

/* ═══════════ NUMBERS ═══════════ */
.trust { padding-block: clamp(30px, 3.5vw, 50px) clamp(50px, 7vw, 78px); }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 860px) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__n {
  font-family: var(--display);
  font-variation-settings: "SOFT" 32, "WONK" 1, "opsz" 144;
  font-weight: 900; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1;
  letter-spacing: -.035em;
}
.stat span { font-size: .87rem; line-height: 1.45; color: var(--ink-soft); text-wrap: pretty; }

/* ═══════════ LEGEND ═══════════ */
.legend { display: flex; flex-direction: column; gap: 14px; }
.legend__row { display: grid; grid-template-columns: 106px 1fr; gap: 14px; align-items: baseline; }
.legend dt { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .97rem; }
.legend dt i { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.legend dd { font-size: .93rem; color: var(--ink-soft); }
@media (max-width: 520px) { .legend__row { grid-template-columns: 1fr; gap: 2px; } }

/* ═══════════ BIG CARDS ═══════════ */
.card {
  border-radius: var(--r-lg); background: #fff; overflow: hidden;
  color: var(--navy);
  box-shadow: 0 18px 44px rgba(6,16,40,.14);
}
.card--green { box-shadow: inset 0 0 0 2px var(--green), 0 18px 44px rgba(6,16,40,.14); }
.card--red { box-shadow: inset 0 0 0 2px var(--red), 0 12px 30px rgba(6,16,40,.1); }
.card--slim {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 14px; padding: 15px 20px;
}
.card__top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 0; }
.card__eta { font-size: .84rem; font-weight: 700; color: var(--green-ink); }
.card__route {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 14px 22px 12px;
}
.card__end { display: flex; flex-direction: column; gap: 2px; }
.card__end--r { align-items: flex-end; }
.card__end b {
  font-family: var(--display);
  font-variation-settings: "SOFT" 32, "WONK" 1, "opsz" 96;
  font-weight: 900; font-size: 1.85rem; line-height: 1; letter-spacing: -.03em;
}
.card__end small { font-size: .76rem; color: rgba(15,27,61,.5); }
.card__mid { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0 14px; }
.card__mid > small { font-size: .74rem; color: rgba(15,27,61,.5); }
.card__ok { font-size: .74rem; font-weight: 600; color: var(--green-ink); }
.card__pair { font-size: .95rem; font-weight: 700; }
.card__times { display: flex; align-items: baseline; gap: 9px; margin-left: auto; }
.card__times s { font-size: .87rem; color: rgba(15,27,61,.35); }
.card__times b {
  font-family: var(--display);
  font-variation-settings: "SOFT" 32, "WONK" 1, "opsz" 72;
  font-weight: 900; font-size: 1.22rem; color: var(--red);
}

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; padding: 4px 20px 20px; }
.tile {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 9px 4px;
  border: 1.5px solid rgba(15,27,61,.13); border-radius: var(--r-sm);
}
.tile span {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .13em;
  color: rgba(15,27,61,.45);
}
.tile b {
  font-family: var(--display);
  font-variation-settings: "SOFT" 32, "WONK" 1, "opsz" 72;
  font-weight: 900; font-size: 1.08rem; letter-spacing: -.02em;
}
.tile b.mono { font-family: var(--mono); font-weight: 500; font-size: .98rem; }
.tile--green { border-color: rgba(34,166,93,.45); }
.tile--green span, .tile--green b { color: var(--green-ink); }
.tile--amber { border-color: rgba(232,160,19,.5); }
.tile--amber span, .tile--amber b { color: var(--amber-ink); }

.note-under {
  margin-top: 16px; text-align: center;
  font-size: .84rem; color: var(--ink-faint);
}

/* ═══════════ BOARDING PASS ═══════════ */
.band--center .head { margin-bottom: clamp(44px, 6vw, 68px); }
.pass { max-width: 760px; margin-inline: auto; filter: drop-shadow(0 22px 30px rgba(6,16,40,.22)); }
.pass__card {
  position: relative;
  border-radius: var(--r-lg);
  background: #fff;
  color: var(--navy);
  box-shadow: inset 0 0 0 2.5px var(--amber);
  /* the perforation notch, punched out of both edges */
  -webkit-mask:
    radial-gradient(17px at 0 calc(100% - 84px), transparent 16px, #000 16.5px),
    radial-gradient(17px at 100% calc(100% - 84px), transparent 16px, #000 16.5px);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(17px at 0 calc(100% - 84px), transparent 16px, #000 16.5px),
    radial-gradient(17px at 100% calc(100% - 84px), transparent 16px, #000 16.5px);
  mask-composite: intersect;
  animation: bob 7.5s ease-in-out infinite;
}
.pass__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 28px 0; }
.pass__eta { font-size: .93rem; font-weight: 700; color: var(--amber-ink); }
.pass__route {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 22px 30px 8px;
}
.pass__end { display: flex; flex-direction: column; gap: 3px; }
.pass__end--r { align-items: flex-end; text-align: right; }
.pass__end b {
  font-family: var(--display);
  font-variation-settings: "SOFT" 32, "WONK" 1, "opsz" 144;
  font-weight: 900; font-size: clamp(2.2rem, 5.4vw, 3.3rem); line-height: .9; letter-spacing: -.04em;
}
.pass__time { font-family: var(--mono); font-size: 1rem; font-weight: 500; }
.pass__end small { font-size: .78rem; color: rgba(15,27,61,.5); }
.pass__mid { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 20px 0; }
.pass__mid > small { font-size: .82rem; color: rgba(15,27,61,.5); }
.pass__gate { font-size: .82rem; font-weight: 600; color: var(--amber-ink); text-align: center; }
.tiles--pass { padding: 12px 28px 20px; gap: 12px; }
.tiles--pass .tile { padding: 12px 4px; }
.tiles--pass .tile b { font-size: 1.32rem; }
.pass__stub {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  height: 84px; padding: 0 28px;
  border-top: 3px dashed rgba(15,27,61,.14);
}
.pass__stub .mono { font-size: .72rem; letter-spacing: .16em; color: rgba(15,27,61,.5); }
@media (max-width: 620px) {
  .pass__route { flex-direction: column; align-items: stretch; gap: 4px; }
  .pass__end--r { align-items: flex-start; text-align: left; }
  .pass__mid { align-items: stretch; padding: 12px 0; }
  .tiles--pass { grid-template-columns: repeat(2, 1fr); }
}

  border-radius: var(--r-lg); overflow: hidden;
  background: var(--paper);
  box-shadow: 0 24px 56px rgba(6,16,40,.16);
  color: var(--navy);
}
@media (max-width: 620px) { .ways { grid-template-columns: 1fr; } }
.way {
  display: flex; flex-direction: column; gap: 9px;
  padding: 26px 26px 22px;
  border: 1.5px solid var(--surface-line); border-radius: var(--r-lg);
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .35s var(--ease), border-color .35s;
}
.way:hover { transform: translateY(-4px); border-color: var(--accent); }
.way__n { font-size: .72rem; letter-spacing: .2em; color: var(--accent); }
.way p { font-size: .93rem; color: var(--ink-soft); text-wrap: pretty; }
.way__demo {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 8px; padding-top: 16px;
  border-top: 1.5px dashed var(--surface-line);
}
.way__field {
  padding: 8px 13px; border-radius: 11px;
  background: var(--paper); color: var(--navy);
  font-size: .84rem; font-weight: 600;
}
.way__field b { color: var(--accent); }
.way__hit { font-size: .8rem; color: var(--ink-faint); }
.caret {
  display: inline-block; width: 1.5px; height: 1em; margin-left: 3px;
  vertical-align: -.15em; background: var(--accent);
  animation: caret 1.1s steps(1) infinite;
}
@keyframes caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* ═══════════ MAP ═══════════ */
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 190px)); gap: 12px; }
.chip {
  display: flex; flex-direction: column; gap: 1px;
  padding: 14px 18px;
  border: 1px solid var(--surface-line); border-radius: var(--r-md);
  background: var(--surface);
}
.chip b { font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; }
.chip span { font-size: .78rem; color: var(--ink-faint); }

.worldmap {
  position: relative;
  aspect-ratio: 1000 / 683;
  border-radius: var(--r-lg);
  border: 1px solid var(--surface-line);
  background: var(--surface);
  overflow: hidden;
}
.worldmap__land {
  position: absolute; inset: 0;
  background: var(--map-ink);
  -webkit-mask: url("assets/map-alpha.webp") 62.8% 23.1% / 285.6% no-repeat;
  mask: url("assets/map-alpha.webp") 62.8% 23.1% / 285.6% no-repeat;
  transition: background .9s var(--ease);
}
.worldmap__routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.route {
  stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; fill: none;
  stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400);
}
.is-in .route { animation: draw 1.5s var(--ease) forwards; }
.is-in .route:nth-of-type(2) { animation-delay: .35s; }
.is-in .route:nth-of-type(3) { animation-delay: .7s; }
.is-in .route:nth-of-type(4) { animation-delay: 1s; }
.is-in .route:nth-of-type(5) { animation-delay: 1.3s; }
.is-in .route:nth-of-type(6) { animation-delay: 1.55s; }
.is-in .route:nth-of-type(7) { animation-delay: 1.8s; }
.route--pending { stroke-dasharray: 3 8 !important; stroke-dashoffset: 0 !important; opacity: .55; animation: none !important; }
.worldmap__nodes circle { fill: var(--accent); stroke: rgba(11,18,32,.6); stroke-width: 2; }
.worldmap__nodes .hollow { fill: rgba(11,18,32,.9); stroke: var(--accent); stroke-width: 2.5; }
.worldmap__badge {
  position: absolute; left: 14px; bottom: 14px;
  padding: 6px 12px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--surface-line);
  font-size: .62rem; letter-spacing: .14em; color: var(--ink-soft);
}

/* ═══════════ STORIES ═══════════ */
.stories { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.story {
  position: relative;
  width: 216px; aspect-ratio: 9 / 16;
  border-radius: 22px; overflow: hidden;
  background: #0B1220;
  box-shadow: 0 26px 54px rgba(0,0,0,.42);
  transition: transform .4s var(--ease);
}
.story:nth-child(1) { transform: rotate(-3deg); }
@media (max-width: 760px) {
  .stories { display: grid; grid-template-columns: repeat(2, 216px); justify-content: center; }
  .story:nth-child(2) { transform: none; }
}
@media (max-width: 520px) { .stories { grid-template-columns: 216px; } }
.story:nth-child(2) { transform: translateY(-16px); }
.story:nth-child(3) { transform: rotate(3deg); }
.story:hover { transform: translateY(-14px) rotate(0deg); }
.story > img { width: 100%; height: 100%; object-fit: cover; }
.story__over {
  position: absolute; inset: auto 0 0; z-index: 2;
  display: flex; flex-direction: column; gap: 3px;
  padding: 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.68));
  color: #fff;
}
.story__over small { font-size: .56rem; letter-spacing: .18em; opacity: .78; }
.story__over b {
  font-family: var(--display);
  font-variation-settings: "SOFT" 32, "WONK" 1, "opsz" 96;
  font-weight: 900; font-size: 1.5rem; letter-spacing: -.03em;
}
.story__over span { font-size: .68rem; opacity: .82; }

/* ═══════════ THEME SWATCHES ═══════════ */
.swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.sw {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  width: 224px; padding: 16px 18px 18px;
  border: 1.5px solid var(--surface-line); border-radius: var(--r-md);
  background: var(--surface);
  text-align: left;
  transition: transform .3s var(--ease), border-color .3s;
}
.sw:hover { transform: translateY(-4px); }
.sw[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 2.5px var(--accent); }
.sw__chip {
  width: 100%; height: 46px; margin-bottom: 10px;
  border-radius: 11px; border: 1px solid var(--surface-line);
}
.sw--day .sw__chip { background: linear-gradient(180deg, #BFDCF7, #F2F8FF); }
.sw--golden .sw__chip { background: linear-gradient(180deg, #E9CB9E, #FCF7EF); }
.sw--night .sw__chip { background: linear-gradient(180deg, #0B1220, #1A2740); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.sw b { font-size: .98rem; font-weight: 700; }
.sw small { font-size: .78rem; color: var(--ink-faint); }

/* ═══════════ PRICING ═══════════ */
.plans {
  display: grid; grid-template-columns: repeat(2, minmax(0, 400px));
  gap: 22px; justify-content: center;
}
@media (max-width: 800px) { .plans { grid-template-columns: minmax(0, 400px); } }
.plan {
  display: flex; flex-direction: column; gap: 15px;
  padding: 32px;
  border: 1.5px solid var(--surface-line); border-radius: var(--r-lg);
  background: var(--plan-bg, var(--surface));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.plan--pro { --accent: #4A9DF8; --accent-strong: #2C7FD8; --plan-bg: rgba(11,18,32,.78); position: relative; background: rgba(11,18,32,.72); border-color: rgba(74,157,248,.4); color: #EAF1FF; }
.plan--pro .ticks li { color: rgba(234,241,255,.72); }
.plan--pro .plan__for, .plan--pro .plan__fine { color: rgba(234,241,255,.55); }
.plan__flag {
  position: absolute; top: 22px; right: 22px;
  padding: 5px 11px; border-radius: 9px;
  background: rgba(74,157,248,.16); color: #4A9DF8;
  font-size: .6rem; letter-spacing: .14em;
}
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price b {
  font-family: var(--display);
  font-variation-settings: "SOFT" 32, "WONK" 1, "opsz" 144;
  font-weight: 900; font-size: 2.9rem; line-height: 1; letter-spacing: -.04em;
}
.plan__price span { font-size: .88rem; color: var(--ink-faint); }
.plan--pro .plan__price span { color: rgba(234,241,255,.55); }
.plan__for { font-size: .92rem; color: var(--ink-soft); }
.plan .ticks { margin-block: 4px 6px; }
.plan .btn { margin-top: auto; }
.plan__fine { font-size: .74rem; color: var(--ink-faint); text-align: center; }

/* ═══════════ FAQ ═══════════ */
.faq { display: flex; flex-direction: column; }
.q { border-bottom: 1.5px solid var(--surface-line); }
.q:first-child { border-top: 1.5px solid var(--surface-line); }
.q summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px;
  font-size: 1.06rem; font-weight: 700; letter-spacing: -.012em;
  cursor: pointer; list-style: none;
}
.q summary::after {
  content: ""; flex-shrink: 0;
  width: 11px; height: 11px;
  border-right: 2.2px solid var(--ink-soft); border-bottom: 2.2px solid var(--ink-soft);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .3s var(--ease);
}
.q[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.q summary:hover { color: var(--accent); }
.q p {
  padding: 0 4px 24px;
  font-size: .97rem; color: var(--ink-soft); max-width: 62ch; text-wrap: pretty;
}

/* ═══════════ FINAL CTA + FOOTER ═══════════ */
.last { padding: clamp(90px, 12vw, 130px) 0 clamp(80px, 10vw, 110px); }
.last__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.last__mascot {
  width: clamp(96px, 12vw, 128px); height: auto;
  filter: drop-shadow(0 18px 26px rgba(15,27,61,.24));
  animation: floaty 4.2s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-15px) rotate(4deg); }
}
.last h2 { font-size: clamp(2.3rem, 5.6vw, 4rem); }
.last p { font-size: 1.06rem; color: var(--ink-soft); }
.last .btn { margin-top: 10px; }

.foot { background: var(--navy); color: rgba(255,255,255,.66); padding: 40px 0 max(40px, env(safe-area-inset-bottom)); }
.foot__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.foot__brand { display: flex; align-items: center; gap: 9px; color: #fff; }
.foot__brand span {
  font-family: var(--display);
  font-variation-settings: "SOFT" 32, "WONK" 1, "opsz" 72;
  font-weight: 900; font-size: 1.28rem; letter-spacing: -.03em;
}
.foot__links { display: flex; flex-wrap: wrap; gap: 24px; }
.foot__links a { font-size: .88rem; transition: color .2s; }
.foot__links a:hover { color: #fff; }
.foot__copy { font-size: .82rem; }

/* ═══════════ REVEALS ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .route { stroke-dashoffset: 0; }
}

/* ═══════════ ADDED AFTER REVIEW ═══════════ */

/* the hero's honest small print: gate detail is a Pro feature and the
   headline promises it, so the qualifier has to be above the fold too */
.hero__fine {
  margin-top: 18px; max-width: 56ch;
  font-size: .87rem; line-height: 1.5;
  color: var(--ink-faint); text-wrap: pretty;
}

/* plain prose for answer engines, which have nothing to quote from the
   metaphors everywhere else */
.summary {
  max-width: 74ch; margin-top: 6px;
  font-size: .93rem; line-height: 1.65;
  color: var(--ink-faint); text-wrap: pretty;
}

/* mid-page CTA, at the emotional peak of the map section */
.midcta { padding-block: clamp(30px, 4vw, 52px); }
.midcta__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--surface-line); border-radius: var(--r-lg);
  background: var(--surface);
}
.midcta h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 6px; }
.midcta p { font-size: .97rem; color: var(--ink-soft); max-width: 46ch; }

/* objection handling */
.versus { display: grid; gap: 14px; }
.vs {
  padding: 22px 24px;
  border: 1px solid var(--surface-line); border-radius: var(--r-md);
  background: var(--surface);
}
.vs h3 { margin-bottom: 7px; font-size: 1.1rem; }
.vs p { font-size: .95rem; color: var(--ink-soft); text-wrap: pretty; }

/* keep a focused control visible even before its section has revealed */
.reveal:focus-within { opacity: 1; transform: none; transition-delay: 0s; }

@media (max-width: 620px) {
  .midcta__inner { flex-direction: column; align-items: flex-start; }
  .midcta__inner .btn { width: 100%; }
}
.foot__copy a { text-decoration: underline; text-underline-offset: 2px; }
.foot__copy a:hover { color: #fff; }

/* ═══════════ NOTIFICATION FEED ═══════════
   One flight as it actually arrives on a phone through the day. */
.feed { list-style: none; display: grid; gap: 2px; }
.feed__row {
  display: grid; grid-template-columns: 48px 16px 1fr;
  align-items: start; column-gap: 12px;
}
.feed__time {
  padding-top: 15px;
  font-size: .72rem; letter-spacing: .04em; color: var(--ink-faint);
  text-align: right;
}
.feed__dot {
  position: relative; justify-self: center;
  width: 11px; height: 11px; margin-top: 17px; border-radius: 50%;
  background: var(--amber);
}
.feed__dot--green { background: var(--green); }
/* the rail between the dots */
.feed__row:not(:last-child) .feed__dot::after {
  content: ""; position: absolute; left: 50%; top: 15px;
  width: 2px; height: calc(100% + 34px); margin-left: -1px;
  background: var(--surface-line);
}
.feed__card {
  padding: 13px 16px; margin-bottom: 10px;
  border-radius: var(--r-sm);
  background: var(--paper); color: var(--navy);
  box-shadow: 0 6px 18px rgba(6,16,40,.10);
}
.feed__card b { display: block; font-size: .95rem; font-weight: 700; }
.feed__card small { font-size: .8rem; color: rgba(15,27,61,.62); }
.feed__card--last { box-shadow: inset 0 0 0 2px var(--green), 0 8px 22px rgba(6,16,40,.12); }

.feed__aside {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 18px; padding: 16px 18px;
  border: 1px dashed var(--surface-line); border-radius: var(--r-md);
}
.feed__aside img { flex-shrink: 0; }
.feed__aside p { font-size: .89rem; line-height: 1.5; color: var(--ink-soft); }

@media (max-width: 460px) {
  .feed__row { grid-template-columns: 42px 14px 1fr; column-gap: 9px; }
  .feed__time { font-size: .68rem; }
}

/* ═══════════ LONG-FORM DOC PAGES (comparison, etc.) ═══════════ */
.doc { padding-top: clamp(120px, 15vh, 170px); }
.doc__h1 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 32, "WONK" 1, "opsz" 144;
  font-weight: 900; line-height: .96; letter-spacing: -.028em;
  font-size: clamp(2.4rem, 6vw, 4rem);
}
.doc__lede { max-width: none; margin: 22px 0 8px; }
.doc h2 {
  margin-top: 52px; margin-bottom: 14px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}
.doc p { margin-bottom: 14px; color: var(--ink-soft); text-wrap: pretty; }
.doc p strong { color: var(--ink); font-weight: 700; }
.doc__ticks { margin-top: 6px; }
.doc__note { font-size: .87rem; color: var(--ink-faint); }
.doc__note a { text-decoration: underline; text-underline-offset: 2px; }
.doc__cta { margin-top: 48px; margin-bottom: 34px; }
.doc__cta h2 { margin-top: 0; }

.tablewrap { overflow-x: auto; margin: 8px 0 12px; -webkit-overflow-scrolling: touch; }
.cmp {
  width: 100%; min-width: 660px;
  border-collapse: collapse;
  font-size: .88rem;
  background: var(--surface);
  border: 1px solid var(--surface-line); border-radius: var(--r-md);
  overflow: hidden;
}
.cmp th, .cmp td {
  padding: 11px 14px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--surface-line);
}
.cmp thead th {
  font-family: var(--mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint);
  background: color-mix(in srgb, var(--ink) 5%, transparent);
}
.cmp thead th:nth-child(2) { color: var(--accent); }
.cmp tbody th { font-weight: 600; color: var(--ink); width: 30%; }
.cmp td { color: var(--ink-soft); }
.cmp td.yes { color: var(--ink); font-weight: 600; }
.cmp td.no { color: var(--ink-faint); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody tr:nth-child(odd) { background: color-mix(in srgb, var(--ink) 2.5%, transparent); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--ink); }
