.home-metrics {
  --indent: clamp(20px, 7vw, 108px);
  width: min(1240px, calc(100% - 40px));
  margin: clamp(32px, 5vw, 68px) auto;
  color: #122840;
}
.home-metrics__title {
  margin: 0 0 clamp(20px, 3vw, 42px);
  scroll-margin-top: 112px;
  color: #4a779c;
  font-size: clamp(26px, 3.3vw, 45px);
  font-weight: 500;
  line-height: 1.18;
}
.home-metrics__rows {
  display: grid;
  gap: clamp(13px, 1.45vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: clip;
}
.home-metrics__row {
  --shift: 0;
  --digits: 4;
  --bar: #56dbb8;
  min-width: 0;
  padding-inline-start: calc(var(--indent) * var(--shift));
}
.home-metrics__row:nth-child(2) { --shift: 1; --digits: 3; --bar: #9ac5ec; }
.home-metrics__row:nth-child(3) { --shift: 2; --digits: 3; --bar: #ffcba9; }
.home-metrics__row:nth-child(4) { --shift: 3; --digits: 2; --bar: #f889db; }
.home-metrics__line {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2vw, 25px);
}
.home-metrics__line::after {
  content: '';
  height: clamp(14px, 2.25vw, 30px);
  border-radius: 999px;
  background: var(--bar);
}
.home-metrics__value {
  min-inline-size: calc(var(--digits) * 1ch);
  font-size: clamp(36px, 5.3vw, 74px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}
.home-metrics__label {
  display: block;
  max-width: 32ch;
  margin-top: clamp(3px, .55vw, 9px);
  font-size: clamp(16px, 1.75vw, 22px);
  font-weight: 400;
  line-height: 1.28;
  overflow-wrap: anywhere;
}
.home-metrics__accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 600px) {
  .home-metrics {
    --indent: clamp(15px, 6vw, 28px);
    width: calc(100% - 36px);
  }
  .home-metrics__value { font-size: clamp(31px, 9.6vw, 43px); }
  .home-metrics__label { max-width: 28ch; }
}
@media (prefers-reduced-motion: no-preference) {
  .home-metrics__row.is-entering {
    animation: home-metrics-enter .58s cubic-bezier(.16, 1, .3, 1) both;
    animation-delay: calc(var(--shift) * 55ms);
  }
  @keyframes home-metrics-enter {
    from { opacity: .15; transform: translateX(clamp(16px, 6vw, 66px)); }
    to { opacity: 1; transform: translateX(0); }
  }
}
