

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: var(--space-xl) var(--container-inset) var(--space-40);
  color: var(--color-on-dark);
  background-color: var(--color-dark);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

.hero__slider {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  will-change: opacity;
}

.hero__slide.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: none;
  }
}

.hero__bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.hero__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.hero__logo-mark {
  width: 180px;
  height: auto;
}

.hero__nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  padding-top: var(--space-xs);
}

.hero__nav-link {
  font-size: var(--text-base);
  line-height: 1;
  font-weight: var(--fw-regular);
  color: var(--color-on-dark);
  transition: color var(--transition-fast);
}

.hero__nav-link:hover {
  color: var(--color-brand);
}

.hero__content {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero__title {
  flex: 1 1 auto;
  max-width: 720px;
  font-size: clamp(2.25rem, 1.3rem + 3.4vw, var(--text-6xl));
  line-height: 1.17;
  font-weight: var(--fw-light);
  letter-spacing: var(--tracking-tightest);
  text-transform: uppercase;
  color: var(--color-on-dark);
  text-wrap: balance;
}

.hero__lead {
  flex: 0 1 440px;
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  font-weight: var(--fw-regular);
  color: var(--color-on-dark);
}

.hero__divider {
  height: 1px;
  margin: var(--space-40) 0 var(--space-lg);
  background-color: var(--divider-on-dark);
}

.hero__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero__avatars {
  display: flex;
  align-items: center;
}

.hero__avatars li {
  width: 32px;
  height: 32px;
}

.hero__avatars li + li {
  margin-left: -10px;
}

.hero__avatars img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-dark);
  object-fit: cover;
}

.hero__proof-text {
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  color: var(--color-on-dark);
}

.hero__proof-text strong {
  font-weight: var(--fw-bold);
}

.hero__cta {
  color: var(--color-ink);
  background-color: var(--color-on-dark);
  box-shadow: var(--shadow-md);
}

.hero__cta:hover {
  background-color: var(--color-brand);
  color: var(--color-on-brand);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) {
  .hero__content {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
  }
  .hero__lead {
    flex-basis: auto;
    max-width: 620px;
  }
}

@media (max-width: 768px) {
  .hero__nav {
    display: none;
  }
  .hero__footer {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-xl);
  }

  .hero__cta {
    justify-content: center;
    order: 1;
  }
  .hero__proof {
    order: 2;
    justify-content: center;
  }
}
