/* ============================================================
   CUSTOM WEBINAR PACKAGE — mobile + tablet optimization
   Mobile: ≤767px · Tablet: 768–1023px · Desktop untouched
   ============================================================ */

/* ---------- TABLET (768–1023px) ---------- */
@media (max-width: 1023px) {
  .wrap { padding: 0 36px; }
}

/* ---------- HAMBURGER (hidden on desktop) ---------- */
.nav__burger {
  display: none;
  background: none; border: none; cursor: pointer; padding: 10px;
  margin-left: 4px; flex-direction: column; gap: 5px;
}
.nav__burger span {
  display: block; width: 24px; height: 3px; border-radius: 2px;
  background: var(--white); transition: transform .25s ease, opacity .2s ease;
}
body.nav-open .nav__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav__burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav__overlay {
  position: fixed; inset: 0; z-index: 40;
  background: var(--navy-deep);
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 96px 24px 40px;
}
body.nav-open .nav__overlay { display: flex; }
body.nav-open { overflow: hidden; }
.nav__overlay a {
  font-family: var(--display); text-transform: uppercase; text-decoration: none;
  color: var(--white); font-size: clamp(28px, 8vw, 40px); line-height: 1.3;
  padding: 6px 16px; letter-spacing: .02em;
}
.nav__overlay a:hover, .nav__overlay a:active { color: var(--accent); }

@media (max-width: 960px) {
  .nav__burger { display: flex; }
}

/* ---------- MOBILE (≤767px) ---------- */
@media (max-width: 767px) {

  /* Global: edge padding + headline scale-down */
  .wrap, .wrap--wide { padding: 0 22px; }
  .nav__inner { padding-left: 22px; padding-right: 22px; gap: 12px; }

  .h-xl { font-size: calc(clamp(34px, 10vw, 44px) * var(--h-scale)); }
  .h-lg { font-size: calc(clamp(28px, 8.4vw, 36px) * var(--h-scale)); }
  .h-md { font-size: calc(clamp(24px, 7vw, 30px) * var(--h-scale)); }
  .h-sm { font-size: calc(clamp(20px, 5.6vw, 24px) * var(--h-scale)); }
  .display { line-height: 1.02; }

  .band { padding: clamp(56px, 14vw, 72px) 0; }

  /* Buttons: full-width, ≥48px tall */
  .btn {
    width: 100%; justify-content: center;
    min-height: 48px; padding: 15px 24px; font-size: 15px;
  }
  .nav__cta { width: auto; min-height: 44px; padding: 11px 16px; font-size: 13px; }
  .nav__cta .arrow { display: none; }

  /* Nav: shrink wordmark */
  .wordmark { font-size: 17px; gap: 4px; }
  .wordmark__sub { font-size: 9px; letter-spacing: .26em; }

  /* Hero: stack everything, photo below copy */
  .hero { padding-top: 44px; padding-bottom: 56px; }
  body[data-hero-layout="split"] .hero__inner,
  .hero__inner { flex-direction: column; text-align: left; gap: 40px; }
  body[data-hero-layout="split"] .hero__copy { max-width: none; width: 100%; }
  body[data-hero-layout="split"] .hero__lead,
  .hero__lead { margin-left: 0; margin-right: 0; }
  .hero__lead--tight { margin-bottom: 26px; font-size: 17px; }
  .hero .offer-blocks { grid-template-columns: 1fr; gap: 14px; margin-bottom: 44px; }
  body[data-hero-layout="split"] .hero__actions,
  .hero__actions { flex-direction: column; align-items: stretch; gap: 14px; justify-content: flex-start; }
  .hero__spots { margin-top: 22px; font-size: 13px; }
  .hero__media { width: 100%; }
  .hero__photo { max-width: none; aspect-ratio: 1/1; }

  .oblock { padding: 18px 20px; }
  .oblock__big { font-size: 24px; }
  .oblock__sub { font-size: 14px; }

  /* Problem */
  .prob-intro { font-size: 18px; margin-bottom: 36px; }
  .prob-mid { font-size: 19px; margin-bottom: 24px; }
  .prob-close { font-size: 16px; }
  .tagrow--problem { margin-bottom: 36px; }

  /* What You Get */
  .wyg-subs { gap: 52px; margin-top: 36px; }
  .wyg-sub__head { font-size: 24px; }
  .wyg-sub__body { font-size: 16px; }
  .tagpill { font-size: 13px; padding: 8px 14px; }

  /* What's Included: value chip full-width, number right-aligned */
  .irow { padding: 24px 22px; gap: 18px; }
  .irow__title { font-size: 22px; margin-bottom: 10px; }
  .irow__desc { font-size: 15px; }
  .irow__val {
    align-self: stretch; width: 100%;
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 12px; padding: 12px 16px; text-align: right;
  }
  .irow__val-num { font-size: 26px; }
  .irow__val-lab { margin-top: 0; }
  .incl-total__row { font-size: 24px; line-height: 1.15; }
  .incl-total__row + .incl-total__row { margin-top: 8px; }

  /* Logo bar */
  .logobar__row { gap: 24px 32px; }
  .logobar__logo { font-size: 24px; }

  /* Math: single stack of six */
  .math-para { font-size: 16px; margin-bottom: 36px; }
  .mstats { grid-template-columns: 1fr; gap: 26px; margin-bottom: 40px; }
  .mstat__big { font-size: 42px; }
  .mstat__cap { font-size: 15px; }
  .math-closer__line { font-size: 30px; line-height: 1.1; }

  /* About */
  .about-stats { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .about-stat__num { font-size: 30px; }
  .about-stat__lab { font-size: 12px; }
  .story__photo { min-height: 0 !important; aspect-ratio: 1/1 !important; }

  /* How It Works (steps already stack ≤900px) */
  .steps { gap: 16px; }

  /* FAQ: big tap targets */
  .faq__q { min-height: 56px; font-size: 16px; padding-top: 16px; padding-bottom: 16px; }

  /* Final CTA */
  .finale .btn { width: 100%; font-size: 16px; padding: 18px 24px; }

  /* Footer: stack + center */
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__brand { display: flex; flex-direction: column; align-items: center; }
  .footer__cols { justify-content: center; text-align: center; }
  .footer__cta { width: auto; }
  .footer__legal { flex-direction: column; gap: 10px; text-align: center; align-items: center; }
}
