:root{color-scheme:light;font:16px/1.55 system-ui,sans-serif;color:#193228;background:#f4f4e9}
*{box-sizing:border-box}
body{margin:0}
.shell{width:min(100% - 32px,960px);margin:auto}
header,footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 0}
a{color:#235441;text-underline-offset:.2em}
button{font:inherit;color:inherit;cursor:pointer}
button,a{touch-action:manipulation}
:focus-visible{outline:3px solid #925427;outline-offset:3px}
[hidden]{display:none!important}
section{background:#fffef5;border:1px solid #c9d2bf;border-radius:18px;padding:clamp(14px,3vw,28px);margin:0 0 16px}
.hero{background:#183b30;color:#fffdf1;border:0}
.hero a{color:inherit}
h1,h2,h3,p{margin:0 0 .55em}
h1{font-size:clamp(2.4rem,9vw,4.8rem);letter-spacing:-.06em;line-height:1}
h2{font-size:clamp(1.45rem,5vw,2.2rem);line-height:1.12}
h3{font-size:1.1rem}
.eyebrow{font-size:.72rem;font-weight:800;letter-spacing:.12em}
.hero .eyebrow{color:#d9ee8b}
.actions,.topics{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.actions a,button,summary{min-height:44px}
.actions a{display:inline-flex;align-items:center}
button{background:#f0f3e4;border:1px solid #93a58c;border-radius:9px;padding:8px 12px;text-align:left}
button:disabled{cursor:default}
.primary{background:#d8ee86;border-color:#789741;color:#193228;font-weight:800}
.topics{margin:0 0 16px}
.topics button{flex:1 1 145px}
.topics button[aria-current=true]{background:#183b30;color:#fffdf1}
#notes article,#review article,details{border-top:1px solid #d1dbca;padding:10px 0}
.choices{display:grid;gap:8px}
.choices button[data-result=correct]{background:#d8ee86;border-color:#5f8432}
.choices button[data-result=incorrect]{background:#ffdfd0;border-color:#a96040}
#feedback{margin:.65rem 0}
#catalogue a{display:block;padding:8px 0;min-height:44px}
summary{display:list-item;align-content:center;cursor:pointer;font-weight:750}
@media(max-width:420px){.shell{width:calc(100% - 20px)}header,footer{gap:4px 12px;font-size:.9rem}}
