:root{--paper:#f7f8f3;--ink:#182e2b;--muted:#66756e;--line:#e1e7de;--green:#234c40;--mint:#e5eedc;--lime:#d5eea5;--orange:#d0744c;--white:#fff;--radius:22px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button{color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #de8b55;outline-offset:4px}button{border:0}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sprite{position:absolute;width:0;height:0;overflow:hidden}.skip{position:fixed;top:-60px;left:15px;z-index:99;padding:15px;background:white}.skip:focus{top:10px}.layout{max-width:1600px;margin:auto}.sidebar{position:fixed;width:246px;inset:0 auto 0;padding:38px 26px;border-right:1px solid var(--line);display:flex;flex-direction:column;background:#f0f3eb}.brand{display:flex;gap:10px;align-items:center;font-size:15px;font-weight:750;letter-spacing:-.55px}.brand>span:last-child>span{display:block;font-weight:450;font-size:13px;letter-spacing:1.2px;margin-top:2px}.brand-mark{width:41px;height:43px;display:grid;place-content:center;background:var(--green);color:var(--lime);border-radius:13px;font-size:27px;font-weight:650;letter-spacing:-4px;line-height:1;position:relative;padding-right:6px}.brand-mark>span{display:inline;font-size:19px;position:absolute;right:7px;bottom:9px}.sidebar-note{font-size:25px;line-height:1.3;letter-spacing:-1px;margin:65px 0 27px}.nav-item{display:flex;align-items:center;gap:14px;padding:16px 14px;border-radius:13px;color:var(--muted);font-size:14px;font-weight:550;margin-bottom:6px}.nav-item.active{background:#e0e9d7;color:var(--green)}.side-bottom{margin-top:auto;font-size:11px;line-height:1.8;color:var(--muted)}.tiny-dot{width:6px;height:6px;border-radius:50%;background:#6b9560;display:inline-block;margin-right:5px}.plain{background:none;padding:10px 0;text-align:left;color:var(--muted);font-size:12px;display:block}.workspace{margin-left:246px}.topbar{height:90px;padding:0 46px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.desktop-label{font-size:13px;color:var(--muted)}.header-actions{display:flex;gap:9px}.icon-button{background:transparent;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center}.icon-button:hover{background:var(--mint)}.mobile-brand{display:none}main{padding:37px 46px 50px;max-width:1220px;margin:auto}main:focus{outline:0}.eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:700;text-transform:uppercase;color:var(--muted);display:flex;align-items:center;gap:7px}.eyebrow svg{width:17px;height:17px}h1{font-size:36px;font-weight:550;letter-spacing:-1.7px;margin:12px 0 10px;line-height:1.15}h2{font-size:23px;letter-spacing:-.7px;font-weight:600;margin:0}h3{font-size:17px;font-weight:650;margin:0;line-height:1.4;letter-spacing:-.3px}p{line-height:1.65}.intro{color:var(--muted);font-size:14px;margin:0 0 25px}.home-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:22px}.hero{background:#183f35;border-radius:var(--radius);position:relative;overflow:hidden;min-height:285px;padding:32px;color:white;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.hero .eyebrow{color:#cfdfc9;font-size:10px;letter-spacing:1.6px}.hero h2{font-size:34px;line-height:1.1;letter-spacing:-1.5px;margin:20px 0 12px;font-weight:500;position:relative;z-index:1}.hero h2 em{font-style:normal;color:var(--lime)}.hero p{font-size:13px;max-width:215px;color:#d3ded6;margin:0 0 22px;position:relative;z-index:1}.button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:13px 20px;border-radius:12px;background:var(--green);color:white;font-size:13px;font-weight:650}.button.light{background:var(--lime);color:#173c35}.button:hover{filter:brightness(1.08)}.hero .button{position:relative;z-index:1}.hero-art{position:absolute;width:190px;height:230px;right:0;bottom:17px;opacity:.95;pointer-events:none}.hero-art .orbit{position:absolute;inset:0;border:1px solid #ffffff20;border-radius:50%;transform:rotate(-35deg)}.hero-art .orbit:nth-child(2){inset:25px -30px;transform:rotate(45deg)}.step{position:absolute;bottom:0;width:50px;background:#42644d;border-radius:7px 7px 0 0;box-shadow:10px 10px 0 #102e29;transform:skewY(-8deg)}.step.s1{height:50px;right:137px}.step.s2{height:83px;right:80px;background:#689366}.step.s3{height:126px;right:23px;background:#b5d88c}.coin{width:64px;height:64px;border:6px double #e9f6c9;border-radius:50%;background:#d3eba4;color:#2b513e;display:grid;place-items:center;font-size:32px;font-weight:500;position:absolute;right:18px;top:16px;transform:rotate(-17deg);box-shadow:6px 4px 0 #769955}.spark{position:absolute;top:30px;left:20px;font-size:34px;color:var(--lime)}.progress-card{background:#edf1e7;border-radius:var(--radius);padding:27px;display:flex;flex-direction:column;justify-content:space-between}.progress-heading{display:flex;justify-content:space-between;align-items:center}.pill{font-size:10px;font-weight:650;background:white;padding:7px 10px;border-radius:20px;letter-spacing:.25px}.progress-count{font-size:54px;font-weight:550;letter-spacing:-3px;margin:22px 0 5px}.progress-count span{font-size:15px;color:var(--muted);letter-spacing:0;font-weight:400;margin-left:8px}.progress-card p{font-size:13px;color:var(--muted);margin:6px 0 16px}.progress-track{height:6px;background:#d8e1cf;border-radius:9px;overflow:hidden}.progress-track>span{display:block;height:100%;background:var(--green);transition:width .3s}.progress-caption{font-size:11px;color:var(--muted);margin-top:12px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:32px 0 17px}.text-link{background:transparent;display:flex;align-items:center;gap:5px;color:var(--green);font-size:12px;white-space:nowrap;min-height:44px;padding:6px}.text-link svg{width:16px;height:16px}.lessons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.lesson{background:white;border:1px solid var(--line);border-radius:18px;padding:19px;display:flex;flex-direction:column;position:relative;min-width:0}.lesson-cover{height:115px;border-radius:11px;margin-bottom:17px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:6px}.lesson-cover.sage{background:#e8eedc;color:#49684d}.lesson-cover.peach{background:#fae8d9;color:#b2714d}.lesson-cover.blue{background:#e4eced;color:#42747b}.lesson-cover.lilac{background:#ece8f1;color:#78638d}.lesson-cover svg{width:55px;height:55px;stroke-width:1.1}.cover-label{font-size:44px;font-weight:500;letter-spacing:-2px}.cover-caption{font-size:10px;letter-spacing:2px;text-transform:uppercase;position:absolute;bottom:13px;left:15px}.lesson-meta{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:7px;margin-bottom:9px}.lesson-meta svg{width:13px;height:13px}.lesson h3{padding-right:19px}.lesson p{font-size:12px;color:var(--muted);margin:7px 0 12px}.lesson-main{background:transparent;text-align:left;padding:0;flex:1;width:100%}.lesson-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eef0eb;margin-top:5px;padding-top:10px}.lesson-bottom .text-link{font-size:12px}.save-button{background:none;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;color:var(--muted)}.save-button[aria-pressed=true]{color:var(--green);background:var(--mint)}.save-button[aria-pressed=true] svg{fill:#c6dfb5}.done{color:#3b6a43;font-size:10px;display:flex;align-items:center;gap:3px}.done svg{width:14px;height:14px}.feature-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}.feature{background:#eeeae1;border-radius:18px;padding:22px;text-align:left;display:flex;align-items:center;gap:15px}.feature:nth-child(2){background:#e9ece6}.feature>svg{width:31px;height:31px}.feature strong{display:block;font-size:14px;margin-bottom:6px}.feature small{font-size:12px;color:var(--muted);line-height:1.5;display:block}.feature .next{margin-left:auto;width:18px}.footer{margin:0 46px 28px;padding-top:20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.bottom-nav{display:none}.chips{display:flex;gap:8px;overflow:auto;padding:3px 1px 10px;margin-bottom:13px}.chip{padding:11px 17px;min-height:44px;border-radius:24px;border:1px solid var(--line);white-space:nowrap;background:white;font-size:12px}.chip.active{background:var(--green);color:white;border-color:var(--green)}.empty{padding:40px 20px;border:1px dashed #b8c8b4;border-radius:18px;text-align:center;color:var(--muted);line-height:1.7}.searchbox{position:relative;margin-bottom:23px}.searchbox svg{position:absolute;left:16px;top:16px;color:var(--muted)}.searchbox input{width:100%;background:white;border:1px solid var(--line);border-radius:14px;padding:17px 16px 17px 48px;font-size:16px;color:var(--ink)}.word-count{font-size:11px;color:var(--muted);margin:15px 0}.term{border-bottom:1px solid var(--line);padding:0 5px}.term summary{list-style:none;cursor:pointer;padding:19px 28px 19px 0;font-weight:600;position:relative}.term summary::-webkit-details-marker{display:none}.term summary::after{content:'+';position:absolute;right:4px;font-size:22px;font-weight:400;top:13px;color:var(--muted)}.term[open] summary::after{content:'−'}.term p{font-size:14px;color:var(--muted);margin:0 0 19px;max-width:650px}.calculator-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.form-card,.result-card{padding:26px;border:1px solid var(--line);border-radius:20px;background:white}.field{margin-bottom:22px}.field label{font-size:12px;font-weight:600;display:flex;justify-content:space-between;margin-bottom:10px}.field input[type=number]{width:100%;border:1px solid #d5ddd1;border-radius:10px;padding:14px;font-size:18px;background:#fbfcf9;color:var(--ink)}.field input[type=range]{width:100%;accent-color:var(--green);margin-top:12px;min-height:26px}.field small{font-size:10px;line-height:1.5;color:var(--muted);display:block;margin-top:7px}.result-card{background:var(--green);color:white;border:0}.result-caption{font-size:11px;text-transform:uppercase;letter-spacing:1.1px;color:#d4dfce}.result-value{font-size:39px;letter-spacing:-1.5px;font-weight:550;margin:13px 0}.chart{width:100%;height:auto;stroke:none;display:block;margin:18px 0 0}.chart-labels{display:flex;justify-content:space-between;color:#cbd9c6;font-size:10px;margin:5px 0 23px}.result-detail{display:flex;justify-content:space-between;font-size:12px;padding:12px 0;border-top:1px solid #ffffff24;gap:10px}.result-detail strong{font-weight:600}.assumptions{font-size:11px;line-height:1.65;color:var(--muted);margin:15px 1px}.calc-info{font-size:12px;color:var(--muted);line-height:1.7;padding:19px;border-radius:13px;background:#eef1e7;margin-top:15px}.error{font-size:13px;color:#ffdcc9;padding:15px 0;line-height:1.7}dialog{border:0;border-radius:23px;width:min(620px,calc(100% - 32px));max-height:88dvh;padding:0;color:var(--ink);background:var(--paper);box-shadow:0 20px 100px #10282040}dialog::backdrop{background:#10272099;backdrop-filter:blur(4px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;padding:13px 22px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--paper);z-index:2;font-size:11px;letter-spacing:.5px}.dialog-top .icon-button{width:36px;height:36px}.dialog-body{padding:26px}.dialog-body h2{font-size:28px;line-height:1.2;margin-bottom:20px}.dialog-body p{font-size:15px;color:#4e6058}.example{padding:19px;background:#e7efdd;border-radius:15px;margin:22px 0}.example strong{font-size:11px;letter-spacing:1px;text-transform:uppercase;display:block;margin-bottom:7px}.example p{margin:0;color:var(--ink)}.quiz{border-top:1px solid var(--line);padding-top:22px;margin-top:24px}.quiz h3{margin:7px 0 15px}.answer{display:block;width:100%;text-align:left;border:1px solid var(--line);background:white;border-radius:12px;padding:14px 15px;margin:8px 0;font-size:14px;line-height:1.5}.answer.correct{background:#dcebd0;border-color:#6e8e58}.answer.incorrect{background:#f6e4d7;border-color:#c88965}.feedback{font-size:13px;line-height:1.6;padding:12px 0;color:var(--green)}.source{font-size:11px!important;line-height:1.7!important;color:var(--muted)!important;margin-top:24px}.source a{text-decoration:underline}.lesson-actions{display:flex;gap:8px;margin-top:20px;flex-wrap:wrap}.lesson-actions .button{flex:1}.secondary{background:#e8ecdf;color:var(--green)}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:#183f35;color:white;padding:12px 20px;border-radius:13px;z-index:100;box-shadow:0 6px 30px #0002;opacity:0;pointer-events:none;transition:.2s;font-size:13px;max-width:90vw;min-width:230px;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.about-list{padding-left:20px;font-size:14px;line-height:1.9;color:var(--muted)}
@media(min-width:1250px){.lessons{grid-template-columns:repeat(4,minmax(0,1fr))}.hero{min-height:310px;padding:35px}.hero-art{right:10px;width:220px}.hero h2{font-size:40px}.home-grid{grid-template-columns:1.7fr 1fr}.lesson{padding:16px}.lesson h3{font-size:16px}}
@media(max-width:1000px){.sidebar{width:202px;padding:30px 19px}.workspace{margin-left:202px}.topbar{padding:0 28px}main{padding:30px 28px}.home-grid{grid-template-columns:1fr}.progress-card{display:none}.hero-art{right:18px}.hero h2{font-size:37px}.footer{margin-left:28px;margin-right:28px}.calculator-layout{grid-template-columns:1fr}}
@media(max-width:700px){.sidebar,.desktop-label{display:none}.workspace{margin-left:0}.mobile-brand{display:flex;font-size:14px}.brand-mark{width:36px;height:38px;font-size:24px;border-radius:11px}.brand-mark>span{font-size:17px;right:5px;bottom:7px}.brand>span:last-child>span{font-size:11px;letter-spacing:1px}.topbar{height:77px;padding:0 21px;background:var(--paper);border-bottom:0}.header-actions{gap:7px}.header-actions .icon-button{width:37px;height:37px}.header-actions svg{width:18px;height:18px}main{padding:17px 21px 23px}h1{font-size:30px;letter-spacing:-1.3px;margin:12px 0 9px}.eyebrow{font-size:10px;letter-spacing:1.3px}.intro{font-size:13px;line-height:1.6;margin-bottom:22px;max-width:330px}h2{font-size:21px}.hero{min-height:289px;padding:25px 24px;border-radius:22px}.hero h2{font-size:34px;margin:20px 0 12px;max-width:230px}.hero p{font-size:12px;max-width:170px;margin-bottom:19px;line-height:1.6}.hero .eyebrow{font-size:9px}.hero .button{font-size:12px;min-height:45px;padding:12px 15px}.hero-art{right:-16px;bottom:28px;width:158px;height:190px;transform:scale(.85);transform-origin:right bottom}.step.s1{right:123px}.step.s2{right:66px}.step.s3{right:9px}.coin{right:7px;top:-3px}.spark{left:12px;top:11px;font-size:26px}.section-head{margin-top:26px;margin-bottom:13px}.section-head .text-link{font-size:11px}.lessons{gap:12px}.lesson{padding:11px;border-radius:16px}.lesson-cover{height:99px;border-radius:10px;margin-bottom:12px}.lesson-cover svg{width:41px;height:41px}.cover-label{font-size:35px}.cover-caption{font-size:8px;left:10px;bottom:10px}.lesson-meta{font-size:9px;gap:4px;margin-bottom:7px}.lesson-meta svg{width:11px;height:11px}.lesson h3{font-size:14px;line-height:1.4;letter-spacing:-.25px;padding:0}.lesson p{font-size:11px;line-height:1.5;margin:8px 0 10px}.lesson-bottom{padding-top:3px;margin-top:2px}.lesson-bottom .text-link{font-size:10px;padding-left:0;gap:2px}.save-button{width:35px;height:40px}.save-button svg{width:17px;height:17px}.done{font-size:8px;gap:1px}.feature-row{grid-template-columns:1fr;gap:10px;margin-top:20px}.feature{padding:19px}.feature strong{font-size:13px}.feature small{font-size:11px}.footer{margin:0 21px 103px;padding-top:16px;font-size:9px}.footer span{font-size:9px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;gap:2px;padding:9px 10px calc(9px + env(safe-area-inset-bottom));background:#ffffffed;backdrop-filter:blur(15px);border-top:1px solid var(--line);z-index:20}.bottom-nav .nav-item{flex:1;display:flex;flex-direction:column;gap:5px;font-size:10px;font-weight:550;margin:0;padding:8px 4px;border-radius:12px}.bottom-nav .nav-item.active{background:#edf2e5}.bottom-nav svg{width:21px;height:21px}.chips{gap:7px}.chip{font-size:11px;padding:10px 14px}.form-card,.result-card{padding:21px}.calculator-layout{gap:16px}.result-value{font-size:35px}.dialog-body{padding:22px}.dialog-body h2{font-size:26px}.dialog-body p{font-size:14px}dialog{width:100%;max-width:100%;max-height:93dvh;margin:auto 0 0;border-radius:23px 23px 0 0;padding-bottom:env(safe-area-inset-bottom)}.dialog-top{padding:14px 21px}#toast{bottom:100px}.source{overflow-wrap:anywhere}}
button:disabled{opacity:.55;cursor:default;filter:none}.lesson-main:hover h3{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.calc-info>svg{width:16px;height:16px;vertical-align:middle;margin-right:4px}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
