:root {
  --bg: #0C0C0E;
  --fg: #F8F8F8;
  --red: #E8364B;
  --red-glow: rgba(232, 54, 75, 0.35);
  --red-tint: rgba(232, 54, 75, 0.18);
  --gold: #D4A853;
  --muted: rgba(248, 248, 248, 0.62);
  --line: rgba(248, 248, 248, 0.14);
  --panel: rgba(248, 248, 248, 0.03);
  --panel-strong: rgba(248, 248, 248, 0.04);
  --display: 'Anton', 'Archivo Black', 'Impact', sans-serif;
  --body: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

@keyframes bzPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: bzPulse 1.2s ease-in-out infinite;
}

/* ── URGENCY BANNER ───────────────────────────────────────────── */
.urgency-banner {
  background: #000;
  color: var(--fg);
  padding: 10px 20px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.urgency-lead { display: inline-flex; align-items: center; gap: 8px; }
.urgency-lead .pulse-dot { width: 8px; height: 8px; }
.urgency-lead strong { letter-spacing: 0.14em; text-transform: uppercase; }
.countdown {
  font-family: var(--mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--red);
  font-weight: 700;
}

/* ── NAV ──────────────────────────────────────────────────────── */
.nav {
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 28px;
  height: 28px;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 900;
}
.brand-name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.nav-ctas { display: flex; gap: 10px; }

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.08s ease, opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.7; cursor: not-allowed; }

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #d62f44; }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover { background: rgba(212, 168, 83, 0.1); }

.btn-outline-red {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
  font-weight: 800;
  letter-spacing: 0.1em;
}
.btn-outline-red:hover { background: rgba(232, 54, 75, 0.08); }

.btn-xl {
  padding: 20px 28px;
  font-size: 16px;
  font-weight: 900;
}
.btn-xl.btn-outline-gold { border-width: 2px; }

.btn-glow { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 12px 36px var(--red-glow); }

.btn-submit {
  width: 100%;
  padding: 20px 24px;
  background: var(--red);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-top: 4px;
}
.btn-gold { background: var(--gold); }
.btn-gold:hover { background: #c49a4a; }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  padding: 64px 32px 72px;
  position: relative;
  border-bottom: 1px solid var(--line);
  background-image: radial-gradient(circle at 85% 20%, var(--red-tint), transparent 55%);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--red);
  margin-bottom: 20px;
}
.badge .pulse-dot { width: 6px; height: 6px; }
.badge-text {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--display);
  font-size: 96px;
  line-height: 0.9;
  letter-spacing: -2px;
  font-weight: 900;
  margin: 0 0 20px;
  max-width: 1100px;
  text-wrap: balance;
}
.hero-title span { display: inline; padding-right: 0.22em; }
.hero-title-accent { color: var(--red); }

.hero-sub {
  font-size: 22px;
  line-height: 1.4;
  max-width: 720px;
  margin: 0 0 32px;
  color: var(--muted);
  text-wrap: pretty;
}
.hero-sub strong { color: var(--fg); font-weight: 700; }

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

/* Stats row */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 720px;
  border: 1px solid var(--line);
  margin-bottom: 32px;
}
.stat { padding: 20px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-n {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1.2px;
  color: var(--red);
  line-height: 1;
}
.stat-l {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 600;
}

.hero-counter {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
}
.hero-counter-num {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.hero-counter-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.hero-photo { margin-top: 44px; }

.hero-photo-img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  background: #1A1A1F;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── SECTION SHARED ───────────────────────────────────────────── */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow-on-red { color: #fff; opacity: 0.8; }
.eyebrow-gold { color: var(--gold); }

.section-title {
  font-family: var(--display);
  font-size: 54px;
  line-height: 0.98;
  letter-spacing: -1.2px;
  font-weight: 900;
  margin: 0 0 40px;
  text-transform: uppercase;
  max-width: 900px;
  text-wrap: balance;
}
.section-title-lg {
  font-size: 68px;
  line-height: 0.92;
  letter-spacing: -1.4px;
  margin-bottom: 20px;
}
.section-title-md {
  font-size: 62px;
  line-height: 0.94;
  letter-spacing: -1.3px;
  margin-bottom: 20px;
}
.section-title-sm {
  font-size: 44px;
  line-height: 0.98;
  letter-spacing: -1px;
  margin-bottom: 32px;
  max-width: 820px;
}

/* ── STORY ────────────────────────────────────────────────────── */
.story {
  padding: 72px 32px;
  border-bottom: 1px solid var(--line);
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
}
.story-item { border-top: 2px solid var(--red); padding-top: 20px; }
.story-lead {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.story-item p {
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  color: rgba(248, 248, 248, 0.88);
  text-wrap: pretty;
}

/* ── PETITION ─────────────────────────────────────────────────── */
.petition {
  padding: 72px 32px;
  background: var(--red);
  color: #fff;
}
.petition-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  max-width: 1100px;
}
.petition-lede {
  font-size: 19px;
  line-height: 1.5;
  margin: 0 0 24px;
  opacity: 0.92;
  max-width: 460px;
}
.petition-counter {
  padding: 18px 20px;
  background: rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
}
.petition-counter-num {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.petition-counter-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
}

.petition-form-wrap {
  background: var(--bg);
  padding: 32px;
  border-radius: 2px;
  color: var(--fg);
}

.petition-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: block; }
.field-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: rgba(248, 248, 248, 0.7);
}
.field-label-opt { opacity: 0.5; font-weight: 500; text-transform: none; letter-spacing: 0; }
.petition-form input[type="text"],
.petition-form input[type="email"],
.petition-form input[type="tel"],
.petition-form select {
  width: 100%;
  padding: 16px;
  font-size: 17px;
  font-family: inherit;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  border-radius: 2px;
  outline: none;
}
.petition-form input:focus,
.petition-form select:focus { border-color: var(--red); }

.petition-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='rgba(248,248,248,0.6)' d='M0 0l6 8 6-8z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px 8px;
}
.petition-form select option { background: #111; color: var(--fg); }

.phone-group { display: flex; gap: 8px; }
.phone-group .country-select { flex: 0 0 auto; width: auto; }
.phone-group input[type="tel"] { flex: 1 1 auto; min-width: 0; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(248, 248, 248, 0.9);
  cursor: pointer;
}
.checkbox input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--red); flex-shrink: 0; }
.checkbox .muted { opacity: 0.6; }

.form-error { font-size: 13px; color: var(--red); font-weight: 600; }

.petition-success {
  padding: 28px 28px 32px;
  background: var(--red);
  color: #fff;
  border-radius: 2px;
}
.success-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin: 4px 0 10px;
}
.success-body { font-size: 15px; line-height: 1.55; opacity: 0.92; margin: 0 0 20px; }

/* ── DONATE ───────────────────────────────────────────────────── */
.donate {
  padding: 72px 32px;
  border-bottom: 1px solid var(--line);
}
.donate-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  max-width: 1100px;
}
.donate-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 440px;
}
.donate-lede strong { color: var(--fg); }

.gold { color: var(--gold); }

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-width: 440px;
}
.pillar { padding: 10px 12px; border: 1px solid var(--line); }
.pillar-k { font-size: 13px; font-weight: 800; letter-spacing: 0.02em; }
.pillar-v { font-size: 11px; color: var(--muted); margin-top: 3px; }

.donate-panel {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.donate-toggle { display: flex; gap: 4px; margin-bottom: 16px; }
.donate-toggle-btn {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--fg);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
}
.donate-toggle-btn.is-active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.donate-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.donate-amt {
  position: relative;
  padding: 22px 8px 20px;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--fg);
  font-family: inherit;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.12s ease;
}
.donate-amt .amt {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.8px;
}
.donate-amt .per-month {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  margin-top: 2px;
  opacity: 0.8;
  font-weight: 600;
  text-transform: uppercase;
}
.donate-amt.is-selected { background: var(--red); border-color: var(--red); color: #fff; }
.donate-amt.is-premium.is-selected { background: var(--gold); border-color: var(--gold); color: #fff; }
.donate-amt.is-premium:not(.is-selected) { color: var(--fg); }

.premium-tag {
  position: absolute;
  top: -9px;
  right: 6px;
  font-size: 9px;
  letter-spacing: 0.16em;
  font-weight: 800;
  padding: 3px 6px;
  background: var(--gold);
  color: #fff;
  text-transform: uppercase;
}

.donate-custom {
  width: 100%;
  padding: 14px 16px;
  margin: 4px 0 12px;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--fg);
  font-family: inherit;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.donate-custom.is-selected { border-color: var(--red); background: rgba(0, 0, 0, 0.02); }
.donate-custom-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}
#donate-custom-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 18px;
  font-weight: 800;
  font-family: inherit;
  color: var(--fg);
  outline: none;
  letter-spacing: -0.3px;
}
#donate-custom-input::-webkit-outer-spin-button,
#donate-custom-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#donate-custom-input { -moz-appearance: textfield; }

.donate-meta {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.donate-thanks {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ── STAY CONNECTED ───────────────────────────────────────────── */
.stay {
  padding: 64px 32px;
  border-bottom: 1px solid var(--line);
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 1000px;
}
.social {
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(248, 248, 248, 0.02);
  text-decoration: none;
  color: var(--fg);
  display: block;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.social:hover { background: var(--red); border-color: var(--red); }
.social-sym {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 10px;
}
.social:hover .social-sym { color: #fff; }
.social-name {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.social-handle {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.social-role {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
  font-weight: 600;
}
.social:hover .social-handle,
.social:hover .social-role { color: rgba(255, 255, 255, 0.85); }

/* ── FOOTER ───────────────────────────────────────────────────── */
.footer {
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-family: var(--mono);
}
.footer a { color: inherit; text-decoration: none; }
.footer-links { display: flex; gap: 20px; }

/* ── STICKY CTA ───────────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: rgba(12, 12, 14, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sticky-cta-text { flex: 1; min-width: 0; }
.sticky-cta-eyebrow {
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: rgba(248, 248, 248, 0.55);
}
.sticky-cta-status {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-title { font-size: 72px; }
  .section-title { font-size: 42px; }
  .section-title-lg { font-size: 52px; }
  .section-title-md { font-size: 48px; }
  .section-title-sm { font-size: 36px; }
  .story-grid { grid-template-columns: 1fr; gap: 24px; }
  .petition-inner,
  .donate-inner { grid-template-columns: 1fr; gap: 32px; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .nav { padding: 16px 20px; }
  .hero { padding: 40px 20px 56px; }
  .story,
  .petition,
  .donate,
  .stay { padding: 56px 20px; }
  .hero-title { font-size: 56px; letter-spacing: -1.2px; }
  .hero-sub { font-size: 18px; }
  .section-title { font-size: 34px; }
  .section-title-lg { font-size: 42px; }
  .section-title-md { font-size: 40px; }
  .section-title-sm { font-size: 30px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--line); }
  .pillars { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .footer { padding: 20px; }
  .sticky-cta .btn { padding: 10px 12px; font-size: 11px; }
  body { padding-bottom: 64px; }
}

/* ── /thanks page ─────────────────────────────────────────────── */
.thanks-page {
  min-height: 75vh;
  padding: 64px 24px 96px;
  max-width: 1200px;
  margin: 0 auto;
}
.thanks-inner { max-width: 760px; }
.thanks-title {
  font-family: var(--display);
  font-size: clamp(80px, 16vw, 200px);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.02em;
  margin: 24px 0 36px;
  text-transform: uppercase;
}
.thanks-lede {
  font-size: 22px;
  line-height: 1.45;
  color: rgba(248, 248, 248, 0.92);
  max-width: 640px;
  margin-bottom: 28px;
  font-weight: 500;
}
.thanks-body {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(248, 248, 248, 0.72);
  max-width: 600px;
  margin-bottom: 24px;
}
.thanks-link { color: var(--red); text-decoration: none; border-bottom: 1px solid var(--red); }
.thanks-link:hover { background: var(--red-tint); }

.thanks-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 36px;
  max-width: 720px;
}
.thanks-pillar {
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.thanks-pillar-k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 4px;
}
.thanks-pillar-v {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(248, 248, 248, 0.55);
}

.thanks-ctas { margin-top: 12px; }

@media (max-width: 720px) {
  .thanks-pillars { grid-template-columns: 1fr; }
}
