.support-page {
  --support-deep: #0e4a3b;
  --support-dark: #082f27;
  --support-teal: #2b7b67;
  --support-mint: #b9f05f;
  --support-soft: #eef7f2;
  --support-ink: #123a30;
  color: var(--support-ink);
  background: #fff;
}

.support-page button,
.support-page input,
.support-page select {
  font: inherit;
}

.support-hero {
  position: relative;
  isolation: isolate;
  height: clamp(380px, 40vh, 500px);
  min-height: 380px;
  overflow: hidden;
  background: var(--support-dark);
}

.support-hero-image,
.support-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.support-hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: center 44%;
}

.support-hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 35, 27, .94) 0%, rgba(5, 35, 27, .76) 37%, rgba(5, 35, 27, .2) 70%, rgba(5, 35, 27, .12) 100%),
    linear-gradient(180deg, rgba(4, 29, 23, .08), rgba(4, 29, 23, .58));
}

.support-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(4, 30, 23, .42));
}

.support-hero-inner {
  position: relative;
  height: 100%;
}

.support-hero-copy {
  position: absolute;
  top: 30%;
  left: 0;
  width: min(650px, 60%);
  transform: translateY(-30%);
  color: #fff;
}

.support-kicker {
  margin: 0 0 12px;
  color: var(--support-mint);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.support-hero h1 {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.55rem, 5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .98;
  text-shadow: 0 16px 42px rgba(2, 28, 20, .34);
}

.support-hero h1 mark {
  position: relative;
  display: inline-block;
  color: #fff;
  background: none;
  white-space: nowrap;
}

.support-hero h1 mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -.08em;
  bottom: .02em;
  left: -.04em;
  height: .27em;
  border-radius: 999px 26% 999px 26%;
  background: rgba(185, 240, 95, .82);
  transform: rotate(-1.2deg);
}

.support-hero-copy > p:not(.support-kicker) {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 1rem;
  line-height: 1.62;
}

.support-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.support-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.support-button:hover {
  transform: translateY(-2px);
}

.support-button-primary {
  color: var(--support-dark);
  background: var(--support-mint);
  box-shadow: 0 14px 32px rgba(4, 34, 25, .22);
}

.support-button-primary:hover {
  background: #c9f77b;
}

.support-button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
}

.support-button-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .15);
}

.donation-total {
  position: absolute;
  right: 0;
  bottom: 28px;
  width: min(330px, 31vw);
  padding: 19px 21px 17px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 22px 22px 22px 7px;
  background: rgba(5, 39, 30, .68);
  box-shadow: 0 22px 50px rgba(3, 25, 19, .24);
  backdrop-filter: blur(16px);
}

.donation-total span,
.donation-total small {
  display: block;
}

.donation-total span {
  color: rgba(255, 255, 255, .74);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.donation-total strong {
  display: block;
  margin-top: 5px;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  letter-spacing: -.04em;
}

.donation-total-rule {
  height: 3px;
  margin: 13px 0 11px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .34);
}

.donation-total-rule i {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: var(--support-mint);
}

.donation-total small {
  color: rgba(255, 255, 255, .69);
  font-size: .72rem;
  line-height: 1.4;
}

.support-paths {
  padding: clamp(58px, 8vw, 96px) 0;
  background:
    radial-gradient(circle at 4% 16%, rgba(43, 123, 103, .09), transparent 24rem),
    #fff;
}

.support-paths-inner {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.45fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
}

.support-section-heading h2 {
  max-width: 470px;
  margin: 0;
  color: var(--support-ink);
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  letter-spacing: -.055em;
  line-height: 1.02;
}

.support-section-heading > p:last-child {
  max-width: 450px;
  margin: 19px 0 0;
  color: #587167;
  font-size: .98rem;
  line-height: 1.7;
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.support-card {
  position: relative;
  isolation: isolate;
  min-height: 455px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 32px;
  border-radius: 30px 30px 30px 9px;
}

.support-card-donate {
  border: 1px solid rgba(14, 74, 59, .12);
  background: #f5faf7;
  box-shadow: 0 22px 58px rgba(14, 74, 59, .12);
}

.support-card-volunteer {
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(185, 240, 95, .18), transparent 18rem),
    linear-gradient(145deg, var(--support-teal), var(--support-dark));
  box-shadow: 0 25px 62px rgba(5, 47, 39, .24);
}

.support-card-volunteer::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 90px;
  height: 480px;
  right: -75px;
  top: -85px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
  filter: blur(7px);
  transform: rotate(18deg);
}

.support-card-number {
  position: absolute;
  top: 28px;
  right: 29px;
  color: rgba(14, 74, 59, .32);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.support-card-volunteer .support-card-number {
  color: rgba(255, 255, 255, .4);
}

.support-card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border-radius: 18px 18px 18px 6px;
  color: var(--support-deep);
  background: rgba(185, 240, 95, .78);
}

.support-card-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-card-label {
  margin: 34px 0 7px !important;
  color: var(--support-teal);
  font-size: .69rem !important;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.support-card-volunteer .support-card-label {
  color: var(--support-mint);
}

.support-card h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  letter-spacing: -.04em;
  line-height: 1.04;
}

.support-card > p:not(.support-card-label) {
  margin: 15px 0 0;
  color: #60756d;
  font-size: .86rem;
  line-height: 1.62;
}

.support-card-volunteer > p:not(.support-card-label) {
  color: rgba(255, 255, 255, .72);
}

.support-method-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 22px 0 24px;
  padding: 0;
  list-style: none;
}

.support-method-list li {
  padding: 7px 10px;
  border: 1px solid rgba(14, 74, 59, .12);
  border-radius: 999px;
  color: var(--support-deep);
  background: #fff;
  font-size: .68rem;
  font-weight: 800;
}

.volunteer-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, .76);
  font-size: .73rem;
  font-weight: 700;
}

.volunteer-note span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--support-dark);
  background: var(--support-mint);
}

.support-card-link {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 0 17px;
  border: 0;
  border-radius: 13px 13px 13px 4px;
  color: #fff;
  background: var(--support-deep);
  font-size: .78rem;
  font-weight: 850;
  cursor: pointer;
}

.support-card-link-light {
  color: var(--support-dark);
  background: var(--support-mint);
}

.support-card-link span {
  font-size: 1rem;
}

.support-assurance {
  padding: 26px 0;
  color: #fff;
  background: var(--support-dark);
}

.support-assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.support-assurance-grid div {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  border-left: 1px solid rgba(255, 255, 255, .16);
}

.support-assurance-grid div:first-child {
  border-left: 0;
}

.support-assurance-grid strong {
  color: var(--support-mint);
  font-size: .72rem;
  letter-spacing: .1em;
}

.support-assurance-grid span {
  color: rgba(255, 255, 255, .78);
  font-size: .78rem;
  font-weight: 700;
}

.support-dialog {
  width: min(760px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 32px 32px 32px 10px;
  color: var(--support-ink);
  background: #fff;
  box-shadow: 0 34px 100px rgba(3, 32, 24, .42);
}

.support-dialog::backdrop {
  background: rgba(2, 24, 18, .72);
  backdrop-filter: blur(7px);
}

.support-dialog[open] {
  animation: dialog-enter 220ms ease-out;
}

@keyframes dialog-enter {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.support-dialog-shell {
  position: relative;
  padding: clamp(28px, 5vw, 48px);
}

.dialog-close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(14, 74, 59, .12);
  border-radius: 50%;
  color: var(--support-deep);
  background: #f1f7f3;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-heading {
  padding-right: 46px;
}

.dialog-heading h2,
.volunteer-dialog-heading h2 {
  margin: 0;
  color: var(--support-ink);
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -.055em;
  line-height: 1.02;
}

.dialog-heading > p:last-child {
  max-width: 560px;
  margin: 14px 0 0;
  color: #60756d;
  line-height: 1.6;
}

.donation-form {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.donation-form label {
  display: grid;
  gap: 8px;
  color: var(--support-ink);
  font-size: .75rem;
  font-weight: 850;
}

.donation-form input,
.donation-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(14, 74, 59, .19);
  border-radius: 12px 12px 12px 4px;
  outline: none;
  color: var(--support-ink);
  background: #f8fbf9;
  font-size: .87rem;
}

.donation-form input:focus,
.donation-form select:focus {
  border-color: var(--support-teal);
  box-shadow: 0 0 0 3px rgba(43, 123, 103, .12);
}

.form-honeypot {
  position: absolute;
  left: -10000px;
}

.account-panel {
  position: relative;
  padding: 19px 20px;
  border: 1px solid rgba(14, 74, 59, .12);
  border-radius: 18px 18px 18px 6px;
  background: var(--support-soft);
}

.account-panel[hidden] {
  display: none;
}

.account-panel > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-right: 108px;
}

.account-panel > div:first-child span {
  color: #657a71;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.account-panel > div:first-child strong {
  color: var(--support-deep);
  font-size: 1.05rem;
}

.account-panel dl {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.account-panel dl div {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  gap: 12px;
}

.account-panel dt,
.account-panel dd {
  margin: 0;
  font-size: .76rem;
  line-height: 1.45;
}

.account-panel dt {
  color: #6c8077;
}

.account-panel dd {
  overflow-wrap: anywhere;
  color: var(--support-ink);
  font-weight: 800;
}

.copy-account {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 11px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--support-teal);
  font-size: .66rem;
  font-weight: 850;
  cursor: pointer;
}

.form-consent {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  gap: 11px !important;
  color: #61766d !important;
  font-size: .72rem !important;
  font-weight: 650 !important;
  line-height: 1.5;
}

.form-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--support-teal);
}

.form-submit {
  justify-self: start;
}

.form-status {
  min-height: 1.5em;
  margin: -4px 0 0;
  color: var(--support-teal);
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.5;
}

.form-status.is-error {
  color: #a33535;
}

.volunteer-dialog {
  width: min(1080px, calc(100% - 28px));
  overflow: hidden;
}

.volunteer-dialog-shell {
  display: grid;
  grid-template-rows: auto minmax(520px, 72dvh);
  padding: 0;
}

.volunteer-dialog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 76px 24px 34px;
}

.volunteer-dialog-heading h2 {
  max-width: 630px;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
}

.volunteer-dialog-heading a {
  flex: 0 0 auto;
  color: var(--support-teal);
  font-size: .76rem;
  font-weight: 850;
  text-decoration: none;
}

.volunteer-dialog iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #f4f8f5;
}

body:has(.support-dialog[open]) {
  overflow: hidden;
}

@media (max-width: 900px) {
  .support-hero-copy {
    width: min(620px, 72%);
  }

  .donation-total {
    width: 280px;
  }

  .support-paths-inner {
    grid-template-columns: 1fr;
  }

  .support-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, .85fr);
    gap: 32px;
    align-items: end;
  }

  .support-section-heading .support-kicker {
    grid-column: 1 / -1;
    margin-bottom: -20px;
  }

  .support-section-heading > p:last-child {
    margin: 0;
  }
}

@media (max-width: 680px) {
  .support-hero {
    height: auto;
    min-height: 610px;
  }

  .support-hero-image {
    object-position: 58% center;
  }

  .support-hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 35, 27, .53) 0%, rgba(5, 35, 27, .63) 34%, rgba(5, 35, 27, .94) 100%),
      linear-gradient(90deg, rgba(5, 35, 27, .56), rgba(5, 35, 27, .12));
  }

  .support-hero-inner {
    min-height: 610px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 86px;
    padding-bottom: 22px;
  }

  .support-hero-copy {
    position: static;
    width: 100%;
    transform: none;
  }

  .support-hero h1 {
    max-width: 520px;
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .support-hero-copy > p:not(.support-kicker) {
    max-width: 430px;
    font-size: .91rem;
  }

  .support-hero-actions {
    margin-top: 19px;
  }

  .donation-total {
    position: static;
    width: 100%;
    margin-top: 18px;
    padding: 15px 17px;
  }

  .support-paths {
    padding: 56px 0;
  }

  .support-section-heading {
    display: block;
  }

  .support-section-heading .support-kicker {
    margin-bottom: 12px;
  }

  .support-section-heading > p:last-child {
    margin-top: 16px;
  }

  .support-cards {
    grid-template-columns: 1fr;
  }

  .support-card {
    min-height: 420px;
    padding: 28px 24px;
  }

  .support-assurance-grid {
    grid-template-columns: 1fr;
  }

  .support-assurance-grid div {
    min-height: 48px;
    padding: 0 6px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-left: 0;
  }

  .support-assurance-grid div:first-child {
    border-top: 0;
  }

  .support-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 25px 25px 25px 8px;
  }

  .support-dialog-shell {
    padding: 28px 20px;
  }

  .dialog-heading {
    padding-right: 38px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .account-panel > div:first-child {
    display: block;
    padding-right: 92px;
  }

  .account-panel > div:first-child strong {
    display: block;
    margin-top: 5px;
  }

  .account-panel dl div {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .form-submit {
    width: 100%;
  }

  .volunteer-dialog-shell {
    grid-template-rows: auto minmax(520px, 78dvh);
    padding: 0;
  }

  .volunteer-dialog-heading {
    display: block;
    padding: 28px 56px 19px 20px;
  }

  .volunteer-dialog-heading a {
    display: inline-block;
    margin-top: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-dialog[open] {
    animation: none;
  }

  .support-button {
    transition: none;
  }
}
