:root {
  --paper: #f4f0e7;
  --ink: #20372b;
  --muted: #68766e;
  --green: #24543d;
  --moss: #718566;
  --soft: #e4edd6;
  --line: #cdd3cb;
  --white: #fffdf8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
img { max-width: 100%; }
.skip-link { position: absolute; left: -999px; top: 8px; }
.skip-link:focus { left: 8px; z-index: 10; padding: 10px 14px; background: white; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: auto;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 29px Georgia, serif; }
.brand img { width: 42px; height: 42px; }
.site-nav { display: flex; gap: 24px; align-items: center; font-size: 14px; color: var(--muted); }
.site-nav a { text-decoration: none; }
.site-nav .nav-cta { padding: 10px 18px; border-radius: 999px; background: var(--green); color: white; font-weight: 700; }
main { overflow: hidden; }
.hero, .section, .related, .crumbs { max-width: 1180px; margin: auto; padding-left: 24px; padding-right: 24px; }
.crumbs { padding-top: 24px; color: var(--muted); font-size: 13px; }
.crumbs a { text-decoration: none; }
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 72px; align-items: center; padding-top: 60px; padding-bottom: 76px; }
.eyebrow { color: #607d5a; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, serif; font-weight: 400; }
h1 { max-width: 760px; margin: 14px 0 20px; font-size: clamp(48px, 6.2vw, 82px); line-height: 1.01; letter-spacing: -.035em; }
h1 em { color: var(--moss); font-weight: 400; }
h2 { margin: 0 0 14px; font-size: clamp(34px, 4.2vw, 55px); line-height: 1.08; letter-spacing: -.02em; }
h3 { margin: 0 0 8px; font-size: 25px; }
p { color: var(--muted); }
.lede { max-width: 680px; font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 21px; border: 1px solid var(--green); border-radius: 999px; text-decoration: none; font-weight: 750; }
.button.primary { background: var(--green); color: white; }
.button.secondary { color: var(--green); }
.fine { margin-top: 14px; font-size: 12px; }
.visual { position: relative; min-height: 470px; border-radius: 34px; overflow: hidden; background: var(--green); }
.visual img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20, 53, 36, .78)); }
.visual-note { position: absolute; z-index: 1; left: 25px; right: 25px; bottom: 24px; padding: 17px 19px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 18px; background: rgba(244, 240, 231, .9); color: var(--ink); font-weight: 650; backdrop-filter: blur(8px); }
.abstract-visual { display: grid; place-items: center; padding: 46px; background: radial-gradient(circle at 70% 25%, #426a50, var(--green) 46%, #183827); }
.signal { width: min(100%, 410px); padding: 32px; border: 1px solid rgba(226, 239, 211, .3); border-radius: 30px; background: rgba(9, 35, 21, .3); color: white; }
.signal-line { height: 8px; margin: 16px 0; border-radius: 99px; background: linear-gradient(90deg, #d8efa6 0 52%, rgba(255,255,255,.18) 52%); }
.signal strong { display: block; font: 34px Georgia, serif; }
.signal span { color: #dce7dd; }
.band { background: var(--green); color: white; }
.section { padding-top: 84px; padding-bottom: 84px; }
.section.narrow { max-width: 860px; }
.section-intro { max-width: 720px; margin-bottom: 34px; }
.band p { color: #d7e1d9; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255, 255, 255, .47); }
.band .card { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
.number { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 42px; border-radius: 50%; background: var(--soft); color: var(--green); font-weight: 800; }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; }
.checklist li { position: relative; padding: 14px 0 14px 32px; border-top: 1px solid var(--line); color: var(--muted); }
.checklist li::before { content: "✓"; position: absolute; left: 3px; color: var(--green); font-weight: 800; }
.comparison { width: 100%; border-collapse: collapse; margin-top: 28px; }
.comparison th, .comparison td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison th { color: var(--ink); }
.comparison td { color: var(--muted); }
.callout { padding: 24px 26px; border-radius: 20px; background: var(--soft); color: #455747; }
.callout p { margin: 0; color: inherit; }
.faq details { padding: 20px 0; border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; color: var(--ink); font-weight: 750; }
.faq details p { max-width: 760px; }
.related { padding-top: 66px; padding-bottom: 76px; }
.related h2 { font-size: 35px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a { padding: 22px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; background: rgba(255,255,255,.38); font-weight: 700; }
.related a span { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.site-footer { padding: 26px 24px 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer div { display: flex; flex-wrap: wrap; gap: 16px; max-width: 1132px; margin: auto; }

/* Evidence-led guide pages */
.guide-hero { display: block; max-width: 1040px; padding-top: 58px; padding-bottom: 48px; }
.guide-hero h1 { max-width: 900px; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; color: var(--muted); font-size: 13px; }
.guide-meta strong { color: var(--ink); }
.answer-box { max-width: 860px; margin: 0 auto 42px; padding: 26px 30px; border: 1px solid #bfcdb7; border-radius: 22px; background: var(--soft); }
.answer-box strong { display: block; margin-bottom: 8px; font: 26px Georgia, serif; color: var(--ink); }
.answer-box p { margin: 0; color: #455747; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 70px; max-width: 1050px; margin: auto; padding: 20px 24px 86px; }
.article-body { min-width: 0; }
.article-body h2 { margin-top: 54px; font-size: clamp(31px, 4vw, 44px); }
.article-body h3 { margin-top: 34px; }
.article-body p, .article-body li { color: var(--muted); }
.article-body li { margin: 9px 0; }
.article-body a { color: var(--green); text-underline-offset: 3px; }
.article-body blockquote { margin: 30px 0; padding: 22px 26px; border-left: 4px solid var(--moss); background: rgba(255,255,255,.42); color: #455747; }
.article-body .product-note { margin: 34px 0; padding: 24px 26px; border-radius: 20px; background: var(--green); color: white; }
.article-body .product-note p { color: #d7e1d9; }
.article-body .product-note a { color: white; font-weight: 750; }
.article-nav { align-self: start; position: sticky; top: 24px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.42); }
.article-nav strong { display: block; margin-bottom: 12px; }
.article-nav a { display: block; padding: 8px 0; color: var(--muted); font-size: 13px; text-decoration: none; }
.sources { padding-left: 20px; }
.sources li { margin: 13px 0; }
.guide-index { max-width: 1180px; margin: auto; padding: 58px 24px 86px; }
.guide-index-intro { max-width: 820px; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 38px; }
.guide-card { display: flex; min-height: 250px; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.43); text-decoration: none; }
.guide-card .eyebrow { margin-bottom: 30px; }
.guide-card h2 { margin: 0 0 12px; font-size: 32px; }
.guide-card p { margin: 0; }
.guide-card span:last-child { margin-top: auto; padding-top: 24px; color: var(--green); font-weight: 750; }
.editorial-note { margin-top: 34px; padding: 24px 28px; border-radius: 20px; background: var(--soft); }
.editorial-note p { margin: 8px 0 0; }
.disclosure-box { max-width: 860px; margin: 0 auto 42px; padding: 24px 28px; border: 1px solid #b8c1b5; border-radius: 20px; background: rgba(255,255,255,.48); }
.disclosure-box strong { display: block; margin-bottom: 7px; color: var(--ink); }
.disclosure-box p { margin: 0; }
.comparison-wrap { overflow-x: auto; margin: 26px 0; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.38); }
.comparison-wrap:focus { outline: 3px solid #9fba87; outline-offset: 3px; }
.comparison-wrap .comparison { margin: 0; }
.comparison-wide { min-width: 850px; }
.comparison tbody th { min-width: 150px; color: var(--ink); }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin: 28px 0; }
.choice-grid section { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.42); }
.choice-grid h3 { margin-top: 0; }
.choice-grid p { font-size: 14px; }
.choice-grid a { font-weight: 750; }

/* Standalone decision tools */
.tool-hero { padding-bottom: 38px; }
.tool-shell { max-width: 1050px; margin: 0 auto 70px; padding: 30px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.52); box-shadow: 0 18px 60px rgba(32,55,43,.06); }
.tool-controls { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.field { display: grid; gap: 7px; }
.field label { color: var(--ink); font-size: 13px; font-weight: 750; }
.field select, .field input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #b8c1b8; border-radius: 13px; background: var(--white); color: var(--ink); font: inherit; }
.field select:focus, .field input:focus { outline: 3px solid #c7ddae; outline-offset: 2px; }
.tool-button { grid-column: 1 / -1; min-height: 50px; border: 0; border-radius: 999px; background: var(--green); color: white; font: inherit; font-weight: 750; cursor: pointer; }
.tool-result { padding-top: 30px; }
.result-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.result-heading h2 { margin: 7px 0 0; font-size: 38px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.result-actions button { padding: 9px 14px; border: 1px solid var(--green); border-radius: 999px; background: transparent; color: var(--green); font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.rhythm-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.rhythm-list li { display: grid; grid-template-columns: 82px 1fr; gap: 14px; padding: 13px 15px; border-radius: 13px; background: var(--soft); color: var(--muted); font-size: 13px; }
.rhythm-list strong { color: var(--ink); }
.tool-explainer { padding-top: 30px; }
.checklist-toolbar { display: grid; grid-template-columns: minmax(260px,1fr) auto; gap: 24px; align-items: end; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.checklist-progress { margin: 24px 0; }
.checklist-progress strong { color: var(--ink); }
.evaluation-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.evaluation-grid fieldset { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 18px; }
.evaluation-grid legend { padding: 0 8px; color: var(--ink); font: 22px Georgia, serif; }
.evaluation-grid label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding: 10px 0; color: var(--muted); font-size: 14px; }
.evaluation-grid input { width: 18px; height: 18px; accent-color: var(--green); }

@media (max-width: 820px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-top: 42px; }
  .visual { min-height: 370px; }
  .grid-3, .grid-2, .related-grid { grid-template-columns: 1fr; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .comparison { font-size: 14px; }
  .article-layout { grid-template-columns: 1fr; gap: 24px; }
  .article-nav { position: static; order: -1; }
  .guide-grid { grid-template-columns: 1fr; }
  .choice-grid, .evaluation-grid { grid-template-columns: 1fr; }
  .tool-shell { margin-left: 18px; margin-right: 18px; }
  .rhythm-list { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .site-header { padding: 17px 18px; }
  .brand { font-size: 23px; }
  .brand img { width: 35px; height: 35px; }
  .site-nav .nav-cta { padding: 9px 13px; }
  .hero, .section, .related, .crumbs { padding-left: 18px; padding-right: 18px; }
  h1 { font-size: 46px; }
  .actions { display: grid; }
  .visual { min-height: 320px; }
  .comparison th, .comparison td { padding: 12px 8px; }
  .tool-controls { grid-template-columns: 1fr; }
  .result-heading, .checklist-toolbar { display: grid; grid-template-columns: 1fr; align-items: start; }
  .tool-shell { padding: 22px 18px; }
}

@media print {
  .site-header, .crumbs, .site-footer, .related, .tool-explainer, .result-actions, .tool-button { display: none !important; }
  body { background: white; }
  main { overflow: visible; }
  .guide-hero { padding: 16px 0; }
  .tool-shell { max-width: none; margin: 0; border: 0; box-shadow: none; }
  .tool-controls { display: none; }
  .rhythm-list { grid-template-columns: repeat(2,1fr); }
}
