/* ─────────────────────────────────────────────────────────
   Re-Root Edu Hub — Landing Page
   ───────────────────────────────────────────────────────── */

:root {
  /* Palette: Forest (default) */
  --bg: #f6f1e3;
  --bg-2: #efe7d2;
  --surface: #fbf7ec;
  --ink: #1e2a23;
  --ink-2: #3d4a40;
  --ink-3: #6b746a;
  --line: #d9cfb4;
  --accent: #2f5d4a;
  --accent-2: #c97a52;
  --accent-3: #d9a85b;
  --shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 18px 40px -24px rgba(31,42,35,.35);

  /* Type */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, system-ui, sans-serif;

  /* Density */
  --pad-sec: clamp(72px, 9vw, 128px);
  --pad-x: clamp(20px, 5vw, 72px);
  --gap-1: 12px;
  --gap-2: 20px;
  --gap-3: 32px;
  --gap-4: 56px;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
}

/* Palette variants */
.palette-forest {
  --bg: #f6f1e3; --bg-2: #efe7d2; --surface: #fbf7ec;
  --ink: #1e2a23; --ink-2: #3d4a40; --ink-3: #6b746a;
  --line: #d9cfb4; --accent: #2f5d4a; --accent-2: #c97a52; --accent-3: #d9a85b;
}
.palette-clay {
  --bg: #f4ece1; --bg-2: #ead8c0; --surface: #fbf4e7;
  --ink: #2a1d14; --ink-2: #4a342a; --ink-3: #7a6356;
  --line: #d9bd9a; --accent: #9a4a2a; --accent-2: #c98a3a; --accent-3: #5a7048;
}
.palette-ink {
  --bg: #ecebe5; --bg-2: #ddd9cc; --surface: #f4f2ea;
  --ink: #14110b; --ink-2: #2a261c; --ink-3: #6a6558;
  --line: #c8c3b0; --accent: #14110b; --accent-2: #b8521e; --accent-3: #a08a4c;
}

/* Dark mode */
.dark {
  --bg: #14201b;
  --bg-2: #1c2a23;
  --surface: #1a2620;
  --ink: #f0e8d2;
  --ink-2: #c6c1ab;
  --ink-3: #8d8a78;
  --line: #2b3a31;
  --accent: #8dbb9d;
  --accent-2: #d99772;
  --accent-3: #d9b878;
}

/* Density */
.density-compact { --pad-sec: clamp(48px, 6vw, 88px); --gap-3: 22px; --gap-4: 36px; }
.density-comfy   { --pad-sec: clamp(96px, 12vw, 168px); --gap-3: 40px; --gap-4: 72px; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; }
button { font-family: inherit; }

/* ── Reusable elements ────────────────────────────────── */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--ink);
  margin: 0;
}
.h1 { font-size: clamp(44px, 7.2vw, 96px); line-height: 1.02; letter-spacing: -0.025em; }
.h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.02em; }
.h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.18; }
.h4 { font-size: 18px; font-family: var(--font-body); font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0; color: var(--ink-2); text-wrap: pretty; }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }

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

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  appearance: none;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  padding: 14px 22px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent); }

.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

.btn-sm { font-size: 13px; padding: 9px 16px; }

.btn .arrow {
  width: 14px; height: 14px;
  display: inline-block;
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ── Nav ──────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 60%, transparent);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad-x);
  max-width: 1240px;
  margin: 0 auto;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.brand small {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-left: 4px;
  margin-top: 6px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
  position: relative;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px;
  height: 1px; background: var(--accent); transition: right .25s ease;
}
.nav-links a:hover::after { right: 0; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-menu { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-menu {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
  }
  .nav-cta .btn:not(.btn-primary) { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 200;
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  transition: transform .3s ease;
}
.drawer.open { transform: translateY(0); }
.drawer-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.drawer-links {
  display: flex; flex-direction: column;
  padding: 24px var(--pad-x);
  gap: 4px;
}
.drawer-links a {
  font-family: var(--font-display);
  font-size: 28px;
  text-decoration: none;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in oklab, var(--line) 50%, transparent);
}
.drawer-cta { padding: 24px var(--pad-x); display: flex; flex-direction: column; gap: 12px; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  padding: clamp(32px, 4vw, 56px) 0 clamp(48px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: word-in .8s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero h1 .word:nth-child(2) { animation-delay: .08s; }
.hero h1 .word:nth-child(3) { animation-delay: .16s; }
.hero h1 .word:nth-child(4) { animation-delay: .24s; }
.hero h1 .word:nth-child(5) { animation-delay: .32s; }
.hero h1 .word.script {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--accent);
}
@keyframes word-in {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  margin-top: 28px;
  max-width: 52ch;
  opacity: 0;
  animation: word-in .8s .42s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: word-in .8s .52s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-meta {
  margin-top: 36px;
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  flex-wrap: nowrap;
  opacity: 0;
  animation: word-in .8s .62s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-meta .stat {
  display: flex; flex-direction: column; gap: 2px;
  border-left: 1px solid var(--line);
  padding-left: 16px;
  flex-shrink: 0;
}
.hero-meta .stat b {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
}
.hero-meta .stat span { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }

.hero-art {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 700px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 1/1; max-width: 400px; margin: 0 auto; order: -1; }
  .hero { padding-top: 24px; }
}

/* ── Section primitives ──────────────────────────────── */
section { padding: var(--pad-sec) 0; }
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(20px, 5vw, 64px);
  align-items: end;
  margin-bottom: var(--gap-4);
}
.sec-head .sec-meta { display: flex; flex-direction: column; gap: 16px; }

@media (max-width: 760px) {
  .sec-head { grid-template-columns: 1fr; gap: 18px; }
}

/* ── Philosophy ───────────────────────────────────────── */
.philosophy { background: var(--bg-2); }
.tri-words {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(24px, 3.5vw, 52px) 0;
}
.tri-word {
  position: relative;
  text-align: center;
}
.tri-word .num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.tri-word .word {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.05;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--ink);
  display: block;
  margin-top: 12px;
}
.tri-word .word .dot {
  color: var(--accent-2);
}
.tri-word p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-2);
}
@media (max-width: 760px) {
  .tri-words { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }
}

/* ── Programs ─────────────────────────────────────────── */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.program-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.program-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--accent) 60%, var(--line));
  box-shadow: var(--shadow);
}
.program-card .badge {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.program-card h3 { margin-top: 4px; }
.program-card .ill { height: 140px; width: 100%; display: flex; align-items: center; justify-content: center; }
.program-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.program-card li {
  font-size: 14px; color: var(--ink-2); padding-left: 22px; position: relative;
}
.program-card li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 12px; height: 1px; background: var(--accent);
}
.program-card .card-cta {
  margin-top: auto;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding-top: 12px; border-top: 1px solid var(--line);
}
.program-card .card-cta:hover { color: var(--accent); }
.program-card .card-cta:hover .arrow { transform: translateX(3px); }
.arrow { transition: transform .2s ease; display: inline-block; }

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

/* ── Process / How a session works ─────────────────────── */
.process { background: var(--ink); color: var(--bg); }
.process h2, .process .eyebrow { color: var(--bg); }
.process .eyebrow { color: var(--accent-3); }
.process .eyebrow::before { background: var(--accent-3); }
.process p { color: color-mix(in oklab, var(--bg) 75%, transparent); }

.process-steps {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.process-steps::before {
  content: ""; position: absolute; top: 38px; left: 5%; right: 5%;
  height: 1px; background: color-mix(in oklab, var(--bg) 22%, transparent);
  z-index: 0;
}
.proc {
  position: relative;
  padding-top: 0;
}
.proc .nodebox {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.proc .node {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.proc .step-label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-3); font-weight: 600;
}
.proc h4 { color: var(--bg); margin-bottom: 8px; font-family: var(--font-display); font-weight: 500; font-size: 22px; }
.proc p { font-size: 14px; }

@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr; gap: 28px; }
  .process-steps::before { display: none; }
}

/* ── Founder ─────────────────────────────────────────── */
.founder-grid {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.founder-sticky {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
}
.founder-photo {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.founder-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.founder-photo .tag {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.founder-photo .tag .sig {
  font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.founder-photo .tag small {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
  display: block;
}

.founder-body { display: flex; flex-direction: column; gap: 18px; }
.founder-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  font-variation-settings: "SOFT" 100;
  border-left: 2px solid var(--accent-2);
  padding-left: 20px;
}
.creds {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.cred {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px;
  background: var(--surface);
}
.cred b { font-family: var(--font-display); font-size: 16px; color: var(--ink); display: block; font-weight: 500; }
.cred span { font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; }

@media (max-width: 700px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-sticky { position: static; }
  .creds { grid-template-columns: 1fr 1fr; }
}

/* ── Pricing ─────────────────────────────────────────── */
.pricing { background: var(--bg-2); }
.pricing-hd {
  margin-bottom: 28px;
}
.price-toggle-sub {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-3);
  max-width: 60ch;
}
.price-toggle {
  display: flex;
  width: fit-content;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 4px;
  margin-top: 24px;
}
.price-toggle button {
  appearance: none; border: 0; background: transparent;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
  white-space: nowrap;
}
.price-toggle button.active {
  background: var(--ink); color: var(--bg);
}
@media (max-width: 640px) {
  .price-toggle { width: 100%; border-radius: 14px; }
  .price-toggle button { flex: 1; text-align: center; font-size: 11px; padding: 8px 10px; }
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 44px;
}
@media (max-width: 600px) {
  .price-grid { grid-template-columns: 1fr; }
}

.price-categories {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 5vw, 72px);
}
.price-cat {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.price-cat:first-child { border-top: 0; padding-top: 0; }
.price-cat-hd { margin-bottom: 8px; }
.price-cat-flag {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-size: 22px;
}
.price-cat-flag span {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  padding: 3px 8px;
  border-radius: 999px;
}
.price-cat .h3 {
  font-size: clamp(22px, 2vw, 28px);
}

.price-includes {
  margin-top: clamp(48px, 5vw, 72px);
  padding: clamp(28px, 3vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}
.price-includes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 28px;
}
.price-includes-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-2);
}
.price-includes-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--accent);
  font-weight: 600;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: transform .25s ease, border-color .25s ease;
}
.price-card:hover { transform: translateY(-3px); }
.price-card.featured {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 24px 50px -28px color-mix(in oklab, var(--accent) 60%, transparent);
}
.price-card.featured::before {
  content: "Most chosen";
  position: absolute;
  top: -10px; left: 24px;
  background: var(--accent);
  color: var(--bg);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* What's included block */
.price-description {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 72ch;
  margin-top: 12px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.price-whats-included {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  margin-bottom: 32px;
}
.price-whats-included h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.price-whats-included ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 32px;
}
.price-whats-included li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 20px;
  position: relative;
}
.price-whats-included li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* Price card meta row */
.price-card-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.price-card-meta span {
  font-size: 12px;
  color: var(--ink-3);
  background: var(--bg-2);
  padding: 3px 8px;
  border-radius: 999px;
}

.price-card .plan-name { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--ink); }
.price-card .plan-best { font-size: 12px; color: var(--ink-3); margin-top: -8px; }
.price-card .price {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 8px;
  line-height: 1;
}
.price-card .price small { font-family: var(--font-body); font-size: 14px; color: var(--ink-3); font-weight: 400; margin-left: 4px; }
.price-card .effective { font-size: 12px; color: var(--ink-3); }
.price-card ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; }
.price-card li { font-size: 13px; color: var(--ink-2); padding-left: 18px; position: relative; }
.price-card li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-size: 12px;
}
.price-card .btn { margin-top: auto; width: 100%; justify-content: center; }
.dark .price-card.featured { box-shadow: 0 24px 50px -28px color-mix(in oklab, var(--accent) 90%, transparent); }

/* ── Testimonials ───────────────────────────────────── */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial .quote-mark {
  font-family: var(--font-display);
  font-size: 56px;
  font-style: italic;
  line-height: 0.5;
  color: var(--accent-2);
}
.testimonial p {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
}
.testimonial .who {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.testimonial .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 16px; color: var(--ink); font-weight: 500;
}
.testimonial .who b { display: block; font-size: 14px; color: var(--ink); font-weight: 500; }
.testimonial .who span { font-size: 12px; color: var(--ink-3); }

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

/* ── FAQ ─────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  cursor: pointer;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.faq-q h4 { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--ink); }
.faq-toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s ease, transform .25s ease;
}
.faq-item.open .faq-toggle { background: var(--ink); color: var(--bg); transform: rotate(45deg); border-color: var(--ink); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s cubic-bezier(.2,.8,.2,1), margin-top .25s ease;
  color: var(--ink-2);
  max-width: 70ch;
}
.faq-item.open .faq-a { max-height: 400px; margin-top: 12px; }

/* ── Resources ───────────────────────────────────────── */
.resources-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}
.resource {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, border-color .2s ease;
}
.resource:hover { transform: translateY(-3px); border-color: var(--accent); }
.resource.feature { grid-row: span 1; }
.resource .ill { aspect-ratio: 16/10; border-radius: var(--r); overflow: hidden; background: var(--bg-2); display: flex; align-items: center; justify-content: center; }
.resource .cat { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.resource h4 { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--ink); }
.resource .meta { font-size: 12px; color: var(--ink-3); margin-top: auto; }
@media (max-width: 900px) { .resources-grid { grid-template-columns: 1fr; } }

/* ── Newsletter ──────────────────────────────────────── */
.newsletter {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.newsletter h2 { color: var(--bg); }
.newsletter h2 .italic-accent { color: var(--accent-3); }
.newsletter p { color: color-mix(in oklab, var(--bg) 70%, transparent); }
.newsletter form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.newsletter input {
  flex: 1; min-width: 0;
  background: color-mix(in oklab, var(--bg) 10%, transparent);
  border: 1px solid color-mix(in oklab, var(--bg) 25%, transparent);
  color: var(--bg);
  padding: 14px 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
}
.newsletter input::placeholder { color: color-mix(in oklab, var(--bg) 50%, transparent); }
.newsletter input:focus { border-color: var(--accent-3); }
.newsletter button {
  background: var(--bg); color: var(--ink); border: none;
  border-radius: 999px;
  padding: 14px 22px;
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  transition: background .2s ease;
}
.newsletter button:hover { background: var(--accent-3); }
.newsletter .note { font-size: 12px; color: color-mix(in oklab, var(--bg) 45%, transparent); margin-top: 12px; }
.newsletter .art {
  position: relative;
  height: 220px;
  display: flex; align-items: center; justify-content: center;
}


/* ── Contact CTA ─────────────────────────────────────── */
.contact-cta {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 32px;
  color: var(--ink-3);
  font-size: 14px;
}
.contact-meta div {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

/* ── Footer ──────────────────────────────────────────── */
footer.foot {
  background: var(--bg-2);
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
}
.foot-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.foot-top .brand-mark { height: 44px; }
.foot-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-bottom: 28px;
}
.foot-nav a {
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .2s ease;
}
.foot-nav a:hover { color: var(--ink); }
.foot-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-3); flex-wrap: wrap; gap: 12px;
}
.foot-bot a { color: var(--ink-3); text-decoration: none; }
.foot-bot a:hover { color: var(--ink); }

/* ── Compact first 3 sections ────────────────────────── */
.philosophy,
#programs {
  padding: clamp(48px, 5.5vw, 80px) 0;
}

/* ═══════════════════════════════════════════════════════════
   Responsive — tablet & mobile patches
   ═══════════════════════════════════════════════════════════ */

/* ── Tablet (701 – 900px) ─────────────────────────────── */
@media (min-width: 701px) and (max-width: 900px) {
  /* Programs & Resources: 2-col grids (3 cards → 2+1, which is standard) */
  .programs-grid  { grid-template-columns: repeat(2, 1fr); }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }

  /* Process: 2×2 grid so 4 steps fit tidily in two rows */
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  /* Pricing: 2-col cards */
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .price-whats-included ul { grid-template-columns: repeat(2, 1fr); }

  /* Promises: 1-col on tablet (cards are wide enough; avoids 2+1 orphan) */
  /* test-grid stays 1fr from the 900px rule */

  /* sec-head: reduce gap so heading + copy don't crowd */
  .sec-head { gap: clamp(16px, 3vw, 36px); }
}

/* ── Mobile (≤ 700px) ────────────────────────────────── */
@media (max-width: 700px) {
  /* Heading scale */
  .h1 { font-size: clamp(34px, 9vw, 44px); }
  .h2 { font-size: clamp(28px, 7.5vw, 36px); }

  /* Nav — hide CTA button; drawer has its own */
  .nav-cta .btn { display: none; }

  /* Hero */
  .hero-sub { margin-top: 18px; }
  .hero-cta { flex-direction: column; margin-top: 24px; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-meta { gap: 12px; margin-top: 28px; flex-wrap: wrap; }
  .hero-meta .stat { flex-shrink: 1; }
  .hero-meta .stat b { font-size: 20px; }

  /* sec-head: single column below 700px */
  .sec-head { grid-template-columns: 1fr; gap: 16px; }

  /* Philosophy */
  .tri-word .word { font-size: clamp(36px, 9vw, 60px); }
  .tri-words { grid-template-columns: 1fr; }

  /* Programs */
  .programs-grid { grid-template-columns: 1fr; }
  .program-card .ill { height: 110px; }

  /* Process — single column */
  .process-steps { grid-template-columns: 1fr; gap: 28px; }
  .process-steps::before { display: none; }
  .proc .node { width: 48px; height: 48px; font-size: 18px; }

  /* Founder — stack, disable sticky */
  .founder-grid { grid-template-columns: 1fr; }
  .founder-sticky { position: static; }
  .founder-photo { aspect-ratio: 4/5; }
  .creds { grid-template-columns: repeat(2, 1fr); }

  /* Pricing toggle — wrap text inside buttons */
  .price-toggle { width: 100%; border-radius: var(--r); }
  .price-toggle button { flex: 1; white-space: normal; line-height: 1.3; padding: 8px 10px; font-size: 11px; text-align: center; }
  .price-grid { grid-template-columns: 1fr; }
  .price-whats-included ul { grid-template-columns: 1fr; }
  .price-includes { padding: 20px 18px; }
  .price-includes-list { grid-template-columns: 1fr; }

  /* FAQ */
  .faq-q h4 { font-size: 17px; }

  /* Newsletter */
  .newsletter { grid-template-columns: 1fr; padding: 28px 20px; border-radius: var(--r-lg); }
  .newsletter .art { display: none; }
  .newsletter form { flex-direction: column; }
  .newsletter input  { border-radius: 12px; }
  .newsletter button { border-radius: 12px; width: 100%; }

  /* Contact CTA button — full width */
  .contact-cta .btn { width: 100%; justify-content: center; }
}

/* ── Small mobile (≤ 480px) ──────────────────────────── */
@media (max-width: 480px) {
  /* Pricing tabs — stack vertically so long labels are readable */
  .price-toggle { flex-direction: column; }
  .price-toggle button { flex: none; width: 100%; border-radius: calc(var(--r) - 4px); font-size: 12px; padding: 10px 16px; }

  /* Hero art — smaller on very small screens */
  .hero-art { max-width: 200px; max-height: 200px; }
}

/* ── Very small mobile (≤ 400px) ─────────────────────── */
@media (max-width: 400px) {
  .brand small { display: none; }
}

/* ── Scroll reveal ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1; transform: translateY(0);
}

/* ── Hero illustration animation ─────────────────────── */
@keyframes sway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}
@keyframes grow {
  from { stroke-dashoffset: 1000; }
  to { stroke-dashoffset: 0; }
}
@keyframes float-up {
  0% { transform: translateY(8px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.grow-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: grow 2.4s 0.3s cubic-bezier(.6,.05,.3,.95) forwards;
}
.leaf-pop {
  opacity: 0;
  transform-origin: center;
  animation: float-up .8s cubic-bezier(.2,.7,.2,1) forwards;
}
