@font-face{font-family:Onest;src:url('assets/onest.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
:root{--paper:#d4e9d9;--ink:#183b35;--green:#087467;--orange:#ff713d;--muted:#4a6058;--line:#bdc8ba;--lime:#d4ef77;--yellow:#f7dd72}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Onest,Arial,sans-serif;font-size:16px;line-height:1.55}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit}a,button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:3px solid #a73518;outline-offset:5px}::selection{background:var(--lime);color:var(--ink)}.wrap{width:min(1280px,calc(100% - 80px));margin-inline:auto}h1,h2,h3,p{margin:0}svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}.header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-block:23px;border-bottom:1px solid var(--ink)}.brand{display:inline-flex;gap:10px;align-items:center;font-size:30px;line-height:1;font-weight:850;letter-spacing:-.04em}.brand img{width:43px;height:43px}.brand-sub{display:block;font-size:10px;font-weight:550;letter-spacing:0;margin-top:6px}.header nav{display:flex;gap:32px;align-items:center;font-size:13px;font-weight:550}.header nav>a:not(.nav-start):hover{text-decoration:underline;text-underline-offset:6px}.nav-start{display:inline-flex;align-items:center;gap:20px;background:var(--ink);color:var(--paper);padding:13px 18px;border-radius:5px}.arrow-icon{width:20px;height:20px;stroke-width:1.7;flex-shrink:0}.hero{display:grid;grid-template-columns:1.12fr 1fr;gap:28px;padding-block:60px 65px;align-items:center}.hero-copy{position:relative;z-index:1}h1{font-size:clamp(48px,4.8vw,72px);font-weight:850;line-height:1.07;letter-spacing:-.04em}.headline-line{color:var(--ink)}.headline-accent{position:relative;color:var(--green);white-space:nowrap}.headline-accent:after{content:'';position:absolute;height:10px;bottom:-9px;left:0;width:100%;background:var(--orange);clip-path:polygon(0 35%,100% 0,99% 60%,0 100%)}.hero-copy>p{font-size:17px;max-width:480px;margin-block:31px 25px;line-height:1.65;color:var(--muted)}.button{display:inline-flex;align-items:center;gap:37px;background:var(--orange);padding:17px 23px;border-radius:5px;font-size:15px;font-weight:750;transition:background .2s}.button:hover{background:#ff925d}.button .arrow-icon{transition:transform .25s}.button:hover .arrow-icon{transform:translate(3px,-3px)}.hero-note{display:flex;gap:12px;align-items:center;margin-top:23px;font-size:11px;color:var(--muted)}.age{background:var(--lime);padding:6px 11px;color:var(--ink);font-weight:750;border-radius:3px;white-space:nowrap}.hero-photo{position:relative;margin:0;min-width:0;background:var(--green)}.photo{background-image:url('assets/course-photos.png');background-repeat:no-repeat;background-size:200% auto;background-color:#b5ceae}.photo-hero{background-position:left top;aspect-ratio:3 / 2}.hero-photo figcaption{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#fff;padding:17px 20px;font-size:13px;font-weight:600}.caption-mark{font-size:9px;letter-spacing:.1em;writing-mode:vertical-rl}.editorial-strip{background:var(--lime);border-block:1px solid var(--ink)}.strip-inner{display:flex;align-items:center;gap:35px;padding-block:19px}.strip-inner>span:not(.strip-note){font-size:27px;font-weight:800;letter-spacing:-.03em}.strip-inner svg{width:46px;height:26px;stroke-width:1.5}.strip-note{font-size:11px;font-weight:650;margin-left:auto;letter-spacing:.07em;text-transform:uppercase}.course{padding-top:70px;padding-bottom:15px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:30px}.section-heading h2{font-size:49px;line-height:1.03;letter-spacing:-.04em;font-weight:800}.heading-dot{color:var(--orange)}.section-heading>p{font-size:14px;line-height:1.7;color:var(--muted);max-width:360px;margin-bottom:3px}.modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;align-items:start}.module{min-width:0;border-top:2px solid var(--ink);padding-top:15px}.module-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;font-weight:600;min-height:31px}.module-number{font-size:29px;font-weight:800;letter-spacing:-.04em;line-height:1;font-variant-numeric:tabular-nums}.module-photo{position:relative;aspect-ratio:3 / 2;margin-block:17px 24px;isolation:isolate}.photo-devices{background-position:right top}.photo-check{background-position:left bottom}.photo-route{background-position:right bottom}.module h3{font-size:29px;font-weight:800;line-height:1.12;letter-spacing:-.035em;min-height:65px;margin-bottom:14px}.module>p{color:var(--muted);font-size:14px;line-height:1.75;min-height:102px}.module-task{font-size:12px;padding-block:18px 20px;min-height:99px}.task-label{display:block;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.07em;margin-bottom:5px;color:var(--green)}.module-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:transparent;padding:17px 0;text-align:left;font-size:13px;font-weight:750;cursor:pointer;min-height:58px}.module-toggle:hover{color:var(--green)}.module-toggle span{font-weight:400;font-size:25px;line-height:1}.module-details{font-size:14px;padding-block:17px 10px}.module-details ul{margin:0 0 18px;padding-left:20px}.module-details li{margin-bottom:9px}.development{font-size:12px;color:var(--muted)}.how{display:grid;grid-template-columns:1fr 1fr;gap:65px;margin-block:75px;padding:43px 46px;background:var(--yellow);border-radius:12px;position:relative}.how h2{font-size:51px;font-weight:850;letter-spacing:-.04em;line-height:1.08}.how h2 span{color:var(--green)}.how>div>p{max-width:440px;font-size:14px;color:#344d35;margin-top:22px;line-height:1.75}.learning-steps{list-style:none;margin:0;padding:2px 0;counter-reset:steps}.learning-steps li{position:relative;padding:0 0 21px 50px;counter-increment:steps}.learning-steps li:last-child{padding-bottom:0}.learning-steps li:before{content:counter(steps);position:absolute;left:0;top:1px;background:var(--ink);color:var(--yellow);border-radius:50%;width:29px;height:29px;display:grid;place-items:center;font-size:12px}.learning-steps span{font-weight:750;font-size:19px}.learning-steps p{font-size:13px;color:#344d35;margin-top:5px;max-width:350px}.footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--ink);padding-block:25px}.footer .brand{font-size:25px}.footer .brand img{width:36px;height:36px}.footer>p{font-size:12px;color:var(--muted)}.version{font-size:10px;background:#e8e9db;padding:7px 10px;border-radius:3px}.image-credit{width:100%;font-size:10px!important}.skip{position:fixed;top:-100px;left:16px;z-index:10;background:var(--ink);color:white;padding:12px}.skip:focus{top:10px}[hidden]{display:none!important}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.module-photo{transition:filter .3s}.module:hover .module-photo{filter:saturate(1.12)}.module:hover }
@media(max-width:1100px){.wrap{width:calc(100% - 48px)}.hero{gap:25px}h1{font-size:clamp(40px,4.7vw,60px)}.hero-copy>p{font-size:15px}.modules{gap:20px}.module h3{font-size:25px}.module>p{min-height:125px}.module-task{min-height:112px}.how{padding:35px;gap:35px}.how h2{font-size:43px}.strip-inner{gap:25px}.strip-inner>span:not(.strip-note){font-size:24px}}
@media(max-width:760px){.wrap{width:calc(100% - 36px)}.header{padding-block:18px}.brand{font-size:25px}.brand img{width:37px;height:37px}.brand-sub{font-size:8px}.header nav{gap:16px;font-size:11px}.header nav>a:first-child{display:none}.nav-start{padding:11px;gap:11px}.nav-start .arrow-icon{width:16px;height:16px}.hero{grid-template-columns:1fr;gap:33px;padding-block:35px 33px}h1{font-size:clamp(39px,9.6vw,66px);line-height:1.1}.hero-copy>p{font-size:15px;margin-block:29px 22px;max-width:440px}.desktop-break{display:none}.hero-note{font-size:10px;gap:10px;margin-top:18px}.button{padding:15px 20px;font-size:14px}.hero-photo{margin-top:0}.photo-hero{aspect-ratio:3 / 2}.hero-photo figcaption{padding:14px 16px;font-size:12px}.strip-inner{gap:13px;justify-content:space-between;padding-block:15px}.strip-inner>span:not(.strip-note){font-size:clamp(15px,4.2vw,23px)}.strip-inner svg{width:22px;height:18px}.strip-note{display:none}.course{padding-top:41px}.section-heading{display:block;margin-bottom:25px}.section-heading h2{font-size:38px}.section-heading>p{margin-top:19px;font-size:13px}.modules{grid-template-columns:1fr;gap:32px}.module{padding-top:13px}.module-top{font-size:12px}.module-number{font-size:30px}.module-photo{margin-block:16px 21px}.module h3{font-size:31px;min-height:0;margin-bottom:13px}.module>p{font-size:15px;min-height:0}.module-task{min-height:0;padding-block:20px}.module-toggle{font-size:14px}.module-details{font-size:15px}.how{grid-template-columns:1fr;padding:27px 23px;gap:28px;margin-block:38px}.how h2{font-size:40px}.how>div>p{font-size:14px;margin-top:17px}.learning-steps li{padding-left:44px}.learning-steps span{font-size:18px}.learning-steps p{font-size:13px}.footer .brand{font-size:23px}.footer .brand img{width:32px;height:32px}.footer>p:not(.image-credit){order:3;width:100%}.image-credit{order:4}.version{font-size:9px}.headline-accent:after{height:7px;bottom:-6px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
@media(max-width:760px){}

/* Clean editorial photography and full-color course sections. */
.module{border-top:0;border-radius:14px;padding:23px 25px 0;overflow:hidden}
.module-one{background:#d4ef77}.module-two{background:#91dfd4}.module-three{background:#ffbd84}
.module-photo{margin:20px -25px 24px}
.module h3{min-height:66px}
.module>p{color:#294b40;min-height:126px}
.module-task{min-height:109px}
.task-label{color:#254c40}
.module-toggle{border-color:#183b3540;border-bottom:0}
.module-top{font-size:11px;align-items:center}
.hero-photo{border-radius:14px;overflow:hidden}
.hero-photo figcaption{min-height:74px}
.caption-mark{writing-mode:horizontal-tb;letter-spacing:.07em;white-space:nowrap}
.hero-photo figcaption>span:first-child{font-size:13px}
@media(max-width:1100px){.module{padding-inline:20px}.module-photo{margin-inline:-20px}.module>p{min-height:150px}.module-task{min-height:120px}}
@media(max-width:760px){.module{padding:23px 24px 0}.module-photo{margin:18px -24px 23px}.module h3,.module>p,.module-task{min-height:0}.module>p{font-size:15px}.module-top{font-size:12px}.hero-photo figcaption{min-height:75px}.caption-mark{font-size:8px}.modules{gap:23px}}

/* Approved mint color variant. */
.header{border-color:#759b86}.hero-photo figcaption{background:#086b5d}.editorial-strip{background:#b9dd9d}.module-one{background:#c2e964}.module-two{background:#86d8c8}.module-three{background:#ffbf8d}

/* One quiet ride when the footer comes into view. */
.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))}}

/* Small roadside details; never blink or loop. */
.how>div:first-child{position:relative;padding-right:65px}
.learning-road-sign{position:absolute;top:4px;right:0;width:51px;height:51px;transform:rotate(-5deg);transition:transform .3s cubic-bezier(.16,1,.3,1)}
.how:hover .learning-road-sign,.how:focus-within .learning-road-sign{transform:rotate(0deg)}
.crossing-sign{position:absolute;bottom:0;left:19%;width:32px;height:61px;transform-origin:center bottom;transition:transform .3s cubic-bezier(.16,1,.3,1)}
.scooter-road:hover .crossing-sign{transform:rotate(-3deg)}
@media(max-width:760px){.learning-road-sign{width:40px;height:40px;top:3px}.how>div:first-child{padding-right:43px}.how h2{font-size:clamp(30px,8vw,40px)}.crossing-sign{left:18%;width:28px;height:54px}}

/* Email account controls use the course's existing palette and type. */
[hidden]{display:none!important}
.account-controls{display:flex;align-items:center;gap:12px;min-width:0}
.account-email{max-width:190px;overflow-wrap:anywhere;font-size:12px}
.auth-nav{border:1px solid var(--ink);background:transparent;border-radius:5px;padding:12px 18px;cursor:pointer;font-weight:650;white-space:nowrap}
.auth-nav:hover{background:var(--lime)}
.account-status{font-size:13px;color:var(--green)}
.account-status:not(:empty){padding-top:14px}
.auth-dialog{width:min(460px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:0;border-radius:14px;padding:38px 30px 30px;background:var(--paper);color:var(--ink)}
.auth-dialog::backdrop{background:rgb(24 59 53 / .65)}
.auth-dialog h2{padding-right:25px;font-size:30px;line-height:1.15;letter-spacing:-.03em}
.auth-dialog>p{margin-top:14px;font-size:14px;color:var(--muted)}
.auth-close{position:absolute;right:12px;top:12px;width:36px;height:36px;display:grid;place-items:center;background:transparent;border:0;border-radius:5px;cursor:pointer}
.auth-close svg{width:22px;height:22px;stroke-width:2}
.auth-close:hover{background:var(--lime)}
#auth-form{margin-top:24px}
#auth-form label{display:block;font-size:14px;font-weight:650;margin:18px 0 7px}
#auth-form input{width:100%;min-width:0;border:1px solid #668477;border-radius:5px;background:#f8f5ec;color:var(--ink);padding:12px;font:inherit;font-size:16px;caret-color:var(--green)}
#auth-form input:focus-visible,.auth-dialog button:focus-visible{outline:3px solid #a73518;outline-offset:3px}
.password-field{display:flex;background:#f8f5ec;border:1px solid #668477;border-radius:5px}
#auth-form .password-field input{border:0;background:transparent}
.password-field button{border:0;background:transparent;padding:8px 12px;font-size:12px;font-weight:650;cursor:pointer;border-radius:5px}
.auth-hint{font-size:12px;color:var(--muted);margin-top:7px}
.auth-error,.auth-message{font-size:14px;margin-top:16px;overflow-wrap:anywhere}
.auth-error{color:#8b2817}
.auth-message{color:var(--green)}
.auth-submit{width:100%;margin-top:24px;padding:13px 18px;background:var(--ink);color:var(--paper);border:0;border-radius:5px;font-weight:650;cursor:pointer}
.auth-submit:hover{background:var(--green)}
.auth-dialog .auth-switch{margin-top:24px;font-size:13px}
.auth-switch button{border:0;background:transparent;padding:5px 0;color:var(--green);font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
button:disabled{opacity:.6;cursor:wait}
@media(max-width:1000px){.header nav{gap:16px}.account-email{max-width:140px}}
@media(max-width:700px){.header{flex-wrap:wrap}.header nav{width:100%;flex-wrap:wrap;gap:12px 18px}.account-controls{margin-left:auto}.account-email{max-width:150px}.auth-nav{padding:10px 14px}.auth-dialog{padding:38px 24px 26px}}
/* First lesson: shared course typography, palette and controls. */
.lesson{max-width:1000px;padding-block:36px 76px}
.lesson-breadcrumb{display:flex;flex-wrap:wrap;gap:12px 28px;font-size:13px;margin-bottom:34px;color:var(--muted)}
.lesson-breadcrumb a{text-decoration:underline;text-underline-offset:4px}
.lesson-breadcrumb a:hover{color:var(--green)}
.lesson h1{font-size:clamp(32px,4.5vw,49px);line-height:1.15;letter-spacing:-.03em}
.lesson-intro{max-width:70ch;margin-top:26px;font-size:18px}
.lesson p+p{margin-top:18px}
.lesson-image{display:block;width:100%;height:auto;max-width:100%;margin-block:28px 24px}
.lesson-reveal{margin-top:24px;border:0;cursor:pointer;min-height:48px}
.lesson-answer{max-width:70ch;margin-top:26px;font-size:18px}
.lesson-next{display:block;margin-top:34px;font-size:16px;font-weight:650;color:var(--muted)}
.lesson-next-note{font-size:13px;color:var(--muted);margin-top:6px}
.lesson-start{display:flex;justify-content:center;gap:12px;margin-block:4px 18px;padding:14px 16px;background:var(--ink);color:var(--paper);font-weight:700;text-decoration:none;min-height:48px}
.lesson-start:hover{background:var(--green)}
@media(max-width:700px){.lesson{padding-block:26px 48px}.lesson-breadcrumb{margin-bottom:26px}.lesson-intro,.lesson-answer{font-size:16px}.lesson-image{margin-block:24px 20px}}

.sim-intro-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-block:28px 24px}
.sim-intro-card{display:block;width:100%;height:auto;aspect-ratio:527 / 751;overflow:hidden;stroke:none}
.lesson-next:disabled{border:0;cursor:default;opacity:1;background:var(--line);color:var(--ink)}
@media(max-width:600px){.sim-intro-cards{grid-template-columns:minmax(0,1fr);gap:18px;max-width:380px;margin-inline:auto}}
