:root {
  --bg: #0f0f11;
  --surface: #18181b;
  --surface-2: #222226;
  --fg: #f4f4f5;
  --fg-muted: #a1a1aa;
  --fg-dim: #71717a;
  --accent: #F59E0B;
  --accent-dim: #B45309;
  --border: #27272a;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; line-height: 1.1; }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15,15,17,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero */
.hero { padding: 80px 24px 100px; }
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
}
.hero-headline {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 460px;
}
.hero-stats {
  display: flex;
  gap: 32px;
}
.stat { display: flex; flex-direction: column; }
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 12px; color: var(--fg-dim); line-height: 1.3; }

/* Hero visual */
.hero-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.track-block { margin-bottom: 20px; }
.track-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.wave-line {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
  margin-bottom: 8px;
}
.wave-line span {
  flex: 1;
  background: var(--surface-2);
  border-radius: 2px;
  height: 100%;
}
.wave-line span:nth-child(1) { height: 30%; }
.wave-line span:nth-child(2) { height: 60%; }
.wave-line span:nth-child(3) { height: 45%; }
.wave-line span:nth-child(4) { height: 80%; }
.wave-line span:nth-child(5) { height: 55%; }
.wave-line span:nth-child(6) { height: 70%; }
.wave-line span:nth-child(7) { height: 40%; }
.wave-line span:nth-child(8) { height: 90%; }

.track-desc { font-size: 13px; color: var(--fg-dim); }

.arrow-block {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.arrow-block span { font-size: 13px; color: var(--accent); font-weight: 500; }

.stems-grid { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.stem { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--fg-muted); }
.stem span { width: 52px; flex-shrink: 0; }
.stem-bar {
  flex: 1;
  height: 6px;
  background: var(--surface-2);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.stem-bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--fill, 65%);
  background: var(--accent);
  border-radius: 3px;
}
.stem:nth-child(1) .stem-bar { --fill: 80%; }
.stem:nth-child(2) .stem-bar { --fill: 55%; }
.stem:nth-child(3) .stem-bar { --fill: 70%; }
.stem:nth-child(4) .stem-bar { --fill: 60%; }
.stem:nth-child(5) .stem-bar--final { --fill: 100%; background: var(--accent-dim); }
.stem:nth-child(5) .stem-bar--final::after { background: var(--accent); }

.track-block--output .track-label { color: var(--accent); }

/* Sections */
.section-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}
.section-headline {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

/* How It Works */
.hiw { padding: 80px 24px; border-top: 1px solid var(--border); }
.hiw-inner { max-width: 1100px; margin: 0 auto; }
.steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
.step { padding-right: 24px; }
.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}
.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.step-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }
.step-connector {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin-top: 36px;
  flex-shrink: 0;
}

/* Features */
.features { padding: 80px 24px; border-top: 1px solid var(--border); background: var(--surface); }
.features-inner { max-width: 1100px; margin: 0 auto; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 32px 28px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--surface-2); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(245,158,11,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.feature-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.65; }

/* Testimonials */
.testimonials { padding: 80px 24px; border-top: 1px solid var(--border); }
.testimonials-inner { max-width: 1100px; margin: 0 auto; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.quote {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.attribution { display: flex; flex-direction: column; gap: 4px; }
.attr-name { font-size: 14px; font-weight: 600; color: var(--fg); }
.attr-result { font-size: 12px; color: var(--accent); }

/* Manifesto */
.manifesto {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.manifesto-inner { max-width: 720px; margin: 0 auto; }
.manifesto-headline {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.manifesto-body p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.manifesto-body strong { color: var(--fg); }

/* Closing */
.closing { padding: 100px 24px; border-top: 1px solid var(--border); text-align: center; }
.closing-inner { max-width: 640px; margin: 0 auto; }
.closing-headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.closing-sub { font-size: 17px; color: var(--fg-muted); line-height: 1.6; }
.closing-sub:last-of-type { margin-top: 12px; }

/* Footer */
.site-footer {
  padding: 32px 24px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}
.footer-desc { font-size: 13px; color: var(--fg-dim); max-width: 300px; }
.footer-links { font-size: 13px; color: var(--fg-dim); }

/* Responsive */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { order: -1; }
  .hero-headline { font-size: 44px; }
  .hero-stats { gap: 20px; }
  .stat-number { font-size: 24px; }
  .steps-row { grid-template-columns: 1fr; gap: 0; }
  .step-connector { display: none; }
  .step { padding-right: 0; padding-bottom: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 20px; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 20px 64px; }
  .hero-stats { flex-wrap: wrap; }
}