/* ============================================================
   Orbital Focus — orbitalfocus.com
   Design system ported from the iOS app (Theme.swift) and the
   web prototype. Deep space, glass, ice-blue + warm gold.
   ============================================================ */

:root{
  --bg:#070b16; --bg2:#0c1224; --panel:#111a30; --panel2:#16213c; --line:#24304f;
  --text:#e8edf8; --dim:#8b97b5; --accent:#5eb0ff; --accent2:#ffb24d;
  --good:#5ddb8a; --bad:#ff6b6b;
  --radius:18px;
  --maxw:1080px;
  --glow:0 0 18px rgba(94,176,255,.35);
}

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

body{
  margin:0;
  background:
    radial-gradient(1200px 700px at 70% -10%, #101a38 0%, #070b16 60%) fixed,
    var(--bg);
  color:var(--text);
  font-family:"SF Pro Display",-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

.mono{ font-family:"SF Mono",ui-monospace,Menlo,Consolas,monospace; font-variant-numeric:tabular-nums; }

a{ color:var(--accent); text-decoration:none; }
a:hover{ text-decoration:underline; }

img{ max-width:100%; display:block; }

::selection{ background:rgba(94,176,255,.30); }

/* Background starfield canvas */
#bg-stars{
  position:fixed; inset:0; z-index:-1; width:100%; height:100%;
  pointer-events:none; opacity:.9;
}

/* ---------- Utilities ---------- */
.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.skip-link{
  position:absolute; left:12px; top:-48px; z-index:100;
  background:var(--accent); color:#04101f; font-weight:700;
  padding:10px 16px; border-radius:10px; transition:top .15s ease;
}
.skip-link:focus{ top:12px; }

.eyebrow{
  font-size:.75rem; text-transform:uppercase; letter-spacing:.12em;
  color:var(--dim); font-weight:700; margin:0 0 14px;
}
.section{ padding:clamp(72px, 10vw, 128px) 0; }
.section-head{ max-width:640px; margin-bottom:clamp(28px, 4vw, 48px); }
.section-head h2{
  font-size:clamp(1.7rem, 3.6vw, 2.5rem); line-height:1.15;
  margin:0 0 12px; letter-spacing:-.01em;
}
.section-head p{ color:var(--dim); margin:0; font-size:1.05rem; }

/* Scroll reveal */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  background:var(--accent); color:#04101f; font-weight:700; font-size:1rem;
  border:0; border-radius:12px; padding:12px 22px; cursor:pointer;
  font-family:inherit; line-height:1.3;
  transition:box-shadow .2s ease, transform .2s ease, opacity .2s ease;
}
.btn:hover{ box-shadow:var(--glow); transform:translateY(-1px); text-decoration:none; }
.btn:disabled{ opacity:.35; cursor:default; box-shadow:none; transform:none; }
.btn.ghost{
  background:var(--panel2); color:var(--text); border:1px solid var(--line);
}
.btn.ghost:hover{ box-shadow:var(--glow); }
.btn.warm{ background:var(--accent2); color:#2e2410; }
.btn.warm:hover{ box-shadow:0 0 18px rgba(255,178,77,.4); }

:is(.btn, a, button, [role="radio"], summary):focus-visible{
  outline:2px solid var(--accent); outline-offset:3px; border-radius:12px;
}

/* ---------- Glass cards ---------- */
.glass{
  background:linear-gradient(180deg, var(--panel) 0%, var(--bg2) 100%);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:0 18px 50px rgba(0,0,0,.35);
  position:relative;
}
.glass::after{
  content:""; position:absolute; inset:0; border-radius:inherit;
  background:linear-gradient(180deg, rgba(94,176,255,.06), transparent 55%);
  pointer-events:none;
}

/* ---------- Nav ---------- */
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  background:rgba(7,11,22,.55);
  border-bottom:1px solid transparent;
  transition:border-color .25s ease, background .25s ease;
}
.nav.scrolled{ border-bottom-color:var(--line); background:rgba(7,11,22,.78); }
.nav-inner{
  max-width:var(--maxw); margin:0 auto; padding:12px 24px;
  display:flex; align-items:center; gap:22px;
}
.brand{
  display:flex; align-items:center; gap:10px; font-weight:800;
  color:var(--text); letter-spacing:-.01em; font-size:1.02rem;
}
.brand:hover{ text-decoration:none; }
.brand img{ width:30px; height:30px; border-radius:8px; }
.nav-links{ display:flex; align-items:center; gap:20px; margin-left:auto; }
.nav-links a{ color:var(--dim); font-weight:600; font-size:.92rem; }
.nav-links a:hover{ color:var(--text); text-decoration:none; }
.nav-links .btn{ padding:8px 16px; font-size:.9rem; }
.nav-links a.btn{ color:#04101f; }
.nav-links a.btn:hover{ color:#04101f; }
@media (max-width:640px){
  .nav-links a:not(.btn){ display:none; }
}

/* ---------- Hero ---------- */
.hero{ padding:clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 88px); text-align:center; }
.hero .chip{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid var(--line); background:var(--panel2);
  color:var(--dim); font-weight:600; font-size:.85rem;
  border-radius:999px; padding:7px 16px; margin-bottom:26px;
}
.hero .chip .dot{
  width:7px; height:7px; border-radius:50%; background:var(--accent2);
  box-shadow:0 0 8px rgba(255,178,77,.8);
}
.hero h1{
  font-size:clamp(2.3rem, 6vw, 4rem); line-height:1.06;
  letter-spacing:-.02em; margin:0 auto 18px; max-width:22ch; font-weight:800;
  text-wrap:balance;
}
.hero .sub{
  color:var(--dim); font-size:clamp(1.02rem, 1.6vw, 1.2rem);
  max-width:56ch; margin:0 auto 30px;
}
.hero .cta-row{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-bottom:0; }

/* ---------- Hero redesign: an unencumbered globe leads ---------- */
.hero{ padding-top:clamp(28px, 4.5vw, 60px); }
.hero-inner{ display:flex; flex-direction:column; align-items:center; }

/* The globe floats free — no card, no frame. It sits directly over the
   page's own #bg-stars canvas and deep-space gradient, so we strip every
   bit of the glass-panel chrome (background, border, shadow, titlebar).
   It also breaks out of the centered container to span the FULL viewport:
   a large stage gives the ascent zoom room to fill the screen instead of
   clipping inside a small box, and lets the scene bleed into the page. */
.demo-shell.locked{
  position:relative; left:50%; transform:translateX(-50%);
  width:100vw; max-width:none; margin-bottom:clamp(8px, 2vw, 28px);
  background:none; border:none; box-shadow:none; border-radius:0; overflow:visible;
}
.demo-shell.locked::after{ content:none; }            /* drop the .glass sheen overlay */
.demo-shell.locked .demo-titlebar{ display:none; }     /* the framing titlebar/chrome */
/* Sized by height, not a boxed aspect ratio — fills the first screen */
.demo-shell.locked .demo-stage{
  aspect-ratio:auto; width:100%; height:min(82vh, 900px); min-height:440px;
  background:none; cursor:grab;
}
.demo-shell.locked #demo-stars{ display:none; }        /* lean on the page-wide starfield, no star rectangle */
@media (max-width:560px){ .demo-shell.locked .demo-stage{ height:74vh; min-height:380px; } }
/* Locked showcase: hide the manual planner until the visitor grabs the globe */
.demo-shell.locked .demo-controls{ display:none !important; }
.demo-shell.locked .demo-controls[hidden]{ display:none !important; }

/* Interactive (real-time) mode — the visitor grabbed the globe. Reveal the
   mission planner as a glass console floating to the RIGHT of the globe,
   styled to mirror the iOS MissionPlannerOverlay. Only while PLANNING — once
   the mission launches the planner gives way to the flight HUD. */
.demo-shell.locked.interactive.planning .demo-controls{
  display:flex !important; flex-direction:column; gap:12px;
  position:absolute; z-index:6; top:50%; right:clamp(16px, 4vw, 56px);
  transform:translateY(-50%);
  width:min(372px, 90vw); max-height:90%; overflow:auto;
  padding:0; border:none; background:none; box-shadow:none; text-align:left;
}
.planner-head{ display:flex; align-items:center; justify-content:space-between; padding:0 4px; }
.planner-title{ font-size:1.02rem; font-weight:700; letter-spacing:-.01em; color:var(--text); }
.planner-x{
  width:34px; height:34px; border-radius:50%; cursor:pointer; font-size:.8rem;
  color:var(--dim); background:rgba(7,11,22,.55); border:1px solid var(--line);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  display:flex; align-items:center; justify-content:center; transition:color .2s, box-shadow .2s;
}
.planner-x:hover{ color:var(--text); box-shadow:var(--glow); }

/* The glass plan card */
.plan-card{
  display:flex; flex-direction:column; gap:14px; padding:16px;
  border-radius:24px; border:1px solid rgba(94,176,255,.18);
  background:linear-gradient(180deg, rgba(16,22,42,.82), rgba(9,13,26,.86));
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  box-shadow:0 30px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05);
}

/* Destination header */
.dest-header{ display:flex; align-items:center; gap:12px; }
.dest-emoji{ font-size:1.7rem; line-height:1; flex:none; width:34px; text-align:center; }
.dest-id{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
.dest-name{ font-size:1rem; font-weight:700; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dest-sub{ font-size:.72rem; color:var(--dim); }
.dest-reward{ display:flex; flex-direction:column; align-items:flex-end; gap:1px; flex:none; }
.reward-val{ font-size:1rem; font-weight:700; color:var(--accent); font-variant-numeric:tabular-nums; }
.reward-cap{ font-size:.52rem; letter-spacing:.14em; color:var(--dim); }

/* Duration scrubber */
.scrubber{ position:relative; padding:2px 6px 0; }
.scrub-line{ position:absolute; left:11%; right:11%; top:9px; height:2px; border-radius:2px; background:rgba(255,255,255,.16); }
.demo-shell.locked.interactive .dest-picker{ display:flex; justify-content:space-between; position:relative; }
.dest{
  display:flex; flex-direction:column; align-items:center; gap:8px;
  background:none; border:none; cursor:pointer; padding:0; flex:1; font-family:inherit;
}
.dest .d-dot{ width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.4); transition:all .22s ease; }
.dest[aria-checked="true"] .d-dot{ width:13px; height:13px; background:#fff; box-shadow:0 0 8px rgba(94,176,255,.9); }
.dest .d-min{ font-size:.72rem; font-weight:600; color:var(--dim); font-variant-numeric:tabular-nums; transition:color .2s; }
.dest[aria-checked="true"] .d-min{ color:var(--text); font-weight:700; }
.dest:disabled{ cursor:default; opacity:.5; }

/* Vehicle picker (glass capsule) */
.glass-picker{
  display:flex; align-items:center; gap:8px; cursor:pointer; width:100%;
  padding:9px 12px; border-radius:999px; font-family:inherit;
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12);
  color:var(--text); transition:border-color .2s, box-shadow .2s;
}
.glass-picker:hover{ border-color:rgba(94,176,255,.4); box-shadow:var(--glow); }
.glass-picker .gp-sprite{ width:18px; height:18px; object-fit:contain; image-rendering:pixelated; flex:none; }
.glass-picker .gp-name{ font-size:.82rem; font-weight:600; flex:1; text-align:left; }
.glass-picker .gp-chev{ color:var(--dim); font-size:.9rem; line-height:1; }
.glass-picker:disabled{ opacity:.55; cursor:default; box-shadow:none; }

/* Crew role chips */
.role-row{ display:flex; gap:8px; overflow-x:auto; padding-bottom:2px; scrollbar-width:none; }
.role-row::-webkit-scrollbar{ display:none; }
.role-chip{
  display:inline-flex; align-items:center; gap:6px; flex:none; cursor:pointer; font-family:inherit;
  padding:6px 12px 6px 8px; border-radius:999px;
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12);
  color:var(--dim); font-size:.78rem; font-weight:600; transition:all .18s ease;
}
.role-chip img{ width:17px; height:17px; object-fit:contain; image-rendering:pixelated; filter:saturate(.5); opacity:.8; }
.role-chip:hover{ border-color:color-mix(in srgb, var(--role, #5EB0FF) 50%, transparent); }
.role-chip[aria-checked="true"]{
  color:var(--text);
  background:color-mix(in srgb, var(--role, #5EB0FF) 22%, transparent);
  border-color:color-mix(in srgb, var(--role, #5EB0FF) 55%, transparent);
}
.role-chip[aria-checked="true"] img{ filter:none; opacity:1; }
.role-chip:disabled{ cursor:default; }

/* Payload field */
.payload-field{ display:flex; align-items:center; gap:10px; padding:10px 14px; border-radius:999px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); }
.payload-field .payload-sprite{ width:18px; height:18px; object-fit:contain; image-rendering:pixelated; flex:none; }
.payload-field input{
  flex:1; min-width:0; background:none; border:none; outline:none; color:var(--text);
  font-family:inherit; font-size:.86rem;
}
.payload-field input::placeholder{ color:var(--dim); }

/* Launch pill */
.launch-pill{
  width:100%; padding:14px; border-radius:999px; cursor:pointer; font-family:inherit;
  font-size:.92rem; font-weight:800; letter-spacing:.01em; color:#04101f;
  background:linear-gradient(180deg, #7cc0ff, var(--accent)); border:none;
  box-shadow:0 10px 30px rgba(94,176,255,.35); transition:transform .12s ease, box-shadow .2s ease;
}
.launch-pill:hover{ box-shadow:0 14px 40px rgba(94,176,255,.5); }
.launch-pill:active{ transform:translateY(1px); }
.launch-pill:disabled{ opacity:.6; cursor:default; box-shadow:none; }

/* On narrow screens the planner becomes a bottom sheet over the globe */
@media (max-width:880px){
  .demo-shell.locked.interactive.planning .demo-controls{
    top:auto; bottom:14px; right:50%; transform:translateX(50%);
    width:min(440px, 94vw); max-height:64%;
  }
}

/* Abort pill — top-right of the stage during the visitor's real-time flight */
.abort-btn{
  position:absolute; z-index:7; top:clamp(14px, 2vw, 26px); right:clamp(16px, 6vw, 96px);
  display:flex; align-items:center; gap:6px; cursor:pointer; font-family:inherit;
  padding:9px 16px; border-radius:999px; font-size:.82rem; font-weight:700;
  color:#ffd7d7; background:rgba(40,12,16,.62); border:1px solid rgba(255,120,120,.4);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  box-shadow:0 10px 30px rgba(0,0,0,.4); transition:box-shadow .2s, border-color .2s;
}
.abort-btn:hover{ border-color:rgba(255,120,120,.75); box-shadow:0 0 20px rgba(255,90,90,.3); }
.abort-btn[hidden]{ display:none; }
/* HUD instruments align with the page gutter, not jammed at the screen edge */
.demo-shell.locked .hud-top{ left:0; right:0; top:clamp(14px, 2vw, 26px); padding:0 clamp(16px, 6vw, 96px); }
/* Move the drag hint to the opposite gutter so it never overlaps telemetry */
.demo-shell.locked .globe-hint{ left:auto; right:clamp(16px, 6vw, 96px); top:clamp(14px, 2vw, 26px); bottom:auto; }
.demo-shell.locked .hud-bottom{
  padding-left:clamp(16px, 6vw, 96px); padding-right:clamp(16px, 6vw, 96px);
  background:linear-gradient(180deg, transparent, rgba(7,11,22,.5) 64%);
}

/* The copy follows the globe */
.hero-inner .chip{ margin-top:0; margin-bottom:22px; }
.hero-inner h1{ margin-bottom:16px; }

/* Soft accent bloom behind the planet so it glows out of the page */
.demo-shell.locked::before{
  content:""; position:absolute; inset:-8% -6%; z-index:-1; pointer-events:none;
  background:radial-gradient(48% 50% at 50% 46%, rgba(94,176,255,.16), transparent 70%);
  filter:blur(10px);
}

/* ---------- Demo shell ---------- */
.demo-shell{
  max-width:780px; margin:0 auto; border-radius:24px; overflow:hidden;
  text-align:left;
  box-shadow:0 30px 80px rgba(0,0,0,.5), 0 0 60px rgba(94,176,255,.08);
}
.demo-titlebar{
  display:flex; align-items:center; gap:10px;
  padding:12px 16px; border-bottom:1px solid var(--line);
  background:rgba(12,18,36,.7);
}
.led{
  width:9px; height:9px; border-radius:50%; background:var(--good);
  box-shadow:0 0 8px rgba(93,219,138,.8); flex:none;
}
.led.flying{ background:var(--accent2); box-shadow:0 0 8px rgba(255,178,77,.8); }
.demo-titlebar .label{
  font-size:.72rem; text-transform:uppercase; letter-spacing:.14em;
  color:var(--dim); font-weight:700;
}
.demo-titlebar .spacer{ flex:1; }
.icon-btn{
  background:var(--panel2); color:var(--dim); border:1px solid var(--line);
  border-radius:9px; padding:5px 12px; font-size:.78rem; font-weight:700;
  cursor:pointer; font-family:inherit; letter-spacing:.04em;
  transition:color .2s ease, box-shadow .2s ease;
}
.icon-btn:hover{ color:var(--text); box-shadow:var(--glow); }
.icon-btn[aria-pressed="true"]{ color:var(--accent2); border-color:rgba(255,178,77,.5); }

.demo-stage{ position:relative; aspect-ratio:16/10; background:#03060e; touch-action:none; cursor:grab; }
.demo-stage:active{ cursor:grabbing; }
@media (max-width:560px){ .demo-stage{ aspect-ratio:4/5; } }
#demo-stars, #demo-globe, #demo-overlay{ position:absolute; inset:0; width:100%; height:100%; display:block; }
#demo-stars{ z-index:0; }
#demo-globe{ z-index:1; }
#demo-overlay{ z-index:2; pointer-events:none; }
/* Subtle "spin me" affordance, shown only while idle/previewing */
.globe-hint{
  position:absolute; left:12px; bottom:12px; z-index:3; margin:0;
  font-size:.72rem; letter-spacing:.02em; color:rgba(232,237,248,.62);
  background:rgba(7,11,22,.45); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  border:1px solid rgba(36,48,79,.6); border-radius:999px; padding:5px 11px;
  opacity:0; transform:translateY(4px); transition:opacity .4s ease, transform .4s ease;
  pointer-events:none;
}
.globe-hint.show{ opacity:1; transform:none; }
@media (max-width:560px){ .globe-hint{ font-size:.66rem; } }
/* While textures stream in, a faint pulse on the stage */
.demo-stage.loading::after{
  content:""; position:absolute; inset:0; z-index:4; pointer-events:none;
  background:radial-gradient(circle at 50% 46%, rgba(94,176,255,.10), transparent 60%);
  animation:demoLoadPulse 1.4s ease-in-out infinite;
}
@keyframes demoLoadPulse{ 0%,100%{ opacity:.4; } 50%{ opacity:1; } }
.demo-stage.no-webgl{ background:radial-gradient(circle at 50% 40%, #12305c, #04070f 70%); }
@media (prefers-reduced-motion: reduce){ .demo-stage.loading::after{ animation:none; } }

/* HUD overlays — above WebGL canvases (z-index 0–2) */
.hud-top{
  position:absolute; z-index:5; top:12px; left:12px; right:12px;
  display:flex; justify-content:flex-start; align-items:flex-start; gap:10px;
  pointer-events:none;
}
.globe-zoom{
  display:flex; gap:4px; flex:none; pointer-events:auto;
}
.zoom-btn{
  width:32px; height:32px; padding:0; border-radius:9px; cursor:pointer; font-family:inherit;
  font-size:1.1rem; font-weight:700; line-height:1; color:var(--text);
  background:rgba(7,11,22,.55); border:1px solid rgba(36,48,79,.8);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  transition:color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.zoom-btn:hover{ border-color:rgba(94,176,255,.45); box-shadow:var(--glow); }
.zoom-btn:active{ transform:scale(.96); }
.hud-chip{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(7,11,22,.55); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  border:1px solid rgba(36,48,79,.8); border-radius:999px;
  padding:6px 14px; font-size:.82rem; font-weight:600;
}
.hud-chip .mono{ color:var(--dim); font-size:.75rem; }

.hud-bottom{
  position:absolute; z-index:5; left:0; right:0; bottom:0;
  padding:12px 16px 14px;
  background:linear-gradient(180deg, transparent, rgba(7,11,22,.82) 45%);
  display:flex; flex-direction:column; gap:10px; pointer-events:none;
}
.stage-rail{ display:flex; align-items:center; gap:0; }
.stage-rail .stop{
  display:flex; align-items:center; gap:7px; flex:none;
  font-size:.62rem; letter-spacing:.1em; font-weight:700;
  color:rgba(139,151,181,.65); text-transform:uppercase;
  transition:color .3s ease;
}
.stage-rail .stop .pip{
  width:8px; height:8px; border-radius:50%;
  border:1.5px solid rgba(139,151,181,.5); background:transparent;
  transition:all .3s ease;
}
.stage-rail .stop.lit{ color:var(--text); }
.stage-rail .stop.lit .pip{
  background:var(--accent); border-color:var(--accent);
  box-shadow:0 0 10px rgba(94,176,255,.8);
}
.stage-rail .seg{
  flex:1; height:1.5px; background:rgba(36,48,79,.9); margin:0 8px;
  position:relative; overflow:hidden; min-width:8px;
}
.stage-rail .seg::after{
  content:""; position:absolute; inset:0; background:var(--accent);
  transform:scaleX(0); transform-origin:left; transition:transform .4s ease;
}
.stage-rail .seg.fill::after{ transform:scaleX(1); }
@media (max-width:560px){ .stage-rail .stop span{ display:none; } }

.telemetry{
  display:flex; gap:22px; align-items:baseline; flex-wrap:wrap;
  font-size:.95rem;
}
.telemetry .t-item{ display:flex; align-items:baseline; gap:7px; }
.telemetry .t-label{
  font-size:.62rem; letter-spacing:.12em; color:var(--dim);
  text-transform:uppercase; font-weight:700;
}
.telemetry .t-val{ color:var(--text); font-weight:600; font-size:1.02rem; }
.telemetry .t-val.warm{ color:var(--accent2); }

/* Countdown + toast */
.countdown{
  position:absolute; z-index:6; inset:0; display:none; align-items:center; justify-content:center;
  pointer-events:none; font-weight:800;
  font-size:clamp(4rem, 14vw, 7rem); color:var(--text);
  text-shadow:0 0 40px rgba(94,176,255,.6);
}
.countdown.show{ display:flex; }
.countdown .num{ animation:cd-pop .92s ease both; }
@keyframes cd-pop{
  0%{ opacity:0; transform:scale(1.35); }
  18%{ opacity:1; transform:scale(1); }
  82%{ opacity:1; }
  100%{ opacity:0; transform:scale(.92); }
}
@media (prefers-reduced-motion: reduce){
  .countdown .num{ animation:none; }
}

.demo-toast{
  position:absolute; z-index:6; top:54px; left:50%; transform:translateX(-50%);
  background:rgba(7,11,22,.72); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  border:1px solid rgba(94,176,255,.35); border-radius:999px;
  padding:7px 18px; font-size:.85rem; font-weight:600; white-space:nowrap;
  opacity:0; transition:opacity .3s ease; pointer-events:none;
  max-width:90%;
}
.demo-toast.show{ opacity:1; }

/* Debrief overlay */
.debrief{
  position:absolute; z-index:8; inset:0; display:flex; align-items:center; justify-content:center;
  background:rgba(7,11,22,.6); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  padding:20px;
}
.debrief[hidden]{ display:none; }
.debrief-card{
  text-align:center; padding:26px 30px; max-width:380px; width:100%;
  border-radius:20px;
}
.debrief-card .seal{ font-size:2rem; line-height:1; margin-bottom:8px; }
.debrief-card h3{ margin:0 0 4px; font-size:1.25rem; letter-spacing:-.01em; }
.debrief-card .where{ color:var(--dim); font-size:.9rem; margin:0 0 18px; }
.debrief-stats{
  display:flex; justify-content:center; gap:22px; margin-bottom:20px; flex-wrap:wrap;
}
.debrief-stats .d-item{ display:flex; flex-direction:column; gap:3px; }
.debrief-stats .d-val{ font-size:1.15rem; font-weight:700; color:var(--accent2); white-space:nowrap; }
.debrief-stats .d-label{
  font-size:.62rem; letter-spacing:.12em; text-transform:uppercase;
  color:var(--dim); font-weight:700;
}

/* Reduced-motion poster note */
.rm-note{
  position:absolute; left:12px; right:12px; bottom:74px; margin:0;
  text-align:center; font-size:.8rem; color:var(--dim);
  background:rgba(7,11,22,.6); border-radius:10px; padding:8px 12px;
}
.rm-note[hidden]{ display:none; }

/* ---------- Journey ladder ---------- */
.journey-grid{
  display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  gap:clamp(32px, 5vw, 72px); align-items:start;
}
@media (max-width:820px){ .journey-grid{ grid-template-columns:1fr; } }
.ladder{ position:relative; padding-left:34px; list-style:none; margin:0; }
.ladder::before{
  content:""; position:absolute; left:10px; top:14px; bottom:14px; width:2px;
  background:var(--line); border-radius:2px;
}
.ladder .fill{
  position:absolute; left:10px; top:14px; width:2px; border-radius:2px;
  background:linear-gradient(180deg, var(--accent), var(--accent2));
  height:calc(var(--p, 0) * (100% - 28px));
  box-shadow:0 0 12px rgba(94,176,255,.5);
  transition:height .2s linear;
}
.ladder li{
  position:relative; padding:13px 0 13px 8px;
}
.ladder li::before{
  content:""; position:absolute; left:-30px; top:50%; transform:translateY(-50%);
  width:10px; height:10px; border-radius:50%;
  border:2px solid var(--line); background:var(--bg);
  transition:all .3s ease;
}
.ladder li.lit::before{
  border-color:var(--accent); background:var(--accent);
  box-shadow:0 0 12px rgba(94,176,255,.8);
}
.ladder li.lit:last-child::before{
  border-color:var(--accent2); background:var(--accent2);
  box-shadow:0 0 12px rgba(255,178,77,.8);
}
.ladder .l-row{ display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; }
.ladder .l-name{ font-weight:700; font-size:1.02rem; transition:color .3s ease; color:var(--dim); }
.ladder li.lit .l-name{ color:var(--text); }
.ladder .l-time{ color:var(--accent); font-size:.85rem; font-weight:600; }
.ladder .l-dist{ color:var(--dim); font-size:.8rem; margin-left:auto; }

/* ---------- How it works ---------- */
.steps{ display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; }
@media (max-width:820px){ .steps{ grid-template-columns:1fr; } }
.step{ padding:26px 24px; }
.step .n{
  display:inline-flex; align-items:center; justify-content:center;
  width:34px; height:34px; border-radius:11px; margin-bottom:16px;
  background:rgba(94,176,255,.12); color:var(--accent);
  font-weight:800; font-size:1rem;
}
.step h3{ margin:0 0 8px; font-size:1.1rem; }
.step p{ margin:0; color:var(--dim); font-size:.94rem; }

/* ---------- Feature grid ---------- */
.features{ display:grid; grid-template-columns:repeat(6, 1fr); gap:18px; }
.feature{ padding:26px 24px; grid-column:span 2; }
.feature.wide{ grid-column:span 3; }
@media (max-width:900px){
  .feature, .feature.wide{ grid-column:span 3; }
}
@media (max-width:640px){
  .feature, .feature.wide{ grid-column:span 6; }
}
.feature .ico{
  width:40px; height:40px; border-radius:12px; margin-bottom:16px;
  display:flex; align-items:center; justify-content:center; font-size:1.15rem;
  background:rgba(94,176,255,.1); border:1px solid rgba(94,176,255,.22);
}
.feature .ico.warm{ background:rgba(255,178,77,.1); border-color:rgba(255,178,77,.25); }
.feature h3{ margin:0 0 8px; font-size:1.08rem; }
.feature p{ margin:0; color:var(--dim); font-size:.93rem; }

/* ---------- Pitch band (try it today) ---------- */
.pitch-band{
  text-align:center;
  padding:clamp(36px,6vw,56px) clamp(20px,4vw,32px);
}
.pitch-tags{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:18px;
}
.pitch-tags span{
  border:1px solid var(--line);
  border-radius:999px;
  padding:6px 14px;
  font-size:.82rem;
  font-weight:600;
  color:var(--text);
  background:rgba(94,176,255,.06);
}
.pitch-band h2{
  font-size:clamp(1.6rem,3.4vw,2.2rem);
  margin:0 0 20px;
  letter-spacing:-.01em;
}

/* ---------- Pricing (compact horizontal) ---------- */
.pricing-block{
  padding:clamp(32px,5vw,48px) 0;
}
.pricing-intro{
  text-align:center;
  max-width:42rem;
  margin:0 auto clamp(24px,4vw,32px);
}
.pricing-intro h2{
  font-size:clamp(1.5rem,3vw,2rem);
  margin:0 0 12px;
  letter-spacing:-.01em;
}
.pricing-intro p{
  color:var(--dim);
  margin:0;
  font-size:1.02rem;
  line-height:1.55;
}
.pricing-row{
  display:flex;
  gap:12px;
  justify-content:center;
  align-items:stretch;
  max-width:640px;
  margin:0 auto;
}
.price-pill{
  flex:1 1 0;
  min-width:0;
  padding:16px 14px 14px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  position:relative;
}
.price-pill.featured{
  border-color:rgba(255,178,77,.45);
  background:linear-gradient(165deg, rgba(255,178,77,.08), var(--panel) 55%);
}
.price-pill-badge{
  position:absolute;
  top:-9px;
  font-size:.58rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  background:var(--accent2);
  color:#2e2410;
  border-radius:999px;
  padding:3px 8px;
}
.price-pill-label{
  font-size:.78rem;
  font-weight:600;
  color:var(--dim);
  margin-top:4px;
}
.price-pill-amt{
  font-size:clamp(1.35rem,3vw,1.65rem);
  font-weight:800;
  letter-spacing:-.02em;
  line-height:1.1;
}
.price-pill-per{
  font-size:.75rem;
  color:var(--dim);
}
.pricing-foot{
  text-align:center;
  color:var(--dim);
  font-size:.8rem;
  margin-top:18px;
}
@media (max-width:520px){
  .pricing-row{ gap:8px; }
  .price-pill{ padding:14px 8px 12px; }
  .price-pill-label{ font-size:.72rem; }
  .price-pill-amt{ font-size:1.2rem; }
  .price-pill-per{ font-size:.68rem; }
  .price-pill-badge{ font-size:.52rem; padding:2px 6px; }
}

/* Legacy privacy band (unused on homepage; kept for other pages if needed) */
.privacy-band{ text-align:center; padding:clamp(48px, 7vw, 80px) 28px; }
.privacy-band h2{ font-size:clamp(1.6rem, 3.4vw, 2.3rem); margin:0 0 12px; letter-spacing:-.01em; }
.privacy-band p{ color:var(--dim); max-width:52ch; margin:0 auto 22px; }
.privacy-tags{
  display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-bottom:26px;
}
.privacy-tags span{
  border:1px solid var(--line); border-radius:999px; padding:6px 14px;
  font-size:.82rem; color:var(--good); font-weight:600;
  background:rgba(93,219,138,.06);
}

/* Legacy vertical pricing cards */
.pricing{ display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; max-width:920px; margin:0 auto; }
@media (max-width:820px){ .pricing{ grid-template-columns:1fr; max-width:420px; } }
.price-card{ padding:28px 26px; text-align:center; display:flex; flex-direction:column; }
.price-card.hero-card{ border-color:rgba(255,178,77,.45); }
.price-card .badge{
  align-self:center; font-size:.62rem; font-weight:800; letter-spacing:.08em;
  background:var(--accent2); color:#2e2410; border-radius:999px;
  padding:4px 10px; margin-bottom:14px;
}
.price-card .badge.ghosted{ visibility:hidden; }
.price-card h3{ margin:0 0 6px; font-size:1.05rem; }
.price-card .price{ font-size:2.1rem; font-weight:800; letter-spacing:-.02em; }
.price-card .per{ color:var(--dim); font-size:.88rem; margin-bottom:14px; }
.price-card .note{ color:var(--dim); font-size:.85rem; margin-top:auto; }

/* ---------- Closing ---------- */
.closing{ text-align:center; }
.closing h2{
  font-size:clamp(1.9rem, 4.5vw, 3rem); letter-spacing:-.015em;
  margin:0 0 14px; line-height:1.15;
}
.closing p{ color:var(--dim); margin:0 0 28px; }

/* ---------- Footer ---------- */
footer{
  border-top:1px solid var(--line); padding:34px 0 44px; margin-top:20px;
  color:var(--dim); font-size:.9rem;
}
.footer-inner{
  max-width:var(--maxw); margin:0 auto; padding:0 24px;
  display:flex; align-items:center; gap:22px; flex-wrap:wrap;
}
.footer-inner .brand{ font-size:.95rem; }
.footer-inner .brand img{ width:24px; height:24px; }
.footer-links{ display:flex; gap:18px; margin-left:auto; flex-wrap:wrap; }
.footer-links a{ color:var(--dim); }
.footer-links a:hover{ color:var(--text); }

/* ---------- Cross-promo (Honeydew) ---------- */
.cross-promo{ max-width:var(--maxw); margin:48px auto 0; padding:0 24px; }
.cross-promo-card{
  display:flex; align-items:center; gap:16px;
  padding:16px 20px; border:1px solid var(--line); border-radius:18px;
  background:linear-gradient(180deg, var(--panel), var(--bg2));
  color:var(--text); transition:border-color .2s, box-shadow .2s, transform .2s;
}
.cross-promo-card:hover{
  text-decoration:none; border-color:var(--accent2);
  box-shadow:0 0 0 1px rgba(255,178,77,.25), 0 12px 32px rgba(0,0,0,.35);
  transform:translateY(-1px);
}
.cross-promo-icon{
  width:56px; height:56px; border-radius:14px; flex-shrink:0;
  box-shadow:0 4px 14px rgba(0,0,0,.35);
}
.cross-promo-text{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.cross-promo-eyebrow{
  font-size:.74rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--accent2);
}
.cross-promo-title{ font-size:1.02rem; font-weight:700; letter-spacing:-.01em; color:var(--text); }
.cross-promo-cta{
  margin-left:auto; flex-shrink:0; color:var(--dim);
  font-size:.92rem; font-weight:600; white-space:nowrap;
}
.cross-promo-card:hover .cross-promo-cta{ color:var(--accent2); }
@media (max-width:560px){
  .cross-promo-cta{ display:none; }
  .cross-promo-card{ gap:14px; }
}

/* ---------- Prose pages (privacy / support / terms) ---------- */
.prose{ max-width:720px; margin:0 auto; padding:clamp(40px,6vw,72px) 24px 80px; }
.prose h1{ font-size:clamp(1.9rem, 4vw, 2.6rem); letter-spacing:-.015em; margin:0 0 8px; }
.prose .lede{ color:var(--dim); margin:0 0 36px; font-size:1.02rem; }
.prose h2{ font-size:1.2rem; margin:36px 0 10px; }
.prose p{ color:#c3cce0; margin:0 0 14px; }
.prose a{ word-break:break-word; }
.prose .meta{ color:var(--dim); font-size:.9rem; }
details.faq{
  border:1px solid var(--line); border-radius:14px; margin-bottom:12px;
  background:linear-gradient(180deg, var(--panel), var(--bg2));
}
details.faq summary{
  cursor:pointer; font-weight:700; padding:16px 18px; list-style:none;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
details.faq summary::-webkit-details-marker{ display:none; }
details.faq summary::after{ content:"+"; color:var(--accent); font-size:1.2rem; font-weight:400; }
details.faq[open] summary::after{ content:"–"; }
details.faq .a{ padding:0 18px 16px; color:var(--dim); }
details.faq .a p{ margin:0 0 10px; color:var(--dim); }
.contact-card{ padding:26px 28px; margin:28px 0 40px; text-align:center; }
.contact-card p{ margin:0 0 16px; color:var(--dim); }
