/* Clickwave. Plain CSS, system fonts, light and dark. */

:root {
  --bg: #fbfbfd;
  --bg-2: #f3f4f9;
  --surface: #ffffff;
  --surface-2: #f5f6fa;
  --surface-3: #eceef6;
  --ink: #0b0e1c;
  --muted: #555b75;
  --line: rgba(11, 14, 28, 0.085);
  --line-2: rgba(11, 14, 28, 0.16);
  --brand-1: #3b2bd6;
  --brand-2: #1f6fe0;
  --grad: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
  --accent-text: #3827c9;
  --accent-soft: #eeeafd;
  --link: #2c1fc0;
  --focus: #1f6fe0;
  --ok: #1f9d5b;
  --shadow-sm: 0 1px 2px rgba(12, 16, 40, 0.05), 0 8px 20px -12px rgba(12, 16, 40, 0.16);
  --shadow-md: 0 2px 4px rgba(12, 16, 40, 0.04), 0 20px 44px -24px rgba(12, 16, 40, 0.28);
  --shadow-lg: 0 34px 80px -36px rgba(20, 22, 70, 0.38), 0 14px 34px -22px rgba(20, 22, 70, 0.22);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1160px;
  --header-h: 62px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090b17;
    --bg-2: #0c0f1f;
    --surface: #111528;
    --surface-2: #151a2f;
    --surface-3: #1b2038;
    --ink: #f1f3fc;
    --muted: #a9b0cc;
    --line: rgba(255, 255, 255, 0.085);
    --line-2: rgba(255, 255, 255, 0.17);
    --accent-text: #b9b0ff;
    --accent-soft: rgba(105, 90, 255, 0.16);
    --link: #a9c2ff;
    --focus: #8fb4ff;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35), 0 8px 20px -12px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.3), 0 20px 44px -24px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 34px 80px -36px rgba(0, 0, 0, 0.8), 0 14px 34px -22px rgba(0, 0, 0, 0.55);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17.5px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

#main { flex: 1 0 auto; }

img, svg, video { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 650; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
h1 {
  font-size: clamp(2.85rem, 7.4vw, 5.5rem);
  font-weight: 780;
  line-height: 0.96;
  letter-spacing: -0.047em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.95rem, 3.8vw, 3.05rem);
  font-weight: 745;
  line-height: 1.05;
  letter-spacing: -0.036em;
  text-wrap: balance;
}
h3 { font-size: 1.04rem; font-weight: 660; line-height: 1.3; letter-spacing: -0.012em; }
p { margin: 0 0 1em; }

:focus-visible {
  outline: 2.5px solid var(--focus);
  outline-offset: 3px;
  border-radius: 5px;
}

::selection { background: var(--accent-soft); color: var(--ink); }

/* ---------------------------------------------------------------- utils */

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: clamp(18px, 4vw, 36px); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: 0.9rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 14px;
  top: -70px;
  z-index: 200;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  font-weight: 650;
}
.skip:focus { top: 12px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--accent-text);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}

.tag {
  display: inline-block;
  vertical-align: 0.12em;
  padding: 3px 7px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--muted);
  font: 700 0.64rem/1 var(--font);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.tag-dark { border-color: rgba(255, 255, 255, 0.24); color: #cfd3e8; }

/* -------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: 650 1rem/1.15 var(--font);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px) scale(0.995); }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(59, 43, 214, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover {
  box-shadow: 0 16px 32px -14px rgba(59, 43, 214, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.05);
}
.btn-quiet, .btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}
.btn-quiet:hover, .btn-ghost:hover { background: var(--surface-2); }
.btn-invert {
  background: #fff;
  color: #2a1fae;
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.55);
}
.btn-invert:hover { background: #f4f3ff; }
.btn-lg { min-height: 54px; padding: 15px 24px; font-size: 1.04rem; border-radius: 14px; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 0.9rem; border-radius: 10px; }
.btn-sub { display: block; font-size: 0.75rem; font-weight: 500; opacity: 0.82; letter-spacing: 0.005em; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; filter: grayscale(0.4); box-shadow: none; }
.btn-price { font-weight: 500; opacity: 0.85; }
.buy-form .btn { flex-direction: column; gap: 3px; min-width: 228px; }

/* --------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(18px);
  backdrop-filter: saturate(1.5) blur(18px);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.is-scrolled .site-header {
  border-bottom-color: var(--line);
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  box-shadow: 0 10px 30px -26px rgba(10, 12, 30, 0.6);
}
.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.06rem;
  font-weight: 730;
  letter-spacing: -0.022em;
  white-space: nowrap;
}
.brand img { border-radius: 7px; box-shadow: 0 2px 7px rgba(20, 20, 70, 0.2); }
.brand:hover { text-decoration: none; }

.site-nav { display: flex; align-items: center; justify-self: center; gap: 26px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 0.94rem; font-weight: 560; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }

.header-actions { display: flex; align-items: center; justify-self: end; gap: 9px; }
.volume-control { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
.volume-control input[type="range"] { width: 76px; accent-color: var(--brand-1); cursor: pointer; }
.header-buy { white-space: nowrap; }
.buy-price { font-weight: 550; opacity: 0.82; }

.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: 600 0.84rem/1 var(--font);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.sound-toggle:hover { background: var(--surface-2); }
.sound-toggle svg { flex: none; }
.sound-toggle .icon-off { display: none; }
.sound-toggle[aria-pressed="false"] .icon-on { display: none; }
.sound-toggle[aria-pressed="false"] .icon-off { display: block; }
.sound-toggle[aria-pressed="false"] { color: var(--muted); background: var(--surface-2); }
.sound-toggle[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding: clamp(50px, 7vw, 88px) 0 clamp(74px, 9vw, 116px);
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -18% auto 34%;
  height: 122%;
  z-index: -1;
  background:
    radial-gradient(42% 46% at 68% 32%, rgba(59, 43, 214, 0.15), transparent 72%),
    radial-gradient(34% 40% at 88% 66%, rgba(31, 111, 224, 0.13), transparent 72%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(38px, 5.4vw, 72px);
  align-items: center;
}
.hero-copy { animation: hero-in 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.hero-art { animation: hero-in 0.9s 0.08s cubic-bezier(0.2, 0.7, 0.3, 1) both; }

.hero-kicker {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 6px 13px 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 0.81rem;
  font-weight: 620;
  letter-spacing: 0.01em;
}
.kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 18%, transparent);
}
.kicker-sep { width: 1px; height: 12px; background: var(--line-2); }

.hero h1 { margin: 0 0 22px; }
.hero-accent { color: var(--accent-text); }

.lede {
  max-width: 47ch;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.13rem;
  line-height: 1.68;
}

.audio-hint {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 0.875rem;
  font-weight: 620;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}
.hint-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: hint-pulse 2.1s ease-in-out infinite;
}
.has-clicked .audio-hint { opacity: 0; transform: translateY(-4px); visibility: hidden; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.89rem;
}
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { flex: none; color: var(--accent-text); }

/* hero window */

.hero-art { position: relative; min-width: 0; }
.frame {
  position: relative;
  z-index: 0;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.frame-bar .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.frame-bar .dot-r { background: #ff5f57; }
.frame-bar .dot-y { background: #febc2e; }
.frame-bar .dot-g { background: #28c840; }
.frame-title {
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.frame-body {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-3);
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.has-media .hero-fallback { display: none; }
.no-media .hero-video { display: none; }

.hero-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background:
    radial-gradient(55% 70% at 50% 40%, var(--accent-soft), transparent 74%),
    var(--surface-2);
}
.pulse { position: relative; width: 120px; height: 120px; }
.pulse img { position: relative; z-index: 2; width: 120px; height: 120px; filter: drop-shadow(0 18px 30px rgba(51, 33, 204, 0.35)); }
.ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--brand-2);
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  animation: ring-out 2.6s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
}
.ring.r2 { animation-delay: 0.86s; }
.ring.r3 { animation-delay: 1.72s; }
.fallback-label { margin: 0; color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.eq { display: flex; align-items: flex-end; gap: 5px; height: 30px; }
.eq i, .rec-wave i {
  display: block;
  width: 5px;
  border-radius: 3px;
  background: var(--grad);
  transform-origin: bottom;
  animation: eq-bounce 1.25s ease-in-out infinite;
}
.eq i { height: 100%; }
.eq i:nth-child(2n) { animation-delay: -0.3s; }
.eq i:nth-child(3n) { animation-delay: -0.7s; }
.eq i:nth-child(5n) { animation-delay: -0.95s; }

.now-playing {
  position: absolute;
  left: 18px;
  bottom: -17px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}
.np-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 18%, transparent);
}
.np-sep { width: 1px; height: 11px; background: var(--line-2); }
.np-meta { font-weight: 500; }

/* -------------------------------------------------------------- sections */

.section { position: relative; padding: clamp(72px, 9vw, 116px) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 700px; margin-bottom: clamp(34px, 5vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 16px; }
.section-head h2:last-child { margin-bottom: 0; }
.section-lede {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.11rem;
  line-height: 1.68;
}

/* reveal on scroll: only active once JS has confirmed it can observe */

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.68s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.68s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
.feature-grid .reveal:nth-child(2) { transition-delay: 0.05s; }
.feature-grid .reveal:nth-child(3) { transition-delay: 0.1s; }
.feature-grid .reveal:nth-child(5) { transition-delay: 0.05s; }
.feature-grid .reveal:nth-child(6) { transition-delay: 0.1s; }

/* --------------------------------------------------------------- try it */

.try-section { background: var(--bg-2); border-block: 1px solid var(--line); }
.try-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(300px, 1fr);
  gap: 20px;
  align-items: stretch;
}
.try-main { display: flex; flex-direction: column; min-width: 0; }
.try-main .pad { flex: 1 1 auto; }

.pad {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 382px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: var(--surface);
  background:
    radial-gradient(80% 90% at 50% 0%, color-mix(in srgb, var(--brand-1) 9%, transparent), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pinch-zoom;
  transition: transform 0.12s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.pad::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--line-2) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, #000 20%, transparent 100%);
  mask-image: radial-gradient(70% 70% at 50% 45%, #000 20%, transparent 100%);
  pointer-events: none;
}
.pad:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.pad.is-down { transform: scale(0.994); border-color: color-mix(in srgb, var(--brand-1) 40%, transparent); }
.pad-aura {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(58%, 320px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-1) 10%, transparent) 0%, transparent 66%);
  box-shadow:
    0 0 0 30px color-mix(in srgb, var(--brand-1) 3%, transparent),
    0 0 0 61px color-mix(in srgb, var(--brand-2) 2.5%, transparent);
  pointer-events: none;
  transition: transform 0.22s ease;
}
.pad.is-playing .pad-aura { transform: translate(-50%, -50%) scale(1.04); }
.pad-center {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding-bottom: 28px;
}
.pad-cursor { filter: drop-shadow(0 14px 22px rgba(12, 14, 40, 0.28)); transition: transform 0.12s ease; }
.pad-cursor svg { width: 46px; height: 46px; }
.pad.is-down .pad-cursor { transform: scale(0.9); }
.pad-wave { display: flex; align-items: center; gap: 4px; height: 26px; }
.pad-wave i {
  display: block;
  width: 3px;
  height: 40%;
  border-radius: 2px;
  background: var(--grad);
  opacity: 0.55;
  transform-origin: center;
  transition: height 0.2s ease, opacity 0.2s ease;
}
.pad-wave i:nth-child(3n+1) { height: 30%; }
.pad-wave i:nth-child(3n+2) { height: 72%; }
.pad-wave i:nth-child(3n) { height: 48%; }
.pad.is-playing .pad-wave i { opacity: 0.95; animation: pad-bar 0.46s ease-out; }
.pad.is-playing .pad-wave i:nth-child(3n) { animation-delay: 0.05s; }
.pad.is-playing .pad-wave i:nth-child(3n+1) { animation-delay: 0.1s; }
.pad-hint { margin: 0; color: var(--muted); font-size: 0.83rem; font-weight: 560; }

.pad-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--muted);
  font-size: 0.79rem;
}
.pad-live { color: var(--ink); font-weight: 620; }
.pad-count { white-space: nowrap; }
.pad-count b { color: var(--ink); font-variant-numeric: tabular-nums; }

.pad-notes { margin: 13px 4px 0; color: var(--muted); font-size: 0.84rem; line-height: 1.55; }
.pad-noscript { color: var(--accent-text); font-weight: 600; }

.try-panel {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.panel-block { display: grid; gap: 10px; min-width: 0; }
.panel-block + .panel-block { padding-top: 15px; border-top: 1px solid var(--line); }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.panel-head h3, .panel-block > h3, .panel-row h3 { margin: 0; font-size: 0.91rem; }
.panel-head span { color: var(--accent-text); font-size: 0.8rem; font-weight: 650; }
.panel-note { margin: 0; color: var(--muted); font-size: 0.76rem; line-height: 1.5; }
.panel-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.panel-row p { margin: 3px 0 0; color: var(--muted); font-size: 0.79rem; line-height: 1.45; }

.voice-picker {
  display: grid;
  gap: 9px;
}
.voice-family {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 4px 8px;
  align-items: start;
}
.voice-family-name {
  padding-top: 5px;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.voice-family-chips { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.voice {
  appearance: none;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font: 600 0.76rem/1.4 var(--font);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.voice:hover { color: var(--ink); border-color: var(--line-2); }
.voice[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--brand-1) 45%, transparent);
  color: var(--accent-text);
}

.switch {
  position: relative;
  flex: none;
  width: 46px;
  height: 27px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface-3);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.switch span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease;
}
.switch[aria-checked="true"] { background: var(--brand-1); border-color: var(--brand-1); }
.switch[aria-checked="true"] span { transform: translateX(19px); }

.segmented {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}
.segmented button {
  flex: 1;
  padding: 5px 3px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font: 600 0.74rem/1.5 var(--font);
  cursor: pointer;
}
.segmented button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(10, 12, 30, 0.14);
}

/* -------------------------------------------------------------- features */

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.feature:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.f-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-text);
}
.feature h3 { margin: 0 0 7px; font-size: 1.01rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.94rem; line-height: 1.6; }

.feature-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.mini {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.mini > svg { flex: none; margin-top: 2px; color: var(--accent-text); }
.mini h3 { margin: 0 0 3px; font-size: 0.9rem; }
.mini p { margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.55; }

/* recording card */

.rec-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  margin-top: clamp(42px, 6vw, 76px);
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 90% at 85% 10%, rgba(80, 70, 220, 0.32), transparent 68%),
    linear-gradient(155deg, #171439 0%, #0a0d20 58%, #0b1226 100%);
  box-shadow: var(--shadow-lg);
  color: #eef0ff;
}
.rec-row .eyebrow { color: #b8b0ff; }
.rec-row h2 { margin: 0 0 14px; color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.rec-row .section-lede { margin: 0 0 20px; color: #b9bed6; font-size: 1rem; }
.rec-row .fine { color: #9298b6; }
.checks { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 28px; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: calc(0.18em + 4px);
  width: 5px;
  height: 9px;
  border: solid var(--accent-text);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checks-dark li { color: #c8cce2; }
.checks-dark li::before { background: rgba(255, 255, 255, 0.13); }
.checks-dark li::after { border-color: #d9dcf0; }
.checks-cols { grid-template-columns: 1fr 1fr; gap: 10px 28px; margin: 0 0 28px; text-align: left; }

.rec-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background: #070915;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.rec-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #e7e9f7;
  font-size: 0.84rem;
  font-weight: 600;
}
.rec-time { margin-left: auto; color: #9ba1bd; font-variant-numeric: tabular-nums; }
.rec-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff4d4f;
  animation: blink 1.5s steps(2, start) infinite;
}
.rec-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 55%),
    radial-gradient(65% 65% at 28% 28%, rgba(75, 60, 255, 0.4), transparent 70%),
    radial-gradient(55% 60% at 82% 82%, rgba(36, 163, 255, 0.28), transparent 70%),
    #0d1128;
}
.rec-cursor { position: absolute; left: 38%; top: 32%; width: 28px; height: 28px; }
.rec-cursor svg { position: relative; z-index: 2; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4)); }
.rec-cursor .ring { width: 66px; height: 66px; left: 4px; top: 2px; border-color: #88b4ff; border-width: 2px; }
.rec-wave { position: absolute; left: 16px; right: 16px; bottom: 15px; display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 26px; }
.rec-wave i { flex: 0 0 6px; height: 100%; opacity: 0.85; background: linear-gradient(180deg, #8d86ff, #4fa4ff); }
.rec-wave i:nth-child(2n) { animation-delay: -0.4s; }
.rec-wave i:nth-child(3n) { animation-delay: -0.8s; }
.rec-exports { display: flex; flex-wrap: wrap; gap: 7px; padding: 13px 16px; }
.rec-exports span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #dfe2f2;
  font-size: 0.77rem;
  font-weight: 600;
}

/* privacy band */

.privacy-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  margin-top: clamp(42px, 6vw, 76px);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 140% at 0% 0%, var(--accent-soft), transparent 62%),
    var(--surface);
  box-shadow: var(--shadow-sm);
}
.privacy-band h2 { margin: 0 0 10px; font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
.privacy-band p { max-width: 64ch; margin: 0; color: var(--muted); font-size: 1.03rem; line-height: 1.68; }
.shield {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 18px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(59, 43, 214, 0.7);
}

/* ------------------------------------------------------------ screenshots */

#screens { background: var(--bg-2); border-block: 1px solid var(--line); }
#screens h2 { margin-bottom: clamp(28px, 4vw, 44px); }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shot { margin: 0; min-width: 0; }
.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.shot:hover img { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.shot figcaption { margin-top: 9px; color: var(--muted); font-size: 0.85rem; }

/* ------------------------------------------------------------------ buy */

.price-card {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad);
}
.price-card .eyebrow { margin-bottom: 14px; }
.price-line { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 0 0 10px; font-weight: inherit; }
.price { color: var(--ink); font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 800; letter-spacing: -0.055em; line-height: 1; }
.price-once { color: var(--muted); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.price-title {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 1.03rem;
  font-weight: 500;
  line-height: 1.5;
}
.buy-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.buy-form { margin: 0; }
.buy-form .btn.is-suggested { outline: 3px solid color-mix(in srgb, var(--brand-2) 42%, transparent); outline-offset: 3px; }
.buy-note { margin: 16px 0 6px; color: var(--muted); font-size: 0.93rem; }
.store-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 6px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 15px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 0.89rem;
  text-decoration: none;
}
.store-badge:hover { background: var(--surface-3); text-decoration: none; }
.price-card .fine { margin: 20px 0 0; }

.btn.btn-soon, .btn.btn-soon[disabled] {
  min-width: 228px;
  border: 1px dashed var(--line-2);
  background: var(--surface-2);
  color: var(--ink);
  box-shadow: none;
  opacity: 1;
  filter: none;
}

.reqs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 800px; margin: 20px auto 0; }
.req { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.req h3 { margin: 0 0 6px; }
.req p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ------------------------------------------------------------------ FAQ */

.faq-section { background: var(--bg-2); border-block: 1px solid var(--line); }
.faq { display: grid; gap: 8px; max-width: 840px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary {
  position: relative;
  padding: 18px 54px 18px 20px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 620;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  border: solid var(--muted);
  border-width: 0 2px 2px 0;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { max-width: 72ch; margin: 0; padding: 0 20px 19px; color: var(--muted); font-size: 0.96rem; line-height: 1.66; }

/* ------------------------------------------------------------------ CTA */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 0;
  background: linear-gradient(150deg, #251ba8 0%, #3b2bd6 46%, #123a8e 100%);
  color: #fff;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -45% -10%;
  background: repeating-radial-gradient(circle at 50% 58%, transparent 0 76px, rgba(255, 255, 255, 0.055) 76px 77px);
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 64%);
  pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { margin: 0 0 12px; color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.cta-band p { margin: 0 0 28px; color: rgba(255, 255, 255, 0.8); font-size: 1.08rem; }

/* --------------------------------------------------------------- footer */

.site-footer { padding: 34px 0 40px; border-top: 1px solid var(--line); background: var(--bg); font-size: 0.9rem; }
.footer-inner { display: grid; gap: 24px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.footer-brand:hover { text-decoration: none; }
.footer-brand img { border-radius: 6px; }
.footer-tagline { color: var(--muted); font-weight: 500; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { color: var(--muted); font-size: 0.89rem; text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.81rem;
}
.footer-copy, .footer-note { margin: 0; }

/* --------------------------------------------------------------- ripples */

.ripple-layer { position: fixed; inset: 0; z-index: 140; pointer-events: none; }
.ripple {
  position: absolute;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.3);
  will-change: transform, opacity;
}
.ripple--left { --ripple-color: #1f6fe0; }
.ripple--right { --ripple-color: #7a5cff; }
.ripple--ring { border: 3.5px solid var(--ripple-color); }
.ripple--double { border: 3.5px solid var(--ripple-color); }
.ripple--double::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 3.5px solid var(--ripple-color);
  border-radius: 50%;
  opacity: 0.55;
}
.ripple--glow {
  border: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--ripple-color) 55%, transparent) 0%, transparent 68%);
}
.ripple--dot { border: 0; background: var(--ripple-color); opacity: 0; }
.ripple.is-open { animation: ripple-out 0.45s cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }
.ripple--dot.is-open { animation-name: dot-out; }
.ripple--still.is-open { animation: ripple-fade 0.18s ease-out forwards; }

/* -------------------------------------------- simple pages and documents */

.page { padding: 58px 0 96px; }
.page-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.page-card.center { text-align: center; }
.page-card h1 { font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -0.038em; }
.status-code { margin: 0 0 12px; color: var(--accent-text); font: 800 0.82rem/1 var(--font); letter-spacing: 0.14em; text-transform: uppercase; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.prose h2 { margin-top: 1.8em; margin-bottom: 0.5em; font-family: var(--font); font-size: 1.32rem; font-weight: 700; letter-spacing: -0.015em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; }
.prose .updated { font-size: 0.9rem; }
.h-small { margin-top: 28px; font-size: 1.18rem; letter-spacing: -0.02em; }

.order {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 26px 0 8px;
  padding: 14px 16px;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  background: var(--surface-2);
}
.order code { font: 600 0.87rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; word-break: break-all; user-select: all; }

.downloads { display: grid; gap: 12px; margin: 26px 0 8px; padding: 0; list-style: none; }
.dl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.dl-primary { border-color: color-mix(in srgb, var(--brand-2) 45%, transparent); background: color-mix(in srgb, var(--brand-2) 6%, transparent); }
.dl .btn { min-width: 260px; }
.dl-note { color: var(--muted); font-size: 0.9rem; }

.form { display: grid; gap: 16px; margin-top: 24px; text-align: left; }
.form label { display: grid; gap: 6px; font-size: 0.95rem; font-weight: 600; }
.form .hint { color: var(--muted); font-size: 0.87rem; font-weight: 450; }
.form input {
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: 500 1rem/1.4 var(--font);
}
.form input:focus-visible { border-color: transparent; outline: 3px solid var(--focus); outline-offset: 1px; }
.form .btn { justify-self: start; }
.form-error {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, #e5484d 40%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, #e5484d 12%, transparent);
  font-size: 0.94rem;
}

/* ------------------------------------------------------------- keyframes */

@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes hint-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}
@keyframes ring-out {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(2.1); opacity: 0; }
}
@keyframes eq-bounce {
  0%, 100% { transform: scaleY(0.28); }
  40% { transform: scaleY(1); }
  70% { transform: scaleY(0.52); }
}
@keyframes pad-bar {
  0% { transform: scaleY(0.35); }
  35% { transform: scaleY(1); }
  100% { transform: scaleY(0.42); }
}
@keyframes blink { to { visibility: hidden; } }
@keyframes ripple-out {
  0% { opacity: 0.9; transform: scale(0.3); }
  100% { opacity: 0; transform: scale(1); }
}
@keyframes dot-out {
  0% { opacity: 0.85; transform: scale(0.3); }
  100% { opacity: 0; transform: scale(1); }
}
@keyframes ripple-fade {
  0% { opacity: 0.75; transform: scale(0.85); }
  100% { opacity: 0; transform: scale(1); }
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .volume-control { display: none; }
  .try-shell { grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr); }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 42px; }
  .lede { max-width: 60ch; }
  .hero-art { max-width: 720px; }
  .try-shell { grid-template-columns: 1fr; }
  .pad { min-height: 330px; }
  .voice-picker { max-height: none; }
  .feature-grid, .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rec-row { grid-template-columns: 1fr; }
  .rec-card { max-width: 560px; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .site-nav { display: none; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .header-actions { grid-column: 2; }
}

@media (max-width: 700px) {
  body { font-size: 17px; }
  h1 { font-size: clamp(2.75rem, 12vw, 4rem); }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 30px; }
  .feature { padding: 20px; }
  .f-icon { margin-bottom: 12px; }
  .hero { padding-bottom: 78px; }
  .now-playing { left: 12px; }
  .feature-grid, .feature-strip, .shots, .reqs, .checks-cols { grid-template-columns: 1fr; }
  .privacy-band { grid-template-columns: 1fr; gap: 16px; }
  .shield { width: 56px; height: 56px; border-radius: 16px; }
  .price-card { padding: 32px 20px 28px; border-radius: 22px; }
  .page-card { padding: 30px 20px; }
  .buy-buttons { flex-direction: column; align-items: stretch; }
  .buy-form, .buy-form .btn, .btn.btn-soon { width: 100%; }
  .buy-form .btn, .btn.btn-soon { min-width: 0; }
  .hero-cta .btn { width: 100%; }
  .cta-band .btn { width: 100%; max-width: 320px; }
  .footer-top { align-items: flex-start; flex-direction: column; }
  .footer-bottom { flex-direction: column; }

  .shots {
    display: flex;
    gap: 14px;
    margin-inline: calc(-1 * clamp(18px, 4vw, 36px));
    padding: 2px clamp(18px, 4vw, 36px) 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }
  .shot { flex: 0 0 82%; scroll-snap-align: center; }
}

@media (max-width: 520px) {
  .sound-label { display: none; }
  .sound-toggle { width: 38px; padding: 0; justify-content: center; }
  .brand span { font-size: 1rem; }
  .brand img { width: 28px; height: 28px; }
  .pad { min-height: 290px; }
  .pad-foot { font-size: 0.73rem; padding: 10px 12px; }
  .pad-count { letter-spacing: 0; }
  .try-panel { padding: 15px; }
  .voice-family { grid-template-columns: 46px minmax(0, 1fr); }
  .voice { font-size: 0.73rem; padding: 4px 8px; }
  .price-line { gap: 8px; }
  .rec-row { padding: 22px 18px; }
  .footer-tagline { display: none; }
}

@media (max-width: 380px) {
  .header-inner { gap: 10px; }
  .sound-toggle { width: 34px; height: 34px; }
  .header-buy { padding-inline: 10px; font-size: 0.84rem; }
  h1 { font-size: 2.55rem; }
  .hero-kicker { font-size: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal-ready .reveal { opacity: 1; transform: none; }
  .ring { opacity: 0.3; transform: translate(-50%, -50%) scale(1.25); }
  .pad.is-playing .pad-wave i { animation: none; opacity: 0.95; }
}

@media print {
  body { background: #fff; color: #000; }
  .site-header { position: static; box-shadow: none; }
  #try, .site-nav, .volume-control, .sound-toggle, .header-buy, .audio-hint, .ripple-layer { display: none !important; }
  .reveal-ready .reveal { opacity: 1 !important; transform: none !important; }
  .hero, .section, .cta-band { padding-block: 28px; }
  .rec-row, .cta-band { break-inside: avoid; }
}
