:root{font-family:system-ui,sans-serif;background:#f6f3eb;color:#253c34;line-height:1.6;--green:#285d49;--muted:#596d62;--border:#d9e0d5}*{box-sizing:border-box}body{margin:0}header,main{max-width:1000px;margin:auto;padding:20px}header{display:flex;justify-content:space-between;align-items:center;gap:12px}.brand{font-weight:800;letter-spacing:-.06em;font-size:clamp(1.2rem,4vw,1.7rem);color:inherit;text-decoration:none}.brand span{color:#478268}h1,h2,h3,p{margin:0 0 12px}h1{font:600 clamp(2.5rem,7vw,4rem)/1.05 Georgia,serif;letter-spacing:-.045em}h2{font-size:1.6rem;line-height:1.25}.hero{background:#dfe8d8;padding:clamp(24px,5vw,48px);border-radius:24px}.eyebrow{font-weight:700;font-size:.75rem;letter-spacing:.12em;color:#35644f}.stats{display:flex;gap:32px;margin:24px 0 12px}.stats strong,.stats span{display:block}.stats strong{font-size:1.8rem}.stats span,.notice{font-size:.85rem;color:var(--muted)}progress{width:100%;height:12px;accent-color:var(--green)}.notice{margin:12px 0 28px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px}.course,.panel{border:1px solid var(--border);border-radius:18px;background:#fffdf8;overflow:hidden}.course-body,.panel{padding:22px}.course-art{height:132px;display:grid;place-items:center;background:#d9e7d8;color:#315f4b}.course-art svg{width:100%;height:100%}.course:nth-child(2) .course-art{background:#f1dfc6;color:#8a5c2d}.course:nth-child(3) .course-art{background:#dde6f4;color:#405c87}.course:nth-child(4) .course-art{background:#e9dfee;color:#6b5079}.course button{display:block;width:100%;margin-top:8px;text-align:left}button{font:inherit;color:inherit;background:#fffdf8;border:1px solid #afbeb2;border-radius:10px;padding:12px 15px;cursor:pointer}button:hover:not(:disabled){border-color:var(--green);background:#edf2e9}button:focus-visible,a:focus-visible{outline:3px solid #497e66;outline-offset:3px}button:disabled{opacity:.7;cursor:default}button.primary{background:var(--green);color:white;border-color:var(--green);font-weight:700}#back{margin-bottom:16px}.practice{margin-top:24px;border-top:1px solid var(--border);padding-top:20px}#choices{display:grid;gap:10px;margin:16px 0}#choices button{text-align:left}.correct{color:#215c40;font-weight:600}.retry{color:#8b452a}footer{max-width:1000px;margin:auto;padding:24px 20px;color:var(--muted);font-size:.85rem}#error{color:#8b452a}[hidden]{display:none!important}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.roadmap{margin-top:40px}.roadmap ol{padding-left:22px}.roadmap li{margin-bottom:6px}.roadmap .panel{padding:20px}.roadmap .panel p:last-child{font-size:.9rem;color:var(--muted)}

/* Focused adult learning experience */
.learning .hero,.learning .notice{display:none}.learning main{max-width:830px}.learning #lesson>.panel{padding:clamp(18px,5vw,36px)}.learning #lesson-title{font:600 clamp(1.75rem,5vw,2.65rem)/1.15 Georgia,serif;letter-spacing:-.035em}.objective{border-left:3px solid #7e9f87;padding:9px 14px;color:#425c50;background:#f0f3ea;border-radius:0 8px 8px 0;font-size:.92rem}.stage-title{font-size:1.35rem;margin:8px 0 16px}#steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:24px 0}.step-tab{font-size:.78rem;line-height:1.3;padding:10px 7px;min-height:48px;text-align:left;background:#f6f3eb;border-color:#e0e3d8}.step-tab[aria-current=step]{color:white;background:#315d46;border-color:#315d46}#stage{min-height:200px;outline:none}#stage:focus-visible{outline:2px solid #497e66;outline-offset:6px}.concept-visual{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:#e8eee3;border-radius:20px;padding:16px;margin:12px 0 22px}.visual-node{display:flex;flex-direction:column;gap:6px;background:#fffdf8;border:1px solid #d6e0d3;border-radius:12px;padding:16px;min-height:140px;overflow-wrap:anywhere}.glyph{width:42px;height:42px;display:grid;place-items:center;background:#d9e7d8;border-radius:12px;color:#285d49;font-size:1.4rem;font-weight:800;margin-bottom:6px}.node-detail{font-size:.86rem;color:#536459}.context{background:#e6e9f1}.context .glyph{background:#dce3f2;color:#405575}.flow{background:#f1e4d2}.flow .glyph{background:#efddc4;color:#80532b}.decision{background:#e8e1ed}.decision .glyph{background:#e5d9ec;color:#6e527f}.lesson-copy{font-size:1.06rem;line-height:1.75}.worked-example{background:#edf1e7;border:1px solid #d9e3d3;padding:24px;border-radius:14px;line-height:1.75}.step-actions{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.step-actions #step-next{margin-left:auto}#stage label{display:block;font-weight:600;margin:14px 0 6px;font-size:.9rem}#stage textarea{display:block;width:100%;border:1px solid #afbeb2;border-radius:12px;padding:14px;font:inherit;color:inherit;background:#fffdf8;resize:vertical}#stage details{padding:12px 16px;border:1px solid var(--border);border-radius:10px;margin-top:14px;background:#f5f6ef}#stage summary{cursor:pointer;font-weight:600}#stage details p{margin-top:10px}#stage a{color:#285d49;font-size:.9rem}#choices button{min-height:52px}.course:first-child{border-color:#94b49d;box-shadow:0 6px 22px #294e3410}.course:first-child .course-art{height:160px;background:#cfe2ce}#feedback:not(:empty){padding:12px 16px;border-radius:10px;background:#f0f3e9}#feedback.retry{background:#fbede3}
@media(max-width:540px){#steps{grid-template-columns:repeat(2,minmax(0,1fr))}.concept-visual{grid-template-columns:1fr;padding:10px}.visual-node{min-height:auto;display:grid;grid-template-columns:44px 1fr;column-gap:12px;align-items:center}.glyph{grid-row:span 2;margin:0}.node-detail{grid-column:2}.learning main{padding:12px}.learning #lesson>.panel{border-radius:14px}.step-actions button{min-height:46px}}

.library-tools{display:grid;gap:8px;margin:0 0 22px}.library-tools #resume{width:100%;text-align:left;padding:16px 20px;margin-bottom:8px}.search-label{font-weight:600;font-size:.9rem}.library-tools input{font:inherit;border:1px solid #afbeb2;border-radius:10px;padding:12px 16px;background:#fffdf8;color:inherit;min-width:0}.library-tools input:focus-visible{outline:3px solid #497e66;outline-offset:2px}#empty{color:var(--muted)}
