:root {
  --bg: #F8F4E8;
  --fg: #1B2B1E;
  --accent: #D4A853;
  --accent-dark: #B8923A;
  --green: #1B4332;
  --green-light: #2D6A4F;
  --text-muted: #6B7A6E;
  --card-bg: #F2EDE3;
  --border: #E0D9CC;
}

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

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

/* Nav */
.nav {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green);
}
.nav-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* Hero */
.hero {
  padding: 5rem 2rem 4rem;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--green);
  margin-bottom: 1.25rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 440px;
}

/* Hero Card */
.hero-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 24px rgba(27, 67, 50, 0.08);
}
.hero-card-streak {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.streak-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}
.streak-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}
.hero-card-xp {
  margin-bottom: 1.25rem;
}
.xp-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  margin-bottom: 0.4rem;
}
.xp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  border-radius: 3px;
}
.xp-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.routine-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.routine-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.routine-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--fg);
  font-weight: 400;
}
.routine-num {
  width: 20px;
  height: 20px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Section Title */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--green);
  margin-bottom: 3rem;
  line-height: 1.2;
}

/* How It Works */
.how {
  padding: 5rem 2rem;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-inner {
  max-width: 900px;
  margin: 0 auto;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  padding-top: 0.15rem;
}
.step-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.step-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.65;
}

/* Manifesto */
.manifesto {
  padding: 5rem 2rem;
}
.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
}
.manifesto-quote {
  border-left: 3px solid var(--accent);
  padding-left: 2rem;
}
.manifesto-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--green);
  line-height: 1.4;
  margin-bottom: 1rem;
}
.manifesto-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* Features */
.features {
  padding: 5rem 2rem;
  background: var(--green);
}
.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.features .section-title {
  color: var(--bg);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feature {
  padding: 1.5rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
}
.feature-icon {
  margin-bottom: 1rem;
}
.feature h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bg);
  margin-bottom: 0.5rem;
}
.feature p {
  font-size: 0.85rem;
  color: rgba(248, 244, 232, 0.65);
  font-weight: 300;
  line-height: 1.6;
}

/* Closing */
.closing {
  padding: 5rem 2rem;
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 600px;
  margin: 0 auto;
}
.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.closing-sub {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* Footer */
.footer {
  padding: 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 0.25rem;
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual {
    order: -1;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 3rem 1.5rem 2rem;
  }
  .how, .manifesto, .features, .closing {
    padding: 3rem 1.5rem;
  }
}