@font-face{font-family:Onest;src:url('assets/onest.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--bg:#101b2c;--surface:#1d3046;--surface-high:#263c54;--ink:#f3f7fc;--muted:#b8c8d9;--lime:#a2ff51;--cyan:#56d9f2;--warning:#ffca65;--line:#3c526b;--radius:16px;--ease:cubic-bezier(.16,1,.3,1)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px;scrollbar-color:#57708a var(--bg)}body{margin:0;background:var(--bg);color:var(--ink);font-family:Onest,Arial,sans-serif;line-height:1.65}h1,h2,h3,h4,p{margin:0}a{color:inherit;text-decoration:none;text-underline-offset:5px}button{font:inherit}button,a,summary{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--warning);outline-offset:6px}::selection{background:var(--lime);color:#101b2c}svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.wrap{width:min(1280px,calc(100% - 96px));margin-inline:auto}.skip{position:fixed;top:-100px;left:20px;background:var(--lime);color:#101b2c;padding:12px 18px;z-index:20}.skip:focus{top:12px}[hidden]{display:none!important}
.header{display:flex;align-items:center;justify-content:space-between;min-height:96px;gap:28px}.brand{display:inline-flex;align-items:center;gap:10px;font-size:30px;font-weight:850;line-height:1}.brand small{display:block;font-size:9px;font-weight:550;margin-top:6px;letter-spacing:.01em}.brand img{display:block}.header nav{display:flex;align-items:center;gap:34px;font-size:13px;font-weight:600}.header nav>a:hover{color:var(--lime)}.current-site{display:flex;align-items:center;gap:16px;border:1px solid var(--line);border-radius:8px;padding:11px 15px}.current-site svg{width:18px;height:18px}
.hero{position:relative;isolation:isolate;min-height:660px;max-width:1680px;margin:auto;overflow:hidden;background:#081626}.hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%;z-index:-3}.hero-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(9,23,39,.96),rgba(9,23,39,.85) 24%,rgba(9,23,39,.35) 48%,rgba(9,23,39,0) 72%),linear-gradient(0deg,#101b2c,transparent 24%)}.hero-content{padding-top:70px;padding-bottom:105px}.hero h1{font-size:clamp(48px,5.3vw,78px);font-weight:800;line-height:1.08;letter-spacing:-.035em;max-width:700px;text-wrap:balance}.hero h1 span{color:var(--lime)}.hero-content>p{font-size:16px;line-height:1.85;max-width:465px;margin:26px 0 31px;color:#d2dfeb}.primary{display:inline-flex;align-items:center;gap:36px;background:var(--lime);color:#101b2c;border-radius:9px;padding:16px 23px;font-size:15px;font-weight:750;transition:background .25s var(--ease),transform .25s var(--ease)}.primary:hover{background:#b8ff7d;transform:translateY(-2px)}.hero-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;position:absolute;bottom:25px;left:0;right:0;color:#bfd0df;font-size:11px}.hero-foot i{font-style:normal;color:var(--cyan);margin-inline:13px}
.course{padding-top:60px;padding-bottom:100px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:35px}.section-heading h2{font-size:43px;line-height:1.13;font-weight:750;letter-spacing:-.03em}.section-heading>p{font-size:14px;line-height:1.8;color:var(--muted);max-width:400px}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;perspective:1500px}.module-card{min-width:0;background:var(--surface);border-radius:var(--radius);overflow:hidden;box-shadow:0 18px 42px rgba(0,0,0,.25),inset 0 1px 0 #48617a;transition:transform .35s var(--ease),box-shadow .35s var(--ease)}.module-top{display:flex;align-items:center;gap:18px;padding:20px 23px}.module-top>span{color:var(--lime);font-size:29px;font-weight:800;line-height:1}.module-2 .module-top>span{color:var(--cyan)}.module-3 .module-top>span{color:var(--warning)}.module-top h3{font-size:15px;font-weight:650;line-height:1.35}.module-photo{aspect-ratio:1.8;background-image:url('assets/course-photos.png');background-size:200% auto;background-repeat:no-repeat}.module-photo-1{background-position:100% 0}.module-photo-2{background-position:0 100%}.module-photo-3{background-position:100% 100%}.module-body{padding:25px 23px 0}.module-body h4{font-size:25px;letter-spacing:-.025em;line-height:1.2;min-height:60px;margin-bottom:13px}.module-body>p{color:var(--muted);font-size:14px;line-height:1.8;min-height:100px}.course-link{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--lime);color:#101b2c;border-radius:8px;padding:13px 15px;font-size:13px;font-weight:750;margin-bottom:24px;min-height:50px}.module-2 .course-link{background:var(--cyan)}.course-link:hover{background:#d1ffac}.module-2 .course-link:hover{background:#a3edfa}.course-link svg{width:19px;height:19px}.module-body>.coming{min-height:50px;display:flex;align-items:center;color:var(--warning);font-weight:650;margin-bottom:24px;padding:12px 0}.module-program{border-top:1px solid var(--line);font-size:13px;color:var(--muted)}summary{list-style:none}summary::-webkit-details-marker{display:none}.module-program summary{display:flex;align-items:center;justify-content:space-between;padding:19px 0;color:var(--ink);font-weight:600;min-height:58px}.module-program summary span{font-size:22px;line-height:1;transition:transform .2s}.module-program[open] summary span{transform:rotate(45deg)}.module-program ul{margin:0;padding:0 0 22px 18px}.module-program li+li{margin-top:9px}
.devices-section{padding-bottom:90px}.devices-section .section-heading{align-items:center}.device-picker{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}.device-picker button{border:1px solid #4c637d;color:var(--muted);background:transparent;border-radius:8px;padding:11px 18px;font-size:13px;min-height:46px;transition:background .2s,color .2s}.device-picker button[aria-pressed=true]{background:var(--cyan);color:#101b2c;border-color:var(--cyan);font-weight:700}.device-picker button:hover{border-color:var(--cyan);color:var(--ink)}.device-picker button[aria-pressed=true]:hover{color:#101b2c}.device-card{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr);background:var(--surface);border-radius:var(--radius);overflow:hidden;box-shadow:0 20px 45px rgba(0,0,0,.2)}.device-art{background-image:url('assets/lesson-scenes.png');background-repeat:no-repeat;background-size:300% 200%;aspect-ratio:1;align-self:start;min-width:0}.scene-0{background-position:0 0}.scene-1{background-position:50% 0}.scene-2{background-position:100% 0}.scene-3{background-position:0 100%}.scene-4{background-position:50% 100%}.device-copy{padding:38px 40px;min-width:0}.device-copy h3{font-size:35px;line-height:1.2;letter-spacing:-.03em;margin-bottom:22px}.device-copy p{font-size:16px;line-height:1.85;color:#d3dfeb;max-width:68ch}.device-copy p+p{margin-top:20px}#device-description{margin-top:27px}#device-description summary{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #5a728b;padding:14px 16px;border-radius:8px;font-size:14px;font-weight:650;color:var(--cyan)}#device-description summary:hover{background:#263c54}#device-description summary svg{transition:transform .25s}#device-description[open] summary svg{transform:rotate(90deg)}.label-open{display:none}#device-description[open] .label-open{display:inline}#device-description[open] .label-closed{display:none}#device-full{margin-top:24px}.lesson-link{display:inline-flex;gap:16px;align-items:center;font-size:12px;color:var(--muted);margin-top:26px;text-decoration:underline}.lesson-link svg{width:17px;height:17px}.lesson-link:hover{color:var(--cyan)}.image-note{font-size:11px;line-height:1.75;color:var(--muted);margin-top:16px}
.learning{display:grid;grid-template-columns:.8fr 1.5fr;gap:60px;padding:42px;background:#172b40;border-radius:var(--radius);margin-bottom:80px}.learning h2{font-size:36px;line-height:1.15;letter-spacing:-.03em}.learning h2 span{color:var(--cyan)}.learning ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;list-style:none;padding:0;margin:0}.learning h3{font-size:19px;margin-bottom:12px;color:var(--lime)}.learning p{font-size:13px;color:var(--muted);line-height:1.8}.footer{display:flex;align-items:center;justify-content:space-between;gap:25px;border-top:1px solid var(--line);padding-block:25px 30px;font-size:11px;color:var(--muted)}.footer .brand{font-size:23px;color:var(--ink)}.footer .brand small{font-size:8px}.footer>a:last-child{text-decoration:underline}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.module-card:hover{transform:translateY(-6px) rotateX(1deg);box-shadow:0 27px 50px rgba(0,0,0,.36),inset 0 1px 0 #6a8ca8}}
@media(min-width:1700px){.hero{border-radius:18px}}
@media(max-width:1050px){.wrap{width:calc(100% - 56px)}.hero{min-height:590px}.hero-content{padding-top:65px}.hero h1{font-size:58px}.hero-content>p{max-width:380px}.hero-shade{background:linear-gradient(90deg,rgba(9,23,39,.97),rgba(9,23,39,.9) 25%,rgba(9,23,39,.4) 65%),linear-gradient(0deg,#101b2c,transparent 30%)}.module-grid{gap:16px}.module-body,.module-top{padding-inline:19px}.module-top{gap:12px}.module-body h4{font-size:22px;min-height:78px}.module-body>p{min-height:130px}.course-link{font-size:12px;padding:12px}.device-copy{padding:30px}.device-copy h3{font-size:29px}.learning{grid-template-columns:1fr;gap:30px}}
@media(max-width:700px){.wrap{width:calc(100% - 36px)}.header{min-height:78px;gap:15px}.brand{font-size:26px}.brand img{width:35px;height:35px}.brand small{font-size:8px}.header nav{gap:17px;font-size:11px}.current-site{display:none}.hero{display:flex;flex-direction:column;min-height:0;overflow:hidden}.hero-image{position:relative;order:2;aspect-ratio:1.35;height:auto;width:100%;object-fit:cover;object-position:85% center;z-index:-1}.hero-shade{inset:auto 0 0;height:60%;background:linear-gradient(0deg,#101b2c,transparent 20%);z-index:0;pointer-events:none}.hero-content{padding-top:30px;padding-bottom:26px;order:1}.hero h1{font-size:clamp(40px,10.8vw,58px);line-height:1.1;letter-spacing:-.035em}.hero-content>p{font-size:14px;line-height:1.85;max-width:100%;margin:23px 0 26px}.hero-content>p br{display:none}.primary{font-size:14px;padding:15px 20px;gap:30px}.hero-foot{position:static;order:3;z-index:1;display:block;margin-top:8px;margin-bottom:0;font-size:10px;line-height:1.8}.hero-foot>span:last-child{display:none}.hero-foot i{margin-inline:8px}.course{padding-top:45px;padding-bottom:60px}.section-heading{display:block;margin-bottom:26px}.section-heading h2{font-size:34px}.section-heading>p{font-size:13px;margin-top:18px}.module-grid{grid-template-columns:1fr;gap:23px}.module-top{padding:19px 22px;gap:19px}.module-top>span{font-size:30px}.module-top h3{font-size:15px}.module-photo{aspect-ratio:1.7}.module-body{padding:22px 22px 0}.module-body h4{font-size:26px;min-height:0;margin-bottom:16px}.module-body>p{min-height:0;font-size:14px;margin-bottom:25px}.course-link{font-size:14px;padding:14px 16px}.module-body>.coming{margin:0 0 24px;min-height:50px}.module-program{font-size:13px}.devices-section{padding-bottom:55px}.device-picker{gap:8px;margin-bottom:20px}.device-picker button{font-size:12px;padding:10px 12px}.device-card{grid-template-columns:1fr}.device-art{aspect-ratio:1;background-size:300% 200%}.device-copy{padding:25px 23px}.device-copy h3{font-size:30px;margin-bottom:18px}.device-copy p{font-size:15px}.learning{padding:28px 23px;margin-bottom:45px;gap:28px}.learning h2{font-size:33px}.learning ol{grid-template-columns:1fr;gap:23px}.learning li{padding-top:20px;border-top:1px solid var(--line)}.learning h3{margin-bottom:7px}.footer{flex-wrap:wrap;padding-block:23px;gap:22px}.footer>p{order:3;width:100%;font-size:10px}.footer>a:last-child{font-size:10px}.footer .brand{font-size:23px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}.module-card:hover,.primary:hover{transform:none}}

.scooter-scene{padding-top:8px;margin-top:-24px;margin-bottom:15px}
.scooter-road{position:relative;container-type:inline-size;height:106px;border-bottom:1px solid #759b86}
.scooter-rider{position:absolute;left:0;bottom:0;width:104px;height:94px;padding:0;background:none;border:0;cursor:pointer;transform:translateX(0);color:var(--ink)}
.rider-drawing{display:block;width:104px;height:95px}
.pixel-rider,.pixel-rider *{stroke:none}
.pixel-person{transform-origin:55px 91px}
.push-leg{transform-origin:51px 55px}
.scooter-scene.is-riding .push-leg{animation:pixel-push 1.15s ease-in-out 5}
.scooter-scene.is-riding .pixel-person{animation:pixel-bob 1.15s ease-in-out 5}
@keyframes pixel-push{0%,100%{transform:rotate(-7deg)}35%{transform:rotate(16deg)}70%{transform:rotate(-13deg)}}
@keyframes pixel-bob{0%,100%{transform:translateY(0)}45%{transform:translateY(1px)}}
.finish-sign{position:absolute;bottom:0;right:3px;width:31px;height:64px;stroke:#597c68;stroke-width:1.5}
.finish-flag{fill:#d4ef77;stroke:#597c68}.finish-checks{fill:#597c68;stroke:none}
.scooter-scene.is-riding .scooter-rider{animation:scooter-journey 6s cubic-bezier(.22,.45,.36,1) forwards}
.scooter-scene.is-finished .scooter-rider{transform:translateX(calc(100cqw - 145px))}
@keyframes scooter-journey{from{transform:translateX(0)}to{transform:translateX(calc(100cqw - 145px))}}
@media(max-width:760px){.scooter-scene{margin-top:-8px}.scooter-road{height:100px}}
@media(prefers-reduced-motion:reduce){.scooter-rider,.scooter-scene.is-riding .scooter-rider{animation:none!important;transform:translateX(calc(100cqw - 145px))}}



/* Variant B inherits A's homepage structure; no lesson preview on the homepage. */
.module-photo{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:none}
.module-card{box-shadow:0 18px 42px rgba(0,0,0,.3),inset 0 1px 0 #48617a}
.learning>div>p{font-size:13px;color:var(--muted);line-height:1.8;margin-top:20px;max-width:44ch}
.scooter-scene{color:#d9e5f0;margin-bottom:18px}.scooter-road{border-color:#4c647d}.scooter-rider{color:#d9e5f0}.finish-sign{stroke:#7d9ab4}.finish-flag{fill:#a2ff51;stroke:#7d9ab4}.finish-checks{fill:#304a65;stroke:none}.crossing-sign{position:absolute;left:19%;bottom:0;width:32px;height:61px}.scooter-rider .rider-drawing{width:104px;height:95px}
@media(max-width:700px){.module-photo{aspect-ratio:3/2}.crossing-sign{left:18%;width:28px;height:54px}}

.module-program>.development{font-size:12px;line-height:1.8;margin:0 0 22px;color:var(--muted)}

/* Reference-led module controls: raised translucent panels, object art, round arrows. */
.primary{border-radius:999px;padding:17px 27px;gap:13px;font-size:16px;box-shadow:0 7px 26px rgba(162,255,81,.22)}.primary .play-icon{width:22px;height:22px;fill:currentColor;stroke:none}
.module-card{--accent:#a2ff51;--glow:162,255,81;border:1px solid var(--accent);border-radius:30px;background:radial-gradient(ellipse at 90% 80%,rgba(var(--glow),.13),transparent 65%),linear-gradient(135deg,#203247,#111e30);box-shadow:0 13px 35px rgba(0,0,0,.34),0 0 16px rgba(var(--glow),.16),inset 0 1px 0 rgba(255,255,255,.14);overflow:hidden}.module-2{--accent:#56d9f2;--glow:86,217,242}.module-3{--accent:#ffca65;--glow:255,202,101}
.module-main{position:relative;min-height:378px;padding:27px 24px 86px;isolation:isolate}.module-badge{display:inline-block;position:relative;z-index:2;background:var(--accent);color:#101b2c;border-radius:999px;padding:4px 14px;font-size:12px;font-weight:750;box-shadow:0 5px 17px rgba(var(--glow),.17);margin-bottom:18px}.module-text{position:relative;z-index:2;max-width:64%;pointer-events:none}.module-text h3{font-size:27px;line-height:1.13;letter-spacing:-.03em;margin-bottom:17px;font-weight:750;text-wrap:balance}.module-text p{font-size:13px;line-height:1.7;color:#d0deed;max-width:24ch}
.module-art{position:absolute;inset:48px -27px 52px 47%;z-index:1;pointer-events:none}.module-art .card-object{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 10px 15px rgba(0,0,0,.45))}.module-art-1{inset:33px -40px 45px 43%}.module-art-2{inset:70px -17px 62px 57%}.module-art-2 .card-object{position:absolute;inset:85px -12px -32px;width:100%;height:72%;object-fit:contain}.card-sign{position:absolute;top:0;right:12px;width:118px;height:118px;transform:rotate(10deg);border-radius:8px;box-shadow:3px 6px 0 #a3b3c7,0 14px 24px rgba(0,0,0,.4)}.module-art-3{inset:55px -15px 60px 52%}
.round-link,.module-2 .round-link{position:absolute;right:24px;bottom:24px;z-index:3;display:grid;place-items:center;width:56px;height:56px;min-height:56px;padding:0;margin:0;border:0;border-radius:50%;background:var(--accent);color:#101b2c;box-shadow:0 5px 18px rgba(var(--glow),.25);transition:transform .25s var(--ease),background .25s var(--ease)}.round-link svg{width:26px;height:26px;stroke-width:2}.round-link:hover{background:var(--accent);transform:translateX(3px)}.round-link.unavailable{opacity:.55;cursor:not-allowed;box-shadow:none}.round-link.unavailable:hover{transform:none}.module-main>.coming{position:absolute;left:24px;bottom:38px;font-size:12px;font-weight:600;color:var(--warning);z-index:2}.module-program{margin-inline:24px;border-top-color:rgba(190,210,233,.25)}.module-program summary{font-size:12px;min-height:55px}.module-program summary span{color:var(--accent)}.module-program>.development{font-size:12px}
.auth-nav{border-radius:999px}.footer .image-credit{width:100%;order:4;font-size:10px;color:var(--muted);margin-top:-10px}.footer{flex-wrap:wrap}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.module-card:hover{box-shadow:0 22px 44px rgba(0,0,0,.4),0 0 24px rgba(var(--glow),.23),inset 0 1px 0 rgba(255,255,255,.18)}}
@media(max-width:1050px) and (min-width:701px){.module-main{padding-inline:19px;min-height:415px}.module-text{max-width:70%}.module-text h3{font-size:25px}.module-text p{font-size:12px}.module-art{opacity:.8}.module-art-1{inset:65px -45px 35px 43%}.card-sign{width:95px;height:95px}.round-link{right:19px}.module-program{margin-inline:19px}}
@media(max-width:700px){.module-card{border-radius:26px}.module-main{min-height:365px;padding:26px 23px 82px}.module-text{max-width:64%}.module-text h3{font-size:28px}.module-text p{font-size:13px}.module-art-1{inset:38px -29px 40px 43%}.module-art-2{inset:75px -6px 55px 57%}.card-sign{width:108px;height:108px}.module-art-3{inset:60px -6px 58px 53%}.round-link{right:23px;bottom:23px}.module-program{margin-inline:23px}.module-main>.coming{left:23px}}
@media(prefers-reduced-motion:reduce){.round-link:hover{transform:none}}
/* Keep the arrow centered and decorative objects clear of copy at narrow widths. */
.round-link,.module-2 .round-link{justify-content:center;align-content:center}.card-sign{right:32px}.module-3 .module-text{max-width:59%}
@media(max-width:700px){.card-sign{right:22px}}
