/* doc37.co.uk — shared base for every page. Brand: Charcoal #0E1116, Slate #1F2530, Periwinkle #6B8CFF, Mist #E6EBF2,
   Light Gray #B1B7C3, Amber #F5A623 (headings). Headings Newsreader, body Geist. Fonts are self-hosted: no third-party requests. */
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
:root { --bg: #0E1116; --slate: #1F2530; --ink: #E6EBF2; --mu: #B1B7C3; --peri: #6B8CFF; --peri2: #9BB1FF; --amber: #F5A623; --line: rgba(230,235,242,.12); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.5; letter-spacing: -.01em; overflow-wrap: break-word; }
[hidden] { display: none !important; }
a { color: var(--ink); }
:focus-visible { outline: 2px solid var(--peri2); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; background: var(--ink); color: var(--bg); font-weight: 600; z-index: 40; }
.skip:focus { width: auto; height: auto; clip-path: none; padding: 10px 14px; }
.mu { color: var(--mu); } .sm { font-size: 15px; }
.act { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 0; background: var(--peri); color: #0E1116; font: 600 17px "Geist", system-ui, sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 30px rgba(107,140,255,.35); }
.act.off, .act[aria-disabled="true"] { background: var(--slate); color: var(--mu); box-shadow: none; border: 1px solid var(--line); cursor: default; pointer-events: none; }
.act.ghost { background: transparent; color: var(--ink); border: 1px solid rgba(230,235,242,.25); box-shadow: none; }
.foot { max-width: 1120px; margin: 0 auto; padding: 32px 32px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--mu); border-top: 1px solid var(--line); }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot a { color: var(--mu); display: inline-block; padding: 6px 0; }
.foot a:hover, .foot a[aria-current="page"] { color: var(--ink); }
@media (max-width: 820px) { .foot { padding: 28px 18px 36px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { body { background: #fff; color: #111; } .foot nav, .skip { display: none !important; } .foot { color: #222; border-color: #bbb; } }
