:root {
  --navy-900: #081a35;
  --navy-800: #0f274c;
  --navy-700: #18396a;
  --blue-500: #2a77c9;
  --blue-400: #4e92db;
  --red-500: #c72d3b;
  --red-600: #a81f2f;
  --slate-900: #131a26;
  --slate-700: #39475c;
  --slate-200: #d6deea;
  --slate-100: #ebf0f7;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-md: 0 14px 40px rgba(4, 18, 40, 0.26);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--slate-900);
  background: var(--slate-100);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.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;
}

.container {
  width: min(var(--container), calc(100% - 2.4rem));
  margin: 0 auto;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--blue-400);
}

.top-strip {
  background: linear-gradient(90deg, var(--red-600), var(--red-500));
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.top-strip .container {
  min-height: 2.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.top-strip .inline-donate {
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  padding: 0.24rem 0.8rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(8, 26, 53, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.nav-shell {
  min-height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
}

.brand {
  width: 230px;
  max-width: 48vw;
}

.brand-frame {
  background: linear-gradient(145deg, #ffffff 0%, #eff4fb 100%);
  border: 1px solid #ced8e8;
  border-radius: 10px;
  padding: 0.35rem 0.5rem;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.22);
}

.brand img {
  width: 100%;
  height: auto;
}

.menu-toggle {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--white);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue-400);
}

.btn {
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.btn:focus-visible,
.input:focus-visible,
.menu-toggle:focus-visible,
.site-nav a:focus-visible,
.amount-grid a:focus-visible {
  outline: 2px solid #86beff;
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-500), var(--red-600));
  color: var(--white);
  padding: 0.7rem 1.18rem;
  font-size: 0.8rem;
}

.btn-primary:hover {
  filter: brightness(1.07);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 0.62rem 1rem;
  font-size: 0.77rem;
}

.btn-slab {
  border-radius: 0;
  border: 1px solid #6e89b1;
  color: var(--white);
  background: #102d57;
  min-height: 52px;
}

main {
  min-height: 100vh;
}

.hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 3.4rem 0 3.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.4rem;
  align-items: stretch;
}

.hero-copy {
  padding-right: 0.8rem;
}

.hero h1 {
  margin-top: 0.66rem;
  font-size: clamp(2rem, 4.6vw, 3.7rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 700px;
}

.hero p {
  margin-top: 1rem;
  max-width: 560px;
  font-size: 1.05rem;
  color: #dbe7f7;
}

.signup-panel {
  margin-top: 1.35rem;
  background: rgba(8, 18, 35, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-md);
  padding: 1.05rem;
}

.signup-form {
  display: grid;
  gap: 0.7rem;
}

.signup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.signup-field {
  display: grid;
  gap: 0.3rem;
}

.signup-field-full {
  grid-column: 1 / -1;
}

.signup-field label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #dbe7f7;
}

.signup-field .optional {
  font-size: 0.67rem;
  text-transform: none;
  letter-spacing: 0;
  color: #bfd2ee;
}

.signup-field .required {
  color: #ffd4d9;
}

.signup-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.input,
.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="tel"] {
  width: 100%;
  border: 1px solid #8ea5c8;
  border-radius: var(--radius-sm);
  background: #eef4fc;
  color: #0e1b31;
  font-size: 1rem;
  padding: 0.72rem 0.84rem;
}

.signup-form button {
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--red-500), var(--red-600));
  color: var(--white);
  width: 100%;
  min-height: 46px;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.signup-form button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-message {
  min-height: 1.25rem;
  font-size: 0.86rem;
  color: #d6e4fa;
}

.form-message.ok {
  color: #9ef3c9;
}

.form-message.error {
  color: #ffd0d6;
}

.form-note {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: #ccdcf4;
}

.hero-visual {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(160deg, rgba(207, 44, 62, 0.34), rgba(16, 44, 86, 0.9)),
    radial-gradient(circle at 80% 20%, rgba(95, 157, 219, 0.8) 0%, rgba(95, 157, 219, 0) 56%),
    linear-gradient(145deg, #152845 0%, #10254a 90%);
  padding: 1.1rem;
  display: grid;
  align-content: end;
  min-height: 390px;
  position: relative;
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.hero-visual::before {
  width: 220px;
  height: 220px;
  right: -50px;
  top: -40px;
  background: rgba(78, 146, 219, 0.46);
}

.hero-visual::after {
  width: 260px;
  height: 260px;
  left: -120px;
  bottom: -140px;
  background: rgba(199, 45, 59, 0.41);
}

.visual-card {
  position: relative;
  z-index: 1;
  background: rgba(6, 15, 29, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius-md);
  padding: 1.1rem;
}

.visual-card p {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: #d9e8ff;
}

.section {
  padding: 4.2rem 0;
}

.section h2 {
  margin-top: 0.7rem;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.015em;
}

.section p {
  margin-top: 1rem;
  color: #243349;
  max-width: 66ch;
}

.section-light {
  background: #f6f8fc;
}

.section-white {
  background: #ffffff;
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(320px, 1.05fr);
  gap: 1.4rem;
  align-items: stretch;
}

.block-image {
  border-radius: var(--radius-lg);
  border: 1px solid #c5d2e6;
  background:
    linear-gradient(160deg, rgba(40, 119, 201, 0.45), rgba(23, 42, 81, 0.95)),
    linear-gradient(120deg, #d2dff1, #8ea8cc);
  min-height: 290px;
  padding: 1rem;
  display: flex;
  align-items: end;
}

.block-image .tag {
  background: rgba(255, 255, 255, 0.86);
  color: #193865;
  padding: 0.35rem 0.58rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.stats-section {
  background: linear-gradient(180deg, #f9fbff 0%, #ecf3fd 100%);
}

.stats-head {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1.3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 0.82rem;
}

.stat-card {
  background: #0f2b56;
  color: #f3f7ff;
  border-radius: var(--radius-md);
  border: 1px solid #28538d;
  padding: 1.05rem;
}

.stat-card strong {
  display: block;
  font-size: 1.48rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-card span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: #d4e3fb;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.placeholder-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #324869;
}

.action-strip {
  background: linear-gradient(90deg, #143565, #1f5b9f, #c52d3c);
  color: var(--white);
  padding: 2.7rem 0;
}

.action-strip .container {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.action-strip h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  line-height: 1.05;
}

.action-strip p {
  margin-top: 0.3rem;
  color: #e3edff;
}

.amount-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.66rem;
}

.amount-grid a {
  background: #102b54;
  color: #f3f8ff;
  border: 1px solid #365b8d;
  min-height: 58px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
}

.amount-grid a:hover {
  background: #1a3f74;
}

.link-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.84rem;
}

.link-card {
  background: #ffffff;
  border: 1px solid #cad6e8;
  border-radius: var(--radius-md);
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
}

.link-card h3 {
  font-size: 1.1rem;
}

.link-card p {
  margin: 0;
  color: #334760;
  font-size: 0.92rem;
}

.link-card a {
  text-decoration: none;
  font-weight: 800;
  color: #114b8c;
}

.cta-panel {
  background: #0f274c;
  color: #ecf4ff;
  border-radius: var(--radius-md);
  border: 1px solid #2f5587;
  padding: 1.2rem;
  margin-top: 1.1rem;
}

.footer-signup {
  background: linear-gradient(145deg, #0a1f3f, #102b54);
  color: #e8f1ff;
  border-top: 4px solid var(--red-500);
}

.footer-signup .container {
  padding: 3.2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.footer-meta {
  background: #07162d;
  color: #c8d7ee;
  padding: 1.55rem 0 3.8rem;
}

.footer-meta .container {
  display: grid;
  gap: 0.75rem;
}

.footer-meta small,
.footer-meta p {
  margin: 0;
  font-size: 0.82rem;
}

.footer-meta a {
  color: #b3d7ff;
}

.social-list {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.social-list a {
  text-decoration: none;
  border: 1px solid #3f5f8d;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.76rem;
  color: #cfe2ff;
}

.mobile-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  background: rgba(8, 26, 53, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: none;
}

.mobile-cta .wrap {
  padding: 0.62rem 0.9rem calc(0.62rem + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.56rem;
}

.mobile-cta a {
  min-height: 44px;
  font-size: 0.78rem;
}

.page-hero {
  background: linear-gradient(135deg, #0b2142, #173b6c);
  color: #f0f6ff;
  padding: 3rem 0;
}

.page-hero h1 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 0.94;
}

.page-hero p {
  margin-top: 0.8rem;
  color: #d2e2fa;
  max-width: 66ch;
}

.accent-block {
  background: linear-gradient(135deg, #184273, #285d99);
  color: #ecf4ff;
  border-radius: var(--radius-md);
  border: 1px solid #426fa3;
  padding: 1.2rem;
}

.accent-block p {
  color: #d8e7ff;
  margin-top: 0.6rem;
}

.privacy-page main {
  background: #ffffff;
}

.privacy-shell {
  padding: 3.2rem 0;
  max-width: 850px;
}

.privacy-shell h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.96;
}

.privacy-shell h2 {
  margin-top: 1.8rem;
  font-size: 1.4rem;
}

.privacy-shell p {
  margin-top: 0.85rem;
  color: #1f2e45;
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amount-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-grid,
  .mission-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-right: 0;
  }

  .action-strip .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #091e3b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.88rem 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  body.menu-open .site-nav {
    display: flex;
  }

  .site-nav a,
  .site-nav .btn-primary {
    width: 100%;
    text-align: center;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 4.15rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 1.4rem));
  }

  .brand {
    width: 168px;
  }

  .top-strip .container {
    min-height: 2rem;
    font-size: 0.7rem;
    justify-content: flex-end;
  }

  .top-strip .container span {
    display: none;
  }

  .hero {
    padding: 2.2rem 0 2.6rem;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
  }

  .hero p {
    margin-top: 0.7rem;
    font-size: 0.95rem;
  }

  .signup-panel {
    margin-top: 0.95rem;
    padding: 0.9rem;
  }

  .signup-grid {
    grid-template-columns: 1fr;
  }

  .signup-field-full {
    grid-column: auto;
  }

  .signup-form button {
    min-height: 48px;
    font-size: 0.9rem;
  }

  .amount-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amount-grid a {
    min-height: 52px;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }

  .mobile-cta a {
    min-height: 46px;
    font-size: 0.84rem;
  }
}
