/* Orbit — orbit-app.link
   Ink ground, starlight type. The spectrum shows up as light: on the phone,
   in the ring, in one gradient button. Surfaces stay quiet. */

:root {
  --ink: #08080c;
  --ink-2: #0e0e15;
  --raised: #12121a;
  --high: #1a1a24;
  --star: #f5f1f9;
  --mute: #a39bb2;
  --dim: #756c86;
  --hair: rgba(245, 241, 249, 0.1);
  --hair-strong: rgba(245, 241, 249, 0.18);
  --cyan: #3fe0d8;
  --blue: #4f7dff;
  --violet: #8b5cf6;
  --magenta: #ff4db8;
  --mint: #3ddc84;
  --peach: #ff7a62;
  --on-cta: #120818;
  --spectrum: linear-gradient(100deg, #3fe0d8 0%, #4f7dff 36%, #8b5cf6 66%, #ff4db8 100%);

  --font-display: "Bricolage Grotesque", "Inter Display", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Outfit", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --text-sm: 0.9rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --display: clamp(2.55rem, 1.3rem + 4.4vw, 5.1rem);
  --display-s: clamp(1.9rem, 1.15rem + 2.3vw, 3.1rem);

  --shell: 78rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 4.25rem;
  --radius: 1.25rem;
  --radius-sm: 0.8rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --scene-fade: 1;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--star);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
section[id] { scroll-margin-top: var(--nav-h); }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 1rem; border-radius: 999px; background: var(--star); color: var(--ink); font-weight: 600; text-decoration: none; transition: top 0.2s; }
.skip:focus { top: 1rem; }

.shell { width: min(var(--shell), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- type ---------- */
.display, .display-s, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}
.display { font-size: var(--display); }
.display-s { font-size: var(--display-s); line-height: 1.06; }
h3 { font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.012em; line-height: 1.2; }
.lede { font-size: var(--text-lg); color: var(--mute); max-width: 34rem; text-wrap: pretty; }
p { text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.1rem; padding: 0 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s, border-color 0.25s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  color: var(--on-cta); background: var(--spectrum);
  box-shadow: 0 0 0 0 rgba(79, 125, 255, 0), 0 10px 30px -14px rgba(139, 92, 246, 0.8);
}
.btn-primary:hover { box-shadow: 0 0 0 4px rgba(79, 125, 255, 0.18), 0 14px 36px -12px rgba(255, 77, 184, 0.7); }
.btn-ghost { color: var(--star); background: rgba(18, 18, 26, 0.55); border-color: var(--hair-strong); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(245, 241, 249, 0.4); background: rgba(26, 26, 36, 0.7); }
.btn-sm { min-height: 2.5rem; padding: 0 1.05rem; font-size: 0.92rem; }
.btn-wide { width: 100%; }

/* ---------- background: canvas + glows ---------- */
#scene {
  position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh;
  z-index: 0; pointer-events: none; display: block;
  opacity: 0; transition: opacity 0.9s ease;
}
.scene-on #scene { opacity: 1; }
.glow {
  position: fixed; z-index: 0; pointer-events: none; border-radius: 50%;
  filter: blur(70px); opacity: calc(var(--scene-fade) * 1);
  transition: opacity 0.3s linear;
}
.glow-a { width: 48vmax; height: 48vmax; left: -14vmax; top: -16vmax; background: radial-gradient(closest-side, rgba(63, 224, 216, 0.22), rgba(63, 224, 216, 0)); }
.glow-b { width: 56vmax; height: 56vmax; right: -18vmax; bottom: -22vmax; background: radial-gradient(closest-side, rgba(255, 77, 184, 0.2), rgba(139, 92, 246, 0.08) 55%, rgba(139, 92, 246, 0)); }

main { position: relative; z-index: 1; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav.is-scrolled { background: rgba(8, 8, 12, 0.72); backdrop-filter: blur(16px) saturate(1.3); border-bottom-color: var(--hair); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; border-radius: 9px; }
.nav-links { display: none; gap: 1.6rem; }
.nav-links a { color: var(--mute); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.is-current { color: var(--star); }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + 2rem); }
.hero-inner { display: grid; gap: 1.5rem; }
.hero-copy { max-width: 36rem; }
.hero .display .line { display: block; }
.hero .lede { margin-top: 1.3rem; font-size: 1.1rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.9rem; }
.hero-note { margin-top: 1.1rem; color: var(--dim); font-size: var(--text-sm); }
/* the slot the 3D phone is drawn over */
.hero-stage { height: 62svh; margin-bottom: -4svh; }
@media (min-width: 900px) {
  .hero { padding-top: 0; }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center;
    min-height: 100svh; padding: calc(var(--nav-h) + 2rem) 0 3rem;
  }
  .hero-copy { max-width: 38rem; }
  .hero .lede { margin-top: 1.6rem; font-size: var(--text-lg); }
  .cta-row { margin-top: 2.2rem; }
  .hero-stage { height: min(78vh, 52rem); margin: 0; }
}
/* one page-load sequence */
.hero .line, .hero .lede, .hero .cta-row, .hero .hero-note {
  opacity: 0; transform: translateY(0.5em);
  animation: rise 1.1s var(--ease) forwards;
}
.hero .line:nth-child(2) { animation-delay: 0.1s; }
.hero .lede { animation-delay: 0.25s; }
.hero .cta-row { animation-delay: 0.38s; }
.hero .hero-note { animation-delay: 0.5s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- tour ----------
   Phones: a sticky stage; the phone sits in the top half, the chapter text
   crossfades in the bottom half as you scroll. Desktop: chapters stack in the
   left column and scroll past the pinned phone. */
.tour { position: relative; --chapters: 6; height: calc(var(--chapters) * 100svh); }
.tour-track { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.tour-stage { position: absolute; left: 0; right: 0; top: 0; height: 50svh; }
.tour-anchor { position: absolute; inset: 7svh 0 0 0; }
.chapters { position: absolute; inset: 0; }
.chapter {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 0 6svh;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity 0.45s ease, transform 0.6s var(--ease);
}
.chapter.is-active { opacity: 1; transform: none; pointer-events: auto; }
.chapter-inner { max-width: 31rem; }
.chapter h2 { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.9rem); }
.chapter p { margin-top: 0.8rem; color: var(--mute); font-size: 1rem; }
.facts { margin-top: 1rem; display: grid; gap: 0.4rem; border-left: 1px solid var(--hair-strong); padding-left: 1rem; }
.facts li { font-size: 0.92rem; color: var(--star); }
@media (min-width: 900px) {
  .tour { height: auto; }
  .tour-track { position: static; height: auto; overflow: visible; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; }
  .tour-stage { position: sticky; top: 0; height: 100vh; grid-column: 2; grid-row: 1; }
  .tour-anchor { inset: 8vh 0; }
  .chapters { position: static; grid-column: 1; grid-row: 1; }
  .chapter {
    position: static; min-height: 100vh; display: flex; align-items: center;
    padding: 0; opacity: 0.38; transform: none; pointer-events: auto;
    transition: opacity 0.5s ease;
  }
  .chapter.is-active { opacity: 1; }
  .chapter-inner { max-width: 30rem; }
  .chapter p { font-size: var(--text-lg); margin-top: 1.1rem; }
  .facts { margin-top: 1.4rem; gap: 0.55rem; }
  .facts li { font-size: 1rem; }
}
.chapter-dots {
  position: fixed; right: max(1.1rem, calc((100vw - var(--shell)) / 2 - 2.5rem)); top: 50%; transform: translateY(-50%); z-index: 5;
  display: none; flex-direction: column; gap: 0.55rem; opacity: 0; transition: opacity 0.4s;
}
.in-tour .chapter-dots { opacity: 1; }
.chapter-dots i { width: 5px; height: 5px; border-radius: 999px; background: var(--hair-strong); transition: height 0.4s var(--ease), background 0.3s; }
.chapter-dots i.is-active { height: 1.6rem; background: var(--spectrum); }
@media (min-width: 900px) { .chapter-dots { display: flex; } }

/* ---------- bands ---------- */
.band { position: relative; z-index: 1; background: var(--ink); padding-block: clamp(5rem, 9vw, 8.5rem); }
.band + .band { border-top: 1px solid var(--hair); }
.band-head { max-width: 40rem; }
.band-head p { margin-top: 1rem; color: var(--mute); font-size: var(--text-lg); }

/* ---------- everything: a spec sheet ---------- */
.everything { background: var(--ink-2); }
.spec { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 2.6rem 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .spec { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .spec { grid-template-columns: repeat(3, 1fr); } }
.spec-group h3 { padding-top: 1rem; border-top: 1px solid var(--hair-strong); font-size: 1.3rem; font-weight: 700; }
.spec-group ul { margin-top: 1rem; display: grid; gap: 0.55rem; }
.spec-group li { position: relative; padding-left: 1.25rem; color: var(--mute); font-size: 0.98rem; line-height: 1.5; }
.spec-group li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 0.5rem; height: 0.5rem;
  border-radius: 50%; border: 1.5px solid var(--cyan); opacity: 0.85;
}
.spec-group li em {
  font-style: normal; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.01em;
  color: #d9c8ff; background: rgba(139, 92, 246, 0.18); border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 0.05rem 0.45rem; border-radius: 999px; margin-left: 0.4rem; vertical-align: 0.1em; white-space: nowrap;
}

/* ---------- plans + range demo ---------- */
.range-demo {
  margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 2rem; align-items: center;
  padding: clamp(1.25rem, 3vw, 2.5rem); border-radius: calc(var(--radius) + 0.5rem);
  background: var(--raised); border: 1px solid var(--hair);
}
@media (min-width: 820px) { .range-demo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; } }
.range-viz { width: min(100%, 24rem); margin-inline: auto; aspect-ratio: 1; }
.range-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.range-svg .dot { fill: var(--star); opacity: 0.18; transition: opacity 0.6s ease, r 0.6s ease; }
.range-svg .dot.is-in { opacity: 0.95; }
.range-svg .dot.is-in.is-online { fill: var(--mint); }
.range-ring, .range-fill { transition: r 0.9s var(--ease); }
.range-q { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.015em; }
.range-readout { margin-top: 1rem; display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.range-readout strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; }
.range-readout span { color: var(--mute); font-size: var(--text-lg); }
.range-slider { display: block; margin-top: 1.4rem; }
.range-slider input {
  width: 100%; appearance: none; height: 6px; border-radius: 999px; background: var(--high); outline: none;
  background-image: var(--spectrum); background-size: var(--range-pct, 0%) 100%; background-repeat: no-repeat;
}
.range-slider input::-webkit-slider-thumb {
  appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--star);
  border: 3px solid var(--ink); box-shadow: 0 0 0 2px var(--hair-strong), 0 6px 18px -6px rgba(0,0,0,0.8); cursor: pointer;
}
.range-slider input::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--star); border: 3px solid var(--ink); cursor: pointer;
}
.range-slider input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 6px; }
.range-ticks { display: flex; justify-content: space-between; margin-top: 0.6rem; color: var(--dim); font-size: 0.85rem; }
.range-ticks b { font-weight: 500; }
.range-ticks b:nth-child(2) { transform: translateX(0); }
.range-plan { margin-top: 1.1rem; color: var(--mute); font-size: var(--text-sm); min-height: 1.5em; }
.range-plan.is-premium { color: #e9d8ff; }

.plan-cols { margin-top: 2rem; display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .plan-cols { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.plan { padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: calc(var(--radius) + 0.5rem); background: var(--raised); border: 1px solid var(--hair); display: flex; flex-direction: column; }
.plan h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.plan .price { margin-top: 0.6rem; display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.plan .price strong { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan .price span { color: var(--mute); font-size: var(--text-sm); max-width: 18rem; }
.plan ul { margin-top: 1.5rem; display: grid; gap: 0.65rem; flex: 1; }
.plan li { position: relative; padding-left: 1.55rem; color: var(--star); font-size: 0.98rem; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 0.9rem; height: 0.55rem;
  border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg) scale(0.8); opacity: 0.9;
}
.plan .btn { margin-top: 1.8rem; align-self: flex-start; }
.plan-premium {
  border: 1px solid transparent;
  background: linear-gradient(var(--raised), var(--raised)) padding-box, var(--spectrum) border-box;
  box-shadow: 0 0 120px -40px rgba(139, 92, 246, 0.75), 0 0 60px -30px rgba(63, 224, 216, 0.4);
}
.plan-premium li::before { border-color: var(--cyan); }

/* ---------- tokens ---------- */
.token-list { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 2.2rem 2rem; }
@media (min-width: 640px) { .token-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .token-list { grid-template-columns: repeat(4, 1fr); } }
.token-list li { padding-top: 1.2rem; position: relative; }
.token-list li::before { content: ""; position: absolute; left: 0; top: 0; width: 2.75rem; height: 2px; background: var(--spectrum); border-radius: 2px; }
.token-cost { display: flex; align-items: baseline; gap: 0.5rem; }
.token-cost b { font-family: var(--font-display); font-weight: 800; font-size: 3.2rem; line-height: 1; letter-spacing: -0.04em; }
.token-cost small { color: var(--mute); font-size: 0.95rem; }
.token-list h3 { margin-top: 0.9rem; font-size: 1.25rem; font-weight: 700; }
.token-list p { margin-top: 0.5rem; color: var(--mute); font-size: 0.96rem; }

/* ---------- safety ---------- */
.safety { background: var(--ink-2); }
.safety-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .safety-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 4rem; } }
.safety-list { display: grid; gap: 1.6rem 2rem; }
@media (min-width: 640px) { .safety-list { grid-template-columns: 1fr 1fr; } }
.safety-list li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.9rem; align-items: start; }
.safety-list svg { width: 2.2rem; height: 2.2rem; fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-top: -0.15rem; }
.safety-list h3 { font-size: 1.1rem; font-weight: 700; }
.safety-list p { margin-top: 0.3rem; color: var(--mute); font-size: 0.95rem; }

/* ---------- languages ---------- */
.languages { padding-block: clamp(4rem, 7vw, 6.5rem); overflow: hidden; }
.lang-sub { margin-top: 0.8rem; color: var(--mute); max-width: 36rem; }
.marquee { margin-top: 2.5rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 2.4rem; animation: marquee var(--marquee-dur, 70s) linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 2.4rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: -0.01em; color: var(--star); opacity: 0.85; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; border: 1.5px solid var(--dim); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- faq ---------- */
.faq-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 4rem; } }
.faq-list details { border-top: 1px solid var(--hair-strong); }
.faq-list details:last-child { border-bottom: 1px solid var(--hair-strong); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 0.8rem; height: 0.8rem;
  background: linear-gradient(var(--star), var(--star)) center / 100% 1.5px no-repeat, linear-gradient(var(--star), var(--star)) center / 1.5px 100% no-repeat;
  transition: transform 0.4s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 1.3rem; color: var(--mute); max-width: 42rem; animation: fadein 0.45s var(--ease); }
.faq-a a { color: var(--star); }
@keyframes fadein { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- join ---------- */
.join { background: var(--ink-2); }
.join-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .join-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: start; } }
.play-link { display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 1.6rem; padding: 0.7rem 1.1rem 0.7rem 0.9rem; border-radius: 999px; border: 1px solid var(--hair-strong); text-decoration: none; color: var(--star); font-weight: 600; font-size: 0.95rem; transition: border-color 0.25s, background 0.25s; }
.play-link:hover { border-color: rgba(245, 241, 249, 0.4); background: var(--raised); }
.play-link svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: var(--star); stroke-width: 1.4; stroke-linejoin: round; }
.join-form { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: calc(var(--radius) + 0.5rem); background: var(--raised); border: 1px solid var(--hair); }
.join-form label { display: block; font-size: var(--text-sm); color: var(--mute); margin-bottom: 0.45rem; }
.join-form input[type="email"] {
  width: 100%; min-height: 3.2rem; padding: 0 1rem; border-radius: var(--radius-sm);
  background: var(--ink); border: 1px solid var(--hair-strong); color: var(--star);
}
.join-form input[type="email"]::placeholder { color: var(--dim); }
.join-form input[type="email"]:focus-visible { outline: 2px solid var(--cyan); outline-offset: 0; border-color: transparent; }
.platform { margin: 1.1rem 0 0; padding: 0; border: 0; }
.platform legend { font-size: var(--text-sm); color: var(--mute); margin-bottom: 0.45rem; padding: 0; }
.platform { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.platform legend { grid-column: 1 / -1; }
.platform label { margin: 0; position: relative; }
.platform input { position: absolute; opacity: 0; inset: 0; }
.platform span {
  display: flex; align-items: center; justify-content: center; min-height: 3rem; border-radius: var(--radius-sm);
  background: var(--ink); border: 1px solid var(--hair-strong); color: var(--star); font-weight: 600; cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.platform input:checked + span { background: var(--spectrum); color: var(--on-cta); border-color: transparent; }
.platform input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.join-form .btn-wide { margin-top: 1.2rem; }
.form-msg { margin-top: 0.9rem; font-size: var(--text-sm); min-height: 1.4em; color: var(--mute); }
.form-msg.is-ok { color: var(--mint); }
.form-msg.is-err { color: var(--peach); }
.form-fine { margin-top: 0.6rem; font-size: 0.82rem; color: var(--dim); }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 1; background: var(--ink); border-top: 1px solid var(--hair); padding-bottom: 2.5rem; }
.marquee-plans { margin: 0; padding: 1.3rem 0; border-bottom: 1px solid var(--hair); }
.marquee-plans .marquee-track { --marquee-dur: 90s; gap: 2rem; }
.marquee-plans .marquee-track span { font-family: var(--font-body); font-weight: 500; font-size: 0.95rem; color: var(--mute); opacity: 1; gap: 2rem; }
.marquee-plans .marquee-track span::after { width: 0.35em; height: 0.35em; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 2rem; color: var(--dim); font-size: var(--text-sm); }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.footer-row a { color: var(--mute); text-decoration: none; }
.footer-row a:hover { color: var(--star); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- static phone (no WebGL / reduced motion) ----------
   site.js moves it into the hero slot or the tour slot; it fills the slot's height. */
.phone-fallback { display: none; }
.no-scene .phone-fallback {
  display: block; position: absolute; inset: 0; margin: auto; pointer-events: none;
  height: 92%; aspect-ratio: 540 / 1150; width: auto; max-width: 90%;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6));
  animation: fadein 0.5s ease;
}
.no-scene .hero-stage, .no-scene .tour-anchor { position: relative; }
.no-scene .tour-anchor { position: absolute; }
.no-scene .glow { opacity: 0.8; }
.pf-body { position: relative; width: 100%; height: 100%; border-radius: 13% / 6%; background: #0d0d14; padding: 3.2%; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 0 0 1px rgba(0,0,0,0.6); }
.pf-screen { width: 100%; height: 100%; object-fit: cover; border-radius: 11% / 5%; }
.pf-island { position: absolute; top: 5.2%; left: 50%; transform: translateX(-50%); width: 24%; height: 2.6%; border-radius: 999px; background: #000; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero .line, .hero .lede, .hero .cta-row, .hero .hero-note { animation: none; opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .scroll-cue span { animation: none; }
  .btn, .chapter, .range-ring, .range-fill, .range-svg .dot, .no-scene .phone-fallback { transition: none; }
  .faq-a { animation: none; }
}
