:root{color-scheme:light;--ink:#102c29;--muted:#4b635e;--paper:#f5f8f3;--green:#0b423a;--line:#dce6df;--lime:#dcf68e;font-family:"Segoe UI",system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);line-height:1.55}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.65}button[hidden],[hidden]{display:none!important}button:not(.tile),.action,.parent-link{display:inline-flex;justify-content:center;align-items:center;gap:.5rem;min-height:44px;padding:.65rem 1rem;border-radius:12px;border:1px solid var(--line);background:#fff;font-weight:700}button:hover:not(:disabled),.action:hover,.parent-link:hover{border-color:#448c7d;background:#e8f4ec}:focus-visible{outline:3px solid #147e69;outline-offset:3px}.skip{position:absolute;left:1rem;top:-5rem;background:white;padding:.7rem;z-index:2}.skip:focus{top:.5rem}
.wrap{width:min(1232px,calc(100% - 64px));margin-inline:auto}.site-header{background:#fff;border-bottom:1px solid var(--line)}.header-row,.footer-row{display:flex;align-items:center;justify-content:space-between;gap:1.3rem;min-height:76px}.brand{display:inline-flex;align-items:center;gap:.65rem;font-weight:750;white-space:nowrap;letter-spacing:-.025em;font-size:1.12rem}.brand b{color:#137563}.site-header nav{display:flex;align-items:center;gap:clamp(1rem,3vw,2.6rem);font-weight:650;color:var(--muted)}nav a{display:grid;min-height:44px;place-items:center;position:relative;white-space:nowrap}nav a[aria-current]{color:#0b664e}nav a[aria-current]:after{content:"";position:absolute;bottom:1px;width:22px;height:3px;border-radius:3px;background:#24846d}.parent-link{background:#edf5ed;font-size:.9rem;color:#164e42}.site-footer{border-top:1px solid var(--line);background:white;color:var(--muted);font-size:.9rem}.footer-row>a:last-child{text-decoration:underline}
main{min-height:calc(100vh - 155px);padding:28px 0 44px}.hero{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 76% 55%,#19584d,#0b3731 55%,#0a2928);border:1px solid #1a524b;border-radius:26px;display:grid;grid-template-columns:1fr .98fr;align-items:center;color:#fff;min-height:385px}.hero-copy{padding:42px 0 44px 50px;z-index:1}.eyebrow{display:inline-flex;align-items:center;gap:.55rem;color:#daf69d;border:1px solid #487767;border-radius:999px;padding:.32rem .7rem;font-size:.79rem;font-weight:750;letter-spacing:.045em}.eyebrow::before{content:"";width:7px;height:7px;border-radius:50%;background:#d7fa85}.hero h1{font-size:clamp(2.3rem,4.1vw,3.8rem);letter-spacing:-.055em;line-height:1.1;margin:1rem 0}.hero h1 em{font-style:normal;color:var(--lime)}.hero p{color:#ddede6;max-width:36ch;margin:0 0 1.5rem}.hero-art{width:100%;max-height:385px;object-fit:contain;animation:arrive .55s ease-out}.hero-actions,.choices,.controls{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem}.hero .action{border-color:#619083;background:transparent;color:#fff}.hero .action:hover{background:#205e52}.hero .primary,.primary{background:var(--lime)!important;color:#153529!important;border-color:#c8e474!important}.primary:hover{background:#ecffae!important}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin:32px 0 16px}.section-head h2,.section-head p{margin:0}.section-head h2,h1,h2{line-height:1.18;letter-spacing:-.033em}.section-head h2{font-size:clamp(1.55rem,3vw,2rem)}.section-head p,.muted{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:14px}.age-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.tile{min-width:0;display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:.25rem;background:#fff;border:1px solid var(--line);border-radius:17px;padding:13px;min-height:70px;transition:transform .18s,border-color .18s,box-shadow .18s;overflow:hidden}.tile:hover{transform:translateY(-3px);border-color:#75a99a;box-shadow:0 8px 18px #103a2912}.tile strong{font-size:1.04rem;line-height:1.25}.tile small{font-size:.85rem;color:var(--muted)}.tile .art{height:100px;margin-bottom:5px;border-radius:11px;width:100%}.age-grid .tile .art{height:86px}.age-grid strong{font-size:1.14rem}.age-grid .tile small{min-height:2.4em}.age-label{font-weight:800;color:#246756;font-size:.82rem}.card-titles{padding:.15rem .2rem .3rem}
.page-intro{padding:24px 28px;background:#e0f1e9;border-radius:18px;margin-bottom:20px}.page-intro h1{margin:.4rem 0}.page-intro p{margin:.4rem 0}.panel{background:white;border:1px solid var(--line);border-radius:18px;padding:clamp(16px,4vw,32px);margin:14px 0;overflow-wrap:anywhere}.activity{max-width:880px;margin:auto}.activity-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.activity h1{margin:.8rem 0}.big{font-size:clamp(1.4rem,4vw,2rem);font-weight:750;margin:.8rem 0}.status{min-height:1.6em;font-weight:700;color:#12654f}.board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem;max-width:510px;margin:1rem 0}.board>button{aspect-ratio:1;font-size:1.4rem;min-width:0;padding:.25rem}.board .art{width:100%;height:100%;max-height:70px}.field{width:min(100%,440px);border:1px solid #8ca59b;border-radius:10px;background:#fff;padding:.65rem;min-height:44px;display:block;margin:.5rem 0}.filters{display:flex;align-items:end;gap:.75rem;flex-wrap:wrap;margin-bottom:12px}.filters label{flex:1 1 180px;font-weight:650}.filters .field{max-width:none;width:100%}.map-grid{background:radial-gradient(ellipse,#eff9d9,#d4eee2);border-radius:22px;padding:clamp(12px,3vw,28px);grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}.metric{font-size:1.75rem;font-weight:800}.story{display:flex;align-items:center;gap:14px}.story .art{width:76px;height:56px;flex:none}.vocab-art .art{width:160px;height:110px;border-radius:16px}.play-preview{min-height:70px;padding:1rem;background:#eef6f0;border-radius:12px;margin:.7rem 0}.coloring{max-width:290px;display:block}.coloring [data-petal]{cursor:pointer}.coloring [data-petal]:focus{stroke:#0a5543;stroke-width:5}.swatch{width:68px;height:46px;border:2px solid #738d85;border-radius:10px}.track{height:70px;position:relative;background:#24413e;border-radius:12px;margin:1rem 0;border-bottom:5px dashed #eaffaa;overflow:hidden}.car{position:absolute;left:var(--position,0%);width:66px;height:62px;transition:left .2s}.target-field{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;max-width:520px}.target-field button{height:64px}.desktop-sim{background:#dae9f7}.sheet{border-collapse:collapse;margin-bottom:.8rem}.sheet th,.sheet td{border:1px solid #a6b9b2;padding:.5rem;text-align:left}.sheet input{width:65px;min-height:44px}.outline-list{padding-left:1.3rem}.lock{opacity:.75}.game-art .art{width:118px;height:64px;border-radius:10px}.tile .art,.vocab-art .art,.story .art{display:block}.topic-progress{width:min(100%,300px);accent-color:#23846c}.muted a,.panel p a{text-decoration:underline}@keyframes arrive{from{opacity:.2;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(max-width:900px){.wrap{width:calc(100% - 36px)}.hero-copy{padding-left:30px}.age-grid{gap:8px}.age-grid .tile{padding:8px}.header-row{gap:.75rem}.brand{font-size:1rem}}
@media(max-width:680px){.header-row{flex-wrap:wrap;padding-top:9px;gap:5px;min-height:auto}.header-row nav{order:3;justify-content:space-between;width:100%;gap:5px;font-size:.88rem}.brand img{width:34px;height:34px}.parent-link{padding:.45rem .65rem;font-size:.8rem}.wrap{width:calc(100% - 28px)}main{padding-top:15px}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:25px 20px 5px}.hero p{margin-bottom:1rem}.hero-art{height:210px}.section-head{align-items:start;flex-direction:column;gap:.45rem;margin-top:25px}.age-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.age-grid .tile:last-child{grid-column:1/-1}.age-grid .tile:last-child .art{height:74px}.footer-row{flex-wrap:wrap;align-items:start;padding:15px 0}.game-art{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.age-theme-0{background:#f9edce}.age-theme-1{background:#dcf2dd}.age-theme-2{background:#dbeff9}.age-theme-3{background:#eee5f9}.age-theme-4{background:#e4edec}
.compare{grid-template-columns:repeat(3,minmax(0,1fr));max-width:340px}
.sequence-card{display:inline-flex;vertical-align:top;align-items:center;flex-direction:column;margin:.2rem;font-weight:700}.sequence-card .art{width:66px;height:40px;border-radius:6px}.page-intro[class*=age-theme]{margin-top:12px}
.maze-cell{display:grid;place-items:center;aspect-ratio:1;min-width:0;background:#e9f4e8;border:1px solid #c4ded0;border-radius:10px;font-weight:750}.maze-cell.wall{background:#274a46;color:#e4ffe8}.maze-cell .art,.target-field .art,.car .art{width:100%;height:100%;border-radius:8px}.puzzle{grid-template-columns:repeat(3,minmax(0,1fr));max-width:370px}.puzzle button{position:relative;overflow:hidden}.puzzle-art{position:absolute;inset:3px;border-radius:7px;background-image:url("assets/hero.svg");background-color:#133c37;background-size:300% 300%;background-position:var(--piece-x) var(--piece-y)}.puzzle b{z-index:1;background:white;border-radius:6px;padding:0 .35rem}.choices+[role=status],.grid+.choices{margin-top:.8rem}button[aria-pressed=true]{box-shadow:inset 0 0 0 2px #0a6654}#word-board button{font-size:clamp(.78rem,3vw,1rem);overflow-wrap:anywhere}#preview-text,#slide-preview-text{white-space:pre-wrap}
