/*
 lvi/stats
 strip   4 across with hairline dividers; 24px values, serif labels (homepage
         trust strip, in a Darker teal group)
 cards   white cards, 52px accent values
 trust   icon chip + label + sub-label in a row (Cost of LASIK trust bar)
========================================================================== */
/* The list's own margins go at zero specificity so the parent's block gap
   (core's `> * + *` rule) still spaces the block; a plain `margin: 0` on the
   root outranked it and the block sat flush under its section header. */
:where(.lvi-stats) {
  margin: 0;
}

:root .lvi-stats {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 24px;
  font-family: var(--wp--preset--font-family--primary);
}
:root .lvi-stats__item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
  margin: 0;
}
:root .lvi-stats__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
:root .lvi-stats__value {
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lvi-heading);
}
:root .lvi-stats__label {
  font-family: var(--wp--preset--font-family--secondary);
  line-height: 1.5;
  color: var(--lvi-text);
}
:root .lvi-stats__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--lvi-chip-bg);
  color: var(--lvi-chip-fg);
}
:root .lvi-stats__icon svg {
  width: 20px;
  height: 20px;
}
:root .lvi-stats {
  /* Strip */
}
:root .lvi-stats--strip {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px 0;
}
:root .lvi-stats--strip .lvi-stats__item {
  padding: 0 32px;
  border-left: 1px solid var(--lvi-rule);
}
:root .lvi-stats--strip .lvi-stats__item:first-child {
  padding-left: 0;
  border-left: 0;
}
:root .lvi-stats--strip .lvi-stats__item:last-child {
  padding-right: 0;
}
:root .lvi-stats--strip .lvi-stats__text {
  gap: 4px;
}
:root .lvi-stats--strip .lvi-stats__value {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
}
:root .lvi-stats--strip .lvi-stats__label {
  font-size: 14px;
  color: var(--lvi-fine);
}
@media screen and (max-width: 859px) {
  :root .lvi-stats--strip {
    grid-template-columns: 1fr 1fr;
  }
  :root .lvi-stats--strip .lvi-stats__item {
    padding: 0 20px;
  }
  :root .lvi-stats--strip .lvi-stats__item:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
}
@media screen and (max-width: 479px) {
  :root .lvi-stats--strip {
    grid-template-columns: 1fr;
  }
  :root .lvi-stats--strip .lvi-stats__item {
    padding: 0;
    border-left: 0;
  }
}
:root .lvi-stats {
  /* Cards */
}
:root .lvi-stats--cards {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
:root .lvi-stats--cards .lvi-stats__item {
  padding: 36px 32px;
  background: var(--lvi-surface);
  border: 1px solid var(--lvi-rule-soft);
  border-radius: var(--wp--custom--border--radius);
}
:root .lvi-stats--cards .lvi-stats__text {
  gap: 10px;
}
:root .lvi-stats--cards .lvi-stats__value {
  font-size: clamp(40px, 4vw, 52px);
  color: var(--lvi-accent);
}
:root .lvi-stats--cards .lvi-stats__label {
  font-size: 16.5px;
  line-height: 1.6;
  text-wrap: pretty;
}
@media screen and (max-width: 575px) {
  :root .lvi-stats--cards .lvi-stats__item {
    padding: 26px 24px;
  }
}
:root .lvi-stats {
  /* Trust bar */
}
:root .lvi-stats--trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 20px;
}
:root .lvi-stats--trust .lvi-stats__item {
  align-items: center;
  flex: 1 1 200px;
}
:root .lvi-stats--trust .lvi-stats__item + .lvi-stats__item {
  padding-left: 20px;
  border-left: 1px solid var(--lvi-rule);
}
:root .lvi-stats--trust .lvi-stats__text {
  line-height: 1.25;
  gap: 2px;
}
:root .lvi-stats--trust .lvi-stats__value {
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0;
  line-height: 1.25;
}
:root .lvi-stats--trust .lvi-stats__label {
  display: none;
}
:root .lvi-stats--trust .lvi-stats__sub {
  font-family: var(--wp--preset--font-family--secondary);
  font-size: 13.5px;
  color: var(--lvi-fine);
}
:root .lvi-stats--trust .lvi-stats__value:has(+ .lvi-stats__label) {
  order: 1;
}
:root .lvi-stats--trust .lvi-stats__value + .lvi-stats__label {
  display: block;
  order: 0;
  font-family: var(--wp--preset--font-family--primary);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.25;
  color: var(--lvi-heading);
}
:root .lvi-stats--trust .lvi-stats__value + .lvi-stats__label + .lvi-stats__sub {
  order: 2;
}
@media screen and (max-width: 859px) {
  :root .lvi-stats--trust .lvi-stats__item + .lvi-stats__item {
    padding-left: 0;
    border-left: 0;
  }
}
