:root {
  --paper: #faf8f4;
  --paper-2: #f2eee6;
  --paper-3: #efeae0;
  --ink: #1e2b27;
  --ink-soft: #5c6b65;
  --ink-faint: #8a948f;
  --sage: #3f6f5b;
  --sage-deep: #2f5446;
  --sage-soft: #e8f0eb;
  --gold: #c98a3f;
  --line: #e4ded3;
  --card: #ffffff;
  --maxw: 1120px;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --sh-sm: 0 2px 8px rgba(30,43,39,.06);
  --sh-md: 0 18px 40px -24px rgba(30,43,39,.28);
  --sh-lg: 0 40px 80px -40px rgba(30,43,39,.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 760px; }

/* ---------- Header (sticky, blur on scroll) ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 28px;
  transition: background .25s, box-shadow .25s, border-color .25s, padding .25s;
  border-bottom: 1px solid transparent;
}
.site-head.scrolled {
  background: rgba(250, 248, 244, .82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line);
  box-shadow: var(--sh-sm);
  padding: 12px 28px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-family: var(--serif); font-size: 21px; color: var(--ink); }
.brand-name b { color: var(--sage); font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav > a { color: var(--ink-soft); font-size: 14.5px; transition: color .15s; }
.site-nav > a:hover { color: var(--sage); }
.lang { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--card); }
.lang a { font-size: 12px; font-weight: 600; color: var(--ink-faint); padding: 4px 10px; border-radius: 999px; transition: background .15s, color .15s; }
.lang a.on { background: var(--sage); color: #fff; }

/* ---------- Reveal / grow animations ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.cohort-grid .cohort:nth-child(2) { transition-delay: .07s; }
.cohort-grid .cohort:nth-child(3) { transition-delay: .14s; }
.cohort-grid .cohort:nth-child(4) { transition-delay: .21s; }
.steps li:nth-child(2) { transition-delay: .08s; }
.steps li:nth-child(3) { transition-delay: .16s; }
.grow { display: block; width: 0; height: 100%; border-radius: 999px; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 18px auto 10px;
  padding: 40px 28px 76px;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 56px;
  align-items: center;
}
.hero-bg { position: absolute; inset: -40px -10% auto -10%; height: 120%; z-index: -1; pointer-events: none; }
.hero-bg span {
  position: absolute; border-radius: 50%; filter: blur(54px); opacity: .55;
  animation: float 14s ease-in-out infinite alternate;
}
.hero-bg span:nth-child(1) { width: 460px; height: 460px; left: 2%; top: -8%; background: radial-gradient(circle, #d8ece1, transparent 70%); }
.hero-bg span:nth-child(2) { width: 420px; height: 420px; right: 4%; top: 4%; background: radial-gradient(circle, #f3e6cf, transparent 70%); animation-delay: -5s; }
.hero-bg span:nth-child(3) { width: 360px; height: 360px; left: 38%; bottom: -10%; background: radial-gradient(circle, #e7efe9, transparent 70%); animation-delay: -9s; }
@keyframes float { to { transform: translate3d(3%, -4%, 0) scale(1.08); } }

.pill {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--sage-deep); background: var(--sage-soft);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(40px, 6.4vw, 70px); line-height: 1.02; margin: 0 0 22px; color: var(--ink); }
.hero h1 em { font-style: italic; color: var(--sage); }
.lede { font-size: clamp(16px, 2vw, 18.5px); color: var(--ink-soft); max-width: 30em; margin: 0 0 28px; }

.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 26px; }
.btn { display: inline-flex; align-items: center; font-size: 15.5px; font-weight: 600; padding: 13px 26px; border-radius: 11px; transition: transform .12s ease, background .2s, box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { color: #fff; background: var(--sage); box-shadow: 0 12px 26px -12px rgba(47,84,70,.65); }
.btn-primary:hover { background: var(--sage-deep); box-shadow: 0 16px 34px -12px rgba(47,84,70,.7); }
.btn-link { color: var(--sage-deep); padding: 13px 0; }
.btn-link:hover { color: var(--sage); }

.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 8px; margin: 0; padding: 0; }
.trust li {
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; box-shadow: var(--sh-sm);
}
.trust li::before { content: "✓ "; color: var(--sage); }

/* ---------- Stat card ---------- */
.stat { position: relative; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px 32px 30px; box-shadow: var(--sh-lg); }
.stat-cap { font-size: 12px; letter-spacing: .03em; color: var(--ink-faint); display: inline-flex; align-items: center; gap: 7px; margin-bottom: 16px; }
.stat-cap::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgba(63,111,91,.14); }
.stat-pct { font-family: var(--serif); font-size: clamp(58px, 9vw, 88px); line-height: 1; color: var(--sage); font-weight: 600; letter-spacing: -.02em; }
.stat-desc { font-size: 19px; color: var(--ink); margin-top: 6px; }
.stat-meta { font-size: 13.5px; color: var(--ink-faint); margin-top: 4px; }
.stat-bar { margin-top: 20px; height: 9px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.stat-bar .grow { background: linear-gradient(90deg, var(--sage), #6fae93); }
.stat-spark { display: flex; align-items: flex-end; gap: 6px; height: 46px; margin-top: 20px; }
.stat-spark i { flex: 1; background: var(--sage-soft); border-radius: 4px 4px 0 0; min-height: 12%; }
.stat-spark i:last-child { background: var(--sage); }

/* ---------- Bands ---------- */
.band { padding: 72px 0; border-top: 1px solid var(--line); }
.band.unlock { background: var(--paper); }
.band.dist { background: var(--paper-2); border-top-color: var(--paper-3); }
.band.compare { background: var(--paper); }
.band.principles { background: linear-gradient(180deg, var(--sage-deep), #28473b); color: #eaf3ee; border-top: none; }
.band.faq-sec { background: var(--paper-2); }
.sec-title { font-size: clamp(26px, 3.6vw, 38px); color: inherit; margin: 0 0 10px; }
.sec-sub { color: var(--ink-soft); font-size: 17px; max-width: 44em; margin: 0 0 8px; }
.cap { font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 26px; }
.cap::before { content: "◔ "; color: var(--gold); }

/* ---------- Cohort cards ---------- */
.cohort-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cohort { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--sh-sm); transition: transform .18s ease, box-shadow .2s; }
.cohort:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.cohort-top { display: flex; align-items: baseline; justify-content: space-between; }
.cohort-pct { font-family: var(--serif); font-size: 38px; color: var(--sage); font-weight: 600; line-height: 1; }
.cohort-n { font-size: 11.5px; color: var(--ink-faint); }
.cohort-label { font-size: 15px; color: var(--ink); margin: 10px 0 2px; font-weight: 600; }
.cohort-meta { font-size: 12.5px; color: var(--ink-faint); margin: 0 0 14px; }
.mini-bar { height: 6px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.mini-bar .grow { background: var(--sage); }

/* ---------- Distribution chart ---------- */
.dist-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.chart { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; box-shadow: var(--sh-md); }
.chart-row { display: grid; grid-template-columns: 130px 1fr 46px; align-items: center; gap: 14px; padding: 9px 0; }
.chart-label { font-size: 13.5px; color: var(--ink-soft); }
.chart-track { height: 14px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.chart-track .grow { background: linear-gradient(90deg, var(--sage), #7bb79b); }
.chart-val { font-size: 13.5px; font-weight: 600; color: var(--sage-deep); text-align: right; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: none; }
.step-n { font-family: var(--serif); font-size: 38px; color: var(--sage); opacity: .5; }
.steps h3 { font-size: 21px; margin: 0 0 6px; color: var(--ink); }
.steps p { margin: 0; color: var(--ink-soft); max-width: 46em; }

/* ---------- Comparison ---------- */
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--sh-sm); }
.cmp-head { padding: 16px 22px; font-weight: 700; font-size: 14px; }
.cmp-head.cmp-them { background: var(--paper-2); color: var(--ink-soft); }
.cmp-head.cmp-us { background: var(--sage); color: #fff; font-family: var(--serif); }
.cmp-cell { background: var(--card); padding: 15px 22px; font-size: 14.5px; }
.cmp-cell.them { color: var(--ink-soft); }
.cmp-cell.them::before { content: "✕"; color: #c08; opacity: .5; margin-right: 9px; font-size: 12px; }
.cmp-cell.us { color: var(--ink); }
.cmp-cell.us::before { content: "✓"; color: var(--sage); font-weight: 700; margin-right: 9px; }

/* ---------- Principles (dark sage band) ---------- */
.band.principles .sec-title { color: #fff; }
.ple { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; }
.ple li { position: relative; padding-left: 34px; color: #eaf3ee; font-size: 16px; }
.ple li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 23px; height: 23px; display: grid; place-items: center; font-size: 12px; color: var(--sage-deep); background: #d9ece1; border-radius: 50%; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; box-shadow: var(--sh-sm); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 18px; padding: 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 14px; font-size: 22px; color: var(--sage); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { color: var(--ink-soft); padding: 0 0 18px; font-size: 15.5px; }

/* ---------- Final CTA ---------- */
.final { text-align: center; padding: 80px 0; }
.final h2 { font-size: clamp(28px, 4.4vw, 44px); color: var(--ink); margin: 0 0 12px; }
.final-sub { color: var(--ink-soft); font-size: 18px; margin: 0 0 26px; }
.final .micro { font-size: 12.5px; color: var(--ink-faint); margin-top: 18px; }

/* ---------- Doc / legal / CMS ---------- */
.doc { max-width: 760px; margin: 30px auto; padding: 0 28px 56px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 44px); color: var(--ink); }
.updated { color: var(--ink-faint); font-size: 13px; }
.prose { color: var(--ink); }
.prose :is(h2, h3) { color: var(--ink); margin-top: 1.7em; }
.prose a { color: var(--sage-deep); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--paper); }
.foot-inner { max-width: var(--maxw); margin: 0 auto; padding: 40px 28px; }
.disclaimer { color: var(--ink-soft); font-size: 13px; max-width: 60em; margin: 0 0 18px; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.foot-links a { color: var(--ink-soft); font-size: 14px; }
.foot-links a:hover { color: var(--sage); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.copy { color: var(--ink-faint); font-size: 12.5px; margin: 0; }
.beat { display: inline-flex; align-items: baseline; gap: 8px; color: var(--ink-soft); transition: color .15s; }
.beat:hover { color: var(--sage); }
.beat #beatclock { font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Consolas, monospace; font-size: 14px; font-weight: 600; color: var(--sage-deep); letter-spacing: .02em; }
.beat small { font-size: 11px; color: var(--ink-faint); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .stat { order: 2; }
  .cohort-grid { grid-template-columns: repeat(2, 1fr); }
  .dist-wrap { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .site-nav { gap: 12px; }
  .site-nav > a { display: none; }
  .cohort-grid { grid-template-columns: 1fr; }
  .cmp { grid-template-columns: 1fr; }
  .cmp-head.cmp-them { display: none; }
  .ple { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 52px 1fr; gap: 14px; }
  .chart-row { grid-template-columns: 96px 1fr 42px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .grow { transition: none; }
  .hero-bg span { animation: none; }
}
