:root{--ink:#243f34;--green:#355e4b;--muted:#5d6e64;--line:#d9dfd5;--cream:#f6f5ef;--paper:#fffefa}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.6 'DM Sans',sans-serif}button,textarea{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}a{color:inherit}button,.button{cursor:pointer;min-height:46px;padding:10px 19px;border:1px solid #a6b6a7;background:transparent;border-radius:7px;color:var(--ink);font-weight:600;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:20px}button:hover,.button:hover{background:#e7ece2}button:disabled{opacity:.55;cursor:default}.primary{background:var(--green);border-color:var(--green);color:white}.primary:hover{background:#254a39}.text-button{padding:8px 0;border:0;background:none;text-decoration:underline;text-underline-offset:5px;font-size:14px}.text-button:hover{background:none;color:#406e52}button:focus-visible,a:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid #8a6833;outline-offset:4px}header{height:90px;border-bottom:1px solid var(--line);padding:0 max(5vw,24px);display:flex;align-items:center;justify-content:space-between}header>a:last-child{font-size:14px}.brand{font-weight:700;font-size:23px;letter-spacing:-1px;text-decoration:none}.brand span{color:#668266}main{max-width:1160px;margin:auto;padding:32px 32px 0}.progress{display:flex;gap:45px;border-bottom:1px solid var(--line);padding-bottom:24px}.progress>span{display:flex;gap:10px;align-items:center;font-size:14px;color:var(--muted)}.progress b{border:1px solid #b6c3b7;border-radius:50%;width:28px;height:28px;text-align:center;line-height:26px;font-size:12px}.progress [aria-current]{color:var(--ink);font-weight:700}.progress [aria-current] b{background:var(--green);color:white;border-color:var(--green)}.utility{display:flex;justify-content:space-between;align-items:center;padding:17px 0}.utility>div{display:flex;gap:24px}.simulation{font-size:12px;letter-spacing:.02em;display:flex;align-items:center;gap:8px}.simulation:before{content:'';width:7px;height:7px;background:#698363;border-radius:50%}.stage{padding:28px 0 45px}.welcome{display:grid;grid-template-columns:1.2fr 1fr;gap:90px;align-items:center;min-height:570px}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:11px;font-weight:700;color:var(--muted)}h1,h2,p{margin-top:0}h1,h2{font-family:'Playfair Display',Georgia,serif;font-weight:500}h1{font-size:48px;line-height:1.15;letter-spacing:-1.6px;margin-bottom:20px}.welcome h1{font-size:68px;line-height:1.1}h1 em{color:#678061;font-weight:500}h2{font-size:24px;line-height:1.3}.lead{font-size:19px;line-height:1.6}.welcome-copy>p:not(.eyebrow){max-width:480px}.welcome-copy>p:not(.lead):not(.eyebrow){color:var(--muted);font-size:15px}.welcome-copy>.primary{margin-top:15px;min-width:190px}.welcome-copy>small{display:block;margin-top:14px;color:var(--muted);font-size:12px}.welcome-scene{position:relative;padding-bottom:35px}.tutor{background:#e2e7da;border:1px solid #d0d9ca;border-radius:12px;overflow:hidden}.portrait{position:relative;height:245px;display:flex;justify-content:center;align-items:flex-end;background:radial-gradient(ellipse at 50% 65%,#eef0e5 0%,#dbe1d0 70%)}.portrait svg{height:95%;max-width:100%}.illustration{position:absolute;top:14px;left:14px;font-size:10px;padding:3px 8px;background:#fffefa;border-radius:3px;color:#596a5b}.tutor-caption{background:var(--ink);color:#fffefa;padding:16px 22px;display:flex;justify-content:space-between;align-items:center;gap:10px}.tutor-caption>span{font-size:11px;opacity:.85}.tutor-note{padding:20px 24px;font-family:'Playfair Display',serif;font-size:23px}.lesson-slip{position:relative;margin:-3px 20px 0 40px;padding:17px 22px;background:var(--paper);box-shadow:0 7px 18px #243f340c;border:1px solid var(--line);display:grid;gap:5px;transform:rotate(-2deg)}.lesson-slip>span:last-child{font-size:12px;color:var(--muted)}.stage-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}.stage-heading h1{margin-bottom:0}.stage-heading .lead{max-width:650px;margin:16px 0 0}.lesson-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:32px;align-items:start}.compact .portrait{height:200px}.compact .tutor-caption{display:grid;gap:0;padding:12px 16px}.paper{border:1px solid var(--line);border-radius:10px;background:var(--paper);padding:28px 32px}.paper h2{font-size:36px;margin:18px 0 24px}label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}textarea{resize:vertical;display:block;width:100%;border:1px solid #8b9f8c;border-radius:5px;background:white;padding:12px;color:var(--ink);min-height:85px}.answer-actions{display:flex;gap:12px;margin-top:16px}.feedback,.hint{padding:18px 20px;margin-top:22px;background:#f0f0e7;border-left:3px solid #ac8e54;border-radius:3px}.feedback.correct{background:#e9f1e6;border-color:#557c50}.feedback p,.hint p{font-size:15px;margin:6px 0}.feedback small,.hint small{font-size:12px;color:#4e6055}.hint{background:#edf1e9;border-color:#6e8867}.exercise-footer{display:flex;justify-content:space-between;gap:20px;margin-top:18px;flex-wrap:wrap}.lesson-bottom{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:10px 0}.lesson-bottom>span{font-size:11px;color:var(--muted);max-width:240px}.tools{border:1px solid var(--line);padding:24px;background:#ecefe7;border-radius:8px;margin-top:15px}.tools p{font-size:14px}.tools textarea{margin-bottom:12px}.tool-actions{display:flex;gap:8px;flex-wrap:wrap}.tool-actions button{font-size:12px}.source{font-size:12px;color:var(--muted)}.report{max-width:850px;margin:auto}.report h1{font-size:44px}.complete{white-space:nowrap;font-size:12px;background:#e1e9db;border-radius:30px;padding:8px 16px}.report-sheet{padding:30px 40px;border:1px solid var(--line);background:var(--paper);border-radius:10px}.report-top{display:flex;justify-content:space-between;gap:20px;margin-bottom:12px}.report-top>span{font-size:11px;color:var(--muted)}.report-section{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.report-sheet h2{font-size:22px;margin-bottom:8px}.report-sheet p,.report-sheet li{font-size:14px}.report-sheet p:last-child{margin-bottom:0}.practice-section{padding:20px;background:#edf1e8;margin-top:24px;border-radius:6px}.practice-section ol{padding-left:22px}.review-control{padding-top:12px}.finish{display:flex;justify-content:space-between;gap:24px;border-top:1px solid var(--line);margin-top:26px;padding-top:26px;align-items:center}.finish p{font-size:13px;color:var(--muted);margin-bottom:0}.finish>div:last-child{display:flex;gap:12px;flex-shrink:0}.finish .button{font-size:13px}footer{border-top:1px solid var(--line);padding:24px 0;display:flex;justify-content:space-between;gap:30px;font-size:12px;color:var(--muted)}footer details{max-width:650px}summary{cursor:pointer;min-height:40px}footer>span{white-space:nowrap}.skip{position:absolute;top:-80px}.skip:focus{top:8px;left:8px;background:white;padding:8px;z-index:5}@media(max-width:760px){header{height:72px;padding:0 22px}.brand{font-size:20px}main{padding:20px 20px 0}.progress{gap:0;justify-content:space-between;padding-bottom:18px}.progress>span{font-size:11px;gap:6px}.progress b{width:22px;height:22px;line-height:20px;font-size:10px}.utility{gap:12px}.utility>div{gap:15px}.simulation{font-size:10px}.utility .text-button{font-size:12px}.welcome{gap:30px;min-height:0;grid-template-columns:1fr;padding-top:28px}.welcome h1{font-size:54px}.welcome-scene{max-width:370px;width:100%;margin:auto}.welcome-copy>.primary{width:100%}.lead{font-size:17px}.stage-heading{align-items:start;gap:10px;flex-direction:column;margin-bottom:20px}h1{font-size:36px}.lesson-grid{grid-template-columns:1fr;gap:16px}.compact{display:flex;align-items:stretch;max-height:88px}.compact .portrait{height:88px;width:100px;flex-shrink:0}.compact .illustration{display:none}.compact .tutor-caption{flex:1;align-content:center}.paper{padding:23px 20px}.paper h2{font-size:31px;margin:14px 0 20px}.answer-actions{gap:10px}.answer-actions .primary{flex:1}.exercise-footer{gap:8px}.exercise-footer button{font-size:12px}.lesson-bottom{align-items:start;gap:10px}.lesson-bottom>span{max-width:145px}.lesson-bottom button{font-size:12px}.report h1{font-size:36px}.report-sheet{padding:24px 20px}.report-top{flex-direction:column;gap:5px}.complete{align-self:flex-start}.finish{flex-direction:column;align-items:stretch}.finish>div:last-child{flex-wrap:wrap}.finish .primary,.finish .button{flex:1}footer{flex-direction:column;gap:10px}.stage{padding-bottom:30px}.workarea{min-width:0}}@media(prefers-reduced-motion:no-preference){button,a{transition:background .12s ease}.stage{animation:appear .16s ease-out}@keyframes appear{from{opacity:.5}to{opacity:1}}}
