/* ============================================
   PRODUCT STATS — Editorial design
   Matches clinical-proof-grid, product-pairing,
   transformation-data-strip aesthetic
   ============================================ */


/* ——— Layout: heading left, stats right ——— */

.ps__layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: var(--container-max-width, 1408px);
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .ps__layout {
    display: grid;
    grid-template-columns: 0.38fr 0.62fr;
    gap: 56px;
    align-items: start;
  }
}

@media (min-width: 1200px) {
  .ps__layout {
    gap: 72px;
  }
}


/* ——— Heading column — sticky on desktop ——— */

.ps__heading-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 1024px) {
  .ps__heading-col {
    position: sticky;
    top: 120px;
    padding-right: 32px;
  }
}

/* Eyebrow */
.ps__eyebrow {
  display: inline-block;
  align-self: flex-start;
  margin: 0;
  padding: 0;
  background: none;
  font-family: var(--font-primary), sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.3;
  line-height: 1.3;
}

/* Heading */
.ps__heading {
  margin: 0;
  font-family: var(--font-primary), sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: inherit;
}

@media (min-width: 768px) {
  .ps__heading { font-size: 44px; }
}

@media (min-width: 1200px) {
  .ps__heading { font-size: 52px; }
}

/* Heading accent */
.ps__heading-accent {
  display: block;
  font-weight: 400;
}

/* Description */
.ps__description {
  margin: 0;
  font-family: var(--font-primary), sans-serif;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  opacity: 0.5;
  max-width: 440px;
}

@media (min-width: 768px) {
  .ps__description { font-size: 16px; }
}

@media (min-width: 1200px) {
  .ps__description { font-size: 17px; }
}

/* CTA — understated text link */
.ps__cta {
  display: inline-block;
  align-self: flex-start;
  margin-top: 4px;
  padding: 0 0 2px;
  border: none;
  background: transparent;
  font-family: var(--font-primary), sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.4;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.ps__cta:hover {
  opacity: 1;
}


/* ——— Stats column ——— */

.ps__stats-col {
  display: flex;
  flex-direction: column;
}

.ps__stats {
  display: flex;
  flex-direction: column;
  gap: 0;
}


/* ——— Individual stat ——— */

.ps__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 36px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ps__stat:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .ps__stat {
    flex-direction: row;
    align-items: baseline;
    gap: 32px;
    padding: 40px 0;
  }
}

@media (min-width: 1200px) {
  .ps__stat { padding: 48px 0; }
}

/* Stat value — big, light weight, editorial */
.ps__stat-value {
  font-family: var(--font-primary), sans-serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: inherit;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .ps__stat-value {
    font-size: 60px;
    min-width: 160px;
  }
}

@media (min-width: 1200px) {
  .ps__stat-value {
    font-size: 72px;
    min-width: 200px;
  }
}

/* Stat label */
.ps__stat-label {
  font-family: var(--font-primary), sans-serif;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  color: inherit;
  opacity: 0.45;
}

@media (min-width: 768px) {
  .ps__stat-label { font-size: 16px; }
}


/* ============================================
   DARK BACKGROUNDS — bg-primary, bg-black
   ============================================ */

.bg-primary .ps__heading,
.bg-black .ps__heading {
  color: #fff;
}

.bg-primary .ps__heading-accent,
.bg-black .ps__heading-accent {
  color: #fff;
}

.bg-primary .ps__eyebrow,
.bg-black .ps__eyebrow {
  color: #fff;
}

.bg-primary .ps__description,
.bg-black .ps__description {
  color: rgba(255, 255, 255, 0.5);
}

.bg-primary .ps__cta,
.bg-black .ps__cta {
  color: #fff;
  opacity: 0.4;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.bg-primary .ps__cta:hover,
.bg-black .ps__cta:hover {
  opacity: 1;
}

.bg-primary .ps__stat,
.bg-black .ps__stat {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.bg-primary .ps__stat:last-child,
.bg-black .ps__stat:last-child {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.bg-primary .ps__stat-value,
.bg-black .ps__stat-value {
  color: #fff;
}

.bg-primary .ps__stat-label,
.bg-black .ps__stat-label {
  color: rgba(255, 255, 255, 0.45);
}