:root { color-scheme: light; font-family: system-ui, sans-serif; color: #182440; background: #f1f5fb; }
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(calc(100% - 2rem), 67rem); margin-inline: auto; }
header { background: #142242; color: white; padding-block: 1.25rem; }
.brand { color: inherit; font-size: 1.1rem; font-weight: 800; text-decoration: none; }
.hero { background: #142242; color: white; padding: 2rem 0 3rem; }
h1 { font-size: clamp(2.3rem, 7vw, 4.5rem); line-height: 1.02; letter-spacing: -.045em; margin: 0 0 1rem; }
p { line-height: 1.55; }
.hero p { color: #e2eaff; max-width: 29rem; }
form { margin-top: 1.6rem; }
label { display: block; font-weight: 750; margin-bottom: .5rem; }
.controls { display: flex; flex-wrap: wrap; gap: .6rem; }
input, button { font: inherit; border-radius: .6rem; min-height: 2.8rem; padding: .65rem .9rem; }
input { border: 1px solid #8794ac; width: min(9rem, 100%); }
button, .button { border: none; background: #ffd95e; color: #142242; font-weight: 800; cursor: pointer; }
.button { display: inline-block; padding: .75rem 1rem; border-radius: .6rem; }
:focus-visible { outline: 3px solid #3f76e4; outline-offset: 3px; }
.levels { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 19rem),1fr)); align-items: start; gap: .9rem; padding: 0 0 3rem; }
details { --accent: #6f48bf; background: white; border: 1px solid #dbe3ef; border-top: .35rem solid var(--accent); border-radius: .8rem; }
summary { cursor: pointer; padding: 1rem; font-weight: 800; }
summary span { color: #475570; display: block; font-size: .9rem; font-weight: 550; margin: .2rem 0 0 1rem; }
ol { padding: 0 1rem 1rem; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: .35rem; }
ol a { display: grid; place-items: center; min-height: 2.75rem; border-radius: .4rem; color: #17284a; background: #eef2fa; font-weight: 750; text-decoration: none; }
ol a:hover { background: #dce7ff; }
.book { padding: 3rem 0; }
.book a { color: #173f81; font-weight: 750; }
