:root {
  color-scheme: light;
  --ink: #142820;
  --muted: #53675e;
  --paper: #f4f7f2;
  --white: #fff;
  --line: #dbe5db;
  --green: #007a57;
  --forest: #004636;
  --deep: #003428;
  --leaf: #b9efc8;
  --mint: #e6f6e9;
  --lilac: #eeebff;
  --violet: #5d4c99;
  --red: #952c29;
  --coral: #ffa78e;
  --font: "Aptos", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.52; }
a { color: var(--green); text-underline-offset: .18em; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #8f69d8; outline-offset: 3px; }
[hidden] { display: none !important; }
.frame { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.eyebrow { font: 700 .69rem/1.35 var(--mono); letter-spacing: .105em; color: var(--green); }
h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(1.44rem, 2.4vw, 2.1rem); letter-spacing: -.045em; line-height: 1.12; }
h3 { font-size: 1.04rem; line-height: 1.25; letter-spacing: -.025em; }
small { font-size: .76rem; }
.skip { position: absolute; top: -150px; left: 12px; padding: 10px 15px; z-index: 10; background: #fff; }
.skip:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
section[id] { scroll-margin-top: 24px; }
.masthead { background: var(--white); }
.mast-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex-shrink: 0; }
.brand img { display: block; width: 206px; height: auto; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(14px, 2.3vw, 36px); }
nav a { color: #374e43; font-size: .84rem; font-weight: 650; text-decoration: none; }
nav a:hover, .actions button:hover, .plain:hover { text-decoration: underline; }
.subscribe { flex-shrink: 0; white-space: nowrap; background: var(--forest); color: var(--white); border-radius: 5px; padding: 8px 12px; font-size: .8rem; font-weight: 750; text-decoration: none; }
.subscribe:hover { background: var(--deep); }
.hero { background: var(--deep); color: #f9fffa; overflow: hidden; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; min-height: 386px; padding: 42px 0 59px; isolation: isolate; }
.hero-inner::before { content: ""; position: absolute; z-index: -1; inset: 0 -12%; background: radial-gradient(ellipse at 76% 32%, #137455 0%, transparent 61%); }
.hero-copy { position: relative; z-index: 1; }
.hero-label { color: #c8efd4; display: flex; gap: 9px; align-items: center; margin-bottom: 14px; }
.hero-label span, .case-status > span:first-child { width: 7px; height: 7px; background: var(--coral); border-radius: 50%; }
h1 { font-weight: 760; line-height: .93; letter-spacing: -.07em; font-size: clamp(3.6rem, 7vw, 6.55rem); }
.hero p { font-size: clamp(.98rem, 1.45vw, 1.16rem); color: #d6eee0; max-width: 38ch; margin-top: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 21px; }
.primary-link { display: inline-flex; align-items: center; gap: 14px; background: var(--leaf); color: #073529; text-decoration: none; font-weight: 750; padding: 9px 15px; border-radius: 5px; font-size: .84rem; }
.primary-link:hover { background: #d8f6df; }
.article-link { color: #d6eee0; font-size: .84rem; font-weight: 700; padding-block: 9px; }
.article-link:hover { color: var(--white); }
.hero-art svg { width: 100%; display: block; }
.hero-meta { position: absolute; bottom: 15px; inset-inline: 0; border-top: 1px solid #c9f3d640; display: flex; justify-content: space-between; padding-top: 9px; color: #add5bb; font: 600 .64rem/1.3 var(--mono); letter-spacing: .12em; }
.page { padding-bottom: 55px; }
.snapshot { display: grid; grid-template-columns: 1fr 1.55fr 1fr auto; align-items: center; gap: 19px; padding: 16px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 25px; }
.snapshot div { display: grid; gap: 2px; }
.snapshot div > span { color: var(--muted); font-size: .72rem; }
.snapshot strong { font-size: .88rem; }
.snapshot i { display: inline-block; background: #a0b5a6; width: 4px; height: 4px; border-radius: 50%; vertical-align: middle; margin-inline: 5px; }
.snapshot a { font-weight: 720; white-space: nowrap; font-size: .82rem; }
.lab { display: grid; grid-template-columns: minmax(265px, 320px) minmax(0, 1fr); gap: 23px; align-items: start; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 13px; min-width: 0; }
.controls { overflow: hidden; }
.control-header { padding: 18px 17px 12px; display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.control-header h2 { font-size: 1.52rem; margin-top: 5px; }
.plain { background: transparent; border: 0; color: var(--green); padding: 3px 0; font-size: .78rem; font-weight: 750; }
.preset-list { padding: 0 16px; display: grid; grid-template-columns: .9fr 1fr 1.52fr; gap: 4px; }
.preset-list button, .segmented button { border: 1px solid var(--line); border-radius: 6px; background: #f4f7f2; color: #3a5144; font-size: .73rem; font-weight: 720; padding: 8px 4px; line-height: 1.22; }
.preset-list button[aria-pressed="true"], .segmented button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.preset-list button:hover:not([aria-pressed="true"]), .segmented button:hover:not([aria-pressed="true"]) { background: var(--mint); }
.note { color: var(--muted); font-size: .82rem; line-height: 1.48; }
#preset-note { min-height: 3.1em; margin: 10px 17px 12px; }
.year-control { margin: 0 16px 14px; display: flex; align-items: center; gap: 8px; justify-content: space-between; background: var(--lilac); padding: 8px 10px; border-radius: 6px; color: #45377d; font-size: .8rem; font-weight: 690; }
select { border: 1px solid #c6d4c8; border-radius: 5px; background: #fff; color: var(--ink); padding: 4px 8px; font-size: .8rem; font-weight: 690; }
details { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 13px 17px; display: flex; align-items: center; justify-content: space-between; font-size: .9rem; font-weight: 750; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font-size: 1.08rem; font-weight: 520; }
details[open] summary::after { content: "−"; }
.input-list { padding: 0 17px 12px; }
.group-note { margin: -2px 17px 13px; font-size: .75rem; }
.control-row { margin: 0 0 10px; }
.control-row:last-child { margin-bottom: 0; }
.control-row > label { display: block; font-size: .77rem; color: var(--muted); margin-bottom: 2px; }
.control-field { display: flex; gap: 9px; align-items: center; }
input[type="range"] { margin: 0; min-width: 35px; flex: 1; accent-color: var(--green); cursor: pointer; height: 27px; }
.number-wrap { display: inline-flex; align-items: center; border: 1px solid #d9e3d9; border-radius: 5px; padding: 2px 5px; min-width: 76px; background: #fcfdfc; }
.number-wrap input { background: transparent; border: 0; color: var(--ink); font-size: .84rem; font-weight: 720; width: 47px; padding: 3px 0; appearance: textfield; font-variant-numeric: tabular-nums; }
.number-wrap input::-webkit-inner-spin-button, .number-wrap input::-webkit-outer-spin-button { appearance: none; }
.number-wrap > span { color: var(--muted); font-size: .65rem; }
.control-foot { margin: 0; padding: 11px 17px 15px; border-top: 1px solid var(--line); }
.lab-main { min-width: 0; }
.result-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 11px; min-height: 31px; margin-bottom: 8px; }
.case-status { display: inline-flex; align-items: center; gap: 8px; font: 720 .7rem/1.35 var(--mono); text-transform: uppercase; letter-spacing: .065em; color: #23523f; }
.case-status > span:first-child { background: var(--green); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.actions button { border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 6px 9px; color: var(--green); font-size: .74rem; font-weight: 750; }
.value-card { background: linear-gradient(122deg, #064c3a, #00634a 68%, #07503f); color: #fff; border-radius: 13px; min-height: 150px; display: flex; justify-content: space-between; align-items: center; gap: 17px; padding: 19px 24px; }
.value-card .eyebrow { color: #bce6ca; }
.big-value { display: flex; align-items: baseline; gap: 9px; margin-block: 1px 5px; font-variant-numeric: tabular-nums; }
.big-value small { color: #bce6ca; font: 700 1rem/1.2 var(--mono); }
.big-value strong { font-size: clamp(3.05rem, 5vw, 4.9rem); letter-spacing: -.079em; line-height: .98; }
.value-card p, .value-side span { color: #d4eee0; font-size: .77rem; }
.value-side { display: grid; gap: 4px; text-align: right; white-space: nowrap; }
.value-side strong { color: #cbffd6; font-size: clamp(1.5rem, 3vw, 2.45rem); line-height: 1; letter-spacing: -.046em; }
.value-side strong.value-negative { color: #ffd2bb; }
.kpis, .funding-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-block: 9px 13px; }
.mini-kpi { display: grid; gap: 3px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 11px; }
.mini-kpi span { color: var(--muted); font-size: .76rem; line-height: 1.25; }
.mini-kpi strong { color: var(--forest); font-size: clamp(1.05rem, 1.8vw, 1.48rem); letter-spacing: -.045em; font-variant-numeric: tabular-nums; line-height: 1.2; white-space: nowrap; }
.mini-kpi small { color: var(--muted); line-height: 1.2; }
.negative, .negative strong { color: var(--red) !important; }
.alert { background: #fff2e9; color: #742e24; border: 1px solid #f4c3b0; border-left: 4px solid #c75647; padding: 9px 13px; border-radius: 6px; display: flex; flex-wrap: wrap; gap: 4px 9px; margin: 0 0 12px; font-size: .82rem; }
.chart-card, .capacity-card { padding: 16px 18px; margin-bottom: 12px; }
.section-head { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-head h2 { margin-top: 4px; }
.segmented { display: flex; gap: 3px; }
.segmented button { padding: 7px 9px; white-space: nowrap; }
.chart svg { width: 100%; height: auto; min-height: 166px; display: block; }
.chart text { font: 14px var(--font); fill: var(--muted); }
.axis-grid { stroke: #dbe7dd; }
.axis-zero { stroke: #9caea0; }
.baseline { stroke: #7d6ca8; stroke-width: 2.5; stroke-dasharray: 6 5; fill: none; }
.selected-line { stroke: #007c56; stroke-width: 3.8; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.point { fill: #fff; stroke: #007c56; stroke-width: 2.6; }
.legend { display: flex; flex-wrap: wrap; gap: 9px 15px; color: var(--muted); font-size: .73rem; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 13px; height: 3px; background: var(--green); }
.legend span:nth-child(2) i { background: #8272aa; }
.legend span:last-child { margin-left: auto; }
.select-inline { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .8rem; white-space: nowrap; }
.capacity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 10px; }
.capacity-item { background: #f6faf5; border: 1px solid #e1ebe0; border-radius: 8px; padding: 11px 12px; }
.capacity-item > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.capacity-item > div:first-child strong { color: var(--green); font-size: 1.22rem; letter-spacing: -.045em; white-space: nowrap; }
.meter { background: #d9e9db; height: 7px; border-radius: 20px; margin: 6px 0 7px; overflow: hidden; }
.meter i { height: 100%; display: block; background: #00825a; border-radius: 20px; transition: width .15s ease; }
.capacity-item p { font-size: .79rem; color: #3a5545; }
.capacity-item small { color: var(--muted); font-size: .71rem; display: block; margin-top: 3px; }
.wide-card { padding: 21px 23px; margin-top: 19px; }
.wide-card > .note { margin-top: 11px; }
.pill { padding: 4px 8px; color: var(--green); background: var(--mint); border-radius: 4px; font: 700 .68rem/1.3 var(--mono); white-space: nowrap; }
.funding-kpis .mini-kpi { background: #f5faf5; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-size: .84rem; }
th, td { padding: 7px 11px; border-bottom: 1px solid #e4ebe3; }
th:first-child { text-align: left; }
thead th { font-size: .75rem; background: #edf4ed; color: #395046; }
tbody th { color: #3d5548; font-weight: 550; }
.strong-row { font-weight: 760; color: var(--ink); }
.strong-row th { font-weight: 760; }
.focus-col { background: #edf8ed; }
.valuation-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 25px; }
.valuation-grid h3 { margin-bottom: 9px; }
.valuation-grid .note { margin-top: 8px; }
.bridge-list { margin: 0; }
.bridge-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; border-bottom: 1px solid #e4ebe3; }
.bridge-list dt { color: var(--muted); font-size: .84rem; }
.bridge-list dd { margin: 0; font-size: .84rem; font-weight: 730; white-space: nowrap; }
.bridge-list > div:last-child { border-bottom: 0; padding-top: 8px; }
.bridge-list > div:last-child dd { color: var(--green); font-size: 1.15rem; }
.matrix th, .matrix td { padding: 7px 8px; }
.matrix-selected { background: var(--lilac); color: #47357c; font-weight: 760; }
.callout { display: flex; gap: 5px 15px; align-items: baseline; flex-wrap: wrap; background: #eef6ee; padding: 10px 12px; border-radius: 6px; margin-top: 13px; }
.callout strong { font-size: .91rem; }
.callout span { color: var(--muted); font-size: .8rem; }
.method { margin-top: 26px; }
.method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.method-grid article { padding: 15px; }
.method-grid p { color: var(--muted); font-size: .84rem; margin: 7px 0 9px; }
.method-grid a { display: block; font-size: .8rem; font-weight: 690; padding-top: 2px; }
footer { background: #eaf1e9; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; min-height: 60px; padding-block: 12px; font-size: .78rem; color: var(--muted); }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.footer-brand img { flex: none; }
.footer-inner strong { color: var(--forest); letter-spacing: .045em; }

@media (max-width: 980px) {
  .frame { width: calc(100% - 40px); }
  .lab { grid-template-columns: minmax(235px, 270px) minmax(0, 1fr); gap: 14px; }
  .chart-card, .capacity-card { padding-inline: 12px; }
  .mini-kpi { padding-inline: 8px; }
}
@media (max-width: 760px) {
  .frame { width: calc(100% - 32px); }
  .mast-inner { flex-wrap: wrap; gap: 8px; padding: 9px 0; }
  .brand img { width: clamp(145px, 44vw, 183px); }
  nav { order: 1; flex-basis: 100%; gap: 6px 14px; }
  nav a { font-size: .76rem; }
  .hero-inner { min-height: 320px; padding-block: 33px 49px; grid-template-columns: 1fr .65fr; }
  .hero-art { position: relative; width: 145%; margin-left: -42%; opacity: .8; z-index: -1; }
  h1 { font-size: clamp(3.1rem, 9.3vw, 4.5rem); }
  .snapshot { grid-template-columns: 1fr 1fr; gap: 9px 13px; margin-bottom: 14px; }
  .snapshot a { justify-self: end; }
  .lab { grid-template-columns: minmax(0, 1fr); }
  .control-row > label, .number-wrap input, .preset-list button { font-size: .84rem; }
  .lab-main { min-width: 0; }
  .wide-card { padding: 15px 12px; }
  .valuation-grid { grid-template-columns: 1fr; gap: 14px; }
  .method-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .frame { width: calc(100% - 24px); }
  .hero-inner { grid-template-columns: 1fr; min-height: 315px; }
  .hero-art { position: absolute; inset: 15px -25% auto auto; margin: 0; width: 91%; opacity: .32; }
  .value-card { padding-inline: 13px; }
  .value-card p { max-width: 20ch; }
  .value-side span { font-size: .68rem; }
  .kpis, .funding-kpis { grid-template-columns: 1fr 1fr; }
  .kpis > :last-child, .funding-kpis > :last-child { grid-column: 1 / -1; }
  .chart-card .section-head { flex-wrap: wrap; }
  .capacity-grid { grid-template-columns: 1fr; }
  .snapshot strong { font-size: .79rem; }
  .legend span:last-child { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.valuation-diagnostics { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.valuation-diagnostics summary { padding-inline: 0; }
