
:root {
  --bg: #f1f5f9;
  --bg-soft: #e2e8f0;
  --card: #ffffff;
  --accent: #16a34a;
  --accent-dark: #15803d;
  --accent-soft: #dcfce7;
  --text-main: #020617;
  --text-muted: #6b7280;
  --border-soft: #e2e8f0;
  --danger: #b91c1c;
  --link: #2563eb;
}

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

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #e0f2fe 0, #f1f5f9 42%, #f1f5f9 100%);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 16px 40px;
}

/* Header */

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: radial-gradient(circle at 20% 20%, #bbf7d0, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-size: 16px;
  font-weight: 700;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 14px;
  font-weight: 700;
}

.brand-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}

.nav a {
  color: var(--text-muted);
  font-weight: 500;
}

.nav a:hover {
  color: var(--text-main);
}

.nav a.active {
  color: var(--accent-dark);
}

.nav-donate {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.45);
}

.nav-donate:hover {
  background: var(--accent-dark);
}

/* Layout */

.main-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 16px 40px;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  margin-bottom: 10px;
}

.hero-tagline-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--danger);
}

.hero-heading {
  font-size: clamp(26px, 4.4vw, 34px);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 640px;
}

.hero-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}

@media (max-width: 800px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10);
  padding: 16px 18px;
}

.card-soft {
  box-shadow: none;
}

.card h2 {
  font-size: 18px;
  margin-bottom: 6px;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
}

.card p + p {
  margin-top: 6px;
}

.button-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.45);
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.12s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(22, 163, 74, 0.55);
  background: var(--accent-dark);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #f8fafc;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.btn-secondary:hover {
  background: #f3fff5; /* faint light green */
  border-color: #cbd5e1;
}

/* Donation tier buttons - default (not selected) */
.donation-tier-btn {
  background: #f3fff5; /* faint light green */
  border: 1px solid #d8f2dc;
  color: #0b4d0b;
  padding: 10px 16px;
  border-radius: 6px;
  display: inline-block;
  text-align: center;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

/* Hover effect for better visibility */
.donation-tier-btn:hover {
  background: #e7ffe9;
  border-color: #b9e8c0;
}

/* Active/highlighted/selected donation tier */
.donation-tier-btn.active {
  background: #42b883; /* stronger green */
  border-color: #369f71;
  color: white;
}


.small-note {
  font-size: 11px;
  color: var(--text-muted);
}

/* Stats card */

.stat-card {
  background: #f8fafc;
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.stat-label {
  color: var(--text-muted);
  font-weight: 500;
}

.stat-value {
  font-weight: 600;
}

.progress-bar {
  position: relative;
  margin-top: 6px;
  height: 7px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  inset: 0;
  width: 8%; /* update this manually */
  background: var(--accent);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.pill {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
}

/* Sections */

.section {
  margin-top: 20px;
}

.section h2 {
  font-size: 19px;
  margin-bottom: 6px;
}

.section p {
  font-size: 14px;
  color: var(--text-muted);
}

.section p + p {
  margin-top: 6px;
}

.section ul {
  margin-top: 6px;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.section li + li {
  margin-top: 3px;
}

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

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: 1.1fr 1fr;
  }
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 640px) {
  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.impact-item {
  border-radius: 12px;
  padding: 8px 10px;
  background: #f8fafc;
  border: 1px solid var(--border-soft);
  font-size: 13px;
}

.impact-item strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 11px;
  margin-bottom: 4px;
}

/* FAQ */

.faq-item {
  margin-top: 8px;
}

.faq-item strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

/* Story cards */

.story-card {
  background: #f8fafc;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border-soft);
  margin-top: 10px;
}

.story-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.story-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Updates */

.update-card {
  background: #f8fafc;
  border-radius: 14px;
  padding: 10px 14px;
  border: 1px solid var(--border-soft);
  margin-top: 10px;
}

.update-title {
  font-size: 14px;
  font-weight: 600;
}

.update-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* Contact */

.contact-block {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Footer */

footer {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.footer-links {
  margin-top: 6px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Small screens */

@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}