:root {
  color-scheme: light;
  --bg: #f8faf5;
  --paper: #fff;
  --ink: #122923;
  --muted: #465e54;
  --green: #14634c;
  --forest: #103a30;
  --line: #dce5da;
  --wash: #edf4ea;
  --mint: #cceeb3;
  --bar: #408768;
  --pending: #d8e7da;
  --radius: 19px;
  --sans: "Segoe UI", system-ui, sans-serif;
  --mono: "Cascadia Mono", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
a { color: inherit; }
:is(a, button, input, textarea, select, summary, .table-wrap):focus-visible { outline: 3px solid #2b886b; outline-offset: 5px; }
section[id] { scroll-margin-top: 24px; }
.wrap { max-width: 1272px; margin: 0 auto; padding-inline: clamp(18px, 4vw, 54px); }
.topbar { border-bottom: 1px solid var(--line); }
.nav { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.nav nav { display: flex; gap: clamp(11px, 2.25vw, 30px); font-size: 14px; }
.nav nav a, .text-link { text-decoration: none; color: var(--muted); font-weight: 650; }
.nav nav a:hover, .text-link:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.nav > .button { justify-self: end; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; text-decoration: none; color: var(--forest); font-size: 25px; font-weight: 760; letter-spacing: -.055em; line-height: 1; }
.brand-name span { color: var(--green); font-weight: 640; }
.brand-mark { position: relative; isolation: isolate; display: block; flex: 0 0 auto; width: 39px; aspect-ratio: 1; background: linear-gradient(150deg, #1c5845, var(--forest) 65%); border: 1px solid #316b55; border-radius: 11px; }
.brand-mark i { position: absolute; left: 17%; width: 66%; height: 37%; clip-path: polygon(0 50%, 50% 0, 100% 50%, 50% 100%); }
.brand-mark i:nth-child(1) { top: 19%; z-index: 3; background: var(--mint); }
.brand-mark i:nth-child(2) { top: 33%; z-index: 2; background: #86bb9b; }
.brand-mark i:nth-child(3) { top: 47%; z-index: 1; background: #519477; }
.brand-mark::after { content: ""; position: absolute; z-index: 4; top: 17%; right: 14%; width: 12%; aspect-ratio: 1; border-radius: 50%; background: #f2ffe1; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; border: 1px solid transparent; border-radius: 9px; padding: 7px 16px; text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.3; text-align: center; }
.button-outline { border-color: #b8cfbf; color: var(--forest); }
.button-outline:hover { background: var(--wash); }
.button-dark { background: var(--forest); color: #f7fff1; padding-inline: 20px; }
.button-dark:hover { background: var(--green); }
.hero { display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; gap: clamp(28px, 5vw, 76px); padding-block: clamp(48px, 7vw, 98px); }
.eyebrow { text-transform: uppercase; letter-spacing: .11em; font: 700 13px/1.4 var(--mono); color: var(--green); display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.eyebrow span { inline-size: 14px; block-size: 2px; background: currentColor; }
h1 { font-weight: 760; font-size: clamp(44px, 5.65vw, 77px); letter-spacing: -.067em; max-width: 13ch; }
h1 em { font-style: normal; color: var(--green); }
.lead { margin-top: 22px; color: var(--muted); font-size: clamp(17px, 1.55vw, 20px); max-width: 49ch; }
.lead + .lead { margin-top: 10px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 21px; margin-top: 26px; }
.hero-figure { overflow: hidden; position: relative; padding: clamp(20px, 3.4vw, 38px); background: radial-gradient(ellipse at 89% 5%, #1a5944, var(--forest) 68%); color: #f3fbef; border: 1px solid #225846; border-radius: 24px; box-shadow: 0 18px 40px #102c221a; }
.figure-head, .figure-axis { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.figure-kicker { color: #c4dfcf; font-size: 14px; }
.figure-head h2 { font-size: clamp(23px, 2.4vw, 33px); margin-top: 5px; letter-spacing: -.043em; }
.hero-chart { display: grid; grid-template-columns: repeat(var(--bars, 24), minmax(0,1fr)); gap: clamp(2px, .5vw, 6px); align-items: end; height: clamp(144px, 19vw, 237px); margin-top: 28px; border-bottom: 1px solid #ffffff54; background: repeating-linear-gradient(to top, transparent 0 calc(25% - 1px), #ffffff20 calc(25% - 1px) 25%); }
.hero-chart .chart-bar { height: var(--height); background: #669784; border-radius: 3px 3px 0 0; }
.hero-chart .is-funded { background: linear-gradient(#d9ffae, #a7d891); }
.figure-axis { font-size: 13px; color: #d1e7d9; margin-top: 7px; }
.hero-figure figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 24px; padding-top: 14px; border-top: 1px solid #ffffff35; color: #dcefe2; font-size: 13px; }
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; flex: 0 0 auto; }
.legend-dot.funded { background: var(--bar); }
.legend-dot.unfunded { background: var(--pending); border: 1px solid #adcaaf; }
.hero-figure .funded { background: var(--mint); }
.hero-figure .unfunded { background: #669784; border: 0; margin-left: 12px; }
.section { padding-block: clamp(48px, 6vw, 79px); }
.assessment { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: 27px; }
.section-head h2 { font-size: clamp(33px, 4.1vw, 53px); font-weight: 750; letter-spacing: -.056em; }
.section-head > p:last-child:not(.eyebrow) { color: var(--muted); font-size: 18px; margin-top: 12px; max-width: 62ch; }
.assessment-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }
.capture { padding: clamp(19px, 3vw, 31px); background: var(--wash); border: 1px solid #d7e6d7; border-radius: var(--radius); }
.capture h3, .outcome h3, .method-grid h3, .ingestion h3 { font-size: 22px; letter-spacing: -.025em; }
.capture p, .outcome p, .method-grid p, .ingestion p { color: var(--muted); margin-top: 8px; }
.capture blockquote { margin-block: 16px 12px; padding: 10px 14px; border-left: 3px solid #70a58b; background: #f9fcf8; font-weight: 650; }
.mapping { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.mapping span { margin-right: 4px; }
.mapping code { background: #e0ede1; color: #254d3d; padding: 2px 6px; border-radius: 4px; overflow-wrap: anywhere; }
.outcomes { display: grid; gap: 12px; }
.outcome { display: grid; grid-template-columns: 39px minmax(0,1fr); gap: 13px; align-items: start; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 2.4vw, 24px); }
.outcome-mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 8px; font: 700 24px/1 var(--mono); }
.exists { color: #21563e; background: #dfefdf; }
.missing { color: #785024; background: #f7eddd; }
.method-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.method-grid article { border-top: 2px solid #9db9a5; padding-top: 15px; }
.method-grid h3 { font-size: 21px; }
.sandbox { background: #edf4ed; border-block: 1px solid var(--line); }
.sim-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 15px; align-items: stretch; }
.sim-card { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 2.8vw, 28px); }
.plot-card { display: flex; flex-direction: column; gap: 16px; }
.budget-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.plot-header h3 { font-size: 23px; letter-spacing: -.035em; }
.plot-header p { color: var(--muted); margin-top: 3px; }
.plot-shell { flex: 1; min-height: 198px; display: grid; grid-template-columns: max-content minmax(0, 1fr); grid-template-rows: minmax(180px, 1fr) auto; gap: 4px 8px; }
.y-labels { display: flex; flex-direction: column; justify-content: space-between; text-align: right; color: var(--muted); font: 12px/1 var(--mono); }
.plot { display: grid; grid-template-columns: repeat(var(--bars, 24), minmax(0,1fr)); gap: clamp(1px, .28vw, 5px); align-items: end; padding-inline: 4px; border-bottom: 1px solid #a4bab0; border-left: 1px solid #dde7df; background: repeating-linear-gradient(to top, transparent 0 calc(25% - 1px), #e1e9e4 calc(25% - 1px) 25%); }
.chart-bar { min-width: 0; }
.plot .chart-bar { height: var(--height); border-radius: 3px 3px 0 0; background: var(--pending); transition: background .16s ease; }
.plot .is-funded { background: var(--bar); }
.plot-x { grid-column: 2; color: var(--muted); font-size: 13px; text-align: center; }
.plot-legend { display: flex; gap: 10px 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.plot-legend span { display: flex; align-items: center; gap: 6px; }
.budget-head { align-items: baseline; }
.budget-head label { font-weight: 700; }
.budget-head output { font: 700 18px/1.3 var(--mono); color: var(--green); }
input[type=range] { display: block; accent-color: var(--green); width: 100%; height: 28px; margin: 7px 0 0; cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; color: var(--muted); font: 12px/1.2 var(--mono); margin-bottom: 16px; gap: 4px; }
.select-control { display: grid; gap: 4px; }
.select-control label { font-size: 14px; font-weight: 700; }
.select-control select { width: 100%; min-width: 0; appearance: none; border: 1px solid #b8cfbf; border-radius: 8px; padding: 7px 31px 7px 9px; font: inherit; color: var(--ink); background: linear-gradient(45deg, transparent 50%, var(--green) 50%) calc(100% - 15px) 50% / 5px 5px no-repeat, linear-gradient(135deg, var(--green) 50%, transparent 50%) calc(100% - 10px) 50% / 5px 5px no-repeat, var(--bg); }
.assessment-picker { max-width: 285px; margin-top: 14px; }
.plot-picker { max-width: 285px; }
.metrics { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.metric { background: #f3f7f1; padding: 9px 10px; border-radius: 8px; min-width: 0; }
.metric.featured { grid-column: 1 / -1; background: #e9f5e4; }
.metric dt { color: var(--muted); font-size: 14px; font-weight: 650; }
.metric dd { font-weight: 760; font-size: clamp(20px, 2.15vw, 27px); letter-spacing: -.055em; line-height: 1.18; white-space: nowrap; }
.metric dd:has(#setup-cost, #monthly-cost) { font-size: clamp(18px, 1.85vw, 24px); }
.metric.featured dd { font-size: 37px; color: var(--green); }
.scope-metric { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 9px; }
.scope-metric dd { color: var(--green); }
.metric small { white-space: normal; display: block; margin-top: 3px; color: var(--muted); font: 13px/1.35 var(--sans); letter-spacing: normal; }
.ranking { margin-top: 12px; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 11px 15px; }
.ranking summary { font-weight: 700; cursor: pointer; width: fit-content; }
.ranking > p { margin: 8px 0 12px; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.ranking table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.ranking :is(th, td) { padding: 7px 9px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ranking tbody th { font-weight: 650; }
.ranking tr[data-funded=true] td:last-child { color: var(--green); font-weight: 700; }
.ingestion { margin-top: 23px; padding-top: 18px; border-top: 1px solid #cbdccb; display: flex; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; align-items: center; }
.ingestion .ingestion-count { color: var(--forest); margin: 0; }
.ingestion-count strong { font: 700 24px/1 var(--mono); margin-right: 3px; }
.ingestion-details .table-wrap { margin-top: 8px; }
.ingestion-details :is(th, td) { white-space: normal; vertical-align: top; }
.ingestion-details :is(th, td):last-child { text-align: right; font-variant-numeric: tabular-nums; }
.continuous { background: var(--paper); border-bottom: 1px solid var(--line); }
.cycle-grid { gap: 0; padding: clamp(18px, 2.8vw, 30px) 0; background: var(--forest); border-radius: var(--radius); color: #f3fbef; }
.cycle-grid article { border-top: 0; padding: 0 clamp(17px, 2.8vw, 30px); }
.cycle-grid article + article { border-left: 1px solid #ffffff35; }
.cycle-grid p { color: #d5eadd; }
.impact-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.6fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.impact-layout .section-head { margin: 0; }
.impact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 24px; }
.impact-grid article { padding-top: 11px; border-top: 2px solid #9db9a5; }
.impact-grid h3 { font-size: 20px; line-height: 1.2; letter-spacing: -.025em; }
.impact-grid p { color: var(--muted); margin-top: 6px; }
.contact { background: var(--wash); border-top: 1px solid var(--line); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); grid-template-areas: "label label" "heading form"; gap: 12px clamp(20px, 4vw, 56px); align-items: start; }
.contact-layout > .eyebrow { grid-area: label; margin: 0; }
.contact-layout h2 { grid-area: heading; max-width: 21ch; font-size: clamp(30px, 3.3vw, 44px); letter-spacing: -.042em; text-wrap: balance; }
.contact-layout h2 em { color: var(--green); font-style: normal; }
.contact-form { grid-area: form; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: clamp(16px, 3vw, 28px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-field { display: grid; gap: 4px; min-width: 0; }
.contact-field label { font-size: 14px; font-weight: 700; }
.contact-field label span { color: var(--muted); font-weight: 400; }
.contact-field :is(input, textarea) { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #b8cfbf; border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; }
.contact-field textarea { resize: vertical; }
.contact-full { grid-column: 1 / -1; }
.contact-actions { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.contact-actions button { font-family: inherit; cursor: pointer; }
.contact-actions p { font-size: 14px; color: var(--muted); }
#contact-status { flex-basis: 100%; min-height: 2.8em; line-height: 1.4; font-weight: 650; color: var(--green); }
.footer { border-top: 1px solid var(--line); }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-block: 24px; }
.footer p { color: var(--muted); font-size: 14px; }
@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  h1 { max-width: 16ch; }
  .hero-figure { max-width: 650px; width: 100%; }
  .assessment-grid, .sim-grid { grid-template-columns: minmax(0, 1fr); }
  .impact-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-layout { grid-template-areas: "label" "heading" "form"; }
  .contact-form { margin-block-start: 8px; }
  .nav { grid-template-columns: minmax(0, 1fr) auto; min-height: 62px; gap: 9px; }
  .nav nav { display: none; }
}
@media (max-width: 570px) {
  .nav .button { font-size: 13px; padding-inline: 9px; min-height: 39px; }
  .brand { font-size: 22px; gap: 7px; }
  .brand-mark { width: 33px; border-radius: 9px; }
  .hero-actions { gap: 10px 15px; }
  .method-grid, .impact-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-form { grid-template-columns: 1fr; }
  .cycle-grid { gap: 12px; padding-inline: 17px; }
  .cycle-grid article { padding: 0; }
  .cycle-grid article + article { border-left: 0; border-top: 1px solid #ffffff35; padding-top: 12px; }
  .outcome { grid-template-columns: 33px minmax(0, 1fr); }
  .outcome-mark { width: 33px; height: 33px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
