:root {
  --purple: #2A1B5C;
  --ink: #1A1A2E;
  --mint: #8BCDB0;
  --sky: #EBF2FF;
  --rust: #C25E40;
  --rust-dark: #A94E33;
  --consent: #03055D;
  --field-border: #B8C7E6;
  --field-text: #2A1B5C;
  --link: #3A6FD8;
  --display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Lexend', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--sky);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
.display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}
.container { width: 100%; max-width: 1310px; margin: 0 auto; padding: 0 20px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Donate banner ---------- */
.donate-bar { background: var(--purple); color: #fff; position: relative; }
.donate-bar__close {
  position: absolute; top: 22px; right: 38px;
  width: 26px; height: 26px; padding: 0;
  background: none; border: 0; cursor: pointer;
  color: rgba(255, 255, 255, 0.55);
  transition: color .15s;
}
.donate-bar__close:hover { color: #fff; }
.donate-bar__close svg { width: 100%; height: 100%; }
.donate-bar__inner {
  max-width: 960px; margin: 0 auto;
  padding: 80px 20px 62px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 40px;
}
.donate-bar__copy { max-width: 440px; padding-top: 4px; }
.donate-bar__title { font-size: 52px; line-height: 1; letter-spacing: -1px; color: #fff; }
.donate-bar__copy p { margin-top: 12px; font-size: 16px; line-height: 24px; }

.amounts {
  display: grid; grid-template-columns: repeat(2, 194px); gap: 10px 9px;
  flex-shrink: 0;
}
.amounts a {
  display: flex; align-items: center; justify-content: center;
  height: 53px; padding: 15px 10px;
  background: #fff; color: var(--ink);
  border-radius: 5px;
  font-size: 18px; font-weight: 500; text-decoration: none;
  transition: background-color .15s, color .15s, transform .15s;
}
.amounts a:hover { background: var(--mint); color: var(--ink); }
.amounts a:active { transform: translateY(1px); }

/* ---------- Follow strip ---------- */
.follow { background: var(--mint); color: #fff; }
.follow .container {
  height: 52px;
  display: flex; align-items: center; justify-content: flex-end; gap: 30px;
}
.follow__label { font-size: 18px; line-height: 23.4px; font-weight: 400; margin: 0; }
.socials { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.social {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink);
  display: grid; place-items: center;
  transition: transform .15s, background-color .15s;
}
.social:hover { transform: scale(1.12); background: var(--purple); }
.social svg { width: 11px; height: 11px; fill: #fff; }

/* ---------- Header ---------- */
.site-header .container {
  height: 180px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 44px; }
.nav__links { display: flex; align-items: center; gap: 44px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-size: 18px; font-weight: 700; letter-spacing: -1px; line-height: 23.4px;
  color: var(--ink); text-decoration: none;
  transition: color .15s;
}
.nav__links a:hover { color: var(--rust); }
.btn-donate {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--rust); color: #fff;
  font-size: 22px; font-weight: 700; letter-spacing: -0.44px; line-height: 23.4px;
  padding: 16px 30px 14px; min-width: 127px;
  border-radius: 4px; text-decoration: none;
  transition: background-color .15s;
}
.btn-donate:hover { background: var(--rust-dark); }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { padding: 50px 0 40px; }
.hero .container {
  display: grid; grid-template-columns: minmax(0, 662fr) minmax(0, 511fr);
  gap: 90px; align-items: start;
}
.hero__media img { width: 100%; height: auto; aspect-ratio: 670 / 380; object-fit: cover; }
.hero__title {
  font-size: 70px; line-height: 0.95; letter-spacing: -1.75px; color: var(--ink);
}
.hero__title .accent { color: var(--purple); }

/* ---------- Forms ---------- */
.signup { margin-top: 22px; }
.field { position: relative; margin-bottom: 17px; }
.field input {
  width: 100%; height: 42px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--field-border);
  border-radius: 4px;
  font-family: var(--body); font-size: 15px; color: var(--field-text);
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: var(--field-text); opacity: 1; }
.field input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 2px rgba(42, 27, 92, .18); }
.field--icon input { padding-left: 38px; }
.field__icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: #4E508D; pointer-events: none;
}
.field--phone input { padding-left: 50px; }
.field__prefix {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 4px;
  font-size: 15px; pointer-events: none;
}
.field__prefix svg { width: 8px; height: 8px; color: #666; }
.field__flag { width: 20px; height: 14px; border-radius: 2px; overflow: hidden; display: block; }

.consent {
  display: grid; grid-template-columns: 16px 1fr; gap: 14px; align-items: center;
  margin: 0 0 16px;
  font-size: 12px; line-height: 21.6px; color: var(--consent);
  cursor: pointer;
  hyphens: auto;
}
.consent input {
  width: 14px; height: 14px; margin: 0;
  accent-color: var(--purple); cursor: pointer;
}
.btn-submit {
  display: block; width: 100%;
  margin-top: 6px;
  padding: 13px 10px;
  background: var(--purple); color: #fff;
  border: 0; border-radius: 5px;
  font-family: var(--body); font-size: 16px; font-weight: 600;
  cursor: pointer;
  transition: background-color .15s, opacity .15s;
}
.btn-submit:hover { background: #1E1245; }
.btn-submit[disabled] { opacity: .6; cursor: progress; }
.legal-links {
  margin-top: 22px; text-align: center;
  font-family: var(--display); font-weight: 400; font-size: 13px; line-height: 16.9px;
  color: var(--ink);
}
.legal-links a { color: var(--link); text-decoration: none; }
.legal-links a:hover { text-decoration: underline; }
.form-status {
  margin-top: 14px; font-size: 14px; line-height: 1.5; text-align: center;
}
.form-status[data-state="error"] { color: #B42318; }
.form-status[data-state="success"] { color: var(--purple); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Affordability callout ---------- */
.callout { padding: 20px 0 60px; }
.callout__title { font-size: 52px; line-height: 1; letter-spacing: -1.3px; max-width: 520px; }
.text-link {
  display: inline-block; margin-top: 22px;
  font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none;
  padding: 0 4px 3px;
  border-bottom: 2px solid var(--rust);
  transition: color .15s;
}
.text-link:hover { color: var(--rust); }

/* ---------- Meet ---------- */
.meet { background: var(--mint); color: #fff; padding: 95px 0 100px; scroll-margin-top: 0; }
.meet .container {
  display: grid; grid-template-columns: minmax(0, 676fr) minmax(0, 511fr);
  gap: 80px; align-items: start;
}
.meet__photo img { width: 100%; height: auto; aspect-ratio: 680 / 378; object-fit: cover; }
.meet__title { font-size: 52px; line-height: 1; color: #fff; }
.meet__body { margin-top: 10px; font-size: 18px; line-height: 28.8px; }

/* ---------- Priorities ---------- */
.priorities { padding: 105px 0 140px; }
.priorities__title { font-size: 52px; line-height: 1; text-align: center; color: var(--ink); }
.priority-list { max-width: 819px; margin: 32px auto 0; display: grid; gap: 22px; padding: 0 20px; box-sizing: content-box; }
.priority {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 3px 11px -3px rgba(1, 2, 36, .25);
  padding: 32px 40px 36px;
}
.priority__label {
  font-family: var(--display); font-weight: 700; font-size: 13px; line-height: 16.9px;
  color: var(--purple); margin: 0;
}
.priority__title { font-size: 30px; line-height: 1; margin-top: 6px; color: var(--ink); }
.priority__body { margin-top: 10px; max-width: 640px; font-size: 16px; line-height: 24px; }
.priority__body + .priority__body { margin-top: 12px; }

/* ---------- Join ---------- */
.join { padding: 115px 0 200px; }
.join .container {
  max-width: 1025px;
  display: grid; grid-template-columns: minmax(0, 456fr) minmax(0, 470fr);
  gap: 60px; align-items: start;
}
.join__title { font-size: 52px; line-height: 1; color: var(--ink); }
.join__lede { margin-top: 12px; font-size: 20px; line-height: 27px; }
.join .signup { margin-top: 0; }

/* ---------- Contribute ---------- */
.contribute {
  background: linear-gradient(to bottom, var(--sky) 0, var(--sky) 101px, var(--mint) 101px, var(--mint) 100%);
  margin-top: -101px;
  padding: 0 20px;
}
.contribute__box {
  max-width: 1056px; margin: 0 auto;
  background: var(--purple); color: #fff;
  border-radius: 4px;
  box-shadow: 0 3px 11px -3px rgb(112, 112, 112);
  padding: 62px 44px 62px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.contribute__copy { max-width: 400px; }
.contribute__title { font-size: 52px; line-height: 1; letter-spacing: -1px; color: #fff; }
.contribute__copy p { margin-top: 10px; font-size: 16px; line-height: 24px; }
.contribute .amounts { grid-template-columns: repeat(2, 238px); gap: 9px 10px; }
.contribute .amounts a { height: 52px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--mint); color: #fff; padding: 88px 0 22px; }
.site-footer .container { max-width: 1260px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer__top .brand img { width: 150px; }
.footer__nav { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.footer__nav a {
  color: #fff; text-decoration: none;
  font-size: 17px; font-weight: 600; letter-spacing: -0.3px;
  transition: opacity .15s;
}
.footer__nav a:hover { opacity: .8; }
.footer__mid {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 72px;
}
.footer__address { font-style: normal; font-size: 14px; line-height: 21px; }
.footer__address strong { font-weight: 400; text-transform: uppercase; }
.footer__mid .socials { padding-right: 12px; gap: 40px; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 44px;
}
.paid-for {
  border: 1px solid #fff;
  padding: 10px 18px;
  font-size: 14px; line-height: 18.2px; text-transform: uppercase; letter-spacing: .01em;
  margin: 0;
}
.footer__legal { display: flex; gap: 48px; list-style: none; margin: 0; padding: 0 12px 0 0; }
.footer__legal a {
  color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; line-height: 18.2px;
}
.footer__legal a:hover { text-decoration: underline; }

/* ---------- Contact page ---------- */
.contact-page { padding: 30px 0 240px; }
.contact-page__title { font-size: 70px; line-height: 1; letter-spacing: -1.75px; text-align: center; color: var(--ink); }
.contact-page__subtitle {
  margin-top: 70px; font-size: 28px; line-height: 1.2; text-align: center; text-transform: none; color: var(--ink);
}
.contact-page__intro {
  margin-top: 6px; text-align: center;
  font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 23.4px;
}
.contact-page__grid {
  max-width: 1022px; margin: 50px auto 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: start;
}
.contact-page__photo img { width: 100%; height: auto; aspect-ratio: 496 / 354; object-fit: cover; }
.contact-page .signup { margin-top: 0; }
.field textarea {
  display: block; width: 100%; min-height: 108px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--field-border);
  border-radius: 4px;
  font-family: var(--body); font-size: 15px; line-height: 1.5; color: var(--field-text);
  resize: vertical;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea::placeholder { color: var(--field-text); opacity: 1; }
.field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 2px rgba(42, 27, 92, .18); }

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--rust); outline-offset: 3px; border-radius: 3px;
}
.donate-bar a:focus-visible, .contribute a:focus-visible, .donate-bar button:focus-visible { outline-color: var(--mint); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero .container, .meet .container { gap: 48px; }
  .hero__title { font-size: 58px; letter-spacing: -1.4px; }
  .contribute .amounts { grid-template-columns: repeat(2, minmax(150px, 200px)); }
}

@media (max-width: 900px) {
  .donate-bar__inner { flex-direction: column; align-items: stretch; gap: 26px; padding: 64px 20px 40px; }
  .donate-bar__copy { max-width: none; }
  .donate-bar__title { font-size: 44px; }
  .amounts, .contribute .amounts { grid-template-columns: repeat(2, 1fr); }
  .donate-bar__close { top: 18px; right: 18px; }

  .follow .container { justify-content: center; }

  .site-header .container { height: 120px; position: relative; }
  .brand img { width: 110px; }
  .nav { gap: 12px; }
  .nav-toggle { display: inline-flex; }
  .nav__links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff;
    box-shadow: 0 12px 24px -12px rgba(1, 2, 36, .3);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { display: block; padding: 16px 20px; border-top: 1px solid var(--sky); }
  .btn-donate { font-size: 18px; padding: 12px 20px 10px; min-width: 0; }

  .hero { padding-top: 10px; }
  .hero .container, .meet .container, .join .container { grid-template-columns: 1fr; gap: 32px; }
  .hero__title { font-size: 50px; letter-spacing: -1.2px; }
  .callout__title, .meet__title, .priorities__title, .join__title, .contribute__title { font-size: 42px; }
  .meet { padding: 60px 0; }
  .priorities { padding: 70px 0 90px; }
  .priority { padding: 26px 22px 28px; }
  .priority__title { font-size: 26px; }
  .join { padding: 70px 0 170px; }

  .contact-page { padding: 10px 0 170px; }
  .contact-page__title { font-size: 50px; letter-spacing: -1.2px; }
  .contact-page__subtitle { margin-top: 36px; }
  .contact-page__grid { grid-template-columns: 1fr; margin-top: 32px; }

  .contribute__box { flex-direction: column; align-items: stretch; padding: 40px 24px; gap: 26px; }
  .contribute__copy { max-width: none; }

  .footer__top, .footer__mid, .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__mid { margin-top: 44px; }
  .footer__mid .socials { padding-right: 0; }
  .footer__legal { flex-wrap: wrap; gap: 20px; padding: 0; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 42px; }
  .amounts a { font-size: 16px; }
  .footer__nav { flex-wrap: wrap; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
