/* The legal pages, read without being signed in: plain text, in the colours of the app. */
:root {
  color-scheme: light dark;
  --bg: #f6f7f5;
  --surface: #ffffff;
  --text: #16201a;
  --muted: #5b665f;
  --accent: #2f855a;
  --border: #dfe4e0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1411;
    --surface: #171e1a;
    --text: #e8eee9;
    --muted: #9aa69f;
    --accent: #6fcf97;
    --border: #2a332e;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

header img {
  width: 40px;
  height: 40px;
}

h1 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.2;
}

h2 {
  margin: 32px 0 8px;
  font-size: 1.15rem;
}

a {
  color: var(--accent);
}

.draft {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
}

.updated,
footer {
  color: var(--muted);
  font-size: 0.9rem;
}

footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
