/* Shared mobile reading and page-end spacing. */
@media(max-width:720px){
  html{-webkit-text-size-adjust:100%;scroll-padding-top:84px}
  body{overflow-wrap:break-word}
  .cl{display:inline!important}
  h1,h2,h3{word-break:keep-all;text-wrap:balance}
  p,li,dd{word-break:keep-all;overflow-wrap:anywhere;text-wrap:pretty}
  input,textarea,select{font-size:16px}
  img,video,iframe{max-width:100%}
  .wrap,.container{min-width:0}
  .text-link{white-space:normal;max-width:100%}
  .text-link span[aria-hidden]{flex-shrink:0}
  .actions,.cta-row{row-gap:18px}
  body.page-about,body.page-diagnose,body.page-privacy,body.page-study-style{padding-bottom:0}
  body.page-about>.footer,body.page-diagnose>.footer,body.page-privacy>.footer,body.page-study-style>.footer{margin-bottom:0;padding-bottom:24px}
  body.page-index .section{padding-block:56px}
  body.page-index .footer{padding-bottom:calc(74px + env(safe-area-inset-bottom));padding-top:40px}
  body.page-index .footer-top{gap:28px 24px}
  body.page-index .footer-bottom{margin-top:24px}
  body.page-selfstudy section{padding-block:52px}
  body.page-selfstudy .hero{padding-block:54px}
  body.page-selfstudy .ft{padding:32px 0 calc(84px + env(safe-area-inset-bottom))}
  body.page-selfstudy .ft .disc{margin-top:14px;line-height:1.8}
  body.page-selfstudy .sentence{display:block}
  body.page-selfstudy .sentence+.sentence{margin-top:7px}
  body.page-selfstudy .hero h1{font-size:clamp(28px,7.8vw,40px)}
  body.page-selfstudy .hero .lead{line-height:1.9}
  body.page-selfstudy #weeks .week{padding-block:24px}
  body.page-selfstudy #weeks .out{margin-top:14px}
  body.page-selfstudy .curriculum-note{line-height:1.85}
  body.page-selfstudy .faq summary{line-height:1.65;gap:14px}
  body.page-selfstudy .faq .ans{padding-right:12px;line-height:1.9}
  body.page-selfstudy .record-review{margin-top:32px}
  body.page-selfstudy .parent-note{padding:18px 0;margin-top:20px}
  body.page-apply .ft,body.page-apply-8w .ft,body.page-apply-core .ft,body.page-apply-zoom .ft,body.page-presurvey .ft,body.page-reviews .ft{padding-bottom:24px}
}
@media(max-width:360px){
  .wrap{padding-inline:20px}
  body.page-selfstudy .hero .trust{gap:8px 14px}
  body.page-selfstudy .hero .trust span+span{border-left:0;padding-left:0}
  body.page-selfstudy #weeks .week{gap:10px}
  body.page-selfstudy #weeks .wk{min-width:38px;font-size:12px}
  body.page-selfstudy #weeks h3{font-size:17px}
}

/* Preserve reading gutters when page-top resets shorthand padding. */
.wrap.page-top{padding-left:22px;padding-right:22px}

/* Mobile touch targets and iOS form focus size. */
@media(max-width:720px){
 input[type=text],input[type=tel],input[type=email],input[type=number],input[type=password],select,textarea{font-size:16px!important}
 .hdr .cta,.hdr .back{min-height:44px;display:inline-flex;align-items:center}
 .ft a,.footer a{min-height:44px;display:inline-flex;align-items:center}
 .opt{min-height:44px}
}

/* Give long mobile reading a full column instead of nested boxes. */
@media(max-width:600px){
 body.page-about section.card{padding:28px 6px;border:0;border-radius:0;box-shadow:none;background:transparent}
 body.page-about section.card>p{font-size:16px;line-height:1.9;margin-top:22px;margin-bottom:22px}
 body.page-about .coach-difference p{font-size:16px;line-height:1.9;margin-block:20px}
 body.page-about section.card+section.card{margin-top:36px;border-top:1px solid #d7d9d5;padding-top:36px}
 body.page-reviews .rv-cards{gap:26px}
 body.page-reviews .rvc{padding:24px 18px}
 body.page-reviews .rvc p{font-size:16px;line-height:1.9}
 body.page-index #start .program-description span+span{margin-top:6px}
 body.page-index #start .journey-option{padding-top:28px;padding-bottom:12px}
}

/* Mobile secondary text must remain readable. */
@media(max-width:720px){
 body.page-private .private-consult-note,body.page-private .parent-note{font-size:14px;line-height:1.85}
 body.page-consulting .beta-disclosure{font-size:14px;line-height:1.85}
 body.page-selfstudy .faq .ans,body.page-consulting .faq .ans,body.page-zoom .faq .ans,body.page-private .faq .ans{font-size:16px;line-height:1.85;padding-right:8px}
}
