* { box-sizing: border-box; }
body { margin: 0; background: #edf6ff; color: #142c53; font: 17px/1.7 system-ui, sans-serif; }
main { max-width: 68rem; margin: auto; padding: 1.25rem; }
a { color: #1450a1; text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #a62b64; outline-offset: 4px; }
header { margin-block: 1rem 2rem; padding: clamp(1.25rem, 5vw, 3rem); background: linear-gradient(120deg,#243d99,#08727d); color: white; border-radius: 1.5rem; }
header a { color: #162c54; background: #ffdf68; display: inline-block; padding: .45rem .9rem; border-radius: .7rem; font-weight: 700; }
header h1 { font-size: clamp(2rem, 7vw, 4rem); margin: 0; }
.badge { display: inline-block; color: #142c53; background: #ffdf68; border-radius: 2rem; padding: .15rem .8rem; font-weight: 700; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); gap: 1rem; }
article, .practice { background: white; border: 1px solid #c4d8eb; border-radius: 1rem; padding: 1.2rem; }
article { border-block-start: .35rem solid #2c62c6; }
article:nth-child(3n+2) { border-block-start-color: #a62b64; }
article:nth-child(3n) { border-block-start-color: #08727d; }
h2, h3 { line-height: 1.35; }
article h3 { margin-top: 0; }
.number { display: inline-grid; place-items: center; inline-size: 2rem; block-size: 2rem; border-radius: 50%; color: white; background: #264b9b; margin-inline-end: .25rem; }
.formula, .example { padding: .65rem .8rem; border-radius: .65rem; overflow-wrap: anywhere; }
.formula { background: #fff1b7; font-weight: 750; }
.example { background: #eaf4ff; }
.example b { color: #9b2158; }
.practice, footer { margin-top: 2rem; }
.question { padding-block: .4rem .8rem; border-top: 1px solid #c4d8eb; }
summary { cursor: pointer; color: #1450a1; font-weight: 700; }
