@font-face {
  font-family: Roboto;
  src: url("/assets/roboto.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f9f4;
  --white: #fff;
  --ink: #182b25;
  --forest: #193d33;
  --deep: #14382e;
  --muted: #4d6259;
  --line: #dce5db;
  --mint: #ddebda;
  --clay: #a7472d;
  --light-clay: #efa689;
  --accent: #cbe5b5;
  --sans: Roboto, "Ubuntu Sans", Arial, sans-serif;
  --radius: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; background: var(--paper); color: var(--ink); font: 500 16px/1.65 var(--sans); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
svg { flex: 0 0 auto; vertical-align: middle; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; font-weight: 800; letter-spacing: -.047em; }
:focus-visible { outline: 3px solid #ae5235; outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
.wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; z-index: 5; top: 8px; left: 8px; padding: 12px 17px; background: var(--white); border-radius: 8px; }
.loading { margin-block: 60px; color: var(--muted); }
.preserve { white-space: pre-wrap; overflow-wrap: anywhere; }
.muted { color: var(--muted); }

.site-header { background: var(--white); }
.demo-banner {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 7px; min-height: 34px; padding: 5px 12px;
  background: #e5eee0; color: #305443; font-size: .75rem; text-align: center;
}
.demo-banner strong { font-weight: 800; }
.demo-dot { width: 7px; height: 7px; border-radius: 50%; background: #4c795e; flex-shrink: 0; }
.nav-shell, .private-header { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 11px; font-weight: 800; font-size: 1.37rem; line-height: 1; letter-spacing: -.055em; color: var(--forest); white-space: nowrap; }
.brand img { width: 44px; height: 44px; }
nav { display: flex; gap: clamp(20px, 3.3vw, 45px); }
nav a, .footer-links a { display: inline-flex; align-items: center; min-height: 44px; position: relative; color: #3d574b; font-size: .9rem; font-weight: 750; white-space: nowrap; }
nav a:hover, .footer-links a:hover, nav a[aria-current] { color: var(--forest); }
nav a[aria-current]::after { content: ""; position: absolute; inset: auto 0 4px; height: 2px; background: var(--clay); }
.menu-toggle { display: none !important; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px; padding: 10px 17px;
  border: 1px solid transparent; border-radius: 7px; color: var(--forest); background: transparent;
  font-size: .89rem; font-weight: 800; line-height: 1.25; text-align: center; transition: background-color .17s, border-color .17s;
}
.button.primary { background: var(--forest); color: #fff; border-color: var(--forest); }
.button.primary:hover { background: #285546; }
.button.outline { border-color: #a9c1b0; }
.button.outline:hover, .button.outline[aria-pressed="true"] { background: #e6efe3; border-color: #6a8d76; }
.button.compact { font-size: .82rem; padding-inline: 13px; }
.button.full { width: 100%; }
.button:disabled { cursor: default; opacity: .58; }
.text-link { display: inline-flex; width: fit-content; align-items: center; min-height: 44px; gap: 8px; color: var(--forest); font-weight: 800; font-size: .87rem; }
.text-link:hover { text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: 5px; }

.hero { border-top: 1px solid #edf0e9; background: #f2f5ed; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 390px); align-items: center; gap: clamp(28px, 6vw, 95px); padding-block: clamp(44px, 6vw, 80px); }
.hero-copy { min-width: 0; }
.hero-location { display: flex; align-items: center; gap: 8px; color: var(--forest); font-size: .87rem; font-weight: 800; }
.hero-location svg, .plan-location svg { color: var(--clay); }
.hero h1 { margin-top: 14px; font-size: clamp(3.1rem, 5.9vw, 5.4rem); line-height: 1.015; letter-spacing: -.053em; overflow-wrap: anywhere; }
.hero h1 span { display: block; color: #265d48; }
.hero-summary { max-width: 37ch; margin-top: 21px; color: #40594e; font-size: clamp(1rem, 1.8vw, 1.19rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 8px 17px; flex-wrap: wrap; margin-top: 26px; }
.hero-actions .button { min-height: 48px; }

.facts { background: #e7efe3; border-block: 1px solid #d7e3d5; }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; padding-block: 20px; }
.fact { display: flex; align-items: center; gap: 13px; min-width: 0; }
.fact + .fact { border-left: 1px solid #ccddcc; padding-left: clamp(14px, 4vw, 56px); }
.icon-tile { display: inline-grid; flex: 0 0 auto; width: 45px; height: 45px; place-items: center; border-radius: 8px; background: #d8e8d6; color: #285644; }
.kicker { display: block; color: #3e6554; font-size: .7rem; font-weight: 800; line-height: 1.3; }
.fact strong { display: block; margin-top: 2px; font-size: clamp(.99rem, 1.8vw, 1.21rem); line-height: 1.24; font-weight: 800; overflow-wrap: anywhere; }

.panel { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.funding { padding: 25px; scroll-margin-top: 16px; background: var(--deep); color: #fff; border-color: var(--deep); }
.funding :focus-visible { outline-color: #ffd5c2; }
.card-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; }
.card-head h2, .card-head h3, .roadmap-card h3 { font-size: 1.22rem; }
.tag { display: inline-flex; align-items: center; width: fit-content; min-height: 25px; padding: 2px 9px; border-radius: 5px; background: #e8f1e6; color: #245544; font-size: .69rem; font-weight: 800; white-space: nowrap; }
.funding .tag { color: #eaf3e7; background: #386153; }
.tag.published { background: #e2efdc; color: #30562d; }
.tag.closed, .tag.draft { background: #ebeeea; color: #526257; }
.total { margin: 14px 0 2px; font-size: clamp(2.08rem, 3.7vw, 2.75rem); font-weight: 800; line-height: 1.03; letter-spacing: -.06em; overflow-wrap: anywhere; }
.funding p { font-size: .83rem; color: #dae7df; }
progress {
  display: block; appearance: none; width: 100%; height: 8px; overflow: hidden; border: 0; border-radius: 5px;
  margin: 15px 0 8px; background: #e1eae0; color: #41745d;
}
progress::-webkit-progress-bar { background: #e1eae0; border-radius: 5px; }
progress::-webkit-progress-value { background: #41745d; border-radius: 5px; }
progress::-moz-progress-bar { background: #41745d; border-radius: 5px; }
.funding progress, .funding progress::-webkit-progress-bar { background: #4d6d60; }
.funding progress::-webkit-progress-value { background: var(--accent); }
.funding progress::-moz-progress-bar { background: var(--accent); }
.progress-labels { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; color: var(--muted); font-size: .77rem; font-variant-numeric: tabular-nums; }
.progress-labels strong { color: var(--forest); }
.funding .progress-labels { color: #dce8e0; }
.funding .progress-labels strong { color: #eef7eb; }
.funding > .button { width: 100%; margin-top: 8px; }
.funding .button.primary { margin-top: 17px; background: var(--accent); border-color: var(--accent); color: #17392c; }
.funding .button.primary:hover { background: #d9edc8; border-color: #d9edc8; }
.funding .button.outline { border-color: #648475; color: #f0f6f0; }
.funding .button.outline:hover { background: #2a5547; }
.card-methods { border-top: 1px solid #547367; margin-top: 15px; padding-top: 11px; }
.card-methods p { font-size: .75rem; }
.method-list { display: flex; flex-wrap: wrap; gap: 5px 7px; margin-top: 5px; }
.method-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 0; font-size: .71rem; font-weight: 800; color: #f2f6ef; }
.method-pill i { width: 7px; height: 7px; border-radius: 50%; background: #efc35d; }
.method-pill.orange i { background: #f5a083; }
.method-pill + .method-pill { margin-left: 7px; }

.plan-section { padding-block: 54px 37px; scroll-margin-top: 15px; }
.plan-intro { max-width: 76ch; }
.plan-intro h2, .scenario-copy h2, .story h2 { font-size: clamp(2.05rem, 3.8vw, 3.05rem); margin-bottom: 11px; }
.plan-intro p, .scenario-copy p, .story-copy { color: var(--muted); }
.plan-location { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: .82rem; font-weight: 800; color: var(--forest); }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; margin-top: 26px; align-items: start; }
.budget-card, .roadmap-card { padding: 23px; }
.budget-note { margin-top: 8px; font-size: .86rem; }
.budget-list { margin-block: 9px 0; }
.budget-row { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.budget-row dt > span, .budget-row dd > span { display: block; font-size: .77rem; color: var(--muted); }
.budget-row dt strong, .budget-row dd strong { font-size: .88rem; }
.budget-row dd { margin: 0; text-align: right; }
.budget-total { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding: 9px 12px; margin-top: 2px; border-radius: 6px; background: #e9f1e6; color: var(--forest); font-size: .9rem; font-weight: 800; }
.roadmap-card ol { margin: 13px 0 0; padding-left: 22px; }
.roadmap-card li { padding: 6px 0 7px 3px; }
.roadmap-card li::marker { color: var(--clay); font-weight: 800; }
.roadmap-card li strong { display: block; font-size: .91rem; }
.roadmap-card li span { display: block; font-size: .83rem; color: var(--muted); }
.scenario-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); gap: 24px 50px; align-items: start; padding-block: 14px 46px; }
.scenario-copy h2 { font-size: clamp(1.7rem, 3vw, 2.46rem); }
.scenario-copy p { font-size: .93rem; }
.scenario-copy .scenario-note { margin-top: 9px; font-size: .82rem; }
.scenario-table { overflow: hidden; }
.scenario-table table { min-width: 0; }
.scenario-table th, .scenario-table td { white-space: normal; vertical-align: top; }
.scenario-table th:first-child { width: 51%; }
.scenario-table tbody th { background: var(--white); }
.scenario-table caption { padding: 13px 14px 10px; color: var(--forest); font-weight: 800; }
.campaign-followup { padding-block: 35px 51px; background: #eef3ea; border-top: 1px solid var(--line); }
.followup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.followup-grid h2 { font-size: 1.6rem; margin-bottom: 12px; }
.followup-grid details { border-bottom: 1px solid #d3e2d3; color: var(--forest); }
.followup-grid summary { cursor: pointer; padding-block: 11px; min-height: 44px; font-weight: 800; font-size: .9rem; }
.followup-grid details p { padding: 0 0 11px; color: var(--muted); font-size: .88rem; }

.section-header { padding-block: 53px 43px; background: #e7efe2; border-bottom: 1px solid var(--line); }
.section-header h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); margin-bottom: 9px; }
.section-header p { color: var(--muted); max-width: 60ch; }
.page-body { padding-block: 38px 60px; min-height: 320px; }
.narrow { max-width: 820px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 375px)); gap: 18px; align-items: start; }
.campaign-card-body { padding: 22px; }
.campaign-card h2 { margin-top: 10px; font-size: 1.66rem; overflow-wrap: anywhere; }
.campaign-card h2 a:hover { color: #376b52; }
.campaign-card p { margin-top: 8px; color: var(--muted); }
.campaign-card .text-link, .about-grid .text-link { margin-top: 8px; }
.empty { display: flex; align-items: flex-start; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: #fcfdf9; }
.empty .icon-tile { width: 39px; height: 39px; }
.empty h3 { color: var(--ink); margin-bottom: 3px; font-size: 1rem; letter-spacing: -.02em; }
.empty p { font-size: .84rem; }
.report-list { display: grid; gap: 13px; }
.report-card { padding: 20px; }
.report-card time { color: var(--muted); font-size: .82rem; }
.report-card h3 { margin-block: 12px 8px; font-size: 1.4rem; overflow-wrap: anywhere; }
.report-card p { color: var(--muted); }
.about-grid { display: grid; grid-template-columns: 1fr minmax(260px, 350px); gap: 36px; align-items: start; }
.story-copy + .story-copy { margin-top: 13px; }
.about-panel { padding: 23px; }
.about-panel h2 { margin: 11px 0 8px; font-size: 1.45rem; }
.about-panel p { color: var(--muted); }

.site-footer { background: #f2f5ee; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 13px 23px; padding-block: 22px; }
.footer-inner .brand img { width: 40px; height: 40px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 16px; }
.footer-note { color: var(--muted); font-size: .8rem; }
.storage-warning, .notice { display: flex; gap: 9px; align-items: center; padding: 11px 14px; background: #f8ece6; border: 1px solid #efd4c7; border-radius: 7px; color: #733b27; font-size: .85rem; }
.storage-warning { justify-content: center; border-radius: 0; }

.login-page { min-height: 100vh; background: #eaf1e7; }
.login-panel { width: min(420px, calc(100% - 32px)); margin: clamp(18px, 8vh, 95px) auto 25px; padding: clamp(18px, 5vw, 34px); }
.login-panel h1 { font-size: clamp(1.63rem, 4.5vw, 2rem); }
.login-panel p { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.login-panel form .field { margin-block: 12px 3px; }
.login-panel button { margin-top: 16px; }
.login-panel .login-error { color: #8e2c25; font-weight: 800; }
.admin-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-bottom: 23px; }
.admin-metrics .panel { padding: 17px; }
.admin-metrics span { display: block; font-size: .84rem; color: var(--muted); }
.admin-metrics strong { display: block; margin-top: 5px; font-size: clamp(1.12rem, 3.2vw, 1.8rem); font-weight: 800; line-height: 1.1; overflow-wrap: anywhere; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); }
.tab { min-height: 46px; padding: 8px 15px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font-weight: 800; }
.tab:hover, .tab[aria-pressed="true"] { color: var(--forest); border-bottom-color: var(--clay); }
.admin-section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 13px; margin: 23px 0 14px; }
.admin-section-head h2 { font-size: 1.65rem; }
.admin-section-head p { margin-top: 4px; color: var(--muted); font-size: .88rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 565px; border-collapse: collapse; font-size: .84rem; text-align: left; }
th, td { padding: 9px 13px; border-bottom: 1px solid var(--line); }
thead th { color: var(--forest); background: #eaf2e7; }
tbody tr:last-child > * { border-bottom: 0; }
.row-actions { display: flex; gap: 6px; }
.filter { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-bottom: 13px; }
.filter label { font-size: .88rem; font-weight: 800; }

dialog { width: min(560px, calc(100% - 26px)); max-height: calc(100% - 28px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: 0 12px 42px #12231c42; }
dialog::backdrop { background: #162820b4; }
#dialog-body { padding: 22px; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.dialog-head h2 { font-size: clamp(1.57rem, 4vw, 2rem); }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; background: #ecf2ea; color: var(--forest); border: 1px solid var(--line); border-radius: 7px; }
.icon-button:hover { background: #dceadd; }
.dialog-subtitle { margin-bottom: 11px; color: var(--muted); font-size: .88rem; }
dialog form { margin-top: 13px; }
fieldset { border: 0; margin: 0 0 13px; padding: 0; }
label:not(.radio-option), legend { font-size: .84rem; font-weight: 800; }
legend { padding: 0; margin-bottom: 6px; }
.field { display: block; margin-bottom: 10px; }
.field span { display: block; margin-bottom: 4px; }
input:not([type="checkbox"], [type="radio"]), textarea, select {
  width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #adc1b3; border-radius: 7px;
  color: var(--ink); background: #fff;
}
textarea { resize: vertical; }
.filter select { width: auto; max-width: 100%; }
.form-grid, .radio-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-bottom: 9px; }
.presets .button { padding-inline: 5px; }
.radio-option, .checkbox { display: flex; min-height: 45px; align-items: center; gap: 7px; }
.radio-option { padding: 7px 8px; border: 1px solid #adc1b3; border-radius: 7px; color: var(--forest); font-size: .81rem; font-weight: 800; }
.radio-option span { display: flex; align-items: center; gap: 4px; }
.radio-option:has(:checked) { background: #eaf3e7; border-color: #688b74; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--forest); margin: 0; width: 17px; height: 17px; flex: 0 0 auto; }
.form-error { color: #942a20; font-size: .87rem; font-weight: 800; }
.form-error:not(:empty) { margin-block: 9px; }
.receipt { display: grid; justify-items: center; gap: 8px; padding: 11px 0 5px; text-align: center; }
.receipt strong { font-size: 1.9rem; font-weight: 800; line-height: 1.1; }
.receipt p { color: var(--muted); }
.receipt button { width: 100%; margin-top: 5px; }
.toast { position: fixed; z-index: 4; right: 18px; bottom: 18px; max-width: calc(100% - 36px); padding: 10px 14px; border-radius: 7px; color: white; background: var(--forest); font-size: .86rem; }
.toast:empty { padding: 0; }

@media (max-width: 960px) {
  .wrap { width: calc(100% - 52px); }
  .hero-inner { gap: 27px; grid-template-columns: minmax(0, 1fr) minmax(285px, 340px); }
  .funding { padding: 20px; }
  .plan-section { padding-top: 41px; }
}
@media (max-width: 730px) {
  .wrap { width: calc(100% - 34px); }
  .nav-shell, .private-header { min-height: 64px; gap: 8px; }
  .nav-shell { flex-wrap: wrap; }
  .brand { font-size: 1.22rem; gap: 8px; }
  .brand img { width: 39px; height: 39px; }
  .menu-toggle { display: inline-flex !important; }
  #site-navigation { display: none; width: 100%; flex-wrap: wrap; gap: 0 16px; padding-bottom: 5px; }
  .menu-toggle[aria-expanded="true"] + nav { display: flex !important; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 32px; }
  .hero h1 { font-size: clamp(2.9rem, 9.1vw, 4.4rem); }
  .hero-summary { margin-top: 16px; }
  .hero-actions { margin-top: 15px; }
  .facts-grid { gap: 9px; padding-block: 14px; }
  .fact { gap: 7px; }
  .fact + .fact { padding-left: 8px; }
  .fact .icon-tile { width: 33px; height: 33px; }
  .fact .icon-tile svg { width: 17px; height: 17px; }
  .fact .kicker { font-size: .65rem; }
  .fact strong { font-size: .94rem; }
  .plan-grid, .about-grid, .followup-grid, .scenario-section { grid-template-columns: 1fr; gap: 15px; }
  .plan-section { padding-block: 37px 23px; }
  .scenario-section { padding-block: 11px 33px; }
  .campaign-followup { padding-block: 27px 38px; }
  .section-header { padding-block: 34px 28px; }
  .page-body { padding-block: 23px 41px; }
}
@media (max-width: 465px) {
  .facts-grid { grid-template-columns: 1fr; gap: 8px; }
  .fact + .fact { padding: 8px 0 0; border-left: 0; border-top: 1px solid #d0dece; }
  .fact { gap: 9px; }
  .hero-actions { gap: 4px 12px; }
  .hero-actions .button { padding-inline: 10px; }
  .budget-card, .roadmap-card { padding: 14px; }
  .admin-metrics { gap: 5px; }
  .admin-metrics .panel { padding: 8px; }
  .admin-metrics span { font-size: .69rem; }
  .tab { padding-inline: 7px; font-size: .81rem; }
  #dialog-body { padding: 14px; }
  .radio-list { grid-template-columns: 1fr; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}
