:root {
  --bg: #0B1220;
  --surface: #141C2E;
  --surface-2: #1A2438;
  --cream: #F3EDE3;
  --muted: #A8B0C2;
  --gold: #F0B429;
  --gold-hover: #F7C44A;
  --gold-ink: #0B1220;
  --teal: #2EC4B6;
  --teal-hover: #4AD4C8;
  --line: rgba(243, 237, 227, 0.10);
  --line-strong: rgba(243, 237, 227, 0.16);
  --warn: #F0B429;
  --warn-bg: #241C0A;
  --warn-line: rgba(240, 180, 41, 0.35);
  --radius: 20px;
  --radius-sm: 16px;
  --max: 1160px;
  --font-ui: "Outfit", "Segoe UI", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  --glow-gold: 0 8px 28px rgba(240, 180, 41, 0.22);
  --glow-teal: 0 8px 28px rgba(46, 196, 182, 0.16);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--cream);
  background:
    radial-gradient(900px 520px at 88% 6%, rgba(240, 180, 41, 0.13), transparent 58%),
    radial-gradient(720px 460px at 8% 42%, rgba(46, 196, 182, 0.08), transparent 55%),
    radial-gradient(640px 400px at 70% 88%, rgba(46, 196, 182, 0.05), transparent 60%),
    var(--bg);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); }

a:hover { color: var(--teal-hover); }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--gold);
  color: var(--gold-ink);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 40;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus { top: 12px; }

.banner {
  background: var(--warn-bg);
  color: var(--cream);
  text-align: center;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 600;
  border-bottom: 1px solid var(--warn-line);
}

.wrap, .bar {
  width: min(var(--max), calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
}

.site-header.is-frosted {
  background: rgba(11, 18, 32, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.site-header .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 12px 24px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
  color: var(--cream);
  text-decoration: none;
}

.logo:hover { color: var(--cream); }

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(243, 237, 227, 0.08);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a:hover { color: var(--cream); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 56px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3, .lufs, .price-label, .once {
  font-family: var(--font-display);
  font-optical-sizing: auto;
}

h1, h2 {
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 3.55rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  font-weight: 600;
  color: var(--cream);
  max-width: 14ch;
}

.sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 36rem;
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  min-height: 48px;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--glow-gold);
}

.btn:hover {
  background: var(--gold-hover);
  color: var(--gold-ink);
}

.btn:focus-visible,
.play:focus-visible,
.wave-btn:focus-visible,
details summary:focus-visible,
.nav a:focus-visible,
.logo:focus-visible,
footer a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn.ghost {
  background: transparent;
  color: var(--teal);
  border-color: rgba(46, 196, 182, 0.55);
  box-shadow: none;
}

.btn.ghost:hover {
  background: rgba(46, 196, 182, 0.12);
  color: var(--teal-hover);
  border-color: var(--teal);
}

.btn.placeholder { cursor: default; }

.note {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(240, 180, 41, 0.08);
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  min-height: 360px;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 18, 32, 0.05) 40%, rgba(11, 18, 32, 0.42) 100%),
    linear-gradient(90deg, rgba(11, 18, 32, 0.18), transparent 28%);
  pointer-events: none;
}

section { padding: 56px 0; scroll-margin-top: 84px; }

h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--cream);
}

.lead {
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 42rem;
}

.grid,
.steps,
.presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card,
.step,
.preset {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  box-shadow: inset 0 1px 0 rgba(243, 237, 227, 0.04);
}

.card h3,
.step h3,
.preset h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.card p,
.step p,
.preset p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Before / after */
.demo-stage {
  display: grid;
  gap: 20px;
}

.demo-visual {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #070B14;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 32px rgba(46, 196, 182, 0.06);
}

.demo-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.demo-visual figcaption,
.app-shot figcaption,
.privacy-visual figcaption {
  margin: 0;
  padding: 12px 16px 14px;
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--surface);
}

.demo-board {
  background:
    linear-gradient(180deg, rgba(26, 36, 56, 0.96), var(--surface) 40%);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: 0 20px 18px;
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(243, 237, 227, 0.08),
    0 0 40px rgba(240, 180, 41, 0.05);
}

.console-rail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.console-dots,
.window-dots {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.console-dots i,
.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
  background: #3A4558;
}

.console-dots i:nth-child(1),
.window-dots i:nth-child(1) { background: #F0B429; }
.console-dots i:nth-child(2),
.window-dots i:nth-child(2) { background: #C9A227; }
.console-dots i:nth-child(3),
.window-dots i:nth-child(3) { background: #2EC4B6; }

.console-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.clip { padding: 12px 0 14px; }

.clip + .clip {
  border-top: 1px solid var(--line);
  margin-top: 4px;
}

.clip-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.clip-head strong { font-size: 0.95rem; font-weight: 700; }

.chip {
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  color: var(--muted);
  background: rgba(11, 18, 32, 0.65);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 9px;
  font-weight: 600;
}

.clip[data-player="before"] .chip {
  color: var(--gold);
  border-color: rgba(240, 180, 41, 0.35);
  background: rgba(240, 180, 41, 0.08);
}

.clip[data-player="after"] .chip {
  color: var(--teal);
  border-color: rgba(46, 196, 182, 0.35);
  background: rgba(46, 196, 182, 0.08);
}

.clip-head .play { margin-left: auto; }

.play {
  background: rgba(46, 196, 182, 0.12);
  color: var(--teal);
  border: 1px solid rgba(46, 196, 182, 0.28);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 14px;
  min-height: 40px;
  min-width: 84px;
  cursor: pointer;
  font-family: inherit;
}

.clip[data-player="before"] .play {
  background: rgba(240, 180, 41, 0.12);
  color: var(--gold);
  border-color: rgba(240, 180, 41, 0.28);
}

.play:hover { filter: brightness(1.12); }

.play[aria-pressed="true"] {
  background: var(--teal);
  color: var(--gold-ink);
  border-color: transparent;
}

.clip[data-player="before"] .play[aria-pressed="true"] {
  background: var(--gold);
  color: var(--gold-ink);
}

.wave-row {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 96px;
  background: #070B14;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(243, 237, 227, 0.06);
}

.wave-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 12px 14px;
  margin: 0;
  cursor: pointer;
  display: block;
  width: 100%;
  position: relative;
}

.wave-btn img { width: 100%; height: 72px; object-fit: fill; }
.wave-after { width: 47.8%; flex: 0 0 47.8%; }
.wave-after img { width: 100%; height: 72px; object-fit: fill; }

.remainder {
  flex: 1 1 auto;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(240, 180, 41, 0.05),
      rgba(240, 180, 41, 0.05) 6px,
      rgba(240, 180, 41, 0.12) 6px,
      rgba(240, 180, 41, 0.12) 12px
    );
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 650;
  padding: 8px;
  line-height: 1.3;
  border-left: 1px dashed rgba(240, 180, 41, 0.28);
}

.progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: rgba(240, 180, 41, 0.22);
  pointer-events: none;
  border-right: 0;
}

.progress.is-on { border-right: 2px solid var(--gold); }

.clip[data-player="after"] .progress {
  background: rgba(46, 196, 182, 0.22);
}

.clip[data-player="after"] .progress.is-on {
  border-right-color: var(--teal);
}

.caption {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Steps */
.step .num {
  display: inline-block;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
  font-family: var(--font-ui);
}

.app-shot {
  margin: 28px 0 0;
}

.window {
  background: var(--surface-2);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), 0 0 40px rgba(46, 196, 182, 0.06);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.window-title {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  padding-right: 36px;
}

.window img {
  width: 100%;
  height: auto;
  background: #f3f1eb;
}

/* Presets */
.preset { position: relative; }

.preset .lufs {
  font-size: 2.35rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 4px 0 6px;
  font-variant-numeric: tabular-nums;
  color: var(--cream);
}

.preset.is-default {
  border-color: rgba(46, 196, 182, 0.55);
  box-shadow: inset 0 0 0 1px rgba(46, 196, 182, 0.35), 0 0 28px rgba(46, 196, 182, 0.12);
}

.preset.is-default .lufs { color: var(--teal); }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-ink);
  background: var(--teal);
  border-radius: 999px;
  padding: 3px 8px;
  margin-bottom: 8px;
  font-family: var(--font-ui);
}

/* Privacy */
.privacy {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.privacy-copy .lead { max-width: none; }

.privacy-visual {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.privacy-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.checks { list-style: none; margin: 8px 0 0; padding: 0; }

.checks li {
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--cream);
}

.checks li:last-child { border-bottom: 0; }

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}

/* Price placeholder */
.price-box {
  background: var(--surface);
  border: 2px dashed var(--warn-line);
  border-radius: 24px;
  padding: 28px 24px;
  max-width: 38rem;
}

.price-label {
  display: inline-block;
  background: var(--warn-bg);
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  border: 1px solid var(--warn-line);
}

.price-box .once {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--cream);
}

.suggestion {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-radius: 14px;
  padding: 12px 14px;
  color: #E8D7A8;
  font-size: 0.92rem;
  margin: 0 0 16px;
}

.suggestion strong { color: var(--gold); }

/* Requirements */
.reqs {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.reqs th, .reqs td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.reqs th {
  width: 28%;
  color: var(--cream);
  font-weight: 650;
  background: var(--surface-2);
}

.reqs td { color: var(--muted); }

.reqs tr:last-child th,
.reqs tr:last-child td { border-bottom: 0; }

.na { color: var(--gold); font-weight: 700; }

/* FAQ */
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 16px;
  margin: 10px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
  color: var(--cream);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  float: right;
  color: var(--teal);
  font-weight: 700;
}

.faq details[open] summary::after { content: "–"; }

.faq details p { margin: 0 0 14px; color: var(--muted); }

.faq code {
  font-size: 0.92em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--cream);
}

.licenses { color: var(--muted); font-size: 0.95rem; }
.licenses h2 { color: var(--cream); }
.licenses p { max-width: 48rem; }

footer {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding: 32px 0 56px;
  color: var(--muted);
  font-size: 0.92rem;
}

footer p { margin: 0 0 8px; }

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 14px;
}

footer nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

footer nav a:hover { color: var(--cream); }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0 40px;
  }

  h1 { max-width: none; }

  .hero-visual img { min-height: 0; aspect-ratio: 16 / 10; }

  .grid, .steps, .presets, .privacy {
    grid-template-columns: 1fr;
  }

  .demo-visual img { aspect-ratio: 16 / 9; }
}

@media (max-width: 720px) {
  .wrap, .bar { width: calc(100% - 32px); }

  .site-header .bar { padding: 12px 0; }

  .logo img { width: 32px; height: 32px; }

  .nav { flex-basis: 100%; gap: 8px 14px; }
  .nav a { font-size: 0.9rem; }

  .ctas .btn { flex: 1 1 100%; }

  .remainder { font-size: 0.72rem; padding: 6px; }

  section { padding: 36px 0; }

  .reqs th, .reqs td { display: block; width: 100%; }
  .reqs th { padding-bottom: 4px; border-bottom: 0; }

  .price-box .btn { width: 100%; }

  h1 { font-size: 2.05rem; }

  .window-title { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .progress { border-right-width: 0; }
  .site-header { transition: none; }
}
