/* ==========================================================================
   Quick Launch — styles
   Tokens follow brand/BRAND.md. Dark is the default theme.
   ========================================================================== */

:root {
  --ink: #0B0B0C;
  --paper: #F4F2EE;
  --orange: #FF5A1F;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --header-h: 72px;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --t-fast: 180ms;
  --t-med: 300ms;

  --z-header: 40;
  --z-toggle: 45;
  --z-menu: 100;

  /* Dark theme (default) */
  --bg: #0B0B0C;
  --fg: #F4F2EE;
  --muted: #9A968F;
  --line: #26262A;
  --surface: #141416;
  --accent: #FF5A1F;
  --accent-text: #FF5A1F;
  --on-accent: #0B0B0C;
  --seg: #1C1C1F;
  --seg-hover: #2A2A2E;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F4F2EE; --fg: #0B0B0C; --muted: #5F5C57; --line: #D9D5CE;
    --surface: #ECE9E3; --accent-text: #B83A0A; --seg: #E6E2DB; --seg-hover: #D9D4CB;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F4F2EE; --fg: #0B0B0C; --muted: #5F5C57; --line: #D9D5CE;
  --surface: #ECE9E3; --accent-text: #B83A0A; --seg: #E6E2DB; --seg-hover: #D9D4CB;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0B0B0C; --fg: #F4F2EE; --muted: #9A968F; --line: #26262A;
  --surface: #141416; --accent-text: #FF5A1F; --seg: #1C1C1F; --seg-hover: #2A2A2E;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1rem/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color var(--t-med) var(--ease-out), color var(--t-med) var(--ease-out);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
section[id], main { scroll-margin-top: var(--header-h); }
.mono { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.accent-text { color: var(--accent-text); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 0 22px; border-radius: 999px;
  font: 600 .9375rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; touch-action: manipulation;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--fg); color: var(--bg); }
.btn-ghost { border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg); }
/* Header "Book a call": outline at rest, launch orange with black text on hover (the reverse of .btn-primary). */
.btn-ghost.header-cta:hover, .btn-ghost.header-cta:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-link { padding: 0 6px; color: var(--fg); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.btn-link:hover { text-decoration-color: var(--accent); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.0625rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  height: var(--header-h); padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med), background-color var(--t-med);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; justify-self: start; min-height: 44px; }
.brand-mark { width: 28px; height: 28px; overflow: visible; }
.mark-ring { fill: none; stroke: var(--fg); stroke-width: 4.5; }
.mark-tail { fill: none; stroke: var(--orange); stroke-width: 4.5; stroke-linecap: round; }
.mark-dot { fill: var(--orange); }
.brand:hover .mark-dot { transform: translate(1.5px, -1.5px); }
.mark-dot { transition: transform var(--t-med) var(--ease-out); }
.brand-word { font: 600 1.125rem/1 var(--font-display); letter-spacing: -.02em; }

.header-meta { color: var(--muted); justify-self: center; }
.header-meta .arrow { color: var(--accent-text); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.menu-toggle, .menu-close {
  min-height: 44px; min-width: 44px; padding: 0 10px; background: none; border: 0; color: var(--fg); cursor: pointer;
  font-weight: 500;
}
.menu-toggle:hover, .menu-close:hover { color: var(--accent-text); }

/* ---------- Menu ---------- */
.menu { position: fixed; inset: 0; z-index: var(--z-menu); display: flex; justify-content: flex-end; }
.menu[hidden] { display: none; }
.menu::before {
  content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55);
  animation: fade-in var(--t-med) var(--ease-out);
}
.menu-panel {
  position: relative; width: min(760px, 100%); height: 100%;
  background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column; padding: 16px var(--gutter) 28px;
  animation: slide-in 420ms var(--ease-out);
  overflow-y: auto;
}
.menu-close { align-self: flex-end; color: var(--ink); }
.menu nav { flex: 1; display: flex; align-items: center; }
.menu-list { list-style: none; margin: 0; padding: 0 0 0 clamp(0px, 4vw, 40px); }
.menu-list a {
  display: flex; align-items: center; gap: 22px; padding: 6px 0; text-decoration: none;
  font: 700 clamp(2rem, 6vw, 3.5rem)/1.05 var(--font-display); letter-spacing: -.03em; text-transform: uppercase;
  color: #8E8A83; transition: color var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.menu-list a:hover, .menu-list a:focus-visible { color: var(--ink); transform: translateX(6px); }
.menu-idx { color: #5F5C57; min-width: 2.2em; font-size: .75rem; }
.menu-cta { margin-top: 24px; }
.menu-cta a { color: #B83A0A; }
.menu-foot { color: #5F5C57; }
@keyframes slide-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px;
  padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
  max-width: 1440px; margin: 0 auto;
}
.hero-copy { grid-column: 1; grid-row: 1; align-self: end; padding-bottom: 6vh; max-width: 620px; }
.display {
  font: 700 clamp(2.5rem, 5.6vw, 5rem)/1 var(--font-display); letter-spacing: -.035em;
  text-wrap: balance;
}
.hero-sub { margin-top: 24px; font-size: 1.125rem; color: var(--muted); max-width: 52ch; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* ---------- Delivery ring (3D) ---------- */
/* Shading palette for the ring, per theme. */
:root, :root[data-theme="dark"] {
  --r-hi: #55555C; --r-mid: #1F1F22; --r-lo: #08080A;
  --s-hi: #34343A; --s-lo: #18181B;
  --well-a: #060607; --well-b: #121214;
  --dome-hi: #303036; --dome-mid: #151518; --dome-lo: #09090A;
  --groove: #000; --well-shadow: #000; --drop-op: .65; --floor: rgba(0,0,0,.55);
  --seg-label: #A8A49C;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --r-hi: #FFFFFF; --r-mid: #E2DED6; --r-lo: #B4AEA3;
    --s-hi: #FBFAF7; --s-lo: #D8D3CA;
    --well-a: #D3CEC5; --well-b: #E6E2DB;
    --dome-hi: #FFFFFF; --dome-mid: #F0EDE8; --dome-lo: #D6D1C8;
    --groove: #A9A398; --well-shadow: #6B655B; --drop-op: .22; --floor: rgba(60,50,40,.22);
    --seg-label: #55524D;
  }
}
:root[data-theme="light"] {
  --r-hi: #FFFFFF; --r-mid: #E2DED6; --r-lo: #B4AEA3;
  --s-hi: #FBFAF7; --s-lo: #D8D3CA;
  --well-a: #D3CEC5; --well-b: #E6E2DB;
  --dome-hi: #FFFFFF; --dome-mid: #F0EDE8; --dome-lo: #D6D1C8;
  --groove: #A9A398; --well-shadow: #6B655B; --drop-op: .22; --floor: rgba(60,50,40,.22);
  --seg-label: #55524D;
}
.st-r-hi { stop-color: var(--r-hi); } .st-r-mid { stop-color: var(--r-mid); } .st-r-lo { stop-color: var(--r-lo); }
.st-s-hi { stop-color: var(--s-hi); } .st-s-lo { stop-color: var(--s-lo); }
.st-well-a { stop-color: var(--well-a); } .st-well-b { stop-color: var(--well-b); }
.st-dome-hi { stop-color: var(--dome-hi); } .st-dome-mid { stop-color: var(--dome-mid); } .st-dome-lo { stop-color: var(--dome-lo); }
.fx-drop { flood-color: #000; flood-opacity: var(--drop-op); }

.hero-ring-wrap { grid-column: 2; grid-row: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; perspective: 1400px; }
.hero-hint { color: var(--muted); }
.ring {
  --rx: 0deg; --ry: 0deg;
  position: relative; width: min(600px, 100%); aspect-ratio: 1;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  will-change: transform;
}
.ring-floor {
  position: absolute; left: 12%; right: 12%; bottom: -4%; height: 14%;
  background: radial-gradient(closest-side, var(--floor), transparent);
  filter: blur(14px); transform: translateZ(-60px); pointer-events: none;
}
.ring-svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.torus { fill: none; stroke: url(#g-torus); stroke-width: 36; }
.rim-line { fill: none; stroke-width: 1.5; }
.groove-line { fill: none; stroke: var(--groove); stroke-width: 2; opacity: .8; }
.well-outer { fill: var(--groove); opacity: .55; }
.well-shadow { fill: none; stroke: var(--well-shadow); stroke-width: 34; opacity: .85; }
.ring-orbit { transform-origin: 300px 300px; animation: spin 90s linear infinite; }
.orbit-arrow { fill: none; stroke: var(--fg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.orbit-dot { fill: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

.seg { cursor: pointer; outline: none; }
.seg-shape { fill: url(#g-seg); stroke: var(--groove); stroke-width: 2.5; }
.seg-sheen { fill: url(#g-sheen); pointer-events: none; transition: opacity var(--t-med); }
.seg-label { font: 600 14px var(--font-mono); letter-spacing: .28em; fill: var(--seg-label); text-transform: uppercase; transition: fill var(--t-med); pointer-events: none; }
.seg-arrow { fill: none; stroke: var(--seg-label); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; opacity: .55; transition: stroke var(--t-med), opacity var(--t-med); }
.seg:hover .seg-shape { filter: brightness(1.18); }
.seg:hover .seg-label { fill: var(--fg); }
.seg:focus-visible .seg-shape { stroke: var(--accent); stroke-width: 3.5; }
.seg[aria-selected="true"] .seg-shape { fill: url(#g-seg-on); }
.seg[aria-selected="true"] .seg-label { fill: var(--on-accent); }
.seg[aria-selected="true"] .seg-arrow { stroke: var(--on-accent); opacity: .75; }

.ring-dome { transform: translate(var(--dx, 0px), var(--dy, 0px)); }
.dome-glow { transform-origin: 300px 300px; transition: transform 700ms var(--ease-out); }
.dome-spec { transform-box: view-box; translate: var(--sx, 0px) var(--sy, 0px); }
/* Ripples that follow the mouse across the dome (spawned by main.js, clipped to the dome). */
.dome-ripple {
  fill: none; stroke: var(--orange); stroke-width: 1.5; vector-effect: non-scaling-stroke;
  transform-box: fill-box; transform-origin: center; pointer-events: none;
  animation: dome-ripple 1800ms cubic-bezier(.25, .6, .3, 1) forwards;
}
@keyframes dome-ripple {
  from { transform: scale(.08); opacity: .75; }
  to   { transform: scale(1);   opacity: 0; }
}
/* Saved, not connected (main.js DOME_FX = 'arcs'). */
/* Launch streaks: short tapered trails that fire up and to the right from the
   mouse across the dome. main.js draws each streak's shape every frame; clipped
   to the dome, beneath the stage text. */
.dome-arc { pointer-events: none; }
.dome-arc-stop { stop-color: var(--orange); }
.dome-arc-spark { fill: #FFC4A3; }                       /* hot, lighter core at the front */
:root[data-theme="light"] .dome-arc-spark { fill: var(--orange); }

.ring-center {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) translate(var(--tx, 0px), var(--ty, 0px)) translateZ(40px);
  width: 36%; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px;
  pointer-events: none;
}
.ring-num { color: var(--accent-text); }
.ring-title { font: 600 clamp(1.375rem, 2.8vw, 2.125rem)/1 var(--font-display); letter-spacing: -.03em; }
.ring-desc { font-size: clamp(.75rem, 1.2vw, .875rem); line-height: 1.4; color: var(--muted); }
.ring-center.is-swapping > * { animation: swap var(--t-med) var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ring-pause { min-height: 44px; padding: 0 14px; background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); cursor: pointer; }
.ring-pause:hover { color: var(--fg); border-color: var(--fg); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 160px) 0; border-top: 1px solid var(--line); }
.eyebrow { color: var(--muted); margin-bottom: 28px; }
.h2 { font: 600 clamp(2rem, 4.2vw, 3.5rem)/1.05 var(--font-display); letter-spacing: -.03em; max-width: 20ch; text-wrap: balance; }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 56ch; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.statement { font: 600 clamp(1.75rem, 4vw, 3.25rem)/1.12 var(--font-display); letter-spacing: -.03em; max-width: 26ch; text-wrap: balance; }
sup a { color: var(--accent-text); text-decoration: none; font-family: var(--font-mono); font-size: .7rem; padding: 0 2px; }
sup a:hover { text-decoration: underline; }

/* Stats */
.stats { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 32px 32px 8px 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat-num { font: 600 clamp(1.75rem, 3.4vw, 2.75rem)/1.05 var(--font-display); letter-spacing: -.03em; color: var(--fg); }
.stat:first-child .stat-num { color: var(--accent-text); }
.stat-label { margin-top: 14px; color: var(--muted); max-width: 34ch; }

/* Steps */
.steps { list-style: none; margin: 64px 0 0; padding: 0; border-top: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: 64px minmax(0, 220px) minmax(0, 1fr) 260px; gap: 24px; align-items: baseline;
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
.step-num { color: var(--accent-text); }
.step-title { transition: color var(--t-fast); }
.step:hover .step-title { color: var(--accent-text); }
.step-title { font: 600 1.75rem/1.1 var(--font-display); letter-spacing: -.02em; }
.step-body { color: var(--muted); max-width: 60ch; }
.step-out { justify-self: end; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; white-space: nowrap; font-size: .6875rem; }

/* Inverse section */
.section-inverse { background: var(--fg); color: var(--bg); border-top: 0; }
.section-inverse .eyebrow, .section-inverse .lede, .section-inverse .feature p { color: color-mix(in srgb, var(--bg) 68%, var(--fg)); }
.section-inverse .lede { margin-top: 24px; }
.features { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid color-mix(in srgb, var(--bg) 20%, var(--fg)); }
.feature { padding: 32px 28px 8px 0; }
.feature + .feature { padding-left: 28px; border-left: 1px solid color-mix(in srgb, var(--bg) 20%, var(--fg)); }
.feature h3 { margin-top: 20px; font: 600 1.25rem/1.2 var(--font-display); letter-spacing: -.01em; }
.feature p { margin-top: 10px; }
.icon { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Why */
.why-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.why { border-top: 2px solid var(--fg); padding-top: 20px; }
.why-k { color: var(--accent-text); margin-bottom: 12px; }
.why p:not(.why-k) { color: var(--muted); }

/* Roadmap */
.roadmap { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.road { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.road h3 { margin-top: 32px; font: 600 1.5rem/1.15 var(--font-display); letter-spacing: -.02em; }
.road p:not(.road-when) { margin-top: 10px; color: var(--muted); }
.road-when { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.road-when::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.road.is-now { border-color: var(--accent); }
.road.is-now .road-when { color: var(--accent-text); }
.road.is-now .road-when::before { background: var(--accent); border-color: var(--accent); }

/* Tiers */
.tiers { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier { padding: 28px; border: 1px solid var(--line); border-radius: 20px; transition: border-color var(--t-med), transform var(--t-med) var(--ease-out); }
.tier:hover { border-color: var(--fg); transform: translateY(-3px); }
.tier-featured { background: var(--surface); }
.tier-name { color: var(--accent-text); }
.tier-size { margin-top: 32px; font: 600 1.75rem/1.1 var(--font-display); letter-spacing: -.02em; }
.tier-body { margin-top: 12px; color: var(--muted); }
.tiers-note { margin-top: 24px; color: var(--muted); }
.tiers-note a { color: var(--fg); text-underline-offset: 4px; text-decoration-color: var(--accent); }

/* CTA */
.cta { padding: clamp(96px, 14vw, 200px) 0; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.cta::after {
  content: ""; position: absolute; right: -14vw; top: 50%; width: 52vw; aspect-ratio: 1; transform: translateY(-50%);
  border-radius: 50%; border: 1px solid var(--line); box-shadow: inset 0 0 0 60px color-mix(in srgb, var(--surface) 60%, transparent);
  pointer-events: none; z-index: -1;
}
.cta-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.cta-title { max-width: 14ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 96px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-line { color: var(--muted); max-width: 44ch; }
.sources { margin: 48px 0 0; padding-left: 1.25em; color: var(--muted); font-size: .8125rem; display: grid; gap: 6px; }
.sources li:target { color: var(--fg); }
.footer-bottom { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); text-transform: none; letter-spacing: .02em; }

/* Theme toggle */
.theme-toggle {
  position: fixed; right: var(--gutter); bottom: 24px; z-index: var(--z-toggle);
  width: 52px; height: 30px; border-radius: 999px; padding: 0; cursor: pointer;
  background: var(--bg); border: 1.5px solid var(--fg);
  /* 44px hit area */
  outline-offset: 4px;
}
.theme-toggle::before { content: ""; position: absolute; inset: -8px; }
.theme-knob {
  position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%;
  background: var(--fg); transition: transform var(--t-med) var(--ease-out);
}
:root[data-theme="light"] .theme-knob { transform: translateX(22px); }

/* Reveal on scroll (only when JS is running and motion is OK) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Intro ----------
   main.js runs the stages by adding classes to .intro:
   build (CSS delays) → .is-out: logo dissolves to its orange dot
   → .is-glide: dot travels to the hero ring's center
   → .is-portal: dot opens into the page background
   → <html>.intro-reveal: overlay removed; the ring pulls back out of the dot,
     headline words rise, header fades in.
   The intro uses the inverse of the site theme (light intro → dark site).
   Pace: every ms value in this block is ×1.125 of the original cut; main.js uses
   the same PACE for its stage timers, so change both together. */
.intro { display: none; }
.intro-on .intro {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--fg); color: var(--bg);
  cursor: pointer; overflow: hidden;
}
.intro-on body { overflow: hidden; }
.intro.is-skipping { opacity: 0; transition: opacity 350ms ease; }

/* Hold the page in its "before" state while the intro is up. */
.intro-on .site-header, .intro-on .theme-toggle, .intro-on .hero-ring-wrap, .intro-on .hero-copy { opacity: 0; }

/* Build */
.intro-streak { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transition: opacity 394ms ease; }
.intro-streak-path {
  fill: none; stroke: url(#g-streak); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1012ms cubic-bezier(.6, 0, .2, 1) 112ms forwards, streak-fade 788ms ease 1688ms forwards;
}
@keyframes streak-fade { to { opacity: .18; } }

.intro-logo { position: relative; display: flex; align-items: center; gap: clamp(12px, 2vw, 22px); }
.intro-mark { width: clamp(56px, 9vw, 96px); height: auto; overflow: visible; }
.intro-ring, .intro-tail { fill: none; stroke-width: 4.5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro-ring { stroke: var(--bg); animation: draw 900ms cubic-bezier(.65, 0, .35, 1) 281ms forwards; }
.intro-tail { stroke: var(--orange); stroke-linecap: round; animation: draw 281ms ease-out 1069ms forwards; }
.intro-dot {
  fill: var(--orange); transform-box: fill-box; transform-origin: center; transform: scale(0);
  animation: pop 506ms cubic-bezier(.34, 1.8, .5, 1) 1294ms forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes undraw { from { stroke-dashoffset: 0; opacity: 1; } 85% { opacity: 1; } to { stroke-dashoffset: -1; opacity: 0; } }
@keyframes pop { to { transform: scale(1); } }

.intro-word {
  display: inline-flex; font: 600 clamp(2.5rem, 7.5vw, 5.5rem)/1 var(--font-display); letter-spacing: -.035em;
  overflow: hidden; padding: .08em 0;
}
.intro-word span {
  display: inline-block; transform: translateY(105%); opacity: 0;
  animation: rise 731ms cubic-bezier(.2, .8, .2, 1) calc(1125ms + var(--i) * 50ms) forwards;
}
@keyframes rise { to { transform: none; opacity: 1; } }

.intro-tag, .intro-count, .intro-hint {
  position: absolute; bottom: 28px; margin: 0;
  color: color-mix(in srgb, var(--bg) 62%, var(--fg));
  opacity: 0; animation: fade-in 562ms ease 675ms forwards;
}
.intro-tag { left: var(--gutter); max-width: 34ch; }
.intro-count { left: 50%; transform: translateX(-50%); color: var(--bg); font-size: .875rem; font-variant-numeric: tabular-nums; animation-delay: 0ms; }
.intro-hint { right: var(--gutter); }

/* Stage: dissolve to the dot */
.intro.is-out .intro-streak { opacity: 0; }
.intro.is-out .intro-tag, .intro.is-out .intro-count, .intro.is-out .intro-hint { animation: none; opacity: 0; transition: opacity 338ms ease; }
.intro.is-out .intro-word span {
  animation: fall 472ms cubic-bezier(.5, 0, .75, 0) calc((11 - var(--i)) * 32ms) forwards;
  opacity: 1; transform: none;
}
@keyframes fall { from { transform: none; opacity: 1; } to { transform: translateY(-105%); opacity: 0; } }
.intro.is-out .intro-ring { animation: undraw 585ms cubic-bezier(.65, 0, .35, 1) 135ms both; }
.intro.is-out .intro-tail { animation: undraw 292ms ease-in both; }

/* Stage: the travelling dot (an HTML twin of the SVG dot, created by main.js) */
.intro-portal {
  position: fixed; z-index: 1001; border-radius: 50%;
  background: var(--orange); pointer-events: none;
  box-shadow: 0 0 0 0 rgba(255, 90, 31, .35);
  transform: translate(-50%, -50%);
  transition:
    transform 585ms cubic-bezier(.65, 0, .35, 1),
    box-shadow 585ms ease;
}
.intro-portal.is-glide {
  transform: translate(-50%, -50%) translate(var(--gx), var(--gy)) scale(1.6);
  box-shadow: 0 0 0 10px rgba(255, 90, 31, .12), 0 0 40px 12px rgba(255, 90, 31, .35);
}
.intro-portal.is-portal {
  transform: translate(-50%, -50%) translate(var(--gx), var(--gy)) scale(var(--gs));
  background: var(--bg);
  /* A thin orange rim + glow; it scales with the dot into a bright opening edge. */
  box-shadow: 0 0 0 .6px var(--orange), 0 0 3px 1px rgba(255, 90, 31, .55);
  transition:
    transform 922ms cubic-bezier(.7, 0, .2, 1),
    background-color 180ms ease,
    box-shadow 180ms ease;
}

/* Reveal: fly back out of the dot */
.intro-reveal .hero-ring-wrap { animation: hero-ring-in 1462ms cubic-bezier(.16, 1, .3, 1) both; }
.intro-reveal .hero-copy .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.intro-reveal .hero-copy .w > span { display: inline-block; animation: word-rise 900ms cubic-bezier(.2, .8, .2, 1) calc(394ms + var(--w) * 62ms) both; }
.intro-reveal .parked-status, .intro-reveal .hero-sub, .intro-reveal .hero-actions { animation: hero-copy-in 900ms cubic-bezier(.2, .8, .2, 1) 900ms both; }
.intro-reveal .site-header, .intro-reveal .theme-toggle { animation: fade-in 788ms ease 1012ms both; }
@keyframes hero-ring-in {
  from { opacity: 0; transform: scale(2.6); filter: blur(14px); }
  35% { opacity: 1; }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes word-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes hero-copy-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
  .intro-tag { display: none; }
  .intro-count { left: var(--gutter); transform: none; }
}

/* ---------- Parked homepage (index.html, until launch) ---------- */
.parked-status { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--muted); }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none;
  animation: status-pulse 2.4s ease-out infinite;
}
@keyframes status-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 90, 31, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 90, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); }
}
.parked-footer { padding: 24px 0 88px; }
.parked-footer .footer-bottom { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .hero { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 8px); }
  .hero-ring-wrap { grid-column: 1; grid-row: 1; }
  .hero-copy { grid-row: 2; padding-bottom: 0; }
  .ring { width: min(520px, 100%); }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { padding-left: 0; border-left: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid color-mix(in srgb, var(--bg) 20%, var(--fg)); margin-top: 24px; }
  .step { grid-template-columns: 56px 1fr; }
  .step-body, .step-out { grid-column: 2; }
  .step-out { justify-self: start; }
}
@media (max-width: 767px) {
  .header-meta, .header-cta { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .stats, .why-grid, .roadmap, .tiers { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 28px 0 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); margin-top: 28px; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature + .feature { padding: 28px 0 0; border-left: 0; }
  .feature + .feature { border-top: 1px solid color-mix(in srgb, var(--bg) 20%, var(--fg)); margin-top: 28px; }
  .seg-label { font-size: 17px; }
  .menu-list { padding-left: 0; }
  .menu-list a { font-size: clamp(1.5rem, 7.6vw, 2.25rem); gap: 14px; }
  .ring-desc { display: none; }
  .hero-sub { font-size: 1.0625rem; }
  .cta::after { width: 110vw; right: -60vw; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .ring-orbit { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
