/* Public legal pages. Plain HTML/CSS: readable without JavaScript, the Flutter engine or the PWA cache. */
:root {
  color-scheme: dark;
  --bg: #060a0c;
  --panel: #0d151a;
  --line: #1f2f37;
  --text: #e6eef1;
  --muted: #8b9ba5;
  --accent: #ffd34d;
  --link: #63eaf6;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

header, main, footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.brand img { width: 36px; height: 36px; }

nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }

nav a[aria-current="page"] { color: var(--accent); text-decoration: none; }

main { padding-top: 32px; padding-bottom: 48px; }

h1 { margin: 0 0 8px; font-size: 32px; line-height: 1.2; color: var(--accent); }

h2 { margin: 40px 0 8px; font-size: 21px; line-height: 1.3; }

h3 { margin: 24px 0 4px; font-size: 17px; }

.updated { margin: 0 0 24px; color: var(--muted); font-size: 14px; }

.summary {
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.summary ul { margin: 8px 0 0; padding-left: 20px; }

ul, ol { padding-left: 22px; }

li + li { margin-top: 4px; }

.table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: 15px; }

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

th { color: var(--muted); font-weight: 600; }

footer {
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 480px) {
  h1 { font-size: 26px; }
  body { font-size: 15px; }
}
