* { box-sizing: border-box; }
body { margin: 0; background: #f8f6fb; color: #241d39; font: 1rem/1.6 system-ui,sans-serif; }
header { background: #251c42; padding: .9rem max(5vw,calc((100% - 62rem)/2)); }
header a { display: inline-flex; align-items: center; gap: .7rem; color: white; text-decoration: none; font-weight: 750; }
header img { border-radius: .55rem; }
main,footer { width: min(90%,62rem); margin: 2.3rem auto; }
nav,footer,figcaption { color: #615770; font-size: .9rem; }
h1,h2 { line-height: 1.14; text-wrap: balance; }
h1 { font-size: clamp(2rem,5vw,3.6rem); margin: 1.2rem 0 .6rem; }
h2 { margin: 2.2rem 0 .8rem; }
a { color: #573189; text-underline-offset: .17em; }
a:focus-visible { outline: 3px solid #a13983; outline-offset: 3px; }
.lead { max-width: 70ch; color: #534960; font-size: 1.12rem; }
figure { margin: 1.5rem 0; }
figure img { display: block; max-width: 100%; max-height: 28rem; border-radius: .75rem; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: white; }
td,th,dt,dd { padding: .55rem .85rem; text-align: left; border-bottom: 1px solid #dfdae7; }
th,dt { font-weight: 650; }
dl { background: white; }
dl div { display: grid; grid-template-columns: minmax(8rem,1fr) 2fr; }
dd { margin: 0; overflow-wrap: anywhere; }
.directory { columns: 15rem; padding-left: 1.2rem; }
.directory li { break-inside: avoid; padding: .2rem 0; }
.topics { padding: 0; list-style: none; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit,minmax(min(100%,17rem),1fr)); }
.topics li { background: white; padding: 1rem; border-radius: .65rem; }
.topics li a { font-weight: 700; }
.topics p { margin: .45rem 0 0; }
