/* === Base === */
:root {
  --bg: #FDFCFA;
  --bg-alt: #F4F0EB;
  --text: #1A1814;
  --text-muted: #6B6560;
  --accent: #C97D0A;
  --accent-warm: #E8A93A;
  --border: #E2DCD4;
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 250, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-word {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* === Hero === */
.hero {
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 2.5rem;
}

.hero-proof {
  display: inline-block;
}

.proof-line {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  font-style: italic;
}

/* Hook visual */
.hook-visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hook-block {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  transition: transform 0.2s;
}

.hook-block.secondary {
  border-left: 3px solid var(--accent);
  transform: translateX(12px);
}

.hook-block.tertiary {
  transform: translateX(24px);
  opacity: 0.75;
}

.hook-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.75rem;
}

.hook-lines {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.line {
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  display: block;
}

.line.active { background: var(--text); width: 40px; }
.line.short { width: 24px; }

.suggested-hook {
  display: flex;
  align-items: center;
}

.cursor {
  display: inline-block;
  width: 8px;
  height: 20px;
  background: var(--accent);
  border-radius: 2px;
  animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}

.waveform span {
  display: block;
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  height: var(--h, 12px);
}

.waveform span:nth-child(1) { --h: 8px; }
.waveform span:nth-child(2) { --h: 16px; }
.waveform span:nth-child(3) { --h: 12px; }
.waveform span:nth-child(4) { --h: 20px; }
.waveform span:nth-child(5) { --h: 14px; }
.waveform span:nth-child(6) { --h: 18px; }
.waveform span:nth-child(7) { --h: 10px; }
.waveform span:nth-child(8) { --h: 6px; }

.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 4rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* === Section Labels === */
.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* === Features === */
.features {
  padding: 5rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.feature-card.tall {
  grid-row: span 1;
}

.feature-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === How It Works === */
.how-it-works {
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
}

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.step:last-child { border-bottom: none; }

.step-num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
}

.step-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 560px;
}

/* === Voice Section === */
.voice-section {
  padding: 5rem 2rem;
  background: var(--text);
  color: var(--white);
}

.voice-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.voice-section .section-label {
  color: var(--accent-warm);
}

.voice-headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.voice-headline em {
  font-style: italic;
  color: var(--accent-warm);
}

.voice-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.voice-body em { color: rgba(255,255,255,0.9); font-style: italic; }

/* Comparison bars */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.compare-col { display: flex; flex-direction: column; gap: 0.75rem; }

.compare-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.25rem;
}

.compare-col.right .compare-label { color: var(--accent-warm); }

.compare-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bar-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  width: 80px;
  flex-shrink: 0;
}

.bar-fill {
  height: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  display: block;
  width: 60px;
}

.bar-fill.full { background: rgba(255,255,255,0.3); }

.compare-col.right .bar-fill { width: 90px; }
.compare-col.right .bar-fill.full { background: var(--accent); }

/* === Closing === */
.closing-section {
  padding: 6rem 2rem 5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

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

.closing-statement {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.closing-quote {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.closing-quote blockquote {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

/* === Footer === */
.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.25rem;
  color: var(--text);
}

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

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-headline {
    font-size: 3rem;
  }

  .hook-visual {
    max-width: 360px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .voice-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .step-num {
    font-size: 1.5rem;
  }

  .footer-inner {
    text-align: left;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4rem 1.5rem 3rem;
  }

  .features, .how-it-works, .voice-section, .closing-section {
    padding: 4rem 1.5rem;
  }

  .header-inner {
    padding: 1rem 1.5rem;
  }
}