/* Mobile has its own composition; desktop remains the existing Astro design. */
.phone-only{display:none}@media (min-width:768px),(min-width:600px) and (orientation:portrait){.phone-only{display:none!important}}
.mobile-film,.mobile-dock,.mobile-stories{display:none}
@media (max-width: 599px), (max-width: 767px) and (orientation: landscape){
 html.mobile-sections{--mobile-top:calc(max(58px,10svh) + env(safe-area-inset-top,0px));--mobile-bottom:calc(max(76px,10svh) + env(safe-area-inset-bottom,0px));--mobile-panel:calc(100svh - var(--mobile-top) - var(--mobile-bottom));scroll-snap-type:y mandatory;scroll-padding-top:var(--mobile-top);scroll-padding-bottom:var(--mobile-bottom);scroll-behavior:smooth}
 html.mobile-sections:has(dialog[open]){scroll-snap-type:none}
 .sota-home{padding-top:var(--mobile-top);padding-bottom:var(--mobile-bottom);overflow-x:clip}
 .sota-home .homepage-navigation{position:fixed;inset:0 0 auto;z-index:80;height:var(--mobile-top);padding-top:env(safe-area-inset-top,0px);display:flex;align-items:center;background:#061f2df5;border-bottom:1px solid #77dce333;backdrop-filter:blur(16px)}
 .sota-home .contact-strip{display:none}
 .sota-home .site-masthead{width:100%;border:0;background:none}
 .sota-home .site-masthead .site-header{height:58px;min-height:0;width:100%;padding:8px 12px;display:flex;justify-content:space-between;gap:7px}
 .sota-home .site-masthead .site-brand{width:clamp(115px,36vw,150px);flex:0 0 clamp(115px,36vw,150px)}
 .sota-home .site-masthead .site-brand img{width:100%;max-height:40px;object-fit:contain}
 .sota-home .site-menu-toggle{order:3;display:block;min-height:40px;padding:8px 10px;border:1px solid #7bd6dd77;border-radius:12px;background:linear-gradient(#164b59,#08313e);color:white}
 .sota-home .site-masthead .site-quote{display:inline-flex!important;order:2;min-height:40px;padding:8px 10px;font-size:12px;white-space:nowrap;border-radius:10px}.sota-home .site-quote svg{display:none}
 .sota-home #site-navigation{display:none}
 .sota-home #site-navigation.open{display:flex;position:fixed;inset:var(--mobile-top) 0 var(--mobile-bottom);width:100%;max-height:none;margin:0;overflow:auto;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:14px 24px;background:#062638;z-index:90}
 .sota-home #site-navigation a,.sota-home #site-navigation summary{padding:13px 6px;font-size:18px}
 .sota-home #site-navigation .more-links{position:static;box-shadow:none;width:auto}
 .sota-home #main{overflow:visible}
 .sota-home .light-ribbon,.sota-home #main>.section-connector{display:none}
 .sota-home .planning-band{display:contents}
 .sota-home #main>.section,.sota-home .planning-band>.section,.sota-home .hero,.sota-home .mobile-stories{scroll-snap-align:center;scroll-snap-stop:always;scroll-margin:0;min-height:var(--mobile-panel);height:auto;max-height:none;width:100%;max-width:none;margin:0;padding:24px 20px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:18px;transform:none}
 .sota-home [data-mobile-tall]{scroll-snap-align:start!important}
 .sota-home .section h2{font-size:clamp(26px,7.3vw,34px);line-height:1.14;margin:0;text-wrap:balance}
 .sota-home .section p{font-size:16px;line-height:1.5}
 .sota-home .section-intro{margin:0;text-align:center}
 .sota-home .section-intro p{margin:12px 0 0}
 .sota-home .reveal{opacity:1;transform:none}
 .sota-home .hero{background:radial-gradient(ellipse at 50% 0%,#245865,#082b3c 60%,#051e2c);overflow:visible;text-align:center}
 .sota-home .hero #wallpaper,.sota-home .hero-shade,.sota-home .hero #motion-toggle,.sota-home .hero>.scroll-cue{display:none}
 .sota-home .hero-content{width:100%;max-width:none;margin:0;padding:0;position:relative;inset:auto}
 .sota-home .hero h1{font-size:clamp(29px,8.4vw,38px);line-height:1.08;margin:0 0 16px;text-align:center}
 .sota-home .hero-price{font-size:17px;line-height:1.5;margin:0 0 12px}
 .sota-home .trust{justify-content:center;flex-wrap:wrap;font-size:12px;gap:7px;margin:0 0 20px}
 .sota-home .hero-proof{display:flex;order:-1;position:relative;inset:auto;width:100%;height:150px;max-width:290px;min-height:0;margin:0 auto;background:none;box-shadow:none;border:0;padding:0;transform:none}
 .sota-home .hero-proof-copy,.sota-home .proof-corners{display:none}
 .sota-home .hero-proof .denture-art{position:static;width:100%;height:150px;object-fit:contain;transform:none;margin:0}
 .sota-home .actions{display:grid;grid-template-columns:1fr;gap:9px;width:100%;max-width:340px;margin:0 auto}
 .sota-home .actions .glow{width:100%;max-width:none;min-height:48px;font-size:15px;padding:10px 16px}
 .sota-home .process .collage-stage{display:none}
 .sota-home .process-feature{display:flex;flex-direction:column;gap:20px;padding:0}
 .sota-home .process .center-video{width:100%;max-width:none;transform:none;margin:0;position:relative;inset:auto}
 .sota-home .process-copy{text-align:center;padding:0}
 .sota-home .process-copy h2{font-size:26px}
 .sota-home .doctor-signature{max-height:70px;width:auto;max-width:100%;margin:16px auto}
 .sota-home .text-link{font-size:13px;line-height:1.5}
 .sota-home .steps{display:flex;flex-direction:column;gap:12px!important;margin:0;padding:0}
 .sota-home .steps .step-panel{display:grid;grid-template-columns:88px 1fr;align-items:center;gap:14px;background:#123e4a66;padding:10px;border:1px solid #73cadb33;border-radius:16px}
 .sota-home .steps .step-panel>img{width:88px;height:80px;object-fit:cover;border-radius:10px}
 .sota-home .steps .step-panel>span{display:flex;align-items:flex-start;flex-direction:column;padding:0;gap:3px}
 .sota-home .steps .step-panel h3{font-size:18px}
 .sota-home .pricing-copy{text-align:center;padding:0}
 .sota-home .pricing-copy h2 br{display:none}
 .sota-home .pricing-copy>p{margin:12px 0}
 .sota-home .price-art{max-width:220px;max-height:240px;align-self:center;order:-1;margin:0;transform:none}
 .sota-home .price-art img{width:100%;height:230px;object-fit:contain}
 .sota-home .price-download{min-height:48px;font-size:14px}
 .sota-home .review-player{margin:0;width:100%}
 .sota-home .review-choices{display:flex;overflow-x:auto;gap:8px}
 .sota-home .review-choices button{min-width:72px;flex:0 0 72px}
 .sota-home .team-line{display:grid;grid-template-rows:repeat(2,160px);grid-auto-flow:column;grid-auto-columns:calc((100% - 16px)/3);gap:8px;overflow-x:auto;scroll-snap-type:x proximity;transform:none;padding:0 0 10px;margin:0}
 .sota-home .team-line a{scroll-snap-align:start;min-width:0;width:auto;max-width:none}
 .sota-home .team-line img{width:100%;height:160px;object-fit:contain;object-position:bottom}
 .sota-home .team>.glow{align-self:center}
 .sota-home .team .section-connector{display:none}
 .sota-home .video-pair{display:grid;grid-template-columns:1fr;gap:14px}
 .sota-home .patient-track{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 0 12px;gap:14px;margin:0}
 .sota-home .patient-card{flex:0 0 76%;min-width:0;scroll-snap-align:center}
 .sota-home .patient-card .video-poster{max-height:calc(var(--mobile-panel) - 160px);width:100%;background:#041622}
 .sota-home .patient-card .video-poster img{max-height:calc(var(--mobile-panel) - 160px);object-fit:contain}
 .sota-home .story-toolbar{margin:0}
 .sota-home .review-footer{margin:0;gap:10px}
 .sota-home .results>div,.sota-home .craft-text{width:100%;padding:0;text-align:center}
 .sota-home .result-image{width:100%;max-height:300px;transform:none}
 .sota-home .result-image img{max-height:300px;object-fit:contain}
 .sota-home .craft>.video-poster{width:100%}
 .sota-home .site-footer{scroll-snap-align:start;scroll-snap-stop:always;padding-bottom:30px}
 .sota-home .mobile-film{display:block;position:relative;width:100%;height:var(--mobile-panel);min-height:280px;margin:0;padding:0;overflow:hidden;scroll-snap-align:start;scroll-snap-stop:always;background:#041722;isolation:isolate;container-type:size}
 .mobile-film-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
 .mobile-film-frame{position:absolute;inset:0;overflow:hidden}
 .mobile-film-frame iframe{position:absolute;top:50%;left:50%;width:max(100cqw,56.25cqh);height:max(100cqh,177.7778cqw);max-width:none;transform:translate(-50%,-50%);border:0;pointer-events:none;opacity:0;transition:opacity .25s}
 .mobile-film[data-playing="true"] iframe,.mobile-film[data-started="true"] iframe{opacity:1}
 .mobile-film-controls{position:absolute;top:16px;left:16px;right:16px;z-index:3;display:flex;justify-content:space-between;gap:10px}
 .mobile-film-controls button{min-height:44px;padding:10px 15px;border-radius:24px;border:1px solid #ffffff66;background:#041722b8;color:#fff;font:600 13px/1.3 inherit;backdrop-filter:blur(10px)}
 .mobile-film-next{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:2px;padding:9px 20px;color:white;background:#041722b8;border:1px solid #ffffff40;border-radius:22px;font-size:12px;z-index:2}
 .mobile-film-next span:last-child{font-size:22px}
 .mobile-film-status{position:absolute;bottom:95px;left:20px;right:20px;text-align:center;color:white;font-size:13px;text-shadow:0 1px 5px black}
 .mobile-film-fallback{position:absolute;inset:40% 10% auto;text-align:center;background:#052938;color:white;padding:16px}
 .mobile-dock{display:block;position:fixed;inset:auto 0 0;z-index:100;height:var(--mobile-bottom);padding:7px max(8px,env(safe-area-inset-right,0px)) calc(7px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));background:linear-gradient(#092c3af5,#031a27);border-top:1px solid #81e6ed55;box-shadow:0 -5px 25px #00101c55;backdrop-filter:blur(16px)}
 .mobile-dock-links{height:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;max-width:540px;margin:auto}
 .mobile-dock-link{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;border-radius:12px;transition:transform .15s,filter .15s}
 .mobile-dock-art{display:block;width:100%;height:100%;background-image:url('/art/mobile-satin-dock.png');background-size:500% 145%;background-position:var(--dock-position) center;background-repeat:no-repeat}
 .mobile-dock-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .mobile-dock-link:active{transform:scale(.94);filter:brightness(1.2)}
 .mobile-dock-link:focus-visible,.mobile-film-controls button:focus-visible,.mobile-film-next:focus-visible{outline:3px solid #e7ffff;outline-offset:3px}
 .mobile-dock-link[aria-current="page"]{box-shadow:0 0 0 2px #bdffff,0 0 16px #39c7d688}
 @media(max-height:650px){.sota-home .hero-proof{height:90px}.sota-home .hero-proof .denture-art{height:90px}.sota-home .hero{gap:8px}.sota-home .hero h1{font-size:29px}.sota-home .section{padding-top:18px;padding-bottom:18px}}
}
@media(max-width:599px) and (prefers-reduced-motion:reduce), (max-width:767px) and (orientation:landscape) and (prefers-reduced-motion:reduce){html.mobile-sections{scroll-behavior:auto;scroll-snap-type:y proximity}.mobile-film-frame iframe,.mobile-dock-link{transition:none}}
