* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: #ffffff;
  color: #171717;
}

.metrics {
  padding: 4rem 1rem;
}

.band {
  position: relative;
  overflow: hidden;
  max-width: 64rem;
  margin: 0 auto;
  border-radius: 1.5rem;
  background: #0a0a0a;
  padding: 3rem 1.5rem;
}

.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(480px circle at 50% 30%, rgba(57, 255, 20, 0.16), transparent 70%);
}

.text {
  position: relative;
  max-width: 28rem;
  margin: 0 auto;
  text-align: center;
}

.heading {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.copy {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #a3a3a3;
}

.grid {
  position: relative;
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat {
  text-align: center;
}

.stat__value {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #a3a3a3;
}

@media (min-width: 640px) {
  .band {
    padding: 3.5rem 2.5rem;
  }

  .heading {
    font-size: 1.875rem;
  }

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

  .stat__value {
    font-size: 2.25rem;
  }
}

/*
 * Metrics 09 — "background glow pulse + count-up" animation identity.
 * Same canonical keyframe as `Metrics09.tailwind.css`; the count-up logic
 * lives in script.js. The glow is genuinely decorative, autoplaying
 * motion, so it stops outright under reduced motion, unlike the count-up,
 * which still runs but jumps straight to its final values. Scoped so this
 * never collides with another Resource's own animation layer.
 */
@keyframes al-metrics09-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.15);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .glow {
    animation: al-metrics09-pulse 5s ease-in-out infinite;
  }
}
