:root{--ink:#1c2350;--muted:#525c78;--accent:#473bc2;--blue:#3347bd;--edge:#dce0f0;--shadow:0 8px 24px #3432690b}
body{background:#f7f8fd;color:var(--ink);font-family:"Nunito","Segoe UI",system-ui,sans-serif}
header,main,footer{max-width:1270px}
header{min-height:72px;border-color:var(--edge)}
.brand{display:inline-flex;gap:.25em;align-items:center;font:800 clamp(20px,2vw,26px)/1.1 "Nunito","Segoe UI",sans-serif;letter-spacing:-.055em;color:#242856}
.brand::before{content:"";width:22px;height:22px;border-radius:7px 7px 7px 2px;margin-right:6px;transform:rotate(-12deg);background:linear-gradient(145deg,#98bcff 0 30%,#6358dc 31% 66%,#382c9e 67%);box-shadow:0 3px 6px #5143ae26}.brand em{font-style:normal;color:#5542bd}
header span,footer{color:var(--muted)}a{color:#4235a4}
.hero,.spread{background:#edf0ff;border:1px solid #d8dcf2;box-shadow:var(--shadow);align-items:stretch}
.hero{background:linear-gradient(128deg,#191f5b 5%,#302975 78%);color:#fff;grid-template-columns:1.03fr 1fr}
.hero>div{position:relative;align-self:center}.hero p{max-width:33ch;color:#ececfe;font-size:clamp(16px,1.6vw,20px)}.hero small{color:#cdd6ff}.hero img{max-height:475px;object-position:55% 55%}.hero .cta{background:#fff;color:#302786}
h1,h2{font-family:"Nunito","Segoe UI",system-ui,sans-serif;font-weight:800;letter-spacing:-.055em}
.hero h1{font-size:clamp(40px,5.5vw,72px)}.cta,button{min-height:44px}.cta{background:var(--accent);border-radius:11px;box-shadow:0 3px 8px #30288015}.cta:hover{filter:brightness(1.08)}nav button{min-height:44px;border-color:#c3c8df;color:#343459;background:#fff}nav button[aria-pressed=true],button[aria-selected=true]{background:#4439a7;color:white;border-color:#4439a7}
.catalog>small,.spread small,.card small{color:#52419f}.catalog{margin-top:clamp(30px,4vw,52px)}.catalog>h2{margin-bottom:22px}
#cards{gap:clamp(12px,1.6vw,22px);margin-top:22px;grid-template-columns:repeat(auto-fill,minmax(min(100%,244px),1fr))}
.card{border:1px solid var(--edge);background:#fff;box-shadow:var(--shadow);border-radius:17px;padding:13px 13px 20px;overflow:hidden}
.card h3,.card small,.card>span{margin-left:8px;margin-right:8px}.card small{margin-top:16px;margin-bottom:7px;font-size:11px}.card h3{color:var(--ink);font-size:22px;line-height:1.16;margin-bottom:12px}.card>span{color:#4e44a1;font-weight:650}
.card:hover{border-color:#a2a8e4;background:#fff;box-shadow:0 11px 25px #3b39791c}
.spread article{min-width:0}.spread img{max-height:100%;object-position:center}.spread p{max-width:60ch}.practice{border-color:var(--edge);box-shadow:var(--shadow)}#model{background:#fff;border:1px solid #d9daf0;color:#31345a;font-size:clamp(16px,2.1vw,25px)}#back,#next,#builder{font-weight:700}
input,select,textarea{border:1px solid #95a0c1;color:#202647;border-radius:9px;font:inherit}
input:not([type=checkbox]):not([type=radio]),select{min-height:44px}footer{border-color:var(--edge)}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #315fd2!important;outline-offset:4px}
@media(prefers-reduced-motion:no-preference){.card,.cta,nav button{transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.card:hover{transform:translateY(-3px)}.card:hover .lesson-art>i{translate:0 -2px}.lesson-art>i{transition:translate .2s ease}}
@media(min-width:960px){.hero p{margin-bottom:24px}}
@media(max-width:650px){.hero,.spread{grid-template-columns:1fr}.hero img,.spread img{height:165px;min-height:0;max-height:200px}.hero>div,.spread article{padding:22px}.hero h1{line-height:1.02}.hero small{margin-bottom:12px}.catalog,.practice{margin:24px 0}header{min-height:58px}}
@media print{body{background:#fff;color:#111}.hero,header,footer,nav,.cta{box-shadow:none}}

/* Tactile miniature diagrams for the weekly cards. */
.lesson-art{--wash:#eef0ff;display:flex;justify-content:center;align-items:center;gap:7px;height:106px;padding:12px;border-radius:10px;overflow:hidden;isolation:isolate;background:linear-gradient(155deg,#ffffffa3,var(--wash) 57%,#d7d9ee)}
.art-palette-1{--wash:#e3efff}.art-palette-2{--wash:#f1e9fa}
.lesson-art i{position:relative;display:inline-flex;flex-shrink:1;align-items:center;justify-content:center;font-style:normal;font-weight:800;line-height:1;font-family:"Nunito","Segoe UI",sans-serif}
.art-square,.art-rectangle,.art-tile,.art-step,.art-word,.art-flag,.art-arrow{height:39px;min-width:30px;padding:4px 8px;border-radius:5px;color:#fff;background:linear-gradient(145deg,#8068da,#5946a8);box-shadow:0 4px #45338a,0 7px 9px #292d5e24;transform:rotate(-3deg)}
.art-tile:nth-of-type(even),.art-rectangle{background:linear-gradient(145deg,#3f98aa,#35768d);box-shadow:0 4px #245c70,0 7px 9px #292d5e24;transform:rotate(3deg)}
.art-square{width:39px}.art-rectangle{width:60px;height:31px}.art-triangle{width:43px;height:42px;clip-path:polygon(48% 0,100% 95%,90% 100%,0 100%);background:linear-gradient(125deg,#ffc475,#e18b37 77%,#c1742b 78%)}
.art-sign{color:#565e86;font-size:23px}.art-word,.art-flag{font-size:14px;min-width:0;background:linear-gradient(145deg,#fffdfa,#ede1c8);color:#554031;box-shadow:0 4px #b4a78d,0 7px 9px #30294815}.art-step{border-radius:40% 40% 46% 46%;height:34px;background:linear-gradient(#fbfcff,#b5cbea);color:#293852;box-shadow:0 4px #8b9db7}.art-flag{height:34px;transform:skew(-4deg);color:#463d85}.art-bundle,.art-stick{height:52px;border-radius:3px;background:repeating-linear-gradient(90deg,#aa723c 0px,#d4a26a 2px,#e1b888 3px);box-shadow:1px 3px 3px #45362626;transform:rotate(5deg)}
.art-bundle{width:24px}.art-bundle:after{content:"";background:linear-gradient(#478a77,#275c52);height:6px;position:absolute;inset:22px 0 auto}.art-stick{width:3px}
.art-pencil{width:90px;height:12px;clip-path:polygon(0 50%,13% 0,100% 0,100% 100%,13% 100%);background:linear-gradient(90deg,#353546 0 5%,#d8b28b 5% 14%,#eaba54 14% 86%,#afb3bf 86% 92%,#eb999c 92%);transform:rotate(-14deg)}.art-clips{color:#606d9c;font-size:22px}
.art-strips,.art-graph{flex-direction:column;align-items:flex-start!important;gap:5px;background:#fcfaf4;box-shadow:0 3px 7px #4033651a;border-radius:6px;padding:10px}
.art-strip-row{display:flex}.art-strip-row b{width:22px;height:13px;background:linear-gradient(#7db5b0,#4c898b);border-right:1px solid white}.strip-1 b{background:linear-gradient(#eac092,#ce986c)}
.art-pot{border-bottom:10px solid #aa7852;font-size:29px;border-radius:4px}.art-graph{font-size:21px;line-height:1.15!important;letter-spacing:4px;white-space:pre;color:#97702c}
.art-leaf,.art-seed{height:29px;width:39px;background:linear-gradient(40deg,#448267,#a6c877);border-radius:80% 0 75% 0;transform:rotate(-12deg);box-shadow:0 3px 5px #365b4522}.art-seed{height:20px;width:24px;border-radius:70% 30%;background:linear-gradient(45deg,#885f40,#c9986b)}
.art-fruit{width:55px;height:55px;clip-path:polygon(50% 0,100% 0,100% 100%,50% 100%);border-radius:50%;border:4px solid #7ba454;background:repeating-conic-gradient(from 5deg,#ddea95 0deg 39deg,#f8ffd4 40deg 45deg);transform:rotate(28deg)}.art-fruit-quarter{clip-path:polygon(50% 0,100% 0,100% 50%,50% 50%)}
.art-coin{border-radius:50%;width:39px;height:39px;color:#744d20;font-size:14px;background:radial-gradient(ellipse at 35% 22%,#fff4b8,#e6b254 78%);border:3px double #b58b4d;box-shadow:0 3px #bb8d40,0 6px 8px #3f365325}.art-note,.art-bag{border-radius:4px;background:linear-gradient(130deg,#99d1bc,#d6ecbb);color:#2a6654;border:3px double #639584;height:43px;min-width:62px;transform:rotate(-6deg)}.art-bag{padding:5px;border-color:#bf9267;background:linear-gradient(130deg,#ffe3b0,#c79369);color:#653f2c;transform:none}.art-bag:before{content:"";position:absolute;bottom:95%;width:18px;height:11px;border:3px solid #a47852;border-bottom:0;border-radius:16px 16px 0 0}.art-arrow{font-size:24px}
.art-clock{width:66px;height:66px;border:5px solid #5b5a93;border-radius:50%;background:radial-gradient(circle,#494567 0 2px,transparent 3px),radial-gradient(circle,#fffdf4 65%,transparent 66%),repeating-conic-gradient(#574c78 0deg 3deg,#fffdf4 3deg 30deg);box-shadow:1px 3px #42406c}.art-clock b{position:absolute;left:calc(50% - 1.5px);bottom:50%;width:3px;border-radius:3px;background:#514970;transform-origin:bottom center}.art-clock-hour{height:16px}.art-clock-minute{height:21px}
.art-calendar{display:grid!important;grid-template-columns:repeat(5,16px);gap:1px;padding:0 5px 5px;background:#fff;border-radius:5px;overflow:hidden;box-shadow:0 4px #bbc0d8;transform:rotate(-3deg)}.art-calendar b{text-align:center;font-size:11px;font-weight:600;padding:2px}.art-calendar b:first-child{grid-column:1/-1;letter-spacing:2px;background:#645bb1;color:#fff;margin:0 -5px 2px;padding:5px}.art-calendar b:nth-child(9){border-radius:50%;background:#e0dcff;color:#4e3986}
