/* ============================================================
   GPI Donation Form — style.css
   Aesthetic: Dark / Cinematic
   Fonts: DM Sans
   ============================================================ */

/* --- Variables --- */
:root {
  --bg:           #f5f5f7;
  --card:         #ffffff;
  --surface:      #ebebed;
  --border:       rgba(0,0,0,0.1);
  --border-focus: #0071e3;
  --accent:       #0071e3;
  --accent-glow:  rgba(0, 113, 227, 0.18);
  --accent-tint:  rgba(0, 113, 227, 0.1);
  --text:         #1d1d1f;
  --text-sec:     rgba(0,0,0,0.6);
  --text-muted:   rgba(0,0,0,0.4);
  --red:          #d93025;
  --red-glow:     rgba(217, 48, 37, 0.12);
  --shadow-card:  0 1px 4px rgba(0,0,0,0.08);
  --radius:       0px;
  --radius-sm:    0px;
  --transition:   0.2s ease;
  --font:         'DM Sans', system-ui, -apple-system, sans-serif;
  --font-cond:    'DM Sans', system-ui, sans-serif;
  --font-disp:    'DM Sans', sans-serif;
  --font-b:       'DM Sans', system-ui, sans-serif; /* alias */
  --font-c:       'DM Sans', system-ui, sans-serif; /* alias */
  --font-d:       'DM Sans', sans-serif;            /* alias */
  --text-mut:     rgba(0,0,0,0.4);                  /* alias */
  --green:        #34c759;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

/* Base body — donate page layout */
body {
  min-height: 100vh;
  background-color: var(--bg);
  font-family: var(--font);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Homepage body — full-width, no flex centering */
body.page-home {
  display: block;
  overflow-x: hidden;
}

/* Success page body additions */
body.page-success {
  justify-content: center;
  padding: 40px 20px;
}

/* --- Background: warm orange radial glow --- */
.page-bg { display: none; }

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 113, 227, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* --- Page layout --- */
.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  padding: 52px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

/* --- Header --- */
.header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  height: 36px;
  width: auto;
  display: block;
}

.logo-mark { display: none; }

.logo-name {
  font-family: var(--font-disp);
  font-size: 16px;
  letter-spacing: 3px;
  color: var(--text);
}

.header__tagline {
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* --- Card --- */
.card {
  width: 100%;
  background: var(--card);
  border-radius: 0;
  box-shadow: none;
  border: 1px solid var(--border);
  overflow: hidden;
  animation: cardIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.card__inner {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  /* Orange top accent line */
  border-top: 2px solid var(--accent);
}

/* --- Form Headline --- */
.form-headline__title {
  font-family: var(--font-disp);
  font-size: 44px;
  color: var(--text);
  letter-spacing: 2px;
  line-height: 1.2;
}

.form-headline__sub {
  margin-top: 10px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-sec);
  line-height: 1.65;
}

/* --- Form --- */
#donation-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* --- Fieldset --- */
.fieldset { border: none; padding: 0; margin: 0; }

.fieldset__legend {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.fieldset__legend::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

/* --- Frequency Toggle --- */
.frequency-fieldset {
  display: flex;
  justify-content: center;
}

.toggle-pill {
  position: relative;
  display: inline-flex;
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: 1px solid var(--border);
  overflow: hidden;
}

.toggle-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-pill label {
  position: relative;
  z-index: 2;
  cursor: pointer;
  padding: 13px 40px;
  border-radius: 0;
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  user-select: none;
  white-space: nowrap;
}

.toggle-pill label:first-of-type {
  border-right: 1px solid var(--border);
}

/* Slider repurposed as orange fill behind active tab */
.toggle-pill__slider {
  position: absolute;
  top: 0; left: 0;
  width: 50%;
  height: 100%;
  background: var(--accent);
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

#freq-monthly:checked ~ .toggle-pill__slider {
  transform: translateX(100%);
}

#freq-once:checked + label,
#freq-monthly:checked + label {
  color: #ffffff;
}

/* --- Amount Grid --- */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 2px;
}

.amount-btn {
  padding: 16px 10px;
  border-radius: 0;
  border: none;
  background: var(--surface);
  font-family: var(--font-disp);
  font-size: 22px;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  letter-spacing: 2px;
}

.amount-btn:hover {
  background: #d8d8da;
  color: var(--text);
}

.amount-btn.active {
  background: var(--accent);
  color: #ffffff;
}

/* --- Custom Amount --- */
.custom-amount-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 2px;
}

.custom-amount-prefix {
  position: absolute;
  left: 14px;
  font-family: var(--font-disp);
  font-size: 20px;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 1;
  letter-spacing: 1px;
}

#custom-amount {
  width: 100%;
  padding: 14px 14px 14px 32px;
  border-radius: 0;
  border: 1px solid var(--border);
  font-family: var(--font-disp);
  font-size: 20px;
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--transition);
  outline: none;
  letter-spacing: 1px;
}

#custom-amount::placeholder { color: var(--text-muted); }
#custom-amount:focus  { border-color: var(--accent); }
#custom-amount.active { border-color: var(--accent); }
#custom-amount.error  { border-color: var(--red); }

/* --- Field --- */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.field__label {
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field__optional {
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 400;
  color: rgba(0,0,0,0.3);
  text-transform: none;
  letter-spacing: 0;
}

.field__required { color: var(--accent); }

.field__input {
  padding: 13px 14px;
  border-radius: 0;
  border: 1px solid var(--border);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}

.field__input::placeholder { color: var(--text-muted); }
.field__input:focus { border-color: var(--accent); }
.field__input.error { border-color: var(--red); }

.field__textarea {
  padding: 13px 14px;
  border-radius: 0;
  border: 1px solid var(--border);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  background: var(--surface);
  resize: vertical;
  min-height: 70px;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
  line-height: 1.5;
}

.field__textarea::placeholder { color: var(--text-muted); }
.field__textarea:focus { border-color: var(--accent); }

/* --- Field errors --- */
.field-error {
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 2px;
  text-transform: uppercase;
  min-height: 16px;
  line-height: 1.4;
}

.field-error:empty { display: none; }

/* --- Checkbox --- */
.field--checkbox { flex-direction: row; align-items: center; gap: 0; }

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.checkbox-label__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-label__box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.checkbox-label__input:checked + .checkbox-label__box {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox-label__input:checked + .checkbox-label__box::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid #ffffff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

.checkbox-label__input:focus-visible + .checkbox-label__box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.checkbox-label__text {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-sec);
}

/* --- Express Checkout --- */
#express-checkout-wrap[hidden] { display: none; }

#express-checkout-element { min-height: 44px; }

.payment-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 2px;
  color: var(--text-muted);
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.payment-divider::before,
.payment-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* --- Payment Element --- */
.payment-field { margin-top: 4px; }

.payment-element-mount {
  padding: 14px;
  border-radius: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 56px;
  transition: border-color var(--transition);
}

.payment-element-mount:focus-within {
  border-color: var(--accent);
}

/* --- Payment Summary --- */
.payment-summary {
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--surface);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-summary[hidden] { display: none; }

.payment-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.payment-summary__label {
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.payment-summary__value {
  font-family: var(--font-disp);
  font-size: 24px;
  color: var(--text);
  letter-spacing: 1px;
}

.payment-summary__divider {
  height: 1px;
  background: var(--border);
}

/* --- Submit Button --- */
.submit-btn {
  margin-top: 8px;
  width: 100%;
  padding: 18px 24px;
  border-radius: 0;
  border: none;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), transform 0.1s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover:not(:disabled) { background: #0077ed; }
.submit-btn:active:not(:disabled) {
  background: #006cc7;
  transform: scale(0.99);
}

.submit-btn:disabled {
  background: var(--surface);
  color: var(--text-muted);
  cursor: not-allowed;
  border: 1px solid var(--border);
}

.submit-btn__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

.submit-btn.loading .submit-btn__text  { opacity: 0.7; }
.submit-btn.loading .submit-btn__spinner { display: block; }
.submit-btn.loading { pointer-events: none; }

@keyframes spin { to { transform: rotate(360deg); } }

/* --- Form Footer --- */
.form-footer {
  text-align: center;
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1.6;
}

.form-footer a { color: var(--text-muted); text-decoration: none; }
.form-footer a:hover { color: var(--accent); }

.lock-icon { font-size: 12px; }

/* --- Screen reader only --- */
.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;
}

/* --- Animations --- */
@keyframes cardIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Donate page responsive --- */
@media (max-width: 520px) {
  .card__inner { padding: 30px 22px; }
  .field-row { grid-template-columns: 1fr; gap: 16px; }
  .amount-grid { grid-template-columns: repeat(3, 1fr); }
  .form-headline__title { font-size: 36px; }
  .page { padding: 32px 16px 60px; }
  .toggle-pill label { padding: 12px 28px; }
}


/* ============================================================
   Homepage
   ============================================================ */

/* ── Shared ─────────────────────────── */
.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-c);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Buttons ─────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-c);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  padding: 14px 32px;
  cursor: pointer;
  text-decoration: none;
  border-radius: 0;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.btn--primary  { background: var(--accent); color: #fff; }
.btn--primary:hover  { background: #0077ed; }
.btn--primary:active { background: #006cc7; }
.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.9);
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.8); }
.btn--dark { background: #1d1d1f; color: #fff; }
.btn--dark:hover { background: #333; }

/* ── Nav ─────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  background: rgba(245,245,247,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav .inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-d);
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--text);
  text-decoration: none;
}
.nav__logo span { color: var(--accent); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  font-family: var(--font-c);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.nav__link:hover { color: #1d1d1f; }

/* ── Hero ────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  background-image: url('images/Herostock.webp');
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0a0a0a 0%, rgba(10,10,10,0.8) 45%, rgba(10,10,10,0.6) 100%);
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,113,227,0.18) 0%, transparent 60%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 80px;
}
.hero__title {
  font-family: var(--font-d);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 22px;
  max-width: 760px;
}
.hero__title span { color: var(--accent); }
.hero__sub {
  font-family: var(--font-b);
  font-size: 20px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Stats ───────────────────────────── */
.stats {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 44px 40px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--font-d);
  font-size: 52px;
  line-height: 1;
  color: var(--text);
  margin-bottom: 8px;
}
.stat__num span { color: var(--accent); }
.stat__label {
  font-family: var(--font-c);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-mut);
}

/* ── Programs ────────────────────────── */
.programs { padding: 88px 0; }
.programs .inner { margin-bottom: 48px; }
.programs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.prog-card {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: var(--card);
}
.prog-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.prog-card:hover .prog-card__bg { transform: scale(1.05); }
.prog-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.25) 55%, transparent 100%);
  z-index: 1;
}
.prog-card__tag {
  position: absolute;
  top: 0; left: 0;
  z-index: 2;
  font-family: var(--font-c);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 7px 14px;
}
.prog-card__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
  z-index: 2;
}
.prog-card__title {
  font-family: var(--font-d);
  font-size: 30px;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.prog-card__desc {
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* ── About ───────────────────────────── */
.about {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about__grid {
  padding: 88px 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about__left-title {
  font-family: var(--font-d);
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.93;
  color: var(--text);
}
.about__left-title span { color: var(--accent); }
.about__body {
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-sec);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about__right .btn { margin-top: 12px; }

/* ── CTA Strip ───────────────────────── */
.cta-strip { background: var(--accent); }
.cta-strip .inner {
  padding-top: 44px;
  padding-bottom: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-strip__title {
  font-family: var(--font-d);
  font-size: 36px;
  color: #fff;
  letter-spacing: 2px;
  line-height: 1;
}

/* ── Footer ──────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer__top {
  padding: 56px 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.footer__logo {
  font-family: var(--font-d);
  font-size: 28px;
  letter-spacing: 3px;
  color: var(--text);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}
.footer__logo span { color: var(--accent); }
.footer__tagline {
  font-family: var(--font-c);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mut);
}
.footer__nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  list-style: none;
  padding-top: 4px;
}
.footer__link {
  font-family: var(--font-c);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__link:hover { color: #1d1d1f; }
.footer__bottom {
  padding-bottom: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy {
  font-family: var(--font-c);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-mut);
}
.footer__contact {
  font-family: var(--font-c);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--text-mut);
  text-align: right;
}
.footer__contact a {
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0;
}
.footer__contact a:hover { text-decoration: underline; }

/* ── Homepage responsive ─────────────── */
@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; padding: 64px 0; }
}
@media (max-width: 768px) {
  .inner { padding: 0 24px; }
  .nav__logo { font-size: 16px; letter-spacing: 1.5px; }
  .hero__sub { font-size: 16px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .programs__grid { grid-template-columns: 1fr; }
  .cta-strip .inner { flex-direction: column; text-align: center; }
  .footer__top { flex-direction: column; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__contact { text-align: center; }
}
@media (max-width: 520px) {
  .nav__link { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 32px 20px; }
  .hero { min-height: 80vh; }
  .hero__content { padding: 80px 24px 56px; }
  .programs { padding: 64px 0; }
  .prog-card { height: 280px; }
}


/* ============================================================
   Success Page
   ============================================================ */

body.page-success::before {
  content: '';
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,113,227,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body.page-success .card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  padding: 52px 44px;
  text-align: center;
  animation: cardIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.success-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  text-decoration: none;
}
.success-logo__icon { height: 36px; width: auto; }
.success-logo__name {
  font-family: var(--font-d);
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--text);
}
.success-logo__name span { color: var(--accent); }

.checkmark {
  width: 56px;
  height: 56px;
  background: rgba(0,113,227,0.12);
  border: 1px solid rgba(0,113,227,0.3);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}
.checkmark svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-heading {
  font-family: var(--font-d);
  font-size: 42px;
  color: var(--text);
  letter-spacing: 2px;
  line-height: 0.95;
  margin-bottom: 8px;
}

.success-tagline {
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-sec);
  margin-bottom: 32px;
  line-height: 1.6;
}

.success-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px 24px;
  margin-bottom: 28px;
  text-align: left;
}
.success-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}
.success-summary__label {
  font-family: var(--font-c);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-mut);
}
.success-summary__value {
  font-family: var(--font-c);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 1px;
}
.success-summary__value--amount {
  font-family: var(--font-d);
  font-size: 24px;
  color: var(--accent);
  letter-spacing: 2px;
}
.success-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 10px 0;
}

.receipt-note {
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-mut);
  line-height: 1.65;
  margin-bottom: 32px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 0;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-c);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.back-btn:hover  { background: #0077ed; }
.back-btn:active { background: #006cc7; }

@media (max-width: 520px) {
  body.page-success .card { padding: 36px 24px; }
  .success-heading { font-size: 34px; }
}
