/* =====================
   TOKENS & RESET
   ===================== */
:root {
  --cream: #F7F0E8;
  --cream-dark: #EDE7D8;
  --orange: #D4572A;
  --orange-light: #E87A4F;
  --orange-dark: #B83D1A;
  --green: #2D5A47;
  --green-light: #3D7A60;
  --charcoal: #1A1A1A;
  --ink: #2C2C2C;
  --muted: #7A7A7A;
  --border: #E0D9CE;
  --radius: 16px;
  --radius-sm: 10px;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

/* =====================
   NAV
   ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 240, 232, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--charcoal);
  letter-spacing: -0.5px;
}

.nav-tagline {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  padding: 9px 20px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.15s;
}

.nav-cta:hover { background: var(--orange-dark); }

/* =====================
   HERO
   ===================== */
.hero {
  background: var(--cream);
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 80vh;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  color: var(--charcoal);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.65;
}

/* Hero visual — card stack */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hero-card-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  width: 100%;
}

.hero-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.hero-card-1 { grid-column: 1; grid-row: 1; }
.hero-card-2 { grid-column: 2; grid-row: 1; }
.hero-card-3 { grid-column: 1; grid-row: 2; }
.hero-card-4 { grid-column: 2; grid-row: 2; }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon--green { background: rgba(45, 90, 71, 0.1); color: var(--green); }
.card-icon--orange { background: rgba(212, 87, 42, 0.1); color: var(--orange); }

.card-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--charcoal);
}

.hero-badge {
  margin-top: 20px;
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  align-self: flex-start;
}

/* =====================
   MISSION / QUOTE
   ===================== */
.mission {
  background: var(--charcoal);
  color: #fff;
}

.mission-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
}

.mission-quote {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.mission-quote p {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255,255,255,0.9);
  text-align: center;
}

.mission-quote-mark {
  display: block;
  font-family: var(--font-head);
  font-size: 80px;
  color: var(--orange);
  line-height: 0.5;
  margin-bottom: 24px;
  text-align: center;
}

/* =====================
   SECTION SHARED
   ===================== */
.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  background: var(--cream-dark);
  color: var(--orange);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 46px);
  color: var(--charcoal);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
}

.section-body {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 480px;
}

/* =====================
   MEMBERSHIP TIERS
   ===================== */
.tiers {
  background: var(--cream);
  padding: 100px 0;
}

.tiers-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.tier-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: box-shadow 0.2s;
}

.tier-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.tier-card--premium {
  border-color: var(--orange);
  background: linear-gradient(180deg, #FFF8F5 0%, #fff 60%);
}

.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.tier-header {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.tier-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 28px;
  color: var(--charcoal);
  letter-spacing: -0.5px;
}

.tier-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.tier-price {
  margin-bottom: 28px;
}

.tier-amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 48px;
  color: var(--charcoal);
  letter-spacing: -1px;
}

.tier-period {
  font-size: 14px;
  color: var(--muted);
  margin-left: 4px;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
}

.tier-features li svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--green);
}

/* =====================
   HOW IT WORKS
   ===================== */
.howitworks {
  background: var(--cream-dark);
  padding: 100px 0;
}

.howitworks-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  position: relative;
}

.step-number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 56px;
  color: var(--orange);
  opacity: 0.2;
  letter-spacing: -2px;
  margin-bottom: 16px;
  line-height: 1;
}

.step-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.step-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* =====================
   THE MATH
   ===================== */
.themath {
  background: var(--cream);
  padding: 100px 0;
}

.themath-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.math-block {
  background: var(--charcoal);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.math-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.math-row:last-child {
  border-bottom: none;
}

.math-row--highlight {
  padding-top: 24px;
}

.math-label {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
}

.math-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.math-value--large {
  font-size: 40px;
  color: var(--orange);
  letter-spacing: -1px;
}

.math-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.math-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 28px;
  color: var(--charcoal);
  letter-spacing: -0.5px;
}

.stat-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* =====================
   MANIFESTO
   ===================== */
.manifesto {
  background: var(--green);
  padding: 100px 0;
}

.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.manifesto-content {
  max-width: 720px;
}

.manifesto-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 56px);
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 32px;
}

.manifesto-body p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 20px;
}

.manifesto-body p:last-child {
  margin-bottom: 0;
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: var(--charcoal);
  padding: 48px 0;
}

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

.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  display: block;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  max-width: 280px;
}

.footer-meta p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
    padding: 56px 24px;
  }

  .hero-visual { align-items: flex-start; }

  .tier-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tier-card--premium {
    order: -1;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .themath-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .math-stats {
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 36px; }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step-number { font-size: 40px; }

  .math-stats {
    flex-direction: column;
    gap: 20px;
  }

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

  .footer-tagline { max-width: 100%; }

  .nav-inner { padding: 14px 24px; }

  .tiers-inner,
  .howitworks-inner,
  .themath-inner,
  .mission-inner,
  .manifesto-inner { padding: 0 24px; }

  .tiers, .howitworks, .themath, .manifesto { padding: 72px 0; }
  .mission { padding: 60px 0; }
}