@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap";:root{color:#222238;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--ink:#222238;--muted:#84849a;--purple:#6d5ce7;--purple-dark:#5847d3;--line:#eae9f2;--surface:#fff;background:#f7f7fb;font-family:DM Sans,sans-serif}*{box-sizing:border-box}body{background:#f7f7fb;min-width:320px;min-height:100vh;margin:0}button,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}#root{min-height:100vh}.app-shell{max-width:760px;min-height:100vh;margin:0 auto;padding:0 28px 104px;position:relative}.topbar{border-bottom:1px solid #eeedf4;justify-content:space-between;align-items:center;height:74px;display:flex}.brand-button{background:0 0;border:0;align-items:center;gap:9px;padding:0;display:flex}.brand-mark{color:#fff;background:var(--purple);border-radius:11px;place-items:center;width:33px;height:33px;display:grid;box-shadow:0 4px 10px #6d5ce733}.brand-name{letter-spacing:-.8px;color:var(--ink);font-family:Space Grotesk,sans-serif;font-size:19px;font-weight:700}.brand-name span{color:var(--purple)}.top-stats{align-items:center;gap:13px;display:flex}.mini-stat{color:#5f5d73;align-items:center;gap:5px;font-size:13px;display:flex}.avatar-button{width:31px;height:31px;color:var(--purple-dark);background:#eeeaff;border:0;border-radius:50%;font-size:12px;font-weight:800}.main-content{padding-top:31px}.welcome-row{justify-content:space-between;align-items:center;gap:15px;min-height:196px;display:flex}.eyebrow{color:#9998ad;letter-spacing:1.35px;margin:0 0 8px;font-size:10px;font-weight:800}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Space Grotesk,sans-serif}.welcome-row h1{letter-spacing:-1.5px;margin:0;font-size:clamp(29px,5vw,38px);line-height:1.08}.welcome-row h1 span{color:var(--purple)}.welcome-copy{color:var(--muted);margin:12px 0 0;font-size:14px}.hero-illustration{flex:0 0 190px;place-items:center;width:190px;height:172px;display:grid;position:relative}.hero-orbit{border:1px dashed #d9d4fa;border-radius:50%;position:absolute;transform:rotate(-23deg)}.orbit-one{width:162px;height:101px}.orbit-two{width:132px;height:147px;transform:rotate(38deg)}.hero-code{z-index:1;color:#fff;background:linear-gradient(145deg,#8c7cf9,#6151db);border-radius:29px;place-items:center;width:92px;height:92px;display:grid;position:relative;transform:rotate(-7deg);box-shadow:0 15px 30px #6555d744}.hero-code span{letter-spacing:-3px;font-family:Space Grotesk,sans-serif;font-size:37px;font-weight:700}.hero-code i{color:#ffe08b;font-size:16px;font-style:normal;position:absolute;top:12px;right:14px}.float-dot{z-index:2;color:var(--purple);background:#fff;border-radius:12px;padding:7px 10px;font-family:monospace;font-size:15px;font-weight:700;position:absolute;box-shadow:0 5px 15px #29244b12}.dot-one{color:#e6a23c;top:17px;right:8px;transform:rotate(9deg)}.dot-two{bottom:17px;left:2px;transform:rotate(-10deg)}.daily-card{background:linear-gradient(105deg,#f0edff,#faf9ff);border:1px solid #eae7ff;border-radius:18px;justify-content:space-between;align-items:center;gap:12px;margin:13px 0 35px;padding:16px 17px;display:flex}.daily-main{align-items:center;gap:11px;min-width:0;display:flex}.daily-icon{color:#8a73ef;background:#fff;border-radius:12px;flex:none;place-items:center;width:37px;height:37px;display:grid}.daily-text{flex-direction:column;gap:4px;min-width:0;display:flex}.daily-text strong{font-size:13px}.daily-text span{color:#7d7996;white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.primary-button{background:var(--purple);color:#fff;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 17px;font-size:13px;font-weight:800;transition:background .18s,transform .18s;display:inline-flex;box-shadow:0 5px 12px #6656de2a}.primary-button:hover:not(:disabled){background:var(--purple-dark);transform:translateY(-1px)}.primary-button:disabled{opacity:.45;box-shadow:none}.daily-button{white-space:nowrap;border-radius:10px;min-height:38px;padding:0 12px;font-size:11px}.course-section{margin-bottom:20px}.section-heading{justify-content:space-between;align-items:end;margin-bottom:13px;display:flex}.section-heading h2{letter-spacing:-.6px;margin:0;font-size:21px}.course-fraction{color:#89889c;padding-bottom:3px;font-size:12px;font-weight:700}.overall-progress{background:#e9e8f0;border-radius:10px;height:6px;margin-bottom:23px;overflow:hidden}.overall-progress div{border-radius:inherit;background:linear-gradient(90deg,#7969ed,#a49af8);height:100%;transition:width .25s}.path-list{flex-direction:column;display:flex}.path-row{grid-template-columns:49px minmax(0,1fr);min-height:86px;display:grid}.path-connector{justify-content:center;display:flex;position:relative}.path-node{z-index:1;color:#aaa8ba;background:#fff;border:2px solid #e8e6f0;border-radius:50%;place-items:center;width:37px;height:37px;margin-top:13px;font-size:17px;display:grid}.path-node.node-current{border:2px solid var(--node-color);box-shadow:0 0 0 4px color-mix(in srgb, var(--node-color) 12%, transparent)}.path-node.node-complete{color:#fff;background:#36b78e;border-color:#36b78e}.path-line{z-index:0;background:#e8e6f0;width:2px;position:absolute;top:50px;bottom:-1px}.path-line.line-complete{background:#8bd5ba}.lesson-card{text-align:left;background:#fff;border:1px solid #eae9f1;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:69px;margin-bottom:14px;padding:12px 14px;transition:border .18s,box-shadow .18s;display:flex}.lesson-card:not(:disabled):hover{border-color:#cfc9ff;box-shadow:0 5px 16px #403b6a0b}.lesson-card.lesson-current{border-color:#d5d0ff;box-shadow:0 4px 16px #5b4cbd0a}.lesson-card:disabled{opacity:.62;background:#fbfbfd}.lesson-card-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.lesson-unit{color:#aaa8bb;letter-spacing:1px;font-size:9px;font-weight:800}.lesson-card-copy strong{color:var(--ink);font-size:13px}.lesson-card-copy>span:last-child{color:#8a899d;font-size:11px}.lesson-card-meta{color:#9795a9;flex:none;align-items:center;gap:7px;font-size:11px;display:flex}.done-label{color:#35a980;letter-spacing:.5px;align-items:center;gap:3px;font-size:9px;font-weight:800;display:inline-flex}.install-nudge{border:1px solid var(--line);color:#676579;background:#fff;border-radius:14px;align-items:center;gap:10px;margin:17px 0 22px;padding:14px;font-size:12px;display:flex}.install-nudge svg{color:var(--purple)}.install-nudge span{flex:1}.install-nudge button{color:var(--purple);background:0 0;border:0;font-size:12px;font-weight:800}.bottom-nav{z-index:20;width:min(100%,760px);height:73px;padding:8px 20px calc(8px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffed;border-top:1px solid #eeedf4;justify-content:center;align-items:center;gap:85px;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-nav button{color:#a09eb0;background:0 0;border:0;flex-direction:column;align-items:center;gap:4px;min-width:65px;font-size:10px;font-weight:700;display:flex}.bottom-nav button.nav-active{color:var(--purple)}.lesson-screen{max-width:620px;margin:0 auto;padding-bottom:20px}.lesson-topline{align-items:center;gap:14px;height:38px;display:flex}.back-button{color:#68677d;background:#fff;border:0;border-radius:10px;place-items:center;width:35px;height:35px;display:grid}.lesson-progress-track{flex:1;gap:5px;display:flex}.lesson-progress-track span{background:#e8e7ef;border-radius:5px;flex:1;height:5px}.lesson-progress-track span.segment-filled{background:#8172ee}.lesson-step{color:#9694a8;font-size:11px;font-weight:700}.lesson-context{align-items:center;gap:10px;margin:27px 0;display:flex}.lesson-context>span{border-radius:13px;place-items:center;width:41px;height:41px;font-size:21px;display:grid}.lesson-context div{flex-direction:column;gap:3px;display:flex}.lesson-context b{font-size:13px}.lesson-context small{color:var(--muted);font-size:11px}.challenge-heading{margin-bottom:22px}.challenge-heading h1{letter-spacing:-1px;margin:0 0 8px;font-size:29px}.challenge-heading>p:last-child{color:#7d7b91;margin:0;font-size:13px;line-height:1.5}.question-card{color:var(--purple);background:#fff;border:1px solid #eae8f4;border-radius:16px;align-items:center;gap:13px;margin-bottom:14px;padding:19px;display:flex}.question-card p{color:var(--ink);margin:0;font-size:14px;font-weight:700;line-height:1.45}.option-list{flex-direction:column;gap:9px;display:flex}.option-button{color:#4d4c61;text-align:left;background:#fff;border:1.5px solid #e7e6ef;border-radius:13px;align-items:center;gap:12px;min-height:54px;padding:9px 13px;font-size:13px;font-weight:600;transition:all .15s;display:flex}.option-button:hover{border-color:#c8c1ff}.option-letter{color:#8d8ba0;background:#f3f2f8;border-radius:9px;place-items:center;width:29px;height:29px;font-size:11px;font-weight:800;display:grid}.option-button>span:nth-child(2){flex:1}.option-selected{border-color:var(--purple);color:#5142c4;background:#f7f5ff}.option-selected .option-letter{color:var(--purple);background:#eae6ff}.option-correct{color:#23835f;background:#f0fbf6;border-color:#45b98b}.option-wrong{color:#b44e4e;background:#fff7f6;border-color:#e48282}.inline-feedback{margin:12px 2px;font-size:12px;font-weight:700}.feedback-wrong{color:#c45d5d}.instruction-card{background:#fff;border:1px solid #e9e7f1;border-radius:14px;margin-bottom:12px;padding:16px 17px}.instruction-tag{color:#9996af;letter-spacing:1.1px;font-size:9px;font-weight:800}.instruction-card p{color:#4d4b61;margin:6px 0 0;font-size:13px;line-height:1.55}.editor-card{background:#222333;border-radius:15px;overflow:hidden;box-shadow:0 8px 22px #2020331c}.editor-top{color:#c0c0d1;background:#2c2d40;justify-content:space-between;align-items:center;height:42px;padding:0 14px;font-family:monospace;font-size:11px;display:flex}.editor-top>span:nth-child(2){align-items:center;gap:7px;display:flex}.editor-language{color:#85859c;letter-spacing:1px;font-size:9px}.editor-lights{gap:5px;display:flex}.editor-lights i{background:#f17979;border-radius:50%;width:7px;height:7px}.editor-lights i:nth-child(2){background:#eab95f}.editor-lights i:nth-child(3){background:#63c99b}.code-editor{resize:vertical;color:#e4e2ff;tab-size:4;caret-color:#b6aaff;background:#222333;border:0;outline:none;width:100%;min-height:195px;padding:17px 18px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:13px;line-height:1.7;display:block}.editor-footer{color:#86869f;border-top:1px solid #37384b;justify-content:space-between;align-items:center;height:38px;padding:0 13px;font-size:10px;display:flex}.editor-footer button{color:#e4c578;background:0 0;border:0;align-items:center;gap:5px;font-size:11px;font-weight:700;display:inline-flex}.hint-card{color:#8a713b;background:#fff9e9;border:1px solid #f6e8bd;border-radius:12px;align-items:flex-start;gap:10px;margin-top:11px;padding:12px 14px;font-size:12px;line-height:1.5;display:flex}.hint-card svg{flex:none}.terminal-card{background:#fff;border:1px solid #e8e7ef;border-radius:12px;margin-top:12px;padding:12px 14px;font-size:12px}.terminal-heading{color:#5b5a70;letter-spacing:.4px;justify-content:space-between;align-items:center;font-size:10px;font-weight:800;display:flex}.terminal-heading span:last-child{color:#aaa8b9;font-size:9px}.terminal-card pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#333349;margin:10px 0 0;font-family:monospace;font-size:12px}.terminal-card p{color:#25865f;margin:8px 0 0}.terminal-success{background:#f5fcf8;border-color:#c4ead9}.terminal-error{background:snow;border-color:#f0d2d2}.error-text{color:#bd5959!important}.success-panel{background:#f2fbf6;border:1px solid #ced;border-radius:14px;align-items:center;gap:11px;margin-top:17px;padding:13px 14px;display:flex}.success-icon{color:#fff;background:#39b987;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;display:grid}.success-copy{flex-direction:column;flex:1;gap:3px;display:flex}.success-copy strong{color:#27835f;font-size:13px}.success-copy span{color:#668779;font-size:10px;line-height:1.4}.xp-earned{color:#269568;white-space:nowrap;font-size:12px;font-weight:800}.already-done{color:#29976d;background:#f0fbf6;border-radius:10px;align-items:center;gap:7px;margin-top:14px;padding:10px 12px;font-size:11px;display:flex}.lesson-bottom-actions{flex-direction:column;gap:9px;margin-top:19px;display:flex}.full-button{width:100%;min-height:49px}.secondary-button{color:var(--purple);background:#fff;border:1px solid #e1ddfc;border-radius:12px;justify-content:center;align-items:center;gap:7px;min-height:44px;font-size:12px;font-weight:800;display:flex}.lesson-footnote{text-align:center;color:#aaa8b7;margin-top:16px;font-size:10px}.spinner{border:2px solid #ffffff72;border-top-color:#fff;border-radius:50%;width:15px;height:15px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.progress-screen{max-width:620px;margin:0 auto}.progress-header{align-items:center;gap:13px;margin-bottom:24px;display:flex}.progress-header .eyebrow{margin-bottom:3px}.progress-header h1{letter-spacing:-.8px;margin:0;font-size:26px}.level-card{color:#fff;background:linear-gradient(110deg,#6655db,#8879ef);border-radius:17px;align-items:center;gap:14px;padding:19px;display:flex;box-shadow:0 9px 22px #5f50d32c}.level-emblem{color:#ffdf8d;background:#fff2;border-radius:16px;flex:none;place-items:center;width:53px;height:53px;display:grid}.level-info{flex-direction:column;flex:1;min-width:0;display:flex}.level-info>span{color:#d6d0ff;letter-spacing:1.2px;font-size:9px;font-weight:800}.level-info strong{margin:2px 0;font-family:Space Grotesk,sans-serif;font-size:17px}.level-info small{color:#e0dcff;font-size:10px}.level-bar{background:#ffffff40;border-radius:5px;height:5px;margin-top:9px;overflow:hidden}.level-bar div{border-radius:inherit;background:#ffe08a;height:100%}.level-xp{text-align:right;font-family:Space Grotesk,sans-serif;font-size:20px;font-weight:700}.level-xp small{color:#ddd8ff;font-family:DM Sans,sans-serif;font-size:9px;display:block}.metric-grid{grid-template-columns:1fr 1fr;gap:12px;margin:14px 0;display:grid}.metric-card{background:#fff;border:1px solid #eae9f2;border-radius:15px;flex-direction:column;align-items:flex-start;padding:16px;display:flex}.metric-icon{border-radius:11px;place-items:center;width:34px;height:34px;margin-bottom:10px;display:grid}.metric-purple{color:#7364df;background:#f0edff}.metric-orange{color:#e49a3e;background:#fff4e7}.metric-card strong{letter-spacing:-.6px;font-family:Space Grotesk,sans-serif;font-size:25px}.metric-card strong small{color:#aaa8b8;font-size:13px}.metric-card>span{color:#89879b;margin-top:2px;font-size:11px}.activity-card{background:#fff;border:1px solid #eae9f2;border-radius:15px;margin-bottom:14px;padding:17px}.card-title-row{justify-content:space-between;align-items:center;display:flex}.card-title-row .eyebrow{margin-bottom:3px}.card-title-row h3{margin:0;font-size:16px}.activity-count{color:#8e8ba2;font-size:10px;font-weight:700}.week-grid{grid-template-columns:repeat(7,1fr);gap:8px;margin-top:19px;display:grid}.week-day{color:#a5a3b4;flex-direction:column;align-items:center;gap:7px;font-size:10px;font-weight:700;display:flex}.week-day div{background:#fafafd;border:1px solid #eae9f2;border-radius:10px;place-items:center;width:31px;height:31px;display:grid}.week-day div.day-active{color:#fff;background:#40b98c;border-color:#40b98c}.milestone-card{color:#6558bc;background:#f1efff;border-radius:14px;align-items:center;gap:12px;padding:15px;display:flex}.milestone-icon{background:#fff;border-radius:11px;flex:none;place-items:center;width:36px;height:36px;display:grid}.milestone-card div:last-child{flex-direction:column;gap:3px;display:flex}.milestone-card strong{font-size:12px}.milestone-card span{color:#8880c1;font-size:10px;line-height:1.4}.reset-button{color:#a09eae;background:0 0;border:0;align-items:center;gap:7px;margin:23px auto 0;font-size:11px;display:flex}.modal-backdrop{z-index:50;background:#1f1d36a8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.install-modal{background:#fff;border-radius:20px;width:100%;max-width:390px;padding:25px;position:relative;box-shadow:0 20px 60px #17152b40}.modal-close{color:#9593a5;background:0 0;border:0;font-size:26px;position:absolute;top:12px;right:14px}.modal-icon{width:45px;height:45px;color:var(--purple);background:#efedff;border-radius:14px;place-items:center;margin-bottom:13px;display:grid}.install-modal h3{margin:0 0 13px;font-size:21px}.install-modal p{color:#6f6d82;font-size:12px;line-height:1.6}@media (width<=560px){.app-shell{padding-left:18px;padding-right:18px}.topbar{height:64px}.main-content{padding-top:23px}.welcome-row{min-height:166px}.hero-illustration{transform-origin:100%;flex-basis:135px;width:135px;height:145px;margin-left:-12px;transform:scale(.83)}.welcome-row h1{font-size:30px}.daily-card{margin-bottom:29px;padding:13px}.daily-text span{max-width:180px}.section-heading h2{font-size:19px}.path-row{grid-template-columns:44px minmax(0,1fr)}.lesson-card{padding:11px 12px}.bottom-nav{gap:65px}.challenge-heading h1{font-size:26px}}@media (width<=375px){.app-shell{padding-left:14px;padding-right:14px}.hero-illustration{flex-basis:112px;width:112px;transform:scale(.72)}.welcome-row h1{font-size:27px}.daily-text span{max-width:135px}.daily-button{padding:0 9px}}
