/* Shared look for the legal pages: the site's type, set for long reading. Colours come from theme.css. */
* { box-sizing: border-box; }
body { margin: 0; font: 400 17px/1.65 'Bricolage Grotesque', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--mint); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
header, main, footer { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; }
header .theme-toggle { margin-left: auto; }
header a.brand { display: flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
header img { width: 30px; height: 30px; }
h1 { font: 800 clamp(34px, 5vw, 52px)/1.02 'Bricolage Grotesque', system-ui, sans-serif; letter-spacing: -.035em; margin: 32px 0 8px; }
h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 48px 0 8px; }
p, li { color: var(--body); }
ul { padding-left: 22px; }
.meta { color: var(--mist); font-size: 14px; }
.draft { border: 2px solid var(--amber); color: var(--amber); border-radius: 20px; padding: 14px 16px; font-size: 15px; margin: 24px 0; }
.ph { background: rgba(255,184,107,.15); color: var(--amber); border-radius: 4px; padding: 0 4px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--mist); font-weight: 500; }
footer { border-top: 1px solid var(--line); margin-top: 64px; padding: 24px 0 48px; display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; }
footer a { color: var(--mist); }
h3 { font-size: 18px; font-weight: 700; margin: 28px 0 4px; }
pre { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; overflow-x: auto; font-size: 15px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 16px 0; border-block: 1px solid var(--line); margin-top: 24px; font-size: 15px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
