:root {
  --bg: #05070b;
  --bg2: #080b12;
  --panel: rgba(255, 255, 255, .035);
  --line: rgba(255, 255, 255, .09);
  --text: #eef2f8;
  --muted: #8d97a8;
  --g: #1ff07a;
  --r: #ff2d48;
  --b: #4da3ff;
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--g); color: #000; }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 48px); }
.mono { font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.g { color: var(--g); } .r { color: var(--r); }
.dim { color: #5c6678; }

/* ---------- boot screen ---------- */
.boot {
  position: fixed; inset: 0; z-index: 100; background: #000;
  display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s;
}
.boot.done { opacity: 0; visibility: hidden; }
.boot-in { width: min(360px, 80vw); color: var(--muted); }
.boot-in p { margin: 0 0 8px; }
.boot-line { color: var(--g) !important; min-height: 1.6em; }
.boot-bar { height: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.boot-bar i { display: block; height: 100%; width: 0; background: var(--g); box-shadow: 0 0 12px var(--g); transition: width .15s linear; }

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

.cursor {
  position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none;
  width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 240, 122, .10), transparent 60%);
  transition: background .4s; opacity: 0; will-change: transform;
}
.cursor.on { opacity: 1; }
.cursor.hot { background: radial-gradient(circle, rgba(255, 45, 72, .14), transparent 60%); }

.progress { position: fixed; left: 0; top: 0; z-index: 70; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--g), var(--b), var(--r)); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .3s, border-color .3s, transform .4s var(--ease); border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(5, 7, 11, .72); backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 20px var(--display); letter-spacing: -.02em; }
.logo-mark { position: relative; width: 28px; height: 28px; border-radius: 9px; background: #10151f; border: 1px solid var(--line); }
.logo-mark i { position: absolute; top: 10px; width: 7px; height: 7px; border-radius: 50%; }
.logo-mark .g { left: 5px; background: var(--g); box-shadow: 0 0 10px var(--g); }
.logo-mark .r { right: 5px; background: var(--r); box-shadow: 0 0 10px var(--r); animation: blinkR 2.4s infinite; }
@keyframes blinkR { 0%, 70%, 100% { opacity: 1 } 80%, 90% { opacity: .2 } }
.links { display: flex; gap: 28px; margin-left: auto; }
.links a { color: var(--muted); font-size: 15px; transition: color .2s; position: relative; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--g); transform: scaleX(0); transition: transform .3s var(--ease); }
.links a:hover { color: var(--text); }
.links a:hover::after { transform: scaleX(1); }
.menu { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; }
.menu span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--text); transition: transform .3s; }
.menu span:first-child { top: 15px; } .menu span:last-child { top: 23px; }
.nav.open .menu span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .menu span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  --bc: var(--g);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 999px; border: 0; overflow: hidden; isolation: isolate;
  background: var(--bc); color: #031108; font: 600 16px var(--display); letter-spacing: -.01em;
  box-shadow: 0 0 0 0 rgba(31, 240, 122, .5), 0 10px 40px -10px rgba(31, 240, 122, .6);
  transition: box-shadow .3s, transform .3s var(--ease);
}
.btn span { position: relative; z-index: 1; display: inline-block; transition: transform .3s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: 0; background: #fff; transform: translateY(101%); transition: transform .4s var(--ease); border-radius: inherit; }
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 0 0 6px rgba(31, 240, 122, .15), 0 20px 60px -10px rgba(31, 240, 122, .8); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.btn-ghost::before { background: rgba(255, 255, 255, .1); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-xl { padding: 18px 30px; font-size: 17px; }
.full { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 110px 0 90px; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 30% 50%, transparent 30%, var(--bg) 85%), linear-gradient(180deg, transparent 70%, var(--bg)); }
.hero-in { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); color: var(--muted); margin: 0 0 28px; backdrop-filter: blur(6px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g); box-shadow: 0 0 10px var(--g); }
.pulse { animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 240, 122, .7) } 100% { box-shadow: 0 0 0 12px rgba(31, 240, 122, 0) } }

h1, h2, h3 { font-family: var(--display); letter-spacing: -.035em; margin: 0; }
h1 { font-size: clamp(3.2rem, 9.4vw, 9.6rem); line-height: .9; font-weight: 700; max-width: 11ch; }
.lines .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.lines .ln > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.lines .ln:nth-child(2) > span { transition-delay: .1s; }
.lines .ln:nth-child(3) > span { transition-delay: .2s; }
.ready .lines .ln > span { transform: none; }

.glitch { position: relative; font-style: normal; color: var(--r); text-shadow: 0 0 40px rgba(255, 45, 72, .5); }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; }
.glitch::before { color: var(--b); mix-blend-mode: screen; animation: gl1 3.2s infinite steps(1); }
.glitch::after { color: var(--g); mix-blend-mode: screen; animation: gl2 3.2s infinite steps(1); }
@keyframes gl1 { 0%, 86%, 100% { transform: none; clip-path: inset(0 0 100% 0) } 88% { transform: translate(-6px, 2px); clip-path: inset(10% 0 55% 0) } 92% { transform: translate(5px, -2px); clip-path: inset(60% 0 8% 0) } 96% { transform: translate(-3px, 0); clip-path: inset(35% 0 40% 0) } }
@keyframes gl2 { 0%, 86%, 100% { transform: none; clip-path: inset(100% 0 0 0) } 89% { transform: translate(6px, -1px); clip-path: inset(50% 0 20% 0) } 93% { transform: translate(-5px, 2px); clip-path: inset(5% 0 70% 0) } 97% { transform: translate(3px, 1px); clip-path: inset(70% 0 5% 0) } }

.lead { max-width: 540px; font-size: clamp(17px, 1.5vw, 20px); color: #b7c0cf; margin: 30px 0 38px; opacity: 0; transform: translateY(20px); transition: 1s var(--ease) .45s; }
.lead b { font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; transform: translateY(20px); transition: 1s var(--ease) .6s; }
.ready .lead, .ready .cta-row { opacity: 1; transform: none; }

.hero-product { position: absolute; z-index: 1; right: -4vw; top: 50%; width: min(58vw, 860px); transform: translateY(-46%); pointer-events: none; opacity: 0; transition: opacity 1.6s var(--ease) .3s; }
.ready .hero-product { opacity: 1; }
.hero-product img { width: 100%; -webkit-mask-image: radial-gradient(60% 60% at 55% 52%, #000 45%, transparent 75%); mask-image: radial-gradient(60% 60% at 55% 52%, #000 45%, transparent 75%); filter: saturate(1.1) contrast(1.08); will-change: transform; }
.hp-glow { position: absolute; inset: 25% 20% 20% 30%; background: radial-gradient(circle, rgba(31, 240, 122, .18), transparent 65%); filter: blur(30px); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .5; transform: scale(1.1) } }

.hud { position: absolute; z-index: 3; top: 96px; display: flex; flex-direction: column; gap: 4px; color: #5d6779; font-size: 11px; }
.hud b { color: var(--g); font-weight: 600; }
.hud-tl { left: 24px; } .hud-tr { right: 24px; text-align: right; }
.live { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-end; color: var(--g); }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--g); animation: pulse 1.8s infinite; }
.hud.jam b, .hud.jam .live { color: var(--r); }
.hud.jam .live i { background: var(--r); }

.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: #5d6779; font-size: 10px; }
.scroll-cue span { width: 1px; height: 46px; background: linear-gradient(var(--g), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0) } 50% { transform: scaleY(1) } 100% { transform: scaleY(1); opacity: 0 } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: #070a10; }
.mq-track { display: flex; width: max-content; gap: 36px; align-items: center; animation: mq 32s linear infinite; font: 700 clamp(22px, 3vw, 40px) var(--display); letter-spacing: -.02em; white-space: nowrap; }
.mq-track span:nth-of-type(odd) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .45); }
.mq-track i { font-style: normal; font-size: .4em; color: var(--g); }
.mq-track i:nth-of-type(3n) { color: var(--r); }
@keyframes mq { to { transform: translateX(-50%) } }

/* ---------- story ---------- */
.story { position: relative; height: 520vh; }
.story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story-bg { position: absolute; inset: 0; transform: scale(calc(1.08 + var(--p, 0) * .25)); transform-origin: 70% 55%; will-change: transform; }
.story-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(calc(.75 - var(--p, 0) * .2)) saturate(calc(1 - var(--p, 0) * .4)); }
.story-pin::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5, 7, 11, .92) 0%, rgba(5, 7, 11, .55) 45%, rgba(5, 7, 11, .2) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 25%); }
.story-noise { position: absolute; inset: 0; z-index: 1; opacity: 0; mix-blend-mode: screen; pointer-events: none; transition: opacity .5s;
  background: repeating-linear-gradient(0deg, rgba(255, 45, 72, .18) 0 2px, transparent 2px 5px); animation: scan .25s steps(3) infinite; }
@keyframes scan { 0% { background-position: 0 0 } 100% { background-position: 0 15px } }
.story-noise.on { opacity: 1; }
.story-green { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: radial-gradient(70% 70% at 80% 60%, rgba(31, 240, 122, .25), transparent 70%); transition: opacity .8s; }
.story-green.on { opacity: 1; }

.story-hud { position: absolute; z-index: 3; top: 96px; left: 0; right: 0; width: min(1240px, 100% - 48px); margin-inline: auto; display: flex; justify-content: space-between; align-items: center; }
.kicker { display: inline-block; margin: 0 0 18px; color: var(--g); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.kicker.red, .red.kicker { color: var(--r); }
.clock { font-size: clamp(20px, 3vw, 34px); color: var(--text); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.clock.r { color: var(--r); text-shadow: 0 0 20px rgba(255, 45, 72, .6); }

.story-text { position: absolute; z-index: 3; inset: 0; margin-inline: auto; display: flex; align-items: center; pointer-events: none; }
.beat { position: absolute; max-width: 640px; opacity: 0; transform: translateY(40px); filter: blur(8px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s; }
.beat.on { opacity: 1; transform: none; filter: none; }
.beat.past { opacity: 0; transform: translateY(-40px); filter: blur(8px); }
.beat h2 { font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: .95; margin-bottom: 22px; }
.beat p { font-size: clamp(17px, 1.6vw, 21px); color: #b7c0cf; max-width: 480px; margin: 0; }
.beat .step { color: var(--muted); margin-bottom: 20px; font-size: 12px; }
.u { text-decoration: underline; text-decoration-color: var(--b); text-underline-offset: .12em; text-decoration-thickness: .08em; }

.story-fob { position: absolute; z-index: 3; right: max(24px, calc((100vw - 1240px) / 2)); bottom: 70px; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; opacity: 0; transform: translateY(30px) scale(.9); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.story-fob.show { opacity: 1; transform: none; }
.mini-fob { position: relative; width: 74px; height: 96px; border-radius: 30px 30px 34px 34px; background: linear-gradient(160deg, #262c36, #0b0e13); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 20px 40px rgba(0, 0, 0, .6); }
.mini-fob .fled { position: absolute; top: 26px; width: 12px; height: 12px; }
.mini-fob .g { left: 18px; } .mini-fob .r { right: 18px; }
.story-fob.alarm .mini-fob { animation: shake .12s infinite; }
.story-fob.alarm .mini-fob .r { background: #ffd0d6; box-shadow: 0 0 0 3px rgba(255, 45, 72, .5), 0 0 24px 6px var(--r), 0 0 60px 14px rgba(255, 45, 72, .5); animation: led-blink .24s infinite; }
.story-fob.alarm span.mono { color: var(--r); }
.story-fob.safe span.mono { color: var(--g); }
@keyframes led-blink { 50% { background: #3a0d14; box-shadow: none } }
.story-bar { position: absolute; z-index: 3; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255, 255, 255, .06); }
.story-bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--b), var(--r) 60%, var(--g)); }

/* ---------- generic sections ---------- */
.section { position: relative; padding: clamp(90px, 13vw, 170px) 0; }
.head { max-width: 880px; margin-bottom: clamp(44px, 6vw, 80px); }
.head.center { margin-inline: auto; text-align: center; }
.head.center .sub { margin-inline: auto; }
h2.big { font-size: clamp(2.6rem, 6.6vw, 6.2rem); line-height: .95; }
.sub { color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); max-width: 620px; margin: 26px 0 0; }

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

/* ---------- simulator ---------- */
.sim { background: radial-gradient(80% 60% at 70% 30%, rgba(77, 163, 255, .07), transparent 70%); }
.sim-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; }
.scope { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: #04060a; padding: 18px; overflow: hidden; transition: border-color .4s, box-shadow .4s; }
.scope.jam { border-color: rgba(255, 45, 72, .55); box-shadow: 0 0 60px -10px rgba(255, 45, 72, .4), inset 0 0 80px rgba(255, 45, 72, .06); }
.scope.ok { border-color: rgba(31, 240, 122, .45); box-shadow: 0 0 60px -10px rgba(31, 240, 122, .3); }
.scope-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; margin-bottom: 12px; }
.scope-state { color: var(--g); padding: 3px 10px; border-radius: 999px; border: 1px solid currentColor; }
.scope-state.r { color: var(--r); animation: blinkR .5s infinite; }
.scope-state.b { color: var(--b); }
.scope canvas { width: 100%; height: 300px; display: block; border-radius: 10px; }
.scope-axis { display: flex; justify-content: space-between; color: #3f4858; font-size: 10px; margin-top: 6px; }
.console { margin-top: 14px; height: 116px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; font-size: 11.5px; line-height: 1.75; color: #6d7789; text-transform: none; letter-spacing: .02em; border-top: 1px solid var(--line); padding-top: 10px; }
.console div { animation: logIn .3s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console .t { color: #3f4858; }
.console .ok { color: var(--g); } .console .er { color: var(--r); } .console .in { color: var(--b); }
@keyframes logIn { from { opacity: 0; transform: translateX(-8px) } }

.sim-side { display: flex; flex-direction: column; gap: 16px; }
.fob-stage { position: relative; flex: 1; min-height: 330px; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(circle at 50% 42%, #141a25, #06080c 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 30px 20px; overflow: hidden; perspective: 900px; }
.fob-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 42%, var(--glow, transparent), transparent 55%); transition: background .3s; }
.fob-stage.glow-g { --glow: rgba(31, 240, 122, .28); }
.fob-stage.glow-r { --glow: rgba(255, 45, 72, .32); }
.fob { position: relative; transform-style: preserve-3d; transition: transform .2s ease-out; }
.ring { position: absolute; left: 50%; top: -38px; width: 50px; height: 50px; margin-left: -25px; border-radius: 50%; border: 5px solid #8c95a3; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4), 0 2px 6px rgba(0, 0, 0, .6); }
.fob-body { position: relative; width: 150px; height: 196px; border-radius: 62px 62px 70px 70px; background: linear-gradient(155deg, #2d343f 0%, #151a21 45%, #07090c 100%); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .12), inset 0 -10px 30px rgba(0, 0, 0, .6), 0 40px 70px rgba(0, 0, 0, .7); }
.fled { position: absolute; top: 52px; width: 18px; height: 18px; border-radius: 50%; transition: background .08s, box-shadow .08s; }
.fled.g { left: 40px; background: #0b2a19; } .fled.r { right: 40px; background: #2f0b11; }
.fled.g.on { background: #b8ffd5; box-shadow: 0 0 0 4px rgba(31, 240, 122, .5), 0 0 30px 8px var(--g), 0 0 80px 20px rgba(31, 240, 122, .5); }
.fled.r.on { background: #ffd0d6; box-shadow: 0 0 0 4px rgba(255, 45, 72, .5), 0 0 30px 8px var(--r), 0 0 80px 20px rgba(255, 45, 72, .5); }
.fob-btn { position: absolute; left: 50%; top: 96px; width: 56px; height: 56px; margin-left: -28px; border-radius: 50%; background: linear-gradient(160deg, #1b2028, #0d1015); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .08); }
.fob-logo { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; font: 600 10px var(--display); letter-spacing: .14em; color: #4a5260; text-transform: uppercase; }
.fob.shake .fob-body { animation: shake .1s infinite; }
@keyframes shake { 0%, 100% { transform: translate(0) } 25% { transform: translate(-3px, 1px) rotate(-1deg) } 75% { transform: translate(3px, -1px) rotate(1deg) } }
.fob-msg { position: relative; text-align: center; color: var(--muted); margin: 0; max-width: 340px; font-size: 15px; min-height: 3.2em; }
.fob-msg b { color: var(--text); }
.scenarios { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scn { display: flex; align-items: center; gap: 10px; text-align: left; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); font-size: 14.5px; font-weight: 500; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.scn:hover { border-color: rgba(255, 255, 255, .28); transform: translateY(-2px); }
.scn.active { border-color: var(--g); background: rgba(31, 240, 122, .08); }
.scn.jam.active { border-color: var(--r); background: rgba(255, 45, 72, .1); }
.sd { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.sd.g { background: var(--g); box-shadow: 0 0 8px var(--g); } .sd.r { background: var(--r); box-shadow: 0 0 8px var(--r); }
.sd.a { background: linear-gradient(90deg, var(--g) 50%, var(--r) 50%); }

/* ---------- how ---------- */
.how-steps { border-top: 1px solid var(--line); }
.how-step { display: grid; grid-template-columns: minmax(120px, 280px) 1fr; gap: 30px; align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); transition: background .4s; }
.how-step:hover { background: linear-gradient(90deg, rgba(31, 240, 122, .05), transparent 70%); }
.hn { font: 700 clamp(4rem, 10vw, 9rem) / .8 var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .25); transition: color .5s, -webkit-text-stroke-color .5s; }
.how-step:hover .hn { color: var(--g); -webkit-text-stroke-color: var(--g); text-shadow: 0 0 60px rgba(31, 240, 122, .4); }
.how-step h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin-bottom: 10px; }
.how-step p { color: var(--muted); margin: 0; max-width: 560px; font-size: 18px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(50px, 7vw, 90px); }
.duo figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; transform-style: preserve-3d; transition: transform .25s ease-out; }
.duo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.duo figure:hover img { transform: scale(1.06); }
.duo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 24px 22px; background: linear-gradient(transparent, rgba(0, 0, 0, .9)); color: #c7cfdc; font-size: 15px; }
.duo figcaption .mono { display: block; color: var(--g); margin-bottom: 6px; font-size: 11px; }
.duo figcaption b { color: #fff; }

/* ---------- lights ---------- */
.lights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.light { position: relative; padding: 34px 26px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; transition: transform .4s var(--ease), border-color .4s; }
.light:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .2); }
.light h3 { font-size: 22px; margin: 28px 0 8px; }
.light p { margin: 0; color: var(--muted); font-size: 15.5px; }
.orb { display: block; width: 58px; height: 58px; border-radius: 50%; position: relative; }
.orb::after { content: ""; position: absolute; inset: -60px; border-radius: 50%; opacity: .55; filter: blur(20px); transition: opacity .4s; }
.light:hover .orb::after { opacity: 1; }
.orb.green { background: radial-gradient(circle at 35% 35%, #d8ffe8, var(--g) 45%, #0a6b33); box-shadow: 0 0 30px var(--g); }
.orb.green::after { background: radial-gradient(circle, rgba(31, 240, 122, .5), transparent 65%); }
.orb.red { background: radial-gradient(circle at 35% 35%, #ffe0e4, var(--r) 45%, #7a0d1b); box-shadow: 0 0 30px var(--r); }
.orb.red::after { background: radial-gradient(circle, rgba(255, 45, 72, .5), transparent 65%); }
.orb.blink { animation: orbBlink .3s infinite; }
@keyframes orbBlink { 50% { filter: brightness(.25); box-shadow: none } }
.orb.alt { animation: orbAlt 1.2s infinite steps(1); }
@keyframes orbAlt { 0% { background: radial-gradient(circle at 35% 35%, #d8ffe8, var(--g) 45%, #0a6b33); box-shadow: 0 0 30px var(--g) } 50% { background: radial-gradient(circle at 35% 35%, #ffe0e4, var(--r) 45%, #7a0d1b); box-shadow: 0 0 30px var(--r) } }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile, .plan { --mx: 50%; --my: 50%; position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 32px 28px; overflow: hidden; }
.spot::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(31, 240, 122, .12), transparent 45%); }
.spot::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .4s; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(31, 240, 122, .7), transparent 50%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot:hover::before, .spot:hover::after { opacity: 1; }
.t-wide { grid-column: span 2; }
.tile .ic { width: 34px; height: 34px; fill: none; stroke: var(--g); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.tile h3 { font-size: 22px; margin-bottom: 10px; }
.tile p { color: var(--muted); margin: 0; font-size: 15.5px; position: relative; }
.stat { display: flex; align-items: baseline; gap: 12px; margin: 0 0 18px !important; }
.stat .count { font: 700 clamp(3.4rem, 6vw, 5.4rem) / .9 var(--display); letter-spacing: -.05em; color: var(--text); font-variant-numeric: tabular-nums; }
.stat small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--g); max-width: 180px; line-height: 1.4; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 38px 32px; transition: transform .4s var(--ease); }
.plan:hover { transform: translateY(-6px); }
.plan h3 { font-size: 26px; }
.plan-sub { color: var(--muted); margin: 4px 0 26px; }
.price { font: 700 clamp(3rem, 4.6vw, 4.2rem) / 1 var(--display); letter-spacing: -.04em; margin: 0 0 28px; }
.price .was { display: block; font-size: 16px; font-weight: 500; color: #5c6678; text-decoration: line-through; letter-spacing: 0; margin-bottom: 8px; }
.price.small { font-size: 34px; padding-top: 24px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 32px; flex: 1; }
.plan li { padding: 10px 0 10px 28px; border-top: 1px solid var(--line); position: relative; color: #c3cad6; font-size: 15.5px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--g); border-bottom: 2px solid var(--g); transform: rotate(-45deg); }
.plan.best { background: linear-gradient(180deg, rgba(31, 240, 122, .08), rgba(255, 255, 255, .02)); border-color: transparent; }
.plan.best > * { position: relative; z-index: 1; }
.plan.best .badge { position: absolute; z-index: 2; top: 20px; right: 20px; padding: 5px 12px; border-radius: 999px; background: var(--g); color: #031108; font-size: 10px; font-weight: 600; }
.plan.best { box-shadow: 0 30px 80px -30px rgba(31, 240, 122, .45); }
.plan.best .glowborder { display: none; }
.plan.best { background-clip: padding-box; }
.plan.best::after { opacity: 1 !important; padding: 1.5px; background: conic-gradient(from var(--ang, 0deg), var(--g), transparent 30%, var(--b) 50%, transparent 70%, var(--g)); animation: spin 5s linear infinite; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --ang: 360deg } }

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 4px; font: 500 clamp(19px, 2vw, 24px) var(--display); letter-spacing: -.02em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 300 22px var(--display); transition: transform .3s var(--ease), background .3s, color .3s; }
.faq summary:hover { color: var(--g); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--g); color: #031108; border-color: var(--g); }
.faq details p { margin: 0; padding: 0 60px 28px 4px; color: var(--muted); font-size: 17px; animation: logIn .4s var(--ease); }

/* ---------- waitlist ---------- */
.cta { overflow: hidden; border-top: 1px solid var(--line); }
.cta-glow { position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 45, 72, .16), transparent 70%), radial-gradient(40% 40% at 30% 60%, rgba(31, 240, 122, .1), transparent 70%); pointer-events: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 34px 0 0; }
.ticks li { padding: 8px 0 8px 32px; position: relative; color: #c3cad6; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 9px; border-left: 2px solid var(--g); border-bottom: 2px solid var(--g); transform: rotate(-45deg); }
.form { position: relative; display: grid; gap: 16px; padding: clamp(26px, 3vw, 40px); border-radius: 26px; border: 1px solid var(--line); background: rgba(10, 13, 20, .7); backdrop-filter: blur(20px); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 500; }
.form input, .form select { width: 100%; padding: 15px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text); font: 16px "Inter", sans-serif; transition: border-color .2s, box-shadow .2s, background .2s; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form select option { background: #0b0f17; }
.form input:focus, .form select:focus { outline: none; border-color: var(--g); box-shadow: 0 0 0 4px rgba(31, 240, 122, .15); background-color: rgba(31, 240, 122, .03); }
.form input.bad { border-color: var(--r); box-shadow: 0 0 0 4px rgba(255, 45, 72, .15); }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; line-height: 1.5; }
.form .check input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--g); }
.form-msg { margin: 0; min-height: 1.4em; font-size: 15px; }
.form-msg.ok { color: var(--g); } .form-msg.err { color: var(--r); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 60px 0 30px; overflow: hidden; }
.foot-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-in p { color: var(--muted); margin: 12px 0 0; }
.foot nav { display: flex; gap: 26px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); transition: color .2s; }
.foot nav a:hover { color: var(--g); }
.wordmark { margin: 50px 0 10px; font: 700 clamp(4rem, 19vw, 18rem) / .8 var(--display); letter-spacing: -.06em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .12); background: linear-gradient(90deg, transparent, rgba(31, 240, 122, .35), transparent) no-repeat; background-size: 30% 100%; background-position: var(--wm, -40%) 0; -webkit-background-clip: text; background-clip: text; animation: sweep 6s ease-in-out infinite; user-select: none; }
@keyframes sweep { 0% { background-position: -40% 0 } 60%, 100% { background-position: 140% 0 } }
.fine { color: #4d5667; font-size: 13px; margin: 20px 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .sim-grid { grid-template-columns: 1fr; }
  .lights { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .hero-product { width: 80vw; right: -18vw; opacity: .5 !important; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .links { position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0; padding: 10px 24px 24px; background: rgba(5, 7, 11, .97); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .4s var(--ease); margin: 0; }
  .links a { padding: 14px 0; font-size: 20px; border-bottom: 1px solid var(--line); }
  .nav.open .links { transform: none; }
  .nav.open { background: rgba(5, 7, 11, .97); }
  .nav-in { gap: 12px; }
  .nav-in .btn-sm { margin-left: auto; }
  .menu { display: block; }
  .hud { display: none; }
  .hero { align-items: flex-end; padding-bottom: 110px; }
  .hero-product { top: 70px; right: -30vw; width: 140vw; transform: none; opacity: .55 !important; }
  .cta-row .btn { flex: 1 1 100%; }
  .story-pin::after { background: linear-gradient(0deg, rgba(5, 7, 11, .96) 20%, rgba(5, 7, 11, .4) 70%, rgba(5, 7, 11, .6)); }
  .story-text { align-items: flex-end; padding-bottom: 170px; }
  .story-fob { bottom: 40px; right: 24px; }
  .story-fob .mini-fob { transform: scale(.8); }
  .how-step { grid-template-columns: 1fr; gap: 10px; }
  .duo, .split, .row { grid-template-columns: 1fr; }
  .lights, .bento { grid-template-columns: 1fr; }
  .t-wide { grid-column: auto; }
  .scope canvas { height: 220px; }
  .scenarios { grid-template-columns: 1fr; }
  .faq details p { padding-right: 4px; }
  .cursor { display: none; }
}

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