/* Narrow-screen safeguards for editorial grids. */
.audience-layout > *, .professor-layout > *, .audience-item > div { min-width: 0; }
.site-nav > .btn[aria-current="location"] { color: #141313; }
.mobile-cta { transition: opacity .25s ease, transform .25s ease, visibility .25s ease; }
.mobile-cta.is-hidden { opacity: 0; visibility: hidden; transform: translateY(100%); }
@media (max-width: 820px) {
  .audience-layout, .professor-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .audience-intro h2 { font-size: 30px; }
}

/* Use the device's available width, including narrow phones and display cutouts.
   Do not disable browser zoom or conceal layout overflow. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { min-width: 0; }
.container {
  width: 100%;
  max-width: 1184px;
  padding-inline: clamp(18px, 3vw, 32px);
}
.container-narrow { max-width: 884px; }
.professor-layout { max-width: 1184px; }
main, section, .hero-inner, .section-heading, .vsl-shell,
.method-grid > *, .curriculum > *, .lesson-grid > *,
.enrollment-panel, .footer-inner > *, .header-inner > * {
  min-width: 0;
}
h1, h2, h3, .eyebrow, .btn, .offer-label {
  overflow-wrap: anywhere;
}
.vsl-shell { max-width: min(940px, 100%); }
.vsl-stage, .vsl-stage video { max-width: 100%; }
.vsl-stage video { width: 100%; min-width: 0; }
.vsl-cover { width: 100%; padding: 16px; }
.authority-line > div { min-width: 0; }
.offer-checkout .btn { white-space: normal; }
@media (max-width: 820px) {
  .professor-layout { max-width: 698px; }
  .method-grid, .curriculum, .lesson-grid { min-width: 0; }
}
@media (max-width: 600px) {
  .container { padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
  .hero h1 { font-size: clamp(31px, 8.8vw, 48px); text-wrap: balance; }
  .hero-lead { max-width: 36ch; }
  .section-heading h2, .professor-copy h2 { font-size: clamp(29px, 8vw, 40px); text-wrap: balance; }
  .enrollment-panel { padding-inline: clamp(16px, 5vw, 24px); }
  .enrollment-panel h3 { font-size: clamp(23px, 7vw, 30px); }
  .hero-signature > span { min-width: 0; }
  .hero-signature small { max-width: none; }
  .lesson-toolbar { width: 100%; }
}
@media (max-width: 360px) {
  .container { padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
  .hero h1 { font-size: clamp(31px, 8.8vw, 48px); }
  .hero-signature { align-items: flex-start; }
  .authority-line strong { font-size: 23px; }
}
