/* Layout v2: one idea per screen. Wide margins, large type, a single column for reading, two columns at most. */
:root {
  --bg: #FFFFFF; --ink: #161816; --muted: #5A625C; --line: #E3E9E4;
  --green: #2E8B3D; --green-dark: #1F6B2C; --green-ink: #FFFFFF; --mint: #F2F8F2; --red: #D62828;
  --display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1080px; --narrow: 720px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0F1311; --ink: #ECF0ED; --muted: #A3ACA5; --line: #252D28; --green: #55C366; --green-dark: #2E8B3D;
  --green-ink: #0B140D; --mint: #131C16; --red: #F06262; color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0F1311; --ink: #ECF0ED; --muted: #A3ACA5; --line: #252D28; --green: #55C366; --green-dark: #2E8B3D;
  --green-ink: #0B140D; --mint: #131C16; --red: #F06262; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 1.2rem; line-height: 1.7; }
img { max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: calc(var(--narrow) + 48px); }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.15; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 700; max-width: 18ch; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3, .h3 { font-size: 1.4rem; font-weight: 600; }
.green { color: var(--green); }
.kicker { display: inline-block; font-family: var(--display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); text-decoration: none; }
.kicker.red { color: var(--red); }
.kicker.light { color: #CFEBD3; }
.lede { font-size: 1.3rem; color: var(--muted); max-width: 52ch; }
.small { font-size: 1rem; color: var(--muted); }
.mono { font-family: var(--mono); font-size: 0.95rem; }

/* Header: four links only */
.top { border-bottom: 1px solid var(--line); }
.top-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.brand img { background: #fff; border-radius: 8px; }
.nav { display: flex; gap: 32px; overflow-x: auto; max-width: 100%; }
.nav a { color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 0.98rem; padding-block: 6px; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--green); }

/* Sections: lots of air */
.hero { padding-block: 120px 96px; }
.hero > .wrap { display: flex; flex-direction: column; gap: 28px; }
.hero.slim { padding-block: 88px 48px; }
.section { padding-block: 112px; }
.section.top0 { padding-top: 0; }
.section.tint { background: var(--mint); }
.section > .wrap { display: flex; flex-direction: column; gap: 28px; }

.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 1rem; padding: 16px 28px; border-radius: 999px; text-decoration: none; border: 2px solid var(--green); }
.btn.primary { background: var(--green); color: var(--green-ink); }
.btn.ghost { color: var(--green); }
.btn.light { background: #FFFFFF; color: #1F6B2C; border-color: #FFFFFF; }
.btn.outline-light { color: #FFFFFF; border-color: rgba(255,255,255,.7); }
.text-link { font-family: var(--display); font-weight: 600; text-decoration: none; }

/* Three big figures */
.figures { border-block: 1px solid var(--line); }
.figures-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.figures-row > div { padding: 40px 24px 40px 0; min-width: 0; }
.figures-row > div + div { border-left: 1px solid var(--line); padding-left: 32px; }
.fig { font-family: var(--display); font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; line-height: 1.1; }
.fig-label { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 680px) { .figures-row { grid-template-columns: 1fr; } .figures-row > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } .figures-row > div { padding: 24px 0; } }

/* Paths: the core choice */
.paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 12px; }
.paths > * { min-width: 0; }
.path { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 36px 64px 36px 32px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); transition: border-color .2s, background .2s; }
.path:hover { border-color: var(--green); background: var(--mint); }
.path-q { font-family: var(--display); font-size: 1.45rem; font-weight: 600; line-height: 1.3; }
.arrow { position: absolute; right: 28px; bottom: 30px; font-size: 1.6rem; color: var(--green); }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .path { transition: none; } }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.split > * { min-width: 0; }
.split-head { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 32px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } .split-head { position: static; } }

/* Timeline: a real sequence */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--green); }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 0 0 36px 28px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--green); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { background: var(--green); }
.tl-when { font-family: var(--mono); font-size: 0.9rem; color: var(--muted); padding-top: 4px; }
.tl-what { font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
.tl-note { color: var(--muted); font-size: 1.05rem; }
.timeline.small { margin-top: 32px; } .timeline.small li { padding-bottom: 20px; grid-template-columns: 110px 1fr; }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }

/* Offer band */
.offer { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; background: var(--green-dark); color: #FFFFFF; border-radius: 24px; padding: 64px; }
.offer > * { min-width: 0; }
.offer > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.offer h2 { color: #FFFFFF; } .offer p { color: #E1F2E3; font-size: 1.15rem; }
.offer .btns { justify-content: flex-end; }
.offer.small { padding: 40px; grid-template-columns: 1fr auto; }
.offer-note { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 820px) { .offer, .offer.small { grid-template-columns: 1fr; padding: 40px 28px; } .offer .btns { justify-content: flex-start; } }

/* Reading lists */
.reads { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.read { display: flex; flex-direction: column; gap: 6px; padding-block: 28px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.read-title { font-family: var(--display); font-size: 1.35rem; font-weight: 600; line-height: 1.3; }
.read-sum { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }
.read:hover .read-title { color: var(--green); }
.reads.compact .read { padding-block: 20px; } .reads.compact .read-title { font-size: 1.15rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-family: var(--display); font-size: 0.9rem; font-weight: 500; text-decoration: none; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
.chip:hover { border-color: var(--green); color: var(--green); }
.cat { padding-block: 40px; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 20px; }
.count { font-family: var(--mono); font-size: 0.9rem; color: var(--muted); font-weight: 400; margin-left: 8px; }

/* Steps, two-up lists */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps > li { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.step-n { font-family: var(--display); font-size: 3rem; font-weight: 700; color: var(--green); line-height: 1; }
.step-t { font-family: var(--display); font-weight: 600; font-size: 1.25rem; }
.step-d { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.two > * { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; gap: 40px; } }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { padding-left: 34px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--mint); color: var(--green); display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; border: 1px solid var(--line); }
.ticks.no li::before { content: "✕"; color: var(--red); }
.disclosure { font-size: 0.98rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 24px; }

/* FAQ (shared with v1 content) */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding-block: 22px; font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 22px; color: var(--muted); }

.photo { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 20px; background: var(--mint); border: 1px dashed var(--green); display: grid; place-items: center; color: var(--green); font-family: var(--display); font-weight: 600; }

/* Articles */
.article { padding-block: 88px 112px; }
.art-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 48px; }
.art-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: none; }
.meta { font-family: var(--mono); font-size: 0.9rem; color: var(--muted); }
.prose { display: flex; flex-direction: column; gap: 22px; }
.prose h2 { font-size: 1.75rem; margin-top: 28px; }
.prose h3 { font-size: 1.35rem; margin-top: 12px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 10px; }
.prose img { border-radius: 10px; border: 1px solid var(--line); }
.prose figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.prose figcaption { font-size: 0.95rem; color: var(--muted); }
.prose blockquote { margin: 0; border-left: 3px solid var(--green); padding-left: 20px; color: var(--muted); }
.prose a { overflow-wrap: anywhere; }
.prose hr { border: 0; border-top: 1px solid var(--line); width: 100%; }
.table-scroll { overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; font-size: 1.02rem; }
.prose th, .prose td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.video { position: relative; aspect-ratio: 16 / 9; max-width: 100%; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.dated { background: #FDF0F0; color: #8E1C1C; border-radius: 12px; padding: 16px 20px; font-size: 1.02rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dated { background: #3A1A1A; color: #F7C9C9; } }
:root[data-theme="dark"] .dated { background: #3A1A1A; color: #F7C9C9; }
.aside { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 28px; color: var(--muted); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 72px 40px; color: var(--muted); font-size: 1.02rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-grid > * { min-width: 0; }
.foot-intro { display: flex; flex-direction: column; gap: 8px; }
.foot-title { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.15rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot ul a { color: var(--muted); text-decoration: none; } .foot ul a:hover { color: var(--green); }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.88rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* Pages carried over from version 1 content */
.legacy .hero, .legacy section.hero { padding-block: 96px 64px; }
.legacy .hero .wrap, .legacy .band .wrap { display: flex; flex-direction: column; gap: 24px; }
.legacy .band { padding-block: 80px; } .legacy .band.alt { background: var(--mint); }
.legacy .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.legacy .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.legacy .grid-3 > *, .legacy .grid-2 > * { min-width: 0; }
@media (max-width: 760px) { .legacy .grid-3, .legacy .grid-2 { grid-template-columns: 1fr; } }
.legacy .card { border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.legacy .card p { color: var(--muted); }
.legacy .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.legacy .stats > div { border-top: 1px solid var(--line); padding-top: 16px; min-width: 0; }
.legacy .stat-num { font-family: var(--display); font-size: 2.2rem; font-weight: 700; color: var(--green); }
.legacy .stat-label { color: var(--muted); font-size: 1rem; }
@media (max-width: 760px) { .legacy .stats { grid-template-columns: 1fr 1fr; } }
.legacy .checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.legacy .checks li { padding-left: 30px; position: relative; } .legacy .checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.legacy .checks.no li::before { content: "✕"; color: var(--red); }
.legacy .btns .btn-primary, .legacy .btn-primary { background: var(--green); color: var(--green-ink); border: 2px solid var(--green); }
.legacy .btn { display: inline-block; font-family: var(--display); font-weight: 600; padding: 14px 26px; border-radius: 999px; text-decoration: none; }
.legacy .btn-ghost { border: 2px solid var(--green); color: var(--green); }
.legacy .eyebrow { font-family: var(--display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.legacy .contact-line { font-family: var(--mono); }
.legacy .article { max-width: 768px; margin: 0 auto; padding: 88px max(24px, env(safe-area-inset-left, 0px)) 96px; }
.legacy .article header { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.section > .wrap.split, .hero > .wrap.split { display: grid; }
.section > .wrap.two { display: grid; }
@media (max-width: 860px) { .section > .wrap.split, .hero > .wrap.split { grid-template-columns: 1fr; } }
