/* Campaign landing layout. Rules are in the first stylesheet paint so the
   sticky bar and the shortened hero do not shift after JavaScript runs. */

.campaign-landing {
  padding-top: 72px;
}

.sticky-cta {
  display: none;
}

@media (max-width: 600px) {
  .campaign-landing .est-beta-notice,
  .campaign-secondary {
    display: none !important;
  }

  .campaign-landing .est-section.hero {
    padding-top: 8px;
    padding-bottom: 12px;
  }

  .campaign-landing .hero h1 {
    font-size: 1.7rem;
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .campaign-landing .hero .subheading {
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 14px;
  }

  .campaign-landing .eyebrow {
    margin-bottom: 8px;
  }

  .has-sticky-cta .compare-hero {
    padding-top: 84px;
    padding-bottom: 16px;
  }

  .has-sticky-cta .compare-hero h1 {
    font-size: 1.75rem;
    line-height: 1.15;
    margin-bottom: 12px;
  }

  .has-sticky-cta .compare-hero p {
    font-size: 1rem;
    line-height: 1.45;
  }

  .has-sticky-cta .hero-cta-row {
    margin-top: 16px !important;
  }

  .asa-hero {
    padding-top: 84px;
  }

  .asa-hero h1 {
    font-size: 1.75rem;
    line-height: 1.15;
    margin-bottom: 12px;
  }

  .has-sticky-cta {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .sticky-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .sticky-cta a {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
  }

  .mobile-nav.active ~ .sticky-cta,
  body.nav-open .sticky-cta {
    display: none;
  }
}

.asa-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 104px 24px 28px;
}

.asa-hero h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.12;
  margin: 0 0 16px;
}

.asa-hero p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0 0 20px;
}

.asa-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 24px 8px;
}

.asa-section h2 {
  font-size: 1.5rem;
  margin: 0 0 12px;
}

.asa-section p,
.asa-section li {
  color: var(--text-secondary);
  line-height: 1.6;
}

.asa-paths {
  display: grid;
  gap: 12px;
}

.asa-paths a {
  display: block;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
}

.asa-paths a span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 4px;
}

.asa-faq details {
  border-top: 1px solid var(--border);
  padding: 12px 0;
}

.asa-faq summary {
  cursor: pointer;
  font-weight: 600;
}

#est-root {
  min-height: 240px;
}

.est-more {
  margin-top: 16px;
}

.est-more summary {
  cursor: pointer;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
