:root{--ink:#203c36;--green:#17675b;--cream:#faf9f3;--muted:#64746b;--line:#e0e7df;--yellow:#f4ce63;--red:#ac3434;--shadow:0 12px 35px #244a3510}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:ui-rounded,"Segoe UI",system-ui,sans-serif;line-height:1.6}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:var(--green)}button:focus-visible,a:focus-visible{outline:3px solid #b47410;outline-offset:5px}button:disabled{cursor:default}button:hover:not(:disabled){transform:translateY(-2px)}button{transition:transform .15s,background .15s}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2.3rem,5.4vw,4.2rem);line-height:1.12;letter-spacing:-.045em;font-weight:800}h2{font-size:clamp(1.65rem,3.4vw,2.45rem);line-height:1.25;letter-spacing:-.025em}.site-header{max-width:1120px;margin:auto;padding:28px 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{text-decoration:none;color:var(--ink);font-size:23px;font-weight:800;letter-spacing:-1px;display:flex;align-items:center}.brand>span:last-child{color:var(--green)}.brand-icon{display:inline-grid;place-items:center;background:var(--green);color:var(--yellow);border-radius:12px;width:40px;height:40px;margin-right:10px;font-size:27px}.header-note{font-size:13px;color:var(--muted)}main{max-width:1080px;margin:auto;padding:42px 28px 56px;min-height:70vh}.hero{display:grid;grid-template-columns:1.3fr .7fr;align-items:center;gap:30px;padding:18px 0 40px}.eyebrow{font-size:12px;font-weight:750;letter-spacing:1.7px;text-transform:uppercase;display:flex;align-items:center;gap:9px;margin-bottom:20px}.eyebrow:before{content:"";width:8px;height:8px;background:#dbac35;border-radius:50%}.hero h1{max-width:650px;margin-bottom:20px}.hero h1 span{color:var(--green);position:relative}.hero p{color:var(--muted);font-size:17px;max-width:470px;margin-bottom:24px}.pill{display:inline-flex;align-items:center;gap:8px;font-size:13px;background:#eaf0e5;padding:6px 12px;border-radius:30px}.hero-art{position:relative;display:grid;place-items:center;min-height:275px}.art-card{transform:rotate(-7deg);border:2px solid #dbdfd3;background:#fff;border-radius:25px;width:235px;padding:24px;box-shadow:8px 10px 0 #e3eadf}.art-card .math{font-size:39px;font-weight:800;border-bottom:2px dashed #d4ded6;padding-bottom:12px}.art-card .answer{background:var(--yellow);font-size:42px;border-radius:15px;text-align:center;margin-top:16px;font-weight:800}.art-sticker{position:absolute;bottom:20px;right:12px;border-radius:50%;width:76px;height:76px;display:grid;place-items:center;background:var(--green);color:white;transform:rotate(12deg);font-size:35px;border:6px solid var(--cream)}.art-spark{position:absolute;top:5px;right:12px;font-size:40px;color:#d7a831}.section-label{display:flex;align-items:center;gap:15px;margin-bottom:18px;font-size:14px;font-weight:700}.section-label:after{content:"";height:1px;background:var(--line);flex:1}.topics{display:grid;grid-template-columns:1fr 1fr;gap:24px}.topic{border:1px solid var(--line);border-radius:24px;background:white;text-align:left;padding:28px;box-shadow:var(--shadow);color:var(--ink);display:flex;flex-direction:column;align-items:flex-start;min-height:300px;width:100%}.topic-head{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:22px}.topic-icon{background:#fdf0c1;border-radius:16px;width:66px;height:66px;display:grid;place-items:center;font-size:29px;font-weight:800}.topic.geo .topic-icon{background:#e7f1e9}.tag{color:var(--muted);font-size:11px;letter-spacing:1px;text-transform:uppercase}.topic-title{font-size:26px;font-weight:800;letter-spacing:-.6px}.topic-desc{font-size:15px;color:var(--muted);margin:9px 0 22px;max-width:330px}.topic-link{margin-top:auto;display:flex;justify-content:space-between;width:100%;font-weight:700;color:var(--green)}.topic-link span:last-child{font-size:23px;line-height:1}.how{display:flex;justify-content:center;gap:35px;margin-top:32px;color:var(--muted);font-size:13px}.how b{color:var(--green);padding-right:6px}footer{max-width:1024px;margin:auto;padding:24px 28px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}footer>span{display:block;margin-top:6px}footer details{margin-top:12px}footer p{margin:8px 0}summary{cursor:pointer}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:28px}.text-btn{background:transparent;border:0;color:var(--green);padding:10px 0;font-weight:650;min-height:44px}.primary{background:var(--green);color:white;border:0;border-radius:13px;padding:13px 23px;font-weight:700;min-height:48px}.secondary{background:white;color:var(--green);border:1px solid #cad8ce;border-radius:13px;padding:12px 22px;font-weight:700;min-height:48px}.mode-intro{max-width:720px;margin:20px auto}.mode-intro p{color:var(--muted)}.stats{display:flex;justify-content:space-between;font-size:14px;font-weight:650;margin-bottom:9px}.progress{width:100%;height:7px;accent-color:var(--green);display:block;border:0;border-radius:8px;overflow:hidden;background:#e0e7df}.progress::-webkit-progress-bar{background:#e0e7df}.progress::-webkit-progress-value{background:var(--green);border-radius:8px}.progress::-moz-progress-bar{background:var(--green)}.quiz-card{background:white;border:1px solid var(--line);border-radius:24px;padding:30px;margin:24px auto 0;box-shadow:var(--shadow);max-width:800px}.question-label{font-size:12px;text-transform:uppercase;letter-spacing:1.4px;color:var(--muted);margin-bottom:13px}.equation{text-align:center;font-size:clamp(2.8rem,9vw,4.5rem);font-weight:800;letter-spacing:-2px;margin:20px 0 28px}.answers{display:grid;grid-template-columns:1fr 1fr;gap:12px}.option{border:2px solid #dfe7df;border-radius:14px;background:#fafbf8;color:var(--ink);padding:15px 12px;font-size:18px;font-weight:650;min-height:62px}.math-options .option{font-size:27px}.option:hover:not(:disabled){background:#edf3eb;border-color:#7caa95}.option.correct{background:#e6f4e8;border-color:#36815b;color:#195435}.option.wrong{background:#fff0eb;border-color:#c56754;color:#873b2d}.option:disabled{opacity:1}.feedback{margin-top:20px;padding:16px 18px;border-radius:13px;background:#eef6ea;color:#235638;font-weight:650}.feedback.incorrect{background:#fff2e6;color:#884312}.feedback:empty{display:none}.next-row{display:flex;justify-content:flex-end;margin-top:18px}.map{display:block;width:100%;max-height:340px;margin:8px auto 20px}.county{fill:#e4ede0;stroke:#fff;stroke-width:1.6;stroke-linejoin:round;vector-effect:non-scaling-stroke}.county.highlight{fill:#e9b846;stroke:#875a1c;stroke-width:2}.county.reveal{fill:#5d9c7a}.map.study .county{cursor:pointer}.map.study .county:hover,.map.study .county:focus{fill:#f1cc63;outline:none;stroke:#17675b;stroke-width:2}.map-note{font-size:13px;color:var(--muted);text-align:center;margin-bottom:15px}.result{text-align:center;max-width:700px;margin:25px auto}.result-icon{background:#fbefc9;display:grid;place-items:center;width:95px;height:95px;border-radius:50%;font-size:44px;margin:0 auto 24px}.result-score{font-size:55px;font-weight:800;color:var(--green);line-height:1.3}.result p{color:var(--muted)}.actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:25px 0}.review{text-align:left;margin-top:35px}.review li{margin:10px 0}.study-info{background:#eef4e9;padding:20px;border-radius:15px;min-height:100px}.study-info h3{margin:0 0 6px}.county-list{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:20px}.county-list button{background:white;border:1px solid #d7e1d6;border-radius:9px;min-height:44px;padding:9px;font-size:13px;color:var(--ink)}.noscript{padding:30px;text-align:center}.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}@media(max-width:700px){.site-header{padding:18px 20px}.header-note{display:none}main{padding:25px 20px 35px}.hero{grid-template-columns:1fr;gap:0;padding:15px 0 30px}.hero-art{display:none}.hero p{font-size:16px}.hero h1{font-size:clamp(2.4rem,9vw,3.5rem)}.topics{gap:16px;grid-template-columns:1fr}.topic{padding:23px;min-height:240px}.topic-head{margin-bottom:16px}.topic-title{font-size:24px}.topic-desc{margin-bottom:17px}.how{flex-wrap:wrap;gap:10px 20px;margin-top:24px}.quiz-card{padding:20px 16px}.option{font-size:16px;min-height:66px}.toolbar{margin-bottom:18px;align-items:flex-start}.county-list{grid-template-columns:1fr 1fr}.map{min-height:180px}footer{margin:0 20px;padding:20px 0}.mode-intro{margin-top:0}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Keep feedback and the next action in reach while answering on a phone. */
@media(max-width:700px){
  body.playing .site-header{padding:10px 16px}
  body.playing .brand{font-size:20px}
  body.playing .brand-icon{width:32px;height:32px;font-size:22px}
  body.playing main{padding:10px 16px 24px;min-height:0}
  body.playing .toolbar{gap:8px;margin-bottom:8px;align-items:center}
  body.playing .toolbar .text-btn{font-size:12px;padding:8px 0}
  body.playing .mode-intro{margin:0 auto 12px}
  body.playing .mode-intro .eyebrow{display:none}
  body.playing .mode-intro h1{font-size:1.4rem!important;margin-bottom:10px}
  body.playing .quiz-card{margin-top:12px;padding:16px;border-radius:18px}
  body.playing .question-label{font-size:10px;margin-bottom:6px}
  body.playing #question{font-size:1.25rem;line-height:1.3;margin-bottom:10px}
  body.playing .map{height:clamp(100px,22svh,160px);min-height:0;margin:4px auto 8px}
  body.playing .map-note{display:none}
  body.playing .answers{gap:8px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  body.playing .option{min-height:52px;padding:10px 6px;font-size:15px;overflow-wrap:anywhere}
  body.playing .math-options .option{font-size:25px}
  body.playing .equation{font-size:3rem;margin:18px 0}
  body.playing .answer-panel:not([hidden]){position:fixed;z-index:10;left:0;right:0;bottom:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 28px #244a3517;max-height:55dvh;overflow-y:auto;display:grid;gap:10px}
  body.playing .answer-panel .feedback{margin:0;padding:10px 12px;font-size:14px;line-height:1.45}
  body.playing .answer-panel .next-row{margin:0}
  body.playing .answer-panel .primary{width:100%;min-height:48px}
  body.playing.answered main{padding-bottom:220px}
  body.playing footer{display:none}
}

@media(max-width:700px){body.playing.answered .map{height:clamp(60px,12svh,90px)}}
.level-picker{max-width:800px;margin:0 auto}.level-picker h1{font-size:clamp(2rem,5vw,3rem);margin-bottom:14px}.level-picker>p{color:var(--muted);max-width:600px}.level-grid{border:0;padding:0;margin:24px 0;display:grid;grid-template-columns:1fr 1fr;gap:16px}.level-card{cursor:pointer;position:relative;display:grid;grid-template-columns:34px 1fr;gap:7px 10px;align-content:start;border:2px solid var(--line);border-radius:18px;background:white;padding:20px}.level-card:has(input:checked){border-color:var(--green);background:#edf5ec;box-shadow:0 0 0 2px #17675b15}.level-card:has(input:focus-visible){outline:3px solid #b47410;outline-offset:4px}.level-card input{position:absolute;right:16px;top:18px;width:19px;height:19px;accent-color:var(--green)}.level-number{font-size:24px;color:var(--green);font-weight:800}.level-name{font-size:20px;font-weight:800;padding-right:20px}.level-description{grid-column:1/-1;font-size:14px;color:var(--muted)}.level-example{grid-column:1/-1;font-size:14px;font-weight:700;margin-top:4px}.level-recommendation{grid-column:1/-1;font-size:11px;color:var(--green);font-weight:700;margin-top:4px}.level-start{width:100%}.level-badge{font-size:13px;font-weight:700;color:var(--green);margin:0 0 12px}.result .level-badge{margin:0 0 8px}@media(max-width:700px){.level-grid{gap:10px}.level-card{padding:15px 12px;grid-template-columns:25px 1fr;gap:7px}.level-card input{right:10px;top:15px;width:16px;height:16px}.level-number{font-size:20px}.level-name{font-size:16px}.level-description,.level-example{font-size:12px}.level-recommendation{font-size:10px}.level-badge{margin-bottom:8px;font-size:12px}}

