/* The site's styles (PUB P6): the design's tonal tokens, system fonts, nothing loaded from elsewhere. */
:root { --bg: #F7F1EB; --raised: #FCF8F3; --ink: #1F1A17; --soft: #4A403A; --rule: #D9CBBE; --teal: #1F5B4E; --link: #1F5B4E; --cream: #FFF8F2; --max: 46rem; }
@media (prefers-color-scheme: dark) { :root { --bg: #161311; --raised: #211D1A; --ink: #FFF8F2; --soft: #D9CBBE; --rule: #3A332E; --link: #A8E0CF; } }
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); font: 400 1.125rem/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--raised); padding: 0.5rem 0.75rem; border-radius: 8px; }
.skip:focus { left: 1rem; }
.top { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; max-width: var(--max); margin: 0 auto; padding: 1rem 1rem 0; }
.brand { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; text-decoration: none; color: var(--ink); }
nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; flex: 1 1 auto; }
nav a { text-decoration: none; padding: 0.5rem 0; min-height: 44px; display: inline-flex; align-items: center; }
nav a[aria-current="page"] { text-decoration: underline; }
nav .alt { margin-left: auto; font-weight: 600; }
main { max-width: var(--max); margin: 0 auto; padding: 1.5rem 1rem 3rem; }
h1 { font-size: 2rem; line-height: 1.15; letter-spacing: -0.02em; margin: 0.5rem 0 1rem; }
h2 { font-size: 1.35rem; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 0.25rem; }
p, li { max-width: 40rem; }
ul, ol { padding-left: 1.4rem; }
li { margin: 0.25rem 0; }
.lead { font-size: 1.3rem; color: var(--soft); }
.cta { display: inline-flex; align-items: center; background: var(--teal); color: var(--cream); font-weight: 700; padding: 0.8rem 1.4rem; border-radius: 14px; text-decoration: none; margin: 0.5rem 0.5rem 0.5rem 0; min-height: 48px; }
.cta.quiet { background: transparent; color: var(--ink); border: 2px solid var(--rule); }
.card { background: var(--raised); border: 1px solid var(--rule); border-radius: 16px; padding: 1rem 1.25rem; margin: 1rem 0; }
code, pre { font: 0.95em ui-monospace, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
table { border-collapse: collapse; width: 100%; font-size: 0.95em; }
th, td { text-align: left; vertical-align: top; padding: 0.5rem 0.6rem; border-top: 1px solid var(--rule); }
.table { overflow-x: auto; }
footer { max-width: var(--max); margin: 0 auto; padding: 1.5rem 1rem 3rem; color: var(--soft); border-top: 1px solid var(--rule); font-size: 0.95rem; }
footer p { margin: 0.4rem 0; }
.note { color: var(--soft); font-size: 0.95em; }
dl dt { font-weight: 700; margin-top: 1rem; }
dl dd { margin: 0.15rem 0 0; }
