@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700&family=Manrope:wght@500;600;650;700;750;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#202638;background:#fff;font-synthesis:none;--blue:#3155e7;--ink:#202638;--muted:#626b7d;--line:#e4e7ef;--light:#f5f7fc;--yellow:#e6f27a;--green:#246943}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:var(--blue)}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #e49800;outline-offset:4px}button{color:inherit}.skip-link{position:fixed;left:16px;top:-60px;z-index:100;background:white;padding:15px}.skip-link:focus{top:10px}h1,h2,h3,.brand{font-family:Manrope,sans-serif}h1,h2,h3,p{margin-top:0}h1{font-size:2.7rem;letter-spacing:-.045em;line-height:1.15;margin-bottom:12px}h2{letter-spacing:-.03em}p{line-height:1.6}.app-shell{max-width:1600px;margin:auto;display:grid;grid-template-columns:232px 1fr;min-height:100dvh}.sidebar{padding:42px 23px 25px;border-right:1px solid var(--line);position:sticky;top:0;height:100dvh;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;font-size:2rem;font-weight:800;letter-spacing:-.06em;margin:0 14px 46px;color:var(--blue)}.brand-mark{width:31px;height:32px;background:var(--blue);color:#fff;border-radius:10px;font-size:26px;display:grid;place-items:center;letter-spacing:0;line-height:1}.nav{display:grid;gap:9px}.nav button{border:1px solid transparent;background:transparent;display:flex;align-items:center;text-align:left;gap:14px;font-weight:700;padding:15px 17px;border-radius:13px;font-size:1rem;color:var(--muted)}.nav button.active{background:#eef1ff;border-color:#dce3ff;color:var(--blue)}.nav button:hover{background:#f4f6fc}.icon{width:22px;height:22px;display:inline-flex;flex-shrink:0;vertical-align:middle}.sidebar-bottom{margin-top:auto;padding:22px 15px 0;color:var(--muted);font-size:.8125rem;line-height:1.6}.sidebar-bottom strong{display:block;color:var(--ink);font-size:.875rem;margin-bottom:5px}.topbar{height:100px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 44px;gap:15px}.topbar-label{font-size:.875rem;font-weight:600;color:var(--muted)}.topbar-stats{display:flex;gap:24px;align-items:center}.stat{display:flex;align-items:center;gap:7px;font-weight:700;font-size:.9rem}.stat.xp{color:var(--blue)}.stat.streak{color:#936500}.avatar{width:36px;height:36px;background:var(--yellow);border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:.85rem}.workspace{padding:39px 44px 55px}.learn-grid{display:grid;grid-template-columns:minmax(340px,1fr) 278px;gap:44px;max-width:1010px;margin:auto}.eyebrow{font-size:.75rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--blue);margin-bottom:14px}.intro p{color:var(--muted);margin-bottom:25px;max-width:460px}.unit-banner{background:var(--blue);color:white;padding:20px 23px;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:10px;box-shadow:0 4px 0 #2542b8}.unit-banner h2{font-size:1.2rem;margin:0 0 5px}.unit-banner p{font-size:.875rem;margin:0;color:#e2e7ff}.unit-index{font-weight:800;font-size:2.1rem;opacity:.45}.path{padding:26px 0 0}.lesson-row{display:grid;grid-template-columns:91px 1fr;gap:12px;align-items:center;min-height:112px;position:relative}.lesson-row:not(:last-child)::before{content:'';position:absolute;height:calc(100% - 50px);width:4px;background:#e2e6f1;left:42px;top:84px;border-radius:5px}.lesson-node{position:relative;z-index:1;width:73px;height:73px;margin-left:8px;border:2px solid #dbe1ed;border-radius:50%;box-shadow:0 5px 0 #dbe1ed;background:#f4f6fb;display:grid;place-items:center;color:#69748b;font-size:1.5rem;font-weight:800}.lesson-row.current .lesson-node{background:var(--blue);border-color:var(--blue);box-shadow:0 5px 0 #193aaf;color:white;outline:5px solid #e9eeff;outline-offset:5px}.lesson-row.complete .lesson-node{background:var(--yellow);color:#334306;border-color:#d3df6a;box-shadow:0 5px 0 #b3c342}.lesson-content h3{font-size:1.05rem;margin:0 0 6px;letter-spacing:-.025em}.lesson-content p{font-size:.85rem;color:var(--muted);margin:0}.lesson-text-button{background:none;border:0;padding:0;text-align:left}.lesson-text-button:hover h3{text-decoration:underline}.lesson-tag{font-size:.68rem;text-transform:uppercase;letter-spacing:.1em;color:var(--blue);font-weight:800;margin-bottom:6px}.lesson-content .small-start{margin-top:12px}.small-start{background:var(--blue);color:#fff;border:0;border-bottom:3px solid #193aaf;border-radius:10px;font-weight:700;font-size:.82rem;padding:11px 18px}.small-start:hover,.primary:hover{filter:brightness(.95)}.aside{padding-top:4px;display:flex;flex-direction:column;gap:22px}.panel{border:1px solid var(--line);border-radius:19px;padding:23px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.panel h2{font-size:1rem;margin:0 0 18px}.panel p{font-size:.85rem;color:var(--muted);margin-bottom:0}.goal-count{font-size:.8125rem;color:var(--muted)}.meter{height:11px;border-radius:99px;background:#edf0f7;overflow:hidden}.meter>span{display:block;height:100%;background:var(--blue);border-radius:99px;transition:width .3s}.goal-foot{display:flex;justify-content:space-between;font-size:.75rem;font-weight:600;color:var(--muted);margin-top:12px}.word-card{background:#f1f4ff;border:0}.type-art{font-family:Manrope,sans-serif;letter-spacing:-.11em;font-size:5.8rem;line-height:1;font-weight:800;color:var(--blue);padding:7px 0 25px}.word-card h2{font-size:1.35rem;margin:0 0 9px}.word-card .eyebrow{font-size:.65rem;margin-bottom:9px}.text-link{background:none;border:0;padding:0;color:var(--blue);font-weight:700;font-size:.85rem;margin-top:20px}.gentle-note{padding:0 7px}.gentle-note h3{font-size:.88rem;margin-bottom:8px}.gentle-note p{font-size:.82rem;color:var(--muted);margin:0}.page-head{max-width:650px;margin-bottom:30px}.page-head p{color:var(--muted)}.word-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:1030px}.word-entry{border:1px solid var(--line);padding:24px;border-radius:17px}.word-entry h2{font-size:1.2rem;margin-bottom:12px}.word-entry p{font-size:.95rem;margin-bottom:12px}.word-entry .example{font-size:.85rem;color:var(--muted);border-left:3px solid var(--yellow);padding-left:12px}.word-entry a{font-size:.78rem}.search-field{border:1px solid #c9d0df;border-radius:12px;min-height:48px;width:100%;max-width:450px;padding:12px 16px;background:#fff;margin-bottom:24px}.source-card{max-width:760px;border-bottom:1px solid var(--line);padding:22px 0}.source-card h2{font-size:1.15rem}.source-card p{color:var(--muted);font-size:.95rem}.source-card a{font-size:.9rem}.primary{background:var(--blue);border:0;border-bottom:4px solid #1a3cba;border-radius:13px;color:white;font-weight:700;padding:16px 25px;min-height:52px}.primary:disabled{background:#e5e8ef;border-color:#d8dde8;color:#8c95a5;filter:none}.secondary{background:#fff;border:1px solid #cbd2e0;border-bottom:3px solid #cbd2e0;border-radius:13px;padding:14px 22px;font-weight:700;min-height:50px}.practice-card{background:#f1f4ff;max-width:650px;border-radius:20px;padding:30px}.practice-card h2{font-size:1.5rem}.practice-card p{color:var(--muted)}dialog{border:0;padding:0;border-radius:24px;width:min(760px,calc(100% - 32px));max-height:calc(100dvh - 32px);color:var(--ink);box-shadow:0 30px 100px #14204733}dialog::backdrop{background:#141d3a80;backdrop-filter:blur(5px)}.lesson-top{display:flex;align-items:center;padding:24px 28px 12px;gap:20px}.close{width:40px;height:40px;min-width:40px;border:0;background:var(--light);border-radius:50%;font-size:1.5rem;color:var(--muted)}.lesson-top .meter{flex:1;height:10px}.step-label{font-size:.8rem;color:var(--muted);min-width:40px;text-align:right}.lesson-body{padding:25px 50px 32px;min-height:350px}.lesson-body h1{font-size:2rem;line-height:1.25;margin-bottom:21px;letter-spacing:-.035em}.lesson-body .eyebrow{margin-bottom:13px}.definition{font-size:1.16rem;color:#414a60;line-height:1.65}.example-box{background:#f2f5fd;border-radius:14px;padding:19px 22px;margin-top:25px}.example-box span{display:block;text-transform:uppercase;font-weight:800;font-size:.7rem;letter-spacing:.1em;color:var(--blue);margin-bottom:8px}.example-box p{margin:0;font-size:1rem}.source-inline{display:block;font-size:.75rem;color:var(--muted);margin-top:20px}.lesson-footer{border-top:1px solid var(--line);padding:20px 28px;display:flex;justify-content:space-between;align-items:center;gap:20px;background:#fafbfe}.footer-note{font-size:.8rem;color:var(--muted);margin:0}.options{display:grid;gap:12px}.option{display:flex;align-items:center;gap:14px;padding:17px 19px;text-align:left;background:white;border:2px solid #e1e5ed;border-bottom-width:4px;border-radius:14px;min-height:65px;font-size:1rem;line-height:1.5}.option-index{border:1px solid #d4dae5;border-radius:7px;display:grid;place-items:center;min-width:28px;height:28px;font-size:.8rem;color:var(--muted)}.option.selected{border-color:var(--blue);background:#eff2ff}.option.correct{border-color:#418760;background:#edf8f1}.option.incorrect{border-color:#c06e35;background:#fff5eb}.feedback{background:#edf8f1;border-radius:14px;padding:16px 19px;margin-top:22px}.feedback.retry{background:#fff5eb}.feedback h2{font-size:1rem;margin:0 0 7px}.feedback p{font-size:.92rem;margin:0}.completion{text-align:center;padding:24px 0}.completion-badge{width:92px;height:92px;margin:0 auto 24px;border-radius:50%;background:var(--yellow);color:#485c11;display:grid;place-items:center;font-size:2.8rem;font-weight:800;box-shadow:0 7px 0 #bdcd55}.result-stats{display:flex;justify-content:center;gap:16px;margin-top:26px}.result-stat{padding:18px 24px;border:1px solid var(--line);border-radius:13px}.result-stat strong{font-size:1.5rem;display:block;color:var(--blue)}.result-stat span{font-size:.78rem;color:var(--muted)}.storage-note{color:#914e19;font-size:.8rem;margin-top:12px}.empty-state{padding:25px;background:var(--light);border-radius:15px;grid-column:1/-1}.muted{color:var(--muted)}
@media(min-width:1450px){.workspace{padding-top:48px}.learn-grid{gap:65px}.lesson-row{min-height:120px}}@media(max-width:1150px){.app-shell{grid-template-columns:190px 1fr}.sidebar{padding-inline:12px}.brand{font-size:1.8rem}.workspace{padding:32px 28px}.topbar{padding:0 28px}.learn-grid{gap:25px;grid-template-columns:minmax(290px,1fr) 230px}.panel{padding:20px}h1{font-size:2.3rem}}@media(max-width:920px){.learn-grid{grid-template-columns:1fr}.aside{display:grid;grid-template-columns:1fr 1fr}.gentle-note{grid-column:1/-1}.type-art{display:none}.word-grid{grid-template-columns:1fr}.topbar-label{display:none}.topbar{justify-content:flex-end;height:80px}.workspace{padding:30px}.intro p{max-width:100%}.path{max-width:570px}.lesson-row{min-height:112px}}@media(max-width:600px){.app-shell{display:block}.sidebar{position:fixed;bottom:0;top:auto;height:auto;z-index:10;background:#fff;border-right:0;border-top:1px solid var(--line);width:100%;padding:8px 8px max(8px,env(safe-area-inset-bottom))}.sidebar .brand,.sidebar-bottom{display:none}.nav{display:flex;justify-content:space-around;gap:3px}.nav button{flex-direction:column;gap:5px;padding:8px 10px;font-size:.68rem;border-radius:10px;flex:1}.nav .icon{width:20px;height:20px}.topbar{height:74px;padding:0 22px;justify-content:space-between}.topbar-label{display:block;color:var(--blue);font-family:Manrope,sans-serif;font-size:1.5rem;letter-spacing:-.06em;font-weight:800}.topbar-stats{gap:16px}.avatar{display:none}.workspace{padding:27px 22px 112px}h1{font-size:2.15rem}.intro p{font-size:.95rem}.unit-banner{padding:19px}.learn-grid{gap:25px}.aside{grid-template-columns:1fr}.word-card,.gentle-note{display:none}.lesson-node{width:64px;height:64px;font-size:1.3rem}.lesson-row{grid-template-columns:84px 1fr;gap:8px;min-height:112px}.lesson-row:not(:last-child)::before{left:38px;top:82px}.lesson-content h3{font-size:1rem}.lesson-content p{font-size:.8rem}.lesson-tag{font-size:.65rem}.lesson-row.current{min-height:147px}.lesson-body{padding:20px 24px 26px;min-height:340px}.lesson-body h1{font-size:1.65rem}.lesson-top{padding:18px 18px 8px;gap:12px}.lesson-footer{padding:18px;gap:15px}.footer-note{max-width:110px;font-size:.72rem}.lesson-footer .primary{padding:15px 20px}.definition{font-size:1.05rem}.option{font-size:.9rem;padding:14px 13px;gap:10px}.result-stat{padding:15px}.result-stat strong{font-size:1.3rem}.practice-card{padding:24px}.stat{font-size:.85rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media(prefers-contrast:more){:root{--muted:#384153;--line:#8e98ac}.option,.panel,.word-entry{border-color:#7b869b}}

/* Keep the learning-path headline on one line within its column. */
.intro{container-type:inline-size}.intro h1{white-space:nowrap;font-size:clamp(1rem,7.4cqw,2.7rem)}
