
:root{--ink:#2d493b;--muted:#6d786c;--paper:#f8f6ee;--green:#355c47;--coral:#cc7259;--line:#e2e5d8}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;color:var(--ink);background:var(--paper);font-family:ui-rounded,"Avenir Next","Segoe UI",sans-serif;font-size:16px}button,a,input,select{touch-action:manipulation}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b56b32;outline-offset:5px}button:disabled{cursor:default}header,main,footer{max-width:1200px;margin:auto}.site-header{height:104px;display:flex;align-items:center;justify-content:space-between;padding:0 42px}.brand{font-weight:750;font-size:25px;letter-spacing:-1px;display:inline-flex;align-items:center;gap:9px}.brand-mark{font-size:40px;color:#6e8d60;line-height:1}.brand-dot{margin-left:-9px;color:var(--coral)}nav{display:flex;align-items:center;gap:32px;font-size:14px}nav>a{font-weight:600}.parent-link{background:transparent;border:1px solid #d4daca;border-radius:100px;padding:11px 19px;font-size:14px}.parent-link span{font-size:19px;margin-right:5px}.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:33px 42px 30px;gap:15px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:2px}.tiny-flower{color:var(--coral);font-size:18px;vertical-align:middle;margin-right:6px}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,serif;font-size:clamp(42px,4.8vw,61px);line-height:1.12;letter-spacing:-2px;font-weight:500;margin:23px 0}.handwritten{font-style:italic;color:var(--coral);position:relative}.handwritten:after{content:"";position:absolute;left:0;right:0;bottom:-5px;height:7px;border-top:2px solid #d6aa76;border-radius:50%}.hero-copy>p{color:var(--muted);line-height:1.85;font-size:15px;margin-bottom:27px}.primary{display:inline-flex;gap:36px;align-items:center;background:var(--green);color:white;padding:16px 24px;border:0;border-radius:12px;font-size:14px;font-weight:650;min-height:48px}.primary:hover{background:#264b37}.primary span{font-size:20px}.hero-note{font-size:11px;color:var(--muted);margin-top:17px}.hero-note span{font-size:16px;margin-right:5px}.hero-art{position:relative;transform:rotate(-2deg)}.hero-art svg{width:100%;display:block}.art-label{position:absolute;bottom:10%;right:18%;font-family:Georgia,serif;font-size:14px;font-style:italic;transform:rotate(5deg);color:#62705a}.values{display:flex;justify-content:center;gap:58px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:17px 42px 0;padding:22px 0;color:#64735f;font-size:12px}.values i{font-style:normal;color:#7c906c;font-size:18px;vertical-align:middle;margin-right:8px}.garden{padding:56px 42px 45px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}h2{font-family:Georgia,serif;font-size:36px;letter-spacing:-1px;font-weight:500;margin:12px 0 0}.section-heading h2 span{color:var(--coral)}.section-heading>p{font-size:12px;line-height:1.7;color:var(--muted);margin:20px 0 0}.filter-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px}.filter{padding:10px 15px;border:1px solid var(--line);border-radius:30px;background:transparent;font-size:11px;min-height:40px}.filter.active{background:#e7ebdc;border-color:#e7ebdc}.filter span{display:inline-flex;align-items:center;justify-content:center;background:#f7f8ef;border-radius:50%;height:18px;width:18px;margin-left:7px;font-size:10px}.game-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.game-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fdfcf7;transition:transform .2s}.game-card:hover{transform:translateY(-4px)}.card-art{height:154px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.card-art svg{width:220px;height:145px}.age-badge{position:absolute;top:13px;left:13px;background:#ffffffa6;border-radius:20px;padding:5px 9px;font-size:9px;letter-spacing:.4px}.card-body{padding:20px}.card-label{font-size:9px;letter-spacing:1.5px;font-weight:700;color:#6c7a69}.card-body h3{font-family:Georgia,serif;font-size:24px;font-weight:500;margin:9px 0}.card-body p{font-size:12px;color:var(--muted);line-height:1.6;min-height:38px;margin-bottom:17px}.card-bottom{display:flex;align-items:center;justify-content:space-between}.duration{font-size:10px;color:#78816f}.play-button{border:1px solid #dbe0d1;border-radius:50%;height:43px;width:43px;background:#f0f3e7;font-size:17px}.play-button:hover{background:#dde7d1}.together{margin:7px 42px 55px;border:1px solid #dfe4d5;border-radius:18px;background:#eef0e3;display:flex;align-items:center;gap:24px;padding:28px}.together-icon{font-size:56px;color:#829570}.together h2{font-size:26px;margin:8px 0 10px}.together p{font-size:12px;line-height:1.8;color:#6e7868;margin:0}.text-button{margin-left:auto;background:transparent;border:0;font-size:12px;white-space:nowrap;min-height:44px}.text-button span{margin-left:15px}footer{border-top:1px solid var(--line);padding:26px 42px 32px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px}footer .brand{font-size:18px;color:var(--ink)}footer .brand-mark{font-size:26px}footer p{margin:0}dialog{border:1px solid #dde2d0;border-radius:25px;background:var(--paper);color:var(--ink);padding:25px;width:min(740px,calc(100% - 28px));max-height:92dvh;overflow:auto;box-shadow:0 30px 120px #17312440}dialog::backdrop{background:#243f345f;backdrop-filter:blur(5px)}.play-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.icon-button{height:44px;width:44px;border:1px solid #d5ddcc;border-radius:50%;background:transparent;flex-shrink:0}.game-heading{text-align:center}.game-heading h2{margin:5px 0 14px}.game-heading p{color:var(--muted);line-height:1.6;font-size:15px;margin:0 0 10px}.voice-button{background:transparent;border:0;text-decoration:underline;font-size:12px;min-height:44px}.progress-dots{display:flex;justify-content:center;gap:8px;margin:16px}.progress-dots span{width:9px;height:9px;border-radius:50%;background:#d9dfce}.progress-dots span.done{background:#648663}.stage{padding:12px 0;min-height:200px;text-align:center}.choices{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin:22px 0}.choice{background:#fffdf7;border:2px solid #dfe5d5;border-radius:18px;min-width:98px;min-height:98px;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;padding:14px;font-size:15px}.choice:hover:not(:disabled){border-color:#8ea67d;background:#f1f3e6}.choice svg{width:65px;height:65px}.choice.correct{border-color:#648663;background:#e5efdc}.choice.wiggle{animation:nudge .25s}.feedback{min-height:30px;text-align:center;color:#4c704c;font-size:15px;line-height:1.5;margin:12px 0}.target{display:inline-flex;align-items:center;justify-content:center;border:2px dashed #a2b395;border-radius:20px;min-height:115px;min-width:135px;margin:10px;padding:10px;background:#edf0e2}.target svg{width:80px;height:80px}.big-object{font-size:70px;display:block;margin:15px}.memory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:410px;margin:16px auto}.memory-tile{aspect-ratio:1;border:2px solid #d3ddc7;background:#e4ead7;border-radius:16px;font-size:38px;min-height:76px}.memory-tile.matched{background:#f4f5e9;border-color:#829c70}.sequence-slots{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.sequence-slot{width:95px;height:100px;border:2px dashed #a6b795;border-radius:14px;display:grid;place-items:center;font-size:32px}.sequence-slot small{font-size:11px}.rhythm-dots{display:flex;gap:22px;justify-content:center;margin:30px}.beat{height:60px;width:60px;background:#e2e8d5;border-radius:50%;border:2px solid #c4d0b5;transition:background .1s,transform .1s}.beat.lit{background:#d99174;transform:scale(1.14);border-color:#bd7257}.tap-pad{width:140px;height:140px;border:3px solid #b5c69f;border-radius:50%;background:#e4ebd7;font-size:24px;margin:5px}.tap-pad:active{background:#c9d9b5}.finish{padding:18px 18px 28px;text-align:center}.finish-icon{font-size:64px;color:#729160}.finish h2{font-size:36px;margin:12px}.finish>p{line-height:1.7;color:var(--muted)}.offline-idea{background:#eaf0df;border-radius:16px;padding:22px;margin:24px 0;text-align:left}.offline-idea h3{font-size:11px;letter-spacing:1.5px;margin:0 0 10px}.offline-idea p{line-height:1.7;margin:0;font-size:15px}.parent-body{padding:0 12px 20px}.parent-body h2{margin-bottom:20px}.parent-body p,.parent-body li{font-size:14px;line-height:1.8;color:#64715e}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0;font-size:14px}.settings-row input{width:22px;height:22px;accent-color:#55764e}.settings-row select,.gate-input{border:1px solid #c8d4bb;border-radius:10px;background:white;padding:12px;max-width:190px}.notice{font-size:12px!important;background:#eef0e4;padding:16px;border-radius:12px}.secondary{border:1px solid #cad5bd;border-radius:12px;padding:13px 18px;background:transparent;min-height:46px;margin:5px}.empty-note{padding:24px;background:#eaf0de;border-radius:16px;line-height:1.7}.parent-actions{display:flex;flex-wrap:wrap;gap:7px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@keyframes nudge{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}@media(min-width:1450px){.hero{padding-top:48px;padding-bottom:43px}}@media(max-width:800px){.site-header{padding:0 24px;height:85px}.hero{padding:20px 24px;gap:0}.hero h1{font-size:43px}.hero-copy>p{font-size:13px}.values{margin:20px 24px 0;gap:20px;font-size:10px}.garden{padding:40px 24px}.game-grid{gap:15px}.card-body{padding:16px}.card-body h3{font-size:22px}.together{margin:0 24px 35px;padding:22px;gap:15px}.together-icon{display:none}.together h2{font-size:24px}footer{padding:24px}.card-art{height:135px}}@media(max-width:600px){.site-header{height:78px;padding:0 20px}.brand{font-size:23px}.brand-mark{font-size:33px}nav>a{display:none}nav{gap:0}.parent-link{font-size:11px;padding:9px 12px}.hero{grid-template-columns:1fr;padding:25px 24px 0}.hero h1{font-size:49px;margin:20px 0}.hero-copy>p{font-size:14px}.hero-art{max-width:380px;width:100%;margin:-5px auto -10px}.hero-note{font-size:11px}.hero .primary{padding:15px 23px}.values{margin:0 20px;padding:16px 0;gap:12px;flex-wrap:wrap;justify-content:flex-start}.values span:last-child{width:100%}.garden{padding:34px 20px}.section-heading{align-items:flex-start}.section-heading>p{font-size:10px;max-width:100px;margin-top:19px}.section-heading h2{font-size:31px}.eyebrow{font-size:9px;letter-spacing:1.6px}.filter-row{gap:7px}.filter{font-size:10px;padding:8px 12px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-art{height:126px}.card-art svg{width:170px}.card-body{padding:15px 12px}.card-body h3{font-size:21px}.card-label{font-size:8px;letter-spacing:.8px}.card-body p{font-size:11px;min-height:54px}.duration{font-size:9px}.play-button{height:39px;width:39px}.together{margin:0 20px 30px;display:block}.together h2{font-size:25px}.together .text-button{margin:13px 0 0;padding-left:0}footer{margin:0 20px;padding:23px 0;flex-wrap:wrap;gap:14px}footer p{width:100%;order:3}dialog{padding:18px}.choice{min-width:82px;min-height:90px;padding:10px}.choice svg{width:52px;height:52px}.choices{gap:9px}.game-heading h2{font-size:30px}.game-heading p{font-size:14px}.finish{padding:10px 0}.settings-row{font-size:13px}.settings-row select{max-width:150px}.parent-body{padding:0 3px}.sequence-slot{width:78px}.beat{width:48px;height:48px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Keep controls clear of device cutouts in installed apps. */
body{padding-top:env(safe-area-inset-top,0px);padding-right:env(safe-area-inset-right,0px);padding-bottom:env(safe-area-inset-bottom,0px);padding-left:env(safe-area-inset-left,0px)}
dialog{max-height:calc(92dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
.offline-panel{margin:28px 0;padding:22px;background:#edf0e1;border:1px solid #d4dec8;border-radius:16px}.offline-panel h3{font-family:Georgia,serif;font-size:25px;font-weight:500;margin:12px 0}.offline-panel h4{margin-top:26px}.offline-panel .notice{background:#f8f9ef}.offline-small{font-size:12px!important}.download-link{display:inline-block;background:#fffdf5}.offline-panel [hidden]{display:none}
