/* Standalone only: keep visible motion, reduce work outside the viewport. */
body[data-view="course"] .site-header .brand img{height:auto;max-height:100%;object-fit:contain}
.resume-scroll-window>img{will-change:auto}
.company-column{contain:paint}
@media(max-width:760px){
  .course-page .section{min-width:0;max-width:calc(100% - 24px);padding-inline:20px;border-radius:24px}
  .course-page .section h2{overflow-wrap:anywhere}
  .course-page #upgrade-title{font-size:clamp(25px,6.6vw,34px);white-space:normal;text-wrap:balance;line-height:1.3}
  .course-page .launch-heading h2{font-size:28px}
  .launch-upgrade .launch-heading{container-type:normal}
  .resume-duel>article,.results-grid>div{min-width:0}
  .resume-duel .resume-after{padding:18px}
  .resume-upgrade-ribbon{margin:-18px -18px 18px;padding:12px 18px;letter-spacing:.03em}
  .resume-before .pdf-papers{min-height:260px;height:320px;max-height:360px;padding-inline:10px}
  .resume-before .pdf-papers a{width:47%;flex-basis:47%}
  .resume-after .resume-label h3{font-size:26px}
  .resume-foot{font-size:13px;line-height:1.8}
  .resume-foot .resume-demo-tag{margin-left:6px}
  .resume-scroll-window{aspect-ratio:1440/1080}
  .launch-wall-shell,.launch-wall-tools{display:none}
  .launch-quotes[open] .quote-grid{max-height:65svh;overflow:auto;overscroll-behavior-y:auto}
  .quote-grid article{padding:18px}
  .quote-grid p{font-size:15px;line-height:1.85}
  .quote-grid h3{font-size:17px}
  .launch-quotes summary{min-height:48px}
  body[data-view="course"] .site-header{backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(12,12,12,.97)}
  body[data-view="course"] .page-glow{display:none}
  .hero-visual img,.hero-mobile-visual img{animation:none}
  .resume-after::before,.resume-after::after,.upgrade-live-dot::after{animation:none}
  .company-brand,.company-brand.featured{box-shadow:inset 0 0 0 1px #ffffff24}
  body[data-view="course"] .mobile-cta{padding-bottom:max(12px,env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.launch-wall-shell,.launch-wall-tools{display:none}}

/* Combined mobile pass: layout only; preserve every image's existing sizing. */
.page-panel[hidden]{display:none!important}
@media(max-width:760px){
  .site-header{backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(12,12,12,.97)}
  .page-glow{display:none}
  .view-switch{display:flex;min-width:0}
  .view-switch .view-tab{flex:1 1 0;min-width:0;min-height:46px}
  .notes-page .notes-hero h1.fit-heading{font-size:clamp(30px,8vw,40px)}
  .notes-page h1.fit-heading,.notes-page h2.fit-heading{contain:none;white-space:normal;text-wrap:balance;overflow-wrap:anywhere}
  .notes-page .notes-subtitle{max-width:100%;white-space:normal;line-height:1.75}
  .notes-page .notes-meta{flex-wrap:wrap}
  .notes-page .access-grid>* ,.notes-page .roadmap-copy,.notes-page .bridge-copy{min-width:0}
  .notes-page .resource-actions a{white-space:normal;overflow-wrap:anywhere;text-align:center;line-height:1.5}
  .notes-page .route-console{max-width:100%;min-width:0}
  .notes-page .notes-ticker-track{animation-timing-function:linear}
  .curriculum-dialog{max-width:calc(100vw - 24px);max-height:calc(100svh - 32px)}
  .mobile-cta{max-width:calc(100% - 20px);box-sizing:border-box}
}
@media(max-width:360px){
  .notes-page .resource-actions{grid-template-columns:1fr}
  .method-details>div{grid-template-columns:4em minmax(0,1fr);gap:10px}
  .results-summary .method-card{padding:20px}
}
