/**
 * Reusable Pricing Stats block styles.
 *
 * DS-2025-scoped and page-background agnostic.
 */

body.ds-2025 .pricing-stats {
  --pricing-stats-accent: #7c3aed;
  --pricing-stats-heading: #4d5761;
  --pricing-stats-copy: #6b7280;
  margin: 0;
}

body.ds-2025 .pricing-stats__inner {
  margin: 0 auto;
  max-width: 1120px;
  width: 100%;
}

body.ds-2025 .pricing-stats__header {
  margin: 0 auto 24px;
  max-width: 720px;
  text-align: center;
}

body.ds-2025 .pricing-stats__eyebrow {
  color: #006d6f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.333;
  margin: 0 0 12px;
  text-transform: uppercase;
}

body.ds-2025 .pricing-stats__heading {
  color: #051344;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

body.ds-2025 .pricing-stats__intro {
  color: var(--pricing-stats-copy);
  font-size: 16px;
  line-height: 1.65;
  margin: 16px auto 0;
  max-width: 640px;
}

body.ds-2025 .pricing-stats__grid {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.ds-2025 .pricing-stats__card {
  align-items: center;
  display: grid;
  gap: 8px;
  justify-items: center;
  min-width: 0;
  text-align: center;
}

body.ds-2025 .pricing-stats__value {
  align-items: baseline;
  color: var(--pricing-stats-accent);
  display: inline-flex;
  flex-wrap: nowrap;
  font-size: clamp(32px, 3.7vw, 44px);
  font-weight: 500;
  gap: 0;
  justify-content: center;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  white-space: nowrap;
}

body.ds-2025 .pricing-stats__value-affix,
body.ds-2025 .pricing-stats__value-number {
  color: inherit;
  font-size: 1em;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

body.ds-2025 .pricing-stats__value-affix--prefix {
  margin-right: 1px;
}

body.ds-2025 .pricing-stats__value-affix--suffix {
  margin-left: 1px;
}

body.ds-2025 .pricing-stats__label {
  color: var(--pricing-stats-heading);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.333;
  margin: 0;
}

body.ds-2025 .pricing-stats__description {
  color: var(--pricing-stats-copy);
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
  max-width: 20ch;
}

@media (max-width: 767px) {
  body.ds-2025 .pricing-stats__grid {
    gap: 20px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.ds-2025 .pricing-stats__value {
    font-size: 32px;
  }
}
