/* Homepage hero — headline, CTAs, avatar stack, trust row, and the
   decorative floating dots background. components/hero.html */
.hp-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem 3.5rem;
  background:
    radial-gradient(
      ellipse 90% 70% at 55% -8%,
      rgba(14, 159, 224, 0.13) 0%,
      rgba(14, 159, 224, 0) 62%
    ),
    radial-gradient(
      ellipse 70% 55% at 8% 78%,
      rgba(77, 199, 244, 0.09) 0%,
      rgba(77, 199, 244, 0) 58%
    ),
    radial-gradient(
      ellipse 60% 50% at 96% 82%,
      rgba(0, 110, 184, 0.08) 0%,
      rgba(0, 110, 184, 0) 58%
    ),
    var(--color-page-bg);
}

.hp-hero__dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hp-hero__dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 3px;
}

.hp-hero__content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

/* Flex column children with align-items: center size to max-content by
   default and won't wrap — force them to fill the column so text wraps. */
.hp-hero__content > * {
  width: 100%;
}

.hp-hero__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hp-hero__heading {
  font-weight: var(--hp-fw-extrabold);
  font-size: 4rem;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--color-text-heading);
  margin: 0;
}

.hp-hero__heading .section-intro__gradient {
  display: inline-block;
}

.hp-hero__subtitle {
  max-width: 610px;
  font-size: 1.09375rem;
  line-height: 1.75;
  font-weight: var(--fw-semibold);
  color: var(--hp-text-body-2);
  margin: 0;
}

.hp-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}

.hp-hero__points {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.hp-hero__point {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  color: var(--hp-text-body-3);
  white-space: nowrap;
}

.hp-hero__point img {
  width: 13px;
  height: 13px;
}

.hp-hero__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 0.25rem;
}

.hp-hero__avatars {
  display: flex;
}

.hp-hero__avatars img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  border: 1.875px solid #fff;
  object-fit: cover;
  margin-left: -10px;
}

.hp-hero__avatars img:first-child {
  margin-left: 0;
}

.hp-hero__social-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  align-items: flex-start;
}

.hp-hero__stars {
  display: flex;
  gap: 2px;
}

.hp-hero__stars img {
  width: 12px;
  height: 12px;
}

.hp-hero__social-label {
  font-size: 0.78125rem;
  font-weight: var(--fw-semibold);
  color: var(--hp-text-body-3);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hp-hero__heading {
    font-size: 2.75rem;
  }
}

@media (max-width: 576px) {
  .hp-hero {
    padding: 3rem 1.125rem 2.5rem;
  }

  .hp-hero__heading {
    font-size: 2.125rem;
  }

  .hp-hero__subtitle {
    font-size: 0.9375rem;
  }

  .hp-hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hp-hero__points {
    gap: 0.875rem 1.25rem;
  }
}
