:root{color-scheme:light;--ink:#182620;--muted:#506158;--accent:#176447;--line:#dce6e0;--soft:#edf6ef;--white:#fff;font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--white);color:var(--ink);min-height:100vh}button{font:inherit;color:inherit;cursor:pointer;min-height:44px}button[aria-disabled=true]{cursor:default}[hidden]{display:none!important}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #267950;outline-offset:3px}h1:focus{outline:none}h1,h2,p,dl,dd{margin:0}svg{flex-shrink:0}.frame{width:min(100% - 36px,680px);margin-inline:auto}
.top{border-bottom:1px solid #e8eeea}.top-inner{min-height:70px;padding-block:8px;display:flex;align-items:center;gap:15px;padding-top:max(8px,env(safe-area-inset-top))}.brand{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-weight:780;font-size:1.55rem;letter-spacing:-.06em;line-height:1;min-height:44px}.brand-dot{color:var(--accent)}.level{color:var(--muted);font-size:.77rem;white-space:nowrap}.level span{color:var(--accent);margin-right:3px}.install{margin-left:auto;padding:0 11px;background:transparent;border:1px solid var(--line);border-radius:9px;font-size:.77rem;font-weight:670;white-space:nowrap}.install:hover,.secondary:hover{background:var(--soft)}
.hero{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:38px 0 29px}.hero-text{position:relative}.eyebrow{font-size:.68rem;line-height:1.4;font-weight:760;letter-spacing:.13em;text-transform:uppercase;color:var(--accent)}.small-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#55946e;margin-right:5px;vertical-align:1px}.hero h1,.question h1,.results h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-.042em;line-height:1.05}.hero h1{font-size:clamp(2.18rem,7.7vw,4.15rem);margin:8px 0 13px}.hero h1 span{color:var(--accent)}.hero-text>p:last-child{font-size:.91rem;line-height:1.45;color:var(--muted)}.hero-art{width:clamp(83px,26vw,165px);height:auto;margin-right:3%;flex:none}
.card{border:1px solid var(--line);border-radius:15px;background:#fff}.daily{padding:14px 16px}.daily-head,.section-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.daily h2,.lessons h2,.review h2{font-size:1rem;line-height:1.25;font-weight:740}.streak{display:inline-flex;align-items:center;gap:4px;background:#faf0e2;color:#765020;border-radius:99px;font-size:.73rem;padding:4px 8px;font-weight:680;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:12px}.stats div{display:flex;flex-direction:column-reverse;gap:1px}.stats div+div{border-left:1px solid #e6eee8;padding-left:14px}.stats dt{font-size:.73rem;color:var(--muted)}.stats dd{font-size:1.36rem;line-height:1.2;font-weight:715;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.lessons{margin-top:24px}.section-head>span{color:var(--muted);font-size:.74rem;text-align:right}progress{appearance:none;display:block;width:100%;height:6px;border:0;border-radius:9px;background:#e7efe9;overflow:hidden;color:#45866a}progress::-webkit-progress-bar{background:#e7efe9;border-radius:9px}progress::-webkit-progress-value{background:#45866a;border-radius:9px}progress::-moz-progress-bar{background:#45866a;border-radius:9px}.overall{margin:10px 0 13px}.topic-list{margin:0;padding:0;list-style:none;display:grid;gap:8px}.topic{width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:10px;min-height:62px}.topic:hover{border-color:#8ab59d;background:#fbfdfb}.topic-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:10px;flex:none;background:#e8f4ed;color:#27654c}.topic-icon.table{background:#faf0e4;color:#855d30}.topic-icon.town{background:#eaf0f9;color:#415f89}.topic-icon.review-icon{background:#eef2ee;color:#496456}.topic-text{display:grid;gap:2px;min-width:0}.topic-name{font-weight:720;line-height:1.18;font-size:.91rem}.topic-sub,.topic-tail{color:var(--muted);font-size:.71rem;line-height:1.2}.topic-tail{margin-left:auto;display:flex;align-items:center;gap:3px;white-space:nowrap}.review{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:17px;padding:10px}.review-copy{display:flex;align-items:center;gap:10px}.review p{color:var(--muted);font-size:.75rem;margin-top:3px}.review h2{font-size:.92rem}.review .secondary{flex:none;font-size:.78rem;padding-inline:9px}.footer{border-top:1px solid #e8eeea;margin-top:27px;padding:14px 0 max(20px,env(safe-area-inset-bottom));color:var(--muted);font-size:.75rem}.footer p:not(:empty){margin-top:5px}
.practice,.results{max-width:540px;margin-inline:auto}.practice{padding-top:22px}.practice-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:.82rem}.text-button{display:inline-flex;align-items:center;gap:4px;background:none;border:0;padding:0 8px 0 0;font-weight:700;color:var(--accent)}.question{margin-top:17px;padding:clamp(14px,4vw,28px)}.question h1,.results h1{font-size:clamp(1.92rem,6.4vw,3rem);margin:9px 0 19px}.question h1 span{color:var(--accent)}.options{display:grid;gap:8px}.option{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:#fff;border:1px solid var(--line);border-radius:10px;padding:7px 11px;min-height:49px;font-weight:620}.option:not([aria-disabled]):hover{border-color:#8ab59d;background:#f8fcf9}.letter{width:25px;height:25px;display:grid;place-items:center;border:1px solid currentColor;border-radius:6px;color:inherit;font-size:.74rem}.option.correct,.feedback.correct{background:#edf7ef;border-color:#94bd9f;color:#1b583c}.option.incorrect,.feedback.incorrect{background:#fff4ed;border-color:#dcb79d;color:#7c4228}.feedback{margin-top:12px;padding:9px 11px;border:1px solid;border-radius:10px;font-size:.87rem}.feedback p{margin-top:3px}.queue-note{font-size:.78rem}.primary,.secondary{border:1px solid var(--line);border-radius:9px;background:#fff;padding:7px 14px;font-weight:700}.primary{background:var(--accent);border-color:var(--accent);color:#fff}.primary:hover{background:#105238}.next{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;margin-top:11px}.results{margin-top:30px;text-align:center;padding:25px 16px}.results .result-icon{width:49px;height:49px;margin:0 auto 12px}.results h1{margin-bottom:12px}.results>p:not(.eyebrow){color:var(--muted)}.results .score{font-size:1.22rem;font-weight:740;margin-bottom:4px}.result-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:18px}dialog{width:min(calc(100% - 36px),420px);border:1px solid var(--line);border-radius:14px;color:var(--ink);padding:20px}dialog::backdrop{background:#14251c66}dialog h2{font-size:1.2rem}dialog p{margin:8px 0 15px;color:var(--muted)}
@media(max-width:420px){.wide-break{display:none}.hero-art{margin-right:0}.top-inner{gap:9px;min-height:62px}.hero{padding-top:29px;padding-bottom:22px}}
@media(max-width:355px){.frame{width:calc(100% - 26px)}.top-inner{flex-wrap:wrap}.level{font-size:.68rem}.install{padding-inline:6px}.hero-art{width:72px}.topic{gap:7px;padding:8px}.topic-tail{font-size:.66rem}.section-head>span{font-size:.69rem}.review .secondary{white-space:normal}}
@media(min-width:600px){.hero{padding-block:48px 32px}.daily{padding:18px 21px}.topic,.review{padding:12px 14px}.topic-icon{width:42px;height:42px}.topic-name{font-size:1rem}.topic-sub,.topic-tail{font-size:.8rem}}
