@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Nunito:wght@500;600;700;800;900&display=swap');:root{font-family:'DM Sans',system-ui,sans-serif;color:#303052;background:#f9f8ff;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,a{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}.app-shell{display:flex;min-height:100vh}.sidebar{width:245px;flex:none;background:#fff;border-right:1px solid #eeeaf8;padding:34px 21px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{font:900 27px Nunito,sans-serif;letter-spacing:-1.5px;display:flex;align-items:center;gap:9px;margin:0 0 62px 7px}.brand-icon{display:grid;place-items:center;background:#7856e9;color:white;border-radius:13px;width:37px;height:37px;font-size:26px}.accent{color:#8d6cf5}.sidebar-label,.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:#a8a2be}.sidebar-label{padding-left:16px;margin:0 0 19px}.sidebar nav{display:grid;gap:8px}.nav-link{display:flex;gap:16px;align-items:center;border-radius:14px;padding:14px 17px;font-weight:700;color:#8c89a3;font-size:16px}.nav-link span{font-size:13px}.nav-link.active,.nav-link:hover{background:#f1edff;color:#7656e8}.sidebar-bottom{margin-top:auto;background:#f5f1ff;border-radius:18px;padding:19px 18px}.small-star{font-size:28px;color:#9b79f7}.sidebar-bottom strong{font-size:13px}.sidebar-bottom p{font-size:12px;line-height:1.65;color:#8c85a4;margin-bottom:0}.main-content{width:min(100%,1390px);padding:27px clamp(20px,4vw,68px) 20px;margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.topbar-copy{display:flex;flex-direction:column;gap:6px}.topbar-greeting{font-size:13px;font-weight:600;color:#77718e}.profile-chip{background:white;border:1px solid #efebf9;border-radius:30px;padding:10px 17px;font-size:12px;font-weight:800}.profile-chip span{color:#9c7af1}.menu-button{display:none}.hero{min-height:410px;border-radius:30px;background:linear-gradient(110deg,#e8dfff 0%,#f1eaff 54%,#e3d6ff 100%);position:relative;overflow:hidden;display:flex;align-items:center;padding:48px clamp(25px,5vw,66px);isolation:isolate}.hero:before{content:"";position:absolute;width:400px;height:400px;border-radius:50%;background:#ffffff40;right:-110px;top:-130px;z-index:-1}.hero-text{position:relative;z-index:2;width:57%}.hero-kicker{color:#7854d9;font-size:11px;font-weight:800;letter-spacing:1.8px}.hero h1{font:900 clamp(31px,3.3vw,49px)/1.18 Nunito,sans-serif;letter-spacing:-1.7px;margin:20px 0;color:#3e326c}.hero h1 em{font-style:normal;color:#8860e9}.hero p{font-size:14px;color:#77708d;line-height:1.8;max-width:440px;margin-bottom:25px}.primary-btn{border:0;display:inline-flex;align-items:center;gap:24px;background:#7d5ae8;color:white;border-radius:14px;padding:15px 22px;font-size:13px;font-weight:800;box-shadow:0 9px 22px #8054d82b;transition:transform .2s,background .2s}.primary-btn:hover{background:#6844d4;transform:translateY(-2px)}.hero-note{font-size:11px;color:#8a79a7;margin-top:18px}.teacher-scene{position:absolute;right:2%;bottom:0;width:42%;height:100%;display:flex;justify-content:center;align-items:flex-end}.orbit{position:absolute;border:2px solid #ffffff80;border-radius:50%;width:310px;height:310px;bottom:15px}.orbit-two{width:390px;height:390px;bottom:-25px}.floating-symbol{position:absolute;font:800 25px Nunito;color:#9474e5;z-index:2;animation:float 4s ease-in-out infinite}.symbol-a{left:8%;top:18%}.symbol-b{right:6%;top:22%;animation-delay:1s}.symbol-c{right:10%;bottom:28%;animation-delay:2s}.teacher-illustration{width:275px;height:345px;position:relative;bottom:-13px;filter:drop-shadow(0 18px 14px #7d62b522)}.hair-back{position:absolute;left:35px;top:37px;width:205px;height:280px;background:#34305d;border-radius:100px 100px 50px 50px}.neck{position:absolute;left:113px;top:230px;width:53px;height:64px;background:#f7c6b7;border-radius:20px}.body-coat{position:absolute;left:10px;bottom:0;width:255px;height:116px;background:#fff;border-radius:95px 95px 0 0}.shirt{position:absolute;left:92px;bottom:0;border-left:47px solid transparent;border-right:47px solid transparent;border-top:75px solid #a989f0}.face{position:absolute;left:56px;top:74px;width:164px;height:186px;background:#ffddcc;border-radius:48% 48% 47% 47%;z-index:3}.ear{position:absolute;width:22px;height:34px;background:#f7c6b7;border-radius:50%;top:87px}.ear-left{left:-11px}.ear-right{right:-11px}.eyes{display:flex;justify-content:space-around;position:absolute;left:23px;right:23px;top:82px}.eyes i{width:22px;height:30px;background:#4e3e70;border-radius:50%;position:relative}.eyes i:after{content:"";position:absolute;left:5px;top:4px;width:8px;height:10px;border-radius:50%;background:#fff}.brows{position:absolute;top:66px;left:33px;right:33px;display:flex;justify-content:space-between}.brows i{width:24px;height:5px;background:#59466a;border-radius:50%}.blush{position:absolute;top:118px;width:32px;height:13px;background:#f5a7a9aa;border-radius:50%}.blush-left{left:12px}.blush-right{right:12px}.nose{position:absolute;left:80px;top:116px;width:5px;height:7px;border-radius:50%;background:#eeb7a7}.smile{position:absolute;left:72px;top:137px;width:22px;height:12px;border-bottom:3px solid #bd677f;border-radius:50%}.hair-top{position:absolute;z-index:4;left:44px;top:30px;width:185px;height:100px;background:#34305d;border-radius:95px 95px 35px 35px;clip-path:polygon(0 0,100% 0,100% 60%,85% 80%,70% 52%,50% 87%,28% 59%,8% 100%,0 65%)}.fringe{position:absolute;z-index:5;top:64px;background:#34305d;width:93px;height:76px}.fringe-left{left:49px;border-radius:10% 20% 100% 10%;transform:rotate(-12deg)}.fringe-right{right:47px;border-radius:20% 10% 10% 100%;transform:rotate(12deg);height:58px}.hair-side{position:absolute;z-index:5;background:#34305d;width:37px;height:185px;top:107px;border-radius:30px}.hair-side.left{left:35px;transform:rotate(5deg)}.hair-side.right{right:35px;transform:rotate(-5deg)}.hair-clip{position:absolute;z-index:6;top:70px;right:56px;color:#ffd36d;font-size:26px}.teacher-bubble{position:absolute;z-index:8;right:-2%;bottom:26px;display:flex;align-items:center;gap:10px;background:#fff;border-radius:16px;padding:13px 17px;box-shadow:0 12px 35px #7963b62a;white-space:nowrap}.teacher-bubble strong{display:block;font-size:12px;color:#493b78}.teacher-bubble small{display:block;font-size:10px;color:#a09ab1;margin-top:4px}.bubble-sparkle{font-size:26px;color:#a482f5}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin:25px 0 43px}.stat{background:#fff;border:1px solid #f0edf8;border-radius:20px;padding:22px;display:flex;gap:15px;align-items:center}.stat-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;font-size:24px}.lavender{background:#eee8ff;color:#8462e6}.peach{background:#fff0e7;color:#f4a06a}.mint{background:#e5f8f1;color:#4ac7a0}.stat strong{display:block;font:900 23px Nunito}.stat small{font-size:11px;color:#a09aaf}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:23px}.section-heading h2,.lesson-header h2{font:900 clamp(22px,2.4vw,29px) Nunito;letter-spacing:-.6px;margin:8px 0 0}.section-decoration{color:#b9a4f7}.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.course-card{text-align:left;border:1px solid #eeebf8;background:white;border-radius:22px;padding:24px;display:flex;flex-direction:column;align-items:flex-start;min-height:226px;transition:transform .2s,box-shadow .2s,border-color .2s}.course-card:hover,.course-card:focus-visible{transform:translateY(-4px);box-shadow:0 14px 30px #7567a51b;border-color:#c8b5ff}.flag{font-size:35px;margin-bottom:11px}.course-meta{font-size:9px;color:#a58dcf;letter-spacing:1.4px;font-weight:800}.course-card strong{font:900 20px Nunito;margin:5px 0}.course-card small{font-size:11px;color:#9791a6;line-height:1.6}.course-footer{border-top:1px solid #f0edf8;width:100%;padding-top:13px;margin-top:auto;color:#8662e8;font-weight:800;font-size:11px;display:flex;justify-content:space-between}.course-footer b{font-size:16px}.lesson-panel{margin:45px 0}.lesson-panel[hidden]{display:none}.lesson-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.text-button{border:0;background:none;color:#7c59e8;font-size:12px;font-weight:800}.lesson-card{background:#fff;border:1px solid #eee9f8;border-radius:25px;padding:30px;max-width:720px;margin:auto;text-align:center}.lesson-progress{text-align:left;color:#9b94aa;font-size:12px;font-weight:700}.progress-track{height:9px;background:#f0ebfc;border-radius:20px;margin:12px 0 25px;overflow:hidden}.progress-track div{height:100%;background:#8b6bed;width:0;transition:width .3s}.lesson-emoji{font-size:44px}.lesson-card h3{font:900 24px Nunito;margin:12px 0}.lesson-card p{color:#9992a8;font-size:13px}.answers{display:grid;gap:10px;margin:25px 0}.answer{border:2px solid #f0ecf9;border-radius:14px;padding:14px;text-align:left;background:#fff;color:#544c69;font-weight:700}.answer:hover:not(:disabled){border-color:#a78bf1;background:#faf7ff}.answer.correct{border-color:#4dc49b;background:#ebfff5}.answer.wrong{border-color:#ee8c9a;background:#fff0f2}.feedback{font-weight:800;min-height:24px;font-size:13px}.next-btn{margin-top:14px}footer{color:#aaa4b9;text-align:center;padding:40px 0 20px;font-size:11px}@keyframes float{50%{transform:translateY(-14px)}}@media(max-width:1080px){.sidebar{width:195px}.hero-text{width:60%}.teacher-scene{right:-4%}.course-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.sidebar{position:fixed;z-index:20;transform:translateX(-105%);transition:transform .25s;box-shadow:15px 0 40px #30265720}.sidebar.open{transform:translateX(0)}.main-content{padding:20px 17px}.menu-button{display:block;border:0;background:#fff;border-radius:12px;padding:10px 12px;color:#7656e8}.topbar{gap:10px}.topbar-copy{flex:1}.topbar-greeting{font-size:11px}.profile-chip{font-size:0;padding:9px}.profile-chip span{font-size:16px}.hero{padding:30px 24px 0;display:block;min-height:610px}.hero-text{width:100%}.hero h1{font-size:34px;margin:13px 0}.hero p{font-size:12px;max-width:350px;margin-bottom:18px}.teacher-scene{height:310px;width:100%;right:0;bottom:0}.teacher-illustration{transform:scale(.79);transform-origin:bottom center}.orbit{transform:scale(.8)}.teacher-bubble{right:7%;bottom:14px}.stats{gap:9px;margin:17px 0 35px}.stat{padding:12px 8px;gap:6px;flex-direction:column;text-align:center}.stat-icon{width:37px;height:37px;font-size:19px}.stat strong{font-size:17px}.stat small{font-size:9px}.course-grid{gap:11px}.course-card{padding:16px;min-height:212px}.course-card strong{font-size:18px}.course-card small{font-size:10px}.section-decoration{display:none}.lesson-header{align-items:flex-start;flex-direction:column}.lesson-card{padding:20px}}@media(max-width:380px){.course-grid{grid-template-columns:1fr}.hero h1{font-size:30px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
/* Lingunova 2.0 — polished academy */
.sidebar{background:linear-gradient(170deg,#332063,#422678 55%,#6035a4);border-right:0;color:white}.brand{color:white}.brand-icon{background:#8150f4;box-shadow:0 6px 22px #af7dff66}.accent{color:#c4a0ff}.sidebar-label{color:#c6a9ed}.nav-link{color:#d7c7f3}.nav-link.active,.nav-link:hover{background:linear-gradient(95deg,#8853f2,#a16afc);color:white;box-shadow:0 5px 18px #1c104b44}.sidebar-bottom{background:linear-gradient(140deg,#7444c9,#9957e5);border:1px solid #bd88ff;color:white;box-shadow:0 6px 24px #b98fff55}.sidebar-bottom p,.small-star{color:#f4e9ff}.hero{background:linear-gradient(115deg,#f4e8ff,#e8d6ff 55%,#d9c6ff);border:1px solid #ffffffaa;box-shadow:0 12px 35px #9c76d01a}.hero-kicker{background:#e8d0ff;color:#7137ce;border-radius:30px;padding:9px 14px}.hero h1{color:#2d2353}.hero h1 em{color:#7d45df}.primary-btn{background:linear-gradient(90deg,#783de2,#9a55f2);box-shadow:0 8px 22px #8c4dd94a}.teacher-scene{background:radial-gradient(ellipse at 70% 80%,#c4a7ff55,transparent 60%)}.teacher-bubble{border:1px solid #d7bbff;box-shadow:0 10px 30px #7a4dc02c}.stat{box-shadow:0 5px 16px #7b63ac0d}.learning-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(235px,1fr);gap:18px}.course-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.course-card{min-height:190px;padding:18px;background:linear-gradient(155deg,#fff,#faf6ff);position:relative;overflow:hidden;box-shadow:0 5px 16px #8065b10d}.course-card:nth-child(2){background:linear-gradient(140deg,#fff,#fff0f8)}.course-card:nth-child(3){background:linear-gradient(140deg,#fff,#f2faff)}.course-card:nth-child(4){background:linear-gradient(140deg,#fff,#f3fffc)}.course-card:nth-child(5){background:linear-gradient(140deg,#fff,#fff8ee)}.course-card:nth-child(6){background:linear-gradient(140deg,#fff,#f4f4ff)}.course-card .flag{font-size:0;margin-bottom:12px;display:flex;align-items:center;justify-content:center;width:46px;height:33px;border-radius:8px;box-shadow:0 3px 10px #4a367a20;overflow:hidden;background:white}.flag svg{width:100%;height:100%}.course-card:after{content:'✦';position:absolute;right:15px;top:13px;font-size:35px;color:#e1d2ff;opacity:.7}.course-footer{position:relative;z-index:1}.progress-panel{background:linear-gradient(160deg,#fff,#f0e8ff 85%);border:1px solid #e8defa;border-radius:22px;padding:22px;display:flex;flex-direction:column;align-items:center;min-height:100%;box-shadow:0 5px 20px #8065b10d}.progress-panel-head{align-self:flex-start;font:900 18px Nunito;color:#443269}.progress-ring{width:145px;height:145px;border-radius:50%;background:conic-gradient(#8554ee 0%,#e4d4fa 0);display:grid;place-items:center;margin:26px auto 10px}.progress-ring:before{content:'';position:absolute;width:112px;height:112px;background:#fbf8ff;border-radius:50%}.progress-ring span{z-index:1;font:900 27px Nunito}.progress-panel p{text-align:center;font-size:12px;line-height:1.7;color:#7b7094}.goal-box{background:#ffffffb8;border:1px solid #e8dcfa;border-radius:16px;padding:16px;width:100%;margin-top:auto}.goal-box strong{font-size:13px}.goal-meta{display:flex;justify-content:space-between;font-size:11px;color:#8a80a4;margin-top:15px;gap:6px}.goal-box .progress-track{margin:12px 0 0}.speak-button{border:1px solid #d8c8f7;background:#f6f0ff;border-radius:12px;padding:9px 14px;color:#704bd0;font-weight:800;font-size:12px;margin:8px}.speak-button:disabled{opacity:.5}@media(max-width:1200px){.learning-layout{grid-template-columns:1fr}.progress-panel{min-height:240px}.progress-ring{margin:12px auto}.goal-box{max-width:430px}}@media(max-width:760px){.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{background:linear-gradient(170deg,#332063,#6035a4)}}@media(max-width:380px){.course-grid{grid-template-columns:1fr}}

/* Stable inline illustrations: no fonts, emoji, or JS required for flags */
.flag{font-size:initial!important}.flag svg{display:block;width:100%;height:100%}.luna-anime{width:min(100%,520px);height:100%;max-height:410px;position:relative;z-index:2;align-self:end;overflow:visible;filter:drop-shadow(0 8px 18px #6847a52a);animation:luna-appear .8s ease both}.teacher-scene{width:49%;right:0}.teacher-bubble{right:2%;bottom:20px}.hero-text{width:54%}@keyframes luna-appear{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@media(max-width:760px){.luna-anime{max-height:250px}.teacher-scene{width:65%;opacity:.8}.hero-text{width:75%}.teacher-bubble{display:none}}@media(prefers-reduced-motion:reduce){.luna-anime{animation:none}}
