/* AEO Zone v103.65 — mobile layout containment and stacking fix */
@media (max-width:650px){
  html,body{max-width:100%;overflow-x:hidden!important}
  .v91-shell{width:100%;max-width:100%;overflow-x:hidden!important}
  .v91-container{width:calc(100% - 28px)!important;max-width:100%!important;min-width:0!important;margin-left:auto!important;margin-right:auto!important}

  .v91-hero-grid,.v91-two-col,.v91-intel-grid,
  .systems-hero-grid,.systems-question-grid,.systems-process,.systems-comparison-grid,.systems-value-grid,
  .s2-market-grid,.s2-router,.s2-router-links,.s2-steps,
  .lead-response-grid,.lead-response-offer,.home-eval-grid,.pilot-steps{
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  .v91-hero-grid>*,.v91-two-col>*,.v91-intel-grid>*,
  .systems-hero-grid>*,.systems-process>*,.systems-comparison-grid>*,.systems-value-grid>*,
  .s2-market-grid>*,.s2-router>*,.s2-steps>*,.lead-response-grid>*,.home-eval-grid>*{
    min-width:0!important;
    max-width:100%!important;
  }

  .v91-steps,.v91-intel-card,.v91-mini-dashboard,.v91-command-card,
  .systems-visual,.systems-business-first,.systems-signature,.systems-ai-strategy,.systems-transition,.systems-cta,
  .home-eval-card,.lead-response-offer,.pilot-process-card{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  .v91-steps article{grid-template-columns:42px minmax(0,1fr)!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:18px!important}
  .v91-steps article>div,.v91-dashboard-head,.v91-dashboard-row{min-width:0!important}
  .v91-steps h3,.v91-steps p,.v91-dashboard-head b,.v91-dashboard-row span,.v91-dashboard-row strong,
  .v91-intel-card h2,.v91-intel-card p{overflow-wrap:anywhere;word-break:normal}

  .v91-intel-card{padding:24px!important}
  .v91-mini-dashboard{padding:22px!important}
  .v91-section h2,.v91-cta h2{font-size:clamp(2rem,10vw,3rem)!important;line-height:1.04!important}
  .v91-large,.v91-intel-card>p{font-size:1rem!important;line-height:1.55!important}

  .v91-nav{width:100%!important;max-width:100%!important;grid-template-columns:minmax(0,1fr) auto!important;gap:14px!important;padding:10px 0!important}
  .v91-brand{min-width:0!important}
  .v91-brand img{width:min(160px,44vw)!important;max-width:100%!important;height:auto!important}
  .v91-menu{justify-self:end!important;white-space:nowrap}
  .v91-links{max-width:92vw!important;overflow-y:auto!important;max-height:calc(100dvh - 110px)!important}

  .v91-mobile-bar{padding:7px 10px calc(7px + env(safe-area-inset-bottom))!important}
  .v91-mobile-bar a{min-height:46px!important;padding:8px 10px!important;font-size:.82rem!important;line-height:1.15!important}
  body{padding-bottom:calc(66px + env(safe-area-inset-bottom))!important}
  .has-mobile-action-bar .aeo-bga-launcher{bottom:calc(72px + env(safe-area-inset-bottom))!important;width:48px!important;height:48px!important;min-height:48px!important}
  .academy-footer-link{margin-bottom:78px!important;text-align:center!important}
}
