.home-stats {
  position: relative;
  padding: clamp(25px, 3vw, 48px) var(--page-gutter);
  background: linear-gradient(180deg, #080a09ec, var(--bg) 82%);
  border-block: 1px solid #ffffff24;
}
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1450px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.home-stats-grid > li,
.home-stat-google {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.home-stats-grid > li + li {
  border-inline-start: 1px solid #ffffff26;
}
.home-stat-number {
  display: inline-flex;
  align-items: flex-start;
  gap: .05em;
  color: var(--white);
  font-size: clamp(38px, 3.9vw, 65px);
  font-weight: 900;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -.05em;
  line-height: 1;
  white-space: nowrap;
}
.home-stat-number sup {
  margin-top: .13em;
  color: var(--green);
  font-size: .48em;
  letter-spacing: 0;
  line-height: 1;
}
.home-stat-label {
  color: #d5d9d3;
  font-size: clamp(14px, 1.12vw, 17px);
  line-height: 1.4;
}
.home-stat-google:is(:hover, :focus-visible) .home-stat-label {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: .22em;
}
/* The final text reserves its width while the animated copy sits above it. */
.home-stat-number [data-count] { position: relative; }
.home-stat-number [data-count].is-counting { color: transparent; }
.home-stat-number .count-frame {
  position: absolute;
  inset: 0;
  color: var(--white);
  text-align: right;
}
@media (max-width: 700px) {
  .home-stats { padding-block: 8px; }
  .home-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-stats-grid > li { position: relative; padding: 20px 4px; }
  .home-stats-grid > li + li { border-inline-start: 0; }
  .home-stats-grid > li:nth-child(even)::before {
    content: "";
    position: absolute;
    inset: 18px auto 18px 0;
    border-inline-start: 1px solid #ffffff26;
  }
  .home-stats-grid > li:nth-child(n+3) { border-top: 1px solid #ffffff26; }
  .home-stat-number { font-size: clamp(33px, 8.1vw, 45px); }
  .home-stat-label { font-size: clamp(13px, 3.25vw, 15px); }
}
