:root {
  --bg: #0c0a09;
  --bg-elevated: #1c1917;
  --bg-card: #292524;
  --fg: #fafaf9;
  --fg-muted: #a8a29e;
  --accent: #f59e0b;
  --accent-dim: #b45309;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1120px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--space-md);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--accent-dim);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: var(--space-md);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  max-width: 700px;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.hero-pulse {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 12px var(--accent);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.pulse-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

.hero-visual {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  display: flex;
  align-items: flex-end;
  z-index: 1;
}

.beat-line {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  width: 100%;
  padding: 0 var(--space-md);
  overflow: hidden;
}

.beat {
  flex: 1;
  background: linear-gradient(to top, var(--accent-dim), var(--accent));
  border-radius: 3px 3px 0 0;
  height: 30px;
  opacity: 0.3;
  animation: beatPulse 1.6s ease-in-out infinite;
}

.beat-2 { height: 55px; animation-delay: 0.2s; opacity: 0.5; }
.beat-3 { height: 80px; animation-delay: 0.4s; opacity: 0.7; }
.beat-4 { height: 100px; animation-delay: 0.6s; opacity: 1; }
.beat-5 { height: 70px; animation-delay: 0.8s; opacity: 0.6; }
.beat-6 { height: 45px; animation-delay: 1.0s; opacity: 0.4; }
.beat-7 { height: 85px; animation-delay: 1.2s; opacity: 0.8; }
.beat-8 { height: 35px; animation-delay: 1.4s; opacity: 0.35; }

@keyframes beatPulse {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.3); }
}

/* === RHYTHM (PROBLEM) === */
.rhythm {
  padding: var(--space-2xl) var(--space-md);
  background: var(--bg-elevated);
}

.rhythm-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.rhythm-label,
.how-label,
.numbers-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.rhythm h2,
.how h2,
.numbers h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 680px;
  margin-bottom: var(--space-lg);
}

.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.rhythm-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: var(--space-md);
  transition: border-color 0.3s;
}

.rhythm-card:hover {
  border-color: var(--accent-dim);
}

.rhythm-icon {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: var(--space-sm);
}

.rhythm-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.rhythm-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === HOW === */
.how {
  padding: var(--space-2xl) var(--space-md);
}

.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.how-step {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md) 0;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 60px;
  text-align: center;
  padding-top: 4px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.step-content p {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 560px;
}

.how-divider {
  height: 1px;
  background: linear-gradient(to right, var(--accent-dim), transparent);
  margin-left: 80px;
}

/* === NUMBERS === */
.numbers {
  padding: var(--space-2xl) var(--space-md);
  background: var(--bg-elevated);
}

.numbers-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.number-block {
  text-align: left;
}

.number-val {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.number-desc {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* === CLOSING === */
.closing {
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}

.closing-inner {
  max-width: 720px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.closing-sub {
  color: var(--fg-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* === FOOTER === */
.site-footer {
  padding: var(--space-lg) var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}

.footer-copy {
  color: var(--fg-muted);
  font-size: 0.85rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .rhythm-grid {
    grid-template-columns: 1fr;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg) var(--space-md);
  }

  .how-step {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .step-num {
    text-align: left;
    min-width: auto;
  }

  .how-divider {
    margin-left: 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: var(--space-2xl);
    padding-bottom: 160px;
  }
}

@media (max-width: 480px) {
  .numbers-grid {
    grid-template-columns: 1fr;
  }
}