/* -------------------------------------------------------- */
/* 🔹 Stats Section                                         */
/* -------------------------------------------------------- */
/* Green band of key figures straight under the hero         */

.stats {
  padding-block: var(--website-section-spacing);
  background-color: var(--color-primary);
  color: var(--color-on-primary);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xxxl) var(--space-xl);
  list-style: none;
  text-align: center;
}

.stats__value {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

/* onPrimary at 85 % — about 6:1 on the green, above AA */
.stats__label {
  margin-top: var(--space-s);
  font-size: var(--text-body-medium);
  line-height: var(--text-body-medium-height);
  color: rgb(252 252 251 / 0.85);
}

/* One row with equal space between the figures, whatever the label lengths */
@media (min-width: 1000px) {
  .stats__grid {
    display: flex;
    justify-content: space-evenly;
  }

  .stats__value {
    font-size: 56px;
  }

  .stats__label {
    font-size: var(--text-body-large);
  }
}
