:root {
  --spruce: #004a73;
  --spruce-dark: #003754;
  --sky: #59c7df;
  --field: #eef8ef;
  --grass: #6fbe72;
  --petal: #f05c8e;
  --gold: #ffc42d;
  --ink: #17313c;
  --muted: #5d7280;
  --line: rgba(0, 74, 115, 0.18);
  --paper: #ffffff;
  --shadow: 0 24px 70px rgba(0, 55, 84, 0.16);
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--spruce-dark);
}
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(89, 199, 223, 0.32), transparent 34rem),
    linear-gradient(180deg, #f7fdff 0%, var(--field) 52%, #ffffff 100%);
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
}
.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--spruce);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 1.2rem;
  white-space: nowrap;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0,74,115,0.2);
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .92rem;
  font-weight: 750;
}
.nav-links a {
  text-decoration: none;
  padding: 8px 0;
  border-radius: 0;
  color: var(--spruce-dark);
  border-bottom: 2px solid transparent;
  line-height: 1.2;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--spruce);
  border-bottom-color: rgba(0,74,115,.36);
}
.nav-links a.nav-donate {
  padding: 10px 16px;
  border-radius: 999px;
  border-bottom: 0;
  background: var(--petal);
  color: white;
  box-shadow: 0 12px 24px rgba(240,92,142,.22);
}
.nav-links a.nav-donate:hover, .nav-links a.nav-donate.active {
  color: white;
  background: #d94478;
}
.nav-actions {
  display: none;
  align-items: center;
  gap: 8px;
}
.mobile-donate {
  display: none;
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--petal);
  color: white;
  font-size: .9rem;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(240,92,142,.22);
}
.mobile-donate:hover, .mobile-donate.active {
  background: #d94478;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--spruce-dark);
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: currentColor;
}
.nav-toggle span + span {
  margin-top: 6px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 14px 22px;
  background: var(--spruce);
  color: white !important;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(0,74,115,.2);
  cursor: pointer;
}
.button:hover { background: var(--spruce-dark); }
.button.secondary {
  background: white;
  color: var(--spruce) !important;
  border: 1px solid var(--line);
  box-shadow: none;
}
.button.petal { background: var(--petal); box-shadow: 0 16px 32px rgba(240,92,142,.24); }
.page-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding-top: 32px;
}
.home-hero {
  min-height: auto;
  padding-bottom: 42px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--petal);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 900;
  font-size: .8rem;
}
h1, h2, h3 { color: var(--spruce-dark); line-height: 1.02; }
h1 { margin: 0; max-width: 780px; font-size: clamp(3rem, 7vw, 6.6rem); letter-spacing: -.075em; }
h2 { margin: 0; font-size: clamp(2.25rem, 4.4vw, 4.4rem); letter-spacing: -.06em; }
h3 { margin: 0 0 10px; font-size: 1.35rem; letter-spacing: -.035em; }
.lede { max-width: 760px; margin: 22px 0 0; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.42rem); line-height: 1.6; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-card, .panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.88);
  padding: 30px;
  box-shadow: var(--shadow);
}
.placeholder-panel {
  max-width: 820px;
  margin: 24px auto;
  text-align: center;
}
.placeholder-panel h1, .placeholder-panel .lede { margin-left: auto; margin-right: auto; }
.placeholder-panel .cta-row { justify-content: center; }
.hero-card { position: relative; overflow: hidden; }
.hero-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(89,199,223,.18), transparent 48%, rgba(111,190,114,.22)); pointer-events: none; }
.hero-logo { position: relative; display: block; width: min(100%, 360px); margin: 10px auto 24px; filter: drop-shadow(0 22px 34px rgba(0,55,84,.18)); }
.hero-card-inner { position: relative; border-radius: 8px; background: white; padding: 24px; border: 1px solid var(--line); }
.big-slogan { margin: 0; color: var(--spruce-dark); font-size: clamp(1.8rem, 3.6vw, 3.2rem); font-weight: 950; letter-spacing: -.065em; line-height: .98; }
.grid-2 { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 32px; align-items: start; }
.grid-2.home-beliefs {
  grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr);
  gap: 44px;
  padding-top: 28px;
}
.loop-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 32px; align-items: start; }
.loop-heading { grid-column: 1 / -1; }
.loop-heading h1 { max-width: 940px; }
.loop-layout .signup-form { margin-top: 0; }
.about-content { padding-top: 62px; }
.about-title {
  font-size: clamp(2.8rem, 5vw, 4.25rem);
  letter-spacing: -.06em;
}
.about-content .lede {
  margin-top: 18px;
  font-size: clamp(1.05rem, 1.65vw, 1.24rem);
}
.about-contact { max-width: 760px; padding-top: 0; }
.about-contact h2 { margin-bottom: 16px; }
.media-email {
  margin: 18px 0;
  color: var(--spruce);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 850;
}
.media-email a { text-decoration-color: rgba(0,74,115,.32); }
.hashtag-prompt {
  color: var(--spruce-dark);
  font-size: 1.1rem;
  font-weight: 700;
}
.registration-note {
  margin-top: 24px;
  padding: 14px 16px;
  border-left: 4px solid var(--sky);
  background: rgba(89,199,223,.12);
  color: var(--spruce-dark);
  font-weight: 700;
}
.policy-page { max-width: 900px; padding-top: 62px; }
.policy-title {
  font-size: clamp(2.8rem, 5vw, 4.25rem);
  letter-spacing: -.06em;
}
.policy-effective { margin: 14px 0 30px; font-size: .95rem; font-weight: 650; }
.policy-panel h2 {
  margin: 30px 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  letter-spacing: -.035em;
}
.policy-panel h2:first-child { margin-top: 0; }
.policy-panel p { margin: 0; }
.policy-panel a, .checkbox-label a {
  color: var(--spruce);
  font-weight: 800;
}
.beliefs, .clean-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.beliefs li, .clean-list li { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); background: white; border-radius: 8px; padding: 16px; font-size: 1.05rem; font-weight: 750; }
.check { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--spruce-dark); display: grid; place-items: center; font-weight: 950; font-size: .9rem; }
.donation-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; margin-top: 28px; }
.org-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 28px; }
.project-grid { grid-template-columns: minmax(280px, 390px); }
.donation-card, .org-card { border: 1px solid var(--line); background: white; border-radius: 8px; padding: 18px; }
.donation-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 230px;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.donation-card:hover, .donation-card:focus-visible {
  border-color: rgba(240,92,142,.5);
  box-shadow: 0 16px 36px rgba(0,55,84,.11);
  transform: translateY(-2px);
}
.donation-card:focus-visible {
  outline: 3px solid rgba(89,199,223,.38);
  outline-offset: 2px;
}
.donation-card:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
}
.donation-card p { flex: 1; margin-bottom: 18px; }
.select-donation {
  color: var(--spruce);
  font-weight: 850;
  font-size: .94rem;
}
.amount { display: block; color: var(--petal); font-size: 1.75rem; font-weight: 950; letter-spacing: -.05em; margin-bottom: 8px; }
p { color: var(--muted); line-height: 1.65; }
.feature-list { columns: 2; column-gap: 28px; margin: 24px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.8; font-weight: 650; }
.signup-form { display: grid; gap: 14px; margin-top: 24px; }
.signup-form .button { font-size: 1.08rem; }
label { display: grid; gap: 7px; color: var(--spruce-dark); font-weight: 800; font-size: .95rem; }
input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 14px 15px; color: var(--ink); font: inherit; background: white; outline: none; }
input:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(89,199,223,.2); }
.contact-note { margin: 2px 0 -4px; color: var(--muted); font-size: .95rem; font-weight: 650; }
.field-heading { display: flex; align-items: baseline; gap: 8px; }
.custom-donation {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.82);
}
.field-note {
  color: var(--muted);
  font-weight: 650;
}
.custom-donation-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-top: 10px;
}
.currency-input {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: min(100%, 280px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: white;
  color: var(--spruce-dark);
  font-weight: 800;
}
.currency-input:focus-within {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(89,199,223,.2);
}
.currency-input input {
  border: 0;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}
.currency-input input:focus { box-shadow: none; }
.donation-status {
  display: none;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--spruce-dark);
  background: rgba(89,199,223,.16);
  font-weight: 650;
}
.donation-status.is-visible { display: block; }
.donation-status.is-error { color: #84244b; background: rgba(240,92,142,.14); }
.checkout-note { margin: 15px 0 0; font-size: .92rem; }
.form-status {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--spruce-dark);
  background: rgba(111,190,114,.18);
  font-weight: 650;
}
.form-status.is-visible { display: block; }
.form-status.is-error { color: #84244b; background: rgba(240,92,142,.14); }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-weight: 650; line-height: 1.45; }
.checkbox-label input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--spruce); }
.org-card { min-height: 150px; display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; text-decoration: none; box-shadow: 0 14px 34px rgba(0,55,84,.06); }
.org-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0,55,84,.12); }
.org-card strong { color: var(--spruce-dark); font-size: 1.05rem; letter-spacing: -.02em; }
.org-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.9 / 1;
  object-fit: contain;
  background: #f4f8fa;
  border-bottom: 1px solid var(--line);
}
.org-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}
.org-card-copy p { flex: 1; margin: 0; }
.org-card-copy span { color: var(--spruce); font-weight: 850; }
.source-note { margin-top: 22px; font-size: .9rem; }
.footer { border-top: 1px solid rgba(255,255,255,.18); background: var(--spruce-dark); color: white; padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); }
.footer-acknowledgement { width: min(900px, calc(100% - 32px)); margin: 0 auto 34px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.18); }
.footer-acknowledgement h2 { margin: 0 0 18px; color: white; font-size: clamp(1.35rem, 2vw, 1.65rem); }
.footer-acknowledgement p { max-width: none; line-height: 1.7; }
.footer-inner { width: min(1120px, calc(100% - 32px)); margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer p { color: rgba(255,255,255,.72); margin: 0; }
.footer .footer-acknowledgement p { margin-bottom: 16px; }
.footer .footer-acknowledgement p:last-child { margin-bottom: 0; }
@media (max-width: 960px) {
  .hero, .grid-2, .grid-2.home-beliefs, .loop-layout {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
  }
  .donation-grid, .org-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .feature-list {
    columns: 1;
  }
}
@media (max-width: 720px) {
  .nav {
    width: min(100% - 24px, 1120px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 12px;
    padding: 10px 0 12px;
    position: relative;
  }
  .brand {
    min-width: 0;
    gap: 10px;
    font-size: 1rem;
    letter-spacing: -0.02em;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .nav-toggle {
    display: grid;
    align-content: center;
    justify-self: end;
  }
  .nav-actions {
    display: flex;
    justify-self: end;
  }
  .mobile-donate {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: max-content;
    max-width: calc(100vw - 24px);
    padding: 10px;
    font-size: .8rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 42px rgba(0,55,84,.18);
  }
  .nav.is-open .nav-links {
    display: grid;
    gap: 2px;
  }
  .nav-links a {
    display: block;
    padding: 10px 12px;
    line-height: 1.25;
  }
  .nav-links a.nav-donate {
    display: none;
  }
  .loop-layout .signup-form {
    order: 1;
  }
  .loop-benefits {
    order: 2;
  }
  .page-section {
    width: min(100% - 24px, 1120px);
    padding: 46px 0;
  }
  .home-hero {
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .grid-2.home-beliefs {
    gap: 28px;
    padding-top: 18px;
  }
  .hero-logo {
    width: min(100%, 240px);
    margin-bottom: 18px;
  }
  .hero-card-inner {
    padding: 18px;
  }
  .hero-card, .panel {
    padding: 18px;
  }
  h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
    letter-spacing: -0.055em;
  }
  .about-title {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }
  .home-hero h1 {
    font-size: clamp(3rem, 18vw, 4.8rem);
    letter-spacing: -.075em;
  }
  h2 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }
  .beliefs li, .clean-list li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
    font-size: 1rem;
    line-height: 1.35;
    min-width: 0;
    overflow-wrap: break-word;
  }
  .donation-grid, .org-grid {
    grid-template-columns: 1fr;
  }
  .donation-card {
    min-height: auto;
  }
  .custom-donation-row {
    flex-direction: column;
  }
  .currency-input {
    min-width: 0;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
