/* ============================================
   VSL PAGE
   Page-specific styles. Design tokens, .btn,
   .hero__blobs, and .site-footer are all
   inherited from ../style.css.
   ============================================ */

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.vsl-page {
  background: var(--color-background);
  overflow-x: clip;
}

.vsl-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


/* ============================================
   HERO
   Mobile-first: everything stacks tightly so
   headline, video, and CTA are above the fold
   without scrolling on a standard phone.
   ============================================ */
.vsl-hero {
  position: relative;
  overflow: hidden;
  flex: 1;
  padding: 24px 20px 36px;
  text-align: center;
  background: var(--color-background);
}

/* Dot-grid pattern — matches funnel hero */
.vsl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(249, 115, 22, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Bottom fade */
.vsl-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--color-background) 100%);
  pointer-events: none;
  z-index: 0;
}

.vsl-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* ============================================
   HEADLINE
   ============================================ */
.vsl-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 5.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--color-text);
  max-width: 720px;
  margin-bottom: 10px;
}

/* Orange phrase — matches .hero__heading em */
.vsl-hero__title em {
  font-style: normal;
  color: var(--color-accent);
}


/* ============================================
   SUBHEADLINE
   ============================================ */
.vsl-hero__sub {
  font-size: clamp(0.875rem, 3vw, 1rem);
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.vsl-hero__sub strong {
  color: var(--color-text);
}


/* ============================================
   VIDEO
   Reuses the shared .video-wrapper shadow token.
   ============================================ */
.vsl-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-video);
  margin-bottom: 10px;
  background: #fff;
}

.vsl-video wistia-player {
  display: block;
  width: 100%;
  height: 100%;
}


/* ============================================
   SPEED TIP
   ============================================ */
.vsl-hero__tip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  opacity: 0.8;
}


/* ============================================
   CTA
   ============================================ */
.vsl-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.vsl-hero__cta .btn--primary {
  width: 100%;
  max-width: 420px;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  padding: 16px 28px;
}

.vsl-hero__guarantee {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  opacity: 0.7;
  letter-spacing: 0.01em;
}


/* ============================================
   RESPONSIVE — TABLET (640px+)
   Give the headline and video more breathing room.
   ============================================ */
@media (min-width: 640px) {
  .vsl-hero {
    padding: 36px 32px 48px;
  }

  .vsl-hero__title {
    margin-bottom: 14px;
  }

  .vsl-hero__sub {
    margin-bottom: 20px;
  }

  .vsl-video {
    margin-bottom: 14px;
    border-radius: var(--border-radius-xl);
  }

  .vsl-hero__tip {
    margin-bottom: 24px;
  }

  .vsl-hero__cta .btn--primary {
    width: auto;
    padding: 17px 40px;
  }
}


/* ============================================
   RESPONSIVE — DESKTOP (1024px+)
   Cap the layout width and increase spacing.
   ============================================ */
@media (min-width: 1024px) {
  .vsl-hero {
    padding: 52px 40px 64px;
  }

  .vsl-hero__title {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    margin-bottom: 16px;
  }
}
