@font-face{font-family:Nunito;src:url('assets/fonts/nunito-variable.ttf') format('truetype');font-style:normal;font-weight:400 900;font-display:swap}
:root{--paper:#f7f3e8;--ink:#2d493c;--muted:#6f7869;--green:#45664d;--sage:#e5eadb;--line:#dcded0;--gold:#d9a046;--coral:#bd654f;--white:#fffdf6;--shadow:0 12px 40px #354b3910;font-family:Nunito,'Trebuchet MS',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:280px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default}a{color:inherit}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--coral);outline-offset:5px}button{touch-action:manipulation}::selection{background:#e5c993;color:var(--ink)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;top:-70px;left:16px;background:var(--ink);color:white;padding:12px;z-index:50}.skip-link:focus{top:12px}.page-shell{max-width:1320px;padding:0 64px;margin:auto}.topbar{height:108px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.wordmark{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:20px;letter-spacing:-.6px;font-weight:900;white-space:nowrap}.wordmark svg{width:28px;color:var(--gold);transform:rotate(-12deg)}.wordmark-dot{color:var(--coral)}.top-actions{display:flex;align-items:center;gap:24px}.birthday-tag{display:flex;align-items:center;gap:12px;font-size:10px;letter-spacing:1.5px;font-weight:800}.birthday-tag b{font-family:Georgia,serif;display:grid;place-items:center;height:28px;width:28px;border:1px solid #d8bd81;border-radius:50%;font-size:17px;color:#99732d}.icon-button{border:1px solid var(--line);border-radius:50%;width:40px;height:40px;background:transparent;display:inline-grid;place-items:center;flex-shrink:0}.icon-button svg{width:18px;height:18px}.icon-button:hover,.help-button:hover{background:#e9ebdf}.help-button{display:flex;align-items:center;gap:8px;border:0;background:none;font-weight:800;font-size:12px;padding:8px 0}.help-button>span:first-child{border:1.5px solid #768573;border-radius:50%;width:17px;height:17px;display:grid;place-items:center;font-size:11px}.footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px 0 28px;font-size:11px;color:var(--muted)}.footer-dedication{display:flex;gap:7px;align-items:center}.footer svg{width:12px;color:var(--coral)}main{outline:none;min-height:calc(100svh - 185px)}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400}h1{font-size:clamp(56px,5.6vw,82px);letter-spacing:-3.5px;line-height:1.02}h2{font-size:38px;letter-spacing:-1.2px;line-height:1.15}h3{font-size:27px;letter-spacing:-.6px}p{font-size:16px;line-height:1.75}.eyebrow{display:block;letter-spacing:2.2px;font-size:10px;font-weight:900;color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:30px;min-height:54px;padding:14px 24px;border:1px solid transparent;border-radius:9px;font-size:14px;font-weight:900;line-height:1.4;text-decoration:none;transition:background .2s,transform .2s,box-shadow .2s}.button:hover{transform:translateY(-2px)}.button.primary{background:var(--green);color:#fffdf2;box-shadow:0 4px 0 #304d38}.button.primary:hover{background:#34563d}.button.secondary{border-color:#bac7af;background:#edf0e2}.button span[aria-hidden]{font-size:21px;font-weight:500}.text-button{border:0;border-bottom:1px solid #b7bfae;background:transparent;font-weight:800;padding:6px 0;font-size:13px;line-height:1.6}.quiet-note{font-size:12px!important;line-height:1.7!important;color:var(--muted)}
.welcome{padding:60px 0 20px}.hero{display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;min-height:560px;gap:24px}.hero-copy{position:relative;z-index:2;padding-bottom:28px}.hero-copy .eyebrow{color:#9b7036;margin-bottom:24px}.title-accent{display:inline-block;color:var(--coral);position:relative;font-style:italic}.title-accent:after{content:'';position:absolute;height:7px;border-top:2px solid #d1a36b;border-radius:50%;left:2px;right:4px;bottom:-13px;transform:rotate(-2deg)}.hero-copy>p{max-width:365px;color:#637160;font-size:15px;margin:34px 0 25px}.hero-copy .hero-note{font-size:11px;color:var(--muted);margin-top:17px;display:flex;align-items:center;gap:6px}.hero-note svg{width:14px;height:14px}.hero-art{height:560px;position:relative;margin-right:-30px}.garden-bg{position:absolute;width:100%;height:100%;object-fit:contain;inset:0;pointer-events:none}.character{position:absolute;object-fit:contain;object-position:bottom;filter:drop-shadow(0 8px 3px #3b442c0b);pointer-events:none;user-select:none}.hero-art .anya{height:61%;width:42%;left:14%;bottom:13%;z-index:3}.hero-art .alessandro{height:85%;width:50%;left:44%;bottom:14%;z-index:2;transform:rotate(3deg)}.hero-art .pandora{height:24%;width:27%;left:32%;bottom:10%;z-index:4}.speech-bubble{position:absolute;left:0;top:12%;max-width:155px;padding:14px 17px;border:1px solid #d1d8c5;background:#fffdf5;border-radius:14px 14px 3px 14px;font-size:12px;font-weight:800;line-height:1.5;z-index:5;transform:rotate(-6deg);box-shadow:0 4px 0 #cbd2bd50}.speech-bubble:after{content:'';position:absolute;width:13px;height:13px;right:12px;bottom:-8px;border-bottom:1px solid #d1d8c5;border-right:1px solid #d1d8c5;background:#fffdf5;transform:rotate(45deg)}.art-label{position:absolute;font-size:11px;font-weight:800;background:#fffdf2e8;box-shadow:0 2px 7px #3c512c10;padding:5px 13px;border-radius:30px;z-index:6}.art-label.anya-label{left:19%;bottom:7%;transform:rotate(-6deg)}.art-label.pandora-label{left:44%;bottom:2%;transform:rotate(5deg)}.birthday-sticker{position:absolute;top:1%;right:0;border:1px dashed #caa45d;border-radius:50%;width:83px;height:83px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#f6e6bb;transform:rotate(10deg);z-index:3}.birthday-sticker b{font:34px Georgia,serif;line-height:1.05}.birthday-sticker span{font-size:8px;letter-spacing:1px;font-weight:900}.hero-spark{position:absolute;color:var(--gold);width:26px;top:33%;left:1%;transform:rotate(14deg)}.hero-spark.small{width:16px;top:6%;left:45%}.welcome-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 32px}.welcome-bottom p{font-size:11px;color:var(--muted)}.pause-button{display:flex;gap:7px;align-items:center;font-size:12px;font-weight:800;border:0;background:none;padding:10px}.pause-button svg{height:15px;width:15px}.growth-track{display:flex;gap:5px;grid-column:1/-1}.growth-tick{height:7px;background:#e2e5d6;border-radius:10px;flex:1;transition:background .4s}.growth-tick.filled{background:#d5a055}.growth-tick.danger{background:#bd654f}.question{font-size:16px;line-height:1.6;font-weight:800;margin-bottom:18px}.answer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.answer-button{min-height:68px;border:1px solid #d6dbc9;border-radius:10px;background:#fffdf4;font-size:27px;font-weight:800;box-shadow:0 3px 0 #e3e6d7;transition:background .15s,transform .15s}.answer-button:hover:not(:disabled){background:#eaf0df;border-color:#8fa37e;transform:translateY(-2px)}.answer-button:disabled{opacity:.55}.answer-button.wrong{background:#f5dfd5;border-color:#c78e78;color:#9b4d3c;opacity:1}.answer-button.correct{background:#e4edd5;border-color:#7d9c67;opacity:1}.choice-list{display:grid;gap:10px}.choice-list .answer-button{min-height:58px;font-size:14px;text-align:left;padding:15px 18px;display:flex;align-items:center;gap:13px}.option-dot{display:grid;place-items:center;font:15px Georgia,serif;border:1px solid #c8d1bd;border-radius:50%;width:27px;height:27px;flex-shrink:0}.math-garden{display:flex;align-items:center;justify-content:center;gap:13px;padding:19px 10px 16px;background:#eef0e2;border-radius:14px;margin-bottom:22px}.flower-group{display:flex;flex-wrap:wrap;justify-content:center;max-width:150px;gap:5px}.flower-group svg{width:25px;height:25px}.math-sign{font-size:26px;font-family:Georgia,serif;color:#849273}.pattern-row{display:flex;gap:8px;justify-content:center;margin-bottom:23px}.pattern-stone{flex:1;max-width:65px;min-height:68px;display:grid;place-items:center;background:#e5ead8;border-radius:50% 50% 38% 38%;font:28px Georgia,serif;color:#526c4b;position:relative}.pattern-stone:after{content:'';position:absolute;left:22%;right:22%;bottom:8px;border-top:1px solid #bbc8a8}.pattern-stone:last-child{background:#f3e5c1;color:#9e7c36;border:1px dashed #c8ac6a}.feedback{min-height:46px;font-size:12px;line-height:1.6;margin-top:15px;display:flex;align-items:flex-start;gap:8px;color:var(--muted)}.feedback.error{color:#a15744}.feedback.success{color:#50753c}.feedback svg{width:17px;height:17px;flex-shrink:0;margin-top:1px}.hint-panel{display:flex;align-items:center;gap:12px;margin-top:12px;border-top:1px solid var(--line);padding-top:18px}.hint-portrait{width:43px;height:43px;flex-shrink:0;object-fit:contain;background:#e9ebde;border-radius:50%;border:1px solid #d5ddc7}.hint-button{font-size:12px;font-weight:900;border:0;background:none;padding:8px 0;text-align:left;display:flex;align-items:center;gap:12px}.hint-button svg{width:16px;height:16px;color:#a68542}.hint-copy{font-size:12px;color:var(--muted);line-height:1.65}.hint-button:disabled{color:var(--muted)}
.memory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.memory-card{height:90px;background:#dfe7d2;border:1px solid #c6d3b9;border-radius:12px;box-shadow:0 3px 0 #ced8c1;display:flex;align-items:center;justify-content:center;position:relative;transition:background .2s,transform .2s}.memory-card:hover:not(:disabled){transform:translateY(-2px);background:#d3dfc3}.memory-card>svg{width:38px;height:38px}.memory-card .card-back{width:28px;height:28px;color:#7d9670}.memory-card.revealed{background:#fffdf3;border-color:#ccb97e}.memory-card.matched{background:#f4e7bd;border-color:#d5c282;box-shadow:0 3px 0 #e5d7a6}.memory-card .matched-check{position:absolute;right:7px;top:7px;font-size:12px;color:#6d8a4d}.memory-progress{font-size:11px;color:var(--muted);margin-bottom:12px}.word-slots{display:flex;gap:7px;justify-content:center;margin:20px 0}.word-slot{display:grid;place-items:center;width:48px;height:54px;border-bottom:2px solid #b7c4a5;background:#edf0e3;border-radius:6px 6px 0 0;font-size:24px;font-weight:900}.letter-tiles{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}.letter-tile{min-width:48px;min-height:50px;border:1px solid #d4c99d;border-radius:8px;background:#f7e9c3;box-shadow:0 3px 0 #e4d4a5;font-size:22px;font-weight:900}.letter-tile:disabled{opacity:.25}.word-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:19px}.word-actions .button{min-height:44px;font-size:12px;padding:10px 18px;gap:13px}.word-actions .button:disabled{opacity:.45;transform:none}.recipe-peek{display:flex;gap:8px;justify-content:center;margin:20px 0 22px}.recipe-step{background:#f5e9c5;border:1px solid #dfcc94;border-radius:12px;display:flex;flex:1;max-width:83px;align-items:center;flex-direction:column;padding:13px 5px;gap:7px}.recipe-step svg{width:28px;height:28px}.recipe-step small{font-size:10px;font-weight:900}.recipe-step b{font:13px Georgia,serif;color:#a38b4b}.recipe-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.recipe-button{border:1px solid #d5dbc9;border-radius:12px;background:#fffdf2;min-height:85px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;font-size:11px;font-weight:900}.recipe-button svg{width:30px;height:30px}.recipe-button:hover{background:#edf0df}.recipe-dots{display:flex;justify-content:center;gap:10px;margin:15px 0 24px}.recipe-dot{width:15px;height:15px;border:1px solid #c7cfb9;border-radius:50%;background:#e6eadb}.recipe-dot.done{background:#d4a04c;border-color:#bd8c3a}.recipe-reminder{font-size:12px;color:var(--muted);margin-bottom:15px}.recipe-study-button{display:block;margin:0 auto}.reward-icon{width:80px;height:80px;display:grid;place-items:center;border:1px solid #decb94;border-radius:50%;background:#f5e6bb;margin-bottom:24px;box-shadow:0 0 0 9px #f0e8cd80}.reward-icon svg{width:40px;height:40px}.end-screen{padding:48px 0 44px;display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}.end-copy .eyebrow{margin-bottom:20px;color:#9b7036}.end-copy h1{font-size:58px;letter-spacing:-2px;line-height:1.1}.end-copy>p{margin:24px 0;color:var(--muted);font-size:15px;max-width:420px}.end-copy .button{margin-right:15px}.birthday-message{font:italic 19px/1.5 Georgia,serif;margin:24px 0;color:var(--coral)}.end-badge{display:inline-flex;align-items:center;gap:9px;font-size:11px;font-weight:900;padding:8px 12px;border-radius:5px;border:1px solid #dbd2ad;background:#f5ebcf;margin-bottom:20px}.end-badge svg{width:18px;height:18px}.end-note{font-size:11px;color:var(--muted);margin-top:20px}.confetti{position:fixed;inset:0;pointer-events:none;z-index:30;overflow:hidden}.confetti span{position:absolute;top:-25px;width:7px;height:13px;opacity:0;animation:confetti-fall 3.5s ease-out forwards}
dialog{border:1px solid #d8ddc9;border-radius:20px;max-width:480px;width:calc(100% - 32px);padding:40px;background:var(--paper);color:var(--ink);box-shadow:0 25px 100px #20382935}dialog::backdrop{background:#253c2d70;backdrop-filter:blur(4px)}dialog .eyebrow{margin-bottom:17px}dialog h2{font-size:32px;margin-bottom:20px}dialog>p{font-size:14px;color:var(--muted)}.dialog-close{position:absolute;right:15px;top:15px;font-size:25px;border:0}.help-list{padding-left:19px;font-size:13px;line-height:1.75;margin:20px 0}.help-list li{margin:12px 0;padding-left:5px}.help-list b{color:var(--ink)}dialog .button{margin-top:24px;width:100%}.dialog-actions{display:flex;align-items:center;flex-direction:column;gap:20px}.shake{animation:shake .35s ease}.appear{animation:appear .45s ease}
@keyframes appear{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}@keyframes confetti-fall{0%{opacity:0;transform:translateY(0) rotate(0)}10%{opacity:1}90%{opacity:1}100%{opacity:0;transform:translateY(100vh) rotate(650deg)}}
@media(min-width:1450px){.welcome{padding-top:75px}.hero-art{height:600px}.hero{min-height:600px}}
@media(max-width:1100px){.page-shell{padding:0 36px}.top-actions{gap:17px}.hero{grid-template-columns:1fr 1.1fr}.hero-art{height:490px;margin-right:-20px}.hero-copy h1{font-size:64px}.hero-copy>p{font-size:14px}.speech-bubble{top:10%;left:-3%;font-size:11px;max-width:135px}.birthday-sticker{height:69px;width:69px}.birthday-sticker b{font-size:29px}.end-copy h1{font-size:50px}}
@media(max-width:760px){.page-shell{padding:0 23px}.topbar{height:82px}.wordmark{font-size:17px;gap:8px}.wordmark svg{width:23px}.birthday-tag{display:none}.top-actions{gap:15px}.help-label{display:none}.help-button{padding:10px 0}.help-button>span:first-child{width:20px;height:20px}.icon-button{width:36px;height:36px}.footer{font-size:10px;padding:19px 0 24px;align-items:flex-start}.footer>span:first-child{max-width:150px}.footer-dedication{white-space:nowrap;font-size:9px}.welcome{padding-top:35px}.hero{display:flex;flex-direction:column;gap:10px;min-height:auto}.hero-copy{width:100%;padding-bottom:0}.hero-copy h1{font-size:61px;letter-spacing:-2.5px}.hero-copy h1 br:nth-of-type(2){display:none}.hero-copy .eyebrow{font-size:9px;letter-spacing:1.8px;margin-bottom:20px}.hero-copy>p{font-size:14px;max-width:355px;margin:27px 0 23px}.hero-copy .button{width:auto;min-width:220px}.hero-copy .hero-note{font-size:10px;margin-top:14px}.hero-art{width:100%;height:405px;max-width:490px;margin:7px 0 0}.speech-bubble{top:14%;left:1%;max-width:126px;font-size:10px;padding:11px 13px}.birthday-sticker{top:6%;right:0}.hero-art .anya{height:60%;left:15%}.hero-art .pandora{left:37%}.hero-art .alessandro{left:49%}.art-label{font-size:9px;padding:4px 10px}.art-label.anya-label{bottom:5%}.welcome-bottom{padding-bottom:22px;display:block}.welcome-bottom p{font-size:10px;max-width:300px}.growth-track{gap:3px}.growth-tick{height:5px}.question{font-size:15px;margin-bottom:14px}.math-garden{padding:16px 10px;margin-bottom:18px}.flower-group{max-width:130px;gap:4px}.flower-group svg{width:22px;height:22px}.answer-button{min-height:61px;font-size:25px}.feedback{font-size:12px;min-height:36px;margin-top:13px}.hint-panel{margin-top:8px;padding-top:13px}.hint-portrait{width:37px;height:37px}.memory-card{height:79px}.pattern-stone{min-height:61px}.reward-icon{width:65px;height:65px;margin-bottom:22px}.reward-icon svg{width:32px;height:32px}.end-screen{display:flex;flex-direction:column;gap:12px;padding:35px 0 25px;align-items:stretch}.end-copy h1{font-size:47px;letter-spacing:-1.6px}.end-copy .eyebrow{font-size:9px;margin-bottom:15px}.end-copy>p{font-size:14px;max-width:360px;margin:20px 0}.birthday-message{font-size:18px}.end-badge{margin-bottom:15px}.end-note{font-size:10px}.end-copy .button{margin-right:12px;margin-bottom:9px}.word-slot{width:43px}.word-slots{gap:5px}.letter-tile{min-width:43px}.recipe-button{min-height:78px}.recipe-step{max-width:75px}.help-list{font-size:12px}dialog{padding:32px 25px}dialog h2{font-size:29px}}
@media(max-width:360px){.page-shell{padding:0 17px}.wordmark{font-size:15px}.hero-copy h1{font-size:53px}.hero-art{height:350px}.letter-tile{min-width:39px}.word-slot{width:39px}.word-actions .button{padding:10px 13px}.recipe-options{gap:5px}.recipe-button{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.confetti{display:none}}
.button>.symbol{width:18px;height:18px;flex-shrink:0}