
:root{color-scheme:light;--bg:#f7f8f2;--surface:#fff;--ink:#202c28;--muted:#67726a;--line:#e2e7dc;--green:#1d5341;--soft:#e9f2dc;--accent:#c8e5a4;--orange:#f4ddbd;--purple:#e9e3f6;--shadow:0 12px 40px #263c2810;font-family:Inter,'Segoe UI',Arial,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:15px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--green)}button{border:0;background:transparent;color:inherit}button:disabled{opacity:.55;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #698e48;outline-offset:4px}h1,h2,h3,p{margin:0}h1{font-size:clamp(32px,3.8vw,48px);line-height:1.15;letter-spacing:-1.8px;font-weight:650}h2{font-size:24px;line-height:1.3;letter-spacing:-.6px}h3{font-size:18px;line-height:1.4}p{color:var(--muted)}.shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;padding:36px 22px 22px;border-right:1px solid var(--line);background:var(--surface);display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;font-size:27px;font-weight:750;letter-spacing:-1px;text-align:left}.brand img{width:35px;height:35px}.brand small{font-size:9px;background:var(--soft);color:var(--green);padding:2px 5px;border-radius:5px;letter-spacing:1px}.nav-label{font-size:10px;letter-spacing:1.8px;color:var(--muted);margin:46px 16px 12px}.nav{display:grid;gap:7px}.nav button{display:flex;align-items:center;gap:13px;padding:13px 16px;text-align:left;border-radius:11px;font-size:14px;color:var(--muted)}.nav button.active{background:var(--soft);color:var(--green);font-weight:650}.nav button:hover{background:var(--bg)}.nav svg,.icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.sidebar-bottom{margin-top:auto}.side-note{padding:18px 14px;border:1px solid var(--line);border-radius:12px;margin:30px 0 15px;font-size:12px}.side-note strong{display:block;color:var(--green);margin-bottom:4px}.side-note .dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#648444;margin-right:7px}.profile{border-top:1px solid var(--line);padding:18px 8px 0;display:flex;gap:12px;align-items:center;font-size:12px}.avatar{display:grid;place-items:center;background:var(--purple);width:34px;height:34px;border-radius:50%;font-weight:700}.workspace{min-width:0}.topbar{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 46px;border-bottom:1px solid var(--line);gap:12px;font-size:12px}.breadcrumb{color:var(--muted)}.breadcrumb b{color:var(--ink);font-weight:500}.status{display:flex;align-items:center;gap:17px}.pill{font-size:11px;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:30px;padding:5px 11px;background:var(--surface);white-space:nowrap}.pill.green{color:var(--green);background:var(--soft);border:0}.main{max-width:1320px;margin:auto;padding:40px 46px 60px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--green);margin-bottom:12px}.heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:26px}.heading p{margin-top:12px;font-size:14px}.subtle-button{font-size:12px;color:var(--green);padding:8px 0;white-space:nowrap}.hero{display:grid;grid-template-columns:1.25fr 1fr;position:relative;border:1px solid #d9e5cc;border-radius:20px;overflow:hidden;background:#edf3e3;min-height:280px;margin-bottom:32px}.hero-copy{padding:34px;position:relative;z-index:1}.hero h2{font-size:32px;font-weight:600;line-height:1.2;margin:16px 0 13px;max-width:370px;letter-spacing:-1px}.hero p{font-size:13px;max-width:330px}.hero .actions{margin-top:23px}.primary,.secondary,.danger{display:inline-flex;justify-content:center;align-items:center;gap:13px;border-radius:9px;padding:12px 20px;font-size:13px;font-weight:600;min-height:44px;text-decoration:none}.primary{background:var(--green);color:white}.primary:hover{filter:brightness(1.13)}.secondary{border:1px solid var(--line);background:var(--surface)}.danger{border:1px solid #e3b7ac;color:#923d2a;background:var(--surface)}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hero-art{display:grid;place-items:center;position:relative;min-height:260px;background-image:radial-gradient(#b4c69f 1px,transparent 1px);background-size:21px 21px;margin:20px;mask-image:linear-gradient(to right,transparent,#000 15%)}.orbit{position:absolute;width:245px;height:245px;border:1px solid #adc293;border-radius:50%;transform:rotate(-20deg)}.orbit:after{content:'';position:absolute;inset:38px -40px;border:1px solid #adc293;border-radius:50%;transform:rotate(-25deg)}.hero-art img{width:195px;z-index:1;transform:rotate(-6deg);filter:drop-shadow(0 10px 0 #b4c69f22)}.formula-chip{position:absolute;background:#ffffffdf;border:1px solid #cbd8bf;border-radius:10px;padding:8px 15px;font:italic 19px Georgia,serif;box-shadow:var(--shadow);z-index:2}.formula-chip.one{top:20px;right:15px;transform:rotate(6deg)}.formula-chip.two{bottom:12px;left:8px;transform:rotate(-6deg)}.section-head{display:flex;justify-content:space-between;align-items:center;margin:28px 0 18px;gap:15px}.section-head h2{font-size:20px}.tabs{display:flex;gap:5px;background:#ecefe6;padding:4px;border-radius:9px}.tabs button{font-size:12px;padding:6px 13px;border-radius:6px}.tabs button.selected{background:var(--surface);box-shadow:0 1px 4px #0000000c}.courses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.course{background:var(--surface);border:1px solid var(--line);border-radius:14px;text-align:left;overflow:hidden;transition:transform .18s,box-shadow .18s}.course:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.course-visual{height:115px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:#edf1e7;margin:9px;border-radius:9px}.course-visual.math{background:#eaf1df}.course-visual.physics{background:#f4e9d7}.course-visual.coding{background:#ede8f6}.course-visual .big-symbol{font:54px Georgia,serif;letter-spacing:-4px;color:#46663b;transform:rotate(-7deg)}.course-visual.physics .big-symbol{color:#a47234}.course-visual.coding .big-symbol{font:40px monospace;letter-spacing:0;color:#78619e}.course-body{padding:12px 18px 20px}.course-body .eyebrow{font-size:9px;letter-spacing:1.5px;margin-bottom:7px}.course-body p{font-size:12px;margin-top:7px;min-height:40px}.course-foot{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:18px}.course-foot span:last-child{font-size:18px;color:var(--green)}.bottom-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;margin-top:27px}.explore-teaser,.coach{border:1px solid var(--line);border-radius:14px;display:flex;align-items:center;gap:22px;padding:24px;background:var(--surface)}.explore-teaser p,.coach p{font-size:12px;margin:7px 0}.explore-teaser svg{width:110px;flex:none}.coach img{width:80px}.coach strong{font-size:14px}.footer-note{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:30px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:28px}.study-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px}.study-card{padding:32px}.study-card h2{font-size:24px;margin:20px 0}.expression{font:34px Georgia,serif;text-align:center;padding:32px 15px;background:var(--bg);border:1px solid var(--line);border-radius:13px;margin:22px 0;white-space:pre-wrap;overflow-wrap:anywhere}.expression.code{font:18px/1.8 Consolas,monospace;text-align:left;padding:25px}.fraction-bar{display:flex;gap:4px;max-width:420px;margin:0 auto 24px;height:30px}.fraction-bar i{flex:1;border-radius:4px;border:1px solid #78945b;background:var(--bg)}.fraction-bar i.filled{background:#aacb84}.field{display:grid;gap:7px;margin-bottom:19px}.field label,.field-label{font-size:12px;font-weight:600}.input-row{display:flex;gap:10px}.input-row input{width:100%;min-width:0}.input-row select{max-width:110px}input:not([type=range]):not([type=checkbox]),select,textarea{border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);padding:11px 13px;min-height:44px}input[type=range]{width:100%;accent-color:var(--green);cursor:pointer}input[type=checkbox]{accent-color:var(--green);width:18px;height:18px}.confidence{display:flex;gap:8px;margin:8px 0 22px;flex-wrap:wrap}.confidence button{border:1px solid var(--line);border-radius:8px;padding:8px 12px;font-size:12px}.confidence button.selected{background:var(--soft);border-color:#8fa878;color:var(--green)}.helper{font-size:12px;color:var(--muted);margin:12px 0}.feedback{padding:18px;background:var(--soft);border:1px solid #ccddba;border-radius:10px;margin:22px 0}.feedback.wrong{background:#fff2e4;border-color:#ebd4b8;color:#704d24}.feedback p{color:inherit;font-size:14px}.steps{padding-left:22px;font-size:14px}.steps li{padding:7px 0}.study-side .panel{padding:22px;margin-bottom:16px}.study-side img{width:95px;display:block;margin:auto}.study-side p{font-size:12px;margin-top:10px}.study-side h3{font-size:16px;margin-top:12px}.progress-track{height:5px;background:var(--line);border-radius:20px;margin:12px 0;overflow:hidden}.progress-track span{display:block;height:100%;background:#85a96a;border-radius:20px}.hint{border-left:3px solid #a5be81;padding:10px 15px;margin:14px 0;color:var(--muted);font-size:13px}.mode-row{display:flex;gap:10px;margin-bottom:24px;flex-wrap:wrap}.mode-row button{border:1px solid var(--line);padding:9px 16px;border-radius:30px;font-size:12px}.mode-row button.selected{background:var(--green);color:white;border-color:var(--green)}.lab-layout{display:grid;grid-template-columns:1fr 310px;gap:24px}.lab-stage{background:var(--soft);border-radius:15px;padding:28px;min-height:350px}.lab-stage svg{width:100%;height:auto;display:block}.lab-result{font-size:36px;letter-spacing:-1px;color:var(--green);margin:10px 0}.range-head{display:flex;justify-content:space-between;font-size:13px;gap:15px;margin-top:22px}.range-head output{color:var(--green);font-weight:650}.lab-equation{font:25px Georgia,serif;text-align:center;margin:25px 0}.prediction{margin-bottom:22px}.prediction p{font-size:13px;margin:12px 0}.map-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.map-grid p{font-size:12px;margin-top:10px}.map-grid h3{margin:12px 0}.settings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.settings-grid h2{font-size:21px;margin-bottom:18px}.settings-grid p{font-size:13px;margin-bottom:16px}.check-row{display:flex;align-items:center;gap:10px;font-size:13px;margin:18px 0}.release-page{max-width:800px;margin:70px auto;padding:25px}.release-page p,.release-page h2{margin:24px 0}.update-banner{margin:18px 46px 0;padding:15px 20px;border:1px solid #b2c89c;border-radius:12px;background:var(--soft);display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px}.update-banner[hidden]{display:none}.empty{padding:35px;text-align:center}.empty img{width:120px}.empty p{margin:15px auto;max-width:450px}.ai-answer{white-space:pre-wrap;font-size:13px;color:var(--ink);margin:15px 0}.skip{position:fixed;left:15px;top:-100px;z-index:100;background:var(--surface);padding:12px}.skip:focus{top:10px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--surface);padding:12px 22px;border-radius:10px;box-shadow:var(--shadow);z-index:100;max-width:90vw;font-size:13px;display:none}#toast.show{display:block}html[data-theme=dark]{color-scheme:dark;--bg:#15221d;--surface:#1c2d25;--ink:#ecf1e7;--muted:#b1bfb1;--line:#395044;--green:#a8d78d;--soft:#2b4230;--shadow:0 12px 40px #0002}html[data-theme=dark] .primary,html[data-theme=dark] .mode-row .selected{color:#14291c}html[data-theme=dark] .hero{background:#2c422e;border-color:#425a3b}html[data-theme=dark] .tabs{background:#2d3b31}html[data-theme=dark] .feedback.wrong{background:#443626;color:#f1d7b7}html[data-theme=dark] .course-visual{filter:brightness(.8)}
@media(min-width:1500px){.main{padding-top:50px}.hero{min-height:315px}.hero-copy{padding:40px}.course-visual{height:145px}}
@media(max-width:1100px){.shell{grid-template-columns:180px 1fr}.sidebar{padding:30px 13px 20px}.main{padding:30px 26px}.topbar{padding:0 26px}.hero-copy{padding:25px}.hero-art img{width:160px}.orbit{width:190px;height:190px}.hero h2{font-size:28px}.study-layout{grid-template-columns:1fr}.study-side{display:grid;grid-template-columns:1fr 1fr;gap:15px}.lab-layout{grid-template-columns:1fr}.bottom-grid{grid-template-columns:1fr}.coach{display:none}.course-body{padding:10px 13px 16px}.course h3{font-size:16px}.update-banner{margin:16px 26px 0}}
@media(max-width:740px){.shell{display:block}.sidebar{position:fixed;top:auto;bottom:0;height:70px;width:100%;z-index:20;padding:7px 8px;border:0;border-top:1px solid var(--line)}.sidebar .brand,.nav-label,.sidebar-bottom{display:none}.nav{display:flex;justify-content:space-around;gap:2px}.nav button{padding:7px 5px;font-size:9px;gap:3px;flex-direction:column;border-radius:8px;flex:1}.nav button svg{width:20px;height:20px}.topbar{height:65px;padding:0 20px}.topbar .breadcrumb{font-size:11px}.topbar .status{gap:6px}.main{padding:26px 18px 100px}.heading{align-items:start}.heading h1{font-size:33px;letter-spacing:-1px}.heading p{font-size:12px}.heading>.subtle-button{display:none}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:25px}.hero h2{max-width:290px}.hero-art{display:none}.courses{grid-template-columns:1fr}.course{display:grid;grid-template-columns:108px 1fr}.course-visual{height:auto;min-height:120px;margin:8px}.course-body p{min-height:0}.course-body{padding:15px 14px 15px 5px}.course-foot{margin-top:8px}.course-visual .big-symbol{font-size:40px}.section-head{align-items:start;flex-direction:column}.tabs{width:100%;justify-content:space-between}.tabs button{padding:6px 9px}.bottom-grid{margin-top:20px}.explore-teaser{padding:18px;gap:15px}.explore-teaser svg{width:70px}.explore-teaser h3{font-size:16px}.study-card,.panel{padding:21px}.study-card h2{font-size:21px}.expression{font-size:28px}.study-side{display:block}.study-side .panel:first-child{display:none}.settings-grid,.map-grid{grid-template-columns:1fr}.update-banner{margin:14px 18px 0;align-items:start;flex-direction:column}.footer-note{display:block}.footer-note span{display:block;margin-top:8px}.lab-stage{padding:12px;min-height:0}.lab-result{font-size:30px}.input-row{flex-wrap:wrap}.input-row input{flex:1}.release-page{margin:25px auto}.status .version-pill{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

