:root{--ink:#202c32;--muted:#5d6b70;--paper:#f7f9f8;--line:#dce4e1;--green:#254f42;--mint:#d8eee5;--lilac:#e7e2f5;--peach:#fae5d9;--blue:#dfecf7;--yellow:#f6edc9;--pink:#f3e1eb;font-family:'Segoe UI',system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0}button,input,select{font:inherit}a{color:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9771da;outline-offset:4px}.wrap{width:min(1200px,calc(100% - 80px));margin:auto}.site-header{height:112px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:750;font-size:21px;letter-spacing:-.6px}.brand-mark{font-size:42px;color:var(--green);line-height:1}.brand small{display:block;letter-spacing:2.3px;font-size:10px;margin-top:5px;color:var(--muted)}nav{display:flex;gap:32px;font-size:14px;font-weight:600}nav a{text-decoration:none}.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;align-items:center;padding:64px 0 60px}.eyebrow{font-size:12px;font-weight:750;letter-spacing:2px;color:var(--green);margin:0 0 20px}h1{font-size:clamp(38px,4.6vw,65px);font-weight:650;letter-spacing:-2.9px;line-height:1.09;margin:0 0 24px}h1 em{font-family:Georgia,serif;color:var(--green);font-weight:500}.hero-copy{font-size:16px;line-height:1.8;color:var(--muted);margin-bottom:26px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;background:var(--green);color:white;padding:14px 21px;border:1px solid var(--green);border-radius:8px;font-size:14px;font-weight:650;min-height:46px}.button:hover{filter:brightness(.92)}.secondary{background:transparent;color:var(--green);border-color:#c4d3cc}.hero-note{font-size:12px;color:var(--muted);margin-top:18px}.hero-art{position:relative;display:grid;place-items:center;min-height:340px;background:radial-gradient(ellipse,#dcece3 0%,#e9f1ec 42%,transparent 70%);isolation:isolate}.hero-art img{width:260px;height:260px;object-fit:contain;mix-blend-mode:multiply;border-radius:50%;transform:rotate(-6deg)}.orbit{position:absolute;background:white;border:1px solid var(--line);border-radius:8px;padding:10px 15px;font-size:12px;font-weight:700;letter-spacing:1.4px;box-shadow:0 5px 15px #20372a07;z-index:1}.orbit-one{top:18px;left:44px;transform:rotate(-10deg)}.orbit-two{right:0;top:106px;transform:rotate(8deg)}.orbit-three{bottom:57px;left:12px;transform:rotate(5deg)}.art-caption{position:absolute;bottom:0;font-family:Georgia,serif;font-style:italic;font-size:17px;color:var(--green)}.practice-strip{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:26px 32px;border:1px solid var(--line);border-radius:12px;background:#edf3ef}.practice-strip .eyebrow{font-size:10px;margin-bottom:8px;letter-spacing:1.4px}h2{font-size:30px;letter-spacing:-1px;font-weight:650;margin:0}.practice-strip h2{font-size:23px}.metric strong{display:block;font-size:29px;line-height:1.3;font-weight:650}.metric span,.practice-strip>p{font-size:12px;color:var(--muted);line-height:1.8}.text-button{border:0;background:none;text-decoration:underline;color:var(--muted);padding:0;font-size:12px}.library{padding:65px 0 48px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.section-heading .eyebrow{margin-bottom:10px}.search input{padding:12px 16px;border:1px solid #cfdad4;border-radius:8px;width:270px;background:transparent;font-size:14px}.library-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.filters{display:flex;gap:7px;flex-wrap:wrap}.filters button{background:transparent;border:1px solid transparent;padding:9px 15px;border-radius:6px;font-size:14px;color:var(--muted)}.filters button[aria-pressed=true]{background:var(--green);color:white}.filters button:hover{border-color:#9eb5a9}#game-count{font-size:12px;color:var(--muted);white-space:nowrap}.game-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.game-card{display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:12px;padding:23px;text-decoration:none;transition:transform .15s,box-shadow .15s;min-height:236px}.game-card:hover{transform:translateY(-4px);box-shadow:0 8px 20px #2343320b;border-color:#a0b7ac}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.game-icon{width:46px;height:46px;display:grid;place-items:center;background:var(--tint);border-radius:12px;font-size:24px;font-weight:600;letter-spacing:-1px;color:#344f48}.card-category{font-size:12px;font-weight:650;color:var(--muted)}.lilac{--tint:var(--lilac)}.mint{--tint:var(--mint)}.peach{--tint:var(--peach)}.blue{--tint:var(--blue)}.yellow{--tint:var(--yellow)}.pink{--tint:var(--pink)}.game-card h3{font-size:20px;letter-spacing:-.5px;margin:0 0 9px}.game-card p{font-size:16px;line-height:1.65;color:var(--muted);margin:0 0 22px}.card-bottom{margin-top:auto;padding-top:14px;border-top:1px solid #edf0ee;display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted)}.card-bottom b{color:var(--green);font-size:14px}.external-section{padding:32px 0 48px;display:grid;grid-template-columns:1fr 1.2fr;gap:45px;border-top:1px solid var(--line)}.external-section h2{font-size:25px}.external-section p:not(.eyebrow){font-size:16px;color:var(--muted);line-height:1.7}.external-section .eyebrow{margin-bottom:12px}.external-links{display:grid;grid-template-columns:1fr 1fr;gap:12px}.external-links a{border:1px solid var(--line);border-radius:8px;text-decoration:none;padding:15px;font-weight:600;font-size:14px}.external-links small{display:block;font-size:12px;color:var(--muted);font-weight:400;margin-top:5px}.site-footer{padding:28px 0;display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.brand-name{font-weight:700;color:var(--ink)}.brand-name span{font-weight:400;color:var(--muted);margin-left:10px}.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:-100px;left:15px;padding:12px;background:white;z-index:100}.skip-link:focus{top:10px}[hidden]{display:none!important}
.play-wrap{max-width:780px;margin:45px auto 65px;padding:0 24px}.game-heading{text-align:center;margin-bottom:28px}.game-heading h1{font-size:42px;letter-spacing:-1.5px;margin-bottom:14px}.game-heading p{color:var(--muted);line-height:1.7}.game-panel{background:white;border:1px solid var(--line);border-radius:16px;padding:32px;text-align:center}.game-settings{display:flex;align-items:end;justify-content:center;gap:20px;margin:28px 0}.game-settings label{font-size:14px;text-align:left}.game-settings select{display:block;margin-top:8px;border:1px solid var(--line);padding:12px;border-radius:6px;background:white;min-width:160px}.game-status{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding-bottom:18px;color:var(--muted);font-size:14px}.game-status strong{color:var(--ink)}.stage{padding:26px 0;min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center}.stage h2{font-size:23px}.stage p{color:var(--muted);line-height:1.6}.tile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;width:min(100%,330px);margin:20px auto}.memory-tile{aspect-ratio:1;background:#e8e3f4;border:2px solid transparent;border-radius:12px;font-size:22px;color:#4c3c6a;transition:background .1s}.memory-tile:disabled{opacity:1;color:#4c3c6a}.memory-tile.lit{background:#644b9b;color:white;border-color:#342052;box-shadow:0 0 0 4px #e4daf8}.answers{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;width:100%;margin-top:24px}.answer{min-width:96px;min-height:65px;padding:15px;border:1px solid #bdcfc3;background:#f0f6f2;border-radius:10px;font-size:22px;font-weight:650}.answer:hover{background:#d7e9dd}.number-pattern{font-size:clamp(24px,5vw,37px);font-weight:650;letter-spacing:2px;margin:24px 0}.rule-badge{display:inline-block;background:var(--mint);padding:10px 20px;border-radius:25px;font-size:17px;font-weight:650}.rule-number{font-size:90px;font-weight:650;line-height:1.1;margin-top:22px}.feedback{min-height:32px;font-size:16px;color:var(--green);margin:12px 0}.game-footer{display:flex;justify-content:center;gap:20px;align-items:center;margin-top:18px}.score-big{font-size:65px;font-weight:650;color:var(--green);margin:20px 0 0}.result-copy{color:var(--muted);line-height:1.8}.game-help{font-size:14px;color:var(--muted);line-height:1.7;margin-top:20px}.history-note{font-size:12px;color:var(--muted)}
@media(max-width:1000px){.wrap{width:calc(100% - 48px)}.hero-art img{width:230px;height:230px}.orbit-one{left:0}.practice-strip{flex-wrap:wrap}.practice-strip>p{width:100%;margin:0}.game-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.library-tools{align-items:flex-start;flex-direction:column;gap:12px}}
@media(max-width:650px){.wrap{width:calc(100% - 36px)}.site-header{height:90px}.brand{font-size:17px;gap:7px}.brand small{font-size:8px}.brand-mark{font-size:33px}nav{gap:14px;font-size:12px}nav a:first-child{display:none}.hero{grid-template-columns:1fr;padding:40px 0 32px;gap:10px}h1{font-size:43px;letter-spacing:-2px}.hero-copy br{display:none}.hero-art{min-height:280px;margin:15px 18px 5px}.hero-art img{width:210px;height:210px}.orbit-one{left:15px}.orbit-two{right:0;top:90px}.orbit-three{bottom:42px;left:0}.art-caption{font-size:15px}.practice-strip{padding:22px;gap:18px}.practice-strip>div:first-child{width:100%}.metric{flex:1}.metric strong{font-size:26px}.metric span{font-size:12px;display:block;line-height:1.4}.library{padding-top:40px}.section-heading{align-items:stretch;flex-direction:column}.search input{width:100%}.filters{gap:3px}.filters button{padding:9px 11px}.game-cards{grid-template-columns:1fr;gap:14px}.game-card{min-height:220px}.external-section{grid-template-columns:1fr;gap:15px}.external-links{gap:8px}.site-footer{flex-direction:column}.game-panel{padding:22px 16px}.game-status{font-size:12px;gap:8px}.game-heading h1{font-size:34px}.game-settings{flex-direction:column;align-items:stretch}.game-settings select{width:100%}.play-wrap{margin-top:30px;padding:0 16px}.answer{min-width:70px}.number-pattern{letter-spacing:0}}
.context-paragraph{font-size:18px;line-height:1.9!important;text-align:left;max-width:65ch;color:var(--ink)!important;margin:20px auto}.context-review{text-align:left;margin:24px 0;line-height:1.7}.context-review summary{cursor:pointer;font-weight:650;color:var(--green)}.context-review>p:not(.context-paragraph){border-top:1px solid var(--line);padding-top:14px;font-size:15px}.game-footer{flex-wrap:wrap}.game-status{flex-wrap:wrap}#context-question{line-height:1.5}.stage:has(#context-question) .answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.stage:has(#context-question) .answer{font-size:17px;overflow-wrap:anywhere}
@media(max-width:450px){.stage:has(#context-question) .answers{grid-template-columns:1fr}.context-paragraph{font-size:17px}}
.context-options{display:flex;flex-wrap:wrap;align-items:end;gap:20px}.game-settings:has(.context-options:not([hidden])){flex-wrap:wrap}.context-options input{display:block;width:160px;min-height:48px;margin-top:8px;border:1px solid var(--line);padding:12px;border-radius:6px;background:white;font:inherit;color:var(--ink)}#context-question{white-space:pre-line}.context-review section+section{border-top:1px solid var(--line);margin-top:24px;padding-top:16px}.context-review section>p:not(.context-paragraph){white-space:pre-line;line-height:1.7}.context-options select{max-width:100%}
@media(max-width:650px){.context-options{width:100%;align-items:stretch;flex-direction:column}.context-options input,.context-options select{width:100%}.game-settings:has(.context-options:not([hidden]))>#start{width:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
