.home-impact {
  --home-impact-sky: #e8f5f8;
  color: var(--canopy-ink, #050a11);
  background: linear-gradient(180deg, #f6f9fc 0, var(--home-impact-sky) 13rem, var(--home-impact-sky) 100%);
}

.home-impact--mobile { display: none; }

.home-impact__inner {
  width: min(calc(100% - clamp(3rem, 8vw, 8rem)), 88rem);
  margin-inline: auto;
  padding: clamp(4.25rem, 7.5vw, 7rem) 0;
}

.home-impact__top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.85fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.home-impact__top h2 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.25rem, 6vw, 5.75rem);
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.home-impact__top > p {
  max-width: 39ch;
  margin: 0 0 0.35rem;
  color: #27475b;
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  line-height: 1.58;
}

.home-impact__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(5, 10, 17, 0.22);
}

.home-impact__metric {
  min-width: 0;
  padding: 1.8rem clamp(1.25rem, 2.8vw, 2.5rem) 0 0;
}

.home-impact__metric + .home-impact__metric {
  padding-left: clamp(1.25rem, 2.8vw, 2.5rem);
  border-left: 1px solid rgba(5, 10, 17, 0.18);
}

.home-impact__value {
  margin: 0 0 0.75rem;
  color: var(--canopy-ink, #050a11);
  font-size: clamp(2.9rem, 5vw, 4.5rem);
  font-variant-numeric: tabular-nums;
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 0.98;
  white-space: nowrap;
}

.home-impact__value [data-count-visual] {
  display: inline-block;
  transform-origin: center bottom;
}

.home-impact__value.is-counting [data-count-visual] {
  animation: home-impact-count-rise 3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.home-impact__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@keyframes home-impact-count-rise {
  0% { opacity: 0.72; transform: translateY(0.08em); }
  100% { opacity: 1; transform: translateY(0); }
}

.home-impact__metric h3 {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(1.05rem, 1.55vw, 1.25rem);
  font-weight: 680;
  line-height: 1.28;
}

.home-impact__metric > p:last-child {
  max-width: 32ch;
  margin: 0.65rem 0 0;
  color: #27475b;
  font-size: 0.96rem;
  line-height: 1.55;
}

.home-impact__cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  margin-top: 1.8rem;
}

.home-impact__cta-link {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.2rem;
  border-radius: 0.7rem;
  color: #fff;
  background: var(--canopy-blue, #0a5cff);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.home-impact__cta-link:hover {
  background: var(--canopy-blue-dark, #0647c8);
  transform: translateY(-1px);
}

.home-impact__cta-link:focus-visible {
  outline: 3px solid var(--canopy-blue, #0a5cff);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .home-impact--desktop { display: none; }
  .home-impact--mobile { display: block; }

  .home-impact__inner {
    width: auto;
    margin: 0;
    padding: 4rem 1.35rem 4.5rem;
  }

  .home-impact__top {
    display: block;
    padding-bottom: 2rem;
  }

  .home-impact__top h2 {
    max-width: 13ch;
    font-size: clamp(2.35rem, 10.5vw, 3.4rem);
    line-height: 0.98;
  }

  .home-impact__top > p {
    max-width: 34ch;
    margin: 1.15rem 0 0;
    font-size: 1rem;
    line-height: 1.55;
  }

  .home-impact__metrics {
    grid-template-columns: 1fr;
  }

  .home-impact__metric {
    padding: 1.35rem 0 1.45rem;
    border-bottom: 1px solid rgba(5, 10, 17, 0.18);
  }

  .home-impact__metric + .home-impact__metric {
    padding-left: 0;
    border-left: 0;
  }

  .home-impact__value {
    margin-bottom: 0.45rem;
    font-size: clamp(2.35rem, 9vw, 3.1rem);
  }

  .home-impact__metric h3 {
    max-width: 30ch;
    font-size: 1.1rem;
  }

  .home-impact__metric > p:last-child {
    max-width: 35ch;
    margin-top: 0.45rem;
    font-size: 0.92rem;
  }

  .home-impact__cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.25rem;
  }

  .home-impact__cta-link {
    min-height: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-impact__value.is-counting [data-count-visual] { animation: none; }
}
