:root{--j-ink:#23374c;--j-muted:#627084;--j-paper:#fffdf8;--j-sun:#ffda65;--j-sun-deep:#edbd37;--j-line:#e9e6df;--j-rose:#ffe5ec;--j-sky:#e3efff;--j-lilac:#eee7ff;--j-peach:#ffe8d5;--j-white:#fff;--j-focus:#4d5680;--j-shadow:0 14px 46px #6a522614}
body{background:var(--j-paper);color:var(--j-ink);font-family:'Onest','Manrope',sans-serif}
.app-shell{background:var(--j-paper)}.side-rail{background:var(--j-white);border-right:1px solid var(--j-line)}.side-brand .brand-wordmark{font-size:22px}.rail-links .rail-link{border-radius:15px}.rail-link.active{background:var(--j-sun);color:var(--j-ink)}
.primary{background:var(--j-sun);color:var(--j-ink);border-color:var(--j-sun);border-radius:999px;font-weight:750;box-shadow:none}.primary:hover{background:var(--j-sun-deep)}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--j-focus);outline-offset:4px}
.topbar{min-height:80px;gap:12px;flex-wrap:wrap;border:0;background:var(--j-paper);padding-block:15px}.mobile-brand{display:none}.top-right{margin-left:auto;flex-wrap:wrap;justify-content:flex-end}.top-right .account-button{font-size:12px;min-height:40px;padding:10px 16px}.connection-state{font-size:10px;max-width:140px}.feedback-open{font-size:11px!important;min-height:36px!important;padding:7px 11px!important}.feedback-open .utility-icon{width:15px!important;height:15px!important}
#home>.hero,#home>#start-panel,#home>.welcome-benefits,#home>.home-companion,#companion,.has-learner #home>.welcome-stage,.is-guest #home>.coach-home,.is-guest #home>.content-grid,.is-guest #home>#learning-start-result,.has-learner .welcome-login{display:none!important}
.tutor-voice-control{display:none!important}.main-area{min-width:0}.welcome-stage{position:relative;display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:24px;padding:52px 34px 80px;min-height:570px;border-radius:32px;background:var(--j-white);border:1px solid var(--j-line);overflow:hidden}
.journey-kicker{display:block;font-size:10px;font-weight:800;letter-spacing:.15em;color:var(--j-muted);margin-bottom:16px}.welcome-copy{position:relative;z-index:2}.welcome-copy h1{font-size:clamp(42px,4.7vw,70px);line-height:1.07;letter-spacing:-.055em;margin:0 0 22px;font-weight:750;color:var(--j-ink)}.welcome-copy h1 em{font-style:normal;position:relative;color:var(--j-ink);background:linear-gradient(transparent 60%,var(--j-sun) 60%)}.welcome-copy>p{font-size:17px;line-height:1.6;max-width:330px;color:var(--j-muted)}.welcome-copy>.primary{margin-top:26px;min-height:55px;padding:16px 28px;font-size:15px}.welcome-copy>small{display:block;font-size:11px;margin-top:10px;color:var(--j-muted)}.welcome-login{display:block;background:none;border:0;font-size:12px;text-decoration:underline;text-underline-offset:4px;margin-top:18px;color:var(--j-ink);padding:4px 0}
.magic-offer{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:22px;max-width:330px}.magic-offer>span:first-child{font-size:27px;color:var(--j-sun-deep)}.magic-offer strong{font-size:18px}.magic-offer>span:last-child{width:100%;font-size:12px;color:var(--j-muted);padding-left:30px}.welcome-cast{height:360px;position:relative;isolation:isolate}.cast-card{position:absolute;width:60%;height:280px;border-radius:29px;overflow:hidden;box-shadow:var(--j-shadow);border:5px solid var(--j-white);background:var(--j-peach)}.cast-card img{width:100%;height:100%;object-fit:cover;object-position:top}.cast-0{left:0;top:15px;transform:rotate(-9deg);z-index:2}.cast-1{right:-4%;top:92px;transform:rotate(9deg);z-index:3}.cast-2{right:1%;top:-27px;width:43%;height:190px;transform:rotate(7deg);z-index:1}.cast-name{position:absolute;bottom:12px;left:14px;background:var(--j-white);padding:5px 14px;border-radius:30px;font-size:13px;font-weight:750}.welcome-note{position:absolute;bottom:22px;left:34px;right:34px;display:flex;align-items:center;gap:9px;font-size:12px;color:var(--j-muted);border-top:1px solid var(--j-line);padding-top:18px}.welcome-note>span{color:var(--j-sun-deep);font-size:21px}
.journey-view{max-width:840px;margin:12px auto 70px;padding:30px 36px 34px;border:1px solid var(--j-line);border-radius:28px;background:var(--j-white);box-shadow:var(--j-shadow)}.journey-view.active{display:block}.journey-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--j-muted);gap:14px}.journey-top button{background:none;border:0;padding:7px;color:var(--j-ink);font:inherit}.journey-track{height:5px;background:var(--j-line);border-radius:9px;margin:22px 0 32px;overflow:hidden}.journey-track span{height:100%;display:block;background:var(--j-sun);transition:width .2s}.journey-heading h1{font-size:clamp(29px,4vw,43px);font-weight:750;letter-spacing:-.04em;line-height:1.13;margin:0 0 14px;color:var(--j-ink)}.journey-heading>p{color:var(--j-muted);font-size:14px;line-height:1.6;margin:0 0 28px}.journey-kicker:empty{display:none}.journey-options{display:grid;gap:11px}.kind-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.journey-option{display:flex;align-items:center;gap:14px;text-align:left;background:var(--j-paper);border:2px solid var(--j-line);border-radius:19px;padding:18px;color:var(--j-ink);width:100%;min-height:82px}.journey-option strong{display:block;font-size:16px;margin-bottom:5px}.journey-option small{display:block;line-height:1.4;font-size:12px;color:var(--j-muted)}.journey-option.selected{border-color:var(--j-sun-deep);background:var(--j-paper)}.option-check{margin-left:auto;color:var(--j-ink);font-weight:750}.option-icon{font-size:26px;min-width:32px}.journey-fields{display:grid;grid-template-columns:1.4fr 1fr;gap:18px;margin:24px 0}.journey-fields label{font-size:13px;color:var(--j-ink)}.journey-fields input{display:block;box-sizing:border-box;width:100%;min-height:48px;margin-top:8px;padding:12px 14px;font:inherit;border:1px solid var(--j-line);border-radius:12px;background:var(--j-white);color:var(--j-ink)}.journey-view .check-row{font-size:12px;color:var(--j-muted);align-items:flex-start;line-height:1.6}.journey-view .check-row input{margin-top:4px;accent-color:var(--j-sun-deep)}.journey-footer{margin-top:24px;text-align:center}.journey-footer .primary{width:100%;min-height:52px;font-size:14px}.journey-footer small{display:block;font-size:11px;line-height:1.5;color:var(--j-muted);margin-top:13px}#journey-error{color:#9b342d;font-size:13px;line-height:1.5}
.tutor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.tutor-card{position:relative;padding:0;overflow:hidden;min-width:0;border:3px solid transparent;border-radius:22px;text-align:left;background:var(--j-paper);color:var(--j-ink);transition:transform .15s,border-color .15s}.tutor-card:hover{transform:translateY(-3px)}.tutor-card.selected{border-color:var(--j-sun-deep)}.tutor-card>img,.tutor-card>video{display:block;width:100%;height:auto;aspect-ratio:4/4.4;object-fit:cover;object-position:top}.tutor-card-copy{padding:11px 12px 13px;background:var(--j-white)}.tutor-card-copy strong{display:block;font-size:17px}.tutor-card-copy small{display:block;font-size:10px;margin-top:4px;line-height:1.4;color:var(--j-muted)}.tutor-selected{position:absolute;top:9px;right:9px;background:var(--j-sun);border-radius:50%;width:25px;height:25px;display:grid;place-items:center;font-weight:800}.tutor-selected:empty{display:none}.journey-summary{display:grid;grid-template-columns:42% 1fr;gap:24px;align-items:center;border-radius:22px;background:var(--j-paper);overflow:hidden}.journey-summary>img{width:100%;height:300px;object-fit:cover;object-position:top}.journey-summary>div{padding:18px 24px 18px 0}.journey-summary h2{font-size:25px;margin:8px 0 14px;color:var(--j-ink)}.journey-summary p{font-size:14px;line-height:1.6;color:var(--j-muted)}.journey-summary small{font-size:11px;line-height:1.5;color:var(--j-muted)}
.coach-home{display:grid;grid-template-columns:32% 1fr;background:var(--j-white);border:1px solid var(--j-line);border-radius:28px;overflow:hidden;min-height:280px;gap:30px;align-items:center;margin-bottom:30px}.coach-portrait{align-self:stretch;background:var(--j-peach)}.coach-portrait img{display:block;width:100%;height:100%;max-height:340px;object-fit:cover;object-position:top}.coach-copy{padding:25px 28px 25px 0}.coach-copy h2{font-size:35px;letter-spacing:-.04em;margin:6px 0 14px;color:var(--j-ink)}.coach-copy p{color:var(--j-muted);font-size:15px;line-height:1.65;max-width:430px}.coach-copy .primary{min-height:48px;padding:13px 23px;margin-top:5px}.coach-change{display:block;margin-top:14px;border:0;background:none;color:var(--j-muted);font-size:11px;text-decoration:underline;text-underline-offset:4px}.has-learner #home>.content-grid{margin-top:20px}.has-learner #home .section-heading{margin-top:10px}.has-learner .daily-card{background:var(--j-white);border:1px solid var(--j-line)}.has-learner .daily-icon{background:var(--j-sun);color:var(--j-ink)}.has-learner #home>#learning-start-result{font-size:12px}.profile-card{border-radius:20px}.profile-card.selected{border-color:var(--j-sun-deep)}.profile-avatar{background:var(--j-sun);color:var(--j-ink)}.lesson-neo{display:flex;align-items:center;gap:15px;background:var(--j-paper)}.lesson-tutor-portrait{flex:0 0 82px;align-self:flex-start}.lesson-tutor-portrait img{display:block;width:82px;height:100px;border-radius:18px;object-fit:cover;object-position:top}.lesson-spark{display:none}
@media(max-width:1050px){.side-rail{width:190px}.main-area{padding-inline:22px}.welcome-stage{padding-inline:26px;gap:12px}.welcome-copy h1{font-size:50px}.cast-card{height:240px}.cast-2{height:170px}.top-right{gap:7px}}
@media(max-width:760px){.side-rail{display:none}.main-area{padding:0 16px 90px!important;width:100%;box-sizing:border-box}.topbar{padding:13px 0;min-height:64px;gap:9px}.top-right{margin:0;width:100%;justify-content:flex-end;gap:6px}.top-right .account-button{padding:9px 12px;font-size:10px;min-height:36px}.connection-state{order:9;width:100%;max-width:none;text-align:right;font-size:9px}.feedback-open{margin-left:auto}.profile-chip{font-size:11px!important}.welcome-stage{display:flex;flex-direction:column-reverse;gap:0;border:0;background:none;padding:10px 4px 65px;min-height:0;border-radius:0;overflow:visible}.welcome-cast{height:220px;width:100%;max-width:360px;margin:6px auto 22px}.cast-card{height:195px;width:46%;border-width:4px;border-radius:22px}.cast-0{left:8%;top:4px;transform:rotate(-8deg)}.cast-1{right:7%;top:23px;transform:rotate(8deg)}.cast-2{right:3%;top:0;width:32%;height:135px;display:none}.cast-name{font-size:11px;padding:4px 11px;bottom:9px;left:9px}.welcome-copy{text-align:center;width:100%}.welcome-copy .journey-kicker{font-size:8px;letter-spacing:.12em;margin-bottom:14px}.welcome-copy h1{font-size:47px;line-height:1.04;margin:0 0 16px}.welcome-copy>p{font-size:14px;margin:0 auto;max-width:290px;line-height:1.5}.magic-offer{justify-content:center;margin:16px auto 0;gap:5px}.magic-offer strong{font-size:17px}.magic-offer>span:last-child{padding:0;font-size:10px}.welcome-copy>.primary{width:100%;max-width:350px;font-size:14px;margin-top:20px;min-height:51px}.welcome-copy>small{font-size:10px}.welcome-login{margin:16px auto 0;font-size:11px}.welcome-note{bottom:5px;left:0;right:0;justify-content:center;font-size:10px;padding-top:14px}.journey-view{margin:6px auto 30px;padding:22px 16px;border-radius:23px}.journey-track{margin:18px 0 26px}.journey-heading h1{font-size:30px}.journey-heading>p{font-size:12px;margin-bottom:22px}.kind-options{gap:9px}.kind-options .journey-option{padding:14px 11px;gap:7px;min-height:98px;flex-wrap:wrap}.kind-options .option-icon{font-size:22px}.kind-options .journey-option strong{font-size:14px}.kind-options .journey-option small{font-size:10px}.kind-options .option-check{display:none}.journey-fields{gap:12px;grid-template-columns:1.2fr 1fr}.journey-fields label{font-size:11px}.journey-option{padding:16px 12px;gap:10px}.journey-option strong{font-size:14px}.journey-option small{font-size:11px}.tutor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tutor-card{border-radius:18px}.tutor-card-copy{padding:9px}.tutor-card-copy strong{font-size:15px}.tutor-card-copy small{font-size:9px;min-height:25px}.journey-summary{grid-template-columns:1fr;gap:0}.journey-summary>img{height:220px;width:100%;object-fit:contain;background:var(--j-peach)}.journey-summary>div{padding:20px}.journey-summary h2{font-size:25px}.journey-summary p{font-size:13px}.journey-footer small{font-size:10px}.coach-home{grid-template-columns:35% 1fr;gap:15px;min-height:220px;margin-bottom:20px;border-radius:22px}.coach-portrait img{max-height:280px}.coach-copy{padding:18px 12px 18px 0}.coach-copy .journey-kicker{font-size:8px;letter-spacing:.08em;margin-bottom:8px}.coach-copy h2{font-size:26px;margin-bottom:10px}.coach-copy p{font-size:11px;line-height:1.6}.coach-copy .primary{font-size:11px;min-height:41px;padding:10px 14px}.coach-change{font-size:10px;line-height:1.5}.lesson-tutor-portrait{flex-basis:62px}.lesson-tutor-portrait img{width:62px;height:80px}.lesson-neo{gap:12px}.has-learner .welcome-stage{display:none}.journey-view.active~.view.active{display:none}}
@media(prefers-reduced-motion:reduce){.journey-track span,.tutor-card{transition:none}.tutor-card:hover{transform:none}}

/* Bright, compact character-led learning flow. */
:root{--j-ink:#292044;--j-muted:#6c6381;--j-paper:#f5f2ff;--j-sun:#e4ff49;--j-sun-deep:#d1f52b;--j-line:#e7def7;--j-focus:#8046ed;--j-shadow:0 12px 32px #7043ad16}
.primary{background:var(--j-sun);color:#292044;border-color:var(--j-sun);box-shadow:0 5px 0 #b9d12d;transition:transform .15s,box-shadow .15s}.primary:hover{background:#eaff72;transform:translateY(-1px)}.primary:active{transform:translateY(3px);box-shadow:0 2px 0 #b9d12d}.primary:disabled{transform:none;box-shadow:none}
.welcome-stage{background:linear-gradient(130deg,#f3e8ff,#fff 57%,#efffc7);border:0}.welcome-copy h1 em{color:#8046ed;background:none}.welcome-copy>p{font-size:16px;line-height:1.4}.welcome-note{display:none}.magic-offer{background:#fff2a7;border-radius:20px;padding:13px 16px;max-width:310px}.magic-offer>span:first-child{color:#ad7100}.magic-offer>span:last-child{display:none}.magic-offer strong{font-size:18px;color:#5e460e}.cast-name{background:#e4ff49;color:#292044}.cast-card{box-shadow:0 12px 0 #9b69e42b;border-color:#fff}
.journey-view{border:0;box-shadow:0 14px 45px #7043ad12}.journey-track{background:#eee6ff}.journey-track span{background:#9b59f4}.journey-heading h1{letter-spacing:-.04em;color:#38234f}.journey-kicker{color:#8a51cc}.journey-option.selected{background:#f2e7ff;border-color:#9959f0;box-shadow:0 0 0 1px #9959f0}.option-icon{background:#e4ff49;color:#452865}.option-check{color:#8046ed}.tutor-card{background:#fff;border:2px solid transparent;box-shadow:0 5px 0 #e6dff0}.tutor-card.selected{border-color:#9454ef;box-shadow:0 0 0 2px #9454ef}.tutor-selected{background:#e4ff49;color:#392452}.tutor-card-copy strong{color:#392452}.tutor-card-copy small{font-size:11px}.journey-footer small{display:none}.journey-footer{margin-top:24px}.journey-summary{background:#f5edff}
.coach-home{background:#fff;border:0;box-shadow:0 8px 0 #e6def4}.coach-portrait{background:#e9daff}.coach-copy h2{color:#61309b}.coach-change{color:#7642b0}.daily-card{border:0;box-shadow:0 6px 0 #e6def4}.daily-card>button{background:#a061ef;color:#fff}.daily-icon{background:#e4ff49;color:#38234f}.day-chip{background:#ece0ff;color:#61309b}.rail-link.active,.bottom-nav button.active{color:#7235bc}.lesson-tutor-portrait img{border:2px solid #b88aed}.lesson-neo{background:#f0e6ff;border-color:#e1cafa}
@media(max-width:760px){.welcome-stage{padding-bottom:24px;background:transparent}.welcome-cast{height:240px;margin-bottom:20px}.cast-card{height:220px}.welcome-copy h1{font-size:48px}.welcome-copy>p{font-size:14px}.magic-offer{display:inline-flex;margin-top:18px;padding:12px 16px}.welcome-copy>.primary{font-size:15px;min-height:54px}.journey-heading h1{font-size:31px}.journey-heading>p{margin-bottom:20px}.journey-kicker{margin-bottom:10px}.tutor-card-copy small{font-size:10px}.coach-home{margin-top:8px}.coach-copy h2{font-size:27px}.coach-copy p{font-size:12px}.coach-copy .primary{font-size:12px}}

/* Playful phone-call stage, shared by the welcome and learning screens. */
body,button,input,select,textarea{font-family:'Onest',sans-serif}h1,h2,h3,.page-head h1,.lesson-header h1,.question-card h2,.greeting-title{font-family:'Onest',sans-serif!important;letter-spacing:-.035em;font-weight:800}h1 em,h2 em,h3 em{font-family:inherit!important;font-style:normal!important;color:inherit!important}button{touch-action:manipulation}
.primary{border-radius:20px;min-height:54px;font-size:16px;font-weight:800;box-shadow:0 6px 0 #b7cd28}.outline{border-radius:18px;border:2px solid #dfd3f3;background:#fff;color:#593b7e;font-weight:700;box-shadow:0 4px 0 #e7dff1}.outline:hover{background:#f6efff}.text-link{font-family:'Onest',sans-serif}
.game-welcome{grid-template-columns:1fr 1fr;padding:38px 48px;gap:56px;max-width:1080px;margin:0 auto;background:none;overflow:visible;min-height:580px}.welcome-call{display:flex;justify-content:center;align-items:center}.welcome-copy h1{font-size:62px;line-height:1.02;letter-spacing:-.065em}.welcome-copy .journey-kicker{letter-spacing:.08em;font-size:10px}.welcome-tutors{display:flex;gap:12px;margin:22px 0 14px}.welcome-tutor{display:grid;justify-items:center;gap:6px;background:none;border:0;padding:0;color:#6b5a7e;font-size:11px;font-weight:750}.welcome-tutor img{width:58px;height:58px;border-radius:50%;object-fit:cover;object-position:top;border:3px solid #fff;box-shadow:0 3px 0 #dfd3ec}.welcome-tutor.selected img{border-color:#a471ed;box-shadow:0 0 0 3px #e3cdff}.welcome-tutor.selected{color:#713caf}.welcome-copy #welcome-all{font-size:12px;padding:0;color:#834db8}.welcome-copy .magic-offer{background:none;border:0;padding:0;gap:7px;max-width:none;margin-top:24px}.welcome-copy .magic-offer strong{font-size:17px;color:#6f4597}.magic-offer>span:first-child{color:#b87d00}.welcome-copy>.primary{display:block;min-width:270px;margin-top:20px}.welcome-login{margin-top:20px;text-decoration:none;font-weight:700;color:#795995}
.tutor-phone{position:relative;width:300px;max-width:100%;height:430px;border:7px solid #493363;border-radius:42px;overflow:hidden;background:#ddc5ff;box-shadow:12px 14px 0 #dbc8f1}.phone-top{position:absolute;top:15px;left:18px;right:18px;z-index:3;display:flex;align-items:center;gap:7px;font-size:14px;color:#382343}.phone-top small{margin-left:auto;font-size:9px;font-weight:600;opacity:.7}.phone-dot{width:7px;height:7px;border-radius:50%;background:#91d746}.phone-camera{position:absolute;top:9px;left:calc(50% - 26px);width:52px;height:5px;border-radius:5px;background:#493363;z-index:4}.phone-photo{position:absolute;inset:0;background:linear-gradient(135deg,#dec5ff,#fff2c9)}.phone-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 20%;animation:teacher-idle 6s ease-in-out infinite}.phone-caption{position:absolute;left:14px;right:14px;bottom:22px;background:#fff;border-radius:23px 23px 23px 7px;padding:17px 16px;box-shadow:0 5px 0 #ad86ce33;color:#49335b;font-size:17px;line-height:1.25;font-weight:750}.phone-caption:before{content:'✦';color:#9160cb;margin-right:5px}.tutor-phone:after{content:'';position:absolute;bottom:8px;left:calc(50% - 35px);height:4px;width:70px;border-radius:5px;background:#49336366}
.journey-view{max-width:780px;padding:30px 42px 36px;border-radius:32px}.journey-heading{max-width:600px}.journey-heading h1{font-size:38px}.journey-heading>p{font-size:14px;margin-bottom:24px}.journey-kicker{display:none}.journey-option{border-radius:23px;box-shadow:0 4px 0 #e6dfee;min-height:82px}.journey-option.selected{box-shadow:0 4px 0 #ba96e5}.journey-fields input{border:2px solid #e6dcee;border-radius:17px;font-size:17px;min-height:52px}.option-check{font-size:23px}.tutor-card{border-radius:26px}.tutor-card.selected{box-shadow:0 6px 0 #b590e1}.tutor-card-copy small{display:none}.tutor-card-copy strong{font-size:20px}.journey-summary h2{font-size:32px}.journey-summary p{font-size:16px}.journey-summary small{font-size:12px}.journey-footer .primary{min-width:230px}.coach-home{border-radius:30px}.coach-portrait{position:relative;max-width:190px;margin:18px;border:5px solid #69428f;border-radius:28px;overflow:hidden;box-shadow:6px 7px 0 #e0c9f1}.coach-portrait img{height:100%;min-height:210px;max-height:280px;object-fit:cover}.coach-copy .journey-kicker{display:none}.coach-copy h2{font-size:35px}.coach-copy p{font-size:15px}.coach-copy .primary{font-size:15px;min-height:50px}.coach-change{display:block;margin-top:18px}
#lesson>.lesson-header h1,#lesson>.lesson-header .time-pill,#lesson>.demo-note{display:none}#lesson>.lesson-header{margin:14px 0 12px}#lesson .eyebrow{font-size:12px;color:#8e63b4;letter-spacing:.06em}#lesson .lesson-progress{margin:0 0 22px}#lesson .lesson-progress .bar{height:12px;background:#e4d8f2;border-radius:20px}#lesson .lesson-progress .bar span{background:#ad7aec;border-radius:20px}#lesson #lesson-step-label{font-size:12px;letter-spacing:.03em;color:#7f589e}#lesson .lesson-panel{display:grid;grid-template-columns:minmax(210px,.8fr) minmax(0,1.25fr);align-items:start;gap:28px;padding:0;background:none;border:0;box-shadow:none}#lesson .lesson-neo{position:relative;display:flex;flex-direction:column;gap:0;padding:0;border:6px solid #634583;border-radius:35px;background:#e7d3ff;overflow:hidden;box-shadow:8px 9px 0 #dfcbee;min-height:410px}#lesson .lesson-tutor-name{position:absolute;top:12px;left:15px;z-index:3;padding:5px 9px;background:#ffffffdd;border-radius:14px;color:#613f81;font-size:11px;font-weight:750}#lesson .lesson-tutor-portrait{display:block;position:absolute;inset:0}#lesson .lesson-tutor-portrait img{width:100%;height:100%;object-fit:cover;object-position:top;border:0;border-radius:0}#lesson #lesson-neo-text{position:relative;z-index:2;margin:auto 12px 18px;padding:15px;background:#fff;border-radius:20px 20px 20px 5px;box-shadow:0 4px 0 #b18cd322;font-family:'Onest',sans-serif;font-size:16px;line-height:1.4;color:#573e6c;font-weight:650}#lesson .question-card{border:0;padding:24px;border-radius:30px;background:#fff;box-shadow:0 6px 0 #e4daef}#lesson .question-card h2{font-size:28px;line-height:1.2;color:#442c5e;margin:0 0 15px}#lesson .question-card>.card-overline{display:none}#lesson #lesson-description{font-size:13px;line-height:1.45;color:#8b789c;margin:0 0 18px}#lesson .answers{gap:10px;margin-top:18px}#lesson .answers button{border:2px solid #e5d9f3;border-radius:19px;min-height:54px;background:#faf6ff;color:#523770;box-shadow:0 4px 0 #e5d9f3;font:750 16px 'Onest',sans-serif;text-align:center}#lesson .answers button:hover{border-color:#b589e6;background:#f1e6ff}#lesson .answers button.selected{background:#e6ff7a;border-color:#bfdb39;color:#35460f;box-shadow:0 4px 0 #bbcf4a}#lesson .voice-turn{padding:15px 0;background:none;border:0}#lesson .voice-turn strong{font:800 25px 'Onest',sans-serif;color:#7246a3}#lesson .voice-turn small{display:none}#lesson .voice-status{font-size:10px;color:#9b78b9;letter-spacing:.06em}#lesson .speech-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}#lesson .speech-actions button{font-size:12px;padding:12px 8px;min-height:47px}#lesson .feedback{font-size:13px;line-height:1.45}#lesson #next-step{width:100%;margin-top:16px}#lesson .recording-preview{border-radius:20px;background:#faf6ff;padding:15px}#lesson .recording-preview audio{width:100%}
.topbar .connection-state{display:block}.top-right .account-button{border-radius:17px}.bottom-nav{background:#fff}.bottom-nav button.active{background:#eee2ff;border-radius:16px;color:#7b3abe}.inner .page-head h1{font-size:42px;line-height:1.1}.inner .page-head>p{font:400 15px/1.5 'Onest',sans-serif}
@keyframes teacher-idle{0%,100%{transform:scale(1)}50%{transform:scale(1.025)}}
@media(max-width:760px){.game-welcome{display:flex;flex-direction:column;padding:14px 3px 30px;gap:27px;min-height:0}.welcome-call{width:100%}.tutor-phone{width:245px;height:310px;border-width:6px;border-radius:33px;box-shadow:8px 9px 0 #dbc8f1}.phone-top{top:13px;left:12px;right:12px;font-size:12px}.phone-top small{font-size:8px}.phone-caption{font-size:15px;padding:13px;bottom:20px}.welcome-copy h1{font-size:40px;line-height:1.03;margin-bottom:18px}.welcome-tutors{justify-content:center;gap:18px;margin:0 0 13px}.welcome-tutor img{width:51px;height:51px}.welcome-copy .magic-offer{margin:17px auto 0;justify-content:center}.welcome-copy .magic-offer strong{font-size:15px}.welcome-copy>.primary{min-width:0;margin-top:18px;min-height:54px;max-width:360px}.welcome-copy>small{font-size:11px}.welcome-login{font-size:12px;margin-top:17px}.topbar{min-height:0;margin-bottom:6px}.top-right .account-button{font-size:10px;min-height:36px;padding:9px 12px}.journey-view{padding:23px 16px 26px;border-radius:27px}.journey-heading h1{font-size:29px}.journey-heading>p{font-size:13px;margin-bottom:20px}.journey-option{min-height:78px}.journey-option small{font-size:11px}.journey-option strong{font-size:16px}.journey-footer .primary{min-width:0;width:100%}.coach-home{grid-template-columns:39% 1fr;gap:0;min-height:230px}.coach-portrait{margin:14px 12px 14px 14px;border-width:4px;border-radius:24px}.coach-portrait img{min-height:190px;max-height:none}.coach-copy{padding:22px 14px 22px 6px}.coach-copy h2{font-size:26px}.coach-copy p{font-size:12px}.coach-copy .primary{font-size:12px;min-height:46px}.coach-change{font-size:10px;margin-top:15px}.journey-summary h2{font-size:28px}.journey-summary p{font-size:14px}#lesson{padding-top:4px}#lesson>.back{font-size:11px;margin:8px 0}#lesson>.lesson-header{margin:4px 0 8px}#lesson .lesson-progress{margin-bottom:17px}#lesson .lesson-panel{display:flex;flex-direction:column;gap:18px}#lesson .lesson-neo{box-sizing:border-box;width:100%;min-height:230px;height:250px;border-radius:30px;border-width:5px;box-shadow:5px 6px 0 #dfcbee}#lesson .lesson-tutor-portrait img{object-fit:cover;object-position:50% 24%}#lesson #lesson-neo-text{max-width:85%;margin:auto 11px 13px;padding:11px 13px;font-size:14px}#lesson .lesson-tutor-name{top:9px;left:10px;font-size:10px}#lesson .question-card{box-sizing:border-box;width:100%;padding:22px 18px;border-radius:27px}#lesson .question-card h2{font-size:25px;margin-bottom:12px}#lesson #lesson-description{font-size:12px}#lesson .answers button{font-size:15px}#lesson .voice-turn strong{font-size:23px}.inner .page-head h1{font-size:32px}}
@media(prefers-reduced-motion:reduce){.phone-photo img{animation:none}.primary{transition:none}}

#account-register{display:none!important}#diagnostic .page-head{margin:18px 0}#diagnostic .page-head h1{font:800 32px/1.08 Onest,sans-serif;letter-spacing:-.04em}#diagnostic .page-head h1 br{display:none}#diagnostic .page-head h1 em:before{content:" "}#diagnostic .page-head .eyebrow{display:none}#diagnostic .page-head p{font:400 14px/1.5 Onest,sans-serif;max-width:480px}#diagnostic .question-card{background:#fff;border:0;box-shadow:0 6px 0 #e3d7ef;border-radius:28px;padding:24px}#diagnostic .question-card h2{font:800 26px/1.2 Onest,sans-serif;color:#4b2e67;letter-spacing:-.03em}#diagnostic .answers button{font:750 16px Onest,sans-serif;border:2px solid #e5d8f0;border-radius:18px;min-height:54px;box-shadow:0 4px 0 #e5d8f0;color:#633e86}#diagnostic .answers button:hover{background:#f3eaff}#diagnostic .question-card .card-overline{font-size:11px;color:#a17ebb}#diagnostic #diagnostic-instruction{font-size:12px;color:#9683a5}

/* Soft pill controls with a visible press, including installation and sign-in. */
.primary,.outline,.top-right .account-button,.feedback-open{border-radius:999px!important;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.primary{box-shadow:0 7px 0 #b7cd28,0 10px 18px #b7cd281c;background:linear-gradient(180deg,#efff83,#e0ff48);border:2px solid #e4ff49}.primary:hover{transform:translateY(-3px);box-shadow:0 10px 0 #b7cd28,0 14px 20px #b7cd2824}.primary:active{transform:translateY(5px);box-shadow:0 2px 0 #b7cd28}
.outline{box-shadow:0 5px 0 #dacbe8}.outline:hover{transform:translateY(-2px);box-shadow:0 7px 0 #dacbe8}.outline:active{transform:translateY(3px);box-shadow:0 2px 0 #dacbe8}
#account-register:not(.hidden){display:inline-flex!important;background:linear-gradient(180deg,#be98ff,#a571ee);color:#fff;border:2px solid #aa7ae9;box-shadow:0 5px 0 #7d4fb7;font-weight:800}#account-register.hidden{display:none!important}#account-register:not(.hidden):hover{box-shadow:0 7px 0 #7d4fb7}#account-register:not(.hidden):active{box-shadow:0 2px 0 #7d4fb7}
#install-app{background:linear-gradient(180deg,#fff2a2,#ffdf64);color:#624318;border:2px solid #efca62;box-shadow:0 5px 0 #c7a34c}#install-app:hover{box-shadow:0 7px 0 #c7a34c}#install-app:active{box-shadow:0 2px 0 #c7a34c}
#account-open{background:linear-gradient(180deg,#fff,#f8f1ff);color:#6e4094;border:2px solid #dcc7ef;box-shadow:0 5px 0 #c3a7db}#account-open:hover{box-shadow:0 7px 0 #c3a7db}#account-open:active{box-shadow:0 2px 0 #c3a7db}
.feedback-open{box-shadow:0 3px 0 #e2d6ec!important}.journey-option{border-radius:30px}.journey-option:hover{transform:translateY(-2px)}.journey-option:active{transform:translateY(3px);box-shadow:0 1px 0 #e6dfee}#lesson .answers button,#diagnostic .answers button{border-radius:26px;transition:transform .15s,box-shadow .15s}#lesson .answers button:hover,#diagnostic .answers button:hover{transform:translateY(-2px)}#lesson .answers button:active,#diagnostic .answers button:active{transform:translateY(3px);box-shadow:0 1px 0 #e5d9f3}.primary:disabled,.outline:disabled,.top-right button:disabled{transform:none;box-shadow:none;opacity:.6}
@media(max-width:760px){.top-right .account-button{font-size:11px;min-height:40px;padding:10px 14px}.top-right{gap:10px}.topbar{padding-bottom:16px}.primary{min-height:55px}.speech-actions .outline{min-height:48px}}
@media(prefers-reduced-motion:reduce){.primary,.outline,.top-right .account-button,.feedback-open,.journey-option,#lesson .answers button,#diagnostic .answers button{transition:none}.primary:hover,.outline:hover,.journey-option:hover,#lesson .answers button:hover,#diagnostic .answers button:hover{transform:none}}

#install-dialog{width:min(440px,calc(100vw - 28px));max-height:92dvh;border:0;border-radius:32px;padding:24px;background:#faf6ff;color:#4e3269;box-shadow:0 15px 0 #b99bda33,0 30px 80px #32154f44}#install-dialog::backdrop{background:#3722468f}#install-dialog #install-close{font-size:11px;margin:0 0 16px;padding:4px;color:#9578ac}#install-dialog .install-welcome{text-align:center}#install-dialog h2{font:800 28px/1.12 Onest,sans-serif;letter-spacing:-.035em;margin:19px 0 10px}#install-dialog .install-welcome p{font:400 13px/1.55 Onest,sans-serif;color:#947ca5;margin:0 0 20px}.install-character{display:flex;align-items:center;gap:12px;text-align:left;background:#ece0fc;border-radius:26px;padding:0 14px 0 0;overflow:hidden}.install-character img{width:116px;height:150px;object-fit:cover;object-position:top;border-radius:25px}.install-character span{font:750 17px/1.25 Onest,sans-serif;color:#7845a2}#install-dialog #install-native{width:100%;margin:0 0 16px;min-height:54px;font-size:15px}#install-details[hidden]{display:none!important}#install-details{border-top:1px solid #e7dcef;padding-top:18px;margin-top:10px}#install-dialog #install-instructions{white-space:pre-line;font:500 13px/1.65 Onest,sans-serif;color:#795a91}#install-dialog #install-link{width:100%;font-size:11px;margin:8px 0 14px;border:1px solid #decee9;border-radius:13px;padding:12px;color:#7c5a95}#install-dialog #install-copy-status{font-size:12px;line-height:1.4;color:#8762a1;margin:9px 0}#install-dialog #install-browser{font-size:12px;margin:8px auto 0;display:block;color:#88669f;padding:8px}#install-dialog label{font:650 12px Onest,sans-serif;color:#8f729f}#install-dialog .install-note{font-size:11px;line-height:1.45;border-radius:16px;padding:11px}

.language-launch{grid-column:1/-1;width:100%}.choosing-language .welcome-call,.choosing-language .welcome-copy{display:none!important}.game-welcome.choosing-language{display:block;min-height:560px;max-width:700px;padding:35px 35px 55px}.language-launch>h1{font:800 43px/1.05 Onest,sans-serif;color:#4c2d6b;letter-spacing:-.045em;margin:22px 0 13px}.language-launch>p{font:400 15px/1.5 Onest,sans-serif;color:#947ca7;margin:0 0 28px}.language-hello{display:flex;align-items:center;gap:19px}.language-hello>img{width:98px;height:98px;object-fit:cover;object-position:top;border:5px solid #fff;border-radius:50%;box-shadow:0 5px 0 #dfcaee}.language-hello>span{max-width:265px;padding:15px 18px;background:#fff;border-radius:23px 23px 23px 5px;font-size:17px;font-weight:700;line-height:1.4;color:#7d51a0}.language-choices{display:grid;grid-template-columns:1fr 1fr;gap:16px}.language-card{display:flex;align-items:center;gap:13px;padding:22px 16px;border:2px solid #e5d5f1;border-radius:28px;background:#fff;box-shadow:0 6px 0 #ddc9ed;text-align:left;transition:transform .15s,box-shadow .15s;color:#553274;min-width:0}.language-card:hover{transform:translateY(-3px);box-shadow:0 9px 0 #ddc9ed}.language-card:active{transform:translateY(4px);box-shadow:0 2px 0 #ddc9ed}.language-card.selected{border-color:#a671e1;background:#f8f0ff}.language-card img{width:57px;height:38px;border-radius:7px;flex-shrink:0}.language-card strong{display:block;font:800 18px Onest,sans-serif}.language-card small{display:block;font:500 10px/1.5 Onest,'Microsoft YaHei','PingFang SC',sans-serif;margin-top:6px;color:#a08aaf}.language-arrow{margin-left:auto;font-size:19px;color:#b38cca}.language-change{border:0;background:none;color:#9064b3;font:650 12px Onest,sans-serif;padding:0 0 12px}.summary-language{display:inline-block;background:#e7d8f7;border-radius:20px;padding:6px 12px;font:750 12px Onest,sans-serif;color:#7c4aa2}.pinyin{display:block;font:500 17px/1.5 Onest,sans-serif!important;color:#a36ab2!important;margin-top:7px}.pinyin:empty{display:none!important}.voice-turn .pinyin{display:block!important}.voice-turn .pinyin:empty{display:none!important}
@media(max-width:760px){.game-welcome.choosing-language{padding:24px 5px;min-height:0}.language-hello{gap:12px}.language-hello>img{width:83px;height:83px;border-width:4px}.language-hello>span{font-size:15px;padding:13px 15px}.language-launch>h1{font-size:38px;margin-top:28px}.language-launch>p{font-size:14px;margin-bottom:27px}.language-choices{grid-template-columns:1fr;gap:18px}.language-card{padding:23px 20px;min-height:98px;border-radius:28px;gap:18px}.language-card strong{font-size:21px}.language-card small{font-size:12px}.language-card img{width:62px;height:42px}.language-arrow{font-size:23px}.language-change{display:block;margin:0 auto;text-align:center}.pinyin{font-size:16px!important}.game-welcome:not(.choosing-language){gap:20px}}
@media(prefers-reduced-motion:reduce){.language-card{transition:none}.language-card:hover{transform:none}}

/* Locally animated approved portraits */
.tutor-motion{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top;border-radius:inherit;pointer-events:none}.phone-photo .tutor-motion{object-position:50% 20%}.phone-top{background:#fffdf3e8;border-radius:16px;padding:6px 9px;top:18px}.phone-photo img{animation:none}@media(max-width:760px){#lesson .lesson-tutor-portrait .tutor-motion{object-position:50% 24%}.phone-top{top:13px;font-size:11px}}

.language-hello .welcome-clip{width:clamp(128px,35vw,220px);aspect-ratio:16/9;height:auto;object-fit:cover;border-radius:20px;background:#fff2cb}
.welcome-clip-message{display:grid;gap:8px;justify-items:start}
.welcome-clip-message button{font:inherit;font-size:14px}

#journey [hidden]{display:none!important}
.guide-portrait{width:110px;height:110px;object-fit:cover;object-position:top;border-radius:28px}
#journey-back,.diagnostic-nav button{min-height:48px;padding:10px 22px;border-radius:24px}
.diagnostic-nav{display:flex;gap:12px;margin-top:14px}.diagnostic-nav button{flex:1}
#diagnostic-answers .chosen-answer{outline:3px solid #7850be;background:#f1e9ff}


/* Shared tactile surface for action buttons, navigation and selectable cards. */
@layer button-depth {
  button {
    --button-edge: color-mix(in srgb, currentColor 32%, #ddd5eb);
    --button-drop: 4px;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 65%),
      0 var(--button-drop) 0 var(--button-edge),
      0 calc(var(--button-drop) + 2px) 7px rgb(48 35 62 / 14%) !important;
  }
  button:is(.utility-action,.rail-link,.back,.text-link,.coach-change) {
    border-radius: 16px;
    padding: .45em .85em;
  }
  button[data-view="tariffs"], #install-app { --button-edge: #c7a34c; }
  #account-register, .coach-change { --button-edge: #b498d3; }
  button.utility-action[data-view="tariffs"] { background: linear-gradient(#fff2a2,#ffdf64) !important; color:#624318 !important; }
  button:is(.guide-entry,.guide-profile-entry,.feedback-open) { --button-edge:#c5afd7; }
  @media (hover: hover) {
    button:enabled:hover { --button-drop: 5px; }
  }
  button:enabled:active { --button-drop: 1px; translate: 0 2px; transform:none !important; }
  button:disabled { box-shadow:none !important; translate:none; }
  button:focus-visible { outline:3px solid #6b39ad !important; outline-offset:4px; }
  @media (prefers-reduced-motion: reduce) {
    button:enabled:active { translate:none; }
  }
}


#access .access-card{background:linear-gradient(145deg,#f6eeff,#fffdf3 65%);color:#34233e;border:2px solid #e3d3ee;border-radius:32px;box-shadow:0 6px 0 #e1d4ea;padding:clamp(18px,4vw,38px);margin-top:16px}
#access .access-card h1{margin:0 0 8px}
#access .billing-choice{background:transparent;border:0;padding:0}
#access .access-card :is(p,small,legend,.access-repeat){color:#594461;font-size:1rem;line-height:1.5}
#access .plan-picker{border:0;margin:0 0 25px;padding:0;min-width:0}
#access .plan-picker legend{font-weight:800;font-size:1.18rem;margin-bottom:8px}
#access .plan-tile{--face:#fff2aa;--edge:#d2ae4d;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;background:var(--face);color:#34233e;border:2px solid var(--edge);border-radius:20px;box-shadow:0 4px 0 var(--edge);padding:15px clamp(10px,2vw,20px);margin:8px 0 13px;cursor:pointer;line-height:1.25}
#access .plan-tile.duo{--face:#f0e1ff;--edge:#c1a0da}
#access .plan-tile.family{--face:#ecf9a8;--edge:#adbd65}
#access .plan-tile:has(:checked){border-color:#61348a;box-shadow:0 4px 0 #61348a}
#access .plan-tile:focus-within{outline:3px solid #8549bc;outline-offset:3px}
#access .plan-tile:active{transform:translateY(2px)}
#access .plan-tile input{width:19px;height:19px;margin:0;accent-color:#69388f}
#access .plan-tile strong,#access .plan-tile small{display:block}
#access .plan-tile strong{font-size:1.23rem}
#access .plan-tile b{font-size:clamp(18px,3vw,27px);white-space:nowrap}
#access #access-plan[hidden]{display:none}
#access .access-card fieldset:not(.plan-picker){background:white;border:1px solid #d8c4e5;border-radius:18px;color:#48324f}
#access .access-card .renewal-choice strong{font-size:1rem}
#access .access-card #buy-access{background:#dff650;color:#34233e;--button-edge:#a3b83d}
#access .access-repeat{background:white}
:is(#tariffs,#result-plan-slot) .tariff-card{border:2px solid #dfc774;border-radius:26px;background:linear-gradient(155deg,#fff2b2,#fffcf1);box-shadow:0 5px 0 #e4cf8a}
:is(#tariffs,#result-plan-slot) .tariff-card:nth-child(2){border-color:#cfb4e6;background:linear-gradient(155deg,#efdcff,#fcf7ff);box-shadow:0 5px 0 #d5bde8}
:is(#tariffs,#result-plan-slot) .tariff-family{border-color:#bacb73;background:linear-gradient(155deg,#eafa9e,#fcfff2);box-shadow:0 5px 0 #bfd07d}
:is(#tariffs,#result-plan-slot) .tariff-card h2{font-size:clamp(26px,3vw,34px);margin:10px 0}
:is(#tariffs,#result-plan-slot) .tariff-price strong{font-size:clamp(32px,4vw,44px);color:#362240;white-space:nowrap}
:is(#tariffs,#result-plan-slot) .tariff-card :is(li,p,button),:is(#tariffs,#result-plan-slot) .tariff-included li,:is(#tariffs,#result-plan-slot) .tariff-rules p,:is(#tariffs,#result-plan-slot) .tariff-addon p,#tariffs .tariffs-preview{font-size:1rem;line-height:1.5;color:#4a3551}
:is(#tariffs,#result-plan-slot) .tariff-card :is(.eyebrow,.tariff-badge){font-size:.8rem;color:#51375b}
:is(#tariffs,#result-plan-slot) .tariff-card button{background:white;color:#412650}
:is(#tariffs,#result-plan-slot) .tariff-family button{background:#dcf64d;--button-edge:#adbd65}
#tariffs .tariffs-preview,:is(#tariffs,#result-plan-slot) .tariff-addon,#tariffs .guide-finish{background:#f6efff;color:#412650}
#tariffs .guide-finish :is(h2,p){color:#412650}
@media(max-width:950px){:is(#tariffs,#result-plan-slot) .tariff-cards{grid-template-columns:1fr}}
@media(max-width:380px){#access .plan-tile{gap:7px}#access .plan-tile small{font-size:.9rem}}

#result-plan-slot h2{font-size:clamp(25px,4vw,36px);line-height:1.15;color:#412650;margin:24px 0 10px} #result-plan-slot .tariff-card h2{font-size:28px;margin:10px 0} #result-plan-slot[hidden]{display:none}

.is-guest .rail-link[data-view="tariffs"],.is-guest #home button[data-view="tariffs"]{display:none!important}

dialog.tutor-preview[open]{position:fixed;inset:0;box-sizing:border-box;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#211730;color:white;display:flex;flex-direction:column;align-items:center;overflow:auto}
.tutor-preview::backdrop{background:#211730}
.tutor-preview video{display:block;flex:1 1 0;min-height:0;width:100%;object-fit:contain}
.tutor-preview h2{margin:.45rem 0;color:white}
.tutor-preview-note{margin:0;text-align:center}.tutor-preview-note:empty{display:none}
.tutor-preview-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;width:min(94%,510px);padding:8px 0 max(14px,env(safe-area-inset-bottom))}
.tutor-preview-actions button{flex:1 1 auto;min-height:44px}.tutor-preview-actions .outline{background:white;color:#42285a}.tutor-preview-actions .primary{flex-basis:100%}

button {box-sizing:border-box;min-height:48px;max-width:100%}
button:is(.text-link,.back,.coach-change):not(.utility-action){
  background-color:#faf7ff;color:#53346c;border:1px solid #dacbe6;
  border-radius:18px;padding:10px 16px;white-space:normal;overflow-wrap:anywhere;
}
button[data-view="profiles"],#profiles button,#guide button.text-link{min-height:50px}
#profiles .profile-list{gap:16px;margin:18px 0 22px}
#profiles .profile-list button{min-width:0;height:auto;white-space:normal;overflow-wrap:anywhere}
#profiles .profile-list button span{min-width:0}
#profiles .profile-help-links,#profiles .form-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:14px}
.profile-footer{display:flex;justify-content:flex-end;margin:22px 0 8px}
.profile-footer:has(#account-logout.hidden){display:none}
#profiles #account-logout{position:static;float:none;width:auto;margin:0}
#guide .text-link[data-view]{margin-top:12px}
@layer button-depth {button{--button-drop:6px} @media(hover:hover){button:enabled:hover{--button-drop:7px}}}
