:root {
  color-scheme: light;
  --paper: #f5f2e9;
  --surface: #fffdf7;
  --surface-warm: #f0eadc;
  --ink: #18372e;
  --ink-soft: #37534a;
  --muted: #65776e;
  --line: #d9dfd2;
  --line-strong: #b8c5b8;
  --green: #286b50;
  --green-dark: #194c39;
  --green-pale: #e4efe4;
  --orange: #ca7147;
  --orange-pale: #f8e9dc;
  --blue: #546f96;
  --shadow: 0 12px 34px rgb(43 60 45 / 6%);
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--sans); overflow-wrap: break-word; }
button, input { font: inherit; }
button, input[type="range"], input[type="checkbox"], input[type="radio"] { accent-color: var(--green); }
button { cursor: pointer; }
a { color: var(--green-dark); }
button:focus-visible, input:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #2b70b8; outline-offset: 3px; border-radius: 5px; }
[hidden] { display: none !important; }

.skip-link { position: absolute; z-index: 20; top: -4rem; left: 1rem; padding: .7rem 1rem; border-radius: 8px; background: var(--ink); color: white; font-weight: 700; }
.skip-link:focus { top: .75rem; }
.site-bar { height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(20px, calc((100% - 1240px) / 2)); border-bottom: 1px solid rgb(24 55 46 / 11%); background: rgb(255 253 247 / 55%); }
.back-link { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: .9rem; font-weight: 700; text-decoration: none; }
.back-link:hover { color: var(--green); }
.site-mark { color: #758378; font-size: .67rem; font-weight: 800; letter-spacing: .17em; }
.site-mark i { padding: 0 .32em; color: var(--orange); font-style: normal; }
.page-shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 48px; }

.hero { position: relative; min-height: 360px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, .65fr); align-items: end; gap: 45px; padding: 64px 4.2% 40px; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before, .hero::after { position: absolute; z-index: -1; content: ""; pointer-events: none; }
.hero::before { width: 380px; height: 380px; top: -155px; right: 8%; border: 1px solid #c9d4c3; border-radius: 50%; box-shadow: 0 0 0 34px rgb(201 212 195 / 19%), 0 0 0 72px rgb(201 212 195 / 14%); }
.hero::after { width: 175px; height: 175px; top: 22px; right: 16%; border-radius: 50%; background: #edc6a6; opacity: .45; }
.hero-copy { max-width: 760px; }
.eyebrow { margin: 0 0 10px; color: var(--green); font-size: .72rem; font-weight: 850; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-family: var(--serif); font-size: clamp(3.4rem, 7.4vw, 6rem); font-weight: 400; letter-spacing: -.055em; line-height: .9; }
h1 span { display: block; max-width: 13em; margin-top: .32em; color: var(--green); font-family: var(--sans); font-size: clamp(1.05rem, 2.1vw, 1.5rem); font-weight: 650; letter-spacing: -.035em; line-height: 1.22; }
.lede { max-width: 670px; margin-bottom: 22px; color: var(--ink-soft); font-family: var(--serif); font-size: clamp(1.12rem, 1.8vw, 1.35rem); line-height: 1.45; }
.baseline-label { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font-size: .8rem; }
.baseline-label strong { color: var(--ink); }
.baseline-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-pale); }
.hero-note { max-width: 315px; justify-self: end; margin-bottom: 4px; border-top: 2px solid var(--orange); padding: 15px 0 0 38px; color: var(--ink-soft); position: relative; }
.hero-note p { margin: 0; font-size: .88rem; }
.hero-note strong { color: var(--ink); }
.note-mark { position: absolute; top: 13px; left: 0; color: var(--orange); font-size: 1.25rem; font-weight: 700; }

.panel { min-width: 0; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: var(--shadow); }
.walkthrough { margin: 24px 0 18px; padding: clamp(20px, 3.2vw, 34px) clamp(19px, 4vw, 42px) 25px; background: var(--ink); color: #f8f6ed; border-color: var(--ink); box-shadow: 0 17px 42px rgb(24 55 46 / 15%); }
.walkthrough .eyebrow { color: #bdcfae; }
.walk-head, .panel-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.walk-head h2, .panel-topline h2 { margin: 0; font-family: var(--serif); font-size: clamp(1.65rem, 3vw, 2.3rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.08; }
.step-pill { flex: none; margin-top: 2px; border: 1px solid rgb(255 255 255 / 26%); border-radius: 999px; padding: 6px 11px; color: #d6e0d1; font-size: .77rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.stage-copy { max-width: 850px; min-height: 3.2em; margin: 12px 0 20px; color: #d6e0d9; font-size: .93rem; }
.stage-context { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; margin: -7px 0 19px; }
.stage-context > p { display: grid; gap: 2px; margin: 0; color: #b9c8be; font-size: .72rem; line-height: 1.4; }
.stage-context > p strong { color: #e5ebdd; font-size: .65rem; letter-spacing: .06em; text-transform: uppercase; }
.stage-sources { display: flex; grid-column: 1 / -1; flex-wrap: wrap; gap: 6px; }
.stage-sources a { min-height: 28px; display: inline-flex; align-items: center; border: 1px solid rgb(255 255 255 / 22%); border-radius: 99px; padding: 3px 9px; color: #deeadb; font-size: .65rem; font-weight: 700; text-decoration: none; }
.stage-sources a:hover { border-color: #c3d5b3; background: rgb(255 255 255 / 8%); }
.stage-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; border-radius: 8px; padding: 9px 14px; font-size: .84rem; font-weight: 750; text-decoration: none; transition: background-color .16s ease, border-color .16s ease, transform .16s ease; }
.button:active:not(:disabled) { transform: translateY(1px); }
.button:disabled { cursor: not-allowed; opacity: .42; }
.button-quiet { border-color: rgb(255 255 255 / 24%); background: transparent; color: #f8f6ed; }
.button-quiet:hover:not(:disabled) { border-color: #c4d7bd; background: rgb(255 255 255 / 9%); }
.button-dark { border-color: #c3d5b3; background: #dce8d2; color: var(--ink); }
.button-dark:hover:not(:disabled) { background: #eff3e9; }
.button-text { margin-left: auto; background: transparent; color: #d6e0d9; }
.button-text:hover { color: white; text-decoration: underline; }
.scrubber { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin-top: 22px; border-top: 1px solid rgb(255 255 255 / 17%); padding-top: 17px; }
.scrubber label { color: #d6e0d9; font-size: .78rem; font-weight: 700; }
.scrubber output { color: #e3ebd9; font-size: .78rem; font-weight: 800; }
.scrubber input { grid-column: 1 / -1; width: 100%; margin: 7px 0 0; accent-color: #c3d5b3; }
.scrubber-labels { display: flex; grid-column: 1 / -1; justify-content: space-between; color: #aebdb4; font-size: .7rem; }

.model-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 18px; align-items: start; }
.chart-panel, .assumption-panel { padding: clamp(19px, 2.7vw, 30px); }
.panel-topline { align-items: center; }
.panel-topline .eyebrow { margin-bottom: 6px; }
.panel-topline h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.scenario-tag { flex: none; border: 1px solid #e0c49e; border-radius: 999px; padding: 5px 9px; background: #fff4df; color: #79552b; font-size: .67rem; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; }
.chart-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 20px 0 16px; }
.view-switch { display: inline-flex; gap: 3px; margin: 0; border: 0; padding: 0; }
.view-switch legend { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.view-switch label { cursor: pointer; }
.view-switch input { position: absolute; opacity: 0; }
.view-switch span { min-height: 38px; display: inline-flex; align-items: center; padding: 7px 11px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font-size: .74rem; font-weight: 750; }
.view-switch input:checked + span { border-color: var(--green); background: var(--green-pale); color: var(--green-dark); }
.view-switch input:focus-visible + span { outline: 3px solid #2b70b8; outline-offset: 2px; }
.scale-note { max-width: 280px; color: var(--muted); font-size: .72rem; text-align: right; }
.budget-figure { margin: 0; }
.figure-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.figure-caption strong { font-size: .86rem; }
.figure-caption span { color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.bar-frame { padding: 3px; border: 1px solid var(--line-strong); border-radius: 8px; background: #f2f2e9; }
.budget-bar { display: flex; width: 100%; min-height: 48px; overflow: hidden; border-radius: 5px; background: #e1e4d9; }
.bar-segment { flex: 0 0 auto; min-width: 0; height: 48px; border-right: 1px solid rgb(255 255 255 / 75%); transition: width .28s ease; }
.chart-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; margin: 13px 0 0; padding: 0; list-style: none; }
.budget-svg { display: block; width: 100%; height: 48px; border-radius: 5px; }
.chart-legend li { min-width: 0; display: flex; align-items: flex-start; gap: 7px; color: #52645b; font-size: .7rem; line-height: 1.35; font-variant-numeric: tabular-nums; }
.legend-swatch { flex: none; width: 10px; height: 10px; margin-top: 2px; border-radius: 3px; }
.transfer-wrap { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 9px; }
.transfer-label { margin: 0 0 6px; color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.transfer-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.transfer-list li { border-radius: 6px; padding: 5px 8px; background: #f1f4eb; color: var(--ink-soft); font-size: .67rem; font-variant-numeric: tabular-nums; }
.transfer-list li strong { color: var(--green-dark); }
.transfer-empty { color: var(--muted) !important; font-style: italic; }
.summary-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.summary-strip > div { min-height: 63px; display: grid; align-content: space-between; gap: 3px; border-top: 2px solid #c7d8c6; padding: 8px 9px 6px; background: #f1f5ed; }
.summary-strip > div:nth-child(2) { border-color: var(--green); }
.summary-strip > div:nth-child(3) { border-color: var(--orange); }
.summary-strip span { color: var(--muted); font-size: .67rem; line-height: 1.3; }
.summary-strip strong { font-size: .95rem; font-variant-numeric: tabular-nums; }
.chart-footnote { margin-top: 12px; color: var(--muted); font-size: .74rem; }
.data-details { margin-top: 17px; border-top: 1px solid var(--line); padding-top: 9px; }
.data-details summary, .method-details summary { min-height: 42px; display: flex; align-items: center; color: var(--green-dark); font-size: .8rem; font-weight: 800; cursor: pointer; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .78rem; }
caption { padding: 5px 0; text-align: left; font-weight: 750; }
th, td { border-bottom: 1px solid #e5e8e0; padding: 7px 8px; text-align: left; }
thead th { color: var(--muted); font-size: .67rem; letter-spacing: .05em; text-transform: uppercase; }
td:last-child, tfoot td { width: 105px; text-align: right; font-variant-numeric: tabular-nums; }
tfoot th, tfoot td { border-top: 2px solid var(--line-strong); border-bottom: 0; font-weight: 850; }
.table-category { display: inline-flex; align-items: center; gap: 8px; }

.assumption-panel { position: relative; overflow: hidden; }
.assumption-panel::after { position: absolute; top: -73px; right: -70px; width: 175px; height: 175px; content: ""; border: 1px solid #d5dfd1; border-radius: 50%; box-shadow: 0 0 0 23px rgb(213 223 209 / 22%), 0 0 0 48px rgb(213 223 209 / 13%); pointer-events: none; }
.assumption-panel > * { position: relative; z-index: 1; }
.assumption-number { flex: none; color: #9aa99a; font-family: var(--serif); font-size: .83rem; }
.assumption-number i { color: var(--orange); font-style: normal; }
.panel-intro { max-width: 530px; margin: 15px 0 18px; color: var(--muted); font-size: .8rem; }
.security-choice { min-height: 66px; display: flex; align-items: center; gap: 12px; border: 1px solid #cddccc; border-radius: 10px; padding: 10px 12px; background: #f1f6ef; cursor: pointer; }
.security-choice input { flex: none; width: 19px; height: 19px; }
.security-copy { display: grid; flex: 1; gap: 1px; }
.security-copy strong { font-size: .83rem; }
.security-copy small { color: var(--muted); font-size: .71rem; }
.toggle-visual { flex: none; width: 34px; height: 20px; border: 1px solid #b2c2b1; border-radius: 999px; background: #d8e0d5; position: relative; }
.toggle-visual::after { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; content: ""; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgb(0 0 0 / 18%); transition: transform .2s ease; }
.security-choice input:checked ~ .toggle-visual { border-color: var(--green); background: var(--green); }
.security-choice input:checked ~ .toggle-visual::after { transform: translateX(14px); }
.security-choice input:focus-visible ~ .toggle-visual { outline: 3px solid #2b70b8; outline-offset: 2px; }
.field-help { color: var(--muted); font-size: .72rem; }
.security-help { margin: 8px 0 16px; }
.range-list { display: grid; gap: 13px; }
.range-control { border-top: 1px solid #e3e7df; padding-top: 10px; }
.effect-stage { display: inline-block; margin-top: 4px; border-radius: 99px; padding: 2px 7px; background: #f0f1eb; color: #7c8a7f; font-size: .61rem; font-weight: 750; }
.effect-stage.is-active { background: #e2efe1; color: var(--green-dark); }
.range-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.range-heading label { font-size: .78rem; font-weight: 750; }
.range-heading output { color: var(--green-dark); font-size: .76rem; font-weight: 850; font-variant-numeric: tabular-nums; }
.range-control input { display: block; width: 100%; margin: 8px 0 0; }
.range-control p { margin: 4px 0 0; color: var(--muted); font-size: .68rem; line-height: 1.4; }
.compare-actions { display: grid; gap: 9px; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.compare-actions p { margin: 0; }
.button-outline { width: fit-content; border-color: #9cb5a3; background: transparent; color: var(--green-dark); }
.button-outline:hover { border-color: var(--green); background: var(--green-pale); }
.allocation-error { margin: 14px 0 0; border-left: 3px solid #a74933; padding: 8px 11px; background: #f9e9e3; color: #6a2e22; font-size: .78rem; }

.allocation-panel { display: grid; grid-template-columns: minmax(220px, .64fr) minmax(0, 1.36fr); gap: 32px; margin-top: 18px; padding: clamp(21px, 3.2vw, 35px); background: #e9efe3; border-color: #d0dccd; }
.allocation-intro h2 { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(1.7rem, 3.3vw, 2.4rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.08; }
.allocation-intro p:last-child { max-width: 410px; margin: 0; color: var(--ink-soft); font-size: .84rem; }
.allocation-controls { min-width: 0; }
.allocation-head { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid #cad7c5; padding: 0 0 9px; color: var(--muted); font-size: .72rem; font-weight: 700; }
.allocation-head > span { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.allocation-head .effect-stage { margin: 0; }
.allocation-head strong { color: var(--green-dark); font-variant-numeric: tabular-nums; }
.allocation-sliders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.allocation-range { min-width: 0; border-bottom: 1px solid #cad7c5; padding: 10px 0 8px; }
.allocation-range > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.allocation-range label { font-size: .74rem; font-weight: 750; }
.allocation-range output { color: var(--green-dark); font-size: .73rem; font-weight: 850; font-variant-numeric: tabular-nums; }
.allocation-range input { width: 100%; margin: 7px 0 0; }
.allocation-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 13px; }
.allocation-actions .button { min-height: 44px; border-color: #7d9777; color: var(--ink); padding: 7px 11px; font-size: .73rem; }
.allocation-actions .button:hover { border-color: var(--green); background: #f9fbf5; }
.export-status { color: var(--green-dark); font-size: .72rem; }

.comparison { margin-top: 18px; padding: clamp(20px, 3vw, 31px); background: #fffaf2; border-color: #e7c5a6; }
.comparison .panel-topline { align-items: flex-start; }
.comparison .eyebrow { color: #9b5632; }
.icon-button { flex: none; width: 42px; height: 42px; border: 1px solid #d7bea8; border-radius: 50%; background: transparent; color: #744630; font-size: 1.6rem; line-height: 1; }
.icon-button:hover { background: #f8e9dc; }
.comparison-note { max-width: 830px; margin: 12px 0 18px; color: var(--muted); font-size: .8rem; }
.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.comparison-card { min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: white; }
.comparison-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.comparison-heading h3 { margin: 0; font-size: .89rem; }
.comparison-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.insecure-card .comparison-dot { background: var(--orange); }
.comparison-chart .budget-bar { min-height: 30px; }
.comparison-chart .bar-segment { height: 30px; }
.comparison-chart .figure-caption { margin-bottom: 6px; font-size: .7rem; }
.comparison-chart .chart-legend { grid-template-columns: 1fr; max-height: 195px; overflow: auto; }

.lower-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 18px; margin-top: 18px; align-items: start; }
.activities-panel, .evidence-panel { padding: clamp(20px, 3vw, 32px); }
.section-index { flex: none; color: #b4c1ad; font-family: var(--serif); font-size: 1.5rem; }
.lower-intro { max-width: 630px; margin: 13px 0 17px; color: var(--muted); font-size: .8rem; }
.activity-list, .evidence-list { display: grid; gap: 0; }
.activity-card, .evidence-card { border-top: 1px solid var(--line); padding: 12px 0; }
.activity-card h3, .evidence-card h3 { margin: 0 0 5px; font-size: .86rem; line-height: 1.3; }
.activity-card p, .evidence-card p { margin: 0 0 5px; color: var(--ink-soft); font-size: .74rem; }
.activity-card p:last-child, .evidence-card p:last-child { margin-bottom: 0; }
.activity-card .activity-examples { color: var(--green-dark); }
.activity-card .activity-condition { color: var(--muted); font-size: .7rem; }
.evidence-card { padding-left: 12px; border-left: 2px solid #d5a17e; }
.evidence-details { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 7px; }
.evidence-details summary { min-height: 42px; display: flex; align-items: center; color: var(--green-dark); font-size: .8rem; font-weight: 800; cursor: pointer; }
.evidence-card a { font-size: .72rem; font-weight: 750; }
.evidence-kind { display: inline-block; margin-bottom: 5px; border-radius: 99px; padding: 3px 7px; background: var(--green-pale); color: var(--green-dark); font-size: .62rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.method-details { margin-top: 15px; border-top: 1px solid var(--line); padding-top: 5px; }
.method-details ul { padding-left: 1.15rem; color: var(--ink-soft); font-size: .74rem; }
.method-details li + li { margin-top: 6px; }
.page-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; border-top: 1px solid var(--line); padding: 17px 2px 0; color: var(--muted); font-size: .75rem; }
.page-footer p { display: grid; gap: 1px; margin: 0; }
.page-footer strong { color: var(--ink); font-size: .78rem; }
.page-footer a { color: var(--green-dark); font-weight: 750; text-decoration: none; }
.page-footer a:hover { text-decoration: underline; }
.leisure-breakdown { display: grid; grid-template-columns: minmax(210px, .75fr) minmax(0, 1.25fr); align-items: center; gap: 30px; margin-top: 18px; padding: clamp(20px, 3vw, 31px); background: #f3ecdf; border-color: #ded1bd; }
.leisure-copy h2 { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(1.65rem, 3vw, 2.2rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.08; }
.leisure-copy p:not(.eyebrow) { margin: 0 0 14px; color: var(--ink-soft); font-size: .8rem; }
.leisure-total { display: grid; color: var(--green-dark); font-family: var(--serif); font-size: 1.32rem; }
.leisure-total small { color: var(--muted); font-family: var(--sans); font-size: .68rem; }
.leisure-figure { min-width: 0; margin: 0; }
.leisure-figure figcaption { margin-bottom: 9px; color: var(--ink-soft); font-size: .72rem; font-weight: 750; }
.leisure-chart { display: block; width: 100%; height: 35px; border-radius: 5px; }
.leisure-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 10px; }
.leisure-source { margin: 11px 0 0; font-size: .68rem; }
.leisure-source a { color: var(--muted); }
.noscript-note { position: fixed; right: 12px; bottom: 12px; left: 12px; z-index: 30; border: 2px solid #9b5632; border-radius: 9px; padding: 12px 16px; background: var(--orange-pale); color: #552f1e; }

.tone-0 { background: #405b82; }
.tone-1 { background: #7e9e88; }
.tone-2 { background: #c07b42; }
.tone-3 { background: #a56a75; }
.tone-4 { background: #d49942; }
.tone-5 { background: #5b8f78; }
.tone-6 { background: #59616e; }
.tone-7 { background: #8b7da4; }
.tone-8 { background: #5f8fba; }
.tone-9 { background: #777f58; }
.tone-10 { background: #429b92; }
.tone-11 { background: #b46c9c; }
.tone-12 { background: #9a9a91; }
.tone-13 { background: #b7624d; }
.tone-14 { background: #d3a747; }
.tone-15 { background: #6c9d7c; }
.tone-16 { background: #54a5a1; }
.tone-17 { background: #6686be; }
.tone-18 { background: #b8764e; }
.tone-19 { background: #7d9a62; }
.tone-20 { background: #6f7965; }
.budget-svg .tone-0, #leisure-chart .tone-0 { fill: #405b82; }
.budget-svg .tone-1, #leisure-chart .tone-1 { fill: #7e9e88; }
.budget-svg .tone-2, #leisure-chart .tone-2 { fill: #c07b42; }
.budget-svg .tone-3, #leisure-chart .tone-3 { fill: #a56a75; }
.budget-svg .tone-4 { fill: #d49942; }
.budget-svg .tone-5 { fill: #5b8f78; }
.budget-svg .tone-6 { fill: #59616e; }
.budget-svg .tone-7 { fill: #8b7da4; }
.budget-svg .tone-8 { fill: #5f8fba; }
.budget-svg .tone-9 { fill: #777f58; }
.budget-svg .tone-10 { fill: #429b92; }
.budget-svg .tone-11 { fill: #b46c9c; }
.budget-svg .tone-12 { fill: #9a9a91; }
.budget-svg .tone-13 { fill: #b7624d; }
.budget-svg .tone-14 { fill: #d3a747; }
.budget-svg .tone-15 { fill: #6c9d7c; }
.budget-svg .tone-16 { fill: #54a5a1; }
.budget-svg .tone-17 { fill: #6686be; }
.budget-svg .tone-18 { fill: #b8764e; }
.budget-svg .tone-19 { fill: #7d9a62; }
.budget-svg .tone-20 { fill: #6f7965; }

@media (max-width: 900px) {
  .hero { min-height: 0; grid-template-columns: minmax(0, 1fr) 250px; gap: 25px; padding-top: 55px; }
  .model-grid { grid-template-columns: minmax(0, 1fr); }
  .assumption-panel { display: block; }
}
@media (max-width: 650px) {
  body { font-size: 15px; }
  .site-bar { height: 50px; padding: 0 18px; }
  .page-shell { width: min(100% - 28px, 560px); padding-bottom: 30px; }
  .hero { display: block; padding: 46px 2px 24px; }
  .hero::before { top: -160px; right: -115px; width: 300px; height: 300px; }
  .hero::after { top: 24px; right: 27px; width: 110px; height: 110px; }
  h1 { max-width: 8em; font-size: clamp(3.2rem, 15vw, 4.9rem); }
  h1 span { max-width: 15em; font-size: 1.1rem; }
  .lede { max-width: 34em; }
  .baseline-label { align-items: flex-start; font-size: .73rem; }
  .baseline-dot { margin-top: 5px; }
  .hero-note { max-width: 440px; margin: 23px 0 0; padding-left: 31px; }
  .walkthrough { margin-top: 16px; padding: 19px 17px 19px; border-radius: 13px; }
  .walk-head h2 { font-size: 1.65rem; }
  .stage-pill { display: none; }
  .stage-copy { min-height: 0; font-size: .83rem; }
  .stage-context { grid-template-columns: 1fr; gap: 9px; margin-top: -5px; }
  .stage-sources { grid-column: 1; }
  .stage-controls { gap: 6px; }
  .stage-controls .button { min-height: 42px; padding: 8px 10px; font-size: .74rem; }
  .stage-controls .button-text { margin-left: 0; }
  .scrubber { margin-top: 17px; }
  .panel { border-radius: 13px; }
  .chart-panel, .assumption-panel { padding: 18px 16px; }
  .panel-topline h2 { font-size: 1.56rem; }
  .scenario-tag { max-width: 92px; white-space: normal; text-align: center; }
  .chart-toolbar { align-items: flex-start; }
  .scale-note { max-width: 150px; padding-top: 3px; }
  .chart-legend { grid-template-columns: 1fr; gap: 6px; }
  .summary-strip { gap: 5px; }
  .summary-strip > div { min-height: 68px; padding: 7px 6px; }
  .summary-strip span { font-size: .61rem; }
  .summary-strip strong { font-size: .82rem; }
  .assumption-panel { display: block; }
  .assumption-panel .range-list { display: grid; }
  .assumption-panel .security-help { margin-bottom: 15px; }
  .allocation-panel { display: block; padding: 20px 17px; }
  .allocation-intro { margin-bottom: 20px; }
  .allocation-intro h2 { font-size: 1.85rem; }
  .allocation-sliders { grid-template-columns: 1fr; }
  .comparison-grid, .lower-grid { grid-template-columns: 1fr; }
  .leisure-breakdown { display: block; padding: 20px 17px; }
  .leisure-copy { margin-bottom: 17px; }
  .comparison .panel-topline h2 { max-width: 12em; }
  .comparison-chart .chart-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activities-panel, .evidence-panel { padding: 20px 17px; }
  .page-footer { align-items: flex-start; }
  .page-footer a { flex: none; }
}
@media (max-width: 390px) {
  .stage-controls .button { font-size: .68rem; padding-inline: 8px; }
  .stage-controls .button span { display: none; }
  .stage-controls .button-dark span { display: inline; }
  .view-switch span { min-height: 36px; padding-inline: 8px; font-size: .67rem; }
  .figure-caption { align-items: flex-start; flex-direction: column; gap: 0; }
  .page-footer { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
