:root{--ink:#203d3c;--paper:#f7f5ec;--mint:#c8e8d7;--coral:#ed785e;--line:#d9ded1;--yellow:#f2d776}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Trebuchet MS',Arial,sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #3977ac;outline-offset:5px}[hidden]{display:none!important}header,main,footer{max-width:1160px;margin:auto}header{padding:30px 40px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit;font-size:19px;letter-spacing:-.6px}.brand-icon{font-size:34px;color:var(--coral)}.brand b{font-weight:900}.top-note{font-size:12px;opacity:.7}main{padding:48px 40px 70px;min-height:calc(100vh - 170px)}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px}h1{font-size:clamp(40px,5.6vw,66px);letter-spacing:-3px;line-height:1.05;margin:22px 0;font-weight:800}h2{font-size:20px;letter-spacing:-.6px}.coral{color:var(--coral)}.intro{font-size:17px;line-height:1.65;opacity:.8}.hero{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;padding:4px 0 52px}.hero-art{height:260px;position:relative;max-width:430px}.tile{position:absolute;width:120px;height:140px;display:grid;place-items:center;border-radius:24px;font-size:78px;font-weight:bold;box-shadow:0 9px 0 rgba(32,61,60,.12)}.tile-one{background:var(--mint);left:18px;top:64px;transform:rotate(-12deg)}.tile-two{background:var(--coral);left:132px;top:18px;transform:rotate(9deg);color:var(--paper);z-index:2}.tile-three{background:var(--yellow);left:238px;top:79px;transform:rotate(15deg)}.orbit{position:absolute;left:40px;top:0;color:var(--coral);font-size:42px}.spark{position:absolute;right:18px;top:0;font-size:38px}.art-caption{position:absolute;bottom:0;left:97px;font-size:9px;letter-spacing:2px;transform:rotate(-3deg)}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.section-heading h2{margin:0}.section-heading>span,.shelf-note{font-size:12px;opacity:.65}.app-card{display:flex;text-align:left;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:#fffefa;padding:0;width:100%;max-width:680px;box-shadow:0 5px 0 #e8eadd;transition:transform .2s}.app-card:hover{transform:translateY(-4px)}.card-art{background:var(--mint);display:grid;grid-template-columns:1fr 1fr;align-content:center;gap:10px;padding:36px;width:210px;flex-shrink:0}.card-art span{border:1px solid #203d3c38;display:grid;place-items:center;border-radius:12px;font-size:36px;height:60px}.card-art span:nth-child(2){background:var(--paper);transform:rotate(8deg)}.card-body{display:flex;flex-direction:column;gap:12px;padding:29px}.card-body strong{font-size:26px;letter-spacing:-1px}.card-body>span:not(.eyebrow):not(.card-go){font-size:14px;line-height:1.5;opacity:.8}.card-go{font-size:13px;font-weight:bold;display:flex;justify-content:space-between;align-items:center;margin-top:5px}.card-go b{background:var(--ink);color:white;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;font-size:22px}.shelf-note{margin-top:24px}footer{border-top:1px solid var(--line);padding:22px 40px;display:flex;justify-content:space-between;gap:18px;font-size:10px;opacity:.65}.text-button{border:0;background:none;padding:10px 0;font-size:13px}.setup-heading{margin-top:25px}.setup-heading h1{font-size:48px}.setting-block{padding:22px 0}.step{display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:50%;width:28px;height:28px;margin-right:9px;font-size:10px;vertical-align:middle}.operations{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.operations label,.segmented label,.times label{position:relative;cursor:pointer}.operations input,.segmented input,.times input{position:absolute;opacity:0;pointer-events:none}.operations span{display:flex;gap:15px;align-items:center;padding:20px 16px;border:1px solid var(--line);border-radius:12px;background:#fffefa;font-size:14px}.operations b{font-size:28px}.operations input:checked+span,.segmented input:checked+span,.times input:checked+span{background:var(--mint);border:2px solid var(--ink)}.operations input:checked+span{padding:19px 15px}.operations input:focus-visible+span,.segmented input:focus-visible+span,.times input:focus-visible+span{outline:3px solid #3977ac;outline-offset:3px}.hint{font-size:12px;line-height:1.6;opacity:.72}.settings-row{display:grid;grid-template-columns:1fr 1fr;gap:36px;border-top:1px solid var(--line)}.segmented{display:flex;gap:10px}.segmented span{display:flex;flex-direction:column;gap:7px;background:#fffefa;border:2px solid var(--line);border-radius:12px;padding:17px;font-size:11px}.segmented b{font-size:15px}.times{display:flex;gap:6px;flex-wrap:wrap}.times span{display:block;padding:14px 12px;border:2px solid var(--line);border-radius:10px;font-size:12px;background:#fffefa}.custom-time{display:flex;gap:12px;align-items:center;margin-top:14px;font-size:12px}.custom-time input{width:85px;border:1px solid var(--line);padding:8px;border-radius:6px}.launch-row{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding-top:24px}.launch-row p{font-size:13px;line-height:1.6}.primary{border:0;border-radius:12px;background:var(--ink);color:white;padding:19px 26px;font-size:16px;font-weight:bold;display:inline-flex;align-items:center;justify-content:center;gap:32px;box-shadow:0 4px 0 #102726}.primary:hover{background:#2c5550}.primary:active{transform:translateY(2px);box-shadow:0 2px 0 #102726}.primary:disabled{opacity:.6;cursor:default}.error{color:#a23927;font-size:13px}.play-top{display:flex;align-items:center;justify-content:space-between;padding-bottom:28px}.play-title{letter-spacing:2px;font-size:10px}.score{font-size:13px}.score b{font-size:20px}.game-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;max-width:850px;margin:10px auto}.question-panel{background:var(--mint);border-radius:28px;padding:25px 36px;text-align:center}.timer-label{font-size:9px;letter-spacing:2px}#timer{font-size:29px;font-weight:bold;margin:6px}.timer-track{height:5px;border-radius:8px;background:#203d3c18;overflow:hidden;max-width:230px;margin:10px auto 24px}#timeBar{height:100%;width:100%;background:var(--ink);transition:width .2s linear}.equation{width:200px;margin:auto;font-size:64px;font-weight:bold;font-variant-numeric:tabular-nums;text-align:right;letter-spacing:2px;line-height:1.25}.equation>div:not(.answer){display:flex;justify-content:space-between}.answer{border-top:3px solid var(--ink);margin-top:12px;padding-top:8px;min-height:89px;color:#335c53}.answer.empty{opacity:.45}#feedback{height:24px;margin:18px 0 0;font-size:15px;font-weight:bold}.keypad-panel{padding:14px 0}.keypad-title{font-size:22px;font-weight:bold;margin:0}.keypad-panel .hint{margin-bottom:20px}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.keypad button{height:65px;border:1px solid var(--line);border-radius:12px;background:#fffefa;font-size:28px;font-weight:bold;box-shadow:0 3px 0 #e2e4d8;touch-action:manipulation}.keypad button:hover{background:#e8eddf}.keypad button:active{transform:translateY(2px)}.keypad .utility{font-size:14px;background:#e9eddf}.check{width:100%;margin-top:16px}.keyboard-note{font-size:10px;text-align:center;opacity:.6;margin-top:18px}#results{text-align:center;max-width:760px;margin:0 auto}.result-star{font-size:70px;color:var(--coral);margin-bottom:20px}.stats{display:grid;grid-template-columns:repeat(3,1fr);background:var(--mint);border-radius:20px;margin:34px 0;padding:28px 10px}.stats div+div{border-left:1px solid #203d3c30}.stats strong{display:block;font-size:38px;margin-bottom:10px}.stats span{font-size:12px}.result-actions{display:flex;justify-content:center;gap:15px;align-items:center;flex-wrap:wrap;margin:30px 0}.secondary{padding:18px 24px;border:1px solid var(--ink);border-radius:12px;background:transparent;font-weight:bold}#encouragement{font-size:14px}.correct-flash{background:#a9dcc0}.low-time #timer{color:#9a3626}@media(max-width:760px){header{padding:18px 22px}.top-note{display:none}main{padding:30px 22px 45px}.hero{grid-template-columns:1fr;padding-bottom:30px}.hero-art{height:225px;width:330px;margin:20px auto 0;transform:scale(.85);transform-origin:center}.tile-three{left:215px}.hero h1{font-size:49px}.hero .intro{font-size:15px}.section-heading>span{display:none}.card-art{padding:22px;width:145px;gap:8px}.card-art span{height:46px;font-size:28px}.card-body{padding:20px;gap:9px}.card-body .eyebrow{font-size:8px;letter-spacing:1px}.card-body strong{font-size:22px}.card-body>span:not(.eyebrow):not(.card-go){font-size:12px}footer{padding:20px 22px;flex-wrap:wrap}footer span:nth-child(2){display:none}.setup-heading h1{font-size:40px;letter-spacing:-2px}.operations{grid-template-columns:1fr 1fr}.settings-row{grid-template-columns:1fr;gap:0}.setting-block{padding:15px 0}.launch-row{gap:18px}.launch-row .primary{font-size:14px;padding:18px;gap:15px}.game-grid{grid-template-columns:1fr;gap:18px;max-width:400px;margin-top:0}.play-top{padding-bottom:15px}.play-title{display:none}.question-panel{padding:17px 28px;border-radius:20px;position:relative}.timer-label{font-size:8px}#timer{font-size:23px}.timer-track{margin:7px auto 12px}.equation{font-size:45px;width:170px;line-height:1.1}.answer{min-height:58px;padding-top:6px;margin-top:6px}#feedback{font-size:13px;margin-top:10px;height:18px}.keypad-panel{padding:0}.keypad-title,.keypad-panel>.hint{display:none}.keypad button{height:52px;font-size:24px}.keypad{gap:8px}.check{padding:15px;margin-top:12px}.keyboard-note{margin:12px 0 0}.stats{padding:22px 5px}.stats strong{font-size:30px}.stats span{font-size:10px}#results h1{font-size:43px}.result-star{font-size:55px}.result-actions{gap:12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Growing learning shelf and one-attempt rounds */
.app-shelf{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.app-shelf .app-card{grid-column:1/-1}.future-card{background:#f0f0e5;border:1px dashed #b8c6b8;border-radius:20px;padding:25px}.future-symbol{display:inline-grid;place-items:center;width:54px;height:54px;border-radius:14px;background:#e6d9ed;font-size:24px;font-weight:bold;float:right}.future-symbol.games{background:#f1df9b}.future-card h3{font-size:23px;margin:14px 0 10px;letter-spacing:-.7px}.future-card p{font-size:13px;line-height:1.6;max-width:280px;opacity:.8}.coming-soon{display:inline-block;font-size:10px;border:1px solid #bdc8b9;border-radius:20px;padding:7px 11px;margin-top:8px}.incorrect-flash{background:#f4d3b8}.incorrect-flash #feedback,.incorrect-flash .answer{color:#8b3b21}.correct-flash #feedback{color:#1c5d3d}.countdown{min-height:450px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.countdown p{font-size:21px}.countdown strong{font-size:clamp(100px,20vw,180px);color:var(--coral);line-height:1.3;letter-spacing:-8px}.countdown>span{font-size:13px;opacity:.7}.review-section{margin:30px 0}.review-section>button{background:#f4d3b8;border-color:#cfa37e}.review-row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:18px 20px;background:#fffefa;border:1px solid var(--line);border-radius:12px;margin-top:10px;text-align:left}.review-row strong{font-size:22px}.review-row span{font-size:13px;color:#8b3b21}body.playing footer{display:none}
@media(max-width:760px){.app-shelf{gap:14px}.future-card{padding:18px;grid-column:1/-1}.future-card h3{font-size:21px}.playing header{padding:8px 18px}.playing .brand{font-size:16px}.playing .brand-icon{font-size:25px}.playing main{padding:8px 18px max(8px,env(safe-area-inset-bottom));min-height:0}.playing .play-top{padding-bottom:8px;min-height:38px}.playing .game-grid{gap:10px}.playing .question-panel{padding:9px 20px}.playing .timer-label{display:none}.playing #timer{font-size:21px;margin:0}.playing .timer-track{margin:5px auto 9px}.playing .equation{font-size:40px;line-height:1.05;width:160px}.playing .answer{min-height:49px;padding-top:5px}.playing #feedback{font-size:12px;margin-top:7px}.playing .keypad button{height:clamp(44px,6.6svh,54px)}.playing .keypad{gap:7px}.playing .check{min-height:44px;padding:12px;margin-top:10px}.playing .keyboard-note{display:none}.countdown{min-height:calc(100svh - 150px)}.review-row strong{font-size:20px}.review-row span{font-size:11px}}
@media(max-width:760px) and (max-height:700px){.playing .equation{font-size:33px;width:145px}.playing .answer{min-height:40px}.playing .question-panel{padding:7px 18px}.playing .game-grid{gap:8px}.playing #feedback{margin-top:5px}.playing .keypad button{height:44px}.playing .check{margin-top:8px;padding:10px}}
@media(max-width:760px) and (orientation:landscape){.playing .game-grid{grid-template-columns:1fr 1fr;max-width:650px;align-items:center;gap:20px}.playing .keypad button{height:36px}.playing .question-panel{padding:8px 20px}.playing .equation{font-size:32px}.playing .check{min-height:38px;padding:8px}.playing header{display:none}.playing .play-top{padding:0;min-height:32px}}

/* Shared success feedback: no focus stealing, flashing, or input interception. */
.celebration{position:fixed;z-index:20;top:max(70px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);padding:18px 28px;border-radius:22px;background:#e4f7cd;color:#23543b;border:2px solid #84b588;box-shadow:0 9px 24px #203d3c24;font-size:clamp(22px,5vw,32px);font-weight:bold;white-space:nowrap;pointer-events:none;animation:celebrate-in .25s ease-out}
@keyframes celebrate-in{from{opacity:0;transform:translate(-50%,10px) scale(.92)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
@media(prefers-reduced-motion:reduce){.celebration{animation:none}}
#newGamesShelf{display:contents}.learning-card{padding:25px;border:1px solid var(--line);border-radius:20px;background:#fffefa;text-align:left;display:flex;flex-direction:column;gap:14px;min-height:220px}.learning-card:hover{background:#eff4e8}.learning-icon{display:grid;place-items:center;width:58px;height:52px;background:#e6d9ed;border-radius:13px;font-size:24px;font-weight:bold}.learning-card:nth-child(2n) .learning-icon{background:var(--yellow)}.learning-card strong{font-size:24px;letter-spacing:-1px}.learning-card>span:not(.learning-icon){font-size:14px;line-height:1.5}.learning-card>b{font-size:13px;margin-top:auto}#gameSetup{max-width:850px;margin:auto}#gamePlay{max-width:760px;margin:auto}.adventure-question{padding:25px;background:var(--mint);border-radius:22px;text-align:center}.adventure-question h2{font-size:25px;line-height:1.4;margin:0 0 15px}#gameDisplay{font-size:clamp(24px,5vw,42px);font-weight:bold;word-spacing:8px}#gameResponse{font-size:32px;min-height:40px;margin-top:12px;font-weight:bold}#gameFeedback{font-size:14px;margin:8px 0 0;min-height:20px}.listen-row{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:12px}.listen-row .secondary{padding:10px 16px}#parentPrompt{text-align:left;margin:15px auto 0;max-width:420px;font-size:12px}#parentPrompt summary{cursor:pointer;padding:6px}#parentPrompt p{margin:10px}.word-choices,.letter-choices,.number-choices{display:grid;gap:10px;margin:20px 0}.word-choices{grid-template-columns:repeat(2,1fr)}.letter-choices{grid-template-columns:repeat(auto-fit,minmax(48px,1fr))}.number-choices{grid-template-columns:repeat(5,1fr)}#gameChoices button{border:1px solid var(--line);border-radius:12px;background:#fffefa;min-height:52px;font-size:22px;box-shadow:0 3px 0 #e2e4d8}#gameChoices button[aria-pressed=true]{background:var(--yellow);border:2px solid var(--ink)}#gameChoices button:disabled{opacity:.55}.answer-tools{display:flex;gap:12px;justify-content:center}.answer-tools .primary{flex:1}.answer-tools .secondary{padding:12px 18px}#gameBoard.right .adventure-question{background:#a9dcc0}#gameBoard.wrong .adventure-question{background:#f4d3b8}#gameBoard.wrong #gameFeedback{color:#8b3b21}#gameResults{text-align:center;max-width:850px;margin:auto}body.adventure-playing footer{display:none}body.adventure-playing main{min-height:0}@media(max-width:760px){.learning-card{grid-column:1/-1;min-height:190px}.adventure-playing header{padding:8px 18px}.adventure-playing main{padding:8px 18px max(8px,env(safe-area-inset-bottom))}.adventure-playing .play-top{padding-bottom:10px;font-size:12px}.adventure-question{padding:15px}.adventure-question h2{font-size:20px;margin-bottom:8px}.listen-row{margin-top:8px;gap:6px}.listen-row .hint{font-size:10px}.listen-row .secondary{font-size:13px;padding:8px 12px}#parentPrompt{margin-top:8px}#gameResponse{font-size:28px;min-height:33px;margin-top:8px}#gameFeedback{font-size:12px}.word-choices,.letter-choices,.number-choices{gap:8px;margin:14px 0}#gameChoices button{min-height:46px;font-size:20px}.answer-tools{gap:8px}.answer-tools .secondary{padding:10px;font-size:12px}.answer-tools .primary{padding:13px;font-size:14px}#gameSetup .segmented{flex-wrap:wrap}#gameSetup .segmented span{padding:14px}#gameResults .review-row{flex-direction:column;align-items:flex-start}#gameResults .review-row strong{font-size:18px}.adventure-playing .brand-icon{font-size:25px}.adventure-playing .brand{font-size:16px}}
.audio-option{display:flex;align-items:center;gap:12px;line-height:1.5;font-weight:bold}.audio-option input{width:22px;height:22px;accent-color:var(--ink)}
.segmented{flex-wrap:wrap}#mathGrade,select{font:inherit;max-width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fffefa;color:var(--ink)}#mathGrade{display:block;margin-top:12px}.voice-settings label{display:block;margin:12px 0}.voice-settings select{margin-left:10px}#weeks{max-width:800px;margin:auto}.privacy-note{font-size:13px;line-height:1.6;background:#e9eddf;padding:18px;border-radius:12px}#weekForm label{display:block;margin:18px 0;font-weight:bold;font-size:14px}#weekForm input,#weekForm textarea{display:block;width:100%;margin-top:9px;padding:13px;border:1px solid var(--line);border-radius:10px;font:inherit;background:#fffefa;color:var(--ink)}.week-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:13px 0;gap:15px}.week-row label{display:flex;gap:12px;align-items:center}.week-row input{width:22px;height:22px;accent-color:var(--ink)}.week-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.import-label{display:flex;flex-direction:column;gap:8px;font-size:12px}.import-label input{max-width:230px}.equation .answer{font-size:clamp(28px,4vw,48px);overflow-wrap:anywhere}.letter-choices{grid-template-columns:repeat(auto-fit,minmax(42px,1fr))}#gameDisplay{overflow-wrap:anywhere;word-spacing:3px}@media(max-width:760px){.voice-settings select{margin:6px 0;width:100%}.week-actions .secondary{padding:12px;font-size:13px}.equation .answer{font-size:30px}.equation{font-size:36px}}
.learning-category{margin-top:38px}.category-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:16px;border-top:1px solid var(--line);padding-top:22px}.category-heading h2{font-size:27px;margin:0;letter-spacing:-1px}.category-heading p{font-size:12px;opacity:.75;margin:0}#mathGames .app-card{max-width:none}#readingGames .learning-card:nth-child(3) .learning-icon{background:var(--mint)}#writingGames .learning-icon{background:#f2d776}@media(max-width:760px){.category-heading{display:block}.category-heading p{margin-top:8px}.learning-category{margin-top:28px}.category-heading h2{font-size:24px}}
.dedication{margin:38px 0 0;font-size:11px;letter-spacing:.3px;color:#5c7068;text-align:center}
.sound-toggle{display:flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap;cursor:pointer}.sound-toggle input{width:18px;height:18px;accent-color:var(--ink)}@media(max-width:760px){.sound-toggle{font-size:10px;gap:5px}.sound-toggle input{width:18px;height:18px}.playing header,.adventure-playing header,.tracing-playing header{gap:10px}}
@media(max-width:760px){header{gap:8px}.brand{font-size:17px}.brand-icon{font-size:30px}.sound-toggle{flex-shrink:0}}

/* Extended literacy activities keep passages readable and word tiles tappable. */
#gameBoard.reading-passage #gameDisplay{font-size:clamp(18px,2.8vw,23px);font-weight:500;line-height:1.6;word-spacing:normal;text-align:left;white-space:pre-line;overflow-wrap:normal}#gameBoard.reading-passage #gameChoices button{font-size:17px;padding:12px;line-height:1.4}.sentence-choices{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin:18px 0}.sentence-choices button{padding:10px 16px}#gameBoard.sentence-building #gameResponse{font-size:clamp(20px,3vw,28px);line-height:1.4;overflow-wrap:anywhere}#gameBoard.sentence-building #gameDisplay{font-size:18px;line-height:1.5;word-spacing:normal}@media(max-width:600px){#gameBoard.reading-passage .word-choices{grid-template-columns:1fr}#gameBoard.reading-passage #gameChoices button{font-size:16px;min-height:46px}.sentence-choices{gap:7px;margin:12px 0}.sentence-choices button{padding:9px 12px!important;font-size:18px!important}}

.guided-choice{display:flex;align-items:center;gap:24px;background:#e2ecd9;border:1px solid var(--line);padding:24px;border-radius:18px;margin:22px 0 32px}.guided-choice h2{font-size:25px;margin:10px 0}.guided-choice p{font-size:14px;line-height:1.6;max-width:500px}.guided-choice .primary{flex-shrink:0}.quiz-heading{font-size:25px}@media(max-width:700px){.guided-choice{align-items:stretch;flex-direction:column;gap:10px;padding:20px}.guided-choice .primary{width:100%}}

.guided-inline{padding:18px 20px;border:1px solid var(--line);border-radius:14px;background:#e2ecd9;margin:0 0 24px}.guided-inline>label{display:flex;align-items:center;gap:13px;cursor:pointer}.guided-inline input{width:23px;height:23px;accent-color:var(--ink);flex-shrink:0}.guided-inline small{display:block;font-size:13px;font-weight:normal;margin-top:6px}.guided-inline .hint{margin-bottom:0;line-height:1.5}

.active-game-title{font-size:19px;line-height:1.25;letter-spacing:-.35px;margin:0 0 10px;font-weight:800;color:var(--ink)}@media(max-width:760px){.active-game-title{font-size:16px;margin:0 0 6px}}
/* A smaller welcome gets families straight to the learning shelf. */
#home .compact-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:0 0 20px;min-height:0}#home .compact-hero h1{font-size:clamp(29px,3.5vw,42px);letter-spacing:-1.5px;line-height:1.1;margin:10px 0}#home .compact-hero .intro{font-size:15px;margin:0;line-height:1.4}.compact-hero-tiles{display:flex;gap:8px;padding:8px 15px;flex-shrink:0}.compact-hero-tiles span{display:grid;place-items:center;width:58px;height:65px;border-radius:14px;font-size:35px;font-weight:bold;background:var(--mint);transform:rotate(-7deg);box-shadow:0 4px 0 #dbe1d5}.compact-hero-tiles span:nth-child(2){background:var(--coral);color:var(--paper);transform:rotate(6deg)}.compact-hero-tiles span:last-child{background:var(--yellow);transform:rotate(-3deg)}.stage-tabs{display:flex;gap:10px;margin:18px 0 25px}.stage-tabs button{display:flex;flex-direction:column;gap:5px;min-height:64px;min-width:180px;padding:12px 20px;border:1px solid var(--line);border-radius:14px;background:#fffefa;text-align:left;font-weight:bold;font-size:18px}.stage-tabs button span{font-size:12px;font-weight:normal}.stage-tabs button[aria-selected=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}#home .app-shelf{grid-template-columns:repeat(3,minmax(0,1fr))}#home .learning-card{grid-column:auto;min-width:0}@media(max-width:959px){#home .app-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:599px){#home .app-shelf{grid-template-columns:minmax(0,1fr)}#home .compact-hero{gap:10px}#home .compact-hero h1{font-size:29px}.compact-hero-tiles{gap:4px;padding:0}.compact-hero-tiles span{width:33px;height:42px;font-size:25px;border-radius:9px}.stage-tabs{gap:8px}.stage-tabs button{min-width:0;flex:1;padding:12px;font-size:17px}.stage-tabs button span{font-size:11px}#home .section-heading>span{display:none}}@media(max-width:359px){.compact-hero-tiles{display:none}}
/* Four-across wide shelves, with readable cards at smaller widths. */
#home .app-shelf{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}#home .lab-art-card .lab-card-example{width:110px;height:82px;right:14px}#home .learning-card{padding:22px;min-height:260px}#home .learning-card strong{font-size:22px}@media(max-width:1099px){#home .app-shelf{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:899px){#home .app-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:599px){#home .app-shelf{grid-template-columns:minmax(0,1fr)}#home .learning-card{min-height:235px}#home .lab-art-card .lab-card-example{width:130px;height:90px;right:18px}}
