/* Budgy legal pages: plain, readable, light and dark. Colours follow src/constants/theme.ts. */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #12151c;
  --muted: #5b6170;
  --accent: #0b6e55;
  --accent-soft: #e5f4ee;
  --border: #e3e6eb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1116;
    --surface: #171b22;
    --text: #f1f3f6;
    --muted: #a3aab8;
    --accent: #4fd1a5;
    --accent-soft: #15322a;
    --border: #262c36;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
main { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.lang a { color: var(--muted); text-decoration: none; font-size: 14px; margin-left: 12px; }
.lang a[aria-current="page"] { color: var(--accent); font-weight: 600; }
h1 { font-size: 28px; line-height: 1.25; margin: 8px 0 4px; }
h2 { font-size: 19px; margin: 32px 0 8px; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
a { color: var(--accent); }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 6px; border-bottom: 1px solid var(--border); }
.links { display: grid; gap: 12px; margin-top: 24px; }
.links a { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; text-decoration: none; color: var(--text); font-weight: 600; }
footer { margin-top: 48px; color: var(--muted); font-size: 14px; }
@media (max-width: 480px) { table, thead, tbody, tr, th, td { display: block; } th { border-bottom: none; padding-bottom: 0; } }
