:root {
  --navy: #333399;
  --steel: #666699;
  --silver: #cccccc;
  --white: #ffffff;
  --ink: #05050b;
  --panel: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.16);
  --red: #b32228;
  --gold: #d7a642;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(51,51,153,.38), transparent 32%),
    radial-gradient(circle at top right, rgba(179,34,40,.22), transparent 28%),
    #05050b;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(5, 5, 11, .84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.brand img {
  width: 48px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: .92rem;
  color: rgba(255,255,255,.82);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
}

.nav-donate,
.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--steel));
  border: 1px solid rgba(255,255,255,.22);
}

.nav-donate {
  padding: 10px 16px;
  border-radius: 999px;
  color: white !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: white;
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 1.35rem;
}

.hero {
  min-height: 86vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 72px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(5,5,11,.28), rgba(5,5,11,.9)),
    url('../img/hero-texture.svg');
  opacity: .5;
}

.hero-content {
  position: relative;
  max-width: 1040px;
}

.hero-logo {
  width: min(300px, 65vw);
  margin: 0 auto 18px;
  display: block;
  filter: drop-shadow(0 18px 55px rgba(51,51,153,.55));
}

.hero-divider {
  width: 110px;
  height: 3px;
  border-radius: 999px;
  margin: 0 auto 28px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.9) 50%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(255,255,255,.35);
}
.eyebrow {
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 800;
  font-size: .8rem;
}

.hero .eyebrow {
  margin-top: 0;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: .9;
  margin: 16px 0;
  letter-spacing: -.06em;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: rgba(255,255,255,.86);
  max-width: 830px;
  margin: 0 auto;
}

.hero-actions,
.button-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.08);
}

.btn-red { background: var(--red); }
.btn-white { background: white; color: #111; }
.btn-blue { background: var(--navy); }
.btn-gold { background: var(--gold); color: #17120a; }

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-item {
  background: rgba(5,5,11,.84);
  padding: 22px;
  text-align: center;
  font-weight: 800;
  color: var(--silver);
}

.section {
  padding: clamp(60px, 9vw, 110px) clamp(18px, 5vw, 72px);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
  margin: 0 0 24px;
  letter-spacing: -.04em;
}

.lead {
  font-size: clamp(1.06rem, 2vw, 1.35rem);
  color: rgba(255,255,255,.82);
  max-width: 920px;
}

.quote-line {
  font-size: clamp(1.7rem, 4vw, 3.3rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -.04em;
  max-width: 960px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 38px);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  font-size: 1.45rem;
}

.card ul {
  padding-left: 20px;
  color: rgba(255,255,255,.82);
}

.card p {
  color: rgba(255,255,255,.82);
}

.donation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.tier {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 28px;
  padding: 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.tier button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.tier span {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 900;
}

.tier strong {
  font-size: 2.1rem;
}

.tier-red {
  background: linear-gradient(145deg, #b32228, #4b080b);
}

.tier-white {
  background: linear-gradient(145deg, #ffffff, #cccccc);
  color: #111;
}

.tier-blue {
  background: linear-gradient(145deg, #333399, #101044);
}

.tier-gold {
  background: linear-gradient(145deg, #d7a642, #73520f);
  color: #17120a;
}

.cta-band {
  margin: 60px auto 0;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 36px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(51,51,153,.48), rgba(179,34,40,.18));
  text-align: center;
}

.custom-donation-form {
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin: 24px auto 0;
}

.custom-donation-form input[type="text"],
.custom-donation-form input[type="email"],
.custom-donation-form input[type="number"] {
  width: 100%;
  min-height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.1);
  color: var(--white);
  padding: 0 20px;
  font-size: 1rem;
  outline: none;
}

.custom-donation-form input::placeholder {
  color: rgba(255,255,255,.55);
}

.custom-donation-form label {
  text-align: left;
}

.names {
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,.84);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  padding: 54px clamp(18px, 5vw, 72px) 24px;
  background: #030307;
  border-top: 1px solid var(--line);
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-logo {
  width: 90px;
  margin-bottom: 12px;
}

.site-footer a,
.site-footer p {
  display: block;
  color: rgba(255,255,255,.72);
  margin: 7px 0;
}

.site-footer h3 {
  margin-top: 0;
}

.footer-bottom {
  max-width: 1180px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: rgba(255,255,255,.5);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 18px;
    right: 18px;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(5,5,11,.96);
  }

  .site-nav.open {
    display: flex;
  }

  .trust-bar,
  .grid-2,
  .grid-3,
  .donation-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    padding: 16px;
  }

  .hero {
    min-height: 78vh;
    padding: 54px 18px;
  }

  .hero-logo {
    width: min(240px, 70vw);
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 4.8rem);
  }
}
.subscribe-popup {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.subscribe-popup.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.subscribe-popup-card {
  position: relative;
  width: min(560px, 100%);
  padding: clamp(28px, 5vw, 46px);
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(51,51,153,.55), transparent 36%),
    linear-gradient(135deg, rgba(20,20,42,.98), rgba(34,8,18,.98));
  box-shadow: var(--shadow);
  text-align: center;
}

