/* Cues 9.3 — device-aware layout, progressive enhancement, no scroll trapping. */
:root{--device-header:77px;--device-bottom:0px;--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px)}
html{scroll-padding-top:calc(var(--device-header) + 12px);scroll-padding-bottom:calc(var(--device-bottom) + 12px)}
body{padding-left:var(--safe-left);padding-right:var(--safe-right)}
header{padding-top:env(safe-area-inset-top,0px)}
button,a,input,select,summary{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:2px solid #0768de;outline-offset:3px}
.c8-tabs button,.c9-tabs button,.journey-tabs button,.c7-steps button,.lang button{touch-action:manipulation}
.c8-stage,.c9-stage,.journey-visual,.c7-stage{touch-action:pan-y pinch-zoom}
.c8-xray-grid>* , .audience-grid>*, .toolgrid>*, .hero-grid>*, .split>*, .atlas-shell>*, .c8-market-grid>* , .c7-net-shell>* {min-width:0}
.c8-xray-stage .c8-xray-layer{touch-action:manipulation}
.device-cta{display:none}
.device-offscreen .c7-edge-flow,.device-offscreen .c9-live-pulse,.device-offscreen .pin-core,.device-offscreen .product-kinetic i,.device-offscreen .jpath,.device-offscreen .c7-node .halo{animation-play-state:paused!important}
/* Tablet and compact laptops: keep navigation available without crowding the logo. */
@media(max-width:1050px){
 .menu{display:grid;place-items:center;min-width:44px;min-height:44px}
 .navlinks{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:12px max(16px,env(safe-area-inset-left,0px));flex-direction:column;gap:0;max-height:calc(100dvh - var(--device-header) - 12px);overflow-y:auto;overscroll-behavior:contain}
 .navlinks.open{display:flex}.navlinks a{font-size:15px;display:flex;align-items:center;min-height:44px;padding:8px 12px;border-radius:10px}.navlinks a:focus-visible,.navlinks a:hover{background:#edf6ff}
 .navend .btn{display:none}.navend{gap:6px}
}
@media (min-width:761px) and (max-width:850px){.journey-layout{grid-template-columns:1fr;gap:16px}.journey-visual{height:clamp(280px,36svh,380px)}.journey-chapter h2{font-size:clamp(30px,5vw,46px)}.journey-wrap{gap:14px}}
@media(max-width:760px){
 .nav{height:66px}.nav .brand{gap:4px}.navlinks{top:100%}.wrap,.c9-shell.wrap{width:calc(100% - 32px)}
 .hero h1{font-size:clamp(34px,9vw,54px)}.hero p{line-height:1.55}.hero .actions .btn{min-height:44px}.hero .actions{flex-wrap:wrap}.hero .micro{flex-wrap:wrap}
 .c8-shell{gap:10px}.c8-layout{gap:12px}.c8-stage{height:clamp(250px,36svh,355px)}.c8-chapter h2{font-size:clamp(27px,7vw,39px);line-height:1.08}.c8-chapter p{line-height:1.5}.c8-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px 8px}.c8-tabs button{min-height:41px;font-size:10px;padding:5px 2px;gap:2px}.c8-tabs button>span:last-child{font-size:10px;overflow-wrap:normal}.c8-top{letter-spacing:.04em}.c8-stagefoot{font-size:10px}.c8-assets{padding:30px 12px;gap:6px}.c8-assets .c8-layer{max-width:93%;min-width:0}
 .c8-xray-grid{gap:24px}.c8-xray-buttons button,.c8-universe-buttons button,.c7-net-controls button,.atlas-rotate button{min-height:44px;min-width:44px}.c8-xray-stage .c8-xray-layer{min-height:48px}.c8-provider-links{gap:12px}
 .c7-net-canvas svg{min-height:245px}.c7-net-controls{gap:8px}.c7-net-footer{flex-wrap:wrap}.c8-scan-controls{flex-wrap:wrap}.c9-tabs button,.journey-tabs button,.c7-steps button{min-height:44px}
 .atlas-list{max-height:min(350px,48vh)}.atlas-directory input,.field input,.field select,.atlas-directory select,.tool input,.tool select{font-size:16px}.atlas-rotate{right:12px}.atlas-hint{white-space:normal;max-width:55%}.atlas-detail{flex-wrap:wrap}.atlas-detail .btn{font-size:12px;min-height:40px}
 .c7-lens{padding:10px}.c7-tour .wrap{width:calc(100% - 32px)}.c7-chapters{min-height:152px}.c7-ui-number{overflow-wrap:anywhere}.source-names{gap:10px 16px}.closing .btn{white-space:normal}
 .device-cta{position:fixed;z-index:25;left:calc(12px + var(--safe-left));right:calc(12px + var(--safe-right));bottom:calc(10px + env(safe-area-inset-bottom,0px));display:flex;justify-content:center;align-items:center;gap:10px;min-height:48px;background:#086bdc;color:white!important;border-radius:16px;box-shadow:0 6px 24px #0753a52b;font-size:14px;font-weight:700;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .2s,transform .25s,visibility .2s;pointer-events:none}
 html.device-dock .device-cta{visibility:visible;opacity:1;transform:none;pointer-events:auto}html.device-dock{--device-bottom:68px}body{padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:360px){
 .wrap,.c9-shell.wrap,.c7-tour .wrap{width:calc(100% - 24px)}.nav .brand{font-size:22px}.nav .brand svg{width:28px;height:28px}.navend{gap:3px}.lang{gap:1px}.lang button{padding:7px;min-width:32px}.menu{min-width:40px}
 .hero h1{font-size:clamp(31px,10vw,38px)}.hero .actions .btn{width:100%;justify-content:center}.hero .demo{min-width:0}.demo-head{flex-wrap:wrap}.demo-inner{padding:12px}.quote strong,.big-number{font-size:27px}.minirow{gap:5px;font-size:11px}
 .audience-buttons{grid-template-columns:minmax(0,1fr)}.audience-buttons button{width:100%;min-width:0}.audience-panel{padding:19px}.audience-panel h3{font-size:26px}.c8-tabs button>span:last-child{font-size:9px;overflow-wrap:anywhere}.c8-stage{height:250px}.c8-stagehead,.c8-stagefoot{font-size:9px}.c8-stagefoot{gap:4px}.c8-stagefoot span:first-child{max-width:82%}.c8-xray-buttons{gap:5px}.c8-xray-buttons button{padding:7px 10px}.c8-market-card{padding-inline:12px}.c8-time label{flex-wrap:wrap}.c7-chapters{min-height:177px}.c7-net-controls button{width:44px;height:44px}.c9-kicker{font-size:9px}.c9-tabs button{overflow-wrap:anywhere}.c9-stage{max-height:none}.c8-universe canvas{height:220px}.atlas-hint{font-size:9px}.footer-links{gap:10px}
}
@media(max-height:650px) and (orientation:landscape){.nav{height:58px}.c8-stage{height:clamp(260px,65vh,380px)}.c9-stage{max-height:none}.device-cta{display:none!important}body{padding-bottom:env(safe-area-inset-bottom,0px)}}
/* Large monitors and TV/4K CSS viewports: enlarge scenes and retain sensible line lengths. */
@media(min-width:2000px){
 .wrap,.c9-shell.wrap{width:min(1720px,calc(100% - 140px))}.nav{height:90px}.navlinks{gap:32px;font-size:17px}.navlinks a{font-size:16px}.nav .brand{font-size:35px}.nav .brand svg{width:46px;height:46px}.navend .btn{font-size:15px}.hero h1{font-size:clamp(76px,4.7vw,108px)}.hero p,.intro p,.split p{font-size:20px}.hero-grid{gap:80px}.hero{padding-block:110px}.section{padding-block:110px}.intro h2,.split h2,.story-copy h2{font-size:clamp(56px,3.8vw,82px)}.c8-stage{height:clamp(580px,52vh,850px)}.c8-layout,.c9-grid,.c7-tour-layout,.journey-layout{gap:60px}.c8-chapter h2,.c9-copy h2,.c7-chapter h2,.journey-chapter h2{font-size:clamp(58px,3.8vw,86px)}.c8-chapter p,.c9-copy p,.journey-chapter p,.c7-chapter p{font-size:20px;max-width:540px}.c8-tabs button,.c9-tabs button,.journey-tabs button{font-size:15px;min-height:55px}.c8-stagehead,.c8-stagefoot,.c9-kicker,.c7-kicker{font-size:13px}.journey-visual{height:clamp(460px,48vh,760px)}.c7-morph{height:190px}.c7-stage{padding:25px}.c7-lens{min-height:260px}.c7-ui{min-height:190px}.atlas-globe{height:560px}.atlas-list{max-height:500px}.c7-net-canvas svg{min-height:400px}.c8-xray-stage .c8-xray-layer{min-height:65px}.c8-xray-stage .c8-xray-layer b{font-size:18px}.x92-inner{font-size:16px}.c8-universe canvas{min-height:400px}
}
@media(min-width:2000px) and (max-height:1000px){.c8-stage{height:clamp(300px,50vh,580px)}.c8-chapter h2,.c9-copy h2,.c7-chapter h2,.journey-chapter h2{font-size:clamp(40px,5vh,65px)}.c9-stage{max-height:55vh}.journey-visual{height:clamp(300px,50vh,500px)}}
@media(prefers-reduced-motion:reduce){.device-cta{transition:none}.device-offscreen *{animation-play-state:paused!important}}
@media print{header,.device-cta,.c7-flow-rail,.c9-ambient,.c9-hero-track{display:none!important}body{padding:0}.c8-cinema,.c7-tour,.journey,.c9-scene{height:auto!important}.c8-pin,.c7-pin,.journey-pin,.c9-pin{position:relative!important;height:auto!important;top:auto!important}.section{padding-block:28px}.wrap{width:100%}.product,.tool,.article{break-inside:avoid}}
@media(max-width:360px){.btn{max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;justify-content:center}.audience-panel .btn,.tool .btn{width:100%}.atlas-detail .btn{width:auto}.c8-stage .main-global{max-width:90%}}
@media (min-width:660px) and (max-width:1050px) and (max-height:650px) and (orientation:landscape){
 .c8-layout,.c9-grid,.journey-layout,.c7-tour-layout{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:20px;align-items:center}.c8-stage,.journey-visual{height:clamp(230px,65vh,350px)}.c9-stage{max-height:clamp(230px,65vh,350px);aspect-ratio:700/440}.c8-chapter h2,.c9-copy h2,.journey-chapter h2,.c7-chapter h2{font-size:clamp(25px,4vw,36px)}.c8-chapter p,.c9-copy p,.journey-chapter p,.c7-chapter p{font-size:13px;margin:10px 0}.c7-chapters{min-height:180px}.c8-shell,.c9-shell,.journey-wrap{gap:12px}.c8-pin,.c9-pin,.journey-pin,.c7-pin{padding-block:24px}.c8-tabs{grid-template-columns:repeat(7,minmax(0,1fr))}.c8-tabs button{font-size:10px;overflow-wrap:anywhere}
}
.journey{--journey-top:var(--device-header)}
@media(max-width:360px){.telegram{min-width:0!important;max-width:100%;width:100%;transform:none!important;translate:none!important}.tg-head,.tg-body,.tg-options{min-width:0;max-width:100%}.tg-head{gap:7px}.tg-options button{min-width:0;overflow-wrap:anywhere;white-space:normal}.tg-head>div{min-width:0;overflow-wrap:anywhere}}
@media (min-width:761px) and (max-width:1050px){.navend .btn{display:inline-flex;min-height:44px}}
