/* ---------- Design tokens ---------- */
:root {
  --bg: #0e0f12;
  --bg-alt: #15171c;
  --surface: #1c1f26;
  --line: #2a2e37;
  --text: #e8e6e1;
  --text-dim: #9b9a96;
  --accent: #e6b34a;
  --accent-hover: #f2c76a;
  --accent-ink: #17130a;
  --radius: 10px;
  --maxw: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 720px; }
.center { text-align: center; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); margin-bottom: 0.5em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 0.6em; }
h3 { font-size: 1.1rem; margin-bottom: 0.35em; }

.kicker {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9em;
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-dim);
  max-width: 46ch;
  margin-bottom: 1.6em;
}
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 15, 18, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.brand-mark { width: 26px; height: 26px; color: var(--accent); }

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active {
  color: var(--accent);
  background: rgba(230, 179, 74, 0.09);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
  }
  .nav-links.open { display: flex; }
}

/* ---------- Hero ---------- */
.hero { padding: 88px 0 72px; }

.hero-home {
  padding: 0 0 72px;
  text-align: center;
}
.hero-video {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #000;
}
.hero-overlay { padding-top: 40px; }
.hero-overlay .lede { margin-left: auto; margin-right: auto; }
.hero-overlay .cta-row { justify-content: center; }

.hero-product { padding-bottom: 40px; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--text-dim); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }

/* ---------- Feature band (home) ---------- */
.feature-band {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
}
.feature-band-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.feature-band-inner p { color: var(--text-dim); margin-bottom: 1.4em; }

@media (max-width: 820px) {
  .feature-band-inner { grid-template-columns: 1fr; }
}

/* ---------- Waveform illustration ---------- */
.feature-visual, .hero-visual { position: relative; }
.hero-visual { margin-top: 56px; max-width: 760px; }

.waveform {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 120px;
  padding: 0 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.waveform span {
  flex: 1;
  height: 18%;
  background: #4a5160;
  border-radius: 3px;
}
.waveform span:nth-child(2n) { height: 30%; }
.waveform span:nth-child(3n) { height: 12%; }
.waveform span:nth-child(5n) { height: 38%; }
.waveform span.clap {
  height: 82%;
  background: var(--accent);
}

.marker-flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 12px;
}
.card-grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.card p { color: var(--text-dim); font-size: 0.95rem; }

.card-num {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(230, 179, 74, 0.12);
  color: var(--accent);
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 14px;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.badge-live { background: rgba(90, 200, 130, 0.14); color: #7ed9a2; }
.badge-soon { background: rgba(154, 160, 178, 0.14); color: #aab0c0; }

/* ---------- Benefits ---------- */
.benefit-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px 40px;
  margin-top: 12px;
}
.benefit-list p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 12px 0;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  color: var(--accent);
  font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  color: var(--text-dim);
  padding: 0 0 16px;
  font-size: 0.95rem;
}

/* ---------- Beta CTA ---------- */
.beta-cta {
  background:
    radial-gradient(ellipse at 50% 120%, rgba(230, 179, 74, 0.12), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.beta-cta p { color: var(--text-dim); margin-bottom: 1.6em; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.site-footer a {
  color: var(--text-dim);
  text-decoration: none;
  margin-left: 18px;
}
.site-footer a:hover { color: var(--text); }
