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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #2d3748;
  line-height: 1.7;
  background: #fafafa;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

a { color: #2d8c4e; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
header {
  background: linear-gradient(135deg, #1a4731 0%, #2d8c4e 100%);
  color: white;
  padding: 48px 0 40px;
  text-align: center;
}
header h1 { font-size: 2.8rem; font-weight: 800; letter-spacing: -1px; }
header .tagline { font-size: 1.2rem; opacity: 0.9; margin-top: 8px; }

/* Hero */
.hero { background: #f0fdf4; padding: 64px 0; border-bottom: 1px solid #d1fae5; }
.hero h2 { font-size: 2rem; font-weight: 700; color: #1a4731; margin-bottom: 16px; }
.hero .lead { font-size: 1.15rem; color: #374151; max-width: 800px; margin-bottom: 40px; }
.hero .context { color: #4b5563; max-width: 800px; margin-top: 24px; font-size: 0.97rem; }
.hero .eyebrow,
.section-header .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #52b788;
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: block;
}
.hero-actions { display: flex; flex-wrap: wrap; }
.hero-actions .button {
  display: inline-block;
  margin: 0.5rem 0.5rem 0.5rem 0;
  padding: 0.5rem 1.25rem;
  background: #52b788;
  color: #0a1a12;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}
.hero-actions .button:hover { text-decoration: none; }
.hero-stats {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-stats li {
  padding: 8px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.stat-card {
  background: white;
  border: 2px solid #d1fae5;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.stat-number { display: block; font-size: 2.5rem; font-weight: 800; color: #2d8c4e; }
.stat-label { display: block; font-size: 0.85rem; color: #6b7280; margin-top: 4px; }

/* Interventions */
.interventions { padding: 64px 0; background: white; }
.interventions h2 { font-size: 2rem; font-weight: 700; color: #1a4731; margin-bottom: 12px; }
.section-intro { color: #4b5563; max-width: 760px; margin-bottom: 40px; font-size: 1.02rem; }

.intervention-list { display: flex; flex-direction: column; gap: 20px; }
.intervention {
  display: flex;
  gap: 20px;
  background: #f9fafb;
  border-left: 4px solid #2d8c4e;
  border-radius: 0 12px 12px 0;
  padding: 24px;
}
.rank {
  font-size: 2rem;
  font-weight: 800;
  color: #2d8c4e;
  min-width: 48px;
  text-align: center;
  line-height: 1;
  padding-top: 4px;
}
.intervention-content h3 { font-size: 1.15rem; font-weight: 700; color: #1a4731; margin-bottom: 8px; }
.intervention-content p { color: #4b5563; margin-bottom: 12px; }
.badge {
  display: inline-block;
  background: #d1fae5;
  color: #065f46;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}

/* Charities */
.charities { background: #f0fdf4; padding: 64px 0; }
.charities h2 { font-size: 2rem; font-weight: 700; color: #1a4731; margin-bottom: 12px; }
.charity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.charity-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.charity-card h3 { font-size: 1.15rem; font-weight: 700; color: #1a4731; }
.charity-card p { color: #4b5563; font-size: 0.93rem; flex: 1; }
.charity-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: #d1fae5;
  color: #065f46;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
}
.donate-btn {
  display: inline-block;
  background: #2d8c4e;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: background 0.2s;
}
.donate-btn:hover { background: #1a4731; text-decoration: none; }

/* Action */
.action { padding: 64px 0; background: white; }
.action h2 { font-size: 2rem; font-weight: 700; color: #1a4731; margin-bottom: 40px; }
.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.action-card {
  background: #f9fafb;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #e5e7eb;
}
.action-icon { font-size: 2rem; margin-bottom: 12px; }
.action-card h3 { font-size: 1.05rem; font-weight: 700; color: #1a4731; margin-bottom: 8px; }
.action-card p { color: #4b5563; font-size: 0.93rem; }

/* Facts */
.facts { background: #1a4731; color: white; padding: 64px 0; }
.facts h2 { font-size: 2rem; font-weight: 700; color: #a7f3d0; margin-bottom: 40px; }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.fact {
  background: rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.12);
}
.fact h4 { font-size: 1rem; font-weight: 700; color: #a7f3d0; margin-bottom: 8px; }
.fact p { font-size: 0.9rem; color: #d1fae5; }

/* Footer */
footer {
  background: #111827;
  color: #9ca3af;
  padding: 40px 0;
  text-align: center;
  font-size: 0.85rem;
}
footer p + p { margin-top: 12px; }
footer a { color: #6ee7b7; }
.attribution { color: #6b7280; font-style: italic; }

@media (max-width: 640px) {
  header h1 { font-size: 2rem; }
  .intervention { flex-direction: column; gap: 8px; }
  .rank { text-align: left; }
}

.sitewide-nav { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; font-weight: 600; position: relative; }
.sitewide-nav .nav-top { color: #a7f3d0; text-decoration: none; padding: 6px 14px; border-radius: 20px; cursor: pointer; font-size: 0.97rem; transition: background 0.15s; white-space: nowrap; }
.sitewide-nav a.nav-top:hover { background: rgba(167,243,208,0.15); }
.nav-group { position: relative; }
.nav-group:hover .nav-dropdown { display: flex; }
.nav-group .nav-top:hover { background: rgba(167,243,208,0.15); border-radius: 20px; }
.nav-dropdown { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #064e3b; border: 1px solid rgba(167,243,208,0.3); border-radius: 10px; padding: 8px 0; min-width: 160px; flex-direction: column; z-index: 999; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.nav-dropdown a { color: #a7f3d0; text-decoration: none; padding: 8px 18px; font-size: 0.93rem; white-space: nowrap; transition: background 0.1s; }
.nav-dropdown a:hover { background: rgba(167,243,208,0.15); }
