.hero {
  min-height: 760px;
}

.hero .hero-content {
  padding-top: 145px;
  padding-bottom: 88px;
}

.hero .hero-stats {
  margin-top: 28px;
}

.hero.has-homepage-highlights {
  overflow: visible;
  margin-bottom: 132px;
}

.hero.has-homepage-highlights .hero-content {
  padding-bottom: 236px;
}

.homepage-highlights {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: -104px;
  width: min(980px, calc(100% - 40px));
  transform: translateX(-50%);
}

.homepage-highlight-card {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 140px;
  gap: 28px;
  align-items: center;
  min-height: 190px;
  padding: 28px 32px;
  overflow: hidden;
  border: 1px solid rgba(242, 183, 5, .48);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 8%, rgba(242, 183, 5, .18), transparent 30%),
    linear-gradient(135deg, rgba(8, 12, 18, .99), rgba(18, 27, 41, .98));
  box-shadow:
    0 38px 90px rgba(5, 8, 13, .38),
    0 0 0 1px rgba(255, 255, 255, .035) inset;
}

.homepage-highlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(255,255,255,.035), transparent 36%);
}

.homepage-highlight-card::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -95px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(242,183,5,.12);
  border-radius: 50%;
}

.homepage-highlight-icon {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  color: #f2b705;
  background: rgba(255,255,255,.045);
  box-shadow: 0 14px 34px rgba(0,0,0,.16);
}

.homepage-highlight-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.homepage-highlight-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.homepage-highlight-eyebrow {
  display: block;
  margin-bottom: 9px;
  color: rgba(255,255,255,.82);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.homepage-highlight-eyebrow strong {
  color: #f2b705;
}

.homepage-highlight-card h2 {
  max-width: 600px;
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.homepage-highlight-card p {
  max-width: 620px;
  margin: 11px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.55;
}

.homepage-highlight-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  color: #f2b705;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform .22s ease, color .22s ease;
}

.homepage-highlight-link:hover {
  color: #fff;
  transform: translateX(3px);
}

.homepage-highlight-meta {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 28px;
  border-left: 1px solid rgba(255,255,255,.13);
}

.homepage-highlight-count {
  color: rgba(255,255,255,.62);
  font-size: 13px;
}

.homepage-highlight-count strong {
  color: #f2b705;
  font-size: 27px;
}

.homepage-highlight-progress {
  display: flex;
  gap: 7px;
  margin-top: 24px;
}

.homepage-highlight-progress button {
  width: 27px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  cursor: pointer;
  transition: width .22s ease, background .22s ease;
}

.homepage-highlight-progress button.is-active {
  width: 38px;
  background: #f2b705;
}

.homepage-highlight-card[hidden] {
  display: none;
}

.homepage-highlight-card.is-entering {
  animation: homepage-highlight-enter .62s cubic-bezier(.22,.75,.2,1) both;
}

@keyframes homepage-highlight-enter {
  from {
    opacity: 0;
    transform: translateX(24px) scale(.988);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .homepage-highlight-card.is-entering {
    animation: none;
  }
}

@media (max-width: 980px) {
  .homepage-highlight-card {
    grid-template-columns: 72px minmax(0, 1fr) 118px;
    gap: 22px;
    padding: 25px 26px;
  }

  .homepage-highlight-card h2 {
    font-size: clamp(25px, 4vw, 34px);
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 720px;
  }

  .hero .hero-content {
    padding-top: 132px;
  }

  .hero.has-homepage-highlights {
    margin-bottom: 188px;
  }

  .hero.has-homepage-highlights .hero-content {
    padding-bottom: 255px;
  }

  .homepage-highlights {
    bottom: -172px;
    width: min(100% - 28px, 620px);
  }

  .homepage-highlight-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
    padding: 21px;
    border-radius: 20px;
  }

  .homepage-highlight-icon {
    width: 50px;
    height: 50px;
  }

  .homepage-highlight-icon svg {
    width: 25px;
    height: 25px;
  }

  .homepage-highlight-card h2 {
    font-size: 24px;
  }

  .homepage-highlight-card p {
    font-size: 13px;
  }

  .homepage-highlight-meta {
    grid-column: 1 / -1;
    align-self: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 0;
    border-top: 1px solid rgba(255,255,255,.12);
    border-left: 0;
  }

  .homepage-highlight-progress {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .hero.has-homepage-highlights {
    margin-bottom: 205px;
  }

  .hero.has-homepage-highlights .hero-content {
    padding-bottom: 270px;
  }

  .homepage-highlights {
    bottom: -190px;
  }

  .homepage-highlight-card {
    grid-template-columns: 1fr;
  }

  .homepage-highlight-icon {
    display: none;
  }

  .homepage-highlight-card h2 {
    font-size: 22px;
  }
}