:root {
  --bg-deep: #080c14;
  --bg-section: #0b1120;
  --bg-card: #111827;
  --fg: #e8e0d6;
  --fg-muted: #a89b8c;
  --fg-dim: #6b5f52;
  --accent: #c9956b;
  --accent-light: #dbb08a;
  --accent-glow: rgba(201, 149, 107, 0.12);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

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

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

body {
  background: var(--bg-deep);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 50% 45%, rgba(201,149,107,0.06) 0%, transparent 70%),
    var(--bg-deep);
}

.hero-inner {
  max-width: 720px;
  text-align: center;
}

.hero-kicker {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 2rem;
}

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

.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.hero-waveform {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  opacity: 0.5;
}

.hero-waveform svg {
  width: 100%;
  height: 40px;
}

.wave-line {
  animation: wavePulse 4s ease-in-out infinite;
}

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

/* ---- HERO CTA ---- */
.hero-cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.9rem 2.5rem;
  background: var(--accent);
  color: #080c14;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: opacity 0.2s, transform 0.15s;
}
.hero-cta:hover { opacity: 0.88; }
.hero-cta:active { transform: scale(0.98); }

/* ---- HOW IT WORKS ---- */
.how {
  padding: 8rem 2rem;
  background: var(--bg-section);
}

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

.section-label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3.5rem;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.step {
  position: relative;
}

.step-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}

.step h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* ---- THEMES ---- */
.themes {
  padding: 8rem 2rem;
  background: var(--bg-deep);
}

.themes-inner {
  max-width: 960px;
  margin: 0 auto;
}

.themes h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 3.5rem;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.theme-card {
  background: var(--bg-card);
  border: 1px solid rgba(201,149,107,0.08);
  border-radius: 12px;
  padding: 2rem 1.25rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.theme-card:hover {
  border-color: rgba(201,149,107,0.25);
  transform: translateY(-2px);
}

.theme-icon {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.5;
  display: block;
  margin-bottom: 1rem;
}

.theme-card h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.6rem;
}

.theme-card p {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ---- CLOSING ---- */
.closing {
  padding: 8rem 2rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 80%, rgba(201,149,107,0.05) 0%, transparent 70%),
    var(--bg-section);
  text-align: center;
}

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

.closing blockquote {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 3.5rem;
  padding: 0 1rem;
  border-left: 2px solid var(--accent);
  text-align: left;
}

.attribution {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--fg-dim);
  display: block;
  margin-top: 0.5rem;
}

.closing-text {
  font-size: 1.1rem;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.closing-bold {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--fg);
  margin-top: 2rem;
}

/* ---- FOOTER ---- */
.site-footer {
  padding: 3rem 2rem;
  background: var(--bg-deep);
  border-top: 1px solid rgba(201,149,107,0.06);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-mark {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent);
}

.footer-sep {
  width: 1px;
  height: 14px;
  background: var(--fg-dim);
  opacity: 0.3;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-dim);
  font-weight: 300;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .how-steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .theme-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .theme-grid .theme-card:last-child {
    grid-column: 1 / -1;
  }

  .hero {
    padding: 4rem 1.5rem 3rem;
    min-height: 90vh;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .how, .themes, .closing {
    padding: 5rem 1.5rem;
  }
}

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

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-lede {
    font-size: 0.95rem;
  }
}