/* smartmrtg.com public pages: regular phones + iPhone Duo. Desktop untouched. */
@media (max-width:480px){
 /* Home: menu button on one line */
 .smp .smp-mobile>summary{white-space:nowrap}
 /* Footer: readable text, clear of the WhatsApp button */
 .smp-footer p,.smp-footer li,.smp-footer a,.smp-footer span{font-size:12px!important;line-height:1.55}
 .smp-footer .smp-footer-legal{padding-bottom:72px}
 .smp-float.smp-whatsapp{right:calc(14px + env(safe-area-inset-right))!important;bottom:calc(14px + env(safe-area-inset-bottom))!important}
}
@media (max-width:400px){
 /* Legal + Privacy: logo and "Get started" both fit, title fits without breaking words */
 .sl-header{gap:10px!important}
 .sl-header .sl-brand{min-width:0!important;flex:1 1 auto!important}
 .sl-header .sl-brand img{width:100%!important;max-width:150px!important;height:auto!important}
 .sl-main-nav{flex:0 0 auto!important}
 .sl-main-nav .sl-nav-cta{padding:9px 13px!important;font-size:13px!important;white-space:nowrap}
 .sl-hero h1{font-size:clamp(30px,9.6vw,54px)!important}
}
/* iPhone Duo half-open (book): keep the WhatsApp button off the fold */
@media (horizontal-viewport-segments:2){
 .smp-float.smp-whatsapp{right:16px!important}
}
