/* Webinar Boost — cloned funnel styles */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: #222;
  overflow-x: hidden; /* safety net against any accidental horizontal scroll on mobile */
  width: 100%;
}

img, picture { display: block; max-width: 100%; height: auto; }

/* ---------- Header ---------- */
.site-header {
  background: #ffffff;
  text-align: center;
  padding: clamp(14px, 4vw, 24px) 20px;
  border-bottom: 1px solid #eee;
}
.site-header img {
  margin: 0 auto;
  width: clamp(160px, 34vw, 260px);
  aspect-ratio: 430 / 166;
}

/* ---------- Full-width section graphics ---------- */
.section-img-wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}
.section-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Desktop-size intrinsic ratios (used above the 767px breakpoint) so the
   browser reserves the right space before the image loads — avoids layout jump. */
.sec-01 .section-img { aspect-ratio: 1920 / 799; }
.sec-02 .section-img { aspect-ratio: 1920 / 1097; }
.sec-03 .section-img { aspect-ratio: 1920 / 1570; }
.sec-04 .section-img { aspect-ratio: 1920 / 1477; }
.sec-05 .section-img { aspect-ratio: 1920 / 846; }
.sec-06 .section-img { aspect-ratio: 1920 / 691; }
.sec-07 .section-img { aspect-ratio: 1920 / 675; }
.sec-08 .section-img { aspect-ratio: 1920 / 403; }
.sec-09 .section-img { aspect-ratio: 1920 / 959; }
.sec-10 .section-img { aspect-ratio: 1920 / 1795; }
.sec-11 .section-img { aspect-ratio: 1920 / 930; }

/* ---------- CTA buttons ---------- */
.cta-wrap {
  text-align: center;
  padding: clamp(20px, 5vw, 28px) 20px;
}
.cta-wrap.bg-white  { background: #ffffff; }
.cta-wrap.bg-blue   { background: #0702eb; }

.cta-btn {
  display: inline-block;
  max-width: 100%;
  background: #00aaff;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(16px, 4.2vw, 22px);
  line-height: 1.35;
  padding: clamp(12px, 3vw, 14px) clamp(18px, 5vw, 32px);
  border-radius: 3px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.cta-btn:hover {
  background: #0090dd;
  transform: translateY(-1px);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #ffffff;
  text-align: center;
  padding: 18px 20px 30px;
  color: #0702eb;
  font-size: 14px;
}

/* ---------- Thank-you page ---------- */
.thanks-banner {
  background: #0702eb;
  color: #ffffff;
  text-align: center;
  padding: clamp(36px, 8vw, 60px) 20px;
}
.thanks-banner h1 {
  margin: 0 0 18px;
  font-size: clamp(22px, 5.5vw, 32px);
  font-weight: 500;
  line-height: 1.4;
}
.thanks-banner p {
  margin: 0;
  font-size: clamp(16px, 4vw, 22px);
  font-weight: 700;
  line-height: 1.5;
}

/* ---------- Mobile-specific overrides ---------- */
@media (max-width: 767px) {
  /* Below 767px the <picture> element swaps in the *-mobile.png source,
     which is authored full-bleed at 375px wide — let it run edge to edge. */
  .section-img-wrap { max-width: 100%; }

  .sec-01 .section-img { aspect-ratio: 375 / 751; }
  .sec-02 .section-img { aspect-ratio: 375 / 1309; }
  .sec-03 .section-img { aspect-ratio: 375 / 1480; }
  .sec-04 .section-img { aspect-ratio: 375 / 725; }
  .sec-05 .section-img { aspect-ratio: 375 / 1052; }
  .sec-06 .section-img { aspect-ratio: 375 / 728; }
  .sec-07 .section-img { aspect-ratio: 375 / 933; }
  .sec-08 .section-img { aspect-ratio: 375 / 499; }
  .sec-09 .section-img { aspect-ratio: 373 / 1563; }
  .sec-10 .section-img { aspect-ratio: 375 / 3262; }
  .sec-11 .section-img { aspect-ratio: 375 / 694; }
}
