.home-page{--ink:#193d32;--muted:#64766c;--green:#23664e;--line:#dce3d9;--paper:#fafbf6;background:var(--paper);line-height:1.65}
.home-page header.extended-nav{min-height:88px;padding:16px max(5%,calc((100% - 1240px)/2));gap:28px;flex-wrap:nowrap;background:#fafbf6}
.home-page .brand{font-size:26px;white-space:nowrap}.home-page .brand-icon{border-radius:14px;background:#245a44;width:45px;height:45px;font-size:33px;line-height:45px}.home-page .brand small{font-size:8px;letter-spacing:1.5px}
.home-page header.extended-nav nav{order:0;flex:1 1 auto;gap:28px;width:auto;flex-wrap:nowrap;display:flex;justify-content:center}
.home-nav-link{font-size:13px;color:#52655b;min-height:44px;white-space:nowrap;display:flex;align-items:center;text-decoration:none}.home-nav-link:hover{color:var(--green);text-decoration:underline;text-underline-offset:7px}
.home-page .child-toggle{display:flex;align-items:center;gap:9px;font-size:12px;white-space:nowrap;cursor:pointer}.home-page .child-toggle input{width:17px;height:17px;accent-color:var(--green);margin:0}
.home-page main{max-width:1240px;padding:0;margin:auto}.home-page main:focus{outline:none}
.home-hero{display:grid;grid-template-columns:1.13fr 1fr;gap:70px;align-items:center;padding:65px 0 48px}
.hero-eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:12px;color:#45664d;background:#eaf0df;border:1px solid #e0e7d6;border-radius:30px;padding:6px 13px}.hero-eyebrow i,.lab-live i{width:6px;height:6px;border-radius:50%;background:#4c7c45}
.home-hero h1{font-size:clamp(37px,4vw,55px);line-height:1.48;letter-spacing:-1.5px;font-weight:700;margin:22px 0 18px}.home-hero h1 em{color:#448050}.hero-copy>p{color:var(--muted);font-size:16px;line-height:2;margin:0;max-width:490px}
.hero-actions{display:flex;align-items:center;gap:28px;margin-top:29px}.home-button{display:inline-flex;align-items:center;justify-content:center;gap:26px;min-height:49px;border-radius:9px;padding:12px 23px;background:#235e46;color:white;text-decoration:none;font-size:14px;font-weight:600;transition:background .2s,transform .2s;white-space:nowrap}.home-button:hover{background:#174630;transform:translateY(-2px)}.home-button>span{font:23px 'Segoe UI',sans-serif}
.hero-secondary{display:inline-flex;align-items:center;gap:14px;min-height:44px;text-decoration:none;font-weight:600;font-size:13px;color:var(--ink)}.hero-secondary:hover{text-decoration:underline;text-underline-offset:5px}
.hero-reassurance{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:25px;color:#6b796e;font-size:10px}.hero-reassurance span{display:flex;align-items:center;gap:7px}.hero-reassurance span:before{content:'';width:4px;height:4px;background:#799365;border-radius:50%}
.hero-lab{background:#174d3d;border:1px solid #235944;border-radius:22px;padding:25px;color:#fff;box-shadow:0 18px 36px -24px #173c3477}.lab-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:#d4e3d4}.lab-kicker{letter-spacing:.4px}.lab-live{display:flex;align-items:center;gap:6px;color:#e0eecf;font-size:9px}.lab-live i{background:#bdd986}
.hero-lab h2{font-size:24px;font-weight:600;margin-top:21px;line-height:1.5}.lab-description{color:#c0d5ca;font-size:11px;margin:6px 0 18px}.lab-canvas{background:#eef2e5;border-radius:13px;padding:14px 14px 9px;min-height:205px;overflow:hidden}.lab-canvas svg{display:block;width:100%;height:185px}.model-label{display:block;text-align:center;color:#667b65;font-size:9px;margin-top:5px}
.lab-equation{display:flex;align-items:center;justify-content:center;gap:30px;padding:13px 0;font:20px 'Segoe UI',sans-serif;letter-spacing:1px}.lab-equation>span:nth-child(2){color:#a5bf91}.lab-equation strong{color:#dcf0b4;font-weight:500}.lab-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:12px;border-top:1px solid #ffffff25}.lab-bottom>span{font-size:10px;color:#cadcd1}.lab-bottom button{display:flex;gap:16px;align-items:center;border:1px solid #d5e6b7;border-radius:7px;background:#d5e6b7;padding:9px 13px;color:#224b32;font-size:11px;min-height:40px;white-space:nowrap}.lab-bottom button:hover{background:#e5f2cf}
.home-facts{display:grid;grid-template-columns:repeat(4,1fr);padding:25px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.home-facts>div{display:flex;align-items:center;justify-content:center;gap:16px;border-right:1px solid var(--line)}.home-facts>div:last-child{border:0}.home-facts strong{font-size:29px;line-height:1.4;font-weight:600}.home-facts span{font-size:12px;color:var(--muted)}
#subjectsStorage:empty{display:none}#subjectsStorage{font-size:13px;color:#795624}.continue-learning{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:32px;padding:23px 28px;background:#edf2e5;border:1px solid #dae3cb;border-radius:12px}.continue-learning h2{font-size:21px;margin:5px 0}.continue-learning p{font-size:12px;color:var(--muted);margin:0}
.home-subjects{padding:48px 0 50px;scroll-margin-top:25px}.home-section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:25px}.section-eyebrow{font-size:10px;letter-spacing:.5px;color:#627956;font-weight:600}.home-section-heading h2,.explore-copy h2{font-size:29px;line-height:1.6;font-weight:650;margin-top:8px;letter-spacing:-.6px}.home-section-heading>p{color:var(--muted);font-size:12px;line-height:1.8;margin:0}
.home-subject-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;gap:17px;padding:0;margin:0}.home-subject-grid>li{display:flex;min-width:0}.home-subject-card{--accent:#477848;--wash:#edf3e7;display:flex;flex-direction:column;position:relative;width:100%;padding:23px 21px 17px;border:1px solid #dce4d7;border-radius:14px;background:#fff;text-decoration:none;color:var(--ink);transition:transform .2s,box-shadow .2s,border-color .2s}.home-subject-card:hover{transform:translateY(-5px);box-shadow:0 14px 28px -15px #1c453839;border-color:var(--accent)}.home-subject-card.subject-physics{--accent:#9b6522;--wash:#faf0dc}.home-subject-card.subject-biology{--accent:#397878;--wash:#e8f3f0}.home-subject-card.subject-ict{--accent:#76639c;--wash:#f0ecf8}
.subject-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.home-subject-card .subject-icon{display:grid;place-items:center;width:49px;height:49px;background:var(--wash);color:var(--accent);border-radius:13px;font:30px 'Segoe UI Symbol','Segoe UI',sans-serif}.subject-english{font:9px 'Segoe UI',sans-serif;letter-spacing:1.2px;color:var(--accent)}.home-subject-card h3{font-size:22px;font-weight:650;line-height:1.5;margin-bottom:9px}.subject-about{font-size:12px;color:#687669;line-height:1.95;margin:0 0 17px;min-height:70px}
.home-subject-card .feature-chips{display:flex;gap:6px;flex-wrap:wrap;list-style:none;padding:0;margin:0 0 22px}.feature-chips li{font-size:9px;padding:3px 8px;background:var(--wash);color:var(--accent);border-radius:5px}.home-subject-card .subject-progress{font-size:10px;color:var(--muted);display:flex;justify-content:space-between;gap:5px;margin:auto 0 7px}.subject-progress strong{font-weight:500;color:var(--ink)}
.home-subject-card progress{appearance:none;display:block;width:100%;height:4px;border:0;border-radius:5px;background:#edf0e9;overflow:hidden;accent-color:var(--accent)}.home-subject-card progress::-webkit-progress-bar{background:#edf0e9;border-radius:5px}.home-subject-card progress::-webkit-progress-value{background:var(--accent);border-radius:5px}.home-subject-card progress::-moz-progress-bar{background:var(--accent)}.subject-enter{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px;padding-top:13px;border-top:1px solid #edf0e9;font-size:12px;font-weight:600}.subject-enter span{font:21px 'Segoe UI',sans-serif;color:var(--accent)}.home-subject-card .last-badge{display:block;font-size:9px;color:var(--accent);margin:-8px 0 10px}
.home-explore{display:grid;grid-template-columns:1fr 1.2fr;gap:65px;background:#edf1e5;border:1px solid #e0e6d7;border-radius:18px;padding:36px 40px;scroll-margin-top:25px}.explore-copy p{font-size:12px;color:#64735d;max-width:320px;line-height:1.9;margin:12px 0}.explore-copy .hero-secondary{margin-top:3px}.explore-links{display:flex;flex-direction:column;justify-content:center;gap:10px}.explore-links>a{display:flex;align-items:center;gap:15px;padding:16px;background:#ffffffc9;border:1px solid #dee5d7;border-radius:10px;color:var(--ink);text-decoration:none;transition:background .2s}.explore-links>a:hover{background:#fff}.tool-symbol{display:grid;place-items:center;width:38px;height:38px;font-size:26px;color:#58804b}.explore-links strong{display:block;font-size:14px;font-weight:600}.explore-links small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.explore-links>a>span:last-child{margin-left:auto;font:22px 'Segoe UI',sans-serif}
.home-method{padding:50px 0 35px;scroll-margin-top:25px}.home-method ol{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:45px}.home-method li{padding:8px 0}.home-method li>span{display:block;font-size:14px;color:#5c7950;margin-bottom:12px}.home-method h3{font-size:19px;font-weight:600}.home-method p{color:var(--muted);font-size:12px;line-height:1.9;max-width:310px;margin:8px 0 0}.home-learning-note{font-size:10px;color:#737e70;line-height:1.9;border-top:1px solid var(--line);margin:0;padding:19px 0}.home-page footer{margin:0;padding:23px 0 30px;border-top:1px solid var(--line);align-items:center;color:#6d7d6d;font-size:11px;gap:15px}.home-page footer a{text-decoration:none}.home-page .footer-brand{color:var(--ink);font-size:21px;font-weight:650}
@media(min-width:760px){html:has(.home-page){scroll-behavior:smooth}}
@media(max-width:1380px){.home-page main{margin:0 6%}.home-page header.extended-nav{padding-left:6%;padding-right:6%}.home-hero{gap:44px}}
@media(max-width:1100px){.home-page header.extended-nav nav{gap:17px}.home-nav-link{font-size:11px}.home-hero{gap:30px}.home-hero h1{font-size:40px}.hero-copy>p{font-size:14px}.hero-lab{padding:21px}.hero-lab h2{font-size:21px}.home-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subject-about{min-height:0}.home-explore{gap:35px}.home-facts>div{gap:10px}.home-facts span{font-size:10px}.home-facts strong{font-size:25px}.hero-reassurance{gap:7px 12px}}
@media(max-width:760px){.home-page header.extended-nav{flex-wrap:wrap;gap:14px;padding:17px 6% 12px}.home-page header.extended-nav nav{order:3;flex-basis:100%;justify-content:space-between;border-top:1px solid var(--line);padding-top:5px;gap:8px}.home-nav-link{font-size:11px;min-height:34px}.home-page .brand{font-size:22px}.home-page .brand small{font-size:7px}.home-page .brand-icon{width:39px;height:39px;font-size:29px;line-height:39px}.home-page .child-toggle{font-size:10px}.home-hero{grid-template-columns:1fr;padding:35px 0 30px;gap:30px}.home-hero h1{font-size:clamp(32px,7vw,46px);letter-spacing:-.9px;margin-top:16px}.hero-copy>p{font-size:14px}.hero-actions{margin-top:22px;gap:22px}.hero-reassurance{margin-top:20px;font-size:9px}.hero-lab{max-width:520px;width:100%;justify-self:center;padding:22px}.hero-lab h2{font-size:24px}.lab-canvas svg{height:180px}.home-facts{grid-template-columns:repeat(2,1fr);row-gap:20px;padding:22px 0}.home-facts>div:nth-child(2){border:0}.home-facts strong{font-size:25px}.home-facts span{font-size:11px}.home-section-heading{align-items:start;gap:14px}.home-section-heading h2,.explore-copy h2{font-size:25px}.home-section-heading>p{display:none}.home-subjects{padding:33px 0}.home-subject-grid{gap:14px}.home-subject-card{padding:18px}.home-subject-card h3{font-size:20px}.subject-card-top{gap:8px}.subject-english{font-size:8px}.subject-about{font-size:11px}.home-explore{grid-template-columns:1fr;gap:22px;padding:26px}.explore-copy h2 br{display:none}.explore-copy p{max-width:none}.home-method{padding-top:35px}.home-method ol{gap:23px}.home-method h3{font-size:16px}.home-method p{font-size:11px}.continue-learning{align-items:start;padding:22px;flex-direction:column;gap:16px}.home-page footer{flex-wrap:wrap;font-size:10px}}
@media(max-width:480px){.home-subject-grid{grid-template-columns:1fr}.home-subject-card{padding:22px}.subject-card-top{margin-bottom:14px}.subject-about{font-size:13px;min-height:0;margin-bottom:14px}.home-subject-card .feature-chips{margin-bottom:20px}.feature-chips li{font-size:10px}.subject-english{font-size:10px}.home-subject-card h3{font-size:24px}.home-subject-card .subject-progress{font-size:11px}.subject-enter{font-size:13px}.hero-eyebrow{font-size:10px}.hero-copy>p{font-size:13px}.home-button{padding:12px 18px;gap:18px;font-size:13px}.hero-secondary{font-size:12px;gap:8px}.hero-lab{padding:19px}.lab-live{font-size:8px}.lab-kicker{font-size:9px}.hero-lab h2{font-size:21px}.lab-description{font-size:10px}.lab-canvas svg{height:155px}.lab-canvas{min-height:185px;padding:10px}.lab-bottom>span{font-size:9px}.lab-bottom button{font-size:10px;gap:8px}.home-facts>div{gap:11px}.home-facts span{font-size:10px}.home-explore{padding:23px 19px}.explore-links>a{padding:13px 11px;gap:10px}.explore-links strong{font-size:12px}.explore-links small{font-size:9px}.tool-symbol{width:29px;flex-shrink:0}.home-method ol{grid-template-columns:1fr;gap:0}.home-method li{position:relative;padding:19px 0 19px 43px;border-bottom:1px solid var(--line)}.home-method li:last-child{border:0}.home-method li>span{position:absolute;left:0;top:20px}.home-method h3{font-size:18px}.home-method p{font-size:12px;max-width:none}.home-page footer>span{order:3;flex-basis:100%}.home-page footer{justify-content:space-between}.desktop-break{display:none}}
@media(prefers-reduced-motion:reduce){.home-page *{scroll-behavior:auto!important;transition:none!important}.home-button:hover,.home-subject-card:hover{transform:none}}
/* Level switch (kids / SSC / HSC) above the subject cards */
.level-switch{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 10px}.level-switch button{min-height:44px;padding:9px 20px;border:1px solid #c9d6c4;border-radius:999px;background:#fff;color:var(--ink);font:inherit;font-weight:600;cursor:pointer;transition:background .2s,border-color .2s}.level-switch button:hover{border-color:#477848}.level-switch button[aria-pressed="true"]{background:#477848;border-color:#477848;color:#fff}.level-switch button:focus-visible{outline:3px solid #dcaa3a;outline-offset:3px}
.level-about{color:var(--muted);font-size:14px;margin:0 0 22px}
.home-subject-card.subject-kids{--accent:#c2602a;--wash:#fff1e3}.home-subject-grid.kids-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:640px){.home-subject-grid.kids-cards{grid-template-columns:1fr}}
.home-subject-card.subject-math{--accent:#2d6fb3;--wash:#e9f1fb}
@media(min-width:1101px){.home-subject-grid:has(>li:nth-child(5)){grid-template-columns:repeat(3,minmax(0,1fr))}}
