:root{--bg:#f8f9fd;--ink:#202344;--muted:#858ba5;--purple:#665be9;--purple-dark:#4d43c9;--lavender:#eae8ff;--line:#e9ebf3;--green:#4cbf9b;--shadow:0 16px 45px rgba(37,39,92,.048);--radius:22px;font-family:ui-rounded,'Avenir Next','Nunito','Trebuchet MS',system-ui,-apple-system,sans-serif;font-synthesis:none;color:var(--ink)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}a{color:var(--purple)}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b3adff;outline-offset:2px}.shell{display:flex;min-height:100vh}.sidebar{width:258px;flex-shrink:0;background:#fff;border-right:1px solid #eceef6;display:flex;flex-direction:column;padding:30px 17px 21px;position:sticky;top:0;height:100vh;z-index:25}.brand{border:0;background:none;padding:0 12px 25px;display:flex;align-items:center;gap:10px;text-align:left;color:inherit}.brand-icon{width:42px;height:42px;border-radius:13px;background:var(--purple);color:#fff;display:grid;place-items:center;font-size:35px;font-weight:900;line-height:1;box-shadow:0 8px 18px #655be938;position:relative}.brand-icon span{position:absolute;top:-9px;right:-9px;color:#ffb83a;font-size:21px}.brand-text{letter-spacing:-.075em;line-height:1.06;font-size:21px;font-weight:1000}.brand-text>span{color:var(--purple)}.brand-text small{display:block;letter-spacing:.15em;font-size:8px;margin-top:6px;color:#9a9eb2;font-weight:900}.nav-kicker{font-weight:900;color:#acb0c2;letter-spacing:.12em;font-size:10px;padding:15px 17px}.nav-kicker-late{margin-top:17px}.sidenav{display:grid;gap:6px}.nav-link{width:100%;border:0;border-radius:12px;padding:13px 14px;background:transparent;display:flex;align-items:center;gap:14px;text-align:left;color:#70758f;font-size:14px;font-weight:800;transition:background .18s,color .18s}.nav-link:hover{background:#f6f6fe;color:var(--purple)}.nav-link.active{color:var(--purple);background:#eeecff}.nav-ico{width:22px;text-align:center;font-size:21px;font-weight:700;line-height:1}.nav-arrow{margin-left:auto;font-size:22px;opacity:0}.nav-link.active .nav-arrow{opacity:1}.sidebar-bottom{margin-top:auto}.goal-card{border:1px solid #efedf8;background:#fbfaff;border-radius:17px;padding:13px;display:flex;align-items:center;gap:12px}.goal-ring{width:52px;height:52px;border:5px solid #d6d1ff;border-top-color:var(--purple);border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:12px;font-weight:900;color:var(--purple)}.goal-card b{display:block;font-size:12px}.goal-card span{font-size:11px;color:#999bb1;display:block;margin-top:4px;line-height:1.5}.safe-foot{display:flex;gap:8px;align-items:center;font-size:11px;color:#a0a4bb;margin:23px 8px 3px}.safe-dot,.online-dot{width:7px;height:7px;border-radius:50%;background:#51c59a;display:inline-block;flex-shrink:0}.app-area{width:calc(100% - 258px);min-width:0;display:flex;flex-direction:column}.topbar{height:84px;padding:0 clamp(24px,4vw,70px);display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eceef5;background:rgba(248,249,253,.9)}.topbar-title{font-size:13px;font-weight:800;color:#6f748e}.star-yellow{color:#febc49;font-size:18px}.topbar-right{display:flex;align-items:center;gap:21px}.top-pill{padding:10px 15px;background:#fff;border-radius:50px;border:1px solid #eceef4;color:#737993;font-size:11px;font-weight:800;display:flex;gap:8px;align-items:center}.small-link{background:transparent;border:0;color:#787f98;font-size:12px;font-weight:800}.mobile-toggle{display:none}main{padding:34px clamp(24px,4vw,70px) 75px;max-width:1600px;width:100%;margin:0 auto;flex:1}.footer{padding:15px clamp(24px,4vw,70px) 22px;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#a7abbd}.intro-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:23px}.eyebrow{font-size:11px;font-weight:1000;letter-spacing:.14em;color:var(--purple);text-transform:uppercase;margin-bottom:10px}.intro-head h1,.page-title{font-size:clamp(29px,3.2vw,42px);font-weight:1000;line-height:1.15;letter-spacing:-.055em;margin:0}.subtle{color:#8d93aa;font-size:14px;line-height:1.65;margin:9px 0 0}.profile-switch{display:flex;background:#fff;border-radius:50px;padding:5px;border:1px solid #eceef5;box-shadow:var(--shadow);gap:3px}.profile-button{border:none;border-radius:50px;padding:10px 15px;display:flex;align-items:center;gap:8px;background:transparent;font-size:12px;font-weight:900;color:#979bb0;white-space:nowrap}.profile-button.active{background:var(--purple);color:#fff;box-shadow:0 6px 14px #665be92f}.profile-button .face{font-size:18px}.hero{position:relative;overflow:hidden;min-height:228px;background:linear-gradient(113deg,#5045c9 0%,#6256e3 60%,#8077f2 100%);border-radius:26px;color:#fff;box-shadow:0 22px 40px #6156dc22;display:flex;align-items:center;justify-content:space-between;padding:33px 42px;margin:0 0 23px}.hero-copy{z-index:2;max-width:560px}.hero-badge{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid #ffffff52;background:#ffffff1a;border-radius:30px;font-size:10px;font-weight:900;letter-spacing:.07em}.hero h2{font-size:clamp(27px,3.1vw,39px);line-height:1.16;margin:17px 0 9px;letter-spacing:-.055em;font-weight:1000}.hero p{color:#dedbff;font-size:13px;line-height:1.65;max-width:400px;margin:0 0 20px}.hero-button{border:0;background:#fff;color:#5148cb;padding:12px 19px;border-radius:12px;font-size:12px;font-weight:1000;display:inline-flex;align-items:center;gap:9px}.hero-button:hover,.primary-btn:hover{transform:translateY(-1px)}.hero-art{width:32%;min-width:225px;max-width:330px;align-self:stretch;position:relative}.hero-orb{width:218px;height:218px;border-radius:50%;background:linear-gradient(135deg,#fff6cd,#fae8a3);position:absolute;top:10px;right:23px;box-shadow:0 0 0 16px #ffffff12,0 0 0 34px #ffffff0b;display:grid;place-items:center;transform:rotate(-9deg)}.orb-bubble{font-size:92px;filter:drop-shadow(0 10px 1px #e9be6755)}.orb-mini{position:absolute;font-size:37px;top:0;right:0;transform:rotate(20deg)}.orbit-star{position:absolute;color:#ffe9ac;font-size:25px}.orbit-star.a{left:5px;top:30px}.orbit-star.b{right:10px;bottom:3px}.orbit-star.c{left:20px;bottom:30px;color:#b4ffde}.metric-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:35px}.metric{padding:20px 23px;background:#fff;border:1px solid #eff0f5;border-radius:18px;display:flex;gap:15px;align-items:center;box-shadow:var(--shadow)}.metric-icon{width:47px;height:47px;display:grid;place-items:center;border-radius:14px;font-size:23px;background:#f0eeff}.metric:nth-child(2) .metric-icon{background:#ecfff8}.metric:nth-child(3) .metric-icon{background:#fff4e5}.metric strong{display:block;font-size:24px;line-height:1;letter-spacing:-.05em}.metric span{font-size:11px;font-weight:700;color:#9b9fb2;display:block;margin-top:7px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 18px}.section-heading h2{font-size:21px;letter-spacing:-.035em;margin:0;font-weight:1000}.section-heading p{font-size:12px;color:#9ca1b6;margin:5px 0 0}.text-btn{border:0;background:transparent;color:var(--purple);font-size:12px;font-weight:900;padding:8px}.lessons-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.lesson-card{background:#fff;min-height:252px;overflow:hidden;border:1px solid #eff0f6;border-radius:19px;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.lesson-card:hover{transform:translateY(-3px);box-shadow:0 20px 45px #34376514}.lesson-visual{height:108px;position:relative;display:grid;place-items:center;font-size:58px;overflow:hidden}.lesson-visual:before,.lesson-visual:after{content:'';position:absolute;border-radius:50%;background:#ffffff50}.lesson-visual:before{width:140px;height:140px;left:-45px;bottom:-105px}.lesson-visual:after{width:100px;height:100px;right:-27px;top:-60px}.peach{background:#ffebe5}.lavender{background:#efebff}.mint{background:#def8eb}.yellow{background:#fff2d5}.blue{background:#e6f1ff}.lesson-visual>span{z-index:1;filter:drop-shadow(0 10px 8px #00000010)}.lesson-info{padding:16px 17px 17px;display:flex;flex:1;flex-direction:column}.unit-small{font-size:10px;color:#9da2b7;font-weight:1000;text-transform:uppercase;letter-spacing:.09em}.lesson-info h3{font-size:16px;letter-spacing:-.035em;margin:7px 0 5px}.lesson-info p{font-size:11px;color:#a0a5b8;line-height:1.55;margin:0 0 16px}.lesson-card-foot{display:flex;align-items:center;gap:8px;justify-content:space-between;margin-top:auto}.begin-btn{background:#f0eeff;color:var(--purple);border:0;border-radius:9px;padding:9px 12px;font-size:11px;font-weight:900}.begin-btn:hover{background:#e5e1ff}.done-bubble{font-size:11px;color:#37a984;background:#eafbf3;border-radius:30px;padding:6px 9px;font-weight:900}.empty-bubble{color:#bcc0cc;font-size:11px;font-weight:700}.pill-line{display:flex;gap:5px;align-items:center}.section-gap{margin-top:35px}.parent-note{margin-top:20px;border-radius:16px;padding:16px 19px;background:#fff8e9;border:1px solid #ffe9b8;display:flex;gap:14px;font-size:12px;line-height:1.6;color:#807151}.parent-note b{display:block;color:#735c33;margin-bottom:2px}.parent-note .note-ico{font-size:24px}.card,.study-panel,.panel{background:#fff;border:1px solid #eaecf4;border-radius:22px;box-shadow:var(--shadow)}.page-lead{margin:0 0 24px}.filter-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 25px;flex-wrap:wrap}.little-tag{display:inline-flex;border-radius:30px;padding:9px 13px;font-size:11px;font-weight:900;color:#665be9;background:#edebff}.review-shell{display:grid;grid-template-columns:1.2fr .8fr;gap:24px}.review-banner{padding:28px;border-radius:22px;background:linear-gradient(130deg,#ebf8f2,#effaff);border:1px solid #e5f2ef;min-height:210px;display:flex;align-items:center;gap:30px}.review-banner-emoji{font-size:95px}.review-banner h2{font-size:23px;letter-spacing:-.04em}.review-banner p,.panel p{color:#9399ab;line-height:1.65;font-size:13px}.review-list{padding:20px}.review-list h3{margin:0 0 14px;font-size:16px}.activity-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #f0f1f6;padding:13px 0;gap:10px}.activity-row:last-child{border-bottom:0}.activity-row b{font-size:12px}.activity-row small{color:#aaaec0;font-size:11px}.activity-row strong{color:var(--purple);font-size:13px}.primary-btn,.ghost-btn,.outline-btn,.danger-btn{border:0;border-radius:12px;padding:12px 18px;font-size:12px;font-weight:1000;display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:transform .18s,background .18s}.primary-btn{background:var(--purple);color:#fff;box-shadow:0 8px 18px #665be92a}.ghost-btn{background:#f0eeff;color:var(--purple)}.outline-btn{background:#fff;border:1px solid #e4e5f1;color:#5e6382}.danger-btn{background:#fff0f1;color:#bd3b50}.btn-row{display:flex;gap:10px;flex-wrap:wrap}.small-print{font-size:11px;color:#adb2c3;line-height:1.6}.study-back{border:0;background:none;padding:0;margin:0 0 23px;color:#787e9a;font-weight:900;font-size:12px}.study-top{display:flex;justify-content:space-between;gap:15px;align-items:center}.study-top h1{margin:3px 0 8px;font-size:29px;letter-spacing:-.06em}.progress-track{height:8px;background:#ebeaf7;border-radius:30px;overflow:hidden;margin:20px 0 26px}.progress-fill{height:100%;background:linear-gradient(90deg,#6b5df0,#55cbaa);border-radius:30px;transition:width .4s}.study-panel{padding:32px;max-width:810px;margin:auto;text-align:center;min-height:425px}.stage-label{text-transform:uppercase;color:var(--purple);font-weight:1000;font-size:11px;letter-spacing:.15em}.stage-title{font-size:25px;letter-spacing:-.04em;margin:8px 0 9px}.stage-intro{font-size:13px;color:#9da2b6;line-height:1.55;max-width:530px;margin:0 auto 25px}.flashcard{width:min(100%,470px);min-height:225px;border:1px solid #dfdafc;background:linear-gradient(125deg,#f7f5ff,#f9faff);border-radius:25px;margin:0 auto 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#27244e;box-shadow:0 10px 26px #45418b0d}.flashcard:hover{transform:translateY(-2px)}.flash-emoji{font-size:74px}.flash-main{font-size:31px;font-weight:1000;letter-spacing:-.04em}.flash-hint{font-size:12px;color:#a0a1b9}.flash-translation{font-size:20px;color:var(--purple);font-weight:1000}.flash-counter{font-size:12px;color:#999eb6;margin:5px 0 16px}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:590px;margin:0 auto 18px}.choice{border:1px solid #e9e8f3;background:#fbfbfe;min-height:67px;border-radius:14px;font-weight:900;font-size:16px;padding:14px;transition:background .2s,transform .2s}.choice:hover:not(:disabled){background:#f3f0ff;transform:translateY(-1px)}.choice.correct{background:#e7fcf3;border-color:#5dc89b;color:#247b58}.choice.wrong{background:#fff0ef;border-color:#eaa69e;color:#bd5853}.feedback{min-height:25px;margin:9px 0 15px;color:#6d7390;font-size:13px;font-weight:800}.feedback.positive{color:#289a75}.feedback.negative{color:#b15e57}.practice-question{font-size:clamp(19px,2.2vw,29px);font-weight:1000;margin:6px 0 23px}.practice-emoji{font-size:56px;display:block;margin:4px 0 12px}.speaker-btn{border:0;background:#f1eeff;color:var(--purple);height:42px;width:42px;border-radius:50%;font-size:20px;display:inline-grid;place-items:center}.type-answer{padding:14px 18px;border:1px solid #e4e5ee;border-radius:13px;font-size:15px;width:min(100%,430px);text-align:center}.speech-phrase{font-size:27px;font-weight:1000;letter-spacing:-.04em;margin:17px 0 5px}.speech-controls{display:flex;justify-content:center;gap:10px;margin:21px 0}.mic-ring{width:97px;height:97px;border:8px solid #efeaff;background:#665be9;display:grid;place-items:center;border-radius:50%;color:white;font-size:43px;margin:0 auto 17px;box-shadow:0 9px 24px #665be92c}.mic-ring.listening{animation:pulse 1.3s ease-in-out infinite}@keyframes pulse{50%{box-shadow:0 0 0 17px #665be915}}.study-result{font-size:88px;margin:10px}.result-number{font-size:43px;font-weight:1000;color:var(--purple);letter-spacing:-.07em}.result-caption{font-size:14px;color:#8e93a8}.talk-layout{display:grid;grid-template-columns:1fr 300px;gap:22px}.talk-app{min-height:535px;display:flex;flex-direction:column;overflow:hidden}.talk-header{border-bottom:1px solid #efeff7;padding:20px 24px;display:flex;justify-content:space-between;align-items:center}.talk-identity{display:flex;align-items:center;gap:13px}.avatar{height:50px;width:50px;border-radius:17px;background:#edebff;display:grid;place-items:center;font-size:31px}.talk-identity strong{font-size:14px;display:block}.talk-identity small{font-size:11px;color:#9a9fb1}.talk-messages{flex:1;min-height:290px;max-height:420px;overflow:auto;padding:24px;display:flex;flex-direction:column;gap:14px;background:#fdfdff}.message{max-width:80%;font-size:13px;line-height:1.65;padding:13px 16px;border-radius:16px;background:#f0efff;white-space:pre-wrap}.message.user{align-self:flex-end;background:var(--purple);color:white;border-bottom-right-radius:4px}.message.ai{align-self:flex-start;border-bottom-left-radius:4px;color:#46436c}.message.notice{align-self:center;text-align:center;background:#fff9ed;color:#917751;font-size:11px}.talk-form{display:flex;gap:8px;padding:13px 18px;border-top:1px solid #f0f0f5}.talk-form input{flex:1;min-width:0;border:1px solid #e7e8f1;border-radius:12px;padding:12px 14px;outline:0;color:#24213d}.talk-form input:focus{border-color:#b4aaff}.talk-form button{border:0;background:var(--purple);color:white;padding:12px 18px;border-radius:12px;font-weight:1000}.talk-aside{padding:24px}.talk-aside h3{font-size:18px;margin:0 0 10px}.talk-aside p{font-size:12px;line-height:1.7;color:#9ca2b6}.prompt-chip{display:block;width:100%;padding:13px 14px;text-align:left;margin:9px 0;border:1px solid #eeedf6;border-radius:12px;background:#fafaff;color:#56587b;font-size:12px;font-weight:900}.prompt-chip:hover{background:#edebff;color:var(--purple)}.status-note{background:#fff7e4;border-radius:13px;padding:14px;margin:15px 0;font-size:12px;color:#88704d;line-height:1.6}.panel-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.panel{padding:26px}.panel h2{font-size:19px;letter-spacing:-.04em;margin:0 0 9px}.panel p{margin:0 0 18px}.form-field{margin:0 0 16px}.form-field label{font-size:11px;font-weight:1000;display:block;margin-bottom:8px;color:#777c96}.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid #e5e7f0;border-radius:12px;background:#fdfdff;padding:12px 13px;color:#2f3255;font-size:13px;outline:0}.form-field textarea{min-height:125px;resize:vertical;line-height:1.5}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#978df4}.form-field .help{color:#a4a8ba;display:block;margin-top:6px;font-size:10px;line-height:1.5}.checkline{display:flex;gap:11px;align-items:flex-start;background:#f8f8fd;border:1px solid #eeeeF5;border-radius:13px;padding:15px}.checkline input{accent-color:var(--purple);margin-top:3px}.checkline b{font-size:12px;display:block}.checkline small{font-size:11px;line-height:1.6;color:#a1a6b8;display:block;margin-top:5px}.parent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.parentspan{grid-column:span 2}.lesson-map{display:flex;gap:14px;align-items:center;padding:13px 0;border-bottom:1px solid #eff0f6}.lesson-map:last-child{border-bottom:0}.lesson-map>span{font-size:29px}.lesson-map strong{font-size:12px}.lesson-map small{color:#a2a5b4;font-size:11px;display:block;margin-top:4px}.lesson-map button{margin-left:auto}.parent-hint{font-size:12px;color:#999eb3;line-height:1.6}.row-between{display:flex;justify-content:space-between;align-items:center;gap:12px}.toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,110px);background:#272545;color:#fff;border-radius:13px;padding:13px 20px;box-shadow:0 18px 50px #0003;z-index:60;font-size:13px;font-weight:800;opacity:0;transition:opacity .25s,transform .25s;max-width:90vw}.toast.show{opacity:1;transform:translate(-50%,0)}.dialog-layer{position:fixed;inset:0;background:#19182c85;display:grid;place-items:center;padding:20px;z-index:50;backdrop-filter:blur(6px)}.dialog-layer[hidden]{display:none}.dialog{width:min(100%,570px);max-height:88vh;overflow:auto;padding:28px;border-radius:21px;background:#fff;box-shadow:0 25px 85px #11112535}.dialog h2{margin:3px 0 12px;font-size:24px;letter-spacing:-.045em}.dialog-close{border:0;background:#f3f3fa;font-size:21px;border-radius:50%;width:32px;height:32px}.tiny{font-size:10px}.danger-line{border:1px solid #fad7dc;border-radius:15px;background:#fff8f8;padding:16px}.warning{color:#ad455c}.study-steps{display:flex;gap:8px;flex-wrap:wrap}.step-pill{padding:8px 12px;border-radius:30px;background:#eeeff6;color:#9a9fb4;font-size:11px;font-weight:900}.step-pill.active{background:#ebe9ff;color:var(--purple)}.step-pill.done{background:#e6f9ef;color:#3caf83}.inline-result{font-size:12px;color:#858ba2;margin-top:10px}.empty-state{border:1px dashed #d8dbef;border-radius:20px;padding:45px 25px;text-align:center;color:#9699b2;background:#fff}.empty-state .big{font-size:55px;display:block;margin-bottom:8px}.empty-state h3{color:#292c4f;margin:4px}.divider{height:1px;background:#f0f1f6;margin:22px 0}.book-tag{display:inline-flex;border:1px solid #e7e6f8;background:#fff;border-radius:40px;padding:9px 13px;color:#8a86b7;font-size:11px;font-weight:800}.hidden{display:none!important}@media(min-width:1600px){.lessons-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1300px){.lessons-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-orb{right:-5px}.hero{padding:30px}}@media(max-width:1100px){.sidebar{width:215px}.app-area{width:calc(100% - 215px)}.lessons-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-art{min-width:160px}.hero-orb{width:180px;height:180px}.orb-bubble{font-size:75px}.parent-grid{grid-template-columns:1fr}.parentspan{grid-column:span 1}.talk-layout{grid-template-columns:1fr}.talk-aside{display:none}.top-pill{display:none}}@media(max-width:790px){.sidebar{transform:translateX(-100%);position:fixed;width:258px;transition:transform .25s;box-shadow:0 0 70px #30304a20}.sidebar.mobile-open{transform:translateX(0)}.app-area{width:100%}.mobile-toggle{display:inline-block;background:#fff;border:1px solid #e7e8f0;border-radius:8px;padding:6px 10px;margin-right:10px;color:#595476}.topbar{height:67px;padding:0 20px}.topbar-right .small-link{display:none}.topbar-title{font-size:11px}main{padding:24px 20px 65px}.footer{padding:16px 20px;flex-wrap:wrap}.intro-head{align-items:flex-start;flex-direction:column}.hero{min-height:210px}.hero-art{min-width:130px;opacity:.73}.hero-orb{width:165px;height:165px;top:5px;right:-35px}.hero h2{font-size:28px}.hero-copy{max-width:70%}.metric-row{gap:10px}.metric{padding:14px;gap:9px}.metric-icon{height:39px;width:39px;font-size:19px}.metric strong{font-size:19px}.metric span{font-size:10px}.review-shell,.panel-grid{grid-template-columns:1fr}}@media(max-width:550px){.hero{padding:24px 21px}.hero-copy{max-width:100%}.hero-art{position:absolute;right:-35px;top:60px;opacity:.19;pointer-events:none}.hero p{max-width:300px}.metric-row{grid-template-columns:repeat(3,minmax(0,1fr))}.metric{display:block;text-align:center;padding:13px 4px}.metric-icon{margin:0 auto 9px}.metric strong{font-size:20px}.metric span{font-size:9px}.lessons-grid{grid-template-columns:1fr 1fr;gap:11px}.lesson-card{min-height:241px}.lesson-info{padding:12px}.lesson-info h3{font-size:14px}.lesson-info p{font-size:10px}.lesson-visual{height:102px}.profile-switch{width:100%}.profile-button{flex:1;justify-content:center;padding:10px 9px}.study-panel{padding:22px 14px}.choice-grid{gap:8px}.choice{min-height:62px;font-size:13px;padding:8px}.flashcard{min-height:205px}.stage-title{font-size:22px}.review-banner{display:block}.review-banner-emoji{font-size:55px}.book-tag{font-size:9px}.talk-header{padding:16px}.talk-messages{padding:16px}.intro-head h1{font-size:29px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* v2: bezpłatny lokalny tutor */
.talk-unit{margin:9px 0 10px;width:100%;border:1px solid #e3e2f3;border-radius:11px;padding:12px;background:#fff;color:#292c4f;font-weight:700;min-height:42px}
.talk-chip-row{flex-wrap:wrap;gap:10px}.talk-chip-row .prompt-chip{width:auto;flex:1 1 130px;margin:0;text-align:center;justify-content:center}
.talk-question{white-space:normal;line-height:1.7}.question-count{display:block;font-size:10px;font-weight:800;color:#776ce8;letter-spacing:.1em;margin-bottom:7px}
.talk-question .speaker-btn{margin-top:12px;margin-right:7px}.hint-btn{padding:9px 12px;font-size:12px}.inline-hint{background:#f4f3ff;color:#7069a9;padding:9px 12px;border-radius:12px;margin-top:9px;font-size:12px}
.talk-feedback{font-size:13px;max-width:350px;line-height:1.5}.talk-feedback b{display:block;margin-top:4px}.talk-feedback.is-correct{color:#247e5e}.talk-feedback.is-wrong{color:#a35d48}
.dialogue-result{display:flex;gap:12px;flex-wrap:wrap;align-items:center;font-size:14px;font-weight:700}.talk-intro-actions{justify-content:center}
.free-facts{display:grid;gap:10px;border:1px solid #e6f3ed;background:#f7fcf9;padding:17px;border-radius:12px;font-size:13px;color:#277857;font-weight:700;margin-bottom:15px}
.small-print{line-height:1.6}

/* Wersja rodzinna: dwa niezależne, autorskie światy. */
:root[data-grade="1"]{--purple:#9c44cb;--purple-dark:#732bab;--lavender:#f7e9ff;--green:#f18ca9}
:root[data-grade="4"]{--purple:#175bd6;--purple-dark:#163c94;--lavender:#e6f0ff;--green:#39c69c}
:root[data-grade="1"] body{background:linear-gradient(165deg,#fffcff 0%,#fdf5ff 80%)}
:root[data-grade="4"] body{background:linear-gradient(165deg,#f7faff 0%,#f6f9fe 80%)}
:root[data-grade="1"] .nav-link.active{background:#f8e7ff;color:#9c44cb}
:root[data-grade="4"] .nav-link.active{background:#e8f1ff;color:#175bd6}
:root[data-grade="4"] .profile-button.active{background:#175bd6}
:root[data-grade="1"] .profile-button.active{background:#9c44cb}
.hero{min-height:315px;padding:40px 44px;isolation:isolate}
.hero.hero-filip{background-image:linear-gradient(90deg,rgba(4,23,59,.97) 0%,rgba(5,33,74,.88) 39%,rgba(7,40,85,.05) 100%),url('/images/filip-stadium.webp');background-size:cover;background-position:center 27%;box-shadow:0 22px 40px #0c418b24}
.hero.hero-amelia{background:linear-gradient(112deg,#7236ac 0%,#af63d9 59%,#f6a6d7 100%);box-shadow:0 22px 40px #a655c622}
.hero-amelia:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 66% 13%,#ffd1f984,transparent 36%),radial-gradient(circle at 94% 93%,#ffdbeecc,transparent 44%);z-index:-1}
.hero-copy{max-width:66%;position:relative;z-index:2}
.hero.hero-filip .hero-copy{max-width:58%}
.hero h2{font-size:clamp(28px,3.4vw,42px);max-width:540px;text-wrap:balance}
.hero p{max-width:480px;color:#f9ecff;font-size:14px}
.hero-filip p{color:#e4f5ff}
.hero-portrait{position:absolute;right:7.5%;bottom:-33px;height:310px;width:285px;border:7px solid #ffffff7b;background:url('/images/amelia-music.webp') center 36% / cover no-repeat;border-radius:48% 48% 15% 15%;box-shadow:0 25px 65px #54115d6a;transform:rotate(5deg);z-index:1}
.hero-note{position:absolute;font-size:36px;color:#ffe7ff;text-shadow:0 7px 25px #74187b70;pointer-events:none}
.hero-note.note-1{right:37%;top:12%}.hero-note.note-2{right:3%;top:13%}.hero-note.note-3{right:34%;bottom:8%}
.lesson-visual{height:130px}
.lesson-sport-tag{position:absolute;bottom:8px;left:12px;padding:4px 9px;border-radius:20px;background:#ffffffa8;color:#503b79;font-weight:950;letter-spacing:.08em;font-size:8px;filter:none!important}
.mission-teaser{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid #e7e7f1;padding:20px 25px;border-radius:22px;margin:0 0 22px;box-shadow:0 10px 22px #27234f0b}
.mission-icon{font-size:41px;line-height:1;flex-shrink:0}
.mission-teaser-text{flex:1;min-width:0}.mission-kicker{font-weight:950;font-size:9px;letter-spacing:.11em;color:var(--purple)}
.mission-teaser h3{margin:5px 0 3px;font-size:17px;letter-spacing:-.03em}.mission-teaser p{color:#8991a7;font-size:11px;line-height:1.55;margin:0}
.challenge-cta{border:0;border-radius:12px;background:var(--purple);color:#fff;white-space:nowrap;padding:12px 19px;font-size:11px;font-weight:900}
.mission-home,.mission-result,.mission-play{border-radius:27px;padding:35px;text-align:center;border:1px solid #e7e9f2;box-shadow:var(--shadow);background:#fff}
.mission-home h2,.mission-result h2{font-size:clamp(23px,3vw,36px);margin:14px auto 8px;letter-spacing:-.045em}
.mission-home p,.mission-result p{margin:6px auto 22px;max-width:510px;color:#6f7794;font-size:14px;line-height:1.6}
.mission-home-music{background:radial-gradient(circle at 5% 10%,#f2d5ff 0%,transparent 36%),radial-gradient(circle at 94% 86%,#ffdef0 0%,transparent 40%),#fff}
.mission-home-stadium{background:radial-gradient(circle at 5% 10%,#d8ecff 0%,transparent 42%),radial-gradient(circle at 94% 86%,#d6f6e5 0%,transparent 36%),#fff}
.mission-icon-large{font-size:80px;line-height:1.5;letter-spacing:.04em}.mission-facts{display:flex;justify-content:center;gap:15px;flex-wrap:wrap;margin:20px auto 24px;font-weight:800;font-size:12px;color:#5b6180}
.mission-play{min-height:380px;padding:28px}.mission-play-head{display:flex;align-items:center;justify-content:space-between;color:var(--purple);font-size:11px;letter-spacing:.06em;font-weight:900}.mission-track{height:8px;background:#edf0f7;border-radius:30px;overflow:hidden;margin:16px 0 18px}.mission-track>span{display:block;background:linear-gradient(90deg,var(--purple),#46c99b);height:100%;border-radius:30px;transition:width .25s ease}.mission-symbol{font-size:65px;margin:17px 0}.mission-question-kicker{font-weight:900;font-size:11px;letter-spacing:.12em;color:#9ba1b5}.mission-question{font-size:clamp(23px,3.5vw,37px);margin:7px auto 23px;letter-spacing:-.05em}.mission-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:550px;margin:auto}.mission-choice{background:#f6f7fc;color:#272f55;border:2px solid #e7eaf5;border-radius:16px;min-height:68px;padding:14px;font-weight:900}.mission-choice:hover:not(:disabled){border-color:var(--purple)}.mission-choice.is-right{background:#ddf8e9;border-color:#43c492;color:#207e5c}.mission-choice.is-wrong{background:#fff0f2;border-color:#e87194;color:#a83e5b}.mission-feedback{min-height:32px;margin:23px auto 9px;font-weight:900;color:#5d6882;font-size:13px}.mission-play-music{background:linear-gradient(145deg,#fff 0%,#fdf4ff 100%)}.mission-play-stadium{background:linear-gradient(145deg,#fff 0%,#f0f8ff 100%)}.mission-complete-emoji{font-size:95px}.mission-score{font-size:48px;font-weight:1000;color:var(--purple)}
@media(max-width:1200px){.hero-portrait{right:3%;height:262px;width:235px}.hero.hero-filip{background-position:58% 27%}}
@media(max-width:790px){.hero{min-height:280px;padding:30px}.hero-portrait{width:205px;height:240px;right:1%;bottom:-25px}.hero-copy,.hero.hero-filip .hero-copy{max-width:72%}.mission-teaser{flex-wrap:wrap}.challenge-cta{margin-left:56px}}
@media(max-width:550px){.hero{min-height:310px;padding:24px}.hero.hero-filip{background-image:linear-gradient(90deg,rgba(4,23,59,.94) 0%,rgba(4,24,53,.82) 72%,rgba(9,45,82,.68) 100%),url('/images/filip-stadium.webp');background-position:61% 26%}.hero h2{font-size:29px}.hero-copy,.hero.hero-filip .hero-copy{max-width:100%}.hero-amelia .hero-copy{max-width:100%}.hero-portrait{width:110px;height:125px;right:-3%;bottom:-16px;border-width:4px;opacity:.35}.hero-note{opacity:.45}.hero p{max-width:275px;font-size:12px}.hero-badge{font-size:8px;letter-spacing:.03em}.mission-teaser{display:flex;align-items:flex-start;padding:16px;gap:9px}.mission-icon{font-size:30px}.mission-teaser-text{flex-basis:75%}.challenge-cta{margin:5px 0 0 40px}.mission-home,.mission-result,.mission-play{padding:20px 14px}.mission-choices{gap:8px}.mission-choice{min-height:64px;font-size:13px}.mission-icon-large{font-size:48px}.mission-facts{gap:8px;font-size:10px}}

.club-ribbon{display:flex;align-items:center;gap:20px;margin:-3px 0 20px;padding:14px 20px;border:1px solid #e5eaf4;border-radius:18px;background:rgba(255,255,255,.86);box-shadow:var(--shadow)}.club-ribbon-title{display:grid;gap:4px;min-width:200px}.club-ribbon-title b{font-size:12px}.club-ribbon-title small{font-size:9px;color:#a2a5b8}.club-options{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;flex:1}.club-option{display:flex;align-items:center;gap:5px;padding:7px 11px;border:1px solid #e8ecf4;border-radius:30px;background:#f8f9fd;font-size:10px;font-weight:900;color:#617084;white-space:nowrap}.club-option span{font-size:8px}.club-option.selected{background:#e6efff;color:#175bd6;border-color:#aac8ff;box-shadow:0 2px 8px #3450ac1a}.club-option:hover{border-color:var(--purple)}
@media(max-width:1200px){.club-ribbon{flex-wrap:wrap;gap:10px}.club-ribbon-title{min-width:100%}.club-options{justify-content:flex-start}}
@media(max-width:550px){.club-ribbon{padding:12px}.club-option{font-size:9px;padding:6px 8px}}
