/* Exact scoped landing layout cure; preserves all content, video and navigation. */
.pw-app.ppx-active .pw-landing.r27-home{max-width:min(100%,1328px);margin:0 auto;min-width:0}
.pw-app.ppx-active .pw-hero.r27-hero{min-width:0;box-sizing:border-box;display:block;padding:clamp(32px,4.7vw,70px) 39% 100px clamp(24px,3.6vw,49px);min-height:640px;height:auto;overflow:hidden!important}
.pw-app.ppx-active .pw-hero.r27-hero > .r27-instrument{position:absolute;right:clamp(18px,2.5vw,34px);bottom:90px;left:auto;top:auto;width:clamp(240px,28%,350px);max-width:calc(100% - 40px);margin:0;z-index:5;padding:clamp(15px,1.8vw,24px)}
.pw-app.ppx-active .pw-hero.r27-hero h2{font-size:clamp(40px,4.4vw,69px)!important;max-width:100%;overflow-wrap:normal}
.pw-app.ppx-active .pw-hero.r27-hero .pw-hero-search,.pw-app.ppx-active .pw-hero.r27-hero .pw-hero-search input{max-width:100%;box-sizing:border-box}
.pw-app.ppx-active .pw-hero.r27-hero .r27-motion-toggle{z-index:8;right:20px;bottom:18px}
.pw-app.ppx-active .pw-research-steps{min-width:0}
.pw-app.ppx-active .pw-research-step{min-width:0}
@media(max-width:1199px){
 .pw-app.ppx-active .pw-hero.r27-hero{padding:clamp(28px,4.5vw,48px) clamp(20px,4vw,40px) 92px!important;min-height:0}
 .pw-app.ppx-active .pw-hero.r27-hero h2{max-width:780px;font-size:clamp(38px,5.5vw,60px)!important}
 .pw-app.ppx-active .pw-hero.r27-hero > p{max-width:740px}
 .pw-app.ppx-active .pw-hero.r27-hero > .r27-instrument{position:relative!important;inset:auto!important;width:100%;max-width:100%;margin:28px 0 0;box-sizing:border-box}
 .pw-app.ppx-active .pw-hero.r27-hero .r27-motion-toggle{bottom:17px;right:17px}
}
@media(max-width:740px){
 .pw-app.ppx-active .pw-landing.r27-home{padding:12px 12px 42px}
 .pw-app.ppx-active .pw-hero.r27-hero{margin:0;padding:29px 18px 92px!important;min-height:0;border-radius:19px!important}
 .pw-app.ppx-active .pw-hero.r27-hero h2{font-size:clamp(34px,8.7vw,49px)!important;line-height:1.075!important;letter-spacing:-.045em!important}
 .pw-app.ppx-active .pw-hero.r27-hero > p{font-size:13px;line-height:1.65}
 .pw-app.ppx-active .pw-hero.r27-hero .pw-hero-search{width:100%}
 .pw-app.ppx-active .pw-hero.r27-hero .pw-hero-search input{min-width:0;width:100%;min-height:50px!important}
 .pw-app.ppx-active .pw-hero.r27-hero > .r27-instrument{margin-top:28px;padding:16px!important;border-radius:15px}
 .pw-app.ppx-active .pw-hero.r27-hero .r27-instrument-title{font-size:22px;line-height:1.25}
 .pw-app.ppx-active .r27-instrument-links{flex-wrap:wrap;gap:0 15px}
 .pw-app.ppx-active .r27-instrument-links a{min-width:130px}
 .pw-app.ppx-active .pw-hero.r27-hero #hero-cta > div{display:flex!important;flex-wrap:wrap;gap:9px}
 .pw-app.ppx-active .pw-hero.r27-hero #hero-cta a{min-width:0}
 .pw-app.ppx-active .pw-hero.r27-hero .pw-hero-stats{flex-wrap:wrap}
 .pw-app.ppx-active .pw-topbar .pw-brand{min-width:0}
 .pw-app.ppx-active .pw-topbar .pw-brand h1{white-space:normal;overflow-wrap:anywhere}
 .pw-app.ppx-active .pw-topbar nav{max-width:100%}
}
@media(max-width:390px){
 .pw-app.ppx-active .pw-topbar{padding:7px 9px;gap:5px}
 .pw-app.ppx-active .pw-topbar .pw-logo{width:40px;height:40px;flex-basis:40px}
 .pw-app.ppx-active .pw-topbar .pw-brand h1{font-size:13px}
 .pw-app.ppx-active .ppx-icon-btn{min-width:36px;width:36px;height:38px;padding:0}
 .pw-app.ppx-active .pw-hero.r27-hero{padding-left:14px!important;padding-right:14px!important}
}

/* Keep the functional Hypatia chat; suppress redundant legacy floating chat only when the modern launcher exists. */
body:has(.ppx-chat-fab) .pw-chat-fab{display:none!important}

/* Fixed cinematic controls: do not inherit the broad hero child relative-position rule. */
.pw-app.ppx-active .pw-hero.r27-hero > .r27-motion-toggle{position:absolute!important;top:auto!important;left:auto!important;right:22px!important;bottom:18px!important;z-index:10!important;margin:0!important}
