.stage{position:absolute;left:645px;top:190px;width:850px;height:700px;color:var(--ink)}
.floor{position:absolute;left:25px;top:555px;width:810px;height:110px;border-radius:50%;background:linear-gradient(180deg,#bdd8f422,#b7d2ee77);box-shadow:0 25px 40px #a7c8e729}
.chat{position:absolute;left:55px;top:40px;width:425px;padding:22px;background:#ffffffed;border:1px solid #d0e0f0;border-radius:24px;box-shadow:0 20px 45px #153d7410;transform:rotate(-3deg)}
.chat-head{display:flex;gap:12px;align-items:center;padding-bottom:15px;border-bottom:1px solid #e1ebf6}.human-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#dcecff;color:#0755F5;font-size:23px;font-weight:750}.chat-head b{font-size:21px}.chat-head small{display:block;font-size:15px;color:#60718d;margin-top:3px}.chat-head i{width:8px;height:8px;border-radius:50%;background:#5eae84;margin-left:auto}
.message{font-size:20px;line-height:1.35;padding:12px 17px;border-radius:16px;max-width:310px}.request{margin:17px 0 12px auto;background:#0755F5;color:white;border-bottom-right-radius:4px}.request small{display:block;font-size:13px;opacity:.8;margin-bottom:4px}.answer{background:#edf4fc;border-bottom-left-radius:4px;font-size:18px;position:relative}.answer span{font-size:12px;color:#507bb0;position:absolute;right:12px;bottom:6px}
.back-paper{position:absolute;left:595px;top:85px;width:140px;height:150px;background:#ffffffa6;border:1px solid #c9ddef;border-radius:12px;transform:rotate(13deg);box-shadow:0 10px 20px #2357960a;padding:22px}.back-paper span{display:block;height:8px;background:#b8d5f2;border-radius:4px;margin-bottom:12px}.back-paper span:nth-child(2){width:70%}.back-paper span:nth-child(3){height:50px;background:linear-gradient(90deg,#c4e1ff 30%,transparent 30%,transparent 36%,#a4caf1 36%,#a4caf1 64%,transparent 64%,transparent 70%,#8fb9e6 70%)}
.presentation{position:absolute;left:290px;top:300px;width:465px;padding:16px;background:#fff;border:1px solid #c8dbee;border-radius:18px;box-shadow:0 24px 45px #1a4b8520;transform:rotate(3deg);z-index:3}.document-top{display:flex;align-items:center;gap:9px;font-size:17px;margin-bottom:13px}.file-icon{color:#0755f5;font-size:24px}.done{margin-left:auto;color:#326849;background:#edf7ec;border-radius:20px;padding:5px 10px;font-size:12px}.slide{height:205px;display:flex;background:#e7f1ff;border-radius:10px;padding:25px;gap:15px;overflow:hidden}.slide-copy{width:230px}.slide-copy small{font-size:10px;letter-spacing:1.8px;color:#5f7ca1}.slide-copy b{display:block;font-size:29px;line-height:1.15;margin-top:12px;color:#163467}.slide-line{height:4px;width:125px;background:#aec8e9;margin-top:15px;border-radius:3px}.slide-line.short{width:85px;margin-top:7px}.chart{display:flex;align-items:flex-end;gap:9px;flex:1;padding-bottom:15px;transform:rotate(-7deg)}.chart i{width:27px;border-radius:7px 7px 0 0;background:#0755f5;height:62px}.chart i:nth-child(2){height:91px;background:#528bfc}.chart i:nth-child(3){height:125px;background:#93b9ff}.document-foot{font-size:13px;color:#657b96;padding-top:12px}
.sprite{position:absolute;background-size:200% 200%;background-repeat:no-repeat;width:190px;height:190px;z-index:4;filter:drop-shadow(0 14px 8px #1c51851a)}
.kontur{background-image:url('assets/agent-kontur.webp');background-position:100% 100%;left:3px;top:340px;width:205px;height:205px}
.ritm{background-image:url('assets/agent-ritm.webp');background-position:0 100%;left:555px;top:132px;width:160px;height:160px}
.fokus{background-image:url('assets/agent-fokus.webp');background-position:0 100%;left:160px;top:470px;width:170px;height:170px}
.tochka{background-image:url('assets/agent-tochka.webp');background-position:100% 100%;left:640px;top:425px;width:205px;height:205px}
.handover{position:absolute;left:320px;top:630px;display:flex;align-items:center;gap:9px;font-size:17px;font-weight:650;color:#29476d}.handover span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#c8e2fe;color:#0755f5}
.caption{left:650px;bottom:60px;width:850px;font-size:25px}.stage *{animation:none!important}

.preview-viewport{position:relative;width:100%;overflow:hidden}.screen{transform-origin:top left}.preview-controls{display:flex;align-items:center;justify-content:center;gap:12px;padding:18px;font:14px Manrope;color:#426180;background:#f5faff}.preview-controls button{font:600 14px Manrope;padding:9px 16px;border-radius:22px;border:1px solid #a9c8e8;color:#163467;background:white;cursor:pointer}.preview-controls button:focus-visible{outline:3px solid #0755f5;outline-offset:3px}.preview-controls button:disabled{opacity:.45;cursor:default}.stage .transfer-sheet{position:absolute;width:55px;height:68px;background:#fff;border:1px solid #b8d0e9;border-radius:7px;box-shadow:0 5px 14px #27589219;z-index:5;padding:12px 9px;pointer-events:none}.transfer-sheet i{display:block;height:4px;border-radius:2px;margin-bottom:7px;background:#82b5ec}.transfer-sheet i:nth-child(2){width:70%}.transfer-sheet i:last-child{height:17px;background:#d0e4fb}.stage .check-ring{position:absolute;left:670px;top:349px;width:70px;height:70px;border-radius:50%;border:3px solid #9ed140;box-shadow:0 0 0 10px #c9e79125;z-index:6;pointer-events:none}.stage{isolation:isolate}

/* Semantic episodes: transient elements only; final composition is unchanged. */
.episode{position:absolute;z-index:5;pointer-events:none}.work-panel{left:260px;top:330px;width:475px;background:#fff;border:1px solid #bfd7ef;border-radius:18px;padding:20px 23px;box-shadow:0 15px 32px #244f8015}.work-panel h3{font-size:21px;margin:0 0 16px;color:#163467}.brief-row{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-top:1px solid #e5edf6;font-size:17px}.brief-row b{font-weight:650}.brief-row span{color:#426180}.brief-row .question{color:#0755f5}.status-panel{padding:26px 23px}.status-panel h3{font-size:19px}.status-track{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding-top:11px}.status-track span{background:#eff4fa;color:#71829b;border-radius:10px;padding:13px 4px;text-align:center;font-size:15px;position:relative;z-index:2}.status-light{position:absolute;left:0;top:11px;width:136px;height:46px;border-radius:10px;background:#0755f5;z-index:3}.status-light b{display:block;color:white;text-align:center;font-size:15px;line-height:46px}.episode-label{left:55px;top:670px;width:755px;display:flex;align-items:center;gap:12px;font-size:18px;line-height:1.35;color:#27476d}.episode-label b{white-space:nowrap;border-radius:20px;background:white;color:#0755f5;font-size:17px;padding:7px 13px;box-shadow:0 3px 12px #174c7910}.materials{left:545px;top:35px;width:250px;background:#fff;border:1px solid #bfd7ef;border-radius:15px;padding:17px;box-shadow:0 12px 25px #244f8012}.materials h3{font-size:17px;margin:0 0 14px;color:#163467}.material{padding:10px 11px;margin-top:8px;background:#e8f2ff;color:#2c5484;font-size:14px;border-radius:8px;transform-origin:right center}.human-step{left:302px;top:620px;background:white;border:1px solid #bcd5ed;border-radius:20px;padding:9px 15px;color:#1b426d;font-size:16px;box-shadow:0 5px 14px #244f800c}.human-step:before{content:'К';display:inline-grid;place-items:center;background:#dfecfd;border-radius:50%;width:23px;height:23px;margin-right:8px;font-size:13px;color:#0755f5}.review-panel{left:42px;top:355px;width:248px;padding:18px}.review-panel h3{font-size:18px;margin-bottom:15px}.review-row{display:flex;align-items:center;gap:9px;font-size:15px;padding:10px 0;border-top:1px solid #e5edf6}.tick-box{position:relative;display:inline-block;width:22px;height:22px;border:1px solid #94b7db;border-radius:6px;background:#f4f9ff;flex-shrink:0}.tick{position:absolute;inset:0;text-align:center;color:#0755f5;font-weight:800;line-height:21px}.role-glow{position:absolute;left:287px;top:290px;width:475px;height:320px;border:2px solid #a9cbee;border-radius:20px;pointer-events:none;z-index:2}

/* Integration retains scene coordinates; only its containing scale adapts. */
.hero-visual.hero-animation{left:40%;width:60%;top:12px;margin:0;max-width:none}
.hero-scene-viewport{position:relative;width:100%;overflow:visible;isolation:isolate}
.hero-scene-viewport:before{content:'';position:absolute;inset:2% -3% 4% -3%;border-radius:54% 46% 38% 62%/48% 54% 46% 52%;background:radial-gradient(ellipse at 55% 35%,#edf7ff,#d4eaff);z-index:-1}
.hero-animation .stage{position:absolute;left:0;top:0;width:850px;height:730px;transform-origin:top left;line-height:normal;font-weight:400;font-size:17px;letter-spacing:normal;color:#101a3c}
.hero-animation .stage h3{letter-spacing:normal;line-height:normal;font-weight:700}
.hero-animation .stage .sprite{filter:drop-shadow(0 14px 8px #1c51851a)}
.hero-animation .preview-controls{padding:5px 0 0;background:transparent;gap:8px;line-height:1.2}
.hero-animation .preview-controls button{font-size:12px;padding:5px 12px;min-height:28px;border-color:#abc9e7}
.hero-animation .preview-controls #motion-status{display:none}
.hero-animation figcaption{font-size:17px;line-height:1.35;padding:0;margin:3px 0 0;white-space:normal}
@media(min-width:600px) and (max-width:899px){.hero-visual.hero-animation{left:38%;width:62%;top:48px}.hero-animation figcaption{font-size:15px}.hero-animation .episode-label{font-size:calc(14px / var(--scene-scale));gap:12px;align-items:flex-start;line-height:1.3}.hero-animation .episode-label b{font-size:calc(13px / var(--scene-scale));padding:5px 9px}.hero-animation .episode-label span{max-width:480px}.hero-animation .stage{height:790px}}
@media(max-width:599px){.hero-visual.hero-animation{position:relative;left:auto;top:auto;width:100%;margin:28px 0 0;max-width:none}.hero-animation figcaption{font-size:15px}.hero-animation .episode-label{font-size:calc(14px / var(--scene-scale));line-height:1.3;gap:12px;align-items:flex-start}.hero-animation .episode-label b{font-size:calc(13px / var(--scene-scale));padding:5px 9px}.hero-animation .episode-label span{max-width:480px}.hero-animation .stage{height:790px}}

/* Hero repair: crisp text, one calm caption zone, continuous delivery loop. */
#hero.hero{background:transparent!important}
.hero-animation .stage{height:650px;transform:none}
.hero-animation .chat,.hero-animation .presentation{transform:none;background:#fff}
.hero-animation .chat{top:25px;border-color:#d7e5f3;box-shadow:0 12px 28px #153d740c}
.hero-animation .chat-head b{font-size:23px;color:#101a3c}
.hero-animation .chat-head small{font-size:16px;color:#516781}
.hero-animation .presentation{top:310px}
.hero-animation .floor{top:545px;height:85px;box-shadow:none;background:radial-gradient(ellipse,#b7d2ee55,transparent 70%)}
.hero-scene-viewport:before{inset:0 -2% -2%;border-radius:0;background:radial-gradient(ellipse at 57% 48%,#d8ecff 0%,#e6f3ff 48%,#f5faff00 72%)}
.hero-animation .handover{left:320px;top:610px;color:#24476b;font-size:19px;line-height:1.35}
.hero-animation .delivery-message{position:absolute;left:22px;right:22px;top:210px;background:#edf4fc;border-radius:14px;padding:12px 15px;font-size:18px;line-height:1.35}
.delivery-message b{display:block;font-size:17px;font-weight:600}.delivery-file{display:flex;align-items:center;gap:8px;margin-top:9px;padding:9px 12px;background:white;border:1px solid #cfdfef;border-radius:8px;color:#0755f5}.delivery-file i{margin-left:auto;font-style:normal;font-size:14px}
.hero-animation .scene-comment{position:relative;height:78px;margin:4px 0 0;border-top:1px solid #c9dff0}
.hero-animation .scene-comment-item{position:absolute;inset:13px 10px auto;text-align:center;display:grid;gap:5px;font-size:16px;line-height:1.35;color:#314c6b}
.hero-animation .scene-comment-item b{font-size:15px;color:#0755f5;font-weight:750}
.hero-animation .scene-footer{display:flex;align-items:center;justify-content:center;gap:16px;min-height:32px;margin:0}
.hero-animation .scene-footer figcaption{padding:0;margin:0;font-size:15px;line-height:1.3;font-weight:600;white-space:normal}
.hero-animation #pause{border:0;background:transparent;color:#4e6886;padding:4px 0;font:500 12px/1.4 Manrope,sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer;flex-shrink:0}
.hero-animation #pause:focus-visible{outline:2px solid #0755f5;outline-offset:4px}
.hero-animation #pause:disabled{display:none}
@media(min-width:600px) and (max-width:899px){
 .hero-visual.hero-animation{top:22px;left:38%;width:62%}
 .hero-animation .scene-comment{height:100px}
 .hero-animation .scene-comment-item{inset:12px 2px auto;font-size:15px;gap:5px}
 .hero-animation .scene-footer{gap:8px;align-items:start}
 .hero-animation .scene-footer figcaption{font-size:13px;max-width:270px}
}
@media(max-width:599px){
 .hero-visual.hero-animation{margin-top:24px}
 .hero-animation .scene-comment{height:92px}
 .hero-animation .scene-comment-item{font-size:15px;inset:12px 0 auto}
 .hero-animation .scene-footer{gap:10px;align-items:start}
 .hero-animation .scene-footer figcaption{font-size:13px}
 .hero-animation .stage{height:650px}
 #hero.hero{padding-bottom:26px}
}

.hero-animation .presentation{top:300px}.hero-animation .slide{height:180px}.hero-animation .handover{top:618px}
.hero-animation .delivery-message{top:112px}

/* Latest approved hero CTA and deliberate sentence break. */
.hero-scene-viewport:before{inset:0;background:radial-gradient(ellipse closest-side at 50% 50%,#d8ecff 0%,#e6f3ff 58%,#f5faff00 100%)}
#hero .hero-cta{width:100%;max-width:330px;min-height:60px;padding:16px 26px;border-radius:16px;background:#167044;color:#fff;font-weight:800;font-size:24px;box-shadow:0 7px 16px #16704420;animation:hero-cta-color 3.6s ease-in-out infinite}
#hero .hero-cta:hover{background:#125d38;box-shadow:0 8px 20px #16704430;animation-play-state:paused}
#hero .hero-cta:focus-visible{outline:3px solid #87cfa1;outline-offset:4px}
@keyframes hero-cta-color{0%,100%{background-color:#176c43}50%{background-color:#20844e}}
@media(min-width:600px) and (max-width:899px){#hero .hero-cta{font-size:18px;padding:14px 12px;min-height:54px;max-width:230px}}
@media(max-width:599px){#hero .hero-cta{font-size:22px;min-height:58px;max-width:330px}}
@media(prefers-reduced-motion:reduce){#hero .hero-cta{animation:none}}
