:root {
  color-scheme: light;
  --ink: #2f2930;
  --muted: #746873;
  --line: #eadde4;
  --paper: #fbf7f9;
  --band: #f4edf1;
  --rose: #c84f7a;
  --rose-dark: #9f315f;
  --pink: #f6c8d7;
  --blush: #fff0f5;
  --charcoal: #312b32;
  --white: #ffffff;
  --shadow: 0 18px 54px rgba(63, 43, 54, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  padding-bottom: 0;
}

a {
  color: inherit;
}

.hero {
  min-height: 88vh;
  background:
    radial-gradient(circle at 86% 16%, rgba(246, 200, 215, 0.7), transparent 28%),
    linear-gradient(135deg, #fff7fa 0%, #f2eaf0 48%, #ded7dd 100%);
  color: var(--ink);
  display: flex;
  flex-direction: column;
}

.hero::after {
  content: "";
  display: block;
  height: 1px;
}

.topbar {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar strong {
  color: var(--rose-dark);
}

.nav-actions {
  display: flex;
  gap: 16px;
  font-size: 0.94rem;
  flex-wrap: wrap;
}

.nav-actions a {
  text-decoration: none;
  color: var(--ink);
  opacity: 0.86;
}

.hero-grid {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
  padding: 28px 0 68px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: 40px;
  align-items: center;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow,
.panel-label {
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--rose-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 6.4vw, 5.4rem);
  line-height: 1;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.lede {
  max-width: 690px;
  font-size: 1.18rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--rose-dark);
}

.button.outline {
  width: fit-content;
  border-color: var(--rose);
  background: transparent;
  color: var(--rose-dark);
}

.hero-media {
  display: grid;
  gap: 16px;
}

.portrait-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(200, 79, 122, 0.22);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.portrait-card img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 50% 42%;
}

.portrait-card figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.progress-panel {
  border: 1px solid rgba(200, 79, 122, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 20px;
  box-shadow: 0 12px 34px rgba(63, 43, 54, 0.1);
}

.progress-panel strong {
  display: block;
  font-size: 2.7rem;
  line-height: 1.1;
}

.progress-track {
  height: 14px;
  margin: 24px 0;
  border-radius: 999px;
  background: #eadde4;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--rose), var(--pink));
  transition: width 500ms ease;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.metric-row strong {
  font-size: 1rem;
}

.urgency-strip {
  background: var(--charcoal);
  color: var(--white);
}

.urgency-strip div {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.section,
.band {
  padding: 64px 0;
}

.band {
  background: var(--band);
}

.section > *,
.content-grid {
  width: min(1120px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading p,
.content-grid p {
  max-width: 720px;
  color: var(--muted);
}

.support-copy {
  margin-top: 18px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 32px;
}

.stats-grid,
.card-grid,
.dashboard-grid,
.impact-list {
  display: grid;
  gap: 16px;
}

.stats-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stats-grid div,
.card,
.dash-card,
.faq-item,
.stack article,
.impact-item,
.share-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
  box-shadow: 0 8px 26px rgba(63, 43, 54, 0.06);
}

.stats-grid span,
.dash-card span,
.card span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.stats-grid strong,
.dash-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.55rem;
}

.card-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.copy-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blush);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 10px 12px;
}

.card a {
  display: inline-block;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--rose);
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
}

.privacy-note {
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto 0;
  color: var(--muted);
}

.impact-list {
  grid-template-columns: 1fr;
}

.impact-item strong {
  display: block;
  margin-bottom: 6px;
}

.impact-item p {
  margin: 0;
  color: var(--muted);
}

.share-panel {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.share-copy {
  box-shadow: var(--shadow);
}

.share-copy p {
  margin-bottom: 18px;
  color: var(--ink);
}

.dashboard-grid {
  grid-template-columns: repeat(4, 1fr);
}

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

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-weight: 800;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.compact {
  padding-top: 36px;
}

footer {
  padding: 28px 16px 96px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.sticky-donate {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 20;
  width: min(680px, calc(100% - 36px));
  margin: 0 auto;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.sticky-donate span {
  color: var(--ink);
  font-size: 0.92rem;
}

.sticky-donate .button {
  min-height: 42px;
  padding: 10px 12px;
  border-color: var(--rose);
}

.sticky-donate .button.secondary {
  background: var(--blush);
  color: var(--rose-dark);
}

@media (max-width: 880px) {
  .hero-grid,
  .content-grid,
  .stats-grid,
  .dashboard-grid,
  .share-panel {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .sticky-donate {
    display: flex;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 78px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-bottom: 44px;
  }

  h1 {
    font-size: 2.75rem;
  }

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

  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .urgency-strip div {
    flex-direction: column;
    gap: 4px;
  }

  .sticky-donate {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
  }

  .sticky-donate span {
    max-width: 34%;
  }
}
