@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --paper: #f8f6ef;
  --ink: #292b26;
  --muted: #6b6d62;
  --accent: #6450a5;
  --border: #deded2;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #20221f; --ink: #f2f0e6; --muted: #b4b7a9; --accent: #c5b4ef; --border: #43483b; }
}
* { box-sizing: border-box; }
body { margin: 0; }
.legal { width: min(40rem, 100%); margin: 0 auto; padding: 36px 20px 56px; font-size: 16px; line-height: 1.65; }
.legal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.wordmark, .back-link { color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; }
.wordmark { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 700; }
.wordmark:hover, .back-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
h1, h2 { font-family: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.15; }
h1 { margin: 40px 0 6px; font-size: clamp(2rem, 6vw, 2.5rem); letter-spacing: -1px; }
h2 { margin: 36px 0 8px; font-size: 1.25rem; letter-spacing: -.3px; }
.updated { margin: 0 0 28px; color: var(--muted); font-size: 14px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 8px; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.legal-footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; gap: 20px; font-size: 14px; color: var(--muted); }
.legal-footer a { color: inherit; }
