/* ============ tokens ============ */
:root {
  --bg: #05060a;
  --bg-2: #0a0c14;
  --ink: #eef0f7;
  --ink-2: #a7abbd;
  --ink-3: #6b7085;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --glass: rgba(14, 16, 26, 0.55);
  --glass-2: rgba(255, 255, 255, 0.03);
  --accent: #9cc9ff;
  --accent-2: #ffcf8a;
  --accent-glow: rgba(140, 190, 255, 0.35);
  --ok: #8be3b5;
  --err: #ff8f8f;

  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --hand: "Caveat", "Segoe Print", cursive;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 26px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
::selection { background: rgba(156, 201, 255, .35); }
[hidden] { display: none !important; }

h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -0.02em; }
h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.02;
}
h2 em, h1 em { font-style: italic; color: var(--accent); }
p { margin: 0; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(90px, 14vw, 170px) 0; position: relative; }

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink-3);
  margin-bottom: 18px;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.grain {
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-2%, -1%); }
  100% { transform: translate(0, 0); }
}

/* ============ buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px; font-weight: 500;
  transition: transform .4s var(--ease), background .3s, box-shadow .4s, opacity .3s, border-color .3s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-light { background: var(--ink); color: #07080d; }
.btn-light:hover { box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 10px 40px rgba(156,201,255,.35); transform: translateY(-1px); }
.btn-light:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-ghost { border-color: var(--line-2); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
.btn-small { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.04);
  font-size: 13px;
  transition: background .25s, border-color .25s, opacity .25s;
}
.chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.chip:hover:not(:disabled) { background: rgba(255,255,255,.1); }
.chip:disabled { opacity: .4; cursor: not-allowed; }
.chip.is-playing { border-color: var(--accent); color: var(--accent); }

.icon-btn {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  transition: background .25s, transform .4s var(--ease);
}
.icon-btn:hover { background: rgba(255,255,255,.12); }
.icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ============ nav ============ */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 28px));
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
.nav.is-scrolled {
  background: rgba(10, 12, 20, .6);
  border-color: var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; letter-spacing: -.01em; }
.brand-mark { width: 22px; height: 22px; color: var(--accent); }
.nav-links { display: flex; gap: 30px; font-size: 14px; color: var(--ink-2); }
.nav-links a { position: relative; transition: color .25s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* ============ hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 120px;
  overflow: hidden;
}
#hero-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow {
  position: absolute; left: 50%; bottom: -55vh;
  width: 140vw; height: 90vh; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(110,160,255,.28), rgba(110,160,255,.06) 55%, transparent 75%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-glow::after {
  content: ""; position: absolute; inset: 22% 10% auto;
  height: 2px; border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(200,225,255,.9), transparent);
  filter: blur(1px);
}
.hero-inner { position: relative; max-width: 1200px; width: 100%; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-2);
  padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  margin-bottom: 34px;
}
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(139,227,181,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(139,227,181,.55); } 70% { box-shadow: 0 0 0 9px rgba(139,227,181,0); } 100% { box-shadow: 0 0 0 0 rgba(139,227,181,0); } }

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.3rem, 10.5vw, 9.6rem);
  line-height: .92;
  letter-spacing: -0.035em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.3s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.hero-title .line:nth-child(3) > span { animation-delay: .24s; }
.hero-title em { color: var(--ink); opacity: .9; }
.hero-title .line:nth-child(3) em {
  background: linear-gradient(90deg, #cfe3ff, #9cc9ff 40%, #ffd8a6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes rise { to { transform: translateY(0); } }

.hero-sub { max-width: 520px; margin-top: 34px; color: var(--ink-2); font-size: clamp(16px, 1.6vw, 18px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.hero-ticker {
  position: absolute; right: var(--gutter); bottom: 46px;
  text-align: right; max-width: 300px;
}
.ticker-label { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
.ticker-value { font-family: var(--mono); font-size: clamp(18px, 2vw, 24px); font-variant-numeric: tabular-nums; color: var(--ink); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  width: 24px; height: 38px; border-radius: 12px; border: 1px solid var(--line-2);
}
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--ink-2); animation: scrollhint 2s var(--ease) infinite; }
@keyframes scrollhint { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ============ reveal ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: .5s; }
.hero .hero-cta.reveal { transition-delay: .65s; }
.hero .hero-ticker.reveal { transition-delay: .9s; }

/* ============ how ============ */
.section-head { max-width: 760px; margin-bottom: 70px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  position: relative;
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.005));
  transition: border-color .4s, transform .6s var(--ease);
}
.step:nth-child(2) { transition-delay: .08s; }
.step:nth-child(3) { transition-delay: .16s; }
.step:hover { border-color: var(--line-2); transform: translateY(-4px); }
.step-num { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.step h3 { font-size: 21px; font-weight: 500; letter-spacing: -.01em; margin: 26px 0 10px; }
.step p { color: var(--ink-2); font-size: 15px; }
.step-visual {
  height: 130px; margin-top: 20px; border-radius: var(--r);
  border: 1px solid var(--line); background: rgba(0,0,0,.25);
  display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative;
}
.typing { font-family: var(--hand); font-size: 32px; color: var(--ink); }
.caret { display: inline-block; width: 2px; height: 26px; margin-left: 3px; background: var(--accent); vertical-align: -4px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.step-visual-bits { flex-wrap: wrap; gap: 6px 10px; padding: 0 16px; align-content: center; font-family: var(--mono); font-size: 14px; color: var(--accent); }
.step-visual-bits span { animation: flicker 3s infinite; }
.step-visual-bits span:nth-child(2) { animation-delay: .4s; }
.step-visual-bits span:nth-child(3) { animation-delay: .8s; }
.step-visual-bits span:nth-child(4) { animation-delay: 1.2s; }
@keyframes flicker { 0%, 100% { opacity: .35; } 10% { opacity: 1; text-shadow: 0 0 12px var(--accent-glow); } 40% { opacity: .6; } }
.step-visual-wave svg { width: 200%; height: 60px; animation: wave 3.5s linear infinite; }
.step-visual-wave path { fill: none; stroke: var(--accent); stroke-width: 1.6; filter: drop-shadow(0 0 6px var(--accent-glow)); }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ map ============ */
.map-section { padding: clamp(60px, 9vw, 110px) 0 clamp(90px, 12vw, 150px); }
.map-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.map-intro { color: var(--ink-2); max-width: 470px; justify-self: end; }
.map-frame {
  position: relative;
  width: calc(100% - 2 * var(--gutter));
  max-width: 1440px;
  margin: 0 auto;
  height: min(86vh, 860px);
  min-height: 600px;
  border-radius: 30px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #020308;
  isolation: isolate;
}
#space-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; }
#space-canvas:active { cursor: grabbing; }
.labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.map-foot { margin-top: 18px; font-size: 13px; color: var(--ink-3); text-align: center; }

.map-loading {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 14px; justify-items: center;
  color: var(--ink-3); font-size: 13px; background: #020308; z-index: 5;
  transition: opacity .8s;
}
.map-loading span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--accent); animation: spin 1s linear infinite; }
.map-loading.is-done { opacity: 0; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* labels inside map */
.p-label {
  position: absolute; left: 0; top: 0;
  font-size: 11px; color: rgba(220,226,245,.65);
  letter-spacing: .04em;
  white-space: nowrap;
  transform-origin: 0 0;
  will-change: transform;
  transition: opacity .3s;
}
.p-label.ring { color: rgba(156,201,255,.42); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.p-label.star { color: rgba(255,214,160,.75); }

.letter {
  position: absolute; left: 0; top: 0;
  will-change: transform;
  pointer-events: none;
}
.letter-inner {
  position: absolute; left: 0; bottom: 0;
  transform: translate(-50%, -14px);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: max-content;
}
.letter-bubble {
  width: max-content;
  max-width: 230px;
  padding: 9px 14px 10px;
  border-radius: 14px;
  background: rgba(8, 10, 18, .72);
  border: 1px solid rgba(156,201,255,.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--hand);
  font-size: 21px;
  line-height: 1.1;
  color: #f4f6ff;
  text-align: center;
  box-shadow: 0 6px 30px rgba(0,0,0,.4), 0 0 24px rgba(156,201,255,.12);
}
.lb-text { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.letter-bubble small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.letter-icon {
  width: 34px; height: 24px;
  filter: drop-shadow(0 0 10px rgba(156,201,255,.8));
  animation: bob 3s ease-in-out infinite;
}
.letter-icon rect { fill: #e9f1ff; }
.letter-icon path { fill: none; stroke: #5c7fb3; stroke-width: 3; stroke-linejoin: round; }
@keyframes bob { 50% { transform: translateY(-3px) rotate(-3deg); } }
.letter.is-dim .letter-bubble { font-size: 16px; opacity: .55; max-width: 170px; }
.letter-bubble { white-space: normal; }
.letter.is-dim .letter-icon { width: 24px; height: 17px; opacity: .6; }
.letter.is-dim { z-index: 0; }
.letter.is-focus { z-index: 2; }

/* HUD */
.hud { position: absolute; border-radius: 20px; z-index: 3; }

/* small readout on the map */
.map-pill {
  position: absolute; left: 18px; top: 18px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  font-size: 14px; pointer-events: none;
}
.map-pill .hud-tag { font-size: 10px; padding: 3px 8px; border-radius: 999px; }
.pill-km small { color: var(--ink-3); font-size: 12px; }

.flight-btn {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-2);
  font-size: 13px; transition: background .25s, border-color .25s;
}
.flight-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.flight-btn svg, .back-to-map svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flight-btn:hover svg { animation: nudge .9s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateY(3px); } }

.fly-btn {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 15px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-2);
  font-size: 13px; transition: background .25s, border-color .25s, color .25s, box-shadow .3s;
}
.fly-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.fly-btn:hover { background: rgba(255,255,255,.12); }
.fly-btn.is-on { background: var(--accent-2); color: #160f04; border-color: transparent; box-shadow: 0 0 24px rgba(255,207,138,.35); }
.fly-btn.is-on svg { fill: currentColor; }

.fly-panel {
  position: absolute; right: 18px; top: 18px; z-index: 3; width: 250px;
  padding: 14px 16px 16px; border-radius: 20px; font-size: 13px;
  animation: fadeIn .4s var(--ease);
}
.fly-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.fly-head strong { font-weight: 500; color: var(--accent-2); display: inline-flex; align-items: center; gap: 8px; }
.fly-head strong::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); animation: pulse-amber 1.8s infinite; }
.fly-head .chip { height: 28px; font-size: 12px; padding: 0 10px; }
.fly-keys { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 7px; color: var(--ink-2); }
.fly-keys li { display: flex; align-items: center; gap: 10px; }
.fly-keys span { display: inline-flex; gap: 3px; min-width: 92px; }
kbd {
  display: inline-grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px;
  border-radius: 5px; border: 1px solid var(--line-2); border-bottom-width: 2px;
  background: rgba(255,255,255,.05); font-family: var(--mono); font-size: 10.5px; color: var(--ink);
}
.fly-speed { padding-top: 12px; border-top: 1px solid var(--line); }
.fly-speed label { display: flex; justify-content: space-between; margin-bottom: 4px; }
.fly-speed label span { color: var(--ink-3); font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; }
.fly-speed label strong { font-weight: 500; }
.fly-speed input { width: 100%; }
.fly-hint { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.map-frame.is-flying #space-canvas { cursor: crosshair; }
.map-frame.is-flying .views { opacity: .5; }

/* flying needs a keyboard, so hide it on phones and tablets */
@media (hover: none), (pointer: coarse), (max-width: 760px) {
  .fly-btn, .fly-panel { display: none !important; }
}

/* flight data under the map */
.flight {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px;
  margin-top: 34px; scroll-margin-top: 90px;
}
.flight-card { border-radius: 26px; padding: 24px; }
.flight-card:nth-child(2) { transition-delay: .08s; }
.flight-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.flight-title h3 { font-size: 18px; font-weight: 500; }
.flight-sub { font-size: 13px; color: var(--ink-3); }
.back-to-map {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-size: 13px; color: var(--ink-2); transition: color .25s;
}
.back-to-map:hover { color: var(--ink); }
.hud-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hud-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px; background: rgba(156,201,255,.12); color: var(--accent);
}
.hud-tag.is-yours { background: rgba(255,207,138,.14); color: var(--accent-2); }
.msg-switch { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.msg-switch button {
  flex: none; height: 24px; padding: 0 9px; border-radius: 6px; font-family: var(--mono); font-size: 10.5px;
  background: transparent; border: 1px solid var(--line); color: var(--ink-3);
}
.msg-switch button.is-active { color: var(--ink); border-color: var(--line-2); background: rgba(255,255,255,.06); }
.hud-msg {
  font-family: var(--hand); font-size: 25px; line-height: 1.1; margin: 14px 0 16px;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
}
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; border-radius: 12px; overflow: hidden; background: var(--line); }
.stat { padding: 10px 12px; background: rgba(10,12,20,.75); }
.stat-wide { grid-column: 1 / -1; }
.stat dt { font-size: 11px; color: var(--ink-3); margin-bottom: 2px; }
.stat dd { margin: 0; font-size: 15px; }
.stat-wide dd { font-size: 22px; }
.stat small { color: var(--ink-3); font-size: 12px; }
.hud-note { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }

.milestones { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.milestones li { break-inside: avoid; }
.milestones li {
  position: relative; display: grid; grid-template-columns: 16px 1fr; gap: 10px;
  padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px;
}

.milestones .ms-dot { width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; border: 1.5px solid var(--ink-3); }
.milestones .is-passed .ms-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
.milestones .is-next .ms-dot { border-color: var(--accent-2); animation: pulse-amber 1.8s infinite; }
@keyframes pulse-amber { 0% { box-shadow: 0 0 0 0 rgba(255,207,138,.5); } 70% { box-shadow: 0 0 0 7px rgba(255,207,138,0); } 100% { box-shadow: 0 0 0 0 rgba(255,207,138,0); } }
.milestones .ms-name { color: var(--ink-2); }
.milestones .is-passed .ms-name { color: var(--ink); }
.milestones .ms-time { display: block; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.milestones .is-next .ms-time { color: var(--accent-2); }

.hud-bottom {
  left: 50%; bottom: 18px; transform: translateX(-50%);
  width: min(860px, calc(100% - 36px));
  display: flex; align-items: center; gap: 18px; padding: 10px 12px 10px 10px;
  border-radius: 999px;
}
.views { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(0,0,0,.3); border: 1px solid var(--line); flex: none; }
.view-btn { height: 32px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; font-size: 13px; color: var(--ink-2); transition: background .25s, color .25s; }
.view-btn.is-active { background: var(--ink); color: #07080d; }
.view-btn:not(.is-active):hover { color: var(--ink); }
.scrub { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; }
.scrub label { display: flex; flex-direction: column; line-height: 1.2; flex: none; min-width: 92px; }
.scrub label span { font-size: 10.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; font-family: var(--mono); }
.scrub label strong { font-weight: 500; font-size: 13.5px; font-family: var(--mono); }
.scrub .chip { height: 28px; font-size: 12px; flex: none; }

input[type="range"] { -webkit-appearance: none; appearance: none; flex: 1; min-width: 60px; height: 22px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--fill, 0%), rgba(255,255,255,.14) var(--fill, 0%)); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); }
input[type="range"]::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(156,201,255,.25); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(156,201,255,.25); }

/* ============ compose ============ */
.compose-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.lead { color: var(--ink-2); margin-top: 22px; max-width: 440px; font-size: 17px; }
.compose-form { margin-top: 44px; display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; color: var(--ink-2); }
.optional { color: var(--ink-3); }
.field input, .field textarea {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 15px 16px;
  font-size: 16px;
  outline: none;
  transition: border-color .25s, background .25s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 150px; font-family: var(--hand); font-size: 26px; line-height: 1.25; }
.field textarea::placeholder { color: var(--ink-3); }
.field input::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus { border-color: rgba(156,201,255,.6); background: rgba(156,201,255,.04); box-shadow: 0 0 0 4px rgba(156,201,255,.1); }
.field-foot { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); }
.counter.is-near { color: var(--accent-2); }
.price-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.price { font-size: 30px; display: block; line-height: 1; }
.price-note { font-size: 13px; color: var(--ink-3); }

.compose-right { position: sticky; top: 100px; }
.preview-card { border-radius: 28px; padding: 22px; }
.preview-head { display: flex; justify-content: space-between; align-items: center; }
.preview-head .kicker { margin: 0; }
.letter-preview {
  position: relative;
  margin: 18px 0;
  padding: 30px 26px 26px;
  min-height: 210px;
  border-radius: 20px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(156,201,255,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  overflow: hidden;
}
.envelope { width: 50px; margin-bottom: 18px; animation: bob 4s ease-in-out infinite; filter: drop-shadow(0 0 14px rgba(156,201,255,.5)); }
.envelope rect, .order-icon rect, .done-icon rect { fill: #e9f1ff; }
.envelope path, .order-icon path, .done-icon path { fill: none; stroke: #5c7fb3; stroke-width: 3; stroke-linejoin: round; }
.letter-text { font-family: var(--hand); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; word-break: break-word; max-width: 100%; }
.letter-text.is-empty { color: var(--ink-3); }
.letter-sign { font-family: var(--hand); font-size: 20px; color: var(--ink-2); margin-top: 10px; }
.letter-sign:empty { display: none; }

.binary-wrap { border-radius: 16px; border: 1px solid var(--line); background: rgba(0,0,0,.3); padding: 14px 16px; }
.binary-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); margin-bottom: 10px; }
.binary {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: rgba(156,201,255,.7);
  height: 96px; overflow: hidden; word-spacing: 4px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.binary-inner { display: block; }
.binary .byte { display: inline-block; margin-right: 8px; transition: color .6s; }
.binary .byte.is-new { color: #fff; text-shadow: 0 0 10px var(--accent); }
.binary .byte.is-playing { color: var(--accent-2); text-shadow: 0 0 10px rgba(255,207,138,.6); }
.binary-empty { color: var(--ink-3); opacity: .6; }

.preview-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.preview-stats div { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.preview-stats span { display: block; font-size: 17px; }
.preview-stats small { font-size: 11.5px; color: var(--ink-3); line-height: 1.3; display: block; margin-top: 2px; }

/* ============ honest ============ */
.honest { overflow: hidden; }
.honest-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.honest-copy p { color: var(--ink-2); margin-top: 22px; font-size: 17px; max-width: 580px; }
.honest-copy h2 { margin-bottom: 8px; }
.honest-punch { color: var(--ink) !important; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px) !important; line-height: 1.3; }
.ripple { position: relative; aspect-ratio: 1; width: 100%; max-width: 460px; }
.ripple i {
  position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 30px 6px rgba(156,201,255,.7);
}
.ripple span {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(156,201,255,.9);
  animation: ripple 6s linear infinite;
  opacity: 0;
}
.ripple span:nth-child(2) { animation-delay: 1.5s; }
.ripple span:nth-child(3) { animation-delay: 3s; }
.ripple span:nth-child(4) { animation-delay: 4.5s; }
@keyframes ripple {
  0% { transform: scale(.04); opacity: 1; border-width: 3px; }
  100% { transform: scale(1); opacity: 0; border-width: .5px; }
}

/* ============ about ============ */
.about-card {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: start;
  padding: clamp(28px, 5vw, 60px); border-radius: 32px;
  background: linear-gradient(140deg, rgba(156,201,255,.07), rgba(255,207,138,.04) 60%, rgba(255,255,255,.02));
}
.about-avatar {
  width: clamp(80px, 10vw, 120px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: clamp(40px, 5vw, 60px); font-style: italic;
  background: radial-gradient(circle at 30% 25%, #d8e8ff, #6e8fc7 55%, #1d2742);
  color: #0b0f1d;
  box-shadow: 0 0 0 8px rgba(255,255,255,.03), 0 20px 60px rgba(110,160,255,.25);
}
.about-copy p { color: var(--ink-2); margin-top: 18px; max-width: 680px; font-size: 17px; }
.email-link { color: var(--ink); border-bottom: 1px solid rgba(156,201,255,.5); transition: border-color .25s, color .25s; }
.email-link:hover { color: var(--accent); border-color: var(--accent); }

/* ============ faq ============ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-size: 18px; transition: color .25s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-family: var(--mono); font-size: 20px; color: var(--ink-3);
  transition: transform .4s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--accent); }
.faq-list details p { color: var(--ink-2); padding: 0 40px 26px 0; animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ============ final ============ */
.final {
  text-align: center; padding: clamp(60px, 10vw, 120px) var(--gutter) clamp(110px, 14vw, 170px);
  display: grid; justify-items: center; gap: 36px;
  background: radial-gradient(60% 60% at 50% 100%, rgba(110,160,255,.12), transparent 70%);
}
.final h2 { font-size: clamp(2.6rem, 6.6vw, 5.6rem); max-width: 14ch; }

/* ============ footer ============ */
.footer { border-top: 1px solid var(--line); padding: 60px 0 30px; font-size: 14px; color: var(--ink-3); }
.footer-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.footer-brand .brand { color: var(--ink); margin-bottom: 12px; }
.footer-notes { display: grid; gap: 12px; font-size: 13px; line-height: 1.6; }
.footer-notes a { color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; font-size: 12px; }
.footer-bottom .mono { opacity: .5; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ============ modal ============ */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2,3,8,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .4s; }
.modal-panel {
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent;
  position: relative; width: min(480px, 100%); max-height: calc(100svh - 32px); overflow-y: auto;
  border-radius: 28px; padding: 30px; background: rgba(12,14,22,.92);
  animation: pop .55s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; right: 18px; top: 18px; }
.modal h3 { font-family: var(--serif); font-size: 38px; line-height: 1; margin-bottom: 22px; }
.modal .kicker { margin-bottom: 10px; }
.checkout-step { animation: fadeIn .5s var(--ease); }

.glass-inner { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 18px; }
.order { padding: 16px; }
.order-msg { display: flex; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.order-icon { width: 38px; flex: none; margin-top: 4px; }
.order-text { font-family: var(--hand); font-size: 22px; line-height: 1.15; word-break: break-word; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.order-meta { font-size: 11.5px; color: var(--ink-3); margin-top: 4px; }
.order-lines { display: grid; gap: 8px; padding-top: 14px; font-size: 14px; color: var(--ink-2); }
.order-lines div { display: flex; justify-content: space-between; }
.order-total { color: var(--ink); font-weight: 500; padding-top: 8px; border-top: 1px dashed var(--line-2); }

.preview-banner {
  display: flex; gap: 12px; margin: 16px 0 0; padding: 13px 14px; border-radius: 14px;
  background: rgba(255,207,138,.07); border: 1px solid rgba(255,207,138,.22); font-size: 13px; color: var(--ink-2); line-height: 1.5;
}
.preview-banner strong { color: var(--accent-2); font-weight: 500; }
.preview-banner svg { width: 18px; height: 18px; flex: none; margin-top: 1px; fill: none; stroke: var(--accent-2); stroke-width: 2; stroke-linecap: round; }

.pay-form { display: grid; gap: 14px; margin-top: 18px; }
.wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wallet-btn {
  height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: #000;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-weight: 500; font-size: 16px;
}
.wallet-btn svg { width: 18px; height: 18px; margin-top: -2px; }
.wallet-btn .g { font-weight: 600; background: linear-gradient(90deg, #4285f4, #ea4335, #fbbc05, #34a853); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wallet-btn:disabled { opacity: .45; cursor: not-allowed; }
.divider { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--ink-3); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.modal .field input { padding: 12px 14px; font-size: 15px; border-radius: 12px; }
.card-fields { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.card-fields:disabled { opacity: .45; }
.card-fields:disabled input { cursor: not-allowed; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input-icon { position: relative; }
.card-brands { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: flex; }
.card-brands i { width: 18px; height: 18px; border-radius: 50%; background: #eb001b; opacity: .8; }
.card-brands i + i { background: #f79e1b; margin-left: -7px; mix-blend-mode: screen; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); cursor: pointer; line-height: 1.5; }
.check input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.form-error { color: var(--err); font-size: 13px; min-height: 0; }
.form-error:empty { display: none; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12px; color: var(--ink-3); text-align: center; }
.secure-note svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }

.launch-bits {
  height: 90px; overflow: hidden; font-size: 12px; line-height: 1.6; color: var(--accent); word-break: break-all;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
  margin-bottom: 18px;
}
.launch-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.launch-steps li { display: flex; align-items: center; gap: 12px; color: var(--ink-3); transition: color .4s; }
.launch-steps li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none;
  transition: background .3s, border-color .3s;
}
.launch-steps li.is-active { color: var(--ink); }
.launch-steps li.is-active::before { border-color: var(--accent); border-top-color: transparent; animation: spin .8s linear infinite; }
.launch-steps li.is-done { color: var(--ink-2); }
.launch-steps li.is-done::before {
  border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%2305060a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

.done-icon { width: 70px; margin: 6px 0 24px; animation: fly 2.8s var(--ease) infinite; filter: drop-shadow(0 0 18px rgba(156,201,255,.7)); }
@keyframes fly { 0% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(6px, -8px) rotate(-6deg); } 100% { transform: translate(0, 0) rotate(0); } }
.done-sub { color: var(--ink-2); font-size: 15px; margin-bottom: 18px; }
.done-sub strong { color: var(--ink); font-weight: 500; }
.share-row { display: flex; gap: 8px; margin-bottom: 12px; }
.share-row input {
  flex: 1; min-width: 0; height: 40px; padding: 0 14px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; color: var(--ink-2); outline: none;
}

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90;
  transform: translate(-50%, 30px); opacity: 0;
  padding: 11px 18px; border-radius: 999px; font-size: 14px;
  background: var(--ink); color: #07080d;
  transition: transform .5s var(--ease), opacity .4s;
  pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ============ waiting for approval ============ */
.pending-icon { position: relative; width: 70px; margin: 6px 0 24px; filter: drop-shadow(0 0 18px rgba(255,207,138,.45)); }
.pending-icon rect { fill: #f4ede1; }
.pending-icon > svg path { fill: none; stroke: #9a7a4a; stroke-width: 3; stroke-linejoin: round; }
.pending-clock {
  position: absolute; right: -12px; bottom: -10px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(12,14,22,.92);
}
.pending-clock svg { width: 18px; height: 18px; fill: none; stroke: #160f04; stroke-width: 2.2; stroke-linecap: round; }
.pending-clock svg path { transform-origin: 12px 12px; animation: spin 6s linear infinite; }
.pending-card { padding: 16px; margin-bottom: 18px; }
.pending-stage { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: 12.5px; color: var(--ink-3); }
.pending-stage li { position: relative; padding-top: 14px; }
.pending-stage li::before { content: ""; position: absolute; left: 0; right: 4px; top: 0; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); }
.pending-stage li.is-done { color: var(--ink-2); }
.pending-stage li.is-done::before { background: var(--accent); }
.pending-stage li.is-active { color: var(--accent-2); }
.pending-stage li.is-active::before { background: linear-gradient(90deg, var(--accent-2) 0 40%, rgba(255,255,255,.1) 40%); background-size: 250% 100%; animation: load 1.8s ease-in-out infinite; }
@keyframes load { 0% { background-position: 100% 0; } 100% { background-position: -50% 0; } }
.pending-email { margin-top: -8px; }
.pending-step.is-rejected .pending-clock { background: var(--err); }
.pending-step.is-rejected .pending-clock svg path { animation: none; }

.pending-strip { display: grid; gap: 8px; margin: -16px 0 22px; }
.pending-row {
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(255,207,138,.06); border: 1px solid rgba(255,207,138,.2); font-size: 14px;
  animation: fadeIn .5s var(--ease);
}
.pending-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); animation: pulse-amber 1.8s infinite; flex: none; }
.pending-label { color: var(--ink); }
.pending-code { color: var(--ink-3); font-size: 12.5px; margin-right: auto; }
.pending-row .chip { height: 30px; }
.pending-row .icon-btn { width: 30px; height: 30px; }
.pending-row.is-rejected { background: rgba(255,143,143,.06); border-color: rgba(255,143,143,.22); }
.pending-row.is-rejected .pending-dot { background: var(--err); animation: none; }


/* ============ radio readouts + legal ============ */
.pill-status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ok); }
.pill-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px rgba(139,227,181,.7); }
.pill-loss small { color: var(--ink-3); font-size: 12px; }
.map-pill > span + span:not(.hud-tag) { padding-left: 12px; border-left: 1px solid var(--line-2); }
.stat-status { display: flex; align-items: center; gap: 9px; color: var(--ok); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(139,227,181,.6); animation: pulse 2.2s infinite; }
#stat-noise { display: block; margin-top: 2px; }

.legal-box {
  padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.025);
  font-size: 12px; line-height: 1.55; color: var(--ink-2);
}
.legal-box .legal-title { font-size: 12.5px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.legal-box a { display: inline-block; margin-top: 6px; color: var(--accent); border-bottom: 1px solid rgba(156,201,255,.35); }

.pending-row.is-queued { background: rgba(156,201,255,.06); border-color: rgba(156,201,255,.24); }
.pending-row.is-queued .pending-dot { background: var(--accent); animation: none; box-shadow: 0 0 8px var(--accent-glow); }
.pending-step.is-queued .pending-clock { background: var(--accent); }

@media (max-width: 760px) {
  .pill-loss, .pill-status { display: none; }
}

/* ============ responsive ============ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .steps { grid-template-columns: 1fr; }
  .map-head { grid-template-columns: 1fr; gap: 18px; }
  .map-intro { justify-self: start; }
  .compose-grid, .honest-grid, .faq-grid { grid-template-columns: 1fr; }
  .compose-right { position: static; }
  .ripple { max-width: 300px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero-ticker { position: relative; right: auto; bottom: auto; text-align: left; margin: 56px auto 0; max-width: 1200px; width: 100%; }
  .scroll-hint { display: none; }

  .map-frame { width: calc(100% - 32px); height: auto; min-height: 0; border-radius: 22px; display: flex; flex-direction: column; }
  #space-canvas { position: relative; height: 62svh; min-height: 420px; flex: none; }
  .labels { bottom: auto; height: 62svh; min-height: 420px; }
  .hud { position: relative; left: auto; right: auto; top: auto; bottom: auto; transform: none; width: auto; border-radius: 0; border-width: 1px 0 0; backdrop-filter: none; -webkit-backdrop-filter: none; background: #070912; }
  .hud-bottom { order: 2; border-radius: 0; flex-wrap: wrap; padding: 12px; gap: 12px; }
  .flight-btn { width: 100%; justify-content: center; }
  .map-pill { top: 12px; left: 12px; font-size: 13px; }
  .flight { grid-template-columns: 1fr; margin-top: 24px; }
  .flight-card { padding: 20px; }
  .milestones { columns: 1; }
  .views { width: 100%; }
  .view-btn { flex: 1; }
  .map-loading { height: 62svh; min-height: 420px; bottom: auto; }
  .letter-bubble { font-size: 18px; max-width: 170px; }

  .price-row { flex-direction: column; align-items: stretch; }
  .price-row .btn { width: 100%; }
  .preview-stats { grid-template-columns: 1fr; }
  .preview-stats div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
  .about-card { grid-template-columns: 1fr; }
  .modal-panel { padding: 24px 20px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-title .line > span { transform: none; }
}

@media (max-width: 400px) {
  .nav { padding-left: 14px; gap: 10px; }
  .nav .btn-small { padding: 0 14px; font-size: 13px; height: 38px; }
  .brand { font-size: 15px; }
}
