:root {
  color-scheme: light dark;
  --bg: #f7f6fb;
  --text: #252238;
  --line: #d7d4e4;
  --brand: #56419e;
  font: 100%/1.6 system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #15141c; --text: #eeeaf6; --line: #494252; --brand: #c1aafa; }
}
* { box-sizing: border-box; }
body { margin: 0 auto; max-width: 62rem; padding: 0 clamp(1.25rem, 5vw, 4rem); }
header, footer { padding-block: 1.4rem; }
header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.12rem; font-weight: 720; text-decoration: none; }
main { max-width: 44rem; margin-block: clamp(2.5rem, 6vw, 5rem); }
h1, h2 { line-height: 1.16; letter-spacing: -.025em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 1.1rem; }
h2 { font-size: 1.35rem; margin: 2rem 0 .45rem; }
p { margin: .45rem 0 1rem; }
.intro { font-size: 1.18rem; }
a { color: var(--brand); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.open { display: inline-block; margin-top: 1rem; padding: .6rem 1rem; background: var(--brand); color: var(--bg); border-radius: .4rem; font-weight: 650; text-decoration: none; }
footer { border-top: 1px solid var(--line); font-size: .94rem; }
nav { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
nav [aria-current] { color: var(--text); font-weight: 650; }
