/* ─── Fonts & Base ─── */
:root {
  --forest: #1e3520;
  --forest-mid: #2d4e2e;
  --amber: #c8853a;
  --amber-light: #e8a85a;
  --cream: #f5f0e8;
  --cream-dark: #ede6d8;
  --espresso: #1c1208;
  --warm-gray: #6b5f50;
  --light-border: rgba(30, 53, 32, 0.15);
  --card-shadow: 0 2px 16px rgba(28, 18, 8, 0.08);
  --card-shadow-hover: 0 6px 32px rgba(28, 18, 8, 0.14);
}

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

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

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

/* ─── Typography ─── */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--forest);
}

h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

p { color: var(--warm-gray); font-size: 1rem; line-height: 1.7; }

em { font-style: italic; color: var(--amber); }

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

/* ─── HERO ─── */
.hero {
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
}

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

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(200, 133, 58, 0.12);
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

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

.hero-sub {
  font-size: 1.1rem;
  color: var(--warm-gray);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat { text-align: left; }

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--warm-gray);
  margin-top: 0.2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--light-border);
}

/* Card stack (right side) */
.hero-card-stack {
  position: relative;
  height: 420px;
}

.hero-card {
  position: absolute;
  background: white;
  border-radius: 1rem;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--light-border);
  width: 88%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.hero-card-1 { top: 0; left: 0; }
.hero-card-2 { top: 70px; right: 0; }
.hero-card-3 { top: 170px; left: 10px; }
.hero-card-4 { top: 270px; right: 20px; }

.card-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}

.card-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.card-text strong {
  font-size: 0.92rem;
  color: var(--forest);
  font-weight: 600;
}

.card-text span {
  font-size: 0.78rem;
  color: var(--warm-gray);
  line-height: 1.4;
}

/* ─── FEATURES ─── */
.features {
  background: white;
  padding: 6rem 2rem;
}

.features-header {
  max-width: 1200px;
  margin: 0 auto 3.5rem;
}

.features-header .section-title {
  max-width: 500px;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--cream);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--light-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  color: var(--forest);
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--warm-gray);
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  background: var(--forest);
  padding: 6rem 2rem;
}

.testimonials-header {
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.testimonials-header .section-title {
  color: white;
}

.testimonials-header .section-eyebrow {
  color: var(--amber-light);
}

.testimonials-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
}

.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--amber);
  margin-bottom: -0.5rem;
}

.quote-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
}

.author-info span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

/* ─── PRICING ─── */
.pricing {
  background: var(--cream);
  padding: 6rem 2rem;
}

.pricing-header {
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.pricing-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid var(--light-border);
  box-shadow: var(--card-shadow);
  position: relative;
}

.pricing-card-featured {
  background: var(--forest);
  border-color: var(--forest);
}

.pricing-card-featured .pricing-tier-label,
.pricing-card-featured .price-amount,
.pricing-card-featured .price-period,
.pricing-card-featured .pricing-annual,
.pricing-card-featured .pricing-features li {
  color: white;
}

.pricing-card-featured .pricing-annual {
  color: var(--amber-light);
}

.pricing-card-featured .pricing-features li {
  color: rgba(255,255,255,0.8);
}

.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-tier-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 0.75rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
}

.price-period {
  font-size: 0.85rem;
  color: var(--warm-gray);
}

.pricing-annual {
  font-size: 0.8rem;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.pricing-features li {
  font-size: 0.88rem;
  color: var(--warm-gray);
  padding-left: 1.4rem;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}

.pricing-card-featured .pricing-features li::before {
  color: var(--amber-light);
}

.pricing-footer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--warm-gray);
  margin-top: 2.5rem;
}

/* ─── MANIFESTO ─── */
.manifesto {
  background: var(--cream-dark);
  padding: 6rem 2rem;
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-rule {
  width: 60px;
  height: 3px;
  background: var(--amber);
  margin: 0 auto 2.5rem;
}

.manifesto-rule-bottom {
  margin: 2.5rem auto 0;
}

.manifesto-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--forest);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.manifesto-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--warm-gray);
  max-width: 640px;
  margin: 0 auto;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--espresso);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: white;
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-meta p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-align: right;
}

.footer-copy {
  margin-top: 0.4rem;
}

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

  .hero-card-stack {
    height: 360px;
  }

  .hero-card {
    width: 92%;
  }

  .hero-stats {
    gap: 1rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-meta p {
    text-align: center;
  }

  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .hero-card-stack {
    height: 300px;
  }

  .hero-card-4 {
    display: none;
  }

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