/* Landing page styles are scoped so the quiz keeps its existing layout. */
body { background: radial-gradient(ellipse at 6% 4%, #cef4ff 0, transparent 47%), radial-gradient(ellipse at 100% 15%, #ddd0ff 0, transparent 50%), linear-gradient(125deg,#eaf5ff,#f7f5ff); background-attachment: fixed; }
#appStart { width:100%; max-width:940px; padding:0; color:#080d48; font-family:Arial,Helvetica,sans-serif; }
#appStart button { font-family:inherit; cursor:pointer; }
#appStart :focus-visible { outline:3px solid #146dff; outline-offset:4px; }
.home-header { display:flex; align-items:center; justify-content:space-between; padding:0 24px; }
.home-brand img { width:128px; height:126px; object-fit:contain; }
.home-tagline { color:#667797; font-size:15px; }
.home-hero { position:relative; min-height:248px; padding:32px 24px 26px; overflow:hidden; }
.hero-copy { position:relative; z-index:1; width:62%; }
.hero-copy h1 { font-size:clamp(30px,4.6vw,48px); font-weight:800; letter-spacing:-1.5px; line-height:1.12; margin:0 0 17px; }
.hero-copy p { color:#566783; font-size:clamp(17px,2.6vw,25px); line-height:1.35; margin:0; }
.hero-character { position:absolute; width:360px; height:360px; object-fit:contain; right:0; top:0; }
.home-panel { position:relative; padding:26px; border:1px solid #ffffffb5; border-radius:40px; background:#ffffffa8; box-shadow:0 18px 60px #a1b8e51a; }
#appStart .section { margin:0; }
#appStart .section > .section-title { display:none; }
#appStart .lesson-picker { border:2px solid #bfd4f6; border-radius:22px; background:#ffffffb8; box-shadow:none; margin:0 0 30px; }
#appStart .lesson-picker summary { padding:17px 25px; justify-content:flex-start; gap:18px; font-size:23px; font-weight:400; color:#657b9d; }
#appStart .lesson-picker summary > span { font-size:37px; line-height:1; color:#0066d9; }
#appStart .lesson-picker summary::after { margin-left:auto; color:#0756ab; }
.lesson-picker-options { max-height:320px; overflow:auto; }
.lesson-filter-option { padding:6px 0; }
.quick-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.quick-heading h2 { margin:0; font-size:26px; font-weight:700; }
.text-action { color:#006bfa; background:transparent; border:0; font-size:18px; font-weight:700; white-space:nowrap; }
.quick-lessons { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; margin-bottom:26px; }
.quick-lessons button { min-height:118px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; padding:12px 6px; border:2px solid transparent; border-radius:21px; background:#ffffffc9; color:#536687; font-size:17px; font-weight:600; box-shadow:0 8px 20px #718ee510; }
.quick-lessons button > span { font-size:40px; line-height:1.3; }
.quick-lessons button:hover { background:#eef0ff; }
.quick-lessons button[aria-pressed="true"] { color:#6020ff; border-color:#7461ff; background:linear-gradient(130deg,#e0edff,#eee0ff); }
.selected-lesson { display:flex; align-items:center; gap:22px; padding:23px; border:2px solid white; border-radius:24px; background:#ffffffb0; margin-bottom:16px; }
.selected-icon { display:grid; place-items:center; flex:0 0 65px; height:65px; border-radius:16px; color:white; font-size:42px; background:linear-gradient(140deg,#a161ff,#6222ff); box-shadow:0 8px 18px #814bff30; }
.selected-lesson > div { min-width:0; flex:1; color:#6e83a7; font-size:18px; }
.selected-lesson strong { display:block; color:#080d48; font-size:26px; line-height:1.3; overflow-wrap:anywhere; margin-top:2px; }
.selected-lesson .text-action { border-radius:17px; background:#eaf0fc; padding:19px; }
#appStart .lesson-grid { grid-template-columns:repeat(auto-fit,minmax(145px,1fr)); gap:12px; margin:0; }
#appStart .lesson-card { padding:12px; border:2px solid #fff; border-radius:18px; background:#f1f5ff; color:#536687; box-shadow:none; margin-bottom:16px; }
#appStart .lesson-card.active { border-color:#8570ff; background:#eee9ff; }
#appStart .lesson-card .icon { display:none; }
#appStart .lesson-card .label { font-size:16px; margin:0; padding:4px 12px; overflow-wrap:anywhere; }
#appStart .check-lesson { width:18px; height:18px; top:2px; right:2px; color:#6530e8; }
#appStart .unit-btn { color:#17397e; }
#appStart .unit-btn.active { outline:2px solid #7854ff; }
#appStart .home-panel > .section:nth-of-type(2) { padding:23px; border:2px solid white; border-radius:24px; background:#ffffffa8; margin-bottom:24px; }
.count-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
#appStart .count-heading .section-title { color:#080d48; font-size:26px; margin:0; padding:0; }
#estimatedTime { color:#6b80a3; font-size:18px; }
#appStart .count-wrap { gap:0; margin:20px auto 0; width:max-content; border-radius:60px; background:#eaf0fc90; }
#appStart .count-btn { width:74px; height:74px; background:#f7faff; border:4px solid white; color:#0068ed; font-size:36px; box-shadow:0 8px 20px #8aace31a; }
#appStart .count-value { min-width:200px; font-size:50px; color:#080d48; }
#appStart .start-btn { margin:0; border:0; border-radius:19px; min-height:92px; background:linear-gradient(105deg,#00c3e8,#008aff 54%,#6413ff); font-size:35px; box-shadow:0 18px 28px #7269dd30; }
#appStart .start-btn::before { content:'▶'; margin-right:24px; }
#appStart .share-btn { display:block; width:53%; margin:26px auto 0; min-height:59px; border:2px solid #89b7ff; border-radius:14px; color:#0073ff; background:transparent; font-size:21px; }
#appStart .share-btn:hover { background:#e9f2ff; }
#appStart .share-status { min-height:0; margin-top:0; }
#appStart .share-status:not(:empty) { margin-top:12px; }
#appStart .summary { display:none; }
.home-benefits { display:flex; justify-content:space-around; margin:36px 0; color:#566888; }
.home-benefits > span { display:flex; align-items:center; gap:20px; font-size:20px; font-weight:600; line-height:1.35; padding:0 20px; }
.home-benefits > span + span { border-left:1px solid #ccd7fa; }
.home-benefits b { font-size:44px; color:#8a36ff; }
.home-benefits > span:last-child b { color:#00bd89; }
.home-footer { display:flex; justify-content:center; gap:28px; flex-wrap:wrap; border-top:1px solid #ccd7f3; padding:24px 0 12px; color:#7084aa; font-size:16px; }
.home-footer a:hover { color:#006bfa; }
@media(max-width:640px) {
 body { padding:16px 12px !important; }
 .home-header { padding:0 7px; }.home-brand img { width:90px; height:90px; }.home-tagline { font-size:11px; }
 .home-hero { min-height:207px; padding:23px 7px 22px; }.hero-copy { width:68%; }.hero-copy h1 { font-size:29px; letter-spacing:-.8px; }.hero-copy p { font-size:15px; max-width:220px; }.hero-copy p br { display:none; }.hero-character { width:215px; height:240px; right:-48px; top:16px; }
 .home-panel { padding:16px; border-radius:26px; }
 #appStart .lesson-picker { border-radius:15px; margin-bottom:22px; }#appStart .lesson-picker summary { font-size:16px; padding:12px; gap:10px; }#appStart .lesson-picker summary > span { font-size:28px; }
 .quick-heading h2 { font-size:21px; }.text-action { font-size:14px; }.quick-lessons { display:flex; overflow-x:auto; gap:10px; padding-bottom:5px; margin-bottom:16px; }.quick-lessons button { flex:0 0 92px; min-height:98px; font-size:13px; border-radius:17px; }.quick-lessons button > span { font-size:32px; }
 .selected-lesson { gap:12px; padding:14px 10px; border-radius:19px; }.selected-icon { flex-basis:43px; height:46px; font-size:30px; border-radius:12px; }.selected-lesson > div { font-size:13px; }.selected-lesson strong { font-size:19px; }.selected-lesson .text-action { padding:12px 8px; font-size:12px; }
 #appStart .home-panel > .section:nth-of-type(2) { padding:16px 12px; border-radius:19px; margin-bottom:18px; }#appStart .count-heading .section-title { font-size:21px; }#estimatedTime { font-size:12px; }#appStart .count-btn { width:57px; height:57px; font-size:28px; }#appStart .count-value { min-width:120px; font-size:39px; }
 #appStart .start-btn { min-height:67px; padding:14px; font-size:25px; border-radius:15px; }#appStart .start-btn::before { margin-right:14px; }#appStart .share-btn { width:80%; min-height:47px; font-size:16px; margin-top:20px; }
 .home-benefits { margin:26px 0; }.home-benefits > span { gap:8px; padding:0 9px; font-size:12px; }.home-benefits b { font-size:27px; }.home-footer { font-size:12px; gap:12px; padding-top:18px; }
}
@media(prefers-reduced-motion:reduce) { #appStart * { transition:none; } }
html { min-height:100%; background:#edf2ff; }
body.min-h-screen { background-image:radial-gradient(ellipse at 6% 4%,#cef4ff 0,transparent 47%),radial-gradient(ellipse at 100% 15%,#ddd0ff 0,transparent 50%),linear-gradient(125deg,#eaf5ff,#f7f5ff); }
.quick-lessons svg { display:block; width:44px; height:44px; }
#appStart .share-btn svg { display:inline-block; width:27px; height:27px; vertical-align:middle; margin-right:8px; }
.home-benefits svg { width:44px; height:44px; }
@media(max-width:640px) { .selected-icon svg { width:30px; height:30px; }.home-benefits svg { width:27px; height:27px; } }
