/* Homepage VSL layout, using the existing Sustain palette and typography. */
.homepage-vsl .navbar__wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  margin-bottom: 0;
  background: transparent;
}

.vsl-section {
  background: #101113;
}

.vsl-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../vimeo-971563119-hls-fastly_skyfire-5569-1-poster-00001.jpg") center top / cover;
  opacity: 0.13;
  pointer-events: none;
  mask-image: linear-gradient(#000, #000 45%, transparent);
}

.vsl-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 75%, #141415);
  pointer-events: none;
}

.vsl-hero {
  position: relative;
  z-index: 2;
  width: min(100% - 64px, 1180px);
  margin: 0 auto;
  padding: 146px 0 52px;
  text-align: center;
}

.vsl-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--hero-text-dim);
  font-family: var(--hero-font-sans);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.vsl-eyebrow > span {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: #34d399;
}

.vsl-intro .headline {
  max-width: 1120px;
  margin: 0 auto 22px;
  font-size: clamp(40px, 4.6vw, 66px);
  line-height: 1.07;
}

.vsl-intro .subhead {
  max-width: 830px;
  margin: 0 auto 34px;
  font-size: 17px;
  line-height: 1.65;
}

.vsl-player-frame {
  position: relative;
  width: min(100%, 900px);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: #080a0d;
  box-shadow: 0 24px 70px -28px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.vsl-player-frame wistia-player {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

/* The wrapper reserves the embed's 16:9 space before Wistia upgrades it. */
wistia-player[media-id="driwzcblci"]:not(:defined) {
  background: center / contain no-repeat url("https://fast.wistia.com/embed/medias/driwzcblci/swatch");
  filter: blur(5px);
}

.vsl-next-step {
  margin-top: 26px;
}

.vsl-next-step .vsl-cta {
  min-width: min(100%, 440px);
  padding: 19px 32px;
  font-size: 17px;
  box-shadow: 0 8px 30px -14px var(--secondery);
}

.vsl-next-step .trust-bar {
  justify-content: center;
  gap: 12px 26px;
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--hero-text-dim);
}

.vsl-next-step .trust-item {
  gap: 7px;
}

.vsl-next-step .trust-check {
  width: 17px;
  height: 17px;
  flex: none;
}

.vsl-headline-accent,
.process-revenue-accent,
.vsl-fallback a {
  color: var(--hero-accent);
}

.vsl-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

@media (min-width: 992px) {
  .vsl-intro .vsl-eyebrow {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .homepage-vsl .navbar {
    padding-top: 20px;
  }

  .homepage-vsl .navbar .button {
    display: none;
  }

  .homepage-vsl .navbar .brand__logo {
    width: 170px;
    max-width: none;
    flex: none;
  }

  .homepage-vsl .navbar .brand__logo img {
    width: 100%;
    max-width: none;
    transform: none;
  }

  .vsl-hero {
    width: calc(100% - 36px);
    padding-top: 118px;
    padding-bottom: 32px;
  }

  .vsl-eyebrow {
    margin-bottom: 18px;
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .vsl-intro .headline {
    margin-bottom: 18px;
    font-size: clamp(34px, 6.5vw, 48px);
    line-height: 1.08;
  }

  .vsl-title-break {
    display: none;
  }

  .vsl-intro .subhead {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.65;
  }

  .vsl-player-frame {
    border-radius: 10px;
  }

  .vsl-next-step {
    margin-top: 20px;
  }

  .vsl-next-step .vsl-cta {
    width: 100%;
    min-width: 0;
    padding: 16px 12px;
    font-size: 14px;
  }

  .vsl-next-step .trust-bar {
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
  }

  .vsl-next-step .trust-item {
    gap: 9px;
    font-size: 16px;
    line-height: 1.5;
  }

  .vsl-next-step .trust-check {
    width: 20px;
    height: 20px;
  }

  .vsl-client-logos .padding__section {
    padding-top: 0;
    padding-bottom: 40px;
  }

  .vsl-client-logos .logo-wrapper-3 {
    height: auto;
    padding-top: 0;
  }

  /* Keep the horizontal loop, without the shared script's duplicate row. */
  .vsl-client-logos .reverse-mobile {
    display: none;
  }

  .vsl-client-logos .l-scroll__track {
    animation-name: vsl-client-logo-loop;
  }

}

/* Each identical track travels its full width for a seamless repeat. */
@keyframes vsl-client-logo-loop {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
