/* ─── Tokens ─────────────────────────────────────────────────────────────
   Taken from Caply itself: navy sidebar, indigo accent, the logo's orchid
   and lilac, IBM Plex Sans for text and Plus Jakarta Sans for the wordmark. */
:root {
  --bg:        #0d1228;
  --bg-2:      #121935;
  --panel:     #18204a;
  --line:      rgba(228, 224, 252, 0.12);
  --line-2:    rgba(228, 224, 252, 0.22);
  --ink:       #f4f2fd;
  --ink-2:     #c3c6e3;
  --ink-3:     #9196bd;
  --orchid:    #be3df5;
  --orchid-2:  #d98bff;
  --lilac:     #e4e0fc;
  --peri:      #9c93f7;
  --indigo:    #5c6bc0;
  --green:     #21b85a;
  --red:       #f23b3b;

  --display: 'Plus Jakarta Sans', 'IBM Plex Sans', system-ui, sans-serif;
  --text:    'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, monospace;

  --gutter: clamp(16px, 5vw, 72px);
  --max:    1320px;
  --radius: 14px;
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
  --shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 2px 6px rgba(5, 8, 25, 0.35),
    0 24px 60px -12px rgba(5, 8, 25, 0.65),
    0 60px 120px -40px rgba(80, 40, 160, 0.45);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--orchid-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orchid); color: #fff; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: 8px; font-weight: 600; transition: transform .2s var(--ease); }
.skip:focus-visible { transform: translateY(76px); }

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font: 600 16px/1 var(--text); color: #fff; text-decoration: none;
  background: linear-gradient(180deg, #c95af7, #9d1fd4);
  border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 24px -8px rgba(190, 61, 245, .7);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
  touch-action: manipulation;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 14px 32px -10px rgba(190, 61, 245, .85); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-ghost { background: rgba(228,224,252,.06); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(228,224,252,.12); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-wide { width: 100%; }
.btn-light { color: var(--bg); background: var(--lilac); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 6px 18px -8px rgba(228,224,252,.5); }
.btn-light:hover { background: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 10px 24px -10px rgba(228,224,252,.6); }

/* ─── Nav ────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter); padding-top: max(14px, env(safe-area-inset-top));
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-scrolled { background: rgba(13, 18, 40, .72); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 20px/1 var(--display); letter-spacing: .01em; }
.brand img { border-radius: 9px; }
.nav nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav nav a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s, background-color .2s; }
.nav nav a:hover { color: var(--ink); background: rgba(228,224,252,.07); }
@media (max-width: 720px) { .nav nav { display: none; } .nav .btn { margin-left: auto; } }

/* ─── Shared ─────────────────────────────────────────────────────────── */
section { position: relative; padding-inline: var(--gutter); }
.kicker { font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orchid-2); margin-bottom: 18px; }
h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.04; font-weight: 800; }

.screen {
  margin: 0; position: relative; border-radius: var(--radius); overflow: hidden;
  background: #1f2a4d; box-shadow: var(--shadow);
  isolation: isolate;
}
.screen img, .screen video { display: block; border-radius: inherit; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.why-list .reveal:nth-child(2) { transition-delay: .08s; }
.why-list .reveal:nth-child(3) { transition-delay: .16s; }
.why-list .reveal:nth-child(4) { transition-delay: .24s; }

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero {
  padding-top: clamp(120px, 16vh, 180px);
  padding-bottom: clamp(60px, 10vh, 120px);
  background:
    linear-gradient(180deg, transparent 75%, var(--bg)),
    radial-gradient(60% 50% at 85% 10%, rgba(156, 147, 247, .16), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(190, 61, 245, .10), transparent 70%),
    var(--bg);
  isolation: isolate;
}
.hero-copy {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px 56px; align-items: end;
}

.hero-title { font-size: clamp(48px, 9.2vw, 132px); line-height: .94; font-weight: 800; letter-spacing: -0.045em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.1em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .08s; }
.hero-title .line:nth-child(3) > span { animation-delay: .16s; }
.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--lilac) 0%, var(--peri) 45%, var(--orchid) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes rise { to { transform: none; } }

.hero-side { padding-bottom: 14px; opacity: 0; animation: fade 1s .45s var(--ease) forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 30em; }
.quick { margin-top: 28px; max-width: 480px; }
.quick-row {
  display: flex; gap: 6px; padding: 6px;
  border-radius: 999px; background: rgba(13, 18, 40, .75);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 50px -20px rgba(5, 8, 25, .9);
  backdrop-filter: blur(8px);
  transition: box-shadow .2s;
}
.quick-row:focus-within { box-shadow: inset 0 0 0 2px var(--orchid-2), 0 20px 50px -20px rgba(5, 8, 25, .9); }
.quick-row input[type=email] { flex: 1; min-width: 0; background: transparent; box-shadow: none; border-radius: 999px; padding-left: 18px; }
.quick-row input[type=email]:focus-visible, .quick-row input[type=email]:hover { box-shadow: none; }
.quick-row .btn { flex: none; }
.quick-note { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.quick-note strong { color: #7ee2a4; font-weight: 600; }
.quick .form-status { margin-top: 6px; }
.hero-demo { display: inline-block; margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.hero-demo:hover { color: var(--ink); border-color: var(--orchid-2); }
.done-quick { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: rgba(33,184,90,.08); box-shadow: inset 0 0 0 1px rgba(33,184,90,.35); }
.done-quick .done-mark { width: 40px; height: 40px; margin: 0; flex: none; }
.done-quick p { font-size: 15px; color: var(--ink-2); }
.done-quick strong { color: var(--ink); }
@media (max-width: 420px) { .quick-row { flex-direction: column; border-radius: 18px; } .quick-row input[type=email] { min-height: 46px; } }

/* The logo's three ascending orbs, blown up and drifting. */
.orbs { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; will-change: transform; }
.orb-s { width: 4.5vw; height: 4.5vw; min-width: 40px; min-height: 40px; right: 11%; top: 60%; background: radial-gradient(circle at 30% 28%, #fff, #e4e0fc 50%, #9c93f7); opacity: .55; filter: blur(.5px); }
.orb-m { width: 7.5vw; height: 7.5vw; min-width: 60px; min-height: 60px; right: 3%; top: 41%; background: radial-gradient(circle at 30% 28%, #fff, #e4e0fc 50%, #9c93f7); opacity: .45; }
.orb-l { width: 13vw; height: 13vw; min-width: 100px; min-height: 100px; right: 9%; top: 9%; background: radial-gradient(circle at 30% 26%, #f1d2ff, #be3df5 45%, #6c0b98); opacity: .7; box-shadow: 0 30px 80px -10px rgba(190,61,245,.5); }

.hero-stage { max-width: var(--max); margin: clamp(56px, 9vh, 96px) auto 0; perspective: 1600px; perspective-origin: 50% 0%; }
.screen-hero {
  transform-origin: 50% 0%;
  transform: rotateX(var(--rx, 28deg)) scale(var(--s, .88)) translateY(var(--ty, 0px));
  will-change: transform;
}
.screen-hero video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #1a2347; }

.sound {
  position: absolute; right: 18px; bottom: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 14px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px; cursor: pointer;
  font: 600 14px/1 var(--text); color: #fff;
  background: rgba(13, 18, 40, .62); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -10px rgba(5, 8, 25, .8);
  opacity: var(--co, 0); transition: background-color .2s, border-color .2s;
}
.vbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; align-items: center; gap: 12px;
  padding: 64px 176px 18px 18px;
  background: linear-gradient(180deg, rgba(8, 11, 28, 0), rgba(8, 11, 28, .72) 50%, rgba(8, 11, 28, .9));
  opacity: 0; transition: opacity .25s var(--ease);
}
.screen-hero:hover .vbar, .vbar:focus-within, .screen-hero.show-controls .vbar { opacity: 1; }
.vbar-btn {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer; color: #fff;
  background: rgba(13, 18, 40, .62); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); transition: background-color .2s;
}
/* full screen: the video at its own resolution, bar and sound button on top */
.screen-hero:fullscreen { transform: none; border-radius: 0; background: #000; display: grid; place-items: center; }
.screen-hero:fullscreen video { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.screen-hero:fullscreen .vbar { opacity: 1; }
.vbar-btn:hover { background: rgba(13, 18, 40, .85); }
.vbar-btn .i-play, .vbar-btn.is-paused .i-pause { display: none; }
.vbar-btn.is-paused .i-play { display: block; }
.vbar-time { flex: none; min-width: 3.2em; font: 500 13px/1 var(--mono); color: #fff; font-variant-numeric: tabular-nums; text-align: center; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.vbar-seek {
  --p: 0%;
  flex: 1; min-width: 0; height: 20px; margin: 0; background: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.vbar-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--orchid-2) var(--p), rgba(255,255,255,.4) var(--p)); }
.vbar-seek::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--orchid-2) var(--p), rgba(255,255,255,.4) var(--p)); }
.vbar-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); transition: transform .15s; }
.vbar-seek::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.vbar-seek:hover::-webkit-slider-thumb { transform: scale(1.2); }
.vbar-seek:focus-visible { outline: none; }
.vbar-seek:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--orchid-2); }
.vbar-seek:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--orchid-2); }
.sound:hover { background: rgba(13, 18, 40, .82); border-color: rgba(255,255,255,.4); }
.sound .sound-on, .sound[aria-pressed="true"] .sound-off { display: none; }
.sound[aria-pressed="true"] .sound-on { display: block; }

@media (max-width: 900px) {
  .hero-copy { grid-template-columns: minmax(0, 1fr); }
  .orb-l { right: -8%; top: 4%; }
  .orb-m, .orb-s { display: none; }
  .sound { opacity: 1; right: 10px; bottom: 10px; padding: 8px 12px; font-size: 13px; }
  .vbar { padding: 36px 150px 10px 10px; gap: 8px; }
  .vbar-btn { width: 34px; height: 34px; }
  .vbar-time[data-time-dur] { display: none; }
}

/* ─── Why ────────────────────────────────────────────────────────────── */
.why { max-width: var(--max); margin: 0 auto; padding-block: clamp(80px, 14vh, 160px); box-sizing: content-box; }
.why-head h2 { max-width: 17ch; }
.why-list { list-style: none; padding: 0; margin: clamp(48px, 7vh, 80px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.why-list li { padding: 32px 28px 8px 0; }
.why-list li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.why-list li:nth-child(2) { margin-top: 40px; }
.why-list li:nth-child(3) { margin-top: 80px; }
.why-list li:nth-child(4) { margin-top: 120px; }
.why-num { display: block; font: 500 13px/1 var(--mono); color: var(--ink-3); margin-bottom: 40px; }
.why-list h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.why-list p { color: var(--ink-2); }
@media (max-width: 1100px) and (min-width: 901px) {
  .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-list li, .why-list li + li { margin-top: 0 !important; padding: 28px 28px 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .why-list li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .why-list { grid-template-columns: minmax(0, 1fr); }
  .why-list li, .why-list li + li { padding: 28px 0; border-left: 0; margin-top: 0 !important; border-bottom: 1px solid var(--line); }
  .why-num { margin-bottom: 16px; }
}

/* ─── Features: pinned 3D deck ───────────────────────────────────────── */
.features { --n: 7; height: calc(var(--n) * 85vh + 100vh); padding: 0; background: linear-gradient(180deg, var(--bg), var(--bg-2) 20%, var(--bg-2) 80%, var(--bg)); }
.deck-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: 48px; align-items: center;
}
.deck-copy { position: relative; }
.deck-progress { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin-bottom: 36px; max-width: 280px; }
.deck-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--peri), var(--orchid)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.step { grid-area: 1 / 1; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.step.is-past { transform: translateY(-24px); }
.step-num { display: block; font: 500 13px/1 var(--mono); letter-spacing: .08em; color: var(--orchid-2); margin-bottom: 18px; }
.step h3 { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.06; font-weight: 800; margin-bottom: 18px; }
.step p { color: var(--ink-2); max-width: 26em; }
.step-media { display: none; }

.deck-stage { position: relative; height: 100%; perspective: 1800px; perspective-origin: 30% 40%; }
.deck { position: absolute; inset: 0; transform-style: preserve-3d; }
.card {
  position: absolute; left: 0; top: 50%; width: min(100%, 980px);
  margin-top: calc(min(100%, 980px) * -0.2778); /* half of 1600:889 */
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .features { height: auto; padding: clamp(64px, 10vh, 120px) var(--gutter); }
  .deck-sticky { position: static; height: auto; display: block; padding: 0; }
  .deck-stage, .deck-progress { display: none; }
  .steps { gap: 72px; }
  .step, .step.is-past { grid-area: auto; opacity: 1; transform: none; pointer-events: auto; }
  .step-media { display: block; margin: 28px 0 0; border-radius: 12px; overflow: hidden; background: #1f2a4d; box-shadow: var(--shadow); }
  .step-media img { border-radius: inherit; }
}

/* ─── Also ───────────────────────────────────────────────────────────── */
/* ─── Who it's for ───────────────────────────────────────────────────── */
.whom { max-width: var(--max); margin: 0 auto; padding-block: 0 clamp(80px, 14vh, 160px); box-sizing: content-box; }
.whom-head h2 { max-width: 20ch; }
.whom-list { list-style: none; padding: 0; margin: clamp(40px, 6vh, 64px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.whom-list li { padding: 32px 28px 36px; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); border: 1px solid var(--line); }
.whom-list .reveal:nth-child(2) { transition-delay: .08s; }
.whom-list .reveal:nth-child(3) { transition-delay: .16s; }
.whom-tag { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 15px;
            background: linear-gradient(180deg, #c95af7, #9d1fd4); color: #fff;
            box-shadow: 0 10px 28px -10px rgba(190, 61, 245, .8); }
.whom-list h3 { font-size: 24px; font-weight: 700; margin: 24px 0 12px; }
.whom-list p { color: var(--ink-2); }
@media (max-width: 900px) { .whom-list { grid-template-columns: minmax(0, 1fr); } }

.also { max-width: var(--max); margin: 0 auto; padding-block: clamp(40px, 8vh, 96px); box-sizing: content-box; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: start; }
.also h2 { font-size: clamp(26px, 2.6vw, 34px); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 12px; border-radius: 999px; font-size: 15px; color: var(--ink-2); background: rgba(228,224,252,.04); box-shadow: inset 0 0 0 1px var(--line); transition: color .2s, box-shadow .2s, transform .25s var(--ease); }
.chips li svg { flex: none; color: var(--orchid-2); }
.chips li:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--peri); transform: translateY(-2px); }
@media (max-width: 900px) { .also { grid-template-columns: minmax(0, 1fr); } }

/* ─── Notify ─────────────────────────────────────────────────────────── */
.notify {
  max-width: var(--max); margin: 0 auto; padding-block: clamp(80px, 12vh, 140px) clamp(100px, 14vh, 160px); box-sizing: content-box;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start;
}
.notify-copy > p:not(.kicker) { color: var(--ink-2); margin-top: 22px; max-width: 30em; }
.notify-copy .no-spam { padding: 18px 20px; border-radius: 12px; background: rgba(33, 184, 90, .07); border: 1px solid rgba(33, 184, 90, .22); color: var(--ink); }
.notify-copy .no-spam strong { color: #7ee2a4; }

.form {
  padding: clamp(24px, 3vw, 36px); border-radius: 20px;
  background: linear-gradient(180deg, rgba(24, 32, 74, .9), rgba(18, 25, 53, .9));
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 80px -30px rgba(5, 8, 25, .8);
  display: grid; gap: 18px;
}
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.field label, .choice legend { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.opt { font-weight: 400; color: var(--ink-3); }
input[type=email], input[type=text] {
  width: 100%; min-height: 50px; padding: 0 16px;
  font: 400 16px/1 var(--text); color: var(--ink);
  background: rgba(13, 18, 40, .7); border: 0; border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow .2s;
}
input::placeholder { color: var(--ink-3); }
input[type=email]:hover, input[type=text]:hover { box-shadow: inset 0 0 0 1px rgba(228,224,252,.35); }
input[type=email]:focus-visible, input[type=text]:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--orchid-2); }
input[aria-invalid=true] { box-shadow: inset 0 0 0 2px var(--red) !important; }

.choice { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.choice legend { margin-bottom: 8px; padding: 0; }
.option { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s, background-color .2s; }
.option:hover { background: rgba(228,224,252,.04); }
.option:has(input:checked) { background: rgba(190, 61, 245, .1); box-shadow: inset 0 0 0 2px var(--orchid); }
.option input { margin: 3px 0 0; accent-color: var(--orchid); width: 18px; height: 18px; flex: none; }
.option strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.option small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--ink-3); cursor: pointer; }
.consent input { margin: 2px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--orchid); }
.consent.is-invalid span { color: #ff9a9a; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-size: 14px; color: var(--ink-2); }
.form-status.is-error { color: #ff9a9a; }

.done { text-align: left; padding: 12px 4px; }
.done-mark { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 20px; background: rgba(33,184,90,.15); color: #7ee2a4; box-shadow: inset 0 0 0 1px rgba(33,184,90,.5); }
.done h3 { font-size: 28px; margin-bottom: 10px; }
.done p { color: var(--ink-2); }

@media (max-width: 900px) {
  .notify { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .field-row, .choice { grid-template-columns: minmax(0, 1fr); }
}

/* ─── Footer ─────────────────────────────────────────────────────────── */
.footer {
  max-width: var(--max); margin: 0 auto; box-sizing: content-box;
  padding: 32px var(--gutter) max(32px, env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3);
}
.footer .brand { font-size: 17px; color: var(--ink); }
.footer .brand img { border-radius: 7px; }

.footer-links { display: flex; gap: 20px; }
.footer-link { color: var(--ink-2); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* ─── Cookie banner ──────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed; z-index: 90; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom));
  max-width: 560px; margin: 0 auto; padding: 18px 20px;
  display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow);
  font-size: 15px; color: var(--ink-2);
}
.cookie-banner p { flex: 1 1 280px; }
.cookie-banner a { color: var(--orchid-2); }
.cookie-actions { display: flex; gap: 10px; }
.footer-link:hover { color: var(--ink); text-decoration: underline; }
.quick-note a, .consent a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.quick-note a:hover, .consent a:hover { color: var(--ink); }

/* ─── Privacy notice ─────────────────────────────────────────────────── */
.nav .brand + .btn { margin-left: auto; }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(120px, 18vh, 170px) var(--gutter) clamp(64px, 10vh, 120px); box-sizing: content-box; }
.legal h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; }
.legal-lede { margin-top: 24px; font-size: 19px; color: var(--ink-2); }
.legal-date { margin-top: 14px; font: 500 13px/1.5 var(--mono); color: var(--ink-3); }
.legal section { margin-top: 48px; padding: 28px 0 0; max-width: none; border-top: 1px solid var(--line); }
.legal h2 { font-size: 22px; margin-bottom: 14px; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal ul { padding-left: 22px; margin: 0; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--orchid-2); }
.legal-back { margin-top: 56px; }

/* ─── Reduced motion ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-title .line > span, .hero-side { transform: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; }
  .screen-hero { transform: none; }
  .sound { opacity: 1; }
}

/* ─── Phones: tighter vertical rhythm between sections ─────────────────── */
@media (max-width: 640px) {
  .hero { padding-bottom: 28px; }
  .why { padding-block: 56px 48px; }
  .features { padding-bottom: 40px; }
  .also { padding-block: 32px 24px; }
  .notify { padding-top: 56px; }
}
