:root {
  --bg: #000405;
  --bg-2: #050d0f;
  --surface: #071113;
  --surface-2: #0b1719;
  --line: rgba(0, 229, 231, 0.14);
  --line-strong: rgba(0, 229, 231, 0.42);
  --text: #f2f6f7;
  --muted: rgba(242, 246, 247, 0.66);
  --faint: rgba(242, 246, 247, 0.42);
  --accent: #00e5e7;
  --accent-deep: #00b3b6;
  --ink: #001a1b;
  --wide: "Michroma", "Hanken Grotesk", system-ui, sans-serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 600px) { .wrap { padding-inline: 18px; } }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(0, 4, 5, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand span { font: 13px var(--wide); letter-spacing: 0.18em; }
.nav nav { display: flex; gap: 24px; margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav nav a:hover { color: var(--text); }
.pill-soon {
  font: 10.5px var(--wide); letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--line-strong); color: var(--accent);
  padding: 9px 14px; border-radius: 999px; white-space: nowrap;
}
@media (max-width: 760px) { .nav nav { display: none; } .nav .pill-soon { margin-left: auto; } }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero picture img { width: 100%; height: min(82vh, 820px); object-fit: cover; object-position: 20% 30%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,4,5,0) 30%, rgba(0,4,5,0.55) 55%, rgba(0,4,5,0.92) 100%),
              linear-gradient(0deg, var(--bg) 0%, rgba(0,4,5,0) 30%);
}
.hero-copy {
  position: absolute; z-index: 2; inset: 0;
  display: flex; align-items: center; justify-content: flex-end;
}
.hero-copy .inner { width: min(560px, 100%); }
.eyebrow { font: 11px var(--wide); letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
h1 {
  font: 800 clamp(2.6rem, 5.6vw, 5.2rem)/0.96 var(--sans);
  letter-spacing: -0.04em; margin: 18px 0 20px; text-wrap: balance;
}
h1 em { font-style: normal; color: var(--accent); }
.lede { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 46ch; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  padding: 0 22px; border-radius: 999px; text-decoration: none;
  font: 11.5px var(--wide); letter-spacing: 0.16em; text-transform: uppercase;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 0 34px rgba(0, 229, 231, 0.35); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(0, 229, 231, 0.08); }
.store-note { font-size: 13px; color: var(--faint); margin-top: 14px; }
@media (max-width: 900px) {
  .hero picture img { height: auto; min-height: 88vh; object-position: 30% 20%; }
  .hero::after { background: linear-gradient(0deg, var(--bg) 8%, rgba(0,4,5,0.6) 55%, rgba(0,4,5,0.15) 100%); }
  .hero-copy { align-items: flex-end; padding-bottom: 48px; }
}

/* ── Sections ── */
section { padding-block: 112px; }
@media (max-width: 700px) { section { padding-block: 72px; } }
.section-head { max-width: 720px; margin-bottom: 64px; }
h2 { font: 800 clamp(2rem, 4vw, 3.2rem)/1.02 var(--sans); letter-spacing: -0.035em; margin: 14px 0 16px; text-wrap: balance; }
h3 { font: 700 26px/1.15 var(--sans); letter-spacing: -0.02em; margin: 12px 0 12px; }
p { max-width: 62ch; }
.muted { color: var(--muted); }

/* Feature rows: phone + copy, alternating */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding-block: 56px; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .phone-wrap { order: 2; }
.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone-wrap::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 231, 0.22), rgba(0, 229, 231, 0) 68%);
  top: 12%; filter: blur(10px);
}
.phone {
  position: relative; width: min(330px, 100%);
  border-radius: 46px; padding: 10px;
  background: linear-gradient(160deg, #1b2a2c, #070d0e);
  border: 1px solid rgba(201, 210, 214, 0.18);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,0,0,0.6) inset;
}
.phone img { border-radius: 37px; width: 100%; aspect-ratio: 1290 / 2796; object-fit: cover; object-position: top; }
.kicker { font: 10.5px var(--wide); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.points li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; color: var(--muted); }
.points li::before { content: ""; width: 7px; height: 7px; margin-top: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .phone-wrap { order: 0; }
  .phone { width: min(290px, 78vw); }
}

/* Trust / privacy */
.trust { background: var(--bg-2); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.trust-grid > div { background: var(--surface); padding: 32px 28px; }
.trust-grid h3 { font-size: 20px; }
.trust-grid p { color: var(--muted); margin: 0; font-size: 16px; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { position: relative; overflow: hidden; }
.pricing .glow { position: absolute; inset: auto 0 -10% 0; height: 70%; background: url(img/glow.webp) center bottom / cover no-repeat; opacity: 0.55; pointer-events: none; }
.plans { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { background: rgba(7, 17, 19, 0.88); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; display: flex; flex-direction: column; }
.plan.rec { border-color: var(--line-strong); box-shadow: 0 0 44px rgba(0, 229, 231, 0.14); }
.plan .name { font: 12px var(--wide); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.plan .tag { color: var(--accent); font-size: 9.5px; }
.price { font: 800 42px/1 var(--sans); letter-spacing: -0.03em; margin: 18px 0 4px; font-variant-numeric: tabular-nums; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.alt { color: var(--faint); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.fine { color: var(--faint); font-size: 13.5px; margin-top: 28px; position: relative; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 20px; }

/* CTA band */
.cta-band { text-align: left; border-top: 1px solid var(--line); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 44px 56px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* Legal / support pages */
.doc { max-width: 760px; padding-block: 72px 96px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.doc h2 { font-size: 24px; margin-top: 40px; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--text); }
.doc .updated { color: var(--faint); font-size: 14px; }
.copy { display: inline-flex; gap: 10px; align-items: center; margin-top: 8px; padding: 14px 18px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); font-size: 17px; user-select: all; }

/* Motion: enter once, respect reduced motion */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.hero .inner > * { animation: rise 1s var(--ease) both; }
.hero .inner > *:nth-child(2) { animation-delay: 0.08s; }
.hero .inner > *:nth-child(3) { animation-delay: 0.16s; }
.hero .inner > *:nth-child(4) { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .inner > * { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Immersive day (scroll-scrubbed film) ── */
.story { display: none; padding: 0; }
.immersive .story { display: block; height: 820vh; position: relative; }
.immersive .fallback { display: none; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
#film { position: absolute; inset: 0; width: 100%; height: 100%; }
.shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,4,5,0.85) 0%, rgba(0,4,5,0.35) 38%, rgba(0,4,5,0) 55%, rgba(0,4,5,0.25) 100%),
              linear-gradient(0deg, rgba(0,4,5,0.9) 0%, rgba(0,4,5,0) 26%, rgba(0,4,5,0) 80%, rgba(0,4,5,0.6) 100%);
}
.stage-ui { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 520px) 1fr; align-items: center; }
.chapters { position: relative; min-height: 340px; }
.chapter { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); pointer-events: none; }
.chapter.on { opacity: 1; transform: none; }
.chapter .time { font: 11px var(--wide); letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.chapter h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); margin: 16px 0 14px; }
.chapter p { color: var(--muted); font-size: 18px; margin: 0; }
.stage-phone { justify-self: end; margin-right: 4vw; }
.stage-phone .phone { width: min(300px, 24vw); }
.stage-phone .phone { position: relative; }
.stage-phone .screen { position: absolute; top: 10px; left: 10px; width: calc(100% - 20px); opacity: 0; transition: opacity 0.5s var(--ease); }
.stage-phone .screen.on { opacity: 1; }
.stage-phone .screen:first-child { position: relative; top: 0; left: 0; width: 100%; }
.rail { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 6px; list-style: none; margin: 0; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: rgba(0,4,5,0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.rail li { font: 10px var(--wide); letter-spacing: 0.08em; color: var(--faint); padding: 7px 11px; border-radius: 999px; transition: background 0.4s var(--ease), color 0.4s var(--ease); }
.rail li.on { background: var(--accent); color: var(--ink); }
.loading { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.loading span { display: block; height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 12px var(--accent); transition: width 0.3s linear, opacity 0.6s; }
@media (max-width: 860px) {
  .immersive .story { height: 740vh; }
  .shade { background: linear-gradient(0deg, rgba(0,4,5,0.95) 0%, rgba(0,4,5,0.55) 42%, rgba(0,4,5,0) 64%, rgba(0,4,5,0.5) 100%); }
  .stage-ui { grid-template-columns: 1fr; align-items: end; padding-bottom: 96px; }
  .chapters { min-height: 230px; }
  .chapter h2 { font-size: 1.9rem; }
  .chapter p { font-size: 16px; }
  .stage-phone { position: absolute; top: 84px; right: 18px; margin: 0; }
  .stage-phone .phone { width: 34vw; border-radius: 26px; padding: 5px; }
  .stage-phone .phone img { border-radius: 21px; }
  .stage-phone .screen { top: 5px; left: 5px; width: calc(100% - 10px); }
  .rail li { padding: 6px 7px; font-size: 8.5px; }
}

/* ── 3D layer ── */
#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 3; pointer-events: none; transition: opacity 0.4s linear; }
.stage-ui, .rail, .hero-grid, .nav { position: relative; z-index: 4; }
.nav { position: sticky; z-index: 20; }
.gl .stage-phone, .gl .hero-phone-fallback { visibility: hidden; }
.hero3d { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; border-bottom: 0; }
.hero3d::after { display: none; }
.hero-bg { position: absolute; inset: 0; background: url(img/glow.webp) center bottom / 120% auto no-repeat, radial-gradient(60% 50% at 70% 55%, rgba(0,229,231,0.10), transparent 70%), var(--bg); opacity: 0.9; }
.hero-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 580px) 1fr; align-items: center; gap: 40px; padding-block: 60px; }
.hero-phone-fallback { justify-self: center; }
.hero-phone-fallback .phone { width: min(300px, 70vw); }
@media (max-width: 860px) {
  .hero3d { align-items: flex-end; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 52vh; padding-bottom: 56px; }
  .hero-phone-fallback { position: absolute; top: 90px; left: 50%; transform: translateX(-50%); }
  .hero-phone-fallback .phone { width: 38vw; }
}
.gl .hero-phone-fallback { display: none; }
@media (max-width: 760px) {
  .brand span { font-size: 11px; letter-spacing: 0.14em; white-space: nowrap; }
  .nav .pill-soon { font-size: 8.5px; padding: 7px 10px; letter-spacing: 0.1em; }
  .nav .wrap { gap: 12px; }
}
.chapter h2, .chapter p, .chapter .time { text-shadow: 0 2px 24px rgba(0, 4, 5, 0.85), 0 0 2px rgba(0, 4, 5, 0.6); }
