.finance-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr);
  gap: clamp(24px, 6vw, 84px);
  align-items: center;
  padding-block: clamp(36px, 6vw, 88px);
}
.finance-intro h1 { margin: 8px 0 14px; }
.finance-lead { max-width: 41em; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.finance-limit {
  padding: clamp(22px, 3.2vw, 42px);
  border-top: 4px solid #e4af48;
  border-radius: 3px;
  background: #234b35;
  color: #fff;
}
.finance-limit p { margin: 0; }
.finance-limit p:first-child { font-weight: 650; }
.finance-limit strong { display: block; margin: 6px 0 17px; font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1.25; font-variant-numeric: tabular-nums; }
.finance-limit strong span { margin-inline: .04em; font-size: .6em; }
.finance-limit p:last-child { padding-top: 13px; border-top: 1px solid #64806a; color: #eef4ed; font-size: .94rem; }
.finance-hub section > p { max-width: 68em; }
.finance-caption { margin: 13px 0 20px; color: var(--muted); }
.finance-years, .finance-outcomes { display: grid; margin: 23px 0 16px; }
.finance-years { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 26px); }
.finance-years > div { padding: 8px 0 10px; border-top: 2px solid #7b9974; }
.finance-years dt, .finance-outcomes dt { color: var(--muted); font-size: .93rem; font-weight: 650; }
.finance-years dd, .finance-outcomes dd { margin: 4px 0 0; color: var(--forest); font-weight: 700; font-variant-numeric: tabular-nums; }
.finance-years dd { font-size: clamp(1.16rem, 2vw, 1.66rem); }
.finance-hub section > p:last-child { margin-bottom: 0; }
.finance-outcomes { grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid #cad8c7; background: var(--pale); }
.finance-outcomes > div { padding: 17px clamp(12px, 2vw, 25px); }
.finance-outcomes > div + div { border-inline-start: 1px solid #cad8c7; }
.finance-outcomes dd { font-size: clamp(1.25rem, 2.2vw, 1.88rem); }
.finance-note { font-size: .93rem; color: var(--muted); }
.finance-links { list-style: none; margin: 14px 0 0; padding: 0; }
.finance-links li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: baseline; gap: 25px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.finance-links a { font-size: 1.05rem; font-weight: 700; }
.finance-links p { margin: 0; color: var(--muted); }
.finance-hub .mast nav a[aria-current=page] { border-bottom: 2px solid #ad7620; }
#equity-2036 h3 { margin: 26px 0 8px; }
.equity-table { margin-block: 16px; }
.equity-table table { max-width: 57rem; }
.equity-table th, .equity-table td { padding: 12px 14px; font-size: .97rem; }
@media (max-width: 620px) {
  .equity-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .equity-table table, .equity-table tbody, .equity-table tr { display: block; }
  .equity-table tbody tr { margin: 8px 0; padding: 9px 12px; border-block-start: 1px solid var(--line); }
  .equity-table th[scope="row"] { display: block; }
  .equity-table th, .equity-table td { border: 0; padding: 3px 0; }
  .equity-table td { display: flex; justify-content: space-between; gap: 8px; }
  .equity-table td::before { content: attr(data-label); font-size: .85rem; color: var(--muted); }
}
@media (max-width: 760px) {
  .finance-intro, .finance-links li { grid-template-columns: minmax(0, 1fr); }
  .finance-limit strong { font-size: 2.5rem; }
  .finance-links li { gap: 6px; }
  .finance-years { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finance-outcomes { grid-template-columns: minmax(0, 1fr); }
  .finance-outcomes > div { padding: 10px 16px; }
  .finance-outcomes > div + div { border-inline-start: 0; border-top: 1px solid #cad8c7; }
}
@media print {
  .finance-limit { color: var(--forest); background: #fff; border: 1px solid #96ae9c; }
  .finance-limit p:last-child { color: var(--muted); }
  .finance-intro { padding-block: 18px; }
}
.equity-controls { margin-block: 1.2rem; padding: .9rem 1rem; background: #eef3ec; border-radius: 4px; }
.equity-controls summary { cursor: pointer; color: #234b35; font-weight: 700; }
.equity-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .8rem 1.2rem; }
.equity-fields label { display: grid; gap: .35rem; font-weight: 650; }
.equity-fields input { box-sizing: border-box; width: 100%; padding: .55rem; font: inherit; color: #213c2b; background: white; border: 1px solid #698471; border-radius: 3px; }
.equity-controls output { display: block; margin-top: 1rem; font-weight: 700; color: #234b35; }

.funding-first {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
  padding: clamp(20px, 3vw, 38px);
  border-inline-start: 4px solid #be8424;
  background: var(--pale);
}
.funding-first h3 { margin-bottom: 7px; font-size: clamp(1.2rem, 2vw, 1.6rem); }
.funding-first p, .funding-first dl, .funding-first dd { margin: 0; }
.funding-first dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.funding-first dt { color: var(--muted); font-size: .9rem; font-weight: 650; }
.funding-first dd { color: var(--forest); font-weight: 750; font-size: clamp(1.65rem, 3vw, 2.6rem); }
.funding-first + .finance-note { margin-block: 12px; }
.funding-jump a { font-weight: 700; }
.funding-subhead, .funding-estimate > h3 { color: var(--forest); font-size: clamp(1.3rem, 2.1vw, 1.75rem); }
.funding-subhead { margin: clamp(30px, 4vw, 52px) 0 8px; }
.funding-phases, .funding-gates { padding: 0; margin: 17px 0; }
.funding-phases { list-style: none; border-top: 2px solid #819982; }
.funding-phases li, .funding-gates > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr);
  gap: 12px clamp(22px, 4vw, 54px);
  padding-block: clamp(15px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
}
.funding-phases li > div:first-child > span { color: #526454; font-size: .9rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.funding-phases h4 { margin: 5px 0 0; color: var(--forest); font-size: 1.12rem; line-height: 1.5; }
.funding-phases p, .funding-gates dd { margin: 0; }
.funding-phase-body p + p { margin-top: .55em; }
.funding-gates { border-top: 1px solid var(--line); }
.funding-gates dt { align-self: baseline; padding-left: 13px; border-left: 3px solid #a6ba9b; font-weight: 700; color: var(--forest); }
#funding-roadmap details { max-width: 66rem; }
.funding-estimate {
  margin-top: clamp(26px, 4vw, 52px);
  padding: clamp(16px, 3vw, 36px);
  border: 1px solid #bccfbd;
  border-top: 4px solid var(--forest);
  background: #f6f9f4;
  scroll-margin-top: 18px;
}
.funding-estimate > h3 { margin-bottom: 9px; }
.funding-estimate fieldset { min-width: 0; margin: 12px 0 18px; padding: 0 0 15px; border: 0; border-bottom: 1px solid #cbd8c8; }
.funding-estimate legend { padding: 0; margin-bottom: 9px; color: var(--forest); font-weight: 700; }
.funding-estimate fieldset p { font-size: .93rem; color: var(--muted); margin-bottom: 10px; }
.funding-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 22px; }
.funding-terms { grid-template-columns: repeat(3,minmax(0,1fr)); }
.funding-fields label { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; font-size: .94rem; font-weight: 650; }
.funding-fields label:has(small) { justify-content: flex-start; }
.funding-fields small { color: var(--muted); font-weight: 400; }
.funding-fields input, .funding-fields select { min-height: 42px; }
.funding-result { margin: 20px 0 10px; padding: clamp(16px, 2.3vw, 28px); background: #234b35; color: #fff; }
.funding-result dl { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.5fr); gap: 9px 25px; margin: 0; }
.funding-result dt { color: #dbe7dc; font-size: .9rem; }
.funding-result dd { margin: 3px 0 0; font-size: clamp(1.17rem, 2vw, 1.6rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.funding-result p { margin: 11px 0 0; }
.funding-result p:empty { display: none; }
#funding-status:not(:empty) { margin: 0 0 12px; color: #ffe0a5; font-weight: 700; }
.funding-estimate > .finance-note { margin: 0; }
#scale-2036 h3 { margin-block: 1.9rem .45rem; }
#scale-2036 details { margin-block: 1rem; }
#scale-2036 details summary { color: var(--forest); font-weight: 700; cursor: pointer; }
#scale-2036 details p { max-width: 74em; margin: .7rem 0; }
.scale-targets, .scale-figures { display: grid; gap: 0; margin: 1.25rem 0; font-variant-numeric: tabular-nums; }
.scale-targets { grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid #bdcebf; }
.scale-figures { grid-template-columns: repeat(3,minmax(0,1fr)); color: white; background: #244b37; }
.scale-targets > div, .scale-figures > div { padding: 1rem clamp(14px,2vw,30px); }
.scale-targets > div + div { border-left: 1px solid #d4dfd3; }
.scale-figures > div + div { border-left: 1px solid #64856e; }
.scale-targets dt, .scale-figures dt { font-weight: 650; font-size: .93rem; }
.scale-targets dd, .scale-figures dd { margin: .23rem 0 0; font-size: clamp(1.25rem,2.4vw,2.05rem); line-height: 1.45; font-weight: 720; }
.scale-targets dd { color: var(--forest); }
.scale-figures small { display: block; margin-top: .36rem; color: #e1ecdf; }
.scale-switch { margin-top: 1.6rem; padding: 1rem clamp(14px,2vw,24px); background: var(--pale); }
.scale-switch:not([hidden]) { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px 20px; }
.scale-switch label, .scale-table-heading label { min-width: 0; display: grid; gap: .25rem; font-weight: 650; }
.scale-switch input, .scale-switch select, .scale-table-heading select { width: 100%; min-height: 42px; padding: .42rem .6rem; background: #fff; border: 1px solid #6c8571; border-radius: 3px; font: inherit; }
.scale-switch > p { flex-basis: 100%; margin: .3rem 0 0; color: var(--muted); font-size: .94rem; }
.scale-outcome { border-left: 3px solid #b38d4d; padding-left: 1rem; }
.scale-decision { margin-block: 1em; padding: 1em clamp(14px,2vw,24px); background: #f7f3e8; }
#scale-2036 .scale-decision h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.scale-decision p { margin: .4rem 0; }
.scale-decision h4 { margin: 1.1rem 0 .25rem; color: var(--forest); font-size: 1rem; }
.scale-table-heading { display: flex; gap: 1rem; align-items: end; justify-content: space-between; margin-top: 2rem; }
#scale-2036 .scale-table-heading h3 { margin: 0; font-size: clamp(1.22rem,2.1vw,1.65rem); }
.scale-table-heading + p { margin-block: .55rem; }
.scale-scroll { max-width: 100%; overflow-x: auto; border-block: 1px solid #bdcebf; }
.scale-scroll table { min-width: 48rem; width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.scale-scroll caption { text-align: left; padding: .5rem .7rem; color: var(--muted); }
.scale-scroll th, .scale-scroll td { text-align: right; padding: .62rem .65rem; white-space: nowrap; font-size: .93rem; }
.scale-scroll th:first-child { text-align: left; position: sticky; left: 0; z-index: 1; background: #f5f8f3; border-right: 1px solid #d2dfd0; }
.scale-scroll thead th { background: #edf3eb; color: #264d36; }
.scale-scroll tbody tr:last-child :is(th,td) { color: #244c34; background: #eaf2e7; font-weight: 700; }
.balance-figures { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; margin: 1.45rem 0; }
.balance-figures > div { padding: .8rem 0; border-top: 3px solid #578364; }
.balance-figures > div + div { border-color: #ad843e; }
.balance-figures dt { color: var(--muted); font-weight: 650; }
.balance-figures dd { margin: .2rem 0; color: var(--forest); font-size: clamp(1.8rem,3vw,2.5rem); line-height: 1.25; font-weight: 720; font-variant-numeric: tabular-nums; }
.balance-figures small { display: block; color: var(--muted); }
.balance-scroll table { min-width: 43rem; }
.balance-scroll .balance-negative { color: #913c29; }
#early-hiring h3 { margin: 1.6rem 0 .6rem; color: var(--forest); font-size: clamp(1.2rem,2vw,1.6rem); }
#early-hiring .scale-table-heading { margin: 1.4rem 0 .65rem; }
#early-hiring .scale-table-heading h3 { margin: 0; }
.early-controls:not([hidden]) { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem 1.25rem; }
.early-controls > p { grid-column: 1 / -1; }
.early-insight { margin: 1rem 0; padding: .85rem 1.1rem; border-left: 3px solid #9e722b; background: #f8f4e9; color: #314232; }
.early-scroll table { min-width: 42rem; }
.early-scroll th:first-child { width: 34%; }
.early-scroll tbody td { color: #273f32; }
.early-scroll tbody tr:last-child :is(th,td) { background: #f4f7f2; font-weight: 600; }
#early-annual tbody tr:first-child td { white-space: normal; }
#early-status { color: var(--negative); }
.group-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.1rem 1.75rem;
  min-width: 0;
  margin: 1.4rem 0;
  padding: 1rem 0 0;
  border: 0;
  border-top: 1px solid #bdcebf;
}
.group-fields legend { padding: 0 1rem 0 0; color: var(--forest); font-size: 1.15rem; font-weight: 700; }
.group-fields label { display: grid; gap: .35rem; min-width: 0; font-weight: 650; }
.group-fields :is(input, select) { min-width: 0; width: 100%; min-height: 44px; padding: .45rem .65rem; border: 1px solid #718875; border-radius: 3px; background: white; font: inherit; }
.group-fields small { color: var(--muted); font-size: .85rem; font-weight: 400; }
.group-optional summary { color: var(--forest); font-weight: 650; cursor: pointer; }
.group-optional .group-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.group-reset { margin: 1rem 0 .3rem; padding: .55rem .9rem; border: 1px solid #738977; border-radius: 3px; background: white; color: var(--forest); font: inherit; cursor: pointer; }
#group-status { color: var(--muted); }
#group-results > p { margin: .8rem 0; }
@media (max-width: 700px) {
  .group-fields, .group-optional .group-fields { grid-template-columns: minmax(0, 1fr); }
  .early-controls:not([hidden]) { grid-template-columns: minmax(0,1fr); }
  .early-scroll table { min-width: 36rem; }
  .early-scroll th:first-child { max-width: 8rem; width: 8rem; white-space: normal; }
}
#equity-ratio h3 { margin: 1.75rem 0 .5rem; }
.scale-borrowing { margin-block: .9rem; }
#scale-assumptions dl { display: grid; grid-template-columns: minmax(8em,1fr) minmax(0,5fr); gap: .55rem 1rem; }
#scale-assumptions dt { font-weight: 700; }
#scale-assumptions dd { margin: 0; }
@media (max-width: 650px) {
  .balance-figures { gap: .9rem; }
  .balance-figures dt, .balance-figures small { font-size: .87rem; }
  .scale-figures, .scale-targets { grid-template-columns: minmax(0,1fr); }
  .scale-targets > div, .scale-figures > div { padding: .62rem .85rem; display: grid; align-items: baseline; grid-template-columns: minmax(0,.95fr) minmax(0,1.2fr); column-gap: .65rem; }
  .scale-targets > div + div, .scale-figures > div + div { border-left: 0; border-top: 1px solid; }
  .scale-targets > div + div { border-color: #d4dfd3; }
  .scale-figures > div + div { border-color: #64856e; }
  .scale-targets dd, .scale-figures dd { margin: 0; }
  .scale-figures small { grid-column: 1 / -1; }
  .scale-table-heading { align-items: start; flex-direction: column; gap: .5rem; }
  .scale-switch label { width: 100%; }
  #scale-assumptions dl { grid-template-columns: minmax(0,1fr); gap: .15rem; }
  #scale-assumptions dd { margin-bottom: .65rem; }
}
@media (max-width: 780px) {
  .funding-first, .funding-phases li, .funding-gates > div, .funding-terms { grid-template-columns: minmax(0,1fr); }
  .funding-gates > div, .funding-phases li { gap: 7px; }
}
@media (max-width: 560px) {
  .funding-fields, .funding-result dl { grid-template-columns: minmax(0,1fr); }
  .funding-first dl { gap: 12px; }
  .funding-fields select { padding-inline: 6px; font-size: .9rem; }
}
@media print {
  .funding-estimate form, .funding-jump { display: none; }
  .funding-result, .funding-first { color: var(--ink); background: white; border: 1px solid #adc1ae; }
  .funding-result dt { color: var(--muted); }
}
