.hero-banner {
  position: relative;
  height: 100vh;
  min-height: 576px;
  overflow: hidden;
  background: #10131a;
}

.hero-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-banner__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 19, 26, 0.55) 0%, rgba(16, 19, 26, 0) 32%, rgba(16, 19, 26, 0) 55%, rgba(16, 19, 26, 0.85) 100%);
  pointer-events: none;
}

.hero-banner__text-wrapper {
  position: absolute;
  z-index: 2;
  left: 60px;
  top: 18vh;
  max-width: 560px;
}

.hero-banner__title {
  margin: 0;
  font-weight: 600;
  font-size: 48px;
  line-height: 1.2;
  color: #fff;
}

.hero-banner__subtitle {
  margin: 12px 0 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
}

.hero-banner__lead {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.hero-banner__cta {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

.hero-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 666px;
  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.3s;
}

.hero-banner__btn--primary {
  background: var(--color-dark);
  color: #fff;
  border: 1px solid var(--color-dark);
}

.hero-banner__btn--primary:hover {
  background: #000;
  border-color: #000;
}

.hero-banner__btn--secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-banner__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.hero-banner__stats-wrap {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 24px 32px;
}

.hero-banner__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, max-content));
  grid-template-rows: auto auto auto;
  gap: 8px 48px;
  width: max-content;
  max-width: 100%;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
  margin: 0;
}

.hero-banner__stat {
  display: contents;
}

.hero-banner__stat-top,
.hero-banner__stat-bottom {
  grid-column: auto;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 16px;
  margin: 0;
}

.hero-banner__stat-top {
  grid-row: 1;
}

.hero-banner__stat-bottom {
  grid-row: 3;
}

.hero-banner__stat:nth-child(1) > * { grid-column: 1; }
.hero-banner__stat:nth-child(2) > * { grid-column: 2; }
.hero-banner__stat:nth-child(3) > * { grid-column: 3; }
.hero-banner__stat:nth-child(4) > * { grid-column: 4; }

.hero-banner__stat-value {
  grid-row: 2;
  position: relative;
  font-size: 56px;
  line-height: 64px;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
}

.hero-banner__stat-suffix {
  font-size: 20px;
  line-height: 32px;
}

.hero-banner__number-scroll {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  height: calc(1em + 8px);
  font-feature-settings: "tnum";
}

.hero-banner__digit {
  height: inherit;
  line-height: inherit;
  transition: transform 1.2s cubic-bezier(0.2, 0.1, 0.2, 1) 0.1s;
  pointer-events: none;
}

.hero-banner__digit span {
  height: inherit;
  line-height: inherit;
  display: block;
}

.hero-banner__footnote {
  margin: 16px 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 18px;
}

@media screen and (min-width: 768px) and (max-width: 1440px) {
  .hero-banner__stat-value {
    font-size: 44px;
    line-height: 52px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .hero-banner__stats {
    gap: 8px 16px;
  }
}

@media (max-width: 767px) {
  .hero-banner {
    min-height: 667px;
  }

  .hero-banner__text-wrapper {
    left: 0;
    right: 0;
    top: auto;
    bottom: 320px;
    padding: 0 20px;
    max-width: none;
    text-align: center;
  }

  .hero-banner__title {
    font-size: 32px;
  }

  .hero-banner__subtitle {
    font-size: 16px;
  }

  .hero-banner__lead {
    font-size: 13px;
  }

  .hero-banner__cta {
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
  }

  .hero-banner__btn {
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
  }

  .hero-banner__stats-wrap {
    padding: 16px 12px 20px;
  }

  .hero-banner__stats {
    display: flex;
    flex-wrap: wrap;
    place-content: center space-around;
    gap: 12px;
    width: 100%;
    grid-template-columns: none;
  }

  .hero-banner__stat {
    display: grid;
    grid-template-rows: auto 40px auto;
    place-items: center;
    min-width: 44%;
    max-width: 50%;
    text-align: center;
  }

  .hero-banner__stat > * {
    grid-column: auto !important;
  }

  .hero-banner__stat-top {
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .hero-banner__stat-value {
    grid-row: 2;
    height: 40px;
    font-size: 28px;
    line-height: 40px;
    font-weight: 500;
  }

  .hero-banner__stat-suffix {
    font-size: 12px;
    line-height: 28px;
  }

  .hero-banner__stat-bottom {
    grid-row: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .hero-banner__footnote {
    padding: 0 12px;
  }
}
