/* FRPh SUPERDECK — compact phone / portrait layout */
@media (max-width:700px){
 body{-webkit-text-size-adjust:100%}
 /* top note + header */
 body > div > p:first-child, body > p:first-child{font-size:12px !important;padding:7px 12px !important;line-height:1.4}
 header .wrap{padding-top:10px !important;padding-bottom:8px !important;gap:8px !important}
 header img{height:38px !important}
 .mainnav{font-size:14px !important;gap:16px !important}
 /* type scale */
 h1,.hero-h1{font-size:30px !important;line-height:1.1 !important}
 h1 span[style*="font-size: 22px"],h1 span[style*="font-size: 20px"]{font-size:14px !important;margin-bottom:4px !important}
 .h2,section h2{font-size:25px !important;line-height:1.15 !important}
 .lead{font-size:15.5px !important}
 .cp,.q{font-size:14.5px !important}
 .cp[style*="font-size: 17px"]{font-size:15px !important}
 .ct{font-size:17px !important}
 .ct[style*="font-size: 24px"],.ct[style*="font-size: 26px"],.ct[style*="font-size: 28px"],.ct[style*="font-size: 22px"]{font-size:19px !important}
 .kick{font-size:11.5px !important;letter-spacing:.12em !important}
 .badge{font-size:10px !important;padding:4px 9px !important}
 section p[style*="font: 19px"],section p[style*="font: 18px"]{font-size:15.5px !important}
 [style*="font: 900 72px"]{font-size:50px !important}
 [style*="font: 900 56px"],[style*="font: 900 54px"],[style*="font: 900 50px"],[style*="font: 900 46px"],[style*="font: 900 44px"],[style*="font: 900 42px"]{font-size:28px !important}
 [style*="font: 900 40px"]{font-size:28px !important}
 [style*="font: 900 34px"]{font-size:26px !important}
 [style*="font: 900 30px"],[style*="font: 900 26px"]{font-size:22px !important}
 /* spacing */
 .wrap{padding-left:16px !important;padding-right:16px !important}
 .sec{padding:36px 0 !important}
 section > .wrap[style*="padding-top"]{padding-top:32px !important;padding-bottom:32px !important}
 .sec .wrap{gap:20px !important}
 .card{padding:16px !important;border-radius:16px !important;gap:8px !important}
 .card[style*="padding: 30px"],.card[style*="padding: 32px"]{padding:18px !important}
 .btn{padding:12px 18px !important;min-height:46px !important;font-size:15px !important;border-radius:12px !important}
 .li{font-size:14px !important}
 /* grids: compact 2-up for small items, 1-up for text */
 [style*="grid-template-columns: repeat("]{grid-template-columns:1fr !important;gap:12px !important}
 [style*="repeat(4, minmax(0, 1fr))"],[style*="repeat(5, minmax(0, 1fr))"],[style*="repeat(6, minmax(0, 1fr))"]{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
 [style*="max-width: 980px"][style*="repeat(3"]{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
 /* stats strips */
 section > .wrap[style*="text-align: center"][style*="repeat("]{padding-top:20px !important;padding-bottom:20px !important;row-gap:16px !important}
 section > .wrap[style*="text-align: center"] [style*="font: 600 14px"]{font-size:12px !important}
 /* hero */
 .hero .wrap{gap:24px !important}
 .hero .btn{flex:1 1 100%}
 .hero [style*="font: 600 14px Inter"]{font-size:12.5px !important;gap:10px !important}
 .devices{padding:0 0 70px 0 !important}
 /* team (About) */
 .card img[style*="border-radius: 50%"]{width:104px !important;height:104px !important;border-width:4px !important;outline-width:3px !important}
 .card b[style*="font: 800 16px"]{font-size:14px !important}
 /* topnotchers */
 [style*="font: 800 15px Montserrat"][style*="letter-spacing: .04em"]{font-size:12px !important}
 /* screenshots & posters */
 img[style*="height: 340px"]{height:240px !important}
 /* footer */
 footer .wrap{padding-top:24px !important;padding-bottom:20px !important;gap:18px !important}
 footer .wrap > div{gap:6px !important}
 /* avail form */
 .layout{padding:14px 10px 100px !important;gap:16px !important}
 .chap{padding:16px !important;gap:18px !important}
 .chead .num{width:38px;height:38px;font-size:16px;border-radius:11px}
 .chead h2{font-size:21px !important}
 .q{gap:8px}
 .ql{font-size:15px}
 .tile{padding:14px !important;font-size:13.5px !important;gap:6px !important;border-radius:14px !important}
 .tt{font-size:15.5px !important}
 .tiles{gap:10px !important}
 .chip{font-size:14px !important;padding:9px 14px !important;min-height:42px !important}
 .chips{gap:8px !important}
 .in{font-size:16px;padding:11px 14px;min-height:46px}
 .cb{font-size:14px !important;padding:12px !important}
 .guide{padding:16px !important;font-size:13.5px !important}
 .cond{padding:14px !important}
 .tbl{font-size:13px}.tbl th,.tbl td{padding:8px !important}
 .acc{font-size:13.5px !important;padding:12px 14px !important}
 .paycard{padding:16px !important;gap:16px !important}
 #payAmt{font-size:38px !important}
 .qrbox img{width:190px}
 .addon{padding:14px !important}
 .navbar{padding:8px 10px !important}
 .navbar .btn{padding:11px 14px !important;font-size:14px !important;min-height:44px !important}
 .navtot b{font-size:19px !important}
 .side{gap:12px !important}
 .posters{gap:10px !important}
 .video{border-radius:14px}
 #done .wrap > div[style*="padding: 40px"]{padding:20px !important}
}
@media (max-width:380px){
 h1,.hero-h1{font-size:27px !important}
 .h2,section h2{font-size:23px !important}
 .mainnav{gap:12px !important;font-size:13px !important}
}
/* leave room so a host badge in the bottom corner never covers the footer text */
footer > .wrap:last-child{padding-bottom:72px !important}
@media (max-width:700px){
 /* "Always improving" strip */
 section[style*="#FFF9EA"] > .wrap[style*="padding-top: 22px"]{padding-top:14px !important;padding-bottom:14px !important;gap:10px !important;flex-wrap:nowrap !important;text-align:left !important}
 section[style*="#FFF9EA"] > .wrap span[style*="font: 600 17px"]{font-size:13.5px !important}
 section[style*="#FFF9EA"] > .wrap .ic{width:36px !important;height:36px !important}
 /* module cards two per row */
 .g3:has(> .card > .kick),[style*="repeat(3, minmax(0, 1fr))"]:has(> .card > .kick){grid-template-columns:repeat(2,minmax(0,1fr)) !important}
 .card:has(> .kick) .ct{font-size:15px !important}
 .card:has(> .kick) .cp{font-size:13px !important}
}
@media (max-width:700px){
 #hero .wrap{padding-top:24px !important;padding-bottom:18px !important;gap:16px !important}
 #hero [style*="min-width: 280px"]{min-width:0 !important;padding:12px 14px !important;gap:6px !important}
 #hero [style*="min-width: 280px"] span{font-size:13px !important}
 .chap .g2{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px !important}
 .chap .g2 b{font-size:13px !important}
 .chap .g2 .hint{font-size:12px !important}
}
/* keep the form's bottom bar clear of the host badge in the bottom-right corner */
.navbar{bottom:72px !important}
#layout{padding-bottom:110px}
@media (max-width:700px){
 .navbar{position:fixed !important;left:10px !important;right:10px !important;bottom:66px !important;border-radius:16px !important;border:1px solid #D6E0F5 !important;box-shadow:0 10px 30px rgba(11,46,131,.22) !important;margin:0 !important}
 .layout{padding-bottom:170px !important}
}
