/* Homepage — shared warm marketing palette, isolated from platform and inner pages. */
body.home{background:#fffaf4}
.lb-home-v2{--ink:#25154b;--muted:#655d73;--purple:#5934d9;background:#fffaf4;color:var(--ink);padding:150px 0 80px;font-family:'Nunito',sans-serif;overflow:clip}
.lb-home-v2 *{box-sizing:border-box}
.lb-home-v2 h1,.lb-home-v2 h2,.lb-home-v2 h3{color:var(--ink);font-family:'Baloo 2',sans-serif;font-weight:800;letter-spacing:-.035em}
.lb-home-v2 h1{font-size:clamp(40px,4.1vw,64px);line-height:1.07;margin:20px 0 24px}
.lb-home-v2 h1 em{font-style:normal;color:var(--purple)}
.lb-home-v2 h2{font-size:clamp(30px,3vw,44px);line-height:1.13;margin:0 0 20px}
.lb-home-v2 h3{font-size:28px;line-height:1.15;margin:0 0 14px}
.lb-home-v2 p{color:var(--muted);line-height:1.7;margin:0 0 22px;font-size:17px}
.lb-home-v2 a{text-decoration:none}
.lh-wrap{width:min(1240px,calc(100% - 64px));margin-inline:auto}
.lb-home-v2 .lh-eyebrow{font-size:12px;font-weight:900;letter-spacing:.12em;color:#7151a0;margin:0 0 16px;line-height:1.6}
.lh-eyebrow>span{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#eadfff;margin-right:7px}
.lh-hero{display:grid;grid-template-columns:1.08fr 1fr;gap:70px;align-items:center;padding-block:25px 90px}
.lb-home-v2 .lh-lead{font-size:19px;max-width:540px}
.lh-actions{display:flex;align-items:flex-start;flex-direction:column;gap:19px;margin:30px 0 26px}
.lb-home-v2 .lh-button{display:inline-flex;align-items:center;justify-content:center;gap:20px;padding:16px 24px;min-height:56px;background:var(--purple);color:white;border-radius:16px;font-size:16px;font-weight:900;line-height:1.4;box-shadow:0 6px 0 #4429a911;transition:background .2s,transform .2s}
.lb-home-v2 .lh-button:hover{background:#4422b7;color:white;transform:translateY(-2px)}
.lb-home-v2 .lh-text-link{display:inline-flex;align-items:center;gap:10px;color:#593b89;font-weight:900;font-size:15px;line-height:1.5}
.lb-home-v2 .lh-text-link:hover{color:#38216a;text-decoration:underline;text-underline-offset:5px}
.lb-home-v2 a:focus-visible,.lb-home-v2 button:focus-visible,.lb-home-v2 summary:focus-visible{outline:3px solid #178a99;outline-offset:5px}
.lb-home-v2 .lh-free-note{font-size:14px;font-weight:900;color:var(--ink);margin-bottom:8px}
.lh-reassurance{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px 16px;color:#496d64;font-size:12px;font-weight:800}
.lh-hero-art{position:relative;padding:12px 0 30px;isolation:isolate}
.lh-hero-art:before{content:'';position:absolute;inset:0 -12px 35px 15px;background:#d9cafd;border-radius:42px;transform:rotate(4deg);z-index:-1}
.lh-hero-art>img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block;border:7px solid #fff;border-radius:40px;transform:rotate(-2deg)}
.lh-photo-note{position:relative;margin:20px 25px 0;padding:20px 22px;border-radius:20px;background:white;box-shadow:0 15px 30px #25154b10;display:flex;gap:16px;align-items:center}
.lh-photo-note>span{font-size:30px;background:#e7f3d1;border-radius:15px;padding:8px 15px;color:#496d3a}
.lh-photo-note strong,.lh-photo-note div>span{display:block}.lh-photo-note strong{font-size:17px}.lh-photo-note div>span{font-size:13px;color:var(--muted);margin-top:4px}
.lh-section-heading{display:grid;grid-template-columns:1.2fr 1fr;gap:80px;align-items:end;margin-bottom:32px}
.lh-section-heading h2,.lh-section-heading>p{margin-bottom:0}.lh-section-heading>p{max-width:460px}
.lh-experience{background:#f0ebfa;padding:68px 0;scroll-margin-top:100px}
.lh-tabs{display:flex;gap:8px;padding:6px;background:#e6dff1;border-radius:16px;width:fit-content;margin:0 0 28px;max-width:100%;overflow-x:auto}
.lh-tabs button{font:800 15px 'Nunito',sans-serif;white-space:nowrap;border:0;color:#655278;border-radius:11px;background:transparent;padding:12px 20px;cursor:pointer;min-height:46px}
.lh-tabs button.is-active{background:#fff;color:#512bb9;box-shadow:0 3px 8px #3421640b}.lh-tabs button:hover{color:#512bb9;background:#ffffff80}
.lh-demo{display:grid;grid-template-columns:1.45fr 1fr;gap:48px;align-items:center}.lh-demo[hidden]{display:none}
.lh-demo figure{margin:0;background:#fff;border:7px solid #fff;border-radius:20px;overflow:hidden;box-shadow:0 15px 35px #29134c14}
.lh-window{display:flex;align-items:center;gap:5px;padding:8px 10px 13px}.lh-window>span{width:7px;height:7px;background:#d9cfe8;border-radius:50%}.lh-window small{font-size:10px;color:#746384;margin-left:8px}
.lh-demo figure img{display:block;width:100%;aspect-ratio:1.6;object-fit:contain;border-radius:10px;background:#130c29}
.lh-demo figcaption{font-size:11px;text-align:center;color:#75678a;padding:9px 0 3px}
.lh-demo-copy{padding:16px 0}.lh-number{display:inline-grid;place-items:center;background:#ded2f4;border-radius:50%;width:43px;height:43px;color:#614494;font-weight:900;margin-bottom:20px}
.lb-home-v2 .lh-demo-copy h3{font-size:34px}.lh-demo-copy .lh-text-link{display:flex;margin-top:20px}
.lh-steps{padding-block:80px;scroll-margin-top:110px}
.lh-step-grid{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:32px 0 26px}
.lh-step-grid li{padding:26px 24px;background:#eee8fb;border-radius:22px}.lh-step-grid li:nth-child(2){background:#fce7d5}.lh-step-grid li:nth-child(3){background:#e8f0d9}.lh-step-grid li:nth-child(4){background:#e0eff2}
.lh-step-grid li>span{display:block;font-size:13px;font-weight:900;margin-bottom:24px;color:#736483}.lh-step-grid h3{font-size:25px}.lh-step-grid p{font-size:15px;margin-bottom:0}
.lh-people{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:80px}
.lh-people article{border-radius:28px;overflow:hidden;background:#eee8fb;position:relative}
.lh-teacher{display:flex;flex-direction:column;justify-content:space-between;padding:38px 38px 0}.lh-teacher>img{display:block;width:270px;align-self:center;margin-top:20px;aspect-ratio:1;object-fit:contain}.lh-teacher p:not(.lh-eyebrow){max-width:390px}
.lh-parent>img{width:100%;height:225px;object-fit:cover;object-position:50% 23%;display:block}.lh-parent>div{padding:32px 38px 38px}.lh-people .lh-parent{background:#e5f1ed}
.lb-home-v2 .lh-people h2{font-size:36px}.lb-home-v2 .lh-people p{font-size:16px}
.lb-home-v2 .lb-home-plans{margin:0;padding:48px 0;background:transparent;border-top:1px solid #e7dfeb;border-radius:0}
.lb-home-v2 .lb-home-plans h2{max-width:650px;margin-inline:auto}.lb-home-v2 .lb-package__description{font-size:16px;line-height:1.6}.lb-home-v2 .lb-package--main h3,.lb-home-v2 .lb-package--main .lb-package__description,.lb-home-v2 .lb-package--main .lb-package__term,.lb-home-v2 .lb-package--main .lb-package__note,.lb-home-v2 .lb-package--main .lb-package__list-title{color:#fff}
.lb-home-v2 .lb-package__tag{font-size:11px}.lb-home-v2 .lb-package__note{font-size:13px}.lb-home-v2 .lb-home-plans__footnote{font-size:13px;width:100%;max-width:none;text-align:center;margin:32px auto 0}
.lh-faq{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;padding-block:65px}
.lh-faq details{border-bottom:1px solid #dfd6e8;padding:20px 0}.lh-faq details:first-child{padding-top:0}.lh-faq summary{font-size:18px;font-weight:900;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px;line-height:1.4}.lh-faq summary::-webkit-details-marker{display:none}.lh-faq summary:after{content:'+';color:var(--purple);font-size:24px;line-height:1}.lh-faq details[open] summary:after{content:'−'}.lh-faq details p{font-size:15px;margin:18px 25px 0 0}

@media(max-width:1100px){.lh-hero{gap:35px}.lh-section-heading{gap:40px}.lh-demo{gap:30px}.lh-step-grid{gap:12px}.lh-step-grid li{padding:22px 18px}.lh-photo-note{margin-inline:12px;padding:16px}.lh-people{gap:18px}}
@media(max-width:780px){.lb-home-v2{padding-top:110px}.lh-wrap{width:calc(100% - 40px)}.lh-hero{grid-template-columns:1fr;gap:35px;padding-block:12px 55px}.lh-hero-copy{max-width:600px}.lh-hero h1{max-width:570px}.lh-hero-art{width:100%;max-width:470px;margin:auto}.lh-section-heading{grid-template-columns:1fr;gap:16px}.lh-experience{padding:42px 0}.lh-demo{grid-template-columns:1fr;gap:22px}.lh-demo-copy{padding:0}.lh-demo-copy .lh-number{display:none}.lh-tabs button{padding:11px 15px}.lh-step-grid{grid-template-columns:1fr 1fr}.lh-steps{padding-block:50px}.lh-people{grid-template-columns:1fr;margin-bottom:40px}.lh-teacher{display:grid;grid-template-columns:1.4fr 1fr;padding:30px}.lh-teacher>img{width:100%;align-self:end;margin:0}.lh-parent>img{height:260px}.lh-people h2 br{display:none}.lh-faq{grid-template-columns:1fr;gap:22px;padding-block:45px}}
@media(max-width:480px){.lb-home-v2 h1{font-size:42px}.lb-home-v2 .lh-eyebrow{font-size:10px;letter-spacing:.09em}.lb-home-v2 .lh-lead{font-size:17px}.lh-actions .lh-button{width:100%}.lh-reassurance{font-size:11px;gap:6px 12px}.lh-photo-note strong{font-size:14px}.lh-photo-note div>span{font-size:12px}.lh-photo-note>span{font-size:22px;padding:8px 12px}.lh-demo figure{border-width:5px}.lh-demo-copy h3{font-size:29px!important}.lh-step-grid{gap:10px}.lh-step-grid li{padding:20px 16px}.lh-step-grid h3{font-size:22px}.lh-step-grid p{font-size:14px}.lh-teacher{display:flex;padding:28px 28px 0}.lh-teacher>img{width:200px;align-self:center;margin-top:15px}.lh-parent>div{padding:28px}.lb-home-v2 .lh-people h2{font-size:31px}}
@media(prefers-reduced-motion:reduce){.lb-home-v2 *{scroll-behavior:auto!important;transition:none!important}}
/* Override the legacy dark-theme heading color only inside this light homepage. */
body.cs-dark .lb-home-v2 h1,body.cs-dark .lb-home-v2 h2,body.cs-dark .lb-home-v2 h3{color:var(--ink)}
body.cs-dark .lb-home-v2 .lb-package--main h3{color:#fff}

.lh-hero-art>img,.lh-demo figure img{height:auto}

.lb-home-v2 .lh-demo-image-link{display:block;border-radius:10px}
.lb-home-v2 .lh-demo-image-link:focus-visible{outline:3px solid var(--purple,#5934d9);outline-offset:-3px}

/* Real teacher cutout sits in the card without a rectangular photo frame. */
.lh-teacher-portrait{position:relative;isolation:isolate;width:min(100%,330px);margin:18px auto 0;align-self:center;flex-shrink:0}
.lh-teacher-portrait:before{content:"";position:absolute;z-index:-1;inset:22% 2% 2%;background:#ded2f0;border-radius:48% 52% 32% 38% / 48% 48% 32% 32%;transform:rotate(-5deg)}
.lh-teacher-portrait img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
@media(min-width:481px) and (max-width:780px){.lh-teacher-portrait{width:100%;margin:0;align-self:end}}
@media(max-width:480px){.lh-teacher-portrait{width:min(100%,290px);margin-top:20px}}

/* Keep the focused game screenshot at its natural ratio, filling the preview width. */
.lb-home-v2 #lh-panel-games figure img{aspect-ratio:auto;height:auto}

/* Editable titles on the homepage platform previews. */
.lh-labelled-preview{position:relative;container-type:inline-size}
.lh-screenshot-title{position:absolute;display:flex;align-items:center;color:#fff;font-family:"Sniglet",sans-serif;font-weight:400;line-height:1.2;white-space:nowrap}
.lh-labelled-preview--songs .lh-screenshot-title{left:3.1%;top:1%;width:68%;height:7.4%;background:#161524;font-size:3.12cqw}
.lh-labelled-preview--words .lh-screenshot-title{left:1.5%;top:2.5%;width:72%;height:7.5%;background:#161524;font-size:3.12cqw}
