:root {
  color-scheme: light;
  --ink: #111a2d;
  --muted: #43536a;
  --mint: #a4efd0;
  --mint-hover: #86e5be;
  --paper: #fff;
  --wash: #edf9f4;
  --line: #cbd6db;
  --focus: #007861;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); }
a { color: inherit; text-underline-offset: .21em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.hero :focus-visible { outline-color: #9ff7d5; }
.funding :focus-visible { outline-color: var(--focus); }
[hidden] { display: none !important; }
p, h1, h2, h3 { margin: 0; }
button, input { font: inherit; }
button { color: inherit; }
h1, h2, h3, .wordmark, .goal { line-height: 1.09; }
.wrap { width: min(100% - 5.5rem, 76rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 1; background: var(--paper); padding: .5rem 1rem; transform: translateY(-180%); }
.skip:focus { transform: none; }
.header-inner, .footer-inner { display: flex; justify-content: space-between; gap: .75rem 1.5rem; align-items: center; }
.header-inner { min-height: 4rem; padding-block: .5rem; }
.wordmark { font-weight: 900; font-size: 1.35rem; letter-spacing: -.045em; text-decoration: none; }
nav { display: flex; gap: clamp(.85rem, 3vw, 2.5rem); align-items: center; font-weight: 600; }
nav a:not(.button) { padding-block: .625rem; }
.nav-text { text-decoration: none; }
.nav-text:hover { text-decoration: underline; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  background: var(--mint); color: var(--ink); text-decoration: none;
  border: 0; border-radius: .7rem; font-weight: 780; min-height: 3.2rem;
  padding: .65rem 1.3rem; cursor: pointer; transition: background-color .15s ease;
}
.button-small { min-height: 2.75rem; font-size: .9rem; }
.button-wide { width: 100%; }
.button:hover { background: var(--mint-hover); }
.button:active { background: #68d5aa; }
.button:disabled { background: #e4eee9; color: #43536a; cursor: default; }
.hero { background: var(--ink); color: var(--paper); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.33fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
  padding-block: clamp(2.8rem, 5vw, 4.8rem);
}
h1 { font-size: clamp(3.2rem, 6.35vw, 6.7rem); font-weight: 850; letter-spacing: -.066em; line-height: .96; }
.times { color: var(--mint); font-weight: 520; }
.hero-lead { color: var(--mint); font-size: clamp(1.35rem, 2.4vw, 2.2rem); margin-top: .8rem; font-weight: 740; line-height: 1.2; letter-spacing: -.025em; }
.hero-description { max-width: 32rem; margin-top: 1rem; color: #e2e8ef; font-size: clamp(1rem, 1.45vw, 1.19rem); }
.integration {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(2.5rem, 1.05fr) minmax(0, 1fr);
  align-items: center; justify-items: center; position: relative; isolation: isolate;
  width: min(100%, 31rem); margin-top: 1.55rem;
}
.integration::before {
  content: ""; height: 3px; background: var(--mint); position: absolute;
  inset-inline: 8%; top: calc(50% - 1px); z-index: -1;
}
.endpoint {
  background: var(--paper); color: var(--ink); border-radius: .85rem;
  width: 100%; min-height: 5rem; display: grid; justify-items: center; align-content: center;
  gap: .32rem; padding: .5rem .3rem; font-weight: 750; font-size: .95rem; text-align: center;
}
.endpoint-letter, .connector-icon { display: grid; place-items: center; }
.endpoint-letter { width: 1.95rem; height: 1.95rem; background: var(--ink); color: var(--paper); font-size: 1.4rem; border-radius: .35rem; line-height: 1; }
.connector-icon { width: 3.35rem; height: 3.35rem; border-radius: .7rem; background: var(--mint); color: var(--ink); }
.funding {
  margin-top: .85rem; background: #f9fbfc; color: var(--ink);
  border-radius: 1.25rem; padding: clamp(1.25rem, 3vw, 2.25rem);
}
.funding h2 { font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -.025em; }
.goal {
  font-size: clamp(2.7rem, 4.65vw, 4.6rem); font-weight: 850; letter-spacing: -.065em;
  font-variant-numeric: tabular-nums; margin-block: 1.05rem 1.2rem;
}
.goal span { font-size: .52em; letter-spacing: -.045em; }
progress {
  display: block; appearance: none; width: 100%; height: .85rem; margin: 0;
  border: none; border-radius: 1rem; overflow: hidden; background: #dce5e9;
}
progress::-webkit-progress-bar { background: #dce5e9; border-radius: 1rem; }
progress::-webkit-progress-value { background: #008163; border-radius: 1rem; }
progress::-moz-progress-bar { background: #008163; border-radius: 1rem; }
.progress-label { display: flex; justify-content: space-between; gap: .55rem; margin: .55rem 0 1.8rem; color: var(--muted); font-size: .95rem; }
.eligibility { text-align: center; margin-top: .65rem; color: var(--muted); font-size: .94rem; }
.steps { padding-block: clamp(2.4rem, 4vw, 3.6rem); }
.steps h2, .contribute h2 { font-size: clamp(1.95rem, 3.8vw, 3.55rem); letter-spacing: -.057em; }
.steps ol { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.7rem; }
.steps li { display: flex; gap: .95rem; }
.steps li + li { border-inline-start: 1px solid var(--line); padding-inline-start: 1.7rem; }
.step-number { flex: 0 0 2.05rem; height: 2.05rem; display: grid; place-items: center; border-radius: 50%; background: var(--mint); font-weight: 760; }
.steps h3 { font-size: 1.13rem; margin-top: .24rem; }
.steps p { margin-top: .43rem; color: var(--muted); font-size: .95rem; max-width: 26ch; }
.contribute { background: var(--wash); padding-block: clamp(2.25rem, 5vw, 4.8rem); }
.contribute-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.45fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contribute-intro { padding-top: .5rem; }
.contribute-intro p { margin-top: 1rem; max-width: 36ch; color: var(--muted); }
.contribute-intro p:first-of-type { font-size: 1.12rem; }
.terms-note strong { color: var(--ink); }
.campaign-notice { font-weight: 650; }
.pledge-form { border-radius: 1.25rem; padding: clamp(1rem, 3vw, 2rem); background: var(--paper); border: 1px solid #dfece7; }
fieldset { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
fieldset + fieldset { margin-top: 1.35rem; }
legend { padding: 0; margin-bottom: .65rem; font-size: 1.08rem; font-weight: 760; }
label { font-size: .92rem; font-weight: 650; }
.presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin-bottom: .7rem; }
.presets button { border: 1px solid #8296a0; border-radius: .55rem; background: var(--paper); min-height: 2.75rem; font-weight: 680; padding: .32rem .15rem; cursor: pointer; }
.presets button:hover { background: var(--wash); }
.presets button[aria-pressed="true"] { background: var(--mint); border-color: var(--focus); }
.amount-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; position: relative; align-items: center; }
.amount-field span { position: absolute; inset-inline-end: .85rem; color: var(--muted); }
.amount-field input { padding-inline-end: 2.5rem; }
input:not([type="checkbox"]) {
  width: 100%; min-height: 2.75rem; border: 1px solid #8296a0; border-radius: .52rem;
  background: var(--paper); color: var(--ink); font-size: 1rem; font-weight: 400;
  padding: .55rem .7rem; margin-top: .16rem;
}
input::placeholder { color: #58667a; }
small { color: var(--muted); display: block; margin-top: .25rem; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .65rem .85rem; }
.full { grid-column: 1 / -1; }
.business { display: flex; align-items: flex-start; gap: .65rem; margin-top: 1.1rem; padding-block: .25rem; cursor: pointer; min-height: 2.75rem; }
.business input { flex: 0 0 auto; margin: .12rem 0 0; width: 1.2rem; height: 1.2rem; accent-color: var(--focus); }
.privacy-note { font-size: .87rem; color: var(--muted); margin: .55rem 0 .9rem; }
.form-result { margin-bottom: .8rem; padding: .7rem .8rem; border-radius: .55rem; }
#form-error { background: #fff0ef; color: #843020; }
#form-success { background: var(--wash); color: #165945; }
#turnstile:not(:empty) { margin-block: .8rem; }
.footer-inner { min-height: 4.4rem; padding-block: .5rem; }
footer nav { font-weight: 520; font-size: .9rem; }

@media (max-width: 56rem) {
  .wrap { width: min(100% - 3rem, 76rem); }
  .hero-grid { gap: 2rem; }
  .contribute-grid { gap: 1.75rem; }
}
@media (max-width: 44rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero-grid, .contribute-grid, .steps ol { grid-template-columns: minmax(0, 1fr); }
  .steps ol { gap: .95rem; }
  .steps li + li { padding: .95rem 0 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .steps p { max-width: none; }
  .funding { margin-top: 0; }
  .nav-text { display: none; }
}
@media (max-width: 29rem) {
  .fields { grid-template-columns: minmax(0, 1fr); }
  .presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .button-small { padding-inline: .75rem; }
  .wordmark { font-size: 1.12rem; }
  h1 { font-size: clamp(2.55rem, 12vw, 4.1rem); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
