/* The text pages (privacy.html, terms.html). The tokens are the style guide's, the same
   values as in the :root block at the top of index.html: change them in both places. */
@font-face { font-family: Fraunces; font-style: italic; font-weight: 100 900; font-display: swap;
             src: url(fonts/Fraunces-Italic.woff2) format("woff2"); }
:root {
  --bg: #FFF8EC; --ink: #2E2118; --ink-muted: #6B5A48; --line: #E6D6BC; --rust: #A84A22; --slip: #FFB48A; --focus: #5B45A6;
  --display: Fraunces, "Iowan Old Style", Georgia, serif;
  --text: -apple-system, "SF Pro Text", system-ui, "Helvetica Neue", Arial, sans-serif;
  --gutter: 32px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1A130E; --ink: #FFF8EC; --ink-muted: #C9B8A2; --line: #4A392B; --rust: #F2A27C; --slip: #A84A22; --focus: #B7A5DE; }
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--ink); font: 17px/24px var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--rust); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

header { padding: 14px var(--gutter); }
.lockup { display: inline-flex; align-items: center; gap: 10px; }
.lockup img { display: block; }
.lockup .icon { border-radius: 22%; }

main { max-width: calc(680px + 2 * var(--gutter)); margin: 0 auto; padding: 64px var(--gutter) 96px; }
h1, h2 { font-family: var(--display); font-style: italic; font-variation-settings: "SOFT" 0, "WONK" 0; }
h1 { margin: 0; font-weight: 400; font-size: 64px; line-height: 1.04; text-shadow: 3px 2px 0 var(--slip); }
h2 { margin: 48px 0 12px; font-weight: 500; font-size: 32px; line-height: 1.1; }
h3 { margin: 24px 0 8px; font: 600 17px/24px var(--text); }
p, ul { margin: 0 0 12px; }
ul { padding-left: 24px; }
li { margin-bottom: 4px; }
.dated { margin-top: 16px; color: var(--ink-muted); font-size: 14px; line-height: 20px; }
.lead { margin-top: 24px; font-size: 20px; line-height: 30px; }

footer { padding: 32px var(--gutter) 48px; text-align: center; color: var(--ink-muted); font-size: 14px; line-height: 20px; border-top: 1px solid var(--line); }
footer a { margin-left: 16px; }

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  h1 { font-size: 44px; }
  main { padding-top: 32px; }
}
