/* Text pages: privacy, changelog, page not found. Same type and colours as the home page. */
@font-face { font-family: "Marcellus"; font-weight: 400; src: url("/fonts/marcellus.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Spectral"; font-weight: 400; src: url("/fonts/spectral.woff2") format("woff2"); font-display: swap; }
:root { --ink: #0b0b0c; --vellum: #f1e9d8; --gilt: #d9b061; --soft: #bdb6a8; --line: rgba(241, 233, 216, 0.16); --gutter: clamp(16px, 4vw, 56px); --serif: "Marcellus", Georgia, serif; }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--ink); color: var(--vellum); font: 400 1.25rem/1.55 "Spectral", Georgia, serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: rgba(217, 176, 97, 0.38); color: var(--vellum); }
a { color: inherit; text-underline-offset: 3px; text-decoration-color: rgba(241, 233, 216, 0.4); }
a:hover { color: var(--gilt); text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--gilt); outline-offset: 2px; border-radius: 3px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
p, ul { margin: 0; padding: 0; }
code { font: 400 0.85em/1 ui-monospace, Menlo, monospace; padding: 2px 5px; border-radius: 5px; background: rgba(241, 233, 216, 0.1); }

.top { padding: clamp(24px, 3vw, 40px) var(--gutter) 0; }
.top a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.top img:first-child { width: 48px; } .top img:last-child { width: 100px; }

.doc { flex: 1; width: 100%; max-width: calc(40rem + 2 * var(--gutter)); margin-inline: auto; padding: clamp(56px, 8vw, 112px) var(--gutter) clamp(72px, 10vw, 144px); }
.doc h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.04; letter-spacing: -0.03em; }
.doc .lede { margin-top: 24px; font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.45; text-wrap: pretty; }
.doc h2 { margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line); font-size: clamp(1.625rem, 2.6vw, 2.25rem); line-height: 1.15; letter-spacing: -0.02em; }
.doc h3 { margin-top: 32px; font-size: 1.0625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.doc h2 + p, .doc h3 + ul, .doc h2 + ul { margin-top: 16px; }
.doc p + p, .doc ul + p, .doc p + ul { margin-top: 16px; }
.doc p, .doc li { text-wrap: pretty; }
.doc ul { list-style: none; }
.doc li { position: relative; padding-left: 22px; margin-top: 10px; }
.doc li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 8px; height: 1px; background: var(--soft); }
.doc .soft, .doc .when { color: var(--soft); }
.doc .when { margin-top: 8px; font-size: 1rem; }

.base { display: flex; flex-wrap: wrap; gap: 0 24px; padding: 0 var(--gutter) clamp(20px, 3vw, 32px); border-top: 1px solid var(--line); margin: 0 var(--gutter); padding-inline: 0; padding-top: 8px; }
.base a { min-height: 44px; display: inline-flex; align-items: center; font-size: 0.9375rem; color: var(--soft); text-decoration: none; }
.base a:hover { color: var(--vellum); }
.base span { display: inline-block; align-self: center; padding: 11px 0; font-size: 0.9375rem; line-height: 1.35; color: var(--soft); }
.base b { font-weight: inherit; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
