/* The Terms of Service and Privacy Policy pages (static/terms.html, static/privacy.html): a calm document in the
   landing page's colours and type, light and dark. */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format("woff2"); }

:root { --bg: #f1e8e5; --panel: #fbf6f4; --ink: #2b2725; --ink-2: #5d5552; --rule: #ddd0cb; color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #1c2229; --panel: #262d36; --ink: #ece8e4; --ink-2: #b6afa9; --rule: #3a434e; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 Inter, system-ui, sans-serif; }
header, main, footer { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; padding-bottom: 8px; flex-wrap: wrap; }
header a { color: var(--ink); text-decoration: none; font-weight: 600; }
header nav { display: flex; gap: 18px; font-size: 15px; }
header nav a { font-weight: 400; color: var(--ink-2); padding: 10px 0; }
header nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.1; margin: 36px 0 8px; font-weight: 600; text-wrap: balance; }
.meta { color: var(--ink-2); margin: 0 0 28px; }
.summary { background: var(--panel); border: 1px solid var(--rule); border-radius: 10px; padding: 18px 20px; margin: 0 0 32px; }
.summary p { margin: 0 0 8px; } .summary ul { margin: 0; padding-left: 20px; }
h2 { font-size: 21px; line-height: 1.3; margin: 36px 0 8px; font-weight: 600; }
h3 { font-size: 17px; margin: 22px 0 6px; font-weight: 600; }
p, li { max-width: 70ch; } li { margin: 4px 0; }
a { color: inherit; text-underline-offset: 3px; }
table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 9px 8px; border-bottom: 1px solid var(--rule); }
th { font-weight: 600; border-bottom: 2px solid var(--ink); }
footer { color: var(--ink-2); font-size: 14px; padding-top: 40px; padding-bottom: 48px; }
@media (max-width: 600px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr { padding: 8px 0; border-bottom: 1px solid var(--rule); }
  td { border: 0; padding: 2px 0; }
  td:first-child { font-weight: 600; }
}
