/* Legal pages (/privacy/, /terms/, /health-data/, /accessibility/, /security/).
 * Same type and Linen colours as the home page (css/home.css), set for reading:
 * one narrow column, generous leading, nothing moving. Light unless the visitor
 * chose dark on the home page (js/theme.js). */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 300 400; font-display: swap; src: url(/fonts/SourceSerif4-Var-latin.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/fonts/SourceSans3-Var-latin.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/GeistMono-Regular.woff2) format("woff2"); }

:root {
  --paper: #F3EDE2; --ink: #2A2723; --ink-2: #57524A; --rule: rgba(42,39,35,.16); --line: rgba(42,39,35,.45); --focus: #6B4A22;
  --display: "Source Serif 4", Georgia, serif;
  --text: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
}
:root[data-theme="dark"] { --paper: #1C1A17; --ink: #EDE6DA; --ink-2: #BFB6A8; --rule: rgba(237,230,218,.15); --line: rgba(237,230,218,.5); --focus: #E7C995; }

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.7 var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; text-decoration-color: var(--line); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: .6rem 1rem; background: var(--ink); color: var(--paper); text-decoration: none; }
.skip-link:focus { top: 1rem; }

.wrap { max-width: 42rem; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 1.6rem 0; }
.wordmark { font: 400 1rem/1.4 var(--mono); letter-spacing: .26em; text-decoration: none; }
.top .back { font-size: .9375rem; color: var(--ink-2); }

main { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) 4rem; }
h1 { font: 300 clamp(2.1rem, 1.6rem + 2vw, 2.9rem)/1.15 var(--display); letter-spacing: -.015em; margin: 0; text-wrap: balance; }
h2 { font: 400 1.45rem/1.3 var(--display); margin: 2.8rem 0 .6rem; text-wrap: balance; }
h3 { font: 500 1.0625rem/1.4 var(--text); margin: 1.6rem 0 .3rem; }
p, ul { margin: .7rem 0; }
p, li { text-wrap: pretty; }
ul { padding-left: 1.2rem; }
li { margin: .35rem 0; }
.updated { color: var(--ink-2); font-size: .9375rem; margin-top: .9rem; }
.short { margin-top: 2.2rem; padding: 1.2rem 1.4rem; border-left: 1px solid var(--line); }
.short p:first-child { margin-top: 0; }
.short p:last-child { margin-bottom: 0; }

footer { border-top: 1px solid var(--rule); padding-block: 2.2rem 3rem; color: var(--ink-2); font-size: .9375rem; }
footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
footer nav a { display: inline-block; padding-block: .2rem; }
footer .fine { font-size: .8125rem; margin-top: 1.2rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.field { font-family: var(--mono); font-size: .9em; }
