/* ============================================================
   HERO SUBSCRIPTIONS
   All rules scoped to .hero-sub to avoid conflicts.
   Matches the how-it-works dark hero pattern: left-aligned,
   var(--fs-h1) headline, full container width.
   ============================================================ */

/* ------------------------------------------------------------
   Section wrapper
   ------------------------------------------------------------ */
.hero-sub {
  position: relative;
  background: #0E1438;
  min-height: 480px;
  padding: 4rem 0 5rem;
}

/* ------------------------------------------------------------
   Inner container — matches .container exactly
   max-width 1440px, padding-inline 48px, left-aligned
   ------------------------------------------------------------ */
.hero-sub__container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 48px;
}

/* ------------------------------------------------------------
   Eyebrow — matches hiw-hero__eyebrow
   ------------------------------------------------------------ */
.hero-sub__eyebrow {
  display: block;
  font-family: Inter, -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C49FDC;
  margin-bottom: 18px;
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------
   Headline — var(--fs-h1) matches hiw-hero__headline
   ------------------------------------------------------------ */
.hero-sub__headline {
  font-family: 'Inter Display', Inter, -apple-system, sans-serif;
  font-size: var(--fs-h1);
  font-weight: var(--fw-heading);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #ffffff;
  max-width: 800px;
  margin: 0 0 1.25rem;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------
   Subhead — matches hiw-hero__sub
   ------------------------------------------------------------ */
.hero-sub__subhead {
  font-family: Inter, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.005em;
  color: #ffffff;
  max-width: 520px;
  margin: 0 0 2rem;
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------
   CTA button
   ------------------------------------------------------------ */
.hero-sub__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple);
  color: #ffffff;
  font-family: Inter, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 500;
  height: 48px;
  padding: 0 26px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease;
  -webkit-font-smoothing: antialiased;
  margin-bottom: 1rem;
}

.hero-sub__cta:hover {
  background: #5A2C6E;
  color: #ffffff;
  text-decoration: none;
}

.hero-sub__cta-arrow {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   Price line — left-aligned to match CTA
   ------------------------------------------------------------ */
.hero-sub__price {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  font-family: Inter, -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

.hero-sub__price-icon {
  display: inline-flex;
  align-items: center;
  color: #C49FDC;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE — mirrors hiw-hero breakpoints
   ============================================================ */

@media (max-width: 1024px) {
  .hero-sub {
    padding: 3rem 0 4rem;
  }
}

@media (max-width: 768px) {
  .hero-sub {
    padding: 2.5rem 0 3rem;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .hero-sub__container {
    padding-inline: 24px;
  }

  .hero-sub__headline {
    max-width: 100%;
  }

  .hero-sub__subhead {
    max-width: 100%;
    font-size: 14px;
  }
}

/* ============================================================
   ACCESSIBILITY - prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero-sub__cta {
    transition: none;
  }
}
