:root {
  --green-950: #16382b;
  --green-900: #1b4332;
  --green-700: #2c6e49;
  --green-100: #dcebe2;
  --green-50: #edf5f0;
  --paper: #f7f5f2;
  --white: #fff;
  --ink: #1c1a18;
  --muted: #625d56;
  --line: #ddd8d0;
  --gold: #d2aa3a;
  --gold-dark: #8b6508;
  --terracotta: #b85c38;
  --display: "DM Serif Display", Georgia, serif;
  --body: Inter, system-ui, sans-serif;
  --shadow: 0 24px 80px rgba(28, 26, 24, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -60px; background: var(--white); color: var(--green-900); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid rgba(27, 67, 50, .11); background: rgba(247, 245, 242, .94); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--display); font-size: 1.65rem; color: var(--green-900); }
.wordmark img { border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .88rem; font-weight: 700; }
.nav-links a { text-decoration: none; }
.nav-links > a:not(.nav-cta):hover { color: var(--green-700); }
.nav-cta { background: var(--green-900); color: var(--white); padding: 10px 17px; border-radius: 10px; }

.hero { min-height: 710px; padding-block: 84px 76px; display: grid; grid-template-columns: .94fr 1.06fr; gap: clamp(40px, 7vw, 92px); align-items: center; }
.eyebrow { margin: 0 0 18px; color: var(--green-700); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow > span { display: inline-block; width: 22px; height: 2px; margin: 0 8px 3px 0; background: var(--gold); }
.eyebrow.light { color: #c9dfd1; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font-family: var(--display); font-size: clamp(3.6rem, 6.4vw, 6rem); font-weight: 400; line-height: .94; letter-spacing: -.045em; }
h1 em { color: var(--green-700); font-weight: 400; }
.hero-lede { max-width: 590px; margin: 30px 0; color: var(--muted); font-size: 1.12rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 12px; padding: 13px 20px; cursor: pointer; text-decoration: none; font-size: .86rem; font-weight: 800; letter-spacing: .01em; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--white); background: var(--green-700); box-shadow: 0 10px 30px rgba(44, 110, 73, .22); }
.button.primary:hover { background: var(--green-900); }
.button.ghost { border-color: var(--line); color: var(--green-900); background: transparent; }
.button.ghost:hover { background: var(--green-50); }
.button.gold { color: var(--green-950); background: var(--gold); }
.button.gold:hover { background: #dfbb55; }
.button.light { color: var(--green-950); background: var(--paper); }
.button.full { width: 100%; }
.text-link { color: var(--green-900); font-size: .88rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.proof-list { display: flex; gap: 24px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .76rem; font-weight: 600; }
.proof-list li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--gold); }

.dossier-wrap { position: relative; padding: 24px 0 20px 24px; }
.dossier-wrap::before { content: ""; position: absolute; inset: 0 28px 36px 0; border: 1px solid rgba(27, 67, 50, .16); border-radius: 6px; transform: rotate(3.2deg); background: #ebe8e2; }
.dossier-tab { position: absolute; z-index: 2; top: -9px; right: 44px; width: 152px; padding: 8px; border-radius: 7px 7px 0 0; background: var(--gold); color: var(--green-950); text-align: center; font-size: .62rem; font-weight: 800; letter-spacing: .11em; }
.dossier { position: relative; z-index: 1; min-height: 520px; padding: 32px; border: 1px solid #d8d3ca; border-radius: 5px; background: #fbfaf7; box-shadow: var(--shadow); transform: rotate(-1.4deg); }
.dossier::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(27, 67, 50, .1); pointer-events: none; }
.dossier-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 2px solid var(--green-900); }
.dossier-head p { margin: 0 0 4px; color: var(--green-700); font-size: .59rem; font-weight: 800; letter-spacing: .16em; }
.dossier-head h2 { margin: 0; font-family: var(--display); font-size: 1.6rem; font-weight: 400; }
.status-stamp { align-self: start; padding: 5px 8px; border: 2px solid var(--terracotta); color: var(--terracotta); font-size: .58rem; font-weight: 800; letter-spacing: .1em; transform: rotate(3deg); }
.house-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 19px 0; border-bottom: 1px solid var(--line); font-size: .76rem; font-weight: 700; }
.house-meta small { display: block; color: var(--muted); font-size: .53rem; letter-spacing: .12em; }
.matrix { padding-block: 18px 5px; overflow: hidden; }
.matrix-months, .matrix-row { display: grid; grid-template-columns: 116px repeat(12, 1fr); gap: 4px; align-items: center; }
.matrix-months { margin-bottom: 6px; color: var(--muted); text-align: center; font-size: .48rem; }
.matrix-row { min-height: 50px; border-top: 1px solid #e8e4de; }
.matrix-row b { font-size: .64rem; }
.matrix-row i { display: block; height: 17px; border-radius: 2px; background: #ece9e3; }
.matrix-row i.on { background: #b8d4c2; }
.matrix-row i.high { background: #e2c1b4; }
.dossier-foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 17px; border-top: 2px solid var(--green-900); color: var(--muted); font-size: .61rem; }
.dossier-foot b { color: var(--green-900); font-size: 1rem; }
.completion-dot::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--gold); }
.margin-note { position: absolute; z-index: 3; right: -26px; bottom: -18px; margin: 0; color: var(--green-700); font-family: var(--display); font-size: 1.05rem; font-style: italic; transform: rotate(-4deg); }

.quiet-strip { border-block: 1px solid rgba(27, 67, 50, .14); background: #f0eee9; }
.quiet-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.quiet-grid p { margin: 0; padding: 25px 30px; border-left: 1px solid rgba(27, 67, 50, .13); }
.quiet-grid p:last-child { border-right: 1px solid rgba(27, 67, 50, .13); }
.quiet-grid b, .quiet-grid span { display: block; }
.quiet-grid b { color: var(--green-900); font-size: .79rem; }
.quiet-grid span { color: var(--muted); font-size: .69rem; }

.problem-section, .how-section, .faq-section { padding-block: 110px; }
.section-intro { display: grid; grid-template-columns: .42fr 1.1fr; gap: 50px; align-items: start; margin-bottom: 58px; }
.section-intro h2, .planner-copy h2, .pricing-copy h2, .final-inner h2 { margin: 0; font-family: var(--display); font-size: clamp(2.4rem, 4.5vw, 4.3rem); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; }
.problem-grid, .how-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.problem-grid article, .how-grid article { padding: 36px 34px; border-left: 1px solid var(--line); }
.problem-grid article:last-child, .how-grid article:last-child { border-right: 1px solid var(--line); }
.problem-grid article > span { color: var(--gold-dark); font-family: var(--display); font-size: 1.4rem; font-style: italic; }
.problem-grid h3, .how-grid h3 { margin: 42px 0 12px; font-family: var(--display); font-size: 1.55rem; font-weight: 400; }
.problem-grid p, .how-grid p { margin: 0; color: var(--muted); font-size: .9rem; }

.planner-section { padding-block: 110px; background: var(--green-950); color: var(--white); }
.planner-shell { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.planner-copy { position: sticky; top: 48px; }
.planner-copy > p:not(.eyebrow) { color: #bcd1c4; }
.planner-benefits { margin: 36px 0 0; padding: 0; list-style: none; }
.planner-benefits li { display: flex; align-items: center; gap: 13px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .11); color: #d9e6de; font-size: .82rem; font-weight: 700; }
.planner-benefits span { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; color: var(--gold); }
.planner-card { min-height: 580px; padding: clamp(26px, 5vw, 48px); border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .22); }
.planner-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 40px; }
.planner-progress span { height: 4px; border-radius: 4px; background: #dedad2; }
.planner-progress span.active { background: var(--green-700); }
.planner-step { margin: 0; padding: 0; border: 0; }
.planner-step legend { width: 100%; margin-bottom: 26px; font-family: var(--display); font-size: 2rem; line-height: 1.1; }
.planner-step legend small { display: block; margin-bottom: 10px; color: var(--green-700); font-family: var(--body); font-size: .62rem; font-weight: 800; letter-spacing: .14em; }
.choice-row { position: relative; display: flex; align-items: center; gap: 14px; min-height: 72px; margin-bottom: 12px; padding: 14px 48px 14px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--white); }
.choice-row:has(input:checked) { border-color: var(--green-700); box-shadow: inset 4px 0 var(--green-700); }
.choice-row input { position: absolute; opacity: 0; }
.choice-row span, .choice-row b, .choice-row small { display: block; }
.choice-row b { font-size: .85rem; }
.choice-row small { color: var(--muted); font-size: .7rem; }
.choice-row i { position: absolute; right: 18px; width: 20px; height: 20px; border: 1px solid #aaa49c; border-radius: 50%; }
.choice-row input:checked ~ i { border: 6px solid var(--green-700); }
.choice-row + .button { margin-top: 16px; }
.field-hint { margin: -15px 0 20px; color: var(--muted); font-size: .78rem; }
.system-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.system-grid label { position: relative; min-height: 58px; display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: var(--white); font-size: .75rem; font-weight: 700; }
.system-grid label:has(input:checked) { border-color: var(--green-700); background: var(--green-50); }
.system-grid input { width: 18px; height: 18px; accent-color: var(--green-700); }
.step-actions { display: grid; grid-template-columns: .45fr 1fr; gap: 12px; margin-top: 24px; }
.validation { margin: 12px 0 0; color: #a43d2f; font-size: .74rem; font-weight: 700; }
.planner-result { text-align: center; }
.result-check { display: grid; width: 58px; height: 58px; margin: 0 auto 18px; place-items: center; border-radius: 50%; background: var(--green-100); color: var(--green-900); font-size: 1.5rem; }
.result-kicker { color: var(--green-700); font-size: .65rem; font-weight: 800; letter-spacing: .15em; }
.planner-result h3 { margin: 10px auto; font-family: var(--display); font-size: 2.35rem; font-weight: 400; line-height: 1.08; }
.planner-result > p:not(.result-kicker, .microcopy) { margin: 0; color: var(--muted); font-size: .8rem; }
.result-list { margin: 28px 0; text-align: left; }
.result-list p { display: flex; justify-content: space-between; gap: 14px; margin: 0; padding: 11px 4px; border-bottom: 1px solid var(--line); font-size: .74rem; font-weight: 700; }
.result-list span { color: var(--muted); font-weight: 500; }
.microcopy { margin: 14px 0 0; color: var(--muted); font-size: .65rem; }
.restart { margin-top: 12px; border: 0; background: none; color: var(--green-700); cursor: pointer; font-size: .7rem; font-weight: 700; text-decoration: underline; }

.section-intro.narrow { grid-template-columns: .34fr 1fr; max-width: 940px; }
.how-number { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--green-100); color: var(--green-900); font-family: var(--display); font-size: 1.25rem; }
.how-grid h3 { margin-top: 54px; }
.pricing-section { padding-block: 110px; background: #eeece6; }
.pricing-shell { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.pricing-copy > p:not(.eyebrow) { color: var(--muted); }
.price-cards { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; }
.price-card { padding: 34px; border: 1px solid var(--line); background: var(--paper); }
.price-card.free { border-radius: 16px 0 0 16px; }
.price-card.home { padding-block: 44px; border-color: var(--green-900); border-radius: 16px; background: var(--green-900); color: var(--white); box-shadow: var(--shadow); }
.tier { margin: 0; font-family: var(--display); font-size: 1.5rem; }
.price { margin: 5px 0 22px; color: var(--muted); font-size: .7rem; }
.price b { color: inherit; font-family: var(--display); font-size: 2.25rem; font-weight: 400; }
.home .price { color: #c9d9cf; }
.price-card ul { min-height: 198px; margin: 0 0 24px; padding: 0; list-style: none; }
.price-card li { padding: 7px 0; border-bottom: 1px solid rgba(98, 93, 86, .16); font-size: .72rem; }
.price-card li::before { content: "\2713"; margin-right: 8px; color: var(--green-700); font-weight: 800; }
.home li { border-color: rgba(255, 255, 255, .11); }
.home li::before { color: var(--gold); }
.price-card > small { display: block; margin-top: 12px; color: #bcd1c4; text-align: center; font-size: .58rem; }

.faq-list { max-width: 900px; margin-left: auto; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 23px 40px 23px 0; cursor: pointer; list-style: none; font-family: var(--display); font-size: 1.25rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; color: var(--green-700); font-family: var(--body); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { max-width: 720px; margin: -8px 0 24px; color: var(--muted); font-size: .84rem; }

.final-section { padding-block: 75px; background: var(--green-950); color: var(--white); }
.final-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.final-inner img { border-radius: 18px; }
.final-inner h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
.site-footer { padding-block: 32px; background: #10291f; color: #bcd1c4; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.wordmark.reverse { color: var(--white); font-size: 1.35rem; }
.footer-grid p { margin: 0; text-align: center; font-size: .67rem; }
.footer-grid nav { display: flex; gap: 16px; font-size: .67rem; }
.footer-grid nav a { text-underline-offset: 3px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .hero, .planner-shell, .pricing-shell { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .dossier-wrap { max-width: 650px; margin: 0 auto; }
  .section-intro, .section-intro.narrow { grid-template-columns: 1fr; gap: 10px; }
  .planner-copy { position: static; }
  .quiet-grid { grid-template-columns: 1fr; }
  .quiet-grid p { border-right: 1px solid rgba(27, 67, 50, .13); border-bottom: 1px solid rgba(27, 67, 50, .13); }
  .problem-grid, .how-grid { grid-template-columns: 1fr; }
  .problem-grid article, .how-grid article { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .problem-grid h3, .how-grid h3 { margin-top: 18px; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1160px); }
  .site-header { position: static; }
  .nav { height: 66px; }
  .nav-links > a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 9px 12px; }
  h1 { font-size: clamp(3.15rem, 16vw, 4.5rem); }
  .hero { min-height: 0; padding-block: 48px 70px; gap: 58px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { text-align: center; }
  .proof-list { align-items: flex-start; flex-direction: column; gap: 5px; }
  .dossier-wrap { padding-left: 0; }
  .dossier { min-height: 440px; padding: 22px; }
  .dossier-head { align-items: flex-start; flex-direction: column; }
  .house-meta { grid-template-columns: 1fr 1fr; }
  .matrix-months, .matrix-row { grid-template-columns: 82px repeat(12, minmax(8px, 1fr)); gap: 2px; }
  .matrix-row b { font-size: .54rem; }
  .dossier-foot { align-items: flex-start; flex-direction: column; }
  .margin-note { right: 8px; }
  .problem-section, .how-section, .faq-section, .planner-section, .pricing-section { padding-block: 78px; }
  .planner-card { min-height: 0; padding: 24px 18px; }
  .system-grid { grid-template-columns: 1fr; }
  .step-actions { grid-template-columns: 1fr; }
  .price-cards { grid-template-columns: 1fr; gap: 14px; }
  .price-card.free { border-radius: 16px; }
  .price-card ul { min-height: 0; }
  .final-inner, .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .final-inner img { margin: 0 auto; }
  .final-inner .button { width: 100%; }
  .footer-grid .wordmark, .footer-grid nav { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
