/*
  Stylesheet for the x minutes privacy policy.

  It lives in its own file rather than in a <style> block because the server
  sends `Content-Security-Policy: ... style-src 'self' ...`, which blocks inline
  styles outright. An external stylesheet on the same origin is exactly what
  that directive permits.

  For the same reason there are no webfonts. The policy has no `font-src`
  directive and `default-src 'none'`, so a font file is blocked whether it comes
  from Google or from this server — self-hosting does not get around it. The
  two stacks below are system fonts, which need no network request at all.
*/

:root {
  /* Named once so the serif/sans pairing can be changed in one place — and so
     real webfonts can be dropped back in here if the CSP ever gains font-src. */
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: Georgia, "Times New Roman", serif;

  --bg: #F4F1EA;
  --card: #FFFFFF;
  --ink: #1F2A24;
  --muted: #55605A;
  --line: #D8D2C4;
  --sage: #3F6B55;
  --sage-soft: #DDE7DF;
  --terra: #C8643B;
  --terra-text: #A64E2B;
  --todo-bg: #FBE3C7;
  --todo-ink: #6B2E12;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111816;
    --card: #1B2521;
    --ink: #ECE7DC;
    --muted: #A3AFA8;
    --line: #2E3B35;
    --sage: #86B89C;
    --sage-soft: #24302B;
    --terra: #E38B63;
    --terra-text: #E38B63;
    --todo-bg: #4A2A1A;
    --todo-ink: #FBD9C4;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
}
.wrap { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand svg { flex: none; }
.wordmark { font: 600 24px/1 var(--serif); }
.wordmark i { color: var(--terra); }
.langs { display: flex; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs a {
  font-weight: 600; font-size: 14px; text-decoration: none; color: var(--muted);
  padding: 6px 14px; border-radius: 999px;
}
.langs a[aria-current="page"] { background: var(--sage); color: var(--bg); }
h1 { font: 600 34px/1.2 var(--serif); margin: 36px 0 4px; }
.updated { color: var(--muted); margin: 0 0 24px; font-size: 15px; }
h2 { font: 600 22px/1.3 var(--serif); margin: 40px 0 8px; }
h3 { font-size: 17px; margin: 24px 0 4px; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--sage); }
.summary {
  background: var(--sage-soft); border-radius: 16px; padding: 18px 20px; margin: 8px 0 8px;
}
.summary h2 { margin-top: 0; font-size: 19px; }
.summary ul { margin-bottom: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px 12px; margin: 12px 0; }
.tag {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--terra-text);
  border: 1px solid currentColor; border-radius: 999px; padding: 0 10px; margin-left: 6px; vertical-align: 2px;
}
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 12px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }
mark.todo { background: var(--todo-bg); color: var(--todo-ink); border-radius: 4px; padding: 0 4px; }
footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; }
}
