:root {
  --bg: #09060d;
  --bg-2: #130c1a;
  --bg-3: #1c1324;
  --line: rgba(246, 239, 232, 0.1);
  --ink: #f6efe8;
  --soft: #bdb2c6;
  --hot: #ff4d2e;
  --pink: #ff2e88;
  --gold: #ffc857;
  --gutter: clamp(16px, 5vw, 72px);
  --max: 1240px;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--hot); color: #160500; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--bg-3) var(--bg); }
a { color: inherit; }
img, canvas, svg { display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(34px, 5vw, 64px); }
h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
.hot { color: var(--hot); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
  background: rgba(9, 6, 13, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 20px var(--display); }
.brand-mark { width: 30px; height: 30px; color: var(--hot); }
.nav nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.nav nav a { text-decoration: none; color: var(--soft); font-weight: 500; font-size: 15px; transition: color 0.2s; }
.nav nav a:hover { color: var(--ink); }
.nav .nav-cta { color: var(--ink); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; }
.nav .nav-cta:hover { border-color: var(--hot); }
@media (max-width: 760px) { .nav nav a:not(.nav-cta) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 16px var(--body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.25s var(--ease), background 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-hot { background: var(--hot); color: #1a0500; }
.btn-hot:hover { background: #ff6a4f; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(246, 239, 232, 0.28); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-xl { min-height: 64px; padding: 0 36px; font-size: 18px; }
.btn .ic-pause, .btn[aria-pressed="true"] .ic-play { display: none; }
.btn[aria-pressed="true"] .ic-pause { display: block; }

/* Hero */
.hero {
  position: relative; max-width: var(--max); margin: 0 auto;
  min-height: calc(100svh - 64px);
  display: grid; align-items: center;
  padding: clamp(40px, 8vh, 96px) var(--gutter);
}
.hero-ring {
  position: absolute; right: -4vw; top: 50%;
  width: min(46vw, 680px); height: min(46vw, 680px);
  transform: translateY(-50%); pointer-events: none;
}
.hero-copy { position: relative; max-width: min(680px, 54vw); }
h1 { font-size: clamp(44px, 6.2vw, 92px); }
@media (max-width: 900px) { .hero-copy { max-width: none; } }
.lead { margin: 28px 0 36px; max-width: 46ch; font-size: clamp(17px, 1.4vw, 20px); color: var(--soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts { list-style: none; padding: 0; margin: 48px 0 0; display: flex; gap: clamp(24px, 4vw, 56px); }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts b { font: 800 clamp(28px, 3vw, 40px) var(--display); color: var(--gold); line-height: 1; }
.hero-facts span { font-size: 14px; color: var(--soft); margin-top: 8px; }
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-ring { position: relative; order: 2; right: auto; top: auto; transform: none; width: 100%; height: auto; aspect-ratio: 1; max-width: 520px; margin: 24px auto 0; }
}

/* Hear */
.hear { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 12vh, 140px) var(--gutter); }
.hear-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: end; margin-bottom: 40px; }
.hear-head p { color: var(--soft); max-width: 44ch; }
@media (max-width: 820px) { .hear-head { grid-template-columns: 1fr; } }
.console { background: var(--bg-2); border: 1px solid var(--line); border-radius: 28px; padding: clamp(18px, 3vw, 32px); }
.console-top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.btn-play { background: var(--ink); color: var(--bg); }
.btn-play:hover { background: #fff; }
.ab { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.ab button { border: 0; background: none; color: var(--soft); font: 700 15px var(--body); padding: 12px 22px; border-radius: 999px; cursor: pointer; transition: background 0.25s var(--ease), color 0.2s; }
.ab button[aria-checked="true"] { background: var(--hot); color: #1a0500; }
.ab button[data-mode="stock"][aria-checked="true"] { background: var(--bg-3); color: var(--ink); }
.readout { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; }
.readout .lbl { font-size: 13px; color: var(--soft); }
.readout b { font: 600 22px var(--display); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .readout { margin-left: 0; align-items: flex-start; } }
.spectrum { width: 100%; height: clamp(180px, 28vw, 300px); margin-top: 24px; }
.bands { display: grid; grid-template-columns: 1.1fr 1fr 1.6fr 1fr; margin-top: 10px; font-size: 13px; color: var(--soft); }
.bands span:not(:first-child) { border-left: 1px solid var(--line); padding-left: 10px; }

/* Features */
.features { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: clamp(64px, 10vh, 120px); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.feature.flip .feature-copy { order: 2; }
.feature-copy p { color: var(--soft); margin-top: 18px; max-width: 46ch; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature.flip .feature-copy { order: 0; } }
.feature-art { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }

.art-car .dash { width: 82%; aspect-ratio: 16 / 9; border-radius: 18px; background: #050307; border: 1px solid var(--line); padding: 4%; }
.dash-screen { height: 100%; display: flex; flex-direction: column; gap: 6%; }
.dash-bar { display: flex; gap: 4%; }
.dash-bar i { height: 12px; flex: 1; border-radius: 999px; background: var(--bg-3); }
.dash-bar i.w { flex: 2; background: var(--hot); }
.dash-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5%; }
.dash-grid span { border-radius: 10px; background: linear-gradient(135deg, var(--bg-3), #2a1a33); animation: tile 4s var(--ease) infinite; }
.dash-grid span:nth-child(2) { animation-delay: 0.3s; } .dash-grid span:nth-child(3) { animation-delay: 0.6s; }
.dash-grid span:nth-child(4) { animation-delay: 0.9s; } .dash-grid span:nth-child(5) { animation-delay: 1.2s; } .dash-grid span:nth-child(6) { animation-delay: 1.5s; }
@keyframes tile { 0%, 70%, 100% { filter: none; } 80% { filter: brightness(1.8) saturate(1.4); } }

.eq-live { width: 78%; height: 62%; display: flex; align-items: flex-end; gap: 3%; }
.eq-live i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--hot); animation: eq 1.6s var(--ease) infinite alternate; }
.eq-live i:nth-child(2n) { background: var(--pink); }
.eq-live i:nth-child(1) { animation-delay: -0.2s; } .eq-live i:nth-child(2) { animation-delay: -1.1s; } .eq-live i:nth-child(3) { animation-delay: -0.6s; }
.eq-live i:nth-child(4) { animation-delay: -1.4s; } .eq-live i:nth-child(5) { animation-delay: -0.3s; } .eq-live i:nth-child(6) { animation-delay: -0.9s; }
.eq-live i:nth-child(7) { animation-delay: -1.2s; } .eq-live i:nth-child(8) { animation-delay: -0.5s; } .eq-live i:nth-child(9) { animation-delay: -1.5s; } .eq-live i:nth-child(10) { animation-delay: -0.8s; }
@keyframes eq { from { height: 14%; } to { height: 100%; } }

.art-wheel { color: var(--ink); }
.art-wheel svg { width: 52%; animation: steer 6s var(--ease) infinite; }
@keyframes steer { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.art-wheel .key { position: absolute; width: 58px; height: 58px; border-radius: 16px; background: var(--hot); display: grid; place-items: center; animation: press 3s var(--ease) infinite; }
.art-wheel .key svg { width: 26px; animation: none; fill: #1a0500; }
.art-wheel .k1 { left: 14%; top: 20%; } .art-wheel .k2 { right: 14%; bottom: 20%; background: var(--gold); animation-delay: 1.5s; }
@keyframes press { 0%, 80%, 100% { transform: scale(1); } 88% { transform: scale(0.86); } }

/* Modes */
.modes { max-width: var(--max); margin: 0 auto; padding: clamp(96px, 14vh, 160px) var(--gutter) 0; }
.section-lead { color: var(--soft); margin-top: 16px; }
.mode-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.mode { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 8px; transition: transform 0.35s var(--ease), border-color 0.25s; }
.mode:hover { transform: translateY(-4px); border-color: rgba(255, 77, 46, 0.6); }
.mode p { color: var(--soft); font-size: 15px; }
.mode canvas { width: 100%; height: 70px; margin-top: auto; padding-top: 14px; }
.mode.is-star { border-color: var(--hot); background: linear-gradient(180deg, rgba(255, 77, 46, 0.12), var(--bg-2) 60%); }

/* Setup */
.setup { max-width: var(--max); margin: 0 auto; padding: clamp(96px, 14vh, 160px) var(--gutter) 0; }
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--line); padding-top: 22px; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 800 44px var(--display); color: var(--hot); display: block; margin-bottom: 14px; }
.steps p { color: var(--soft); margin-top: 10px; font-size: 16px; }
.steps em { color: var(--ink); font-style: normal; font-weight: 700; }

/* Download */
.download { position: relative; max-width: var(--max); margin: clamp(96px, 14vh, 160px) auto 0; padding: clamp(72px, 12vh, 140px) var(--gutter); text-align: center; overflow: hidden; }
.download-ring { position: absolute; left: 50%; top: 50%; width: min(90vw, 760px); height: min(90vw, 760px); transform: translate(-50%, -50%); opacity: 0.32; pointer-events: none; }
.download-copy { position: relative; display: flex; flex-direction: column; align-items: center; gap: 30px; isolation: isolate; }
.download-copy::before { content: ""; position: absolute; inset: -60px -120px; z-index: -1; background: radial-gradient(closest-side, rgba(9, 6, 13, 0.92), rgba(9, 6, 13, 0)); }
.fine { color: var(--soft); font-size: 14px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; padding: clamp(72px, 12vh, 120px) var(--gutter); }
.faq h2 { margin-bottom: 28px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 24px var(--display); color: var(--hot); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--soft); margin-top: 12px; max-width: 64ch; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 32px var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--soft); font-size: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
