.how-heading,.how-steps,.why-smorlay,.closing-section>h2,.closing-section>p,.closing-faq,.closing-systems{position:relative;z-index:1}
.how-step{transition:transform .45s,border-color .45s,box-shadow .45s;--step-light:50%}
.how-step:hover{box-shadow:0 12px 40px #0005,0 0 28px #efb16c25;border-color:#f1bd82}
.how-step:before{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;z-index:0;background:radial-gradient(ellipse at var(--step-light) 40%,#ffce8c22,transparent 65%);opacity:0;transition:opacity .6s}
.how-step:hover:before{opacity:1}.how-step .step-copy{position:relative;z-index:1}.step-number{transition:box-shadow .5s,filter .5s}
.how-section.in-view .step-number{animation:number-breathe 6.5s ease-in-out infinite}.how-section.in-view .how-step:nth-child(2) .step-number{animation-delay:-2.1s}.how-section.in-view .how-step:nth-child(3) .step-number{animation-delay:-4.3s}
@keyframes number-breathe{0%,100%{box-shadow:0 0 10px #f7b66b22}50%{box-shadow:0 0 24px #f7b66b55,inset 0 0 15px #f8ce8033}}
.section-dust{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}.section-dust i{position:absolute;width:2px;height:2px;border-radius:50%;background:#f2c393;box-shadow:0 0 8px #ffb86a88;opacity:0;animation:chapter-dust var(--dust-time,10s) ease-in-out infinite;animation-play-state:paused}
.in-view>.section-dust i{animation-play-state:running}
@keyframes chapter-dust{0%,100%{opacity:0;transform:translateY(14px) scale(.5)}35%{opacity:.55}75%{opacity:.15;transform:translateY(-32px) scale(1)}}
.closing-section{overflow:clip}.closing-section:before{content:'';position:absolute;width:min(650px,90vw);height:380px;left:50%;top:20%;transform:translateX(-50%);background:radial-gradient(ellipse,#c880581b,#9f497b10 40%,transparent 70%);pointer-events:none;opacity:.55}
.closing-section.in-view:before{animation:closing-halo 9s ease-in-out infinite}@keyframes closing-halo{0%,100%{opacity:.4;transform:translateX(-50%) scale(.9)}50%{opacity:.95;transform:translateX(-50%) scale(1.12)}}
.closing-button{position:relative;isolation:isolate;overflow:hidden;z-index:2;box-shadow:0 7px 25px #0004,0 0 33px #ec9c4c44,inset 0 1px 0 #fff2ccaa;transition:transform .35s,box-shadow .35s,filter .35s;background:linear-gradient(115deg,#ffe0aa,#efb870 45%,#db914c);border-color:#ffd08f}
.closing-button:before{content:'';position:absolute;inset:-70% -50%;z-index:-1;background:linear-gradient(110deg,transparent 36%,#fff8d833 45%,#fff8d888 50%,#fff8d833 55%,transparent 64%);transform:translateX(-65%);pointer-events:none;animation:cta-sheen 9s ease-in-out infinite;animation-play-state:paused}
.in-view .closing-button:before{animation-play-state:running}.closing-button:hover{filter:brightness(1.08);box-shadow:0 10px 28px #0004,0 0 45px #f7ad5f66}.closing-button:hover span{transform:translateX(3px);background:#fff6e266}.closing-button span{transition:transform .3s,background .3s}
@keyframes cta-sheen{0%,40%{transform:translateX(-65%)}65%,100%{transform:translateX(65%)}}
.how-action{position:relative;z-index:2;align-self:center;display:inline-flex;align-items:center;justify-content:space-between;gap:25px;min-height:48px;margin:28px auto 0;padding:12px 22px;border-radius:30px;border:1px solid #d9a36b;background:linear-gradient(120deg,#633829bb,#3b1e2ee6);color:#ffe1b7;font-size:13px;box-shadow:0 0 20px #d1884820;transition:box-shadow .35s,transform .35s}.how-action:hover{box-shadow:0 0 28px #e4a45c44;transform:translateY(-2px)}.how-action span{font-size:20px;line-height:1}
.section-dust.is-paused i{animation-play-state:paused!important}
@media(max-width:620px){.how-action{margin-top:24px;font-size:12px}.closing-button{min-width:265px}.closing-section:before{top:15%;height:300px}}
@media(prefers-reduced-motion:reduce){.section-dust{display:none}.step-number,.closing-section:before,.closing-button:before{animation:none!important}.closing-button:hover span,.how-action:hover{transform:none}}
/* Motion stays scoped to chapters 2-4. */
.chapter-motion .chapter-word{display:inline-block;white-space:pre-wrap}
.chapter-motion .questions-top,.chapter-motion .question-grid,.chapter-motion .question-note,.chapter-motion .question-benefits{position:relative;z-index:1}
.chapter-motion .section-dust i{width:3px;height:3px;box-shadow:0 0 12px #ffcb8a99}
.chapter-motion.in-view .section-dust i:nth-child(3n){animation-duration:15s;width:2px;height:2px}
.chapter-motion .how-steps{position:relative}
.chapter-motion .how-steps:before{content:'';position:absolute;left:10%;right:10%;top:45%;height:1px;background:linear-gradient(90deg,transparent,#d6a26566,transparent);pointer-events:none;z-index:0}
.chapter-motion .how-steps:after{content:'';position:absolute;left:0;top:45%;width:85px;height:3px;border-radius:50%;background:linear-gradient(90deg,transparent,#ffdb9c,transparent);box-shadow:0 0 18px #ffd69a;opacity:0;pointer-events:none;z-index:2;animation:chapter-thread 11s ease-in-out infinite;animation-play-state:paused}
.chapter-motion.in-view .how-steps:after{animation-play-state:running}
@keyframes chapter-thread{0%,12%{left:4%;opacity:0}20%{opacity:.9}78%{opacity:.8}90%,100%{left:90%;opacity:0}}
.chapter-motion .how-step{isolation:isolate}
.chapter-motion .step-photo{transition:transform 1s cubic-bezier(.2,.7,.3,1),filter 1s;transform:translateX(var(--photo-shift,0px)) scale(1.025)}
.chapter-motion .how-step:hover .step-photo{transform:translateX(var(--photo-shift,0px)) scale(1.07);filter:brightness(1.13)}
.chapter-motion .step-link{transition:color .4s,text-shadow .4s}
.chapter-motion.in-view .step-link{animation:chapter-arrow 4s ease-in-out infinite}
@keyframes chapter-arrow{0%,100%{color:#b68d70;text-shadow:0 0 0 transparent}50%{color:#ffe4b9;text-shadow:0 0 14px #ffc982}}
.chapter-motion .why-grid svg,.chapter-motion .question-benefits svg{transition:filter .5s,transform .5s}
.chapter-motion .why-grid>div:hover svg,.chapter-motion .question-benefits>div:hover svg{filter:drop-shadow(0 0 9px #ffc57b99);transform:translateY(-4px) rotate(-5deg)}
.chapter-motion .closing-systems a{position:relative;transition:color .4s,text-shadow .4s,background .4s}
.chapter-motion .closing-systems a:after{content:'';position:absolute;left:15%;right:15%;bottom:-5px;height:1px;background:linear-gradient(90deg,transparent,#ffd79c,transparent);transform:scaleX(0);transition:transform .5s}
.chapter-motion .closing-systems a:hover:after,.chapter-motion .closing-systems a:focus-visible:after{transform:scaleX(1)}
.chapter-motion.in-view .closing-systems a{animation:system-whisper 15s ease-in-out infinite}
.chapter-motion .closing-systems a:nth-of-type(2){animation-delay:3s}.chapter-motion .closing-systems a:nth-of-type(3){animation-delay:6s}.chapter-motion .closing-systems a:nth-of-type(4){animation-delay:9s}.chapter-motion .closing-systems a:nth-of-type(5){animation-delay:12s}
@keyframes system-whisper{0%,12%,100%{text-shadow:none}5%{text-shadow:0 0 18px #ffd28bbb;color:#ffe3bb}}
.chapter-motion .how-action{overflow:hidden;isolation:isolate;box-shadow:0 0 24px #d1884833}
.chapter-motion .how-action:before{content:'';position:absolute;inset:-50%;z-index:-1;background:linear-gradient(110deg,transparent 35%,#ffdfad30 50%,transparent 65%);transform:translateX(-80%);animation:chapter-cta 8s ease-in-out infinite;animation-play-state:paused}
.chapter-motion.in-view .how-action:before{animation-play-state:running}
@keyframes chapter-cta{0%,35%{transform:translateX(-80%)}70%,100%{transform:translateX(80%)}}
.chapter-motion:not(.in-view) .step-link,.chapter-motion:not(.in-view) .closing-systems a{animation-play-state:paused}
@media(max-width:620px){.chapter-motion .how-steps:before,.chapter-motion .how-steps:after{display:none}}
@media(prefers-reduced-motion:reduce){.chapter-motion *,.chapter-motion:before,.chapter-motion *:before,.chapter-motion *:after{animation:none!important}.chapter-motion .step-photo,.chapter-motion .why-grid svg,.chapter-motion .question-benefits svg{transform:none!important}.chapter-motion .chapter-word{opacity:1!important;transform:none!important}}
