/* Website-only phone/tablet refinements; desktop design stays in site.css. */
.mobile-entry{display:none}
@media(max-width:800px){
  html{scroll-padding-top:82px;-webkit-text-size-adjust:100%}
  .wrap,.header-inner{width:calc(100% - 36px)}
  .header-inner{min-height:76px;gap:12px}
  .site-header .wordmark{font-size:21px;gap:9px;flex:0 0 auto}
  .site-header .wordmark img{width:40px;height:40px;flex-shrink:0}
  .site-header .wordmark small{font-size:7px;letter-spacing:2px}
  .mobile-entry{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 11px;border:1px solid var(--line);border-radius:9px;font-size:13px;font-weight:600;margin-left:auto;white-space:nowrap}
  .menu-toggle{width:44px;height:44px;flex:0 0 44px}
  .site-header nav{top:76px;padding:12px 22px 24px;max-height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain}
  .site-header nav>a:not(.button){padding:15px 4px;min-height:50px;font-size:16px}
  .site-header nav .button{min-height:50px;font-size:16px}
  .hero{padding-block:32px 38px;gap:24px}
  .hero h1{font-size:clamp(31px,7.7vw,48px);line-height:1.4;letter-spacing:-1.2px;margin-block:17px}
  .hero-description{font-size:16px;line-height:1.85;margin-block:0 22px}
  .hero-actions{gap:18px}
  .hero-actions .button{font-size:15px;min-height:52px;padding:14px 18px;gap:18px}
  .hero-actions .text-link{font-size:15px;min-height:48px}
  .hero-note{font-size:12px;line-height:1.8;margin-top:14px}
  .hero-copy>p>.text-link{font-size:14px;min-height:44px}
  .hero-visual{height:330px;max-width:380px;width:calc(100% - 12px)}
  .word-paper{top:36px;min-height:238px;padding:20px 23px}
  .paper-word{font-size:54px;margin-top:10px}
  .paper-line{margin:16px 0 12px}
  .paper-bottom{margin-top:10px}
  .mini-task{bottom:40px;right:-4px;padding:12px;gap:9px}
  .mini-task strong{font-size:13px}.mini-task small{font-size:11px}
  .book-stack{bottom:15px}.orbit-label{font-size:8px;top:12px;right:18px}
  .visual-footnote{font-size:10px;bottom:-8px}
  .section{padding-block:48px}
  .section-heading h2,.family-copy h2{font-size:29px;line-height:1.5}
  .section-heading>p,.family-copy>p{font-size:15px;line-height:1.9}
  .strip-inner p{font-size:15px}.strip-inner>div{font-size:12px;flex-wrap:wrap;gap:10px}
  .mode-tab{min-height:54px;font-size:16px}.mode-tab>span{font-size:11px}
  .mode-panel{padding:22px;min-height:0}.mode-panel h3{font-size:19px;line-height:1.6}
  .mode-panel>p{font-size:15px;line-height:1.9}.mode-panel>.text-link{min-height:44px}
  .demo-note{font-size:12px;line-height:1.8}
  .family-section{padding-block:45px}.family-points h3{font-size:16px}.family-points p{font-size:14px}
  .family-board{padding:20px 16px}.board-heading h3{font-size:17px}.board-heading small{font-size:11px}
  .assignment{padding:16px}.assignment-top{font-size:13px}.outline-pill{font-size:11px}
  .assignment-row{gap:10px;padding-block:17px}.assignment-row strong{font-size:15px}.assignment-row small{font-size:12px;line-height:1.6}.assignment-row b{font-size:13px}
  .family-flow{font-size:12px;gap:4px}.family-board>p{font-size:12px;line-height:1.8}
  .catalogue-filter{min-height:44px;font-size:14px;padding:8px 13px}.catalogue-controls>span{width:100%;margin:2px 0 0;font-size:12px}
  .catalogue-card{padding:19px 15px;min-height:175px}.catalogue-card h3{font-size:15px}.catalogue-card p{font-size:12px;line-height:1.7}.catalogue-card>small{font-size:11px;right:13px;letter-spacing:0}
  .course-notice{padding:18px}.course-notice>span{font-size:14px}.course-notice p{font-size:13px;line-height:1.9}
  .start-section{padding:30px 20px}.start-heading>p{font-size:14px}.start-heading h2{font-size:28px}
  .start-grid{gap:23px}.start-grid article{padding-left:37px}.start-grid h3{font-size:18px}.start-grid p{font-size:14px;line-height:1.9}.start-grid .text-link{font-size:14px;min-height:44px}
  .download-row .eyebrow{font-size:11px}.download-row h3{font-size:18px}.download-row p{font-size:13px}
  .download-links{flex-wrap:wrap}.download-links a{min-height:76px;flex-basis:140px;padding:12px}.download-links strong{font-size:14px}.download-links small{font-size:11px}
  .faq-list summary{font-size:16px;line-height:1.6;padding-block:20px}.faq-list details p{font-size:14px;line-height:1.9}
  .closing h2{font-size:26px}.closing .eyebrow{font-size:11px}.closing .button{font-size:15px;min-height:50px}
  .site-footer{gap:18px;padding-bottom:calc(25px + env(safe-area-inset-bottom))}.site-footer p,.site-footer small{font-size:12px}.site-footer nav{flex-wrap:wrap;gap:6px 24px;font-size:14px}.site-footer nav a{min-height:44px;display:flex;align-items:center}
}
@media(max-width:360px){
  .header-inner{gap:8px}.site-header .wordmark{font-size:19px;gap:7px}.site-header .wordmark img{width:34px;height:34px}.site-header .wordmark small{font-size:6px;letter-spacing:1.7px}.mobile-entry{padding:8px;font-size:12px}
  .hero-actions{gap:10px}.hero-actions .button{font-size:14px;padding-inline:13px;gap:10px}.hero-actions .text-link{font-size:14px;gap:7px}.hero h1{font-size:29px}
  .catalogue-grid{grid-template-columns:1fr}.catalogue-card{min-height:145px}.catalogue-card>small{top:22px}.family-board{padding:16px 12px}
}
