:root {
  --bg: #f7f4ee;
  --paper: #ffffff;
  --ink: #09090b;
  --muted: #646464;
  --line: rgba(9,9,11,.12);
  --green: #0d3b2a;
  --green-2: #154c38;
  --green-soft: #e7f4ed;
  --gold: #ead9b8;
  --shadow: 0 28px 80px rgba(9,9,11,.12);
  --radius-xl: 34px;
  --radius: 22px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }

.page {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100vh;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 12%, #ffffff 0, #f7f4ee 34%, #efe7d8 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 42%;
  width: 640px;
  height: 640px;
  transform: translateX(-50%);
  background: rgba(134, 239, 172, .28);
  filter: blur(70px);
  border-radius: 999px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: 180px;
  right: -180px;
  width: 420px;
  height: 420px;
  background: rgba(234, 179, 8, .18);
  filter: blur(80px);
  border-radius: 999px;
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  font-weight: 900;
}

.brand-title {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.brand-sub {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.brand-logo-img {
  display: block;
  width: auto;
  height: 44px;
  max-width: min(220px, 50vw);
  object-fit: contain;
  object-position: left center;
}

.grant-brand-mini .brand-logo-img {
  height: 90px;
  max-width: min(200px, 55vw);
  object-position: center center;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
  color: #4b4b4b;
}

.nav-links a:hover { color: var(--ink); }

.btn {
  border: 0;
  cursor: pointer;
  height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--ink);
  color: white;
  box-shadow: 0 18px 50px rgba(9,9,11,.18);
}

.btn-dark:hover { background: #242427; }

.btn-green {
  background: var(--green);
  color: white;
  box-shadow: 0 18px 50px rgba(13,59,42,.22);
}

.btn-green:hover { background: var(--green-2); }

.btn-light {
  background: rgba(255,255,255,.65);
  color: var(--ink);
  border: 1px solid rgba(9,9,11,.14);
  backdrop-filter: blur(12px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  padding: 76px 0 110px;
  align-items: center;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid rgba(9,9,11,.14);
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(9,9,11,.06);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 26px;
}

.headline {
  max-width: 850px;
  margin: 0;
  font-size: clamp(48px, 7vw, 96px);
  line-height: .91;
  letter-spacing: -.075em;
  font-weight: 900;
}

.subhead {
  margin: 28px 0 0;
  max-width: 675px;
  color: #5b5b5b;
  font-size: 20px;
  line-height: 1.65;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 560px;
  gap: 22px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(9,9,11,.18);
}

.stat-number {
  display: block;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.05em;
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: #666;
  font-size: 14px;
  font-weight: 600;
}

.checkout-card {
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid rgba(9,9,11,.1);
  overflow: hidden;
}

.checkout-top {
  padding: 32px;
  background: var(--ink);
  color: white;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.checkout-kicker {
  margin: 0;
  color: #9df3bd;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.checkout-title {
  margin: 10px 0 0;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.04em;
}

.selected-box {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 12px 16px;
  min-width: 110px;
  text-align: right;
}

.selected-box span {
  display: block;
  color: #cfcfcf;
  font-size: 12px;
  font-weight: 700;
}

.selected-box strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  font-weight: 900;
}

.checkout-body {
  padding: 32px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.price-btn {
  position: relative;
  height: 74px;
  border-radius: 18px;
  border: 2px solid #dedede;
  background: white;
  color: #2d2d2f;
  font-size: 21px;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(9,9,11,.04);
  cursor: pointer;
  transition: .18s ease;
}

.price-btn:hover {
  transform: translateY(-2px);
  border-color: #c8c8c8;
  box-shadow: 0 14px 30px rgba(9,9,11,.08);
}

.price-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: white;
  box-shadow: 0 20px 50px rgba(13,59,42,.24);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #26a269;
  color: white;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(38,162,105,.28);
}

.impact-box {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  background: var(--green-soft);
  border: 1px solid rgba(13,59,42,.1);
}

.impact-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 16px;
  background: var(--green);
  color: white;
  display: grid;
  place-items: center;
  font-size: 22px;
}

.impact-box strong {
  display: block;
  font-size: 16px;
  color: var(--green);
  font-weight: 900;
}

.impact-box p {
  margin: 6px 0 0;
  color: rgba(13,59,42,.82);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 600;
}

.full-btn {
  width: 100%;
  margin-top: 24px;
  border-radius: 18px;
  height: 58px;
  font-size: 16px;
}

.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  color: #666;
  font-size: 12px;
  font-weight: 800;
}

.section {
  padding: 90px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 56px;
  align-items: start;
}

.section-kicker {
  margin: 0;
  color: #176143;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.section-title {
  margin: 18px 0 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.055em;
}

.section-copy {
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.75;
  color: #5f5f5f;
  font-weight: 500;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.module-card, .faq-card {
  background: white;
  border: 1px solid rgba(9,9,11,.1);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 10px 26px rgba(9,9,11,.04);
}

.module-icon {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 26px;
}

.module-card h3, .faq-card h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -.03em;
  font-weight: 900;
}

.module-card p, .faq-card p {
  margin: 14px 0 0;
  color: #666;
  line-height: 1.7;
  font-size: 15px;
  font-weight: 500;
}

.dark-section {
  background: var(--ink);
  color: white;
  padding: 92px 0;
}

.dark-section .section-kicker { color: #9df3bd; }
.dark-section .section-copy { color: #cfcfcf; }

.outcome-list {
  display: grid;
  gap: 12px;
}

.outcome {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px;
  border-radius: 20px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.1);
}

.check {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: #6ee7a8;
  color: var(--ink);
  font-weight: 900;
}

.outcome p {
  margin: 1px 0 0;
  line-height: 1.6;
  font-weight: 700;
  color: #f3f3f3;
}

.impact-panel {
  border-radius: 42px;
  overflow: hidden;
  border: 1px solid rgba(9,9,11,.1);
  box-shadow: 0 24px 60px rgba(9,9,11,.08);
  background: white;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
}

.impact-panel-left {
  background: var(--green);
  color: white;
  padding: 54px;
}

.impact-panel-left .impact-icon {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
}

.impact-panel-left h2 {
  margin: 30px 0 0;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 900;
}

.impact-panel-left p {
  margin: 22px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 500;
}

.impact-panel-right {
  padding: 54px;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mini-stat {
  border-radius: 26px;
  background: #f6f6f4;
  padding: 24px;
}

.mini-stat strong {
  display: block;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 900;
}

.mini-stat span {
  display: block;
  margin-top: 10px;
  color: #666;
  line-height: 1.45;
  font-size: 13px;
  font-weight: 800;
}

.note {
  margin: 30px 0 0;
  color: #676767;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 500;
}

.faq-grid {
  display: grid;
  gap: 16px;
}

.footer-cta {
  background: white;
  border-top: 1px solid var(--line);
  padding: 64px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner h2 {
  margin: 10px 0 0;
  font-size: 40px;
  letter-spacing: -.045em;
  line-height: 1;
  font-weight: 900;
}

.footer-inner p {
  margin: 12px 0 0;
  color: #666;
  font-weight: 500;
  line-height: 1.6;
  max-width: 640px;
}


.reference-strip {
  padding: 84px 0;
  background: #f1eadc;
  border-top: 1px solid rgba(9,9,11,.08);
  border-bottom: 1px solid rgba(9,9,11,.08);
}

.reference-card {
  background: white;
  border: 1px solid rgba(9,9,11,.1);
  border-radius: 38px;
  padding: 46px;
  box-shadow: 0 20px 55px rgba(9,9,11,.06);
}

.reference-card h2 {
  margin: 12px 0 0;
  max-width: 780px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 900;
}

.reference-card p {
  max-width: 860px;
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.75;
  color: #5f5f5f;
  font-weight: 500;
}

.reference-names {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.reference-names span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: #f6f6f4;
  border: 1px solid rgba(9,9,11,.08);
  font-size: 13px;
  font-weight: 900;
  color: #222;
}

.reference-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(9,9,11,.1);
  font-size: 13px !important;
  line-height: 1.65 !important;
  color: #777 !important;
}


.fee-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: #f7f4ee;
  border: 1px solid rgba(9,9,11,.1);
}

.fee-box strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: #222;
}

.fee-box p {
  margin: 6px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 600;
}


.profit-section {
  padding: 84px 0;
  background: #ffffff;
  border-top: 1px solid rgba(9,9,11,.08);
  border-bottom: 1px solid rgba(9,9,11,.08);
}

.profit-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: center;
  background: #0d3b2a;
  color: white;
  border-radius: 42px;
  padding: 52px;
  box-shadow: 0 24px 70px rgba(13,59,42,.18);
}

.profit-card .section-kicker {
  color: #9df3bd;
}

.profit-card h2 {
  margin: 14px 0 0;
  font-size: clamp(36px, 5vw, 56px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 900;
}

.profit-card p {
  margin: 18px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 500;
}

.profit-list {
  display: grid;
  gap: 13px;
}

.profit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.12);
}

.profit-item span {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #6ee7a8;
  color: #0d3b2a;
  font-weight: 900;
}

.profit-item strong {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: white;
}

.profit-item p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.72);
}

/* Grant / donation flow: allow vertical scroll (.page alone uses overflow:hidden) */
.grant-flow {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

.grant-shell {
  width: min(520px, calc(100% - 40px));
  margin: 0 auto;
  padding: 8px 0 96px;
}

.grant-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  width: min(520px, calc(100% - 40px));
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 0 28px;
  box-sizing: border-box;
}

.grant-back {
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  justify-self: start;
}

.grant-back:hover {
  color: var(--ink);
}

.grant-brand-mini {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.grant-brand-mini .brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  font-size: 18px;
}

.grant-brand-mini .brand-title {
  font-size: 11px;
}

.grant-brand-mini .brand-sub {
  display: none;
}

.story-card {
  background: var(--paper);
  border-radius: var(--radius-xl);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(9,9,11,.1);
  margin-bottom: 22px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.story-avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-soft);
  border: 2px solid rgba(13,59,42,.15);
  display: grid;
  place-items: center;
  font-size: 26px;
}

.story-card h1 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -.02em;
}

.story-card p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 600;
}

.donation-section-title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.03em;
}

.custom-amount-field {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 18px;
  border: 2px solid rgba(9,9,11,.12);
  background: #fafaf8;
}

.custom-amount-field span.currency {
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
}

.custom-amount-field label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #888;
  margin-right: 4px;
}

.custom-amount-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--ink);
}

.custom-amount-field input:focus {
  outline: none;
}

.social-proof {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f3f3f0;
  border: 1px solid rgba(9,9,11,.08);
  font-size: 13px;
  font-weight: 700;
  color: #555;
}

.social-proof-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  flex: 0 0 auto;
}

.grant-legal {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.55;
  color: #888;
  font-weight: 600;
  text-align: center;
}

.stripe-trust {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  color: var(--green);
}

.stripe-trust .cards {
  color: #666;
  font-weight: 700;
  letter-spacing: .04em;
}

.protect-card {
  margin-top: 24px;
  background: var(--paper);
  border-radius: var(--radius-xl);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(9,9,11,.1);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.protect-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 16px;
  border: 2px solid rgba(13,59,42,.35);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
}

.protect-card strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
}

.protect-card p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 600;
}

.hero-grid--single {
  grid-template-columns: 1fr;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}

.hero-grid--single > div {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-grid--single .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.hero-grid--single .subhead {
  margin-left: auto;
  margin-right: auto;
}

.hero-grid--single .hero-actions {
  justify-content: center;
}

.hero-grid--single .stats {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 560px;
  text-align: center;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-grid, .section-grid, .impact-panel, .profit-card {
    grid-template-columns: 1fr;
  }
  .hero-grid { padding-top: 40px; }
  .module-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1200px);
  }
  .nav .btn {
    display: none;
  }
  .hero-grid {
    gap: 34px;
    padding-bottom: 70px;
  }
  .headline {
    font-size: 52px;
  }
  .subhead {
    font-size: 17px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .stats {
    gap: 12px;
  }
  .stat-number {
    font-size: 28px;
  }
  .checkout-top, .checkout-body {
    padding: 22px;
  }
  .checkout-title {
    font-size: 28px;
  }
  .price-grid {
    gap: 10px;
  }
  .price-btn {
    height: 60px;
    font-size: 17px;
    border-radius: 14px;
  }
  .section {
    padding: 64px 0;
  }
  .dark-section {
    padding: 64px 0;
  }
  .impact-panel-left, .impact-panel-right, .profit-card {
    padding: 30px;
  }
  .impact-panel-left h2 {
    font-size: 36px;
  }
  .mini-stats {
    grid-template-columns: 1fr;
  }
  .footer-inner h2 {
    font-size: 34px;
  }
}