:root {
    color-scheme: light;
    --ink: #0b3550;
    --muted: #34556b;
    --accent: #006b9a;
    --surface: #edf5fa;
    --border: #c8dbe6;
}

* { box-sizing: border-box; }
body { margin: 0; font: 1.05rem/1.65 system-ui, sans-serif; color: var(--ink); background: #fff; overflow-wrap: break-word; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .16em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
header, footer { background: var(--surface); }
.container { max-width: 58rem; margin: auto; padding: 1.5rem; }
.brand { font-size: 1.4rem; font-weight: 750; color: var(--ink); text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: .2rem 1.3rem; margin-top: .5rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
main { min-height: 65vh; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; letter-spacing: -.035em; }
h2 { margin-top: 2rem; line-height: 1.3; }
.lead { font-size: 1.3rem; max-width: 44rem; }
.notice { border-left: 4px solid var(--accent); padding: 1rem 1.3rem; background: var(--surface); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; margin: 2rem 0; }
.card { padding: 1.3rem; border: 1px solid var(--border); border-radius: 1rem; }
.card h2 { margin-top: 0; font-size: 1.25rem; }
.button { display: inline-block; padding: .65rem 1.2rem; border-radius: .5rem; background: var(--accent); color: #fff; font-weight: 650; }
.skip { position: absolute; top: -5rem; left: 1rem; padding: .5rem; background: #fff; z-index: 1; }
.skip:focus { top: .5rem; }
.metadata { color: var(--muted); font-size: .95rem; }
.license { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .9rem; }
ul, ol { padding-left: 1.5rem; }
footer p { margin: .5rem 0; }
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}
