@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#1a2740;background:#f7f9fc;font-size:16px}*{box-sizing:border-box}body{margin:0}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #5478ff;outline-offset:3px}.shell{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:100vh}.sidebar{background:#111d32;color:#eef3ff;padding:30px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;font:700 24px 'Space Grotesk';letter-spacing:-1px;padding:0 12px 37px}.brand-icon{display:grid;place-items:center;background:#6c68f7;color:white;width:37px;height:37px;border-radius:12px;font-size:23px;transform:rotate(-8deg)}.nav-label{color:#8d9bb4;font-size:11px;font-weight:800;letter-spacing:2px;padding:0 14px 12px}.nav button{display:flex;align-items:center;gap:13px;width:100%;border:0;background:transparent;color:#aebbd0;text-align:left;padding:12px 14px;border-radius:12px;font-weight:700;margin-bottom:4px}.nav button.active,.nav button:hover{background:#263754;color:white}.nav button.active{box-shadow:inset 3px 0 #8a86ff}.nav .symbol{width:22px;text-align:center;font-size:19px}.side-bottom{margin-top:auto;background:#1c2b46;border-radius:17px;padding:18px;color:#bdc9dc;font-size:13px;line-height:1.5}.side-bottom strong{display:block;color:#fff;font-size:15px;margin-bottom:5px}.main{min-width:0}.topbar{height:76px;border-bottom:1px solid #e8ecf2;background:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 clamp(22px,4vw,58px)}.topbar small{font-weight:800;letter-spacing:1.6px;color:#8994a6;font-size:11px;text-transform:uppercase}.stats{display:flex;align-items:center;gap:22px;font-weight:800}.stat{display:flex;align-items:center;gap:7px}.stat b{font-size:18px}.stat .emoji{font-size:20px}.content{max-width:1170px;padding:36px clamp(22px,4vw,58px) 70px;margin:auto}.eyebrow{font-size:12px;letter-spacing:2px;color:#665feb;font-weight:800;text-transform:uppercase}.hero{display:grid;grid-template-columns:1fr 220px;align-items:center;min-height:216px;border-radius:25px;background:#202d51;color:white;padding:32px 40px;margin-bottom:36px;overflow:hidden;position:relative}.hero:after{content:'';position:absolute;width:380px;height:380px;border:1px solid #ffffff22;border-radius:50%;right:-70px;top:-70px;box-shadow:0 0 0 45px #ffffff08,0 0 0 95px #ffffff08}.hero h1{font:700 clamp(29px,3vw,42px)/1.12 'Space Grotesk';letter-spacing:-1.5px;margin:10px 0}.hero p{color:#bdc9e5;max-width:500px;line-height:1.6;margin:0 0 20px}.hero-art{font:700 104px 'Space Grotesk';color:#aaa5ff;text-align:center;z-index:1;text-shadow:10px 13px 0 #544caa;transform:rotate(-10deg)}.primary{border:0;border-radius:12px;background:#7771f5;color:white;padding:13px 20px;font-weight:800;box-shadow:0 4px 0 #544cc2}.primary:hover{background:#625be4}.primary:active{transform:translateY(3px);box-shadow:0 1px 0 #544cc2}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:16px;gap:10px}.section-head h2{font:700 24px 'Space Grotesk';letter-spacing:-.7px;margin:0}.section-head p{color:#7f8a9e;margin:5px 0 0;font-size:14px}.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.card{background:white;border:1px solid #e9edf4;border-radius:18px;padding:21px;box-shadow:0 3px 12px #1a274007;display:flex;flex-direction:column;min-height:211px}.card:hover{border-color:#bbb8ff;box-shadow:0 8px 24px #34327b12}.course-top{display:flex;justify-content:space-between;align-items:start}.course-icon{width:51px;height:51px;border-radius:14px;display:grid;place-items:center;font:700 23px 'Space Grotesk';background:var(--tint);color:var(--accent)}.pill{color:#808ba0;background:#f4f6fa;border-radius:30px;font-size:11px;font-weight:800;padding:6px 9px}.card h3{margin:17px 0 5px;font:700 19px 'Space Grotesk'}.card p{margin:0;color:#7a879a;font-size:13px;line-height:1.45;flex:1}.card-foot{display:flex;align-items:center;gap:10px;margin-top:19px}.bar{background:#ecedf5;border-radius:20px;height:8px;overflow:hidden;flex:1}.bar i{display:block;background:var(--accent,#7771f5);height:100%;border-radius:20px}.percent{font-size:12px;color:#7e8797;font-weight:800}.card button{margin-top:17px;background:#fff;border:1px solid #e5e8f1;border-radius:10px;padding:9px;color:#514bd4;font-weight:800;text-align:left}.card button:hover{background:#f2f1ff}.panel{background:white;border:1px solid #e9edf4;border-radius:20px;padding:25px}.path-header{display:flex;align-items:center;gap:18px;margin-bottom:22px}.path-header h1{margin:0;font:700 32px 'Space Grotesk'}.path-header p{color:#7a879a;margin:5px 0 0}.back{border:0;background:#eef0f6;color:#536078;border-radius:9px;padding:9px 12px;font-weight:800}.unit{border-left:3px solid #e6e8f1;margin-left:22px;padding:0 0 13px 26px;position:relative}.unit:before{content:'';position:absolute;width:14px;height:14px;border:4px solid #daddf0;border-radius:50%;background:white;left:-11px;top:17px}.unit.done:before{background:#67c69b;border-color:#67c69b}.unit .lesson-row{width:100%;background:white;border:1px solid #e9edf4;border-radius:16px;text-align:left;padding:17px 19px;display:flex;gap:15px;align-items:center;margin-bottom:12px;color:#1a2740}.lesson-row:hover{border-color:#8c86f8}.lesson-row .number{width:41px;height:41px;flex:none;border-radius:12px;background:#f0efff;color:#726be6;display:grid;place-items:center;font-weight:800}.unit.done .number{background:#e3f8ec;color:#289765}.lesson-row strong{display:block;font:700 17px 'Space Grotesk'}.lesson-row small{display:block;color:#8893a5;margin-top:4px;font-size:13px}.check{margin-left:auto;color:#31a878;font-weight:800}.lesson-wrap{max-width:760px;margin:auto}.lesson-top{display:flex;align-items:center;gap:17px;margin-bottom:30px}.lesson-top .bar{height:11px}.lesson-top span{font-weight:800;color:#7a739e;white-space:nowrap}.question-kind{display:inline-block;background:#eeeaff;color:#635de1;border-radius:30px;padding:7px 11px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.7px}.question{font:700 clamp(24px,3vw,33px)/1.25 'Space Grotesk';letter-spacing:-.7px;margin:19px 0 12px}.hint{color:#778497;line-height:1.6;margin:0 0 23px}.code{white-space:pre-wrap;overflow-x:auto;background:#1b2941;color:#d8e6ff;border-radius:15px;padding:20px;font:15px/1.55 ui-monospace,SFMono-Regular,monospace;margin:0 0 23px}.choices{display:grid;gap:11px}.choice{width:100%;text-align:left;padding:16px 18px;border:2px solid #e5e9f1;border-radius:13px;background:#fff;color:#293650;font-weight:700;line-height:1.4}.choice:hover{border-color:#aaa5f7}.choice.selected{border-color:#7771f5;background:#f1f0ff}.choice.correct{border-color:#48ba86;background:#e9f9f0}.choice.wrong{border-color:#e87278;background:#fff0f0}.answerbar{margin-top:27px;border-top:1px solid #e8eaf0;padding-top:22px;display:flex;align-items:center;justify-content:space-between;gap:16px}.feedback{font-weight:800;color:#25926b}.feedback.bad{color:#d35059}.feedback small{font-weight:500;color:#718094;display:block;margin-top:6px;line-height:1.5}.muted{color:#8590a1;font-size:14px}.result{text-align:center;padding:50px 24px}.result .trophy{font-size:70px}.result h1{font:700 36px 'Space Grotesk';margin:14px 0}.result p{color:#788599;line-height:1.6}.result .primary{margin-top:14px}.empty{padding:32px;text-align:center;background:#fff;border:1px dashed #ccd2e0;border-radius:16px;color:#788599}.mobile-nav{display:none}@media(max-width:950px){.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shell{grid-template-columns:74px 1fr}.sidebar{padding:24px 10px}.brand{padding:0 0 30px;justify-content:center}.brand-text,.nav-label,.nav button span:not(.symbol),.side-bottom{display:none}.nav button{justify-content:center;padding:13px}.nav .symbol{font-size:23px}.hero{grid-template-columns:1fr 130px}.hero-art{font-size:76px}}@media(max-width:650px){.shell{display:block}.sidebar{display:none}.topbar{height:66px;padding:0 20px}.stats{gap:13px}.content{padding:25px 17px 90px}.hero{display:block;min-height:0;padding:28px;margin-bottom:29px}.hero-art{position:absolute;right:10px;bottom:-29px;opacity:.32}.hero p{max-width:290px}.course-grid{grid-template-columns:1fr}.card{min-height:185px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;background:#111d32;padding:8px 8px max(8px,env(safe-area-inset-bottom));z-index:10}.mobile-nav button{background:none;border:0;color:#afbdd2;font-size:12px;font-weight:700;padding:6px 12px;display:grid;gap:2px}.mobile-nav button.active{color:#bcb9ff}.mobile-nav b{font-size:20px}.answerbar{align-items:stretch;flex-direction:column}.answerbar .primary{width:100%}.lesson-top{margin-bottom:22px}.path-header h1{font-size:26px}}
