:root {
  --bg: #FFFFFF;
  --surface: #F5F5F7;
  --raised: #FFFFFF;
  --text: #1D1D1F;
  --secondary: #6E6E73;
  --tertiary: #A1A1A6;
  --border: rgb(0 0 0 / .08);
  --accent: #FF3B30;
  --accent-text: #E0301F;
  --accent-soft: rgb(255 59 48 / .08);
  --glow: rgb(255 59 48 / .18);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(96px, 13vw, 168px);
  --radius: 24px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #111113;
    --raised: #1C1C1E;
    --text: #F5F5F7;
    --secondary: #A1A1A6;
    --tertiary: #6E6E73;
    --border: rgb(255 255 255 / .1);
    --accent: #FF453A;
    --accent-text: #FF6A5E;
    --accent-soft: rgb(255 69 58 / .12);
    --glow: rgb(255 69 58 / .22);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
h1 { font-size: clamp(2.75rem, 7vw, 5.25rem); line-height: 1.02; font-weight: 700; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.06; font-weight: 700; letter-spacing: -.04em; }
h3 { font-size: 1.1875rem; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---- Header ---- */

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 1.0625rem; letter-spacing: -.02em; text-decoration: none; }
.logo { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .875rem; }
.nav-links a:not(.btn) { color: var(--secondary); text-decoration: none; transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links .btn { padding: 8px 16px; font-size: .875rem; }
@media (max-width: 640px) { .nav-links a:not(.btn) { display: none; } }

/* ---- Buttons ---- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border: 0; border-radius: 999px;
  background: var(--accent); color: #FFFFFF;
  font: 600 .9375rem/1.2 var(--font); letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), filter .2s, background-color .2s;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.lg { padding: 16px 28px; font-size: 1.0625rem; }
.btn.ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.btn.ghost:hover { filter: none; background: color-mix(in srgb, var(--surface) 80%, var(--text) 6%); }
.btn .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.eyebrow { font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; color: var(--accent-text); }

/* ---- Hero ---- */

.hero { padding-top: clamp(48px, 9vw, 112px); display: flex; flex-direction: column; gap: clamp(56px, 8vw, 88px); }
.hero-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.hero-head h1 .accent-text { display: block; }
.hero-head .lede { max-width: 42ch; }
.hero-head .ctas { justify-content: center; margin-top: 8px; }
.lede { color: var(--secondary); font-size: clamp(1.125rem, 1.7vw, 1.3125rem); line-height: 1.5; letter-spacing: -.01em; }
.fine { font-size: .8125rem; color: var(--tertiary); }
.accent-text {
  background: linear-gradient(100deg, #FF6A55, var(--accent) 55%, #E0301F);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.badge { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); font-size: .8125rem; font-weight: 500; color: var(--secondary); }
.badge span { padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-weight: 600; }

.frame { position: relative; isolation: isolate; }
.frame::before { content: ''; position: absolute; inset: 10% 15% -6%; z-index: -1; background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(30px); }

.stage {
  --v-out: calc(1 - var(--v));
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding: clamp(24px, 5.5vw, 72px);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border);
}
@media (max-width: 820px) { .stage { grid-template-columns: 1fr; justify-items: center; } }

/* The panel: dark, like the app in dark mode. */
.panel-mock {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: #2A2A2D;
  color: #F5F5F7;
  font: 400 13px/1.35 var(--font);
  box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .14), 0 30px 60px -20px rgb(0 0 0 / .5), 0 0 0 1px rgb(0 0 0 / .08);
}
.panel-mock small { display: block; font-size: 11.5px; color: #98989D; }
.pm-head { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; font-size: 15px; }
.live { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 11px; background: rgb(255 69 58 / .16); color: #FF453A; font-size: 11px; font-weight: 600; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: #FF453A; animation: breathe 2.4s ease-in-out infinite; }
.pm-now { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: rgb(255 255 255 / .06); }
.pm-text { flex: 1; }
.tile { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; flex: none; }
.tile.green { background: #1ED760; }
.tile svg { width: 22px; height: 22px; fill: none; stroke: #111; stroke-width: 1.4; }
.tile svg circle { fill: #111; }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; margin-right: 4px; }
.bars i { width: 3px; height: 3px; border-radius: 1.5px; background: #FF453A; animation: bounce .9s ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: -.3s; }
.bars i:nth-child(3) { animation-delay: -.6s; }
.pm-row { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px; }
.pm-label { font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #98989D; }
.pm-value { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }

.pm-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 30px;
  margin: 0;
  padding: 0 3px;
  border-radius: 15px;
  background:
    linear-gradient(180deg, #FF6A55, #FF453A) 0 0 / calc(30px + (100% - 30px) * var(--v)) 100% no-repeat,
    rgb(255 255 255 / .1);
  cursor: pointer;
  touch-action: pan-y;
}
.pm-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .25), 0 2px 8px rgb(0 0 0 / .15); border: 0; }
.pm-slider::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .25), 0 2px 8px rgb(0 0 0 / .15); border: 0; }
.pm-slider:focus-visible { outline: none; box-shadow: 0 0 0 3px rgb(255 69 58 / .4); }

.pm-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 2px; border-radius: 9px; background: rgb(255 255 255 / .1); }
.pm-presets button { height: 24px; border: 0; border-radius: 7px; background: none; color: #98989D; font: 500 12px var(--font); cursor: pointer; }
.pm-presets button:hover { color: #F5F5F7; }
.pm-presets button.on { background: rgb(255 255 255 / .16); color: #F5F5F7; }
.pm-option { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px; }
.pm-option b { font-weight: 500; }
.switch { width: 32px; height: 19px; padding: 2px; border-radius: 10px; background: rgb(255 255 255 / .1); }
.switch i { display: block; width: 15px; height: 15px; border-radius: 50%; background: #fff; }

/* The two lanes: the voice shrinks with the slider, the music stays. */
.lanes { width: 100%; display: flex; flex-direction: column; gap: 22px; }
.lanes-title { font-size: .8125rem; font-weight: 600; color: var(--secondary); }
.lane { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 16px; }
.lane-name { font-size: .8125rem; font-weight: 500; color: var(--secondary); }
.wave { display: flex; align-items: center; gap: 3px; height: 64px; }
.wave i { flex: 1; min-width: 2px; height: var(--h); border-radius: 3px; }
.vocals .wave { transform: scaleY(max(var(--v-out), .04)); opacity: calc(.2 + .8 * var(--v-out)); transition: transform .25s var(--ease), opacity .25s; }
.vocals .wave i { background: linear-gradient(#FF6A55, var(--accent)); }
.vocals .lane-name { color: var(--accent-text); }
.music .wave i { background: var(--text); opacity: .78; }
.hint { font-size: .875rem; color: var(--tertiary); transition: opacity .5s var(--ease); }
.hint.gone { opacity: 0; }
.hint::before { content: "← "; }
@media (max-width: 820px) { .hint { text-align: center; } .hint::before { content: "↑ "; } }

/* ---- Stats ---- */

.tally { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 24px; padding-block: 8px; }
.tally span { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: .8125rem; color: var(--secondary); }
.tally b { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1; font-weight: 700; letter-spacing: -.04em; color: var(--text); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .tally { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- Sections ---- */

main > section { margin-top: var(--section); }
.sechead { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.sechead p { color: var(--secondary); font-size: 1.1875rem; max-width: 52ch; }
.sechead.center { align-items: center; text-align: center; margin-inline: auto; }

.card { padding: 32px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.card p { margin-top: 8px; color: var(--secondary); font-size: 1rem; }

.steps, .features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; }
.num { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: .9375rem; }
.features .ico { margin-bottom: 28px; color: var(--accent); }
@media (max-width: 860px) { .steps, .features { grid-template-columns: 1fr; } }

/* ---- Pricing ---- */

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; gap: 16px; }
.plan { display: flex; flex-direction: column; gap: 24px; padding: 36px; border-radius: 28px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.plan h3 { font-size: 1.0625rem; color: var(--secondary); }
.plan.featured { background: var(--raised); box-shadow: inset 0 0 0 1.5px var(--accent), 0 24px 60px -24px var(--glow); }
.plan.featured h3 { color: var(--accent-text); }
.price { font-size: 3.5rem; line-height: 1; font-weight: 700; letter-spacing: -.045em; }
.price small { font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em; color: var(--secondary); }
.plan ul { flex: 1; }
.plan .btn { width: 100%; }
.plan li b { color: var(--text); font-weight: 600; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

ul.dots { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
ul.dots li { position: relative; padding-left: 28px; color: var(--secondary); }
ul.dots li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ---- First launch ---- */

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 104px); align-items: start; }
.split .sechead { position: sticky; top: 112px; margin-bottom: 0; }
.split .sechead .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .sechead { position: static; } }

.guide { counter-reset: step; list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.guide li { counter-increment: step; position: relative; padding: 22px 24px 22px 72px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); color: var(--secondary); }
.guide li b { color: var(--text); font-weight: 600; }
.guide li::before { content: counter(step); position: absolute; left: 22px; top: 20px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: .875rem; }

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

.acc { display: flex; flex-direction: column; max-width: 780px; margin-inline: auto; }
.acc details { border-top: 1px solid var(--border); }
.acc details:last-child { border-bottom: 1px solid var(--border); }
.acc summary { display: flex; align-items: center; gap: 16px; padding-block: 22px; }
.acc .answer { padding-bottom: 24px; color: var(--secondary); max-width: 62ch; }

details > summary { list-style: none; cursor: pointer; font-weight: 600; letter-spacing: -.015em; }
details > summary::-webkit-details-marker { display: none; }
details > summary .t { flex: 1; font-size: 1.125rem; line-height: 1.3; }
details > summary::after { content: ''; width: 14px; height: 14px; margin-left: auto; flex: none; color: var(--tertiary); background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform .35s var(--ease); }
details[open] > summary::after { transform: rotate(135deg); }
details::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
details[open]::details-content { block-size: auto; }
details[open] .answer { animation: fade .45s .05s var(--ease) both; }

/* ---- Closing band ---- */

.final { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: clamp(64px, 9vw, 112px) var(--gutter); border-radius: 36px; background: #0B0B0C; color: #F5F5F7; }
.final::before { content: ''; position: absolute; left: 50%; bottom: -60%; width: 90%; height: 100%; transform: translateX(-50%); background: radial-gradient(closest-side, rgb(255 69 58 / .4), transparent); filter: blur(20px); }
.final > * { position: relative; }
.final .eyebrow { color: #FF6A5E; }
.final p:not(.eyebrow) { color: #A1A1A6; font-size: 1.1875rem; max-width: 44ch; }
.final .ctas { justify-content: center; margin-top: 12px; }
.final .btn.ghost { background: rgb(255 255 255 / .1); color: #F5F5F7; box-shadow: none; }

/* ---- Footer ---- */

footer { margin-top: var(--section); padding-block: 32px 56px; border-top: 1px solid var(--border); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer .brand { font-size: .9375rem; margin-right: auto; }
footer .logo { width: 22px; height: 22px; border-radius: 6px; }
footer a:not(.brand) { text-decoration: none; color: var(--secondary); font-size: .875rem; transition: color .2s; }
footer a:hover { color: var(--text); }
footer .fineprint { margin-top: 20px; font-size: .8125rem; color: var(--tertiary); }

/* ---- Motion ---- */

@keyframes fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes breathe { 50% { opacity: .35; } }
@keyframes bounce { 0%, 100% { height: 3px; } 50% { height: 12px; } }
[data-rise] { animation: rise .9s calc(var(--i, 0) * 80ms) var(--ease) both; }
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---- Thank-you page ---- */

.thanks { padding-top: clamp(48px, 9vw, 112px); }
.thanks .sechead { margin-bottom: 48px; }
.thanks h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.thanks-icon { width: 88px; height: 88px; margin-bottom: 8px; }
.thanks .guide { max-width: 680px; margin-inline: auto; }
.thanks-note { margin-top: 32px; text-align: center; color: var(--secondary); }

/* ---- Privacy and terms ---- */

.doc-page { padding-top: clamp(40px, 7vw, 88px); }
.doc { max-width: 720px; margin-inline: auto; display: flex; flex-direction: column; gap: 16px; }
.doc h1 { font-size: clamp(2.5rem, 6vw, 3.75rem); margin-top: 4px; }
.doc .lede { margin-bottom: 16px; }
.doc h2 { font-size: 1.375rem; letter-spacing: -.02em; margin-top: 28px; }
.doc p, .doc li { color: var(--secondary); }
.doc strong { color: var(--text); font-weight: 600; }
.doc ul { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 8px; }
.doc a { color: var(--accent-text); }
