/* Recurrent — review build v1
   Mobile-first. Dark "orbital" base with precise "instrument" detailing. */

:root {
  --bg: #050507;
  --bg-2: #07080b;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --text: #f4f5f7;
  --text-2: #a9aeba;
  --text-3: #7d8391;
  --accent: #3ee6e0;
  --accent-2: #9ff7f3;
  --accent-a: rgba(62, 230, 224, .14);
  --warn: #ffb547;
  --f-display: "Michroma", "Eurostile", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --nav-h: 64px;
  --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
body {
  margin: 0;
  font: 400 16px/1.6 var(--f-body);
  color: var(--text);
  background: transparent;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg, canvas { display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(62, 230, 224, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: #031414; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }

/* ---------- type ---------- */
.display { font-family: var(--f-display); font-weight: 400; letter-spacing: .005em; line-height: 1.14; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
h2.display { font-size: clamp(27px, 5.2vw, 60px); max-width: 17ch; text-wrap: balance; }
.mono { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 400; }
.kicker { display: flex; align-items: center; gap: .9em; color: var(--accent); margin: 0 0 22px; }
.kicker-num { color: var(--text-3); }
.kicker::after { content: ""; height: 1px; width: 40px; background: linear-gradient(90deg, var(--accent), transparent); }
.lead { font-size: clamp(16.5px, 1.5vw, 19.5px); line-height: 1.62; color: var(--text-2); max-width: 54ch; margin: 22px 0 0; text-wrap: pretty; }
.muted { color: var(--text-3); }
.fine { font-size: 12.5px; line-height: 1.55; color: var(--text-3); margin: 0; }
sup { line-height: 0; }
sup a { color: var(--accent); text-decoration: none; font-family: var(--f-mono); font-size: .62em; margin-left: 3px; padding: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font: 500 15px/1 var(--f-body); letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, box-shadow .25s, transform .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #021313; box-shadow: 0 10px 34px -12px rgba(62, 230, 224, .7); }
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 10px 40px -8px rgba(62, 230, 224, .85); }
.btn-ghost { background: rgba(255, 255, 255, .025); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .05); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }

/* line icons from the sprite */
.orbit-nodes svg, .orbit-vape svg, .type-ic svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- background ---------- */
.stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top);
  background: rgba(5, 5, 7, .5);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(5, 5, 7, .72); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-brand { display: block; padding: 8px 0; flex: 0 0 auto; }
.lockup { height: 19px; width: calc(19px * 1016 / 183); fill: var(--text); }
.nav-links { display: none; gap: 30px; }
.nav-links a { font-size: 14px; color: var(--text-2); text-decoration: none; transition: color .2s; position: relative; padding: 6px 0; }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--text); }
.nav-links a[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-menu { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.nav-menu i { display: block; width: 16px; height: 1.5px; background: var(--text); border-radius: 1px; transition: transform .3s var(--ease); }
.nav-menu[aria-expanded="true"] i:first-of-type { transform: translateY(3.75px) rotate(45deg); }
.nav-menu[aria-expanded="true"] i:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 960px) { .nav-links { display: flex; } .nav-menu { display: none; } }
.nav-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.nav-progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 10px var(--accent); }
@media (max-width: 374px) { .hide-xs { display: none; } .nav-actions .btn-sm { padding: 0 14px; } }

.menu {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + 28px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: rgba(5, 5, 7, .97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 400 clamp(22px, 6.4vw, 30px)/1.2 var(--f-display); animation: menuin .5s var(--ease) both; }
.menu nav a:nth-child(2) { animation-delay: .04s; } .menu nav a:nth-child(3) { animation-delay: .08s; } .menu nav a:nth-child(4) { animation-delay: .12s; } .menu nav a:nth-child(5) { animation-delay: .16s; }
.menu nav a .mono { color: var(--accent); font-size: 11px; }
.menu-ctas { display: grid; gap: 10px; }
@keyframes menuin { from { opacity: 0; transform: translateY(14px); } }

/* rail: the "current line" */
.rail { display: none; }
@media (min-width: 1180px) {
  .rail { position: fixed; z-index: 40; left: 26px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 24px; }
  .rail-line { position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line-2); }
  .rail-line span { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 8px var(--accent); }
  .rail a { position: relative; display: block; width: 11px; height: 11px; }
  .rail a::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--text-3); background: var(--bg); transition: background-color .3s, border-color .3s, box-shadow .3s, transform .3s; }
  .rail a.lit::before { border-color: var(--accent); background: #0b2e2d; }
  .rail a.on::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(62, 230, 224, .15), 0 0 14px var(--accent); }
  .rail b { position: absolute; left: 22px; top: 50%; transform: translate(-6px, -50%); white-space: nowrap; font: 400 10.5px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
  .rail a:hover b, .rail a:focus-visible b { opacity: 1; transform: translate(0, -50%); }
  .nav-progress { display: none; }
}

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(96px, 13vw, 176px); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + 20px) 0 56px;
}
.hero::before {
  content: ""; position: absolute; inset: -20% -30% auto; height: 120%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 40% at 70% 38%, rgba(62, 230, 224, .13), transparent 70%),
    radial-gradient(45% 45% at 20% 70%, rgba(60, 110, 230, .12), transparent 70%);
  transition: opacity 1.2s;
}
.hero.charged::before { opacity: 1.6; }
.hero-grid { display: grid; gap: 22px; align-items: center; }
.hero-title { font-size: clamp(30px, 6.4vw, 74px); line-height: 1.1; max-width: 13ch; text-wrap: balance; }
.strike { position: relative; display: inline-block; transition: color 1s .35s; }
.strike::after {
  content: ""; position: absolute; left: -3%; right: -3%; top: 55%; height: max(3px, .075em);
  background: var(--accent); border-radius: 2px; box-shadow: 0 0 18px rgba(62, 230, 224, .9);
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-io);
}
.charged .strike { color: var(--text-3); }
.charged .strike::after { transform: scaleX(1); }
.hero-lead { font-size: clamp(16px, 1.45vw, 19px); line-height: 1.62; color: var(--text-2); max-width: 46ch; margin: 20px 0 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-ctas .btn { flex: 1 1 auto; }
.kicker.mono { font-size: 11px; }

/* charger */
.hero-charger { display: flex; flex-direction: column; align-items: center; }
.charger-stage { position: relative; width: min(60vw, 236px); aspect-ratio: 400 / 500; }
.charger-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 22%); mask-image: linear-gradient(to top, transparent 0%, #000 22%); }
.wire { fill: none; stroke: rgba(255, 255, 255, .13); stroke-width: 1.5; }
.wire-flow { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 4 14; opacity: 0; transition: opacity .3s; }
.charging .wire-flow { opacity: 1; animation: flow .55s linear infinite; }
.charged .wire-flow { opacity: .45; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }

.charge-btn {
  position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%;
  background: none; cursor: pointer; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  transition: transform .4s var(--ease);
}
.charge-btn:active { transform: scale(.975); }
.charge-btn:focus-visible { outline-offset: 6px; }
.charge-svg { width: 100%; height: 100%; overflow: visible; }
.charge-aura { opacity: .0; transition: opacity .6s; }
.charging .charge-aura { opacity: .35; }
.charged .charge-aura { opacity: .75; animation: aura 4s ease-in-out infinite; }
@keyframes aura { 50% { opacity: .5; } }
.ring-track { fill: none; stroke: rgba(255, 255, 255, .09); stroke-width: 1.5; }
.ring-prog { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1005.3; stroke-dashoffset: 1005.3; filter: drop-shadow(0 0 6px rgba(62, 230, 224, .9)); }
.charge-ticks line { stroke: rgba(255, 255, 255, .13); stroke-width: 1.2; transition: stroke .2s; }
.charge-ticks line.on { stroke: var(--accent); }
.mark-outline { fill: rgba(255, 255, 255, .03); stroke: rgba(255, 255, 255, .28); stroke-width: 5; stroke-linejoin: round; }
.mark-fill { fill: var(--accent); }
.usb-port {
  position: absolute; left: 50%; top: 88%; transform: translate(-50%, -50%);
  width: 15%; aspect-ratio: 46 / 18; border: 1.5px solid rgba(255, 255, 255, .38); border-radius: 999px;
  display: flex; align-items: center; justify-content: center; background: var(--bg);
}
.usb-port span { width: 58%; height: 22%; border-radius: 2px; background: rgba(255, 255, 255, .28); transition: background-color .3s, box-shadow .3s; }
.charging .usb-port, .charged .usb-port { border-color: var(--accent); }
.charging .usb-port span, .charged .usb-port span { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.charge-readout { display: flex; gap: 14px; align-items: baseline; color: var(--text-3); margin-top: 2px; font-size: 10.5px; }
.charge-readout b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.charged .readout-state { color: var(--accent); }
.charge-hint { margin: 10px 0 0; color: var(--text-2); font-size: 10.5px; animation: hint 2.4s ease-in-out infinite; transition: opacity .4s; }
.charge-hint .hint-touch { display: none; }
.charging .charge-hint, .charged .charge-hint { opacity: 0; animation: none; }
@keyframes hint { 50% { opacity: .45; } }
.pulse .charge-svg { animation: pulse .6s var(--ease); }
@keyframes pulse { 40% { transform: scale(1.04); } }

.scroll-cue { display: none; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.18fr .82fr; grid-template-areas: "copy charger"; gap: 48px; }
  .hero-title { font-size: clamp(30px, 4.3vw, 66px); max-width: 15ch; }
  .hero-copy { grid-area: copy; }
  .hero-charger { grid-area: charger; }
  .charger-stage { width: min(36vw, 440px); }
  .hero-ctas .btn { flex: 0 0 auto; }
  .charge-readout, .charge-hint { font-size: 11.5px; }
  .scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--text-3); font-size: 10px; }
  .scroll-cue span { width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
  @keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
}

/* ---------- problem ---------- */
.counter {
  position: relative; overflow: hidden; margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: 24px;
  background: radial-gradient(80% 120% at 0% 0%, rgba(255, 181, 71, .06), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
}
.counter-label { color: var(--warn); margin: 0; }
.counter-num { margin: 14px 0 12px; font-family: var(--f-mono); font-weight: 500; font-size: clamp(42px, 12vw, 132px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--text); }
.counter-text { margin: 0; max-width: 42ch; font-size: clamp(16px, 1.5vw, 19px); color: var(--text-2); }

.readouts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 16px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.readout { background: var(--bg-2); padding: 22px 18px 24px; margin: 0; }
.readout dt { color: var(--text-3); font-size: 10px; letter-spacing: .1em; }
.readout dd { margin: 14px 0 0; }
.readout b { display: block; font-size: clamp(26px, 4vw, 46px); line-height: 1; color: var(--text); font-weight: 400; }
.readout b small { font-size: .45em; margin-left: 3px; color: var(--text-2); }
.readout dd > span { display: block; margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
@media (min-width: 960px) {
  .readouts { grid-template-columns: repeat(4, 1fr); }
  .readout { padding: 30px 26px 32px; }
}

/* ---------- scale / globe ---------- */
.scale-track { position: relative; height: 230vh; }
.scale-stage { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.scale-grid { display: grid; grid-template-rows: auto 1fr; gap: 0; height: 100%; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 12px; }
.scale-copy .lead { font-size: 15.5px; margin-top: 14px; }
.scale h2.display { font-size: clamp(26px, 5vw, 56px); }
.scale-readouts { display: flex; gap: 32px; margin-top: 18px; }
.scale-readouts span { display: block; color: var(--text-3); font-size: 10px; }
.scale-readouts b { display: block; margin-top: 6px; color: var(--accent); font-size: 20px; font-weight: 500; letter-spacing: .02em; font-variant-numeric: tabular-nums; text-transform: none; }
.globe-wrap { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; }
.globe { width: min(100%, 56svh); aspect-ratio: 1; height: auto; max-height: 100%; touch-action: pan-y; cursor: grab; }
.globe.dragging { cursor: grabbing; }
.globe-hint { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); color: var(--text-3); font-size: 10px; margin: 0; white-space: nowrap; }
@media (min-width: 960px) {
  .scale-grid { grid-template-columns: .85fr 1.15fr; grid-template-rows: none; align-items: center; padding-top: var(--nav-h); }
  .scale-copy .lead { font-size: 18px; margin-top: 22px; }
  .scale-readouts { margin-top: 32px; gap: 44px; }
  .scale-readouts b { font-size: 26px; }
  .globe { width: min(100%, 78svh); }
}

/* ---------- insight / orbit ---------- */
.insight-grid { display: grid; gap: 40px; align-items: center; }
.source-card { margin-top: 30px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .02); }
.source-tag { margin: 0; color: var(--text-3); }
.source-tag b { color: var(--accent); font-weight: 500; margin-left: 8px; }
.source-line { margin: 10px 0 14px; font-size: 18px; line-height: 1.45; color: var(--text); min-height: 2.9em; }
.source-spec { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--text-3); font-size: 10px; }
.orbit { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin: 12px auto 18px; }
.orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-ring { fill: none; stroke: var(--line-2); stroke-width: 1; }
.orbit-ring-2 { stroke: rgba(255, 255, 255, .1); stroke-dasharray: 2 6; animation: spin 80s linear infinite; transform-origin: 200px 200px; }
.orbit-ring-3 { stroke: rgba(255, 255, 255, .05); }
@keyframes spin { to { transform: rotate(360deg); } }
.spoke { stroke: rgba(255, 255, 255, .1); stroke-width: 1; transition: stroke .4s; }
.spoke.on { stroke: rgba(62, 230, 224, .4); }
.spoke-flow { stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 3 11; opacity: 0; transition: opacity .3s; }
.spoke-flow.on { opacity: 1; animation: flow .5s linear infinite; }
.orbit-hub {
  position: absolute; left: 50%; top: 50%; width: 31%; aspect-ratio: 1; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8%;
  border-radius: 50%; border: 1px solid rgba(62, 230, 224, .3);
  background: radial-gradient(circle, rgba(62, 230, 224, .14), rgba(5, 5, 7, .92) 72%);
  box-shadow: 0 0 70px -12px rgba(62, 230, 224, .45);
}
.orbit-hub svg { width: 40%; height: auto; aspect-ratio: 700 / 610; fill: var(--accent); }
.orbit-hub span { font-size: clamp(8px, 1.9vw, 10px); color: var(--text-2); letter-spacing: .2em; }
.orbit-vape {
  position: absolute; width: 10%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid var(--accent); background: #041615; color: var(--accent);
  display: grid; place-items: center; box-shadow: 0 0 18px rgba(62, 230, 224, .5);
  transition: left .7s var(--ease), top .7s var(--ease);
}
.orbit-vape svg { width: 62%; height: 62%; }
.orbit-nodes button {
  position: absolute; transform: translate(-50%, -50%);
  width: clamp(50px, 15%, 78px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--line-2); background: #08090d; color: var(--text-2);
  display: grid; place-items: center; cursor: pointer; padding: 0;
  transition: border-color .3s, color .3s, box-shadow .3s, background-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.orbit-nodes button svg { width: 42%; height: 42%; }
.orbit-nodes button span { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; font: 400 10px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); transition: color .3s; }
.orbit-nodes button.up span { top: auto; bottom: calc(100% + 8px); }
.orbit-nodes button:hover { border-color: rgba(255, 255, 255, .35); color: var(--text); }
.orbit-nodes button[aria-selected="true"] { border-color: var(--accent); color: var(--accent); background: #061413; box-shadow: 0 0 0 5px rgba(62, 230, 224, .1), 0 0 30px rgba(62, 230, 224, .35); }
.orbit-nodes button[aria-selected="true"] span { color: var(--accent); }
@media (min-width: 960px) {
  .insight-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .orbit-nodes button span { font-size: 10.5px; }
}

/* ---------- technology ---------- */
.xray {
  margin-top: clamp(40px, 6vw, 64px); padding: 16px 14px 24px; border: 1px solid var(--line); border-radius: 28px;
  background: radial-gradient(60% 50% at 50% 45%, rgba(62, 230, 224, .07), transparent 70%), rgba(255, 255, 255, .015);
}
.xray-toggle { display: flex; gap: 4px; padding: 4px; margin: 0 auto 8px; width: max-content; border: 1px solid var(--line); border-radius: 999px; background: rgba(0, 0, 0, .3); }
.xray-toggle button { height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--text-2); font: 500 13.5px var(--f-body); cursor: pointer; transition: background-color .3s, color .3s; }
.xray-toggle button.on { background: rgba(255, 255, 255, .09); color: var(--text); }
.xray-toggle button[data-xray-set="0"].on { color: var(--warn); }
.xray-toggle button[data-xray-set="1"].on { color: var(--accent); }
.xray-stage { position: relative; width: min(100%, 440px); aspect-ratio: 360 / 540; margin: 0 auto; touch-action: pan-y; cursor: ew-resize; -webkit-user-select: none; user-select: none; --split: 50%; }
.xray-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.xray-rec { clip-path: inset(0 0 0 var(--split)); -webkit-clip-path: inset(0 0 0 var(--split)); }
.xray-disp { clip-path: inset(0 calc(100% - var(--split)) 0 0); -webkit-clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.xray-divider { position: absolute; top: -2%; bottom: -2%; left: var(--split); width: 0; border-left: 1px solid var(--accent); box-shadow: 0 0 14px rgba(62, 230, 224, .8); pointer-events: none; }
.xray-handle { position: absolute; left: 0; top: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid var(--accent); background: #041514; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 0 24px rgba(62, 230, 224, .45); }
.xray-handle i { width: 7px; height: 7px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(45deg); }
.xray-handle i + i { transform: rotate(-135deg); }
.xray-range { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; }
.xray-stage:has(.xray-range:focus-visible) .xray-handle { outline: 2px solid var(--accent); outline-offset: 4px; }
.dev-shell { fill: rgba(255, 255, 255, .025); stroke: rgba(255, 255, 255, .38); stroke-width: 1.5; }
.dev-shell-rec { stroke: rgba(62, 230, 224, .55); }
.dev-line { fill: none; stroke: rgba(255, 255, 255, .34); stroke-width: 1.4; }
.dev-liquid { fill: rgba(150, 180, 210, .13); }
.dev-coil { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.5; stroke-linejoin: round; }
.dev-coil-on { stroke: var(--accent); }
.dev-tag { font: 500 12px var(--f-mono); letter-spacing: .16em; }
.warn-line { fill: none; stroke: var(--warn); stroke-width: 1.6; }
.warn-fill { fill: rgba(255, 181, 71, .08); }
.warn-hatch { fill: none; stroke: rgba(255, 181, 71, .32); stroke-width: 1; }
.warn-text { fill: var(--warn); }
.ghost { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 1.2; stroke-dasharray: 4 5; }
.ghost-text { fill: rgba(255, 255, 255, .32); }
.trace { fill: none; stroke: rgba(62, 230, 224, .3); stroke-width: 1.5; }
.trace-flow { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 4 12; animation: flow .7s linear infinite; }
.acc-line { fill: rgba(62, 230, 224, .14); stroke: var(--accent); stroke-width: 1.6; }
.xray-labels path { fill: none; stroke: rgba(255, 255, 255, .26); stroke-width: 1; }
.xray-labels text { font: 400 13px var(--f-mono); letter-spacing: .04em; fill: var(--text-2); }
.xray-labels .warn-stroke { stroke: rgba(255, 181, 71, .65); }
.xray-labels .acc-stroke { stroke: rgba(62, 230, 224, .65); }
.xray-labels .warn-text { fill: var(--warn); }
.xray-labels .acc-text { fill: var(--accent); }
.xray-captions { display: grid; gap: 10px; max-width: 760px; margin: 18px auto 0; padding: 0 6px; }
.xray-captions p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.xray-captions b { color: var(--text); font-weight: 500; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 10px; vertical-align: 1px; }
.dot-warn { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.dot-acc { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
@media (min-width: 768px) {
  .xray { padding: 24px 32px 36px; }
  .xray-captions { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (min-width: 960px) {
  .xray { display: grid; grid-template-columns: 1fr minmax(0, 400px) 1fr; grid-template-areas: "toggle toggle toggle" "capa stage capb"; column-gap: clamp(32px, 5vw, 72px); align-items: center; padding: 28px 44px 44px; }
  .xray-toggle { grid-area: toggle; margin-bottom: 16px; }
  .xray-stage { grid-area: stage; width: min(100%, 46svh); }
  .xray-captions { display: contents; }
  .xray-captions p { font-size: 16.5px; max-width: 30ch; }
  .xray-captions p:first-child { grid-area: capa; justify-self: end; text-align: right; }
  .xray-captions p:last-child { grid-area: capb; justify-self: start; }
  .xray-captions b { display: block; margin: 0 0 10px; font: 400 20px/1.2 var(--f-display); }
  .xray-captions .dot { display: block; margin: 0 0 16px; }
  .xray-captions p:first-child .dot { margin-left: auto; }
}

.forms-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: clamp(72px, 10vw, 128px) 0 24px; }
.forms-head h3 { font-size: clamp(22px, 3vw, 34px); }
.forms-pager { display: flex; gap: 6px; padding-bottom: 8px; }
.forms-pager span { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: background-color .3s, width .3s; }
.forms-pager span.on { width: 18px; border-radius: 3px; background: var(--accent); }
.forms {
  display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.forms::-webkit-scrollbar { display: none; }
.form-card {
  scroll-snap-align: start; display: flex; flex-direction: column; min-height: 420px;
  padding: 22px 22px 26px; border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
  transition: border-color .35s, transform .35s var(--ease), background-color .35s;
}
.form-card:hover { border-color: rgba(62, 230, 224, .35); }
.form-num { margin: 0; color: var(--text-3); }
.form-art { aspect-ratio: 240 / 170; margin: 14px -4px 22px; display: flex; align-items: center; justify-content: center; }
.form-art svg { width: 100%; height: 100%; overflow: visible; }
.form-art img { width: 118%; max-width: none; height: auto; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .6)); transition: transform .8s var(--ease); }
.form-card:hover .form-art img { transform: translateY(-6px) rotate(-1.5deg); }
.form-card h4 { margin: auto 0 10px; font: 400 16px/1.3 var(--f-display); letter-spacing: .01em; }
.form-card p:last-child { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.art-line { fill: none; stroke: rgba(255, 255, 255, .42); stroke-width: 1.5; }
.art-acc { fill: rgba(62, 230, 224, .08); stroke: var(--accent); stroke-width: 1.5; }
.art-acc-s { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.art-flow { fill: none; stroke: #c4fbf8; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 2 15; opacity: 0; }
.live .art-flow { opacity: .95; animation: flow 1s linear infinite; }
.art-tag { font: 500 9.5px var(--f-mono); letter-spacing: .16em; fill: var(--text-3); }
.art-tag.acc { fill: var(--accent); }
@media (min-width: 960px) {
  .forms { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-inline: 0; padding: 0; }
  .forms-pager { display: none; }
  .form-card:hover { transform: translateY(-4px); }
}

.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.platform-bars { display: flex; gap: 5px; }
.platform-bars i { width: 10px; height: 28px; border-radius: 3px; border: 1px solid var(--line-2); transition: background-color .4s, border-color .4s, box-shadow .4s; }
.platforms.in .platform-bars i { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 10px rgba(62, 230, 224, .6); }
.platforms.in .platform-bars i:nth-child(n+5) { background: rgba(62, 230, 224, .18); box-shadow: none; }
.platform-bars i:nth-child(2) { transition-delay: .08s; } .platform-bars i:nth-child(3) { transition-delay: .16s; } .platform-bars i:nth-child(4) { transition-delay: .24s; }
.platform-bars i:nth-child(5) { transition-delay: .32s; } .platform-bars i:nth-child(6) { transition-delay: .4s; } .platform-bars i:nth-child(7) { transition-delay: .48s; } .platform-bars i:nth-child(8) { transition-delay: .56s; }
.platforms p { margin: 0; color: var(--text-2); font-size: 16px; }
.platforms b.display { font-size: 28px; color: var(--text); margin-right: 8px; vertical-align: -4px; }

/* ---------- partners / business ---------- */
.benefits { display: grid; gap: 1px; margin-top: clamp(40px, 6vw, 64px); background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.benefit { background: var(--bg-2); padding: 26px 22px 28px; }
.benefit-ic { display: inline-flex; align-items: center; height: 28px; padding: 0 9px; border: 1px solid rgba(62, 230, 224, .35); border-radius: 8px; color: var(--accent); letter-spacing: .06em; }
.benefit h3 { margin: 20px 0 10px; font: 400 17px/1.3 var(--f-display); }
.benefit p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
@media (min-width: 640px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .benefits { grid-template-columns: repeat(4, 1fr); } .benefit { padding: 32px 28px 36px; } }

.biz-tools { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 1024px) { .biz-tools { grid-template-columns: 1fr 1fr; align-items: start; gap: 20px; } }
.panel { border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 3vw, 38px); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); }
.panel-tag { margin: 0 0 14px; color: var(--accent); }
.panel h3.display { font-size: clamp(21px, 2.6vw, 30px); margin: 0 0 26px; }

.calc-field { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 10px 14px; margin-bottom: 26px; }
.calc-field label { font-size: 14.5px; color: var(--text-2); line-height: 1.4; }
.calc-field output { font-size: 17px; color: var(--text); letter-spacing: .04em; text-transform: none; font-variant-numeric: tabular-nums; }
.calc-field input[type="range"] { grid-column: 1 / -1; }
.calc-scale { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: -4px; color: var(--text-3); font-size: 9.5px; }
.calc-field-row { align-items: center; }
.money { display: flex; align-items: center; gap: 4px; height: 50px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(0, 0, 0, .35); transition: border-color .2s, box-shadow .2s; }
.money:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(62, 230, 224, .14); }
.money span { color: var(--text-3); font-family: var(--f-mono); }
.money input { width: 64px; border: 0; background: none; color: var(--text); font: 500 18px var(--f-mono); outline: none; -moz-appearance: textfield; }
.money input::-webkit-outer-spin-button, .money input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer; --fill: 33%; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--fill), rgba(255, 255, 255, .12) var(--fill)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--fill), rgba(255, 255, 255, .12) var(--fill)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: #e9fffe; border: 5px solid var(--accent); box-shadow: 0 0 0 6px rgba(62, 230, 224, .12), 0 0 18px rgba(62, 230, 224, .6); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #e9fffe; border: 5px solid var(--accent); box-shadow: 0 0 18px rgba(62, 230, 224, .6); }
.calc-out { display: grid; gap: 1px; margin: 4px 0 16px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.calc-out div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 16px 18px; background: var(--bg-2); }
.calc-out dt { color: var(--text-3); font-size: 10px; }
.calc-out dd { margin: 0; font-size: clamp(17px, 2vw, 22px); color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-out div:first-child dd { color: var(--accent); }

.rules-next { display: flex; flex-direction: column; gap: 4px; margin-bottom: 26px; padding: 18px 20px; border: 1px solid rgba(62, 230, 224, .28); border-radius: 18px; background: rgba(62, 230, 224, .055); }
.rules-next .mono { margin: 0; color: var(--accent); }
.rules-days { margin: 2px 0 0; color: var(--text-2); }
.rules-days b { font-size: clamp(36px, 5vw, 48px); line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; }
.rules-next-what { margin: 0; font-size: 15px; color: var(--text-2); }
.timeline { position: relative; list-style: none; margin: 0 0 18px; padding: 0 0 0 26px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.timeline li { position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding-bottom: 20px; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 4px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--text-3); background: var(--bg-2); }
.timeline li.past::before { background: rgba(255, 255, 255, .28); border-color: transparent; }
.timeline li.future::before { border-color: var(--accent); background: #062221; box-shadow: 0 0 0 4px rgba(62, 230, 224, .12); }
.timeline li.future b { color: var(--accent); }
.timeline time { grid-column: 1; color: var(--text-3); font-size: 10px; }
.timeline li b { grid-column: 1; margin-top: 4px; font-weight: 500; font-size: 16px; color: var(--text); }
.timeline li > span { grid-column: 1; margin-top: 2px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.timeline .src { grid-column: 2; grid-row: 1 / span 3; align-self: start; padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; font-size: 9.5px; color: var(--text-3); text-decoration: none; transition: color .2s, border-color .2s; }
.timeline .src:hover { color: var(--accent); border-color: rgba(62, 230, 224, .4); }
.timeline li.today { padding-bottom: 22px; }
.timeline li.today::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(62, 230, 224, .16), 0 0 14px var(--accent); }
.timeline li.today time { color: var(--accent); font-size: 10.5px; }
.timeline li.today::after { content: ""; position: absolute; left: -21px; right: 0; top: 9px; height: 1px; background: linear-gradient(90deg, rgba(62, 230, 224, .55), transparent 70%); z-index: -1; }
.timeline li.today time { background: var(--bg-2); padding-right: 10px; justify-self: start; }

/* ---------- the mark ---------- */
.mark-track { position: relative; height: 200vh; }
.mark-stage { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.mark-grid { display: grid; gap: 20px; align-items: center; padding-top: var(--nav-h); }
.mark-visual { position: relative; width: min(100%, 300px, 42svh); aspect-ratio: 1; margin: 0 auto; }
.mark-build { width: 100%; height: 100%; overflow: visible; }
.mb-ghost polygon { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 3; stroke-dasharray: 10 14; }
.mb-half polygon { fill: var(--text); transition: fill .5s; }
.locked .mb-half polygon { fill: var(--accent); }
.mb-ring { fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0; transform-origin: 500px 500px; }
.locked .mb-ring { animation: ring 1.4s var(--ease) both; }
@keyframes ring { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.15); } }
.mb-glow { opacity: 0; transition: opacity .8s; }
.locked .mb-glow { opacity: 1; }
.mark-status { position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%); margin: 0; white-space: nowrap; color: var(--text-3); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.locked .mark-status { color: var(--accent); }
.mark-copy .lead { font-size: 16px; }
.mark-copy .btn { margin-top: 26px; }
@media (min-width: 960px) {
  .mark-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .mark-visual { width: min(100%, 520px, 70svh); }
  .mark-copy .lead { font-size: 19px; }
}

/* ---------- join ---------- */
.join-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.join-inner .kicker::after { display: none; }
.join-inner h2, .join-inner .lead { margin-inline: auto; }
.join-form { display: flex; flex-wrap: wrap; gap: 10px; width: min(100%, 540px); margin-top: 34px; }
.join-form input { flex: 1 1 240px; min-width: 0; height: 54px; padding: 0 22px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(0, 0, 0, .4); color: var(--text); font: 16px var(--f-body); transition: border-color .2s, box-shadow .2s; }
.join-form input::placeholder { color: var(--text-3); }
.join-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(62, 230, 224, .15); }
.join-form .btn { height: 54px; flex: 1 0 auto; }
@media (min-width: 560px) { .join-form .btn { flex: 0 0 auto; } }
.form-msg { width: 100%; min-height: 1.4em; margin: 8px 0 0; color: var(--text-3); font-size: 10.5px; text-align: center; }
.form-msg.ok { color: var(--accent); }
.form-msg.err { color: #ff9a8a; }

/* ---------- partner ---------- */
.partner-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 1024px) { .partner-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.partner-points { list-style: none; margin: 30px 0 0; padding: 0; }
.partner-points li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 16px; }
.partner-points li:first-child { border-top: 1px solid var(--line); }
.partner-points .mono { color: var(--accent); font-size: 10.5px; }
.steps { display: flex; gap: 6px; margin-bottom: 24px; }
.steps span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .1); transition: background-color .4s; }
.steps span.on { background: var(--accent); box-shadow: 0 0 8px rgba(62, 230, 224, .5); }
.step { display: none; min-width: 0; margin: 0; padding: 0; border: 0; }
.step.is-active { display: block; animation: stepin .45s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(14px); } }
.step legend { padding: 0; margin-bottom: 20px; font-size: clamp(20px, 2.4vw, 26px); }
.type-cards { display: grid; gap: 10px; }
.type-card { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line-2); border-radius: 18px; cursor: pointer; transition: border-color .25s, background-color .25s, box-shadow .25s; -webkit-tap-highlight-color: transparent; }
.type-card input { position: absolute; opacity: 0; pointer-events: none; }
.type-ic { grid-row: span 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); color: var(--text-2); transition: color .25s, border-color .25s; }
.type-ic svg { width: 24px; height: 24px; }
.type-card b { font-weight: 500; font-size: 16px; }
.type-card small { color: var(--text-3); font-size: 13.5px; }
.type-card:hover { border-color: rgba(255, 255, 255, .32); }
.type-card:has(input:checked) { border-color: var(--accent); background: rgba(62, 230, 224, .06); box-shadow: 0 0 0 4px rgba(62, 230, 224, .1); }
.type-card:has(input:checked) .type-ic { color: var(--accent); border-color: rgba(62, 230, 224, .4); }
.type-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (min-width: 640px) {
  .type-cards { grid-template-columns: repeat(3, 1fr); }
  .type-card { grid-template-columns: 1fr; row-gap: 6px; align-content: start; padding: 20px; }
  .type-ic { grid-row: auto; margin-bottom: 10px; }
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field[data-for] { display: none; }
.field[data-for].show { display: flex; }
.field label { font-size: 14px; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 14px;
  background: rgba(0, 0, 0, .38); color: var(--text); font: 16px var(--f-body); transition: border-color .2s, box-shadow .2s;
}
.field select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a9aeba' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { height: auto; min-height: 128px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(62, 230, 224, .14); }
.field input.invalid { border-color: #ff9a8a; }
.field ::placeholder { color: var(--text-3); }
.field-row { display: grid; column-gap: 12px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.step-nav { display: flex; gap: 10px; margin-top: 8px; }
.step-nav [data-next] { margin-left: auto; min-width: 140px; }
.step-done { padding: 28px 0 8px; text-align: center; }
.step-done[hidden] { display: none; }
.done-mark { width: 64px; height: auto; margin: 0 auto; fill: var(--accent); filter: drop-shadow(0 0 22px rgba(62, 230, 224, .7)); animation: donein .9s var(--ease) both; }
@keyframes donein { from { opacity: 0; transform: scale(.6) rotate(-20deg); } }
.step-done h3 { margin: 24px 0 8px; font-size: 26px; }
.step-done p { margin: 0 0 8px; color: var(--text-2); }

/* ---------- footer ---------- */
.footer { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: clamp(220px, 34vw, 400px) 0 calc(40px + env(safe-area-inset-bottom)); --rise: 160px; --sun: 0; }
.horizon { position: absolute; left: 0; right: 0; top: 0; height: clamp(220px, 34vw, 400px); z-index: -1; pointer-events: none; }
.earth {
  position: absolute; left: 50%; top: calc(100% - 70px + var(--rise)); width: max(1300px, 260vw); max-width: 4400px; aspect-ratio: 1;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 0%, #0d2338 0%, #081522 10%, #050a10 26%, #040608 50%);
  box-shadow: 0 -1px 0 rgba(190, 245, 255, .7), 0 -8px 30px rgba(62, 230, 224, .38), 0 -40px 110px rgba(70, 150, 255, .3), 0 -110px 220px rgba(40, 90, 210, .2), inset 0 26px 60px rgba(100, 180, 255, .2);
}
.sunrise {
  position: absolute; left: 50%; top: calc(100% - 70px + var(--rise)); width: min(150vw, 1500px); height: 340px; transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, .95) 0%, rgba(200, 248, 255, .55) 5%, rgba(62, 230, 224, .2) 22%, transparent 62%);
  mix-blend-mode: screen; opacity: var(--sun);
}
.footer-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.footer-mark { width: 54px; height: auto; fill: var(--accent); filter: drop-shadow(0 0 24px rgba(62, 230, 224, .65)); }
.footer-line { margin: 26px 0 16px; font-size: clamp(26px, 4.6vw, 54px); max-width: 16ch; text-wrap: balance; }
.footer-count { margin: 0; max-width: 42ch; color: var(--text-2); font-size: 10.5px; line-height: 1.8; }
.footer-count b { color: var(--accent); font-weight: 500; font-variant-numeric: tabular-nums; }
.footer-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 34px 0 28px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 6px 0 10px; }
.footer-links a { padding: 6px 0; color: var(--text-2); font-size: 14px; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.sources { width: min(100%, 720px); margin: 22px auto 0; padding-top: 18px; border-top: 1px solid var(--line); text-align: left; }
.sources summary { list-style: none; text-align: center; color: var(--text-3); cursor: pointer; padding: 8px; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary::after { content: " +"; }
.sources[open] summary::after { content: " −"; }
.sources ol { margin: 12px 0 0; padding-left: 22px; color: var(--text-3); font-size: 13px; line-height: 1.6; }
.sources li { margin-bottom: 8px; }
.sources li:target { color: var(--text); }
.sources a { color: var(--text-2); }
.footer-legal { margin: 28px 0 0; color: var(--text-3); font-size: 9.5px; line-height: 1.7; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
