/* Seleven Audio, "Signal" system.
   Monochrome: black room, white signal, grey for everything quiet. Colour belongs to the products' own UI only.
   One motion idea everywhere: things arrive out of a blur, like a sound settling after the attack. */

:root {
  --bg: #000;
  --raise: #0e0e0f;
  --raise-2: #161618;
  --ink: #f4f4f2;
  --ink-2: rgba(244, 244, 242, .64);
  --ink-3: rgba(244, 244, 242, .42);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --paper: #ecebe7;
  --paper-ink: #0a0a0a;
  --paper-ink-2: rgba(10, 10, 10, .6);
  --sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --r-s: 12px; --r-m: 20px; --r-l: 32px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --wrap: min(1240px, 100% - 48px);
  /* aliases kept for activate.html and admin */
  --display: var(--sans); --mist: var(--raise); --ink-2-alias: var(--ink-2); --n8: #fff; --sale: #ff6b5e; --link: var(--ink);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); letter-spacing: -.011em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: #fff; color: #000; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 99px; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); margin-inline: auto; }

/* type */
.h-xl { font-size: clamp(48px, 8.4vw, 128px); line-height: .94; letter-spacing: -.055em; font-weight: 600; }
.h1, .h-l { font-size: clamp(40px, 6vw, 84px); line-height: 1; letter-spacing: -.048em; font-weight: 600; }
.h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.042em; font-weight: 600; }
.h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -.03em; font-weight: 600; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; letter-spacing: -.018em; color: var(--ink-2); max-width: 36ch; }
.muted { color: var(--ink-2); }
.readout { font: 500 13px/1 var(--mono); letter-spacing: 0; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.link { border-bottom: 1px solid var(--line-2); transition: border-color .2s; }
.link:hover { border-color: currentColor; }

/* buttons: pill, one primary, one quiet */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 99px; background: var(--ink); color: #000; font-weight: 500; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; transition: transform .35s var(--spring), background .2s, box-shadow .35s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(255, 255, 255, .45); }
.btn:active { transform: scale(.965); transition-duration: .1s; }
.btn.quiet { background: rgba(255, 255, 255, .08); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(20px); }
.btn.quiet:hover { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* nav: floating glass capsule */
.nav { position: fixed; inset: 14px 0 auto; z-index: 50; pointer-events: none; }
.nav .bar { pointer-events: auto; width: min(1240px, 100% - 28px); margin-inline: auto; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 8px 0 20px; border-radius: 99px; background: rgba(12, 12, 13, .62); backdrop-filter: saturate(1.4) blur(22px); -webkit-backdrop-filter: saturate(1.4) blur(22px); box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -24px rgba(0, 0, 0, .8); transition: transform .5s var(--ease); }
.nav.away .bar { transform: translateY(-90px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.03em; font-size: 17px; }
.brand svg { width: 22px; height: 22px; }
.nav nav { display: flex; gap: 4px; }
.nav nav a { padding: 8px 14px; border-radius: 99px; font-size: 15px; color: var(--ink-2); transition: color .2s, background .2s; }
.nav nav a:hover, .nav nav a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, .07); }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 15px; }
.ribbon { position: relative; z-index: 51; margin: 0; padding: 9px 16px; text-align: center; font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.ribbon a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.ribbon + .nav { inset-block-start: 52px; }

/* sections */
section { position: relative; }
.sec { padding: clamp(96px, 14vh, 160px) 0; }
.sec-head { display: grid; gap: 20px; margin-bottom: clamp(48px, 7vw, 88px); max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* blur-in: headings settle out of a blur as they enter (scroll-driven, compositor only) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .settle { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    @keyframes settle { from { opacity: 0; filter: blur(14px); transform: translateY(32px) scale(.98); } }
  }
}

/* hero */
.hero { min-height: 100svh; display: grid; align-items: end; padding: 140px 0 clamp(48px, 8vh, 96px); overflow: hidden; isolation: isolate; }
.hero canvas.signal { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, #000); z-index: -1; pointer-events: none; }
.hero .copy { display: grid; gap: 28px; will-change: transform, filter, opacity; }
.hero .foot-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.hero .lead { max-width: 30ch; }
.hero .readout { display: flex; gap: 18px; flex-wrap: wrap; }
.hero .readout i { font-style: normal; color: var(--ink); }
[data-enter] > * { animation: arrive 1.1s var(--ease) both; }
[data-enter] > *:nth-child(2) { animation-delay: .12s; } [data-enter] > *:nth-child(3) { animation-delay: .24s; } [data-enter] > *:nth-child(4) { animation-delay: .36s; }
@keyframes arrive { from { opacity: 0; filter: blur(18px); transform: translateY(40px); } }
.h-xl .w { display: inline-block; animation: arrive 1.2s var(--ease) both; animation-delay: calc(var(--i) * 70ms + .1s); }

/* product tiles */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tile { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-l); background: var(--raise); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .4s; }
.tile:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -40px rgba(255, 255, 255, .12); }
.tile .top { padding: 36px 36px 0; display: grid; gap: 14px; }
.tile .id { display: flex; align-items: center; gap: 14px; }
.tile .id svg { width: 52px; height: 52px; }
.tile .id small { display: block; color: var(--ink-3); font-size: 14px; }
.tile p { color: var(--ink-2); max-width: 34ch; }
.tile .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.tile .media { margin: 32px 20px 20px; border-radius: var(--r-m); overflow: hidden; background: #000; align-self: end; box-shadow: inset 0 0 0 1px var(--line); }
.tile .media video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .media video { transform: scale(1.025); }
.more { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); font-weight: 500; }
.more::after { content: ''; width: 8px; height: 8px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); transition: transform .3s var(--ease); }
.more:hover::after { transform: translateX(4px) rotate(45deg); }

/* price */
.price-tag { display: inline-flex; align-items: baseline; gap: 10px; font-weight: 500; font-variant-numeric: tabular-nums; }
.price-tag s { color: var(--ink-3); font-weight: 400; }
.price-tag .save { font-size: 13px; padding: 3px 9px; border-radius: 99px; background: rgba(255, 255, 255, .1); color: var(--ink); align-self: center; }

/* chapters: sticky film, steps scroll past it */
.chapters { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 96px); }
.chapters .film { position: sticky; top: max(96px, calc(50vh - 260px)); align-self: start; border-radius: var(--r-l); overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px var(--line), 0 60px 120px -60px rgba(255, 255, 255, .14); aspect-ratio: 16 / 11; }
.chapters .film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; filter: blur(20px); transform: scale(1.04); transition: opacity .7s var(--ease), filter .7s var(--ease), transform .9s var(--ease); }
.chapters .film video.on { opacity: 1; filter: none; transform: none; }
.chapters .film .prog { position: absolute; left: 20px; right: 20px; bottom: 16px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; z-index: 2; }
.chapters .film .prog i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.steps { display: grid; }
.step { min-height: 72vh; display: grid; align-content: center; gap: 14px; padding-block: 24px; opacity: .28; filter: blur(3px); transition: opacity .6s var(--ease), filter .6s var(--ease); }
.step.on { opacity: 1; filter: none; }
.step .readout { color: var(--ink-3); }
.step p { color: var(--ink-2); max-width: 36ch; }
.step ul { list-style: none; display: grid; gap: 10px; margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.step li { padding-left: 18px; position: relative; }
.step li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--ink-3); }

/* the reveal: a full-bleed film that opens as you reach it */
.reveal { padding: clamp(96px, 14vh, 160px) 0; }
.reveal .frame { width: min(1240px, 100% - 48px); margin: 0 auto; border-radius: var(--r-l); overflow: hidden; position: relative; background: #000; box-shadow: inset 0 0 0 1px var(--line); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal .frame { animation: open linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
    @keyframes open { from { transform: scale(.84); border-radius: 64px; filter: blur(10px) brightness(.5); } }
  }
}
.reveal video { width: 100%; aspect-ratio: 1272 / 664; object-fit: cover; }
.reveal .cap { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-top: 40px; }

/* marquee with velocity blur (js sets --v) */
.marquee { padding: 56px 0; border-block: 1px solid var(--line); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .track { display: flex; gap: 72px; width: max-content; font-size: clamp(28px, 3.6vw, 48px); font-weight: 600; letter-spacing: -.04em; color: var(--ink-3); will-change: transform; filter: blur(calc(var(--v, 0) * 1px)); transform: skewX(calc(var(--v, 0) * -1deg)); }
.marquee .track span { transition: color .3s; }
.marquee .track span:hover { color: var(--ink); }
.marquee-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* pricing: the one light room */
.paper { background: var(--paper); color: var(--paper-ink); border-radius: var(--r-l) var(--r-l) 0 0; }
.paper .lead, .paper .muted { color: var(--paper-ink-2); }
.paper .btn { background: var(--paper-ink); color: #fff; }
.paper .btn:hover { box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.plan { background: #fff; border-radius: var(--r-l); padding: 40px; display: grid; gap: 18px; align-content: start; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 30px 60px -40px rgba(0, 0, 0, .25); transition: transform .6s var(--ease); }
.plan:hover { transform: translateY(-2px); }
.plan .id { display: flex; align-items: center; gap: 14px; }
.plan .id svg { width: 48px; height: 48px; }
.plan .big { font-size: clamp(44px, 5vw, 64px); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .was { color: var(--paper-ink-2); font-size: 17px; }
.plan .was s { margin-right: 8px; }
.plan ul { list-style: none; display: grid; gap: 10px; color: var(--paper-ink-2); font-size: 16px; border-top: 1px solid rgba(0, 0, 0, .08); padding-top: 18px; }
.plan .btn { justify-self: start; }
.clock { display: flex; gap: 28px; margin-top: 8px; }
.clock div { display: grid; }
.clock b { font: 600 clamp(32px, 3.4vw, 44px)/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.clock span { font-size: 13px; color: var(--paper-ink-2); }

/* faq */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 26px 0; font-size: clamp(19px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 12px; height: 12px; margin-top: 8px; border: solid var(--ink-3); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p { color: var(--ink-2); padding: 0 0 28px; max-width: 64ch; }
.faq details[open] p { animation: arrive .6s var(--ease); }
.faq a { border-bottom: 1px solid var(--line-2); }

/* join */
.join { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.join form { display: flex; gap: 8px; padding: 6px; border-radius: 99px; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.join form:focus-within { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.join input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--ink); font: inherit; padding: 0 18px; }
.join input::placeholder { color: var(--ink-3); }
.join .msg { min-height: 24px; margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.join .msg.err { color: var(--sale); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--ink-3); font-size: 14px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { transition: color .2s; }
.foot a:hover { color: var(--ink); }

/* product page */
.p-hero { padding: 150px 0 0; overflow: hidden; }
.p-hero .top { display: grid; justify-items: center; text-align: center; gap: 22px; }
.p-hero .top > svg { width: 88px; height: 88px; filter: drop-shadow(0 20px 40px rgba(255, 255, 255, .12)); }
.p-hero .lead { max-width: 40ch; }
.p-hero .buy { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.device { width: min(1180px, 100% - 32px); margin: clamp(56px, 8vw, 96px) auto 0; border-radius: var(--r-l); overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px var(--line-2), 0 80px 160px -60px rgba(255, 255, 255, .16); }
.device video { width: 100%; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .device { animation: tilt-in linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    @keyframes tilt-in { from { transform: perspective(1600px) rotateX(18deg) scale(.92); filter: blur(6px); } }
  }
}
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-l); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.specs div { background: var(--bg); padding: 32px; display: grid; gap: 8px; align-content: start; }
.specs b { font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.specs span { color: var(--ink-2); font-size: 16px; }
.live { border-radius: var(--r-l); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-2); background: #000; }
.live iframe { display: block; width: 100%; aspect-ratio: 16 / 11; border: 0; }
.live .gate { display: grid; place-items: center; aspect-ratio: 16 / 9; background: center / cover no-repeat; position: relative; }
.live .gate::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); }
.live .gate .btn { position: relative; }
.other { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 32px 36px; border-radius: var(--r-l); background: var(--raise); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .3s; }
.other:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-2); }
.other svg { width: 64px; height: 64px; }

/* activate page bits */
.sec .narrow > .h1 { margin-top: 40px; }

@media (max-width: 900px) {
  .duo, .plans, .join, .specs { grid-template-columns: 1fr; }
  .chapters { grid-template-columns: 1fr; }
  .chapters .film { top: 84px; z-index: 2; }
  .step { min-height: 56vh; }
  .nav nav { display: none; }
  .other { grid-template-columns: auto 1fr; }
  .other .more { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  :root { --wrap: calc(100% - 32px); }
  .tile .top, .plan { padding: 28px 24px; }
  .tile .top { padding-bottom: 0; }
  .tile .media { margin: 24px 12px 12px; }
  .hero .actions .btn, .p-hero .buy .btn { flex: 1 1 100%; }
  .join form { flex-direction: column; border-radius: 24px; }
  .join input { min-height: 48px; }
  .clock { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .step { opacity: 1; filter: none; }
}

/* ================= v3: sky, glass, colour, rail, story ================= */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; display: flex; gap: 14px; align-items: center; padding: 12px 12px 12px 20px; border-radius: 99px; background: rgba(24, 24, 28, .8); backdrop-filter: blur(24px); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 50px -20px #000; animation: arrive .6s var(--ease); max-width: calc(100% - 32px); }
.toast a { font-weight: 500; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.toast button { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.pay { margin: auto; border: 0; padding: 0; width: min(480px, calc(100% - 24px)); height: min(760px, calc(100svh - 48px)); max-height: none; border-radius: 28px; overflow: hidden; display: grid; grid-template-rows: auto 1fr;
  background: rgba(14, 17, 28, .92); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 120px -20px rgba(0, 0, 0, .9); animation: payIn .5s var(--ease); }
.pay::backdrop { background: rgba(3, 5, 11, .62); backdrop-filter: blur(14px) saturate(.8); -webkit-backdrop-filter: blur(14px) saturate(.8); animation: fadeIn .4s ease; }
.pay.out { animation: payOut .3s ease forwards; } .pay.out::backdrop { opacity: 0; transition: opacity .3s; }
@keyframes payIn { from { opacity: 0; transform: translateY(24px) scale(.97); filter: blur(8px); } }
@keyframes payOut { to { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
.pay-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 10px 10px 20px; font-size: 14px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.pay-top button { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 20px; line-height: 1; transition: background .2s; }
.pay-top button:hover { background: rgba(255, 255, 255, .16); }
.pay iframe { width: 100%; height: 100%; border: 0; grid-area: 2 / 1; opacity: 0; transition: opacity .4s; background: transparent; }
.pay.ready iframe { opacity: 1; }
.pay-load { grid-area: 2 / 1; place-self: center; color: var(--ink-3); font-size: 15px; }
.pay.ready .pay-load { display: none; }
@media (max-width: 560px) { .pay { width: 100%; height: calc(100svh - 12px); margin-bottom: 0; border-radius: 24px 24px 0 0; } }
:root { --c1: #3d5f99; --c2: #2a4677; --c3: #8fa9d4; --glass: rgba(22, 22, 26, .52); --glass-line: rgba(255, 255, 255, .1); }
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { background: #03050b; }

/* the sky: fixed stars and three slow, blurred colour fields behind everything */
.sky { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.glow { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(120px); opacity: .16; will-change: transform; }
.g1 { background: var(--c1); left: -18vmax; top: -22vmax; animation: drift 38s ease-in-out infinite alternate; }
.g2 { background: var(--c2); right: -24vmax; top: 30vh; opacity: .11; animation: drift 46s ease-in-out infinite alternate-reverse; }
.g3 { background: var(--c3); left: 20vw; bottom: -36vmax; opacity: .1; animation: drift 52s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(8vmax, 6vmax, 0) scale(1.15); } }
.hero::after { background: linear-gradient(transparent, rgba(3, 3, 5, .9)); }
.hero canvas.signal { mix-blend-mode: screen; }

/* matte liquid glass: blur, a faint grain, a lit top edge */
.tile, .other, .faq, .join form, .specs, .nav .bar {
  background: var(--glass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  backdrop-filter: blur(28px) saturate(1.3); -webkit-backdrop-filter: blur(28px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 0 0 1px var(--glass-line), 0 30px 60px -40px rgba(0, 0, 0, .9);
}
.faq { border-radius: var(--r-l); padding: 8px 32px; border-top: 0; }
.faq details:last-child { border-bottom: 0; }
.specs { gap: 0; }
.specs div { background: transparent; box-shadow: inset -1px -1px 0 var(--line); }
.tile:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(255, 255, 255, .18), 0 40px 90px -40px rgba(70, 100, 160, .35); }
.tile .media { background: rgba(0, 0, 0, .5); }
.chapters .film { background: rgba(0, 0, 0, .55); }
.paper { background: linear-gradient(180deg, #e9edf4, #dfe5ef); }
.btn:hover { box-shadow: 0 10px 34px -10px rgba(120, 150, 210, .55); }

/* animated product icons */
.ic-c .t { animation: tick 3.6s linear infinite; animation-delay: calc(var(--i) * .3s); }
@keyframes tick { 0%, 8% { fill: var(--c); } 22%, 100% { fill: rgba(255, 255, 255, .3); } }
.ic-d .b { transform-box: fill-box; transform-origin: center; animation: breathe 1.4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.17s); }
@keyframes breathe { from { transform: scaleY(.55); } }
.ic-d .sel { animation: selb 3.2s var(--ease) infinite; }
@keyframes selb { 0%, 30% { opacity: 0; } 45%, 85% { opacity: 1; } 100% { opacity: 0; } }

/* the rail: a scroll cursor on the right with a dot per section */
.rail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 14px; padding: 14px 8px; border-radius: 99px; background: rgba(20, 20, 24, .4); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--glass-line); }
.rail::before { content: ''; position: absolute; left: 50%; top: 18px; bottom: 18px; width: 1px; background: var(--line); }
.rail-fill { position: absolute; left: calc(50% - .5px); top: 18px; width: 1px; height: calc(100% - 36px); background: linear-gradient(var(--c1), var(--c2), var(--c3)); transform-origin: top; transform: scaleY(var(--sp, 0)); }
.rail a { position: relative; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .28); transition: transform .4s var(--spring), background .3s, box-shadow .3s; }
.rail a::after { content: attr(aria-label); position: absolute; right: 22px; top: 50%; transform: translate(6px, -50%); white-space: nowrap; font-size: 13px; color: var(--ink); padding: 5px 10px; border-radius: 99px; background: rgba(20, 20, 24, .75); backdrop-filter: blur(12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--ease); }
.rail a:hover::after { opacity: 1; transform: translate(0, -50%); }
.rail a.on { background: #fff; transform: scale(1.5); box-shadow: 0 0 14px rgba(120, 150, 210, .9); }
@media (max-width: 900px) { .rail { right: 6px; gap: 10px; padding: 10px 6px; } .rail a::after { display: none; } }

/* the story: pinned stage, the two plugins as symbols, driven by scroll (JS sets --b and per-element vars) */
.story { height: 420vh; }
.stage { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.stage-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.story .cap { display: grid; gap: 22px; }
.story .readout, .story .lead, .story h2 { display: grid; }
.story [data-act], .story .ln { grid-area: 1 / 1; transition: opacity .6s var(--ease), filter .6s var(--ease), transform .6s var(--ease); }
.story .ln { opacity: 0; filter: blur(16px); transform: translateY(24px); }
.story .ln.on { opacity: 1; filter: none; transform: none; }
.story [data-act] { opacity: 0; filter: blur(8px); }
.story [data-act].on { opacity: 1; filter: none; }
.viz { position: relative; aspect-ratio: 1; width: min(560px, 100%); justify-self: center; }
.ring { position: absolute; inset: 4% 4% 24%; opacity: clamp(0, calc(1 - var(--b, 0) * 2.2), 1); filter: blur(calc(var(--b, 0) * 24px)); }
.ring i { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); backdrop-filter: blur(10px);
  transform: rotate(calc(var(--i) * 30deg + var(--spin, 0deg))) translateY(calc(-1 * var(--r, 150px))) rotate(calc(var(--i) * -30deg - var(--spin, 0deg))) scale(var(--s, 1));
  opacity: var(--o, 1); filter: blur(var(--bl, 0px)); transition: background .4s, box-shadow .4s; }
.ring i b { font: 500 13px var(--mono); color: var(--ink-3); transition: color .3s; }
.ring i.on { background: color-mix(in srgb, var(--c) 30%, transparent); box-shadow: inset 0 0 0 1px var(--c), 0 0 28px color-mix(in srgb, var(--c) 60%, transparent); }
.ring i.on b { color: #fff; }
.ring .root { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: clamp(64px, 9vw, 120px); font-weight: 600; letter-spacing: -.06em; color: var(--rc, #fff); text-shadow: 0 0 60px var(--rc, transparent); transition: color .3s, text-shadow .3s; }
.keys { position: absolute; left: 4%; right: 4%; bottom: 4%; height: 14%; display: flex; gap: 4px; align-items: flex-start; opacity: clamp(0, calc(1 - var(--b, 0) * 2.2), 1); transform: translateY(calc(var(--b, 0) * 40px)); }
.keys i { flex: 1; height: 100%; border-radius: 0 0 8px 8px; background: rgba(255, 255, 255, .82); transition: background .25s, box-shadow .25s, transform .25s var(--spring); }
.keys .k-b { background: rgba(20, 20, 24, .9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); height: 64%; }
.keys i.on { background: var(--c); box-shadow: 0 0 24px var(--c); transform: translateY(3px); }
.tape, .lane { position: absolute; left: 0; right: 0; opacity: clamp(0, calc(var(--b, 0) * 3 - .6), 1); }
.tape { top: 16%; height: 34%; border-radius: 24px; overflow: hidden; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); backdrop-filter: blur(20px); }
.buf { position: absolute; inset: 16% 0; display: flex; align-items: center; gap: 3px; width: 200%; transform: translateX(var(--tx, 0)); }
.buf i { flex: 1; height: calc(var(--h) * 100%); border-radius: 2px; background: rgba(255, 255, 255, .5); }
.tape .head { position: absolute; top: 10%; bottom: 10%; left: 72%; width: 2px; background: #fff; box-shadow: 0 0 14px #fff; }
.tape .sel { position: absolute; top: 8%; bottom: 8%; left: 34%; width: 26%; border-radius: 14px; background: rgba(143, 169, 212, .16); box-shadow: inset 0 0 0 1.5px var(--c3), 0 0 40px rgba(143, 169, 212, .3); opacity: var(--so, 0); transform: scaleX(var(--sw, 0)); transform-origin: left; }
.lane { bottom: 12%; height: 18%; border-radius: 20px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; padding: 0 18px; }
.lane span { font: 500 12px var(--mono); color: var(--ink-3); }
.lane .clip { position: absolute; left: 34%; width: 26%; top: 12%; bottom: 12%; border-radius: 12px; background: linear-gradient(90deg, rgba(143, 169, 212, .6), rgba(90, 120, 175, .5)); box-shadow: 0 10px 30px -8px rgba(110, 140, 200, .6);
  transform: translateY(var(--cy, -260%)) scale(var(--cs, 1.04)); opacity: var(--co, 0); filter: blur(var(--cb, 6px)); }
@media (max-width: 900px) {
  .story { height: 380vh; }
  .stage-in { grid-template-columns: 1fr; gap: 8px; }
  .viz { width: min(360px, 82vw); }
  .ring i { width: 32px; height: 32px; margin: -16px; }
  .ring i b { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .story { height: auto; } .stage { position: static; height: auto; padding: 120px 0; } }
