/* Stable funnel: compact, readable RTL screens. No remote fonts or UI framework. */
:root{--radius:20px;--shadow-lg:0 18px 64px #123c6814;--view-height:100svh}
html{min-height:100%;background:#eef5ff;scroll-behavior:smooth}
body{padding:12px;min-height:100svh;background:radial-gradient(ellipse at 20% 0,#dbeafe,transparent 65%),#f5f8fc;font-family:Tahoma,'Segoe UI',system-ui,sans-serif;line-height:1.65}
.container{width:100%;max-width:740px;min-height:min(740px,calc(var(--view-height) - 24px));display:flex;flex-direction:column;border:1px solid #dbe7f4;border-radius:24px;margin:auto}
.header{padding:16px 20px;background:linear-gradient(125deg,#002a62,#014aad);border-bottom:3px solid #ffc107}
.header:before{animation:none}.header h2{font-size:clamp(18px,3vw,23px)}.header p{font-size:12px;margin-top:1px}
.progress-area{padding:8px 18px;background:#fff}.progress-text{font-size:11px;background:#edf4ff;color:#164574}
#app{padding:16px 24px;min-height:0;flex:1;display:flex;flex-direction:column;justify-content:center}
#app>div,#app>section{width:100%;margin:auto;min-width:0}
#app h3{font-size:clamp(17px,2.8vw,21px);line-height:1.6;margin:0 0 10px;color:#0b2d54}
.btn,.whatsapp-btn{min-height:48px;border-radius:13px;padding:12px 20px;font-size:15px;line-height:1.55;width:100%;margin:12px 0 0;box-shadow:0 5px 16px #014aad12}
.btn-pulse{animation:none}.btn:disabled{opacity:.5}.btn:focus-visible,button:focus-visible,a:focus-visible,label:focus-within,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #ffbf00;outline-offset:3px}
.ticker-wrap{margin-top:12px;padding:7px 10px;font-size:11px;min-height:30px}.ticker-badge{font-size:9px;padding:2px 6px}
footer{font-size:10px;padding:9px 14px;background:#f8fbff;border-top:1px solid #e6edf7;line-height:1.7}
input[type=text]{min-height:48px;font:16px Tahoma,'Segoe UI',sans-serif;padding:10px 12px}
.level-card{padding:18px;margin:12px 0;border-radius:16px}.lc-title{font-size:18px}.lc-sub{font-size:13px}.lc-badge{font-size:11px;margin-top:8px}
.program-card{padding:14px;margin:10px 0}.prog-logo{height:48px!important;max-width:170px!important;width:auto!important;margin:0 auto 4px!important;object-fit:contain}.prog-title{font-size:18px}.prog-desc,.prog-duration{font-size:12px}
.offer-section{padding:12px 16px;margin:10px 0}.offer-title{font-size:17px}.offer-item{padding:8px 0;gap:10px}.offer-text{font-size:14px}.offer-check{width:26px;height:26px;min-width:26px;font-size:15px}.offer-sub-items{margin:4px 18px 0;font-size:12px}
.social-proof,.urgency-bar{font-size:11px;line-height:1.6;padding:7px 10px;margin:8px 0}.book-level-badge,.cefr-badge,.course-duration-badge{font-size:12px;padding:5px 10px;margin:2px}
.book-cover{max-height:min(39svh,310px)!important;width:auto!important;max-width:100%;display:block;margin:8px auto!important;object-fit:contain}
.download-btn{padding:8px 14px;font-size:13px;margin:7px auto;min-height:42px}
.video-wrapper{display:block;width:100%;margin:8px 0;position:relative}
.video-wrapper video{display:block;width:100%;height:min(36svh,300px);object-fit:contain;background:#102746;border-radius:14px;margin:0}
.video-play-overlay{min-height:48px;min-width:48px;border:1px solid #ffffffb0;color:#fff;font-size:24px;line-height:1;box-shadow:0 4px 20px #0004}
[hidden]{display:none!important}
.media-status{position:absolute;inset:auto 8px 8px;display:flex;justify-content:center;gap:6px;flex-wrap:wrap;background:#fffef5f5;color:#3f4753;border-radius:10px;padding:7px;z-index:5;font-size:11px;box-shadow:0 2px 10px #0002}
.media-status span{width:100%;text-align:center}.media-status button,.media-status a{font:inherit;border:1px solid #b8cbea;border-radius:7px;background:#edf5ff;color:#014aad;padding:5px 10px;cursor:pointer;text-decoration:none}
.option-group{display:grid;gap:7px;margin:8px 0}.option-group label{font:13px/1.5 'Segoe UI',Tahoma,sans-serif;direction:ltr;text-align:left;min-height:42px;padding:9px 12px;border-radius:11px;margin:0;display:flex;align-items:center;gap:8px}
.option-group input{flex-shrink:0;width:17px;height:17px;accent-color:#014aad}
.fee-card{padding:16px;margin:8px 0}.fee-amount{font-size:clamp(36px,8vw,52px)}.fees-page-header{margin:8px 0}.fee-note{font-size:12px}
.time-slots{display:grid;gap:7px;margin:10px 0}.time-slot{min-height:46px;margin:0;padding:9px 12px;font-size:13px}.seat-badge{font-size:11px;padding:4px 8px}
.slider-container{margin:6px 0}.slider-slide img,.slider-slide video{height:clamp(110px,22svh,205px)!important;width:100%;object-fit:contain;background:#f2f6fb;margin:0!important;box-shadow:none}.slider-caption{font-size:10px;padding:5px}.slider-btn{width:34px;height:34px;font-size:14px}.slider-dots{padding:5px}.slider-dot{width:7px;height:7px}
.address-section{margin:8px 0;padding:10px;display:grid;grid-template-columns:72px 1fr;align-items:center;gap:3px 12px;text-align:right}.address-section h3{grid-column:2;font-size:15px!important;margin:0!important}.address-section img{grid-row:1/4;grid-column:1;height:88px;object-fit:cover;margin:0}.address-section p{font-size:11px;margin:0!important}
.testimonial-timeline{margin:4px -24px 0;overflow:hidden}.testimonial-track{gap:16px;padding-block:8px;padding-inline:calc((100% - min(49vw,calc(41svh * .5625)))/2);scroll-padding-inline:calc((100% - min(49vw,calc(41svh * .5625)))/2)}
.testimonial-card{flex-basis:min(49vw,calc(41svh * .5625));border-radius:16px}.testimonial-card video{margin:0;box-shadow:none;border-radius:0}.testimonial-actions{margin-top:3px;gap:22px}.testimonial-actions button{height:36px;min-width:44px}.testimonial-status{margin:0 12px;min-height:0}.testimonial-status:empty{display:none}
.testimonial-card .media-status{font-size:10px}.testimonial-play .play-glyph{width:46px;height:46px;font-size:19px}
.funnel-closing{text-align:center;padding:20px 0}.trust-emblem{width:62px;height:62px;background:#edf7ff;color:#014aad;display:grid;place-items:center;border:1px solid #c8dcf7;border-radius:50%;font-size:30px;margin:0 auto 16px}
.funnel-closing h1{font-size:24px;line-height:1.9;color:#0c315d}.funnel-closing h1 strong{font-size:clamp(42px,11vw,76px);color:#014aad;line-height:1.2}.funnel-closing h2{font-size:14px;font-weight:500;margin:20px 0 12px;color:#54708a}.closing-social{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.closing-social a{padding:11px 15px;border:1px solid #d4e3f8;border-radius:12px;color:#014aad;background:#f5f9ff;text-decoration:none;font:600 12px 'Segoe UI',sans-serif;min-height:44px;display:grid;place-items:center}
#langDari,#langPashto{min-width:0!important;max-width:none!important;padding:20px 16px!important;flex:1!important;outline-offset:3px}
body[data-compact='true'] .header{padding:9px 14px}body[data-compact='true'] .header p{font-size:10px}body[data-compact='true'] #app{padding-top:9px;padding-bottom:9px}body[data-compact='true'] #app p{margin-block:6px!important}body[data-compact='true'] .ticker-wrap{margin-top:6px}body[data-compact='true'] .btn{margin-top:7px;padding-block:10px}body[data-compact='true'] footer{padding-block:5px}body[data-compact='true'] .video-wrapper video{height:min(29svh,220px)}body[data-compact='true'] .level-card{padding:12px;margin:8px 0}
@media(max-width:600px){body{padding:0}.container{border-radius:0;min-height:var(--view-height);border:0;box-shadow:none}.header{padding-top:max(12px,env(safe-area-inset-top));padding-inline:16px}#app{padding:12px 18px}footer{padding-bottom:max(7px,env(safe-area-inset-bottom));font-size:9px}.testimonial-timeline{margin-inline:-18px}#langDari,#langPashto{padding:16px 14px!important}#langDari>div:first-child,#langPashto>div:first-child{font-size:16px!important;margin-bottom:4px!important}#langDari>div:nth-child(2),#langPashto>div:nth-child(2){font-size:12px!important;margin-bottom:12px!important}#langDari>div:last-child,#langPashto>div:last-child{padding:10px 24px!important;font-size:15px!important}.time-slot{font-size:12px}}
@media(max-height:650px){.header p{display:none}.header{padding-block:8px}.container{min-height:var(--view-height)}.progress-area{padding-block:5px}#app{padding-block:9px}.video-wrapper video{height:24svh}.book-cover{max-height:29svh!important}.ticker-wrap{margin-top:7px}.offer-item{padding:5px 0}.program-card{padding:9px}.testimonial-card{flex-basis:min(42vw,calc(35svh * .5625))}.testimonial-track{padding-inline:calc((100% - min(42vw,calc(35svh * .5625)))/2)}.confirm-container{padding:18px!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Latest requested direction: new-funnel pills, bold type, tightly packed screens. */
:root{--primary:#0758ec;--primary-light:#1875df;--primary-dark:#04439d;--text-dark:#101d43;--accent:#ffc107}
body{padding:8px;background:#edf4fd}
.container{max-width:1000px;min-height:0;border-radius:22px}
.header{background:#fff;color:#101d43;border-bottom:1px solid #dfebfa;padding:12px 20px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px 14px}
.header h2{color:#101d43;font-size:24px;font-weight:900}.header p{color:#54708a;font-size:13px;font-weight:600}.header:before{display:none}
.progress-area{padding:7px 20px}.progress-text{font-size:13px;font-weight:800}
#app{padding:12px 20px;flex:none;justify-content:flex-start;background:radial-gradient(ellipse at 88% 4%,#c9e5ff,transparent 65%),radial-gradient(ellipse at 8% 96%,#e0edff,transparent 70%),#f4f9ff}
#app>div,#app>section{margin:0 auto;max-width:720px}
#app h3{font-size:24px;font-weight:900;margin-bottom:8px;line-height:1.65}
#app p{font-size:16px!important;font-weight:600;line-height:1.75;margin-block:8px!important}
.btn,.whatsapp-btn{min-height:56px;font-size:20px;font-weight:900;border-radius:15px;margin-top:10px;padding:12px 18px;background:#0758ec;color:#fff;box-shadow:0 5px 16px #0758ec1c}
.whatsapp-btn{background:#168b53}.btn:disabled{opacity:.5}.btn:hover{background:#0449bf}
input[type=text]{min-height:54px;font-size:18px;font-weight:700;background:#fff;border-radius:13px}
#app label>span{font-size:16px!important;font-weight:800!important}
.level-card{padding:18px 20px;margin:10px 0;border:1px solid #a8cffa;border-radius:20px;background:linear-gradient(135deg,#d5e9ff,#f4f9ff);box-shadow:0 5px 15px #143c6e08}
.level-card.test{background:linear-gradient(135deg,#ffddb9,#fff6e8);border-color:#ffc589}.lc-title{font-size:23px;font-weight:900}.lc-sub{font-size:16px}.lc-badge{font-size:14px;font-weight:800;margin-top:7px}
.program-card{border-radius:20px;padding:14px;border:1px solid #bdd8fc;background:#fff}.prog-title{font-size:23px;font-weight:900}.prog-duration,.prog-desc{font-size:15px;font-weight:600}
.offer-section{padding:0;border:0;background:none;box-shadow:none;margin:8px 0}.offer-title{font-size:23px;font-weight:900;margin-bottom:10px}
.offer-item{padding:12px 16px;margin:8px 0;min-height:82px;border:0;border-radius:19px;gap:14px;background:linear-gradient(120deg,#edf6ff,#fff);box-shadow:0 5px 15px #143c6e08}
.offer-item:nth-of-type(3){background:linear-gradient(110deg,#0649bf,#075ce9);color:#fff}.offer-item:nth-of-type(4){background:linear-gradient(135deg,#04439d,#1875df);color:#fff}.offer-item:nth-of-type(5){background:linear-gradient(135deg,#d6f2c8,#f0ffec)}
.offer-text{font-size:18px;font-weight:700;line-height:1.65;color:inherit}.offer-text strong{font-weight:900}.offer-check{background:#ffffffaa;color:#0758ec;flex-shrink:0;width:40px;height:40px;border-radius:12px;font-size:21px}.offer-item:nth-of-type(3) .offer-check,.offer-item:nth-of-type(4) .offer-check{background:#ffffff25;color:#fff}.offer-sub-items{display:flex;flex-wrap:wrap;gap:5px;list-style:none;margin:6px 0 0;padding:0}.offer-sub-items li{font-size:13px;padding:2px 7px;border-radius:6px;background:#ffffff24;border:1px solid #ffffff50}
.social-proof,.urgency-bar{font-size:14px;font-weight:700;padding:7px 10px;margin:7px 0}.book-level-badge,.cefr-badge,.course-duration-badge{font-size:14px;font-weight:800}
.option-group label{font-size:16px;font-weight:700;min-height:47px;padding:9px 12px;background:#fff}.option-group{gap:7px}
.video-wrapper{margin:8px 0}.video-wrapper video{height:clamp(150px,32svh,300px)}
.time-slot{font-size:17px;font-weight:800;min-height:51px;padding:10px 13px;background:#fff;border-radius:13px}.seat-badge{font-size:13px;font-weight:700}.time-slots{gap:7px}
.fee-card{background:linear-gradient(130deg,#064cc8,#087dff);padding:22px 18px;border-radius:22px}.fee-card .fee-amount{font-size:64px;font-weight:900}.fee-card .fee-label,.fee-card .fee-currency{font-size:18px;font-weight:800}.fee-card .fee-note{font-size:15px}
.ticker-wrap{margin-top:9px;min-height:30px}.ticker-text{font-size:12px}.response-time{font-size:14px!important}.address-section p{font-size:13px!important}.address-section h3{font-size:18px!important}
.funnel-closing{padding:8px 0}.trust-emblem{margin-bottom:8px;width:46px;height:46px;font-size:25px}.funnel-closing h1{font-size:25px;line-height:1.7}.funnel-closing h1 strong{font-size:68px}.funnel-closing h2{font-size:17px;margin:14px 0 10px}.closing-social{display:grid;grid-template-columns:1fr 1fr;gap:8px}.closing-social a{font:800 16px Tahoma,'Segoe UI',sans-serif;min-height:49px;padding:10px}.closing-social a:last-child{grid-column:1/-1}.guest-app-cta{display:flex;align-items:center;justify-content:center;text-decoration:none;margin:14px 0 0}
#langDari,#langPashto{padding:16px!important;background:#fff!important;border:1px solid #bed7f8!important;border-radius:19px!important;box-shadow:none!important}
#langDari>div:first-child,#langPashto>div:first-child{font-size:21px!important;font-weight:900!important;margin-bottom:6px!important;line-height:1.7!important}#langDari>div:nth-child(2),#langPashto>div:nth-child(2){font-size:15px!important;font-weight:600!important;margin-bottom:12px!important}#langDari>div:last-child,#langPashto>div:last-child{font-size:20px!important;font-weight:900!important;min-height:52px!important;padding:10px 24px!important;border-radius:13px!important;background:#0758ec!important}
footer{padding:8px 14px;font-size:11px;font-weight:600}
body[data-compact='true'] .header{padding-block:8px}body[data-compact='true'] #app{padding-block:9px}body[data-compact='true'] .btn{font-size:18px;min-height:52px}body[data-compact='true'] .video-wrapper video{height:25svh}body[data-compact='true'] .offer-item{min-height:72px;padding-block:9px}
@media(max-width:600px){body{padding:0}.container{border-radius:0;min-height:0}#app{padding:12px 16px}.header{padding:10px 12px;display:block}.header h2{font-size:22px}.header p{font-size:12px}.progress-area{padding:6px 16px}#app h3{font-size:22px}#app p{font-size:15px!important}.offer-item{padding:10px 12px;min-height:78px;margin:7px 0}.offer-text{font-size:17px}.lc-title{font-size:21px}.lc-sub{font-size:15px}.level-card{padding:16px}.time-slot{font-size:15px}.seat-badge{font-size:12px}.testimonial-timeline{margin-inline:-16px}#langDari>div:first-child,#langPashto>div:first-child{font-size:19px!important}#langDari>div:nth-child(2),#langPashto>div:nth-child(2){font-size:14px!important}footer{font-size:10px}}
@media(max-width:420px){#langDari,#langPashto{flex-basis:100%!important}.offer-sub-items li{font-size:12px}}
@media(min-width:760px){body[data-step='6'] #app>.fade-in{max-width:880px}.offer-section{display:grid;grid-template-columns:1fr 1fr;gap:10px}.offer-title{grid-column:1/-1;margin:0}.offer-item{margin:0;min-height:116px}.header{justify-content:space-between}}
@media(max-height:650px){.header h2{font-size:19px}.header p{display:none}.offer-item{min-height:65px;padding-block:8px}.offer-text{font-size:15px}.offer-sub-items{margin-top:3px}.btn,.whatsapp-btn{font-size:18px;min-height:49px}.option-group label{font-size:14px;min-height:41px;padding:7px 10px}.option-group{gap:5px}.time-slot{min-height:43px}.time-slots{gap:5px}#app h3{font-size:20px}.ticker-wrap{margin-top:6px}.fee-card{padding:14px}.fee-card .fee-amount{font-size:50px}.funnel-closing h1 strong{font-size:52px}.trust-emblem{display:none}}
/* No reserved footer or full-height blank white canvas. */
html,body{min-height:0!important;height:auto}
body{padding-bottom:0}
#mainContent.container{min-height:0!important;margin-block:0}
#mainContent>#app{flex:0 0 auto!important;min-height:0!important}
footer{margin:0!important;min-height:0!important;padding:4px 12px!important;line-height:1.5;background:#edf4fd}
#footerText{margin:0;padding:0;line-height:1.5}
#app>.fade-in[style*='padding:20px 12px']{padding:0!important}
.ticker-wrap{margin-bottom:0!important}
.ticker-wrap{padding:0!important;min-height:31px}
.ticker-wrap .ticker-badge{padding:4px 8px;font-size:10px;min-width:38px;line-height:1.4}
.ticker-wrap .ticker-text{padding:5px 8px;font-size:12px;line-height:1.5}
.offer-item{animation:none;opacity:1;transform:none;align-items:center}
.offer-text strong,.offer-sub-items li,.offer-sub-items li:before{color:inherit}
.offer-text{min-width:0;flex:1}.offer-sub-items li:before{display:none}.offer-sub-items{gap:4px;line-height:1.3}.offer-sub-items li{display:block;padding:3px 6px;font-size:12px;line-height:1.3}
body[data-step='6'] #app>.fade-in>div:first-child{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;margin:4px 0!important}
body[data-step='6'] .book-level-badge,body[data-step='6'] .cefr-badge,body[data-step='6'] .course-duration-badge{font-size:12px;line-height:1.5;margin:0;padding:4px 9px}
body[data-step='6'] .social-proof{font-size:13px;line-height:1.5;margin:5px 0;padding:6px 8px}
body[data-step='6'] .offer-text{font-size:16px;line-height:1.6}
body[data-step='6'] .offer-item{min-height:70px;margin-block:6px;padding:9px 12px;gap:10px}
body[data-step='6'] .offer-check{width:34px;height:34px;min-width:34px}
body[data-step='6'] .offer-section{margin:6px 0}
body[data-step='6'] .offer-title{font-size:22px;margin-bottom:7px}
/* Short screens use the viewport for their controls; nothing is reserved below the footer. */
body:is([data-step='language'],[data-step='1'],[data-step='2']) #mainContent.container{min-height:calc(var(--view-height) - 8px)!important}
body:is([data-step='language'],[data-step='1'],[data-step='2']) #mainContent>#app{flex:1 0 auto!important;display:flex;align-items:stretch;padding-block:12px}
body:is([data-step='language'],[data-step='1'],[data-step='2']) #app>.fade-in{display:flex;flex:1;flex-direction:column;max-width:720px;gap:8px}
body[data-step='language'] #app>.fade-in>div:first-child{display:grid!important;grid-template-columns:1fr 1fr;gap:12px!important;flex:1}
body[data-step='language'] #langDari,body[data-step='language'] #langPashto{display:flex;flex-direction:column;justify-content:center;gap:10px;width:100%;padding:22px!important}
body[data-step='language'] #langDari>div:first-child,body[data-step='language'] #langPashto>div:first-child{font-size:24px!important}
body[data-step='language'] #langDari>div:nth-child(2),body[data-step='language'] #langPashto>div:nth-child(2){font-size:17px!important}
body[data-step='language'] #langDari>div:last-child,body[data-step='language'] #langPashto>div:last-child{width:100%;font-size:24px!important;min-height:58px!important}
body[data-step='1'] #app>.fade-in>div[style*='text-align:right']{flex:1;display:flex;flex-direction:column;justify-content:space-evenly;gap:12px;margin:0!important}
body[data-step='1'] #app label{margin:0!important}body[data-step='1'] #app label>span{font-size:19px!important;margin-bottom:8px!important}
body[data-step='1'] input[type=text]{min-height:66px;font-size:21px}
body[data-step='2'] .level-card{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;margin:0;min-height:150px}
body[data-step='2'] .lc-title{font-size:26px;line-height:1.7}body[data-step='2'] .lc-sub{font-size:19px}body[data-step='2'] .lc-badge{font-size:16px;padding:7px 16px}
body:is([data-step='language'],[data-step='1'],[data-step='2']) .ticker-wrap{flex-shrink:0;margin-top:0}
@media(max-width:600px){body:is([data-step='language'],[data-step='1'],[data-step='2']) #mainContent.container{min-height:var(--view-height)!important}body[data-step='language'] #app>.fade-in>div:first-child{grid-template-columns:1fr;grid-template-rows:1fr 1fr}body[data-step='language'] #langDari,body[data-step='language'] #langPashto{padding:16px!important;gap:6px}body[data-step='language'] #langDari>div:first-child,body[data-step='language'] #langPashto>div:first-child{font-size:22px!important}body[data-step='language'] #langDari>div:nth-child(2),body[data-step='language'] #langPashto>div:nth-child(2){font-size:16px!important}body[data-step='2'] .lc-title{font-size:24px}}
@media(max-height:650px){body[data-step='language'] #langDari,body[data-step='language'] #langPashto{padding:10px 14px!important;gap:3px}body[data-step='language'] #langDari>div:first-child,body[data-step='language'] #langPashto>div:first-child{font-size:18px!important}body[data-step='language'] #langDari>div:nth-child(2),body[data-step='language'] #langPashto>div:nth-child(2){font-size:13px!important;margin-bottom:5px!important}body[data-step='language'] #langDari>div:last-child,body[data-step='language'] #langPashto>div:last-child{min-height:46px!important;font-size:20px!important}body[data-step='2'] .level-card{min-height:130px}body[data-step='2'] .lc-title{font-size:21px}body[data-step='2'] .lc-sub{font-size:16px}body[data-step='1'] input[type=text]{min-height:52px;font-size:18px}}
footer,#footerText{font-size:13px!important;font-weight:800!important;line-height:1.65;color:#38577e}
footer{padding:6px 12px!important}
#certificatePreview{display:block;margin:6px auto;object-fit:contain;background:transparent;box-shadow:none}
body[data-step='3'] #mainContent.container{min-height:calc(var(--view-height) - 8px)!important}
body[data-step='3'] #mainContent>#app{flex:1 0 auto!important;display:flex;align-items:stretch}
body[data-step='3'] #app>.fade-in{display:flex;flex:1;flex-direction:column;gap:10px}
body[data-step='3'] #app .badge{display:grid;place-items:center;flex:1;min-height:90px;max-width:none;width:100%;margin:0;padding:18px;font-size:22px;font-weight:900;border-radius:20px;background:linear-gradient(135deg,#d5e9ff,#f4f9ff);color:#0758ec;border:1px solid #bdd7fa}
body[data-step='3'] #app h3{font-size:26px}body[data-step='3'] #app p{font-size:18px!important}
body[data-step='3'] #app .ticker-wrap{flex-shrink:0;margin-top:0}
video,.video-wrapper,.video-wrapper video,.testimonial-card,.testimonial-card video,.slider-slide video{background:#fff!important}
@media(max-width:600px){body[data-step='3'] #mainContent.container{min-height:var(--view-height)!important}}
/* Presenter clips have blank side margins: fill the frame without distorting the speaker. */
video[data-presentation='presenter']{object-fit:cover!important;object-position:center center}
/* Keep the footer at the viewport edge throughout the complete stable journey. */
#mainContent.container{min-height:calc(var(--view-height) - 8px)!important}
#mainContent>#app{flex:1 0 auto!important}
body:is([data-step='5'],[data-step='8'],[data-step='9']) #app>.fade-in{display:flex;flex:1;flex-direction:column;gap:5px}
body[data-step='5'] .result-personalized{flex:1;display:flex;flex-direction:column;justify-content:center}
body[data-step='5'] .program-card{flex:1;display:flex;flex-direction:column;justify-content:center}
body[data-step='8'] .fee-card{flex:1;display:flex;flex-direction:column;justify-content:center}
body[data-step='9'] .time-slots{flex:1;grid-template-rows:repeat(5,1fr)}
body[data-step='9'] .time-slot{display:flex;align-items:center;justify-content:space-between}
body[data-step='10'] .funnel-closing{display:flex;flex:1;flex-direction:column;justify-content:center}
@media(max-width:600px){#mainContent.container{min-height:var(--view-height)!important}}
/* Fixed shell on every step: header, progress, changing body, ticker, address. */
html,body{height:100%;overflow:hidden}
#mainContent.container{height:calc(var(--view-height) - 8px);min-height:0!important;max-height:calc(var(--view-height) - 8px);display:flex;flex-direction:column;overflow:hidden}
#mainContent>.header,#mainContent>.progress-area,#mainContent>.persistent-ticker,#mainContent>footer{flex:0 0 auto}
#mainContent>.header{height:88px;min-height:88px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;padding:7px 12px}
#mainContent>.progress-area{height:38px;min-height:38px}
#mainContent>#app{flex:1 1 0!important;min-height:0!important;overflow:hidden;justify-content:flex-start}
#mainContent>.persistent-ticker{margin:0!important;border-radius:0;border:0;min-height:32px;height:32px;background:#0f172a}
.persistent-ticker .ticker-text{padding-block:6px}.persistent-ticker .ticker-badge{border-radius:0}
#mainContent>footer{margin:0;padding:6px 12px!important;background:#edf4fd}
body[data-keyboard='true'] #mainContent>#app{overflow:auto}
@media(max-width:600px){#mainContent.container{height:var(--view-height);min-height:0!important;max-height:var(--view-height)}}
@media(max-height:650px){#mainContent>.header{height:60px;min-height:60px}#mainContent>.progress-area{height:32px;min-height:32px}#mainContent>footer,#mainContent>footer #footerText{font-size:12px!important}}
body[data-step] #mainContent.container>#app{flex:1 1 0!important;min-height:0!important;overflow:hidden}
body[data-keyboard='true'] #mainContent.container>#app{overflow:auto}
/* Quieter original offering pills; the marked student-count strip is removed. */
body[data-step='6'] #app>.fade-in{display:flex;flex:1;flex-direction:column;gap:8px}
body[data-step='6'] .offer-section{display:flex;flex:1;flex-direction:column;gap:8px;margin:0}
body[data-step='6'] .offer-title{flex:none;margin:0 0 2px}
body[data-step='6'] .offer-item{flex:1;margin:0;padding:11px 14px;border:1px solid #d9e6f5;border-radius:17px;box-shadow:0 2px 8px #173c6805;background:linear-gradient(115deg,#edf5ff,#f9fcff);color:#17375e}
body[data-step='6'] .offer-item:nth-of-type(3){background:linear-gradient(115deg,#e7f0ff,#f5f8ff);color:#17375e;border-color:#d2e0f5}
body[data-step='6'] .offer-item:nth-of-type(4){background:linear-gradient(115deg,#eef0ff,#fafaff);color:#25345c;border-color:#dde1f4}
body[data-step='6'] .offer-item:nth-of-type(5){background:linear-gradient(115deg,#eef7ee,#fbfdfa);color:#294b38;border-color:#dcebdc}
body[data-step='6'] .offer-check,body[data-step='6'] .offer-item:nth-of-type(3) .offer-check,body[data-step='6'] .offer-item:nth-of-type(4) .offer-check{color:#0758ec;background:#ffffffc4;border:1px solid #dde8f8;box-shadow:none}
body[data-step='6'] .offer-sub-items li{background:#fff9;border-color:#d3e1f5;color:#42638c}
body[data-step='6'] .offer-text strong{color:inherit}
body[data-step='6'] #startJourneyBtn{flex:none;margin:0}
body[data-step='9'] .time-slots{grid-template-columns:1fr}
#mainContent>.persistent-ticker+footer{margin-top:0!important}
body[data-access='true'] #mainContent.container>#app{overflow:auto}
/* Result and program selection: one clear score and two substantial choices. */
body[data-step='5'] #app>.result-screen{gap:10px}
body[data-step='5'] .result-personalized{flex:none;padding:0;margin:0;background:none;border:0;box-shadow:none;text-align:center;gap:4px}
body[data-step='5'] .result-heading{font-size:19px;line-height:1.6;margin:0;font-weight:800}
body[data-step='5'] #app .result-caption{font-size:14px!important;font-weight:600;margin:0 0 5px!important;color:#4d6580;line-height:1.5}
.result-level-pill{position:relative;display:grid;place-items:center;width:100%;min-height:88px;padding:9px 18px;border-radius:21px;background:linear-gradient(115deg,#ff9639 0%,#ffba50 52%,#ffdc94 100%);border:1px solid #ffb767;box-shadow:0 5px 18px #df8a2514;overflow:hidden}
.result-level-pill:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 85% 0,#fff8,transparent 65%);pointer-events:none}
.result-level-pill strong{position:relative;font:900 62px/1.05 'Segoe UI',sans-serif;letter-spacing:-2px;color:#71350e}
body[data-step='5'] #app .program-selection-note{flex:none;font-size:16px!important;font-weight:700;text-align:center;line-height:1.65;margin:2px 0!important}
body[data-step='5'] #app .result-choice{display:grid;grid-template-columns:120px minmax(0,1fr) 32px;align-items:center;gap:14px;flex:1;min-height:155px;margin:0;width:100%;padding:17px 18px;direction:rtl;text-align:right;position:relative;border-radius:23px;border:1px solid #bcd7f8;background:linear-gradient(120deg,#dcecff,#eff7ff 72%,#f7fbff);box-shadow:0 5px 17px #0758ec0b;cursor:pointer;font-family:inherit;color:#153f75;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;animation:program-breathe-blue 3.8s ease-in-out infinite}
body[data-step='5'] #app .choice-speaking{background:linear-gradient(120deg,#def3de,#f0faeb 72%,#f8fcf5);border-color:#bcdbb5;color:#25552d;animation-name:program-breathe-green;animation-delay:1.5s}
body[data-step='5'] #app .result-choice:hover,body[data-step='5'] #app .result-choice:focus-visible{transform:translateY(-2px);border-color:#0758ec;box-shadow:0 8px 24px #0758ec24;animation:none}
body[data-step='5'] #app .choice-speaking:hover,body[data-step='5'] #app .choice-speaking:focus-visible{border-color:#4c9a45;box-shadow:0 8px 24px #3d8d3b22}
body[data-step='5'] #app .result-choice:active{transform:translateY(0);box-shadow:0 2px 8px #17375e15}
body[data-step='5'] #app .result-choice .prog-logo{width:120px!important;height:120px!important;max-width:120px!important;margin:0!important;object-fit:contain;background:transparent;box-shadow:none;border:0;border-radius:0}
.program-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:5px}
body[data-step='5'] #app .result-choice .prog-title{font:900 26px/1.2 'Segoe UI',sans-serif;color:inherit;margin:0;direction:ltr;unicode-bidi:isolate}
body[data-step='5'] #app .result-choice .prog-duration{align-self:flex-start;width:auto;background:#ffffffb3;border:1px solid #c7dbf2;color:#3c608a;font-size:13px;font-weight:800;margin:0;padding:3px 10px;border-radius:8px;line-height:1.5}
body[data-step='5'] #app .choice-speaking .prog-duration{border-color:#cce0c4;color:#4b7245}
body[data-step='5'] #app .result-choice .prog-desc{display:block;font-size:15px;font-weight:600;line-height:1.75;color:inherit;opacity:.88;margin:0}
.program-start{font-size:13px;line-height:1.7;font-weight:800;color:#0758ec}
.program-arrow{display:grid;place-items:center;width:32px;height:42px;font:30px/1 'Segoe UI',sans-serif;border-radius:11px;border:1px solid #ffffffd9;background:#ffffff96;color:inherit}
@keyframes program-breathe-blue{0%,100%{box-shadow:0 4px 15px #0758ec0a}50%{box-shadow:0 7px 23px #0758ec24}}
@keyframes program-breathe-green{0%,100%{box-shadow:0 4px 15px #3d8d3b0a}50%{box-shadow:0 7px 23px #3d8d3b24}}
@media(max-width:600px){body[data-step='5'] #app .result-choice{grid-template-columns:100px minmax(0,1fr) 25px;gap:9px;min-height:145px;padding:13px 12px;border-radius:20px}body[data-step='5'] #app .result-choice .prog-logo{width:100px!important;height:100px!important;max-width:100px!important}body[data-step='5'] #app .result-choice .prog-title{font-size:24px}.program-arrow{width:25px;height:36px;font-size:25px}body[data-step='5'] #app .result-choice .prog-desc{font-size:14px}.program-start{font-size:12px}}
@media(max-height:760px){body[data-step='5'] #app>.result-screen{gap:7px}.result-level-pill{min-height:72px;padding:7px;border-radius:18px}.result-level-pill strong{font-size:54px}body[data-step='5'] .result-heading{font-size:17px}body[data-step='5'] #app .result-choice{min-height:130px;padding-block:10px}body[data-step='5'] #app .program-selection-note{font-size:14px!important}}
/* Compact semantic form: name then location, without viewport-sized field gaps. */
body[data-step='1'] #app>.entry-screen{display:flex;flex:0 0 auto!important;flex-direction:column;gap:8px;width:100%;max-width:600px;text-align:right}
body[data-step='1'] #app .entry-screen h3{margin:0;font-size:23px}
body[data-step='1'] #app .entry-intro{margin:0 0 3px!important;font-size:15px!important;font-weight:500}
.entry-form{display:flex;flex-direction:column;gap:14px;width:100%;margin:0}
.entry-fields{display:grid;gap:13px}.entry-field{min-width:0;display:flex;flex-direction:column;gap:6px}
body[data-step='1'] #app .entry-form label{display:block;margin:0!important;padding:0!important;border:0!important;background:none;font-size:16px!important;font-weight:800;color:#29496f;cursor:default}
body[data-step='1'] #app .entry-form input[type=text]{display:block;width:100%;min-height:52px;height:52px;margin:0;padding:11px 13px;border:1px solid #bfcfe4;border-radius:12px;background:#fff;color:#17375e;font-size:18px;font-weight:600;line-height:1.6;box-shadow:none;scroll-margin-block:12px}
.entry-form input::placeholder{font-weight:400;color:#7e91a7}
.entry-form input[aria-invalid=true]{border-color:#c74343!important}.field-error{font-size:13px;color:#ad2929;line-height:1.6}
body[data-step='1'] #app .entry-form .btn{min-height:54px;margin:0;font-size:19px}
body[data-step='1'] #app .entry-screen>.social-proof{font-size:12px;margin:0;padding:7px 10px;font-weight:600}
body[data-step='1'] #mainContent.container>#app{overflow:auto}
body[data-step='1'][data-keyboard='true'] #mainContent>.header{height:44px;min-height:44px;padding:4px 12px}
body[data-step='1'][data-keyboard='true'] .header h2{font-size:18px}
body[data-step='1'][data-keyboard='true'] .header p,body[data-step='1'][data-keyboard='true'] .progress-area,body[data-step='1'][data-keyboard='true'] .persistent-ticker,body[data-step='1'][data-keyboard='true'] footer,body[data-step='1'][data-keyboard='true'] .entry-screen>.social-proof{display:none!important}
body[data-step='1'][data-keyboard='true'] #app{padding-block:8px}
@media(max-height:600px){body[data-step='1'] #app .entry-screen h3{font-size:20px}.entry-form{gap:11px}.entry-fields{gap:10px}}
/* Loading status occupies the existing player; no change to funnel card layout. */
.media-status[hidden],.video-play-overlay[hidden],.media-test-note[hidden]{display:none!important}
.media-test-note{display:block;text-align:center;font-size:12px;line-height:1.6;color:#335174;margin:6px 0}
.video-play-overlay[aria-disabled="true"]{cursor:progress}
.fee-card .fee-quality{font-size:clamp(25px,6.8vw,36px);font-weight:900;line-height:1.4;color:#fff;text-align:center;margin:0 0 10px;position:relative;text-wrap:balance}
@media(max-height:650px){.fee-card .fee-quality{font-size:25px;margin-bottom:6px}}
