/* The legal pages (scripts/legal-lib.mjs): static, readable, no framework. System colours and fonts only,
   so the page follows the theme of the device and carries no value of the design tokens. */
:root {
  color-scheme: light dark;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  line-height: 1.6;
}
body {
  margin: 0 auto;
  padding: 16px;
  max-width: 44rem;
  background: Canvas;
  color: CanvasText;
}
header {
  border-bottom: 1px solid color-mix(in srgb, CanvasText 25%, transparent);
  margin-bottom: 24px;
  padding-bottom: 12px;
}
.brand {
  margin: 0;
  font-weight: 700;
}
h1 {
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 4px 0 8px;
}
h2 {
  font-size: 1.3rem;
  margin: 32px 0 8px;
}
h3 {
  font-size: 1.1rem;
  margin: 24px 0 4px;
}
h2:target,
h3:target {
  outline: 2px solid LinkText;
  outline-offset: 4px;
}
.meta {
  margin: 0;
  opacity: 0.8;
}
.draft {
  margin: 12px 0;
  padding: 8px 12px;
  border: 2px solid currentColor;
  border-radius: 8px;
  font-weight: 700;
}
nav a {
  display: inline-block;
  padding: 12px 4px;
}
a {
  color: LinkText;
  overflow-wrap: anywhere;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid LinkText;
  outline-offset: 2px;
}
ul {
  padding-inline-start: 1.4rem;
}
li {
  margin: 4px 0;
}
mark.todo {
  background: Mark;
  color: MarkText;
  padding: 0 4px;
}
code {
  font-family: ui-monospace, monospace;
  font-size: 0.95em;
}
button {
  min-height: 48px;
  padding: 8px 16px;
  font: inherit;
  cursor: pointer;
}
