/* /privacy and /terms (crates/server/src/legal.rs). Served by the server,
   not the web app's bundle, so the app's tokens are repeated here: oat paper,
   ink, deep teal links; Inter for text, Literata for the big heading only. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/Inter-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/Inter-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/Literata-SemiBold.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --bg: #f6f1e7;
  --ink: #18202e;
  --graphite: #5c5850;
  --hairline: #e2d9c8;
  --interactive: #1d5660;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0d0b;
    --ink: #f4ecdc;
    --graphite: #b2aa9b;
    --hairline: #36322a;
    --interactive: #86bcc0;
  }
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 48px 16px 64px;
}
nav {
  font-size: 14px;
  margin-bottom: 32px;
}
nav a + a {
  margin-left: 16px;
}
h1 {
  font-family: "Literata", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 8px;
}
h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 36px 0 8px;
}
.updated {
  color: var(--graphite);
  font-size: 14px;
  margin: 0 0 32px;
}
p,
ul {
  margin: 0 0 12px;
}
ul {
  padding-left: 20px;
}
li {
  margin-bottom: 6px;
}
strong {
  font-weight: 600;
}
a {
  color: var(--interactive);
  text-underline-offset: 2px;
}
footer {
  border-top: 1px solid var(--hairline);
  margin-top: 48px;
  padding-top: 16px;
  color: var(--graphite);
  font-size: 14px;
}
