:root {
  --bg: #0b0d0e;
  --bg-alt: #12171a;
  --panel: #171d20;
  --panel-2: #20282c;
  --text: #f3f5f6;
  --muted: #b6c1c5;
  --green: #43d17a;
  --green-dark: #2aa95d;
  --chrome: #95a3aa;
  --border: rgba(149, 163, 170, 0.2);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  --radius: 18px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #080909 0%, #0d1113 100%);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: #74e79f; }
img { max-width: 100%; height: auto; }
.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.narrow { width: min(calc(100% - 2rem), 860px); }
.center-text { text-align: center; }
.top-space { margin-top: 1.5rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 14, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.brand-block { display: flex; align-items: center; gap: 1rem; }
.site-title {
  display: block;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.site-tagline {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.main-nav .menu {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.main-nav a { color: #eef4f2; font-size: 0.95rem; }
.main-nav a:hover { color: var(--green); }

.hero-section {
  padding: 6rem 0 4rem;
  background:
    radial-gradient(circle at top right, rgba(67, 209, 122, 0.16), transparent 30%),
    radial-gradient(circle at bottom left, rgba(149, 163, 170, 0.08), transparent 26%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(67, 209, 122, 0.3);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
h1, h2, h3 { line-height: 1.15; margin-top: 0; }
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin: 1rem 0; }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.lead { font-size: 1.15rem; color: #d8e0e3; max-width: 760px; }
.micro-copy, .section-note { color: var(--muted); }
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.5rem 0 1rem;
}
.center-row { justify-content: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.2s ease;
}
.button-primary {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
  color: #07110b;
  box-shadow: 0 12px 30px rgba(67, 209, 122, 0.22);
}
.button-primary:hover { color: #07110b; transform: translateY(-1px); }
.button-secondary {
  background: transparent;
  color: #fff;
  border-color: var(--border);
}
.button-secondary:hover { color: #fff; border-color: rgba(67, 209, 122, 0.45); }

.hero-panel, .card-grid, .steps-grid, .path-grid, .footer-grid, .content-grid { display: grid; gap: 1.2rem; }
.hero-panel { grid-template-columns: 1fr; }
.stat-card, .info-card, .step-card, .path-card, .page-card, .post-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.info-card, .step-card, .path-card { min-height: 100%; }
.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four-up { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.step-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(67, 209, 122, 0.12);
  color: var(--green);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.section { padding: 4rem 0; }
.alt-section { background: rgba(255,255,255,0.02); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.donate-strip {
  background: linear-gradient(90deg, rgba(67, 209, 122, 0.1), rgba(149, 163, 170, 0.06));
}
.donate-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1rem;
  align-items: center;
}
.donate-action { display: flex; justify-content: flex-end; }

.content-page .entry-content,
.post-card .entry-content { color: #dce4e6; }

.site-footer {
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  background: #090b0c;
}
.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  align-items: start;
}
.site-footer h3 { margin-bottom: 0.7rem; }
.site-footer .menu { list-style: none; padding: 0; margin: 0; }
.site-footer .menu li + li { margin-top: 0.4rem; }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 1rem 0 1.5rem;
  color: var(--muted);
}
.legal-line { color: var(--muted); font-size: 0.92rem; }

@media (max-width: 1024px) {
  .hero-grid,
  .footer-grid,
  .donate-grid,
  .three-up,
  .four-up,
  .steps-grid,
  .path-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid > :first-child,
  .footer-grid > :first-child,
  .donate-grid > :first-child { grid-column: 1 / -1; }
  .donate-action { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .main-nav .menu { justify-content: flex-start; }
  .hero-section { padding-top: 4rem; }
  .hero-grid,
  .three-up,
  .four-up,
  .steps-grid,
  .path-grid,
  .footer-grid,
  .donate-grid {
    grid-template-columns: 1fr;
  }
  h1 { font-size: 2.3rem; }
}
