:root {
  --bg: #09110b;
  --bg-deep: #050905;
  --panel: rgba(16, 26, 18, 0.78);
  --panel-strong: rgba(11, 18, 12, 0.94);
  --panel-soft: rgba(23, 34, 24, 0.72);
  --border: rgba(202, 240, 170, 0.14);
  --border-strong: rgba(214, 245, 142, 0.28);
  --text: #f5f8ee;
  --text-soft: #d4deca;
  --text-muted: #9aaf90;
  --accent: #d8ff72;
  --accent-deep: #8bc45d;
  --accent-warm: #f7d37a;
  --hero-copy-max: 34rem;
  --radius-xl: 34px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 18px 44px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  background:
    radial-gradient(circle at 18% 10%, rgba(121, 161, 80, 0.22), transparent 24%),
    radial-gradient(circle at 86% 22%, rgba(247, 211, 122, 0.1), transparent 20%),
    linear-gradient(180deg, #132015 0%, var(--bg) 46%, var(--bg-deep) 100%);
}

.site-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.site-backdrop-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.24;
}

.site-backdrop-orb--one {
  top: 120px;
  right: 8%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(216, 255, 114, 0.46), transparent 68%);
}

.site-backdrop-orb--two {
  bottom: 10%;
  left: 8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(102, 154, 82, 0.28), transparent 70%);
}

.site-backdrop-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(230, 244, 215, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 244, 215, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 78%);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 48px;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar {
  margin-bottom: 22px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(8, 13, 9, 0.62);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(58px, 7vw, 72px);
  height: auto;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.topnav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.topnav a,
.footer a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.98rem;
}

.topnav a:hover,
.footer a:hover {
  color: var(--text);
}

.hero,
.section {
  position: relative;
  overflow: hidden;
  margin-top: 22px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(17, 27, 19, 0.88), rgba(8, 13, 9, 0.94));
  box-shadow: var(--shadow-lg);
}

.hero::before,
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(216, 255, 114, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 26%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 28px;
  align-items: stretch;
  min-height: 690px;
}

.hero-copy {
  display: grid;
  align-content: start;
  gap: 18px;
  max-width: var(--hero-copy-max);
  padding-top: 8px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.1rem);
}

.section-heading h1 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.lede,
.section-intro,
.hero-points,
.timeline-step p,
.bento-card p,
.provider-row p,
.donations-note,
.footer p {
  color: var(--text-soft);
  line-height: 1.7;
}

.lede {
  margin: 0;
  font-size: 1.13rem;
}

.hero-actions,
.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(216, 255, 114, 0.5);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.button-primary {
  background:
    radial-gradient(circle at 20% 24%, rgba(247, 211, 122, 0.18), transparent 35%),
    linear-gradient(135deg, rgba(143, 196, 93, 0.42), rgba(24, 39, 18, 0.96));
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.button-large {
  min-width: 210px;
}

.hero-points {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-points li {
  position: relative;
  padding-left: 26px;
}

.hero-points li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.hero-showcase {
  display: grid;
  align-content: end;
  gap: 16px;
  padding-left: 10px;
}

.showcase-card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(18, 30, 21, 0.94), rgba(10, 17, 11, 0.96));
  box-shadow: var(--shadow-md);
}

.showcase-card--keeper {
  transform: rotate(-2.2deg);
}

.showcase-card--conversation {
  transform: translateX(28px);
  background:
    radial-gradient(circle at top right, rgba(216, 255, 114, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(17, 27, 19, 0.92), rgba(9, 15, 10, 0.98));
}

.showcase-card--habit {
  width: 82%;
  justify-self: end;
  transform: rotate(2deg);
}

.showcase-kicker,
.bento-kicker,
.timeline-number,
.stat-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.showcase-card h2,
.bento-card h3,
.timeline-step h3,
.provider-row h2 {
  margin: 0 0 10px;
}

.signal-stack {
  display: grid;
  gap: 12px;
}

.signal-line {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.signal-line--accent {
  border-color: rgba(216, 255, 114, 0.22);
  background: rgba(216, 255, 114, 0.07);
}

.section-heading {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
  max-width: 54rem;
}

.section-intro {
  margin: 0;
  font-size: 1.05rem;
}

.section-bento {
  background:
    radial-gradient(circle at left bottom, rgba(247, 211, 122, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(13, 22, 14, 0.86), rgba(8, 12, 9, 0.95));
}

.bento-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bento-card {
  position: relative;
  z-index: 1;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.bento-card--wide {
  grid-column: span 2;
}

.bento-card--dark {
  background:
    radial-gradient(circle at top right, rgba(216, 255, 114, 0.08), transparent 28%),
    var(--panel-strong);
}

.section-steps {
  background:
    radial-gradient(circle at right bottom, rgba(216, 255, 114, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(10, 15, 11, 0.86), rgba(7, 10, 7, 0.96));
}

.timeline {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline-step:first-child {
  border-top: 0;
  padding-top: 0;
}

.timeline-number {
  width: 74px;
  height: 74px;
  margin-bottom: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--accent);
  font-size: 1.1rem;
}

.section-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.support-copy {
  max-width: 42rem;
}

.donations-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
}

.donations-sidebar {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  align-content: start;
}

.stat-card,
.provider-row {
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
  background: var(--panel);
}

.stat-card {
  padding: 18px;
  border-radius: var(--radius-lg);
}

.stat-card--featured {
  background:
    radial-gradient(circle at top right, rgba(247, 211, 122, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(20, 31, 18, 0.96), rgba(10, 17, 11, 0.98));
}

.stat-value {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
}

.stat-value-small {
  font-size: 1rem;
  line-height: 1.45;
  word-break: break-word;
}

.donations-note {
  margin: 0;
  font-size: 0.95rem;
}

.donations-list-section {
  padding-top: 20px;
}

.provider-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.provider-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 20px;
  border-radius: 22px;
}

.provider-copy {
  display: grid;
  gap: 10px;
}

.provider-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.donation-count {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.donation-placeholder {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(7, 11, 8, 0.72);
  color: var(--text-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.provider-action {
  display: flex;
  align-items: center;
}

.footer {
  margin-top: 26px;
  padding: 16px 8px 0;
  color: var(--text-muted);
}

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

.footer-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.footer p {
  margin: 6px 0 0;
}

@media (max-width: 1080px) {
  .hero,
  .donations-hero,
  .section-support {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-showcase {
    padding-left: 0;
  }

  .showcase-card--conversation {
    transform: none;
  }

  .showcase-card--habit {
    width: 100%;
    justify-self: stretch;
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 24px, 1240px);
  }

  .topbar,
  .footer,
  .provider-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .section {
    padding: 24px;
  }

  .brand-logo {
    width: 62px;
    height: auto;
  }

  .bento-grid,
  .provider-row {
    grid-template-columns: 1fr;
  }

  .bento-card--wide {
    grid-column: span 1;
  }

  .timeline-step {
    grid-template-columns: 1fr;
  }
}
