/* Refrain's public pages (waitlist now; App Store support and privacy at launch).
   Layout borrows the MTi US shop's language: heavy all-caps headlines with one accent phrase,
   small labelled eyebrows, a full-colour stat band, numbered cards. Colours are Refrain's
   indigo #4A3FA3 and gold #F2B544, as in the app. Dark sections stay dark in both themes. */
:root {
  --ink: #15142a;
  --night: #1b1946;
  --indigo: #4a3fa3;
  --indigo-deep: #26245f;
  --lilac: #b9b3ff;
  --gold: #f2b544;
  --gold-deep: #c98a12;

  --bg: #ffffff;
  --bg-alt: #f6f5fb;
  --text: #1b1b2e;
  --muted: #5e5e78;
  --line: #e4e2f0;
  --card: #ffffff;
  --accent: #4a3fa3;
  --error: #b3261e;

  --display: "Avenir Next", "Avenir", "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111022;
    --bg-alt: #16152c;
    --text: #ecebf7;
    --muted: #a9a6c4;
    --line: #2a2848;
    --card: #1b1a35;
    --accent: #b9b3ff;
    --error: #ff8a80;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--accent); }
[hidden] { display: none !important; }
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
.h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.012em;
  text-transform: uppercase;
}
.h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.h3 { font-size: 1.3rem; font-weight: 800; line-height: 1.2; }
.accent { color: var(--accent); }
.gold { color: var(--gold); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font: 700 0.75rem/1 var(--body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--muted); max-width: 34em; margin: 22px 0 0; }
.mono { font-family: var(--mono); letter-spacing: 0.04em; }
.small { font-size: 0.875rem; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 10px;
  border: 2px solid transparent;
  font: 700 0.9rem/1 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 28px rgba(242, 181, 68, .28); }
.btn-gold:hover { box-shadow: 0 10px 34px rgba(242, 181, 68, .42); }
.btn-line { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.78rem; }
.arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- top bar + header (always dark) ---------- */
.topbar {
  background: #0d0c1e;
  color: #cfcbea;
  font: 600 0.72rem/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.topbar .wrap { display: flex; align-items: center; gap: 18px; min-height: 38px; }
.topbar a { color: var(--gold); text-decoration: none; margin-left: auto; white-space: nowrap; }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); white-space: nowrap; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(242,181,68,.6); animation: pulse 2s infinite; }
.topbar .sep { opacity: .4; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242,181,68,.55); } 70% { box-shadow: 0 0 0 8px rgba(242,181,68,0); } 100% { box-shadow: 0 0 0 0 rgba(242,181,68,0); } }
@media (max-width: 700px) { .topbar .hide-sm, .topbar a { display: none; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(21, 20, 42, .95);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand svg { width: 36px; height: 36px; }
.brand b { font: 800 1.35rem/1 var(--display); letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a:not(.btn) { color: #d8d5f0; text-decoration: none; font: 700 0.8rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; }
.nav a:not(.btn):hover { color: #fff; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

/* ---------- hero (always dark) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(74, 63, 163, .55), transparent 70%),
    radial-gradient(40% 40% at 92% 85%, rgba(242, 181, 68, .16), transparent 70%),
    linear-gradient(165deg, var(--ink) 0%, var(--night) 60%, #231f63 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 40px;
  align-items: center;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 104px);
}
.hero .eyebrow { color: var(--gold); }
.hero .lede { color: #cfcbea; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.specs { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 0; list-style: none; color: #a9a5cc; font: 600 0.72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.specs li { display: inline-flex; align-items: center; gap: 8px; }
.specs li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--gold); }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- phone mockup ---------- */
.stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.stage::after {
  content: "";
  position: absolute;
  bottom: 28px;
  width: 260px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent);
  filter: blur(6px);
}
.phone {
  position: relative;
  z-index: 1;
  width: 292px;
  height: 596px;
  padding: 11px;
  border-radius: 50px;
  background: linear-gradient(145deg, #3a3766, #0c0b1c 40%, #26244a);
  box-shadow: 0 40px 80px rgba(5, 4, 20, .6), inset 0 0 0 1px rgba(255,255,255,.12);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 40px;
  background: linear-gradient(180deg, #24205a 0%, #121126 55%);
  padding: 14px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--body);
}
.island { position: absolute; top: 10px; left: 50%; width: 88px; height: 26px; margin-left: -44px; border-radius: 20px; background: #000; }
.status { display: flex; justify-content: space-between; font: 700 0.72rem/1 var(--body); color: #fff; padding: 4px 8px 0; }
.status span:last-child { letter-spacing: 2px; }
.profile { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  font: 700 0.62rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  background: rgba(242,181,68,.16); color: var(--gold);
}
.chip.ok { background: rgba(84, 214, 140, .16); color: #7fe3a9; }
.chip.dim { background: rgba(255,255,255,.08); color: #cfcbea; }
.cover {
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(70% 60% at 30% 25%, rgba(255, 138, 107, .9), transparent 70%),
    radial-gradient(60% 70% at 80% 80%, rgba(242, 181, 68, .85), transparent 70%),
    linear-gradient(135deg, #7a3f8f, #3a2f9a);
}
.cover::before { content: ""; position: absolute; inset: 0; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); background: rgba(20, 18, 50, .35); }
.cover svg { position: relative; width: 38%; height: 38%; }
.cover .chip { position: absolute; left: 10px; bottom: 10px; background: rgba(13,12,30,.7); color: #fff; }
.track b { display: block; color: #fff; font: 700 1.02rem/1.2 var(--body); }
.track span { color: #a9a5cc; font-size: 0.85rem; }
.bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.bar i { display: block; height: 100%; width: 22%; background: #fff; border-radius: 2px; animation: progress 14s linear infinite; }
@keyframes progress { from { width: 18%; } to { width: 64%; } }
.times { display: flex; justify-content: space-between; margin-top: -6px; color: #8c88b4; font: 600 0.62rem/1 var(--mono); }
.lyrics { position: relative; display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.05); overflow: hidden; }
.lyrics p { margin: 0; color: #8c88b4; font: 700 0.82rem/1.3 var(--body); white-space: nowrap; overflow: hidden; text-overflow: clip; }
.lyrics p.now { color: #fff; }
.redact { display: flex; align-items: center; gap: 8px; }
.redact span { flex: 1; height: 12px; border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(242,181,68,.55) 0 6px, rgba(242,181,68,.25) 6px 9px); }
.redact em { font: 700 0.58rem/1 var(--mono); font-style: normal; letter-spacing: .1em; color: var(--gold); white-space: nowrap; }
.scan {
  position: absolute; left: 0; right: 0; top: 0; height: 36px;
  background: linear-gradient(180deg, transparent, rgba(185,179,255,.22), transparent);
  border-bottom: 1px solid rgba(185,179,255,.5);
  animation: scan 3.6s ease-in-out infinite;
}
@keyframes scan { 0% { transform: translateY(-40px); } 100% { transform: translateY(150px); } }
.controls { display: flex; justify-content: center; align-items: center; gap: 34px; margin-top: auto; color: #fff; }
.controls svg { width: 22px; height: 22px; fill: currentColor; }
.controls .play { width: 34px; height: 34px; }

/* floating cards around the phone */
.float {
  position: absolute;
  z-index: 2;
  width: 176px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(27, 25, 70, .72);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(5,4,20,.45);
  color: #fff;
  animation: float 8s ease-in-out infinite;
}
.float h4 { margin: 0 0 8px; font: 700 0.62rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #a9a5cc; }
.float p { margin: 0; font: 700 0.92rem/1.3 var(--body); }
.float .small { color: #a9a5cc; font-size: 0.78rem; font-weight: 500; margin-top: 4px; }
/* each card overlaps the phone's bezel by about 24px and never its text */
.f1 { top: 118px; left: calc(50% - 298px); animation-delay: -2s; }
.f2 { top: 300px; right: calc(50% - 298px); animation-delay: -4s; }
.f3 { bottom: 24px; left: calc(50% - 298px); animation-delay: -1s; }
.meters { display: grid; gap: 6px; }
.meter { display: grid; grid-template-columns: 1fr 54px; align-items: center; gap: 10px; font: 600 0.72rem/1 var(--body); color: #cfcbea; }
.pips { display: flex; gap: 3px; }
.pips i { flex: 1; height: 6px; border-radius: 2px; background: rgba(255,255,255,.14); }
.pips i.on { background: var(--gold); }
.mini-cover { display: flex; align-items: center; gap: 12px; }
.mini-cover div { width: 46px; height: 46px; border-radius: 8px; flex: none; background: linear-gradient(135deg, #8b5cf6, #ff8a6b); filter: blur(5px); }
@media (max-width: 960px) {
  .stage { min-height: 0; padding: 10px 0 30px; }
  .f3 { display: none; }
}
@media (max-width: 600px) {
  .float { display: none; }
  .phone { width: 270px; height: 552px; }
  .screen { padding-left: 15px; padding-right: 15px; }
  .lyrics p { font-size: 0.76rem; }
}

/* ---------- stat band (gold) ---------- */
.band { background: var(--gold); color: var(--ink); position: relative; overflow: hidden; }
.band::before {
  content: "";
  position: absolute; right: -8%; top: -40%;
  width: 55%; height: 180%;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.18) 40%, rgba(255,255,255,.18) 60%, transparent 60%);
  pointer-events: none;
}
.band .wrap { position: relative; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.band .eyebrow { color: var(--ink); }
.band-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.band .btn { background: var(--ink); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 48px 0 0; padding: 0; list-style: none; }
.stats li { border-top: 3px solid var(--ink); padding-top: 18px; }
.stats b { display: block; font: 800 clamp(3rem, 6vw, 4.6rem)/1 var(--display); letter-spacing: -0.02em; }
.stats span { display: block; margin-top: 10px; font-weight: 700; font-size: 1rem; line-height: 1.4; max-width: 22em; }
.band .note { margin: 34px 0 0; font-size: 0.82rem; line-height: 1.5; color: rgba(21,20,42,.72); max-width: 70em; }
@media (max-width: 760px) { .stats { grid-template-columns: minmax(0, 1fr); gap: 22px; } }

/* ---------- light sections ---------- */
.section { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 760px; }
.section-head .lede { color: var(--muted); }
.grid { display: grid; gap: 20px; margin-top: 48px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid > * { min-width: 0; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.card {
  position: relative;
  padding: 28px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(38, 36, 95, .12); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.num { display: block; margin-bottom: 18px; font: 700 0.72rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.icon {
  width: 46px; height: 46px; margin-bottom: 20px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}
.icon svg { width: 22px; height: 22px; }
.card p { margin: 10px 0 0; color: var(--muted); }

/* feature cards carry a small piece of the app */
.feature { display: grid; grid-template-rows: auto auto 1fr; }
.demo {
  margin-top: 24px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--ink), var(--night));
  color: #fff;
  align-self: end;
}
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 10px; background: rgba(255,255,255,.08); }
.seg span { padding: 9px 0; text-align: center; border-radius: 7px; font: 700 0.74rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: #cfcbea; }
.seg span.on { background: var(--gold); color: var(--ink); }
.who { display: flex; justify-content: space-between; margin-top: 12px; font: 600 0.72rem/1 var(--mono); letter-spacing: .08em; color: #a9a5cc; }
.demo .meters { gap: 8px; }
.demo .meter { grid-template-columns: 1fr 64px; font-size: 0.78rem; }
.demo .verdict { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font: 600 0.72rem/1 var(--mono); color: #a9a5cc; }
.demo .lyrics { background: rgba(255,255,255,.06); }
.covers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.covers figure { margin: 0; }
.covers .art { aspect-ratio: 1; border-radius: 10px; position: relative; overflow: hidden; display: grid; place-items: center; }
.covers .art.a { background: radial-gradient(60% 60% at 30% 30%, #7fd3ff, transparent 70%), linear-gradient(135deg, #127a78, #26245f); }
.covers .art.b { background: radial-gradient(60% 60% at 70% 30%, rgba(255,138,107,.9), transparent 70%), linear-gradient(135deg, #8b5cf6, #3a2f9a); }
.covers .art.b::before { content: ""; position: absolute; inset: 0; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(20,18,50,.35); }
.covers .art svg { position: relative; width: 40%; height: 40%; }
.covers figcaption { margin-top: 8px; display: flex; align-items: center; gap: 6px; font: 600 0.7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #a9a5cc; }
.covers figcaption i { width: 7px; height: 7px; border-radius: 50%; background: #7fe3a9; }
.covers figcaption i.no { background: var(--gold); }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .why { grid-template-columns: minmax(0, 1fr); } }
.why blockquote { margin: 28px 0 0; padding: 0 0 0 22px; border-left: 4px solid var(--gold); font-size: 1.18rem; line-height: 1.6; }
.why blockquote p { margin: 0; }
.why cite { display: block; margin-top: 14px; font: 700 0.78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; font-style: normal; color: var(--muted); }
.needs { padding: 0; }
.needs h3 { padding: 24px 28px 0; }
.needs dl { margin: 16px 0 0; }
.needs div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 16px 28px; border-top: 1px solid var(--line); }
.needs dt { font: 700 0.72rem/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.needs dd { margin: 0; }
@media (max-width: 480px) { .needs div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* ---------- join (always dark) ---------- */
.join {
  position: relative;
  color: #fff;
  background:
    radial-gradient(50% 60% at 15% 20%, rgba(74, 63, 163, .5), transparent 70%),
    radial-gradient(40% 50% at 90% 90%, rgba(242, 181, 68, .14), transparent 70%),
    linear-gradient(165deg, var(--night), var(--ink));
  overflow: hidden;
}
.join .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
@media (max-width: 900px) { .join .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.join .eyebrow { color: var(--gold); }
.join .lede { color: #cfcbea; }
.checks { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: #e6e3fa; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 2px; }
.panel {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px rgba(5,4,20,.35);
}
.panel h2 { font: 800 1.5rem/1.15 var(--display); text-transform: uppercase; }
.panel p { color: #cfcbea; }
.panel label { display: block; margin-top: 16px; font-weight: 600; color: #fff; }
.panel .opt { font-weight: 400; color: #a9a5cc; }
.panel input[type=email], .panel input[type=text] {
  display: block; width: 100%; margin-top: 8px; padding: 14px 16px;
  font: inherit; color: #fff;
  background: rgba(10, 9, 26, .55);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
}
.panel input::placeholder { color: #8c88b4; }
.panel input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(242,181,68,.25); }
.panel fieldset { border: 0; padding: 0; margin: 20px 0 0; }
.panel legend { font-weight: 600; padding: 0; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
@media (max-width: 420px) { .choices { grid-template-columns: minmax(0, 1fr); } }
.choices label { margin: 0; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 46px; padding: 8px 10px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(10,9,26,.35);
  font: 600 0.9rem/1.2 var(--body); color: #e6e3fa; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.choices input:checked + span { border-color: var(--gold); background: rgba(242,181,68,.14); color: #fff; }
.choices input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.panel .btn { width: 100%; margin-top: 24px; }
.panel .btn:disabled { opacity: .6; cursor: default; transform: none; }
.panel .error { color: #ff8a80; font-weight: 600; margin: 14px 0 0; }
.panel .small { color: #a9a5cc; margin: 14px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.site-footer { background: #0d0c1e; color: #a9a5cc; font-size: 0.875rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; min-height: 84px; padding-top: 20px; padding-bottom: max(20px, env(safe-area-inset-bottom, 0px)); }
.site-footer .brand svg { width: 28px; height: 28px; }
.site-footer .brand b { font-size: 1.1rem; }
.site-footer nav { margin-left: auto; display: flex; gap: 22px; }
.site-footer a:not(.brand) { color: #cfcbea; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .phone, .float, .scan, .bar i, .live i, .wave rect { animation: none !important; }
}

/* the logo's bars move like a level meter */
.wave rect { transform-box: fill-box; transform-origin: center; animation: bounce 1.6s ease-in-out infinite; }
.wave rect:nth-of-type(2) { animation-delay: -.2s; }
.wave rect:nth-of-type(3) { animation-delay: -.5s; }
.wave rect:nth-of-type(4) { animation-delay: -.8s; }
.wave rect:nth-of-type(5) { animation-delay: -1s; }
.wave rect:nth-of-type(6) { animation-delay: -1.3s; }
@keyframes bounce { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }

/* ---------- plain document pages (privacy) ---------- */
.doc { max-width: 760px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); }
.doc h1 { font: 800 clamp(2.2rem, 5vw, 3.2rem)/1 var(--display); text-transform: uppercase; margin-bottom: 10px; }
.doc h2 { font: 800 1.35rem/1.2 var(--display); margin: 40px 0 10px; }
.doc .lede { margin-top: 18px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc label { display: block; font-weight: 600; margin-top: 14px; }
.doc input[type=email] {
  display: block; width: 100%; max-width: 420px; margin-top: 8px; padding: 13px 15px;
  font: inherit; color: var(--text); background: var(--card);
  border: 1px solid var(--line); border-radius: 10px;
}
.doc .btn { margin-top: 16px; background: var(--indigo); color: #fff; }
.doc .btn:disabled { opacity: .6; cursor: default; transform: none; }
.doc .error { color: var(--error); font-weight: 600; margin: 12px 0 0; }
