/* Public mobile layout only. Keep desktop and private workspaces unchanged. */
@media(max-width:700px){
 html{scroll-padding-block:12px}
 html:has(.hero-focused),html:has(.landing){scroll-snap-type:y proximity}
 .landing-nav,#app>header{scroll-snap-align:start}
 .hero-focused .hero-copy,.hero-focused .hero-carousel,.landing>.hero>div,.plan{scroll-snap-align:start}
 .hero-focused .hero-copy,.landing>.hero:not(.hero-focused)>div:first-child{position:relative}
 .hero-focused .hero-copy::after,.landing>.hero:not(.hero-focused)>div:first-child::after{content:"⌄";position:absolute;bottom:8px;left:50%;font-size:24px;line-height:1;color:#58716b}
 body:has(.landing),body:has(.hero-focused){overflow-x:clip}
 .landing-nav{padding:12px 16px!important;gap:10px!important;align-items:center!important}
 .landing-nav .brand{font-size:clamp(18px,5vw,23px)!important;white-space:nowrap}
 .landing-nav .brand img{width:32px!important;height:32px!important}
 .landing-nav .nav-actions{gap:8px!important;flex-wrap:wrap;justify-content:flex-start}
 .landing-nav .nav-actions button{min-height:40px!important;padding:7px 10px!important}
 .hero.hero-focused{display:block!important;padding:0 16px!important;margin:0!important;max-width:none!important}
 .hero-focused .hero-copy{box-sizing:border-box;min-height:calc(100svh - 110px);display:flex;flex-direction:column;justify-content:center;padding:20px 0!important;gap:12px}
 .hero-focused .hero-copy h1{font-size:clamp(26px,7.4vw,38px)!important;line-height:1.12!important;margin:0!important;overflow-wrap:normal}
 .hero-focused .hero-copy>p{font-size:clamp(14px,3.8vw,17px)!important;line-height:1.45!important;margin:0!important}
 .hero-focused .hero-price{display:flex;align-items:center;gap:12px;padding-block:4px!important}
 .hero-focused .hero-price strong{font-size:30px!important;line-height:1.1!important}
 .hero-focused .hero-price span{font-size:13px!important;line-height:1.4!important}
 .hero-focused .cta{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin:0!important}
 .hero-focused .cta button{min-height:44px;font-size:14px!important;padding:10px 12px!important}
 .hero-focused .hero-carousel{box-sizing:border-box;min-height:100svh;margin:0!important;padding:20px 0!important;display:flex;flex-direction:column;justify-content:center;border:0!important;background:transparent!important}
 .hero-carousel .carousel-stage{max-height:calc(100svh - 140px)!important;width:100%;min-width:0}
 .hero-carousel .carousel-stage img{max-height:calc(100svh - 160px)!important;object-fit:contain}
 .hero-carousel figcaption{flex:none!important}
 .landing-band,.comparison-band{padding-block:24px!important}
 .landing-band>.section,.comparison-band>.section{padding-inline:16px!important;max-width:100%;box-sizing:border-box}
 .features,.pricing,.platform-comparison,.installation-services>div,.ai-benefits>div{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
 .feature,.plan,.comparison-platform,.installation-services article,.ai-benefits article{box-sizing:border-box;max-width:100%;min-width:0;padding:20px!important;overflow-wrap:anywhere;scroll-margin-block:16px}
 .feature h3,.installation-services h3,.ai-benefits h3{font-size:21px!important;line-height:1.2!important}
 .feature p,.installation-services p,.ai-benefits p,.plan p{font-size:15px!important;line-height:1.5!important}
 .plan{min-height:calc(100svh - 48px);display:flex;flex-direction:column;justify-content:center}
 .plan .button{margin-top:12px;align-self:flex-start;min-height:44px;max-width:100%;white-space:normal;text-align:center}
 .landing-questions summary{min-height:44px;display:flex;align-items:center}
 .seo-guides li{margin-block:12px}.seo-guides a{line-height:1.5;overflow-wrap:anywhere}
 .demo-access{padding-inline:16px!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important}
 .demo-access>*,.next-step,.next-actions{min-width:0;max-width:100%;box-sizing:border-box}
 .public-reading,.seo-reading{padding-inline:20px!important;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
 .public-reading h1,.seo-reading h1{font-size:clamp(26px,7vw,36px)!important;line-height:1.15!important}
 /* Cards: first screen explains the offer, next screen shows the cards. */
 body:has(.landing) .landing{padding-inline:16px!important}
 .landing>.hero:not(.hero-focused){display:block!important;padding:0!important;margin:0!important}
 .landing>.hero:not(.hero-focused)>div:first-child{box-sizing:border-box;min-height:calc(100svh - 100px);display:flex;flex-direction:column;justify-content:center;padding:20px 0;gap:16px}
 .landing>.hero:not(.hero-focused) h1{font-size:clamp(27px,7.5vw,38px)!important;line-height:1.1!important;margin:0!important}
 .landing>.hero:not(.hero-focused) .intro{font-size:16px!important;line-height:1.5!important;margin:0!important}
 .landing>.hero:not(.hero-focused) .fine{font-size:13px!important;line-height:1.45!important;margin:0!important}
 .landing .trial-hero{align-self:flex-start;min-height:44px;box-sizing:border-box}
 .landing .hero-cards{box-sizing:border-box;min-height:100svh!important;height:100svh!important;margin:0!important;width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important}
 .landing .hero-cards img{width:clamp(92px,32vw,155px)!important;height:auto!important;max-height:65svh!important;object-fit:contain!important;position:relative!important;inset:auto!important}
 .landing .hero-cards img+img{margin-left:-18%!important}
 .landing .landing-plans{padding:24px 16px!important}
 .landing .plan-comparison{table-layout:fixed;width:100%;font-size:14px}
 .landing .plan-comparison th,.landing .plan-comparison td{padding:12px 8px!important;overflow-wrap:anywhere}
 .landing .profile-spread{padding:20px!important;gap:20px!important}
 .landing .profile-figure{max-width:min(280px,75vw)}
 .landing .legal-tiles{grid-template-columns:minmax(0,1fr)!important}
 .landing .legal-tile{min-height:0!important}
 dialog{max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;box-sizing:border-box;overflow:auto}
 dialog input,dialog select,dialog textarea{font-size:16px!important}
}
@media(max-width:360px),(max-height:650px) and (max-width:700px){
 .hero-focused .hero-copy{gap:10px;padding-block:14px!important}
 .hero-focused .hero-copy h1{font-size:27px!important}
 .hero-focused .hero-copy>p{font-size:14px!important;line-height:1.4!important}
 .hero-focused .cta button{font-size:13px!important;min-height:42px;padding:9px 10px!important}
 .landing>.hero:not(.hero-focused)>div:first-child{gap:12px;padding-block:16px}
 .landing>.hero:not(.hero-focused) .intro{font-size:14px!important;line-height:1.4!important}
 .landing>.hero:not(.hero-focused) h1{font-size:27px!important}
}
