/* chrome.css — the ONE stylesheet for what every page shares: tokens, buttons, the header (utility strip, global nav,
   optional sub-bar), the phone drawer and the footer, all drawn by shell() in build-site.mjs from nav-data.mjs.
   · Home page: chrome.css + cart.css + v2/v2.css (the home sections). Every other page: site.css + chrome.css + cart.css,
     so on those pages this file overrides site.css's older look.
   · No inline styles anywhere (CSP style-src 'self'); state is classes and [hidden]/[inert].
   · Motion is transform/opacity only, measured vocabulary (tools/captures/ps-motion-study.md); it stops under
     prefers-reduced-motion (bottom of this file). The header's hide/show on scroll is positional (no easing), as measured. */

:root {
  color-scheme: light dark;
  --bg: #ffffff; --panel: #f5f6f8; --elevated: #ffffff; --band: rgba(20, 24, 30, .05);
  --border: #e4e6e5; --border-2: #d1d5d4; --text: #161a1f; --dim: #4f5760; --mute: #5e6771;
  --accent: #1b5fa7; --accent-dim: #154b84; --accent-soft: rgba(27, 95, 167, .10); --on-accent: #ffffff;
  --sky: #8fd0ff; --sky-2: #4ea3ff; --navy: #0e2c4e;
  --lav: #e3e6f0; --lav-2: #eef0f6;
  --card: #fafbfc; --card-head: #ffffff; --off: #9a9ca4;
  --shadow-low: 0 2px 6px rgba(0, 0, 0, .06);
  --shadow-hi: 0 10px 24px rgba(0, 0, 0, .14);
  --hero-1: #01030f; --hero-2: #031047; --hero-3: #0b2a9e;
  /* ink on the hero ground (deep navy in both themes): the v2 hero's own white and lede grey */
  --on-hero: #ffffff; --on-hero-dim: #cfd6ea; --on-hero-line: rgba(255, 255, 255, .16);
  --ease: cubic-bezier(.16, 1, .3, 1);
  /* Motion vocabulary (measured, tools/captures/ps-motion-study.md) */
  --m-fast: 100ms; --m-hover: 200ms; --m-ring: 250ms; --m-dash: 300ms; --m-swap: 400ms; --m-fade: 750ms; --m-enter: 1000ms;
  --e-io: ease-in-out;
  --t: var(--m-hover) var(--e-io);
  --ring: color-mix(in srgb, var(--accent) 50%, transparent);
  --focus: var(--accent);
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --r: 16px;
  --radius: 16px;
  --soft-accent: var(--accent-soft);
  /* header rows: util 36 + global nav 64 (+ sub-bar 48) */
  --head-util: 36px; --head-nav: 64px; --head-sub: 48px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1216; --panel: #171b21; --elevated: #1f242b; --band: rgba(255, 255, 255, .05);
    --border: #242a32; --border-2: #313943; --text: #e7eaee; --dim: #a7afba; --mute: #8a939e;
    --accent: #4ea3ff; --accent-dim: #3e91ea; --accent-soft: rgba(78, 163, 255, .14); --on-accent: #06111d;
    --lav: #151a24; --lav-2: #121620; --card: #1a1f27; --card-head: #222833; --off: #6d7480;
    --shadow-low: 0 2px 6px rgba(0, 0, 0, .3); --shadow-hi: 0 14px 30px rgba(0, 0, 0, .45);
  }
}
html { overflow-x: clip; scroll-padding-top: calc(var(--head-nav) + 16px); -webkit-text-size-adjust: 100%; }
html:has(.head.has-subnav) { scroll-padding-top: calc(var(--head-nav) + var(--head-sub) + 16px); }
body { overflow-x: clip; font-family: "IBM Plex Sans", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.util, .foot, .navdrawer { --focus: var(--sky-2); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--accent); color: var(--on-accent); transition: top .2s; }
.skip:focus { left: 12px; top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon.icon-fill { fill: currentColor; stroke: none; }

/* ── Buttons: pill; hover = the hover colour + a 2 px ring of it, 100 ms, nothing moves (the measured button) ──── */
.btn {
  --b-bg: var(--accent); --b-hover: var(--accent-dim); --b-ink: var(--on-accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .6em 1.4em;
  border: 0; border-radius: 999px; background: var(--b-bg); color: var(--b-ink); font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--m-fast) var(--e-io), box-shadow var(--m-fast) var(--e-io), color var(--m-fast) var(--e-io);
}
.btn:hover { background: var(--b-hover); box-shadow: 0 0 0 2px var(--b-hover); text-decoration: none; }
.btn--sm { min-height: 34px; font-size: .84rem; padding: .35em 1em; }
.btn--lg { min-height: 52px; font-size: 1.08rem; padding: .7em 1.8em; }
.btn--light { --b-bg: #fff; --b-hover: #e7eaf1; --b-ink: #000; }
.btn--ghost { --b-bg: var(--band); --b-hover: var(--accent-soft); --b-ink: var(--accent); }
.btn--ghost:hover { box-shadow: 0 0 0 2px var(--border-2); }
.btn--quiet { --b-bg: transparent; --b-hover: var(--accent-soft); --b-ink: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.btn--quiet:hover { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 2px var(--accent); }
.btn[disabled], .btn[aria-disabled="true"] { --b-bg: var(--band); --b-hover: var(--band); --b-ink: var(--mute); box-shadow: none; cursor: default; }
/* the older pages' buttons (account, plans, forms) on the same look */
.button, .secondary {
  --b-bg: var(--accent); --b-hover: var(--accent-dim); --b-ink: var(--on-accent); --b-gap: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .6em 1.4em;
  border: 0; border-radius: 999px; background: var(--b-bg); color: var(--b-ink); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; box-shadow: none;
  transition: background-color var(--m-fast) var(--e-io), box-shadow var(--m-fast) var(--e-io);
}
.button:hover:not(:disabled), .secondary:hover:not(:disabled) { background: var(--b-hover); box-shadow: 0 0 0 2px var(--b-gap), 0 0 0 4px var(--b-hover); text-decoration: none; filter: none; }
.secondary { --b-bg: var(--band); --b-hover: var(--accent-soft); --b-ink: var(--accent); box-shadow: inset 0 0 0 1px var(--border); }
.button.lg, .secondary.lg { min-height: 52px; font-size: 1.08rem; padding: .7em 1.8em; }
.button.wide { width: 100%; }
.button.danger { --b-bg: var(--danger); --b-hover: var(--danger); --b-ink: var(--on-danger); }
.button:disabled, .secondary:disabled { --b-bg: var(--panel); --b-ink: var(--mute); box-shadow: inset 0 0 0 1px var(--border-2); cursor: default; opacity: 1; }
:is(.account-page, .auth-page) .button { min-height: 52px; font-size: 1rem; }
.link-button, .text-link { color: var(--accent); }
.chip { border-radius: 999px; }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ── Header: utility strip (scrolls away) · global nav 64 px (sticky) · optional sub-bar 48 px ───────────────────
   Scrolling down on a page with a sub-bar parks the global nav above the viewport and leaves the sub-bar at the top;
   scrolling up brings it back (js/common.js toggles .is-down). Positional, no easing, as on the measured site. */
.site-header.head { position: sticky; top: calc(-1 * var(--head-util)); z-index: 50; height: auto; border: 0; background: none; }
.head.has-subnav.is-down { top: calc(-1 * (var(--head-util) + var(--head-nav))); }
.util { height: var(--head-util); background: #000; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gutter); font-size: .8rem; }
.util .stage-pill { display: inline; padding: 0; background: none; color: #fff; font-size: .8rem; border-radius: 0; }
.util__sim { color: #aab4d6; }
.gnav { height: var(--head-nav); background: var(--bg); display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter); position: relative; border-bottom: 1px solid var(--border); }
.gnav__home, .foot__home { display: inline-flex; align-items: center; min-height: 44px; flex: none; border-radius: 8px; transition: opacity var(--t); }
.gnav__home:hover, .foot__home:hover { opacity: .72; }
.gnav__home img { height: 26px; width: auto; display: block; }
.site-header .gnav nav { display: block; margin: 0; }
.gnav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.gnav__item { position: relative; }
.gnav__btn { display: flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 10px; border: 0; background: none; color: var(--dim); font: inherit; font-size: .92rem; cursor: pointer; border-radius: 8px; transition: color var(--t), background-color var(--t); }
.gnav__btn:hover, .gnav__item.open .gnav__btn { color: var(--text); background: var(--band); filter: none; }
.gnav__btn svg { width: 11px; height: 11px; transition: transform var(--m-ring) var(--ease); }
.gnav__item.open .gnav__btn svg { transform: rotate(180deg); }
.gnav__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-button { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--dim); cursor: pointer; transition: background-color var(--t), color var(--t); }
.icon-button:hover { background: var(--band); color: var(--text); }
.head .badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.head .badge.pop { animation: badge-pop 200ms var(--e-io); }
@keyframes badge-pop { from { scale: .6; } }
.gnav__menu { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; place-items: center; transition: background-color var(--t); }
.gnav__menu:hover { background: var(--band); }
.gnav__menu svg { width: 22px; height: 22px; }
.mega { position: absolute; left: 0; top: calc(100% + 8px); z-index: 2; min-width: 320px; padding: 10px; background: var(--elevated); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .3s var(--ease), visibility .2s; }
.gnav__item.open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .3s var(--ease), visibility 0s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }   /* the pointer can cross the gap */
.head .mega a { display: flex; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--text); text-align: left; text-decoration: none; transition: background-color var(--t); }
.head .mega a:hover, .head .mega a[aria-current] { background: var(--accent-soft); }
.mega svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; transition: translate var(--t); }
.mega a:hover svg { translate: 2px 0; }
.mega b { display: block; font-weight: 600; font-size: .92rem; }
.mega span { font-size: .8rem; color: var(--dim); }
.head.stuck > :last-child { box-shadow: 0 6px 18px rgba(0, 0, 0, .1); }
/* the sub-bar: text tabs only, no logo, no button */
.subnav { height: var(--head-sub); background: var(--bg); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 var(--gutter); }
.subnav__tabs { display: flex; gap: 4px; margin: 0 auto; max-width: 100%; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; padding: 4px; }
.subnav__tabs::-webkit-scrollbar { display: none; }
.subnav__tab { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; color: var(--dim); font-size: .92rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color var(--t), color var(--t), box-shadow var(--t); }
.subnav__tab:hover { background: var(--band); color: var(--text); text-decoration: none; }
.subnav__tab.on { background: var(--band); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
/* the account's sub-bar belongs to the signed-in view */
body:has(#signed-in[hidden]) .subnav { display: none; }

/* ── Phone drawer: the same four groups, as an accordion ─────────────────────────────────────────────────────── */
.navdrawer { position: fixed; inset: 0; z-index: 90; background: var(--bg); color: var(--text); padding: 12px var(--gutter) 32px; transform: translateY(-100%); transition: transform .45s var(--ease), visibility 0s .45s; overflow-y: auto; overscroll-behavior: contain; visibility: hidden; }
.navdrawer.open { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
.navdrawer__top { display: flex; justify-content: space-between; align-items: center; min-height: 52px; margin-bottom: 12px; }
.navdrawer__x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--band); color: inherit; cursor: pointer; display: grid; place-items: center; transition: background-color var(--t); }
.navdrawer__x:hover { background: var(--accent-soft); }
.navdrawer__x svg { width: 16px; height: 16px; }
.navdrawer__group { border-bottom: 1px solid var(--border); }
.navdrawer__group summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 4px; font-size: 1.25rem; font-weight: 600; cursor: pointer; }
.navdrawer__group summary::-webkit-details-marker { display: none; }
.navdrawer__group summary svg { width: 16px; height: 16px; transition: rotate var(--m-ring) var(--e-io); }
.navdrawer__group[open] summary svg { rotate: 180deg; }
.navdrawer__links { display: grid; padding: 0 0 12px 4px; }
.navdrawer__links a { display: flex; align-items: center; min-height: 44px; color: var(--dim); text-decoration: none; transition: color var(--t); }
.navdrawer__links a:hover, .navdrawer__links a[aria-current] { color: var(--accent); }
.navdrawer__plain { display: flex; align-items: center; min-height: 60px; padding: 0 4px; font-size: 1.25rem; font-weight: 600; color: inherit; text-decoration: none; border-bottom: 1px solid var(--border); }
.navdrawer__cta { width: 100%; margin-top: 28px; }
body.noscroll { overflow: hidden; }

/* ── Footer: black, four columns, the legal lines under a hairline ─────────────────────────────────────────────── */
.site-footer.foot { background: #000; color: #c3c8d4; font-size: .86rem; border: 0; padding: 0; }
.foot .wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.foot .foot__top { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 20px; }
.foot__logo { height: 28px; width: auto; display: block; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot__social { display: flex; gap: 4px; }
.foot a.foot__soc { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #c3c8d4; transition: color var(--t), background-color var(--t); }
.foot a.foot__soc:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.foot__soc svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.foot .foot__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; padding-top: 20px; padding-bottom: 40px; }
.foot__legalcol { grid-column: span 2; }
.foot h2 { color: #fff; margin: 0 0 12px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.foot__grid ul { display: grid; gap: 8px; }
.foot__legalcol ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.foot a { color: #c3c8d4; text-decoration: none; text-underline-offset: 3px; transition: color var(--t); }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .foot__base { padding-bottom: 32px; display: grid; gap: 6px; }
.foot__base p:first-child { border-top: 1px solid #23272e; padding-top: 20px; max-width: none; }
.foot__base p { margin: 0; font-size: .74rem; line-height: 1.55; color: #8b919d; max-width: 120ch; }

/* ── Pages: v2 type and surfaces on the account, auth, checkout, plans, FAQ and text pages ────────────────────── */
.page h1, .page-h .h-display, :is(.account-page, .auth-page) .auth-form-card h1, .form-card h1 { font-weight: 400; letter-spacing: -.01em; }
.eyebrow-caps, .faq-cat h2 { text-transform: uppercase; letter-spacing: .02em; font-weight: 700; }
.page-h .lede, .page-intro .lede { color: var(--dim); }
input:not([type=checkbox]):not([type=radio]), select, textarea { border-radius: 10px; background: var(--bg); border: 1px solid var(--border-2); transition: border-color .2s, box-shadow .2s; }
input:not([type=checkbox]):not([type=radio]):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
:is(.account-page, .auth-page, .account-sheet) input:not([type=checkbox]):not([type=radio]) { border-radius: 10px; }
.card, .box, .form-card, .return-card, .training-record-card, .live-list, .account-page :is(.deck-plan, .crew-instrument),
.account-page .purchase, .account-page .settings-grid .box {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-low);
}
/* The offers band and the purchases section are flat sections holding cards, not cards themselves. */
.account-page :is(#offers, #purchases).box { background: transparent; box-shadow: none; border-radius: 0; border-inline: 0; padding-inline: 0; }
.account-page #purchases.box { border: 0; }
.return-card { transition: translate .3s var(--ease), box-shadow .3s; }
.return-card:hover { translate: 0 -4px; box-shadow: var(--shadow-hi); text-decoration: none; }
.account-plan-chip, .account-page .account-plan-chip { border-radius: 999px; }
.account-nav a { border-radius: 999px; padding-inline: 4px; }
.faq-cat details { border-color: var(--border); }
.faq-cat summary:hover { color: var(--accent); }
.cmp .pickcol { background: var(--accent-soft); }
.cmp .cta :is(.button, .secondary) { padding-inline: .9em; border-radius: 24px; text-align: center; }
.store-soon { border-radius: 999px; }
body:not(.page-home) dialog:not(.cart-drawer) { border-radius: var(--r); }

/* The sign-in split: the left half is the v2 hero ground (deep navy), the right the form. */
:is(.account-page, .auth-page) .auth-split { border-radius: 22px; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow-low); }
.auth-scene { background: radial-gradient(120% 90% at 85% 40%, var(--hero-3) 0%, var(--hero-2) 40%, var(--hero-1) 78%); color: var(--on-hero); }
.auth-scene .auth-intro h2 { font-weight: 400; color: var(--on-hero); }
.auth-scene .auth-intro p, .auth-scene .auth-intro ul { color: var(--on-hero-dim); }
.auth-scene .auth-intro li { border-color: var(--on-hero-line); }
/* The account and checkout-return heads: a dark band like the v2 hero. */
.checkout-page .deck-hero { background: radial-gradient(120% 90% at 85% 40%, var(--hero-3) 0%, var(--hero-2) 40%, var(--hero-1) 78%); color: var(--on-hero); box-shadow: none; border-radius: 22px; }
.checkout-page .deck-hero .deck-copy, .checkout-page .deck-hero h1 { color: var(--on-hero); font-weight: 400; }
.checkout-page .deck-hero p { color: var(--on-hero-dim); }
.checkout-page .return-icon { border-color: rgba(255, 255, 255, .4); color: var(--sky); }

/* ── Image slots (plan §6): an aspect-ratio box named by its slot. A generated or captured image is dropped in later
   as <img> inside it; until then the box shows the type plate or the surface behind it. ─────────────────────────── */
[data-slot] { position: relative; overflow: hidden; }
[data-slot] > img.slot-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ── Responsive ───────────────────────────────────────────────────────────────────────────────────────────────── */
/* Below 1101 px the global nav is one bar: the lockup, the cart and the menu button. */
@media (max-width: 1100px) {
  .site-header .gnav nav, .gnav__account, .gnav__cta { display: none; }
  .gnav__menu { display: grid; }
  .gnav__right { gap: 4px; }
}
@media (max-width: 860px) {
  .foot .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__legalcol { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .util { justify-content: center; }
  .util__sim { display: none; }
  .gnav__home img { height: 22px; }
}
@media (max-width: 719px), (pointer: coarse) {
  .foot ul a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot__grid ul, .foot__legalcol ul { gap: 0 24px; }
  .subnav__tab { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .button, .secondary, .gnav__btn, .gnav__btn svg, .mega, .mega svg, .navdrawer, .navdrawer__group summary svg, .subnav__tab, .return-card, .foot a, .icon-button { transition: none !important; }
  .head .badge.pop { animation: none; }
  .return-card:hover { translate: none; }
}

/* ── Illustrations (owner decision 2026-11-11 on D11): always captioned; the type plate stays as the fallback ─────── */
.slot-cap { position: absolute; left: 8px; bottom: 8px; z-index: 2; padding: 1px 8px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .68rem; font-weight: 500; pointer-events: none; }
.deck-photo--img { overflow: hidden; }
.deck-photo--img img { width: 100%; height: 100%; object-fit: cover; }
.checkout-page .deck-hero:has(.deck-photo--img) .deck-copy { background: linear-gradient(90deg, rgba(1, 3, 15, .94), rgba(1, 3, 15, .8) 65%, rgba(1, 3, 15, 0)); }
.hangar-link { position: relative; display: block; border-radius: 12px; overflow: hidden; }
.hangar-link .hangar-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ── The checkout return: the order, the three next steps ─────────────────────────────────────────────────────── */
.success-page .order-box, .success-page .next-steps { margin-top: 24px; padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--border); }
.success-page h2 { font-size: 1.15rem; font-weight: 600; margin: 0 0 14px; }
.order-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.order-rows li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.order-founding { margin-top: 12px; }
.order-skel { display: grid; gap: 10px; margin-bottom: 12px; }
.order-skel i { display: block; height: 14px; border-radius: 6px; background: var(--band); }
.order-skel i:nth-child(2) { width: 70%; } .order-skel i:nth-child(3) { width: 45%; }
@media (prefers-reduced-motion: no-preference) { .order-skel i { animation: skel 1.2s ease-in-out infinite alternate; } }
@keyframes skel { to { opacity: .45; } }
.next-steps ol { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 16px; }
.next-steps li { counter-increment: step; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; }
.next-steps li::before { content: counter(step); grid-row: span 3; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 600; }
.next-steps li span { color: var(--dim); font-size: .92rem; }
.next-steps li a { justify-self: start; }

/* ── 404: an empty runway at dusk (BG-404), the headline on its dark half ───────────────────────────────────── */
.notfound { min-height: min(70vh, 640px); display: flex; align-items: center; margin: 0; padding: 48px var(--gutter); color: var(--on-hero);
  background: linear-gradient(90deg, rgba(1, 3, 15, .9), rgba(1, 3, 15, .45) 60%, rgba(1, 3, 15, .1)), url("/launch/v2/media/aircraft/bg-404.webp") center / cover no-repeat, var(--hero-1); }
.notfound__in { max-width: 560px; display: grid; gap: 14px; }
.notfound h1 { color: var(--on-hero); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin: 0; }
.notfound .lede, .notfound .eyebrow-caps { color: var(--on-hero-dim); }
.notfound__links { display: flex; flex-wrap: wrap; gap: 10px; }
.notfound .secondary { --b-bg: rgba(255, 255, 255, .12); --b-ink: var(--on-hero); box-shadow: none; }
.checkout-page .deck-hero:has(.deck-photo--img) { position: relative; isolation: isolate; overflow: hidden; }
.checkout-page .deck-photo--img { z-index: 0; }
.checkout-page .deck-hero:has(.deck-photo--img) .deck-copy { position: relative; z-index: 1; }
.checkout-page .deck-photo.deck-photo--img { display: block; position: absolute; inset: 0; }
.checkout-page .deck-hero:has(.deck-photo--img) { min-height: 380px; display: flex; align-items: center; }
.checkout-page .deck-hero:has(.deck-photo--img) .deck-copy { align-self: stretch; display: flex; flex-direction: column; justify-content: center; max-width: 640px; padding: 40px; }
@media (max-width: 719px) { .checkout-page .deck-hero:has(.deck-photo--img) .deck-copy { max-width: none; padding: 28px 20px; background: rgba(1, 3, 15, .72); } }

/* ── Footer columns are <details data-phone-collapse open> (js/common.js): 720 px and wider they are always open and the
   summary is the plain column heading (the chevron is for phones only, below). ─────────────────────────────────────── */
.foot__col > summary { display: block; list-style: none; cursor: default; }
.foot__col > summary::-webkit-details-marker { display: none; }
.foot__col > summary svg { display: none; }

/* ── PHONES (max-width 719px): a compact header, a compact menu, a footer of accordion rows (tools/captures/mobile-plan.md).
   Every page. 720 px and wider is untouched by this block.
   · Header: one 56 px bar that stays put: the lockup, the cart, the "Get Co-Buddy" pill (PlayStation keeps its buy pill in
     the top bar; there is no bottom bar) and the menu. The strip and the sub-bar are not drawn: the hero repeats the
     strip's line and the menu carries the sub-bar's links. The pill is the global nav's own CTA, so it follows the same
     rule (navigation on, not on /plans).
   · Menu: a full-screen sheet; groups of 52 px, one open at a time (name="nav"); "Get Co-Buddy" pinned at the bottom.
   · Footer: the lockup and icons, then Product / Help / Legal as rows of 48 px (one open at a time), then the legal lines. */
@media (max-width: 719px) {
  :root { --head-util: 0px; --head-nav: 56px; --head-sub: 0px; }
  .util, .site-header .subnav { display: none; }
  .head.has-subnav.is-down { top: 0; }
  .gnav { gap: 8px; }
  .gnav__right { gap: 0; }
  .gnav__right .gnav__cta { display: inline-flex; order: -1; min-height: 44px; margin-right: 2px; padding: 0 12px; border: 4px solid transparent; background-clip: padding-box; font-size: .84rem; white-space: nowrap; }
  .gnav__right .gnav__cta:hover { box-shadow: none; }

  /* the sheet fades in where it stands (no long slide), so its cross is under the finger at once: a quick second tap on
     the menu button's spot closes it instead of landing on a row that is still sliding past */
  .navdrawer { display: flex; flex-direction: column; padding: 0 var(--gutter); transform: translateY(-12px); opacity: 0; transition: transform .25s var(--ease), opacity .2s var(--e-io), visibility 0s .25s; }
  .navdrawer.open { transform: none; opacity: 1; transition: transform .25s var(--ease), opacity .2s var(--e-io), visibility 0s; }
  .navdrawer__top { flex: none; min-height: 56px; margin: 0 0 4px; }
  .navdrawer__group summary { min-height: 52px; font-size: 1.1rem; }
  .navdrawer__links { padding-bottom: 8px; }
  .navdrawer__plain { min-height: 52px; font-size: 1.1rem; }
  .navdrawer__cta { position: sticky; bottom: 0; flex: none; margin: auto 0 0; border: 16px solid var(--bg); border-bottom-width: max(16px, env(safe-area-inset-bottom)); border-inline: 0; background-clip: padding-box; min-height: calc(52px + 16px + max(16px, env(safe-area-inset-bottom))); }

  .foot .foot__top { padding-top: 28px; padding-bottom: 12px; }
  .foot .foot__grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 4px; padding-bottom: 20px; }
  .foot__legalcol { grid-column: auto; }
  .foot__col { border-top: 1px solid #23272e; }
  .foot__col:last-child { border-bottom: 1px solid #23272e; }
  .foot__col > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; }
  .foot__col > summary h2 { margin: 0; }
  .foot__col > summary svg { display: block; width: 16px; height: 16px; color: #8b919d; transition: rotate var(--m-ring) var(--e-io); }
  .foot__col[open] > summary svg { rotate: 180deg; }
  .foot__col ul { padding-bottom: 8px; }
  .foot__grid ul { gap: 0; }
  .foot__legalcol ul { column-gap: 16px; }
  .foot .foot__base { padding-bottom: 24px; gap: 4px; }
  .foot__base p:first-child { border-top: 0; padding-top: 0; }
  .foot__base p { font-size: .7rem; line-height: 1.5; }
}
@media (max-width: 719px) and (prefers-reduced-motion: reduce) {
  .foot__col > summary svg { transition: none; }
}
