.support-cta {
  background-color: var(--color-subtle-light);
  text-align: center;
}

.support-cta__inner {
  padding-block: 3rem;
}

.support-cta__title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  margin-block: 0;
}

.support-cta__subtitle {
  color: var(--color-subtle-dark);
  margin-block: var(--block-space) 0;
  margin-inline: auto;
  max-inline-size: 36rem;
}

.support-cta__buttons {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--block-space);
  justify-content: center;
  margin-block-start: var(--block-space-double);
}

/* Dedicated support page (/support_us) */
.support-hero {
  margin-inline: auto;
  max-inline-size: 42rem;
  text-align: center;
}

.support-hero__title {
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-block: 0;
  text-wrap: balance;
}

/* One narrower measure + balanced wrap + no mid-word hyphenation, so centered
   lines break evenly instead of zig-zagging with stray "ся." orphans. */
.support-hero__lede,
.support-hero__signal {
  hyphens: manual;
  line-height: 1.65;
  margin-inline: auto;
  max-inline-size: 34rem;
  text-wrap: balance;
}

.support-hero__lede {
  color: var(--color-subtle-dark);
  margin-block: 1.25rem 0;
}

.support-hero__eyebrow {
  color: var(--color-subtle-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin-block: 1.5rem 0.75rem;
  text-transform: uppercase;
}

/* Brighter than the lede so the motivational line lands. */
.support-hero__signal {
  color: var(--color-ink);
  margin-block: 1.25rem 0;
}

.support-hero__cta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-block-start: var(--block-space-double);
}

/* Gentle hover lift so the primary ask feels a touch more alive than a plain link. */
.support-btn {
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;

  @media (any-hover: hover) {
    &:hover {
      transform: translateY(-2px);
    }
  }
}

/* The hand-heart glyph carries more detail than a plain icon — needs more room
   to stay legible at button scale. */
.support-btn--give {
  --btn-icon-size: 1.35em;
}

.support-hero__github-note {
  color: var(--color-subtle-dark);
  font-size: 0.85rem;
  hyphens: manual;
  line-height: 1.5;
  margin-block: var(--block-space) auto 0;
  max-inline-size: 30rem;
  text-wrap: balance;
}

/* ── Living hero emblem (pure CSS, no JS, no assets) ──────────────────── */
/* The glyph draws itself on load (stroke-dashoffset), the glow hugs the line
   (drop-shadow, not a background blob), then the HEART keeps beating — a real
   lub-dub. On-brand for a line-icon system; honors prefers-reduced-motion. */
.support-emblem {
  block-size: 6.5rem;
  display: grid;
  inline-size: 6.5rem;
  margin-inline: auto;
  place-items: center;
}

.support-emblem__icon {
  color: var(--color-ink);
  display: grid;
  grid-area: 1 / 1;
  filter: drop-shadow(0 0 7px oklch(var(--lch-black) / 0.35));
  place-items: center;

  /* Inline SVG, not a masked .icon — the animation needs the paths (see
     shared/_support_emblem). */
  svg {
    block-size: 3.4rem;
    inline-size: 3.4rem;
  }

  path {
    stroke-dasharray: 100;
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* 1) The line draws itself, hand → palm → heart, on load. `both` keeps each
        path hidden through its stagger delay (backwards) and drawn after (forwards). */
  .support-emblem__icon path {
    animation: support-draw 1s ease both;
  }

  .support-emblem__icon path:nth-child(1) { animation-delay: 0s; }
  .support-emblem__icon path:nth-child(2) { animation-delay: 0.35s; }

  /* 2) The heart (3rd path) draws last, then beats forever in place — scaled
        around its own centre via transform-box: fill-box. */
  .support-emblem__icon path:nth-child(3) {
    transform-box: fill-box;
    transform-origin: center;
    animation: support-draw 1s ease 0.75s both,
               support-heartbeat 1.5s ease-in-out 2s infinite;
  }
}

@keyframes support-draw {
  from { stroke-dashoffset: 100; }
  to   { stroke-dashoffset: 0; }
}

/* A real heartbeat: a strong thump, a softer second one, then rest. */
@keyframes support-heartbeat {
  0%   { transform: scale(1); }
  12%  { transform: scale(1.17); }
  24%  { transform: scale(1); }
  36%  { transform: scale(1.1); }
  50%  { transform: scale(1); }
  100% { transform: scale(1); }
}

.support-hero__alive {
  color: var(--color-subtle-dark);
  font-size: 0.9rem;
  margin-block: 1.75rem 0;

  a {
    color: var(--color-link);
  }
}

/* ── The ask: amount groups ──────────────────────────────────────────── */
.support-give {
  background-color: var(--color-subtle-light);
  border-block: 1px solid var(--color-subtle);
}

.support-give__inner {
  margin-inline: auto;
  max-inline-size: 46rem;
  text-align: center;
}

.support-give__title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  margin-block: 0 0.75rem;
}

.support-give__lead {
  color: var(--color-subtle-dark);
  line-height: 1.6;
  margin-block: 0 var(--block-space-double);
  margin-inline: auto;
  max-inline-size: 38rem;
}

.support-give__group {
  margin-block-start: var(--block-space-double);
}

.support-give__group:first-of-type {
  margin-block-start: 0;
}

.support-give__group-label {
  color: var(--color-ink);
  font-size: 0.95rem;
  font-weight: 600;
  margin-block: 0 var(--block-space);
}

/* auto-fit so the group lays out evenly whether it holds 3 or 4 cards. */
.support-amounts {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
}

.support-amount {
  align-items: center;
  background-color: var(--color-bg);
  border: 1px solid var(--color-subtle);
  border-radius: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  justify-content: center;
  padding: 1.1rem 1rem;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;

  @media (any-hover: hover) {
    &:hover {
      border-color: var(--color-subtle-dark);
    }
  }
}

.support-amount__sum {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.support-amount__period {
  color: var(--color-subtle-dark);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
}

.support-amount__impact {
  color: var(--color-subtle-dark);
  font-size: 0.85rem;
  line-height: 1.35;
  text-align: center;
}

.support-give__note {
  color: var(--color-subtle-dark);
  font-size: 0.85rem;
  margin-block: var(--block-space-double) 0;
}

/* Left-aligned inside the otherwise-centered give section so the numbers read cleanly. */
.support-direct {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: start;
}

.support-direct__row {
  align-items: center;
  background-color: var(--color-bg);
  border: 1px solid var(--color-subtle);
  border-radius: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  padding: 0.85rem 1rem;
}

.support-direct__method {
  color: var(--color-subtle-dark);
  font-size: 0.85rem;
  font-weight: 600;
  min-inline-size: 4.5rem;
}

.support-direct__value {
  color: var(--color-ink);
  flex-grow: 1;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.support-direct__actions {
  display: flex;
  gap: var(--block-space-half);
  margin-inline-start: auto;
}

.support-direct__hint {
  color: var(--color-subtle-dark);
  font-size: 0.8rem;
  margin-block: var(--block-space) 0;
}

/* ── Companies pointer → /partners ───────────────────────────────────── */
.support-company {
  border: 1px solid var(--color-subtle);
  border-radius: 0.75rem;
  margin-inline: auto;
  max-inline-size: 42rem;
  padding: 1.75rem;
  text-align: center;
}

.support-company__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-block: 0 0.6rem;
}

.support-company__text {
  color: var(--color-subtle-dark);
  line-height: 1.6;
  margin-block: 0 1.25rem;
}

/* ── Destination (vision) ────────────────────────────────────────────── */
.support-vision__inner {
  margin-inline: auto;
  max-inline-size: 42rem;
  text-align: center;
}

.support-vision__title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  margin-block: 0 var(--block-space);
}

.support-vision__text {
  color: var(--color-subtle-dark);
  line-height: 1.6;
  margin-block: 0;
}

/* ── Transparency promise ────────────────────────────────────────────── */
.support-transparency__inner {
  margin-inline: auto;
  max-inline-size: 42rem;
  text-align: center;
}

.support-transparency__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-block: 0 0.75rem;
}

.support-transparency__text {
  color: var(--color-subtle-dark);
  line-height: 1.6;
  margin-block: 0;
}

.support-faq {
  background-color: var(--color-subtle-light);
  border-block-start: 1px solid var(--color-subtle);
}

.support-faq__inner {
  margin-inline: auto;
  max-inline-size: 42rem;
}

.support-faq__title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  margin-block: 0 3rem;
  text-align: center;
}

.support-faq__list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.support-faq__question {
  color: var(--color-ink);
  font-size: 1.1rem;
  font-weight: 600;
  margin-block: 0;
}

.support-faq__answer {
  color: var(--color-subtle-dark);
  line-height: 1.6;
  margin-block: 0.75rem 0;
}