/* ===== mobile pass (phones) ===== */
@media(max-width:700px){
  body{padding-bottom:92px}
  .wrap{padding:0 16px}
  .topbar{font-size:12px;padding:10px 12px;line-height:1.7}

  /* floating, rounded, text-only tab bar */
  .tabbar{display:flex;position:fixed;inset-inline:14px;bottom:14px;z-index:60;gap:2px;padding:6px;
    background:rgba(23,22,63,.94);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
    border-radius:26px;box-shadow:0 18px 40px -14px rgba(23,22,63,.7)}
  .tabbar a{flex:1;text-align:center;padding:11px 2px;border-radius:20px;font-size:12px;font-weight:700;
    color:#c9c7ee;white-space:nowrap;transition:.2s}
  .tabbar a.on{background:#fff;color:var(--ink)}
  .tabbar i{display:none}
  .ftr{padding-bottom:110px}

  /* headings & section rhythm */
  .sec-head{margin-bottom:26px}
  .sec-head h2,.home-steps h2,.st-head h2,.flag h2,.faq-side h2{font-size:24px}
  .home-courses,.home-method,.home-steps,.home-teachers,.home-blog,.home-flag,.home-counsel,.home-faq{padding-top:40px;padding-bottom:40px}

  /* "5 steps": centred, number in the middle */
  .steps-grid{gap:28px}
  .steps-grid>div:first-child{text-align:center}
  .steps5{gap:22px}
  .steps5 li{flex-direction:column;align-items:center;text-align:center;gap:8px}
  .steps5 i{flex:0 0 auto;width:48px;height:48px;border-radius:50%;font-size:20px}

  /* cards & grids */
  .cards3{gap:16px}
  .ccard{max-width:480px;margin-inline:auto;width:100%}
  .tgrid{grid-template-columns:repeat(2,1fr)}
  .mini-grid,.values{grid-template-columns:1fr}
  .reviews-mini{grid-template-columns:1fr}
  .st-track figure{flex-basis:88%}
  .st-head{flex-direction:column;align-items:flex-start;gap:14px}
  .bento{grid-template-columns:1fr}
  .bk-wide{padding:24px 20px 0;gap:16px}
  .phone{width:min(260px,100%);flex-basis:auto}

  /* hero & misc */
  .home-hero{padding-top:96px}
  .home-hero h1{font-size:clamp(42px,12.5vw,54px);line-height:1.3;margin-bottom:20px}
  .counters{gap:10px}
  .flag-btns .btn{flex:1 1 100%}
  .counsel{flex-direction:column;align-items:stretch;text-align:center}
  .cform{flex-direction:column}.cform input,.cform .btn{width:100%;min-width:0}
  .post-cta{flex-direction:column;align-items:flex-start}
  .buy-card{position:static}
  .subnav{overflow-x:auto;white-space:nowrap}
  .teacher-box{flex-direction:column;text-align:center}
  .faq-grid{gap:22px}
  img,video,iframe{max-width:100%}
}
@media(max-width:380px){
  .tabbar a{font-size:11px;padding:10px 0}
  .tgrid{grid-template-columns:1fr}
  .counters b{font-size:26px}
}
@media(max-width:600px){
  .home-hero{padding-top:104px}
  .hero-kicker{font-size:12.5px;margin-bottom:22px;padding:7px 14px}
  .home-hero .lead{font-size:16px;line-height:2;margin:0 auto 22px;padding:0 4px}
  .hero-chips{display:none}
  .hero-btns{flex-direction:column;gap:12px;margin:0 auto 18px;max-width:340px}.hero-btns .btn{width:100%;min-height:52px}
  .home-hero .rating{margin:6px 0 30px}
  .h1-sub{display:block;margin-top:6px;font-size:.62em;line-height:1.5}
  .hero-frame{margin-top:8px}
}
