/* WristPrompt legal pages. Plain CSS, no fonts, no images, no third-party requests.
   Tokens on :root; dark through prefers-color-scheme. Every coloured state sets its own text colour. */
:root {
  --bg: #ffffff;
  --surface: #f2f2f7;
  --text: #1c1c1e;
  --text-muted: #55555a;
  --accent: #0a5fd1;
  --accent-text: #ffffff;
  --border: #d1d1d6;
  --notice-bg: #fff4d6;
  --notice-text: #4a3500;
  --radius: 12px;
  --space: 16px;
  --measure: 46rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --text: #f2f2f7;
    --text-muted: #aeaeb2;
    --accent: #6cb0ff;
    --accent-text: #000000;
    --border: #3a3a3c;
    --notice-bg: #3a2f00;
    --notice-text: #ffe9a8;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-wrap: anywhere;
}
a { color: var(--accent); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--space); top: var(--space); background: var(--accent); color: var(--accent-text); padding: 8px 12px; border-radius: 8px; z-index: 1; }
header.site, footer.site, main { max-width: var(--measure); margin: 0 auto; padding: var(--space); }
header.site { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; border-bottom: 1px solid var(--border); }
.brand { font-weight: 700; text-decoration: none; color: var(--text); }
header.site nav { display: flex; flex-wrap: wrap; gap: 4px 16px; flex: 1 1 auto; }
header.site nav a { text-decoration: none; color: var(--text-muted); }
header.site nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.lang { border: 1px solid var(--border); border-radius: 999px; padding: 2px 12px; text-decoration: none; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 1.2rem 0 0.5rem; }
h2 { font-size: 1.3rem; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.lead { font-size: 1.15rem; color: var(--text-muted); }
.meta { color: var(--text-muted); font-size: 0.9rem; margin: 0.25rem 0; }
.notice, .warn { background: var(--notice-bg); color: var(--notice-text); border-radius: var(--radius); padding: 10px 14px; font-size: 0.95rem; }
.cards { list-style: none; padding: 0; display: grid; gap: 10px; }
.cards a { display: block; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; font-weight: 600; }
section[id^="dm-"] { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; margin: 12px 0; }
dl { margin: 0; }
dt { font-weight: 600; font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; }
dd { margin: 0; }
footer.site { border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.9rem; margin-top: 2rem; }
