/* The public site. Plain, high-contrast defaults. WCAG 2.2 AA: visible
   focus, 44 px targets, text that reflows at 320 px and at 400% zoom.
   The same tokens as the board app. */
:root {
  --text: #1b1f24;
  --muted: #4a5360;
  --bg: #ffffff;
  --surface: #f4f6f8;
  --line: #c9d1da;
  --accent: #0b5cad;
  --note-bg: #fff4d6;
  --note-text: #5c4400;
  color-scheme: light dark;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e6e9ed;
    --muted: #b3bcc7;
    --bg: #14171b;
    --surface: #1e2329;
    --line: #3a434d;
    --accent: #7db7ff;
    --note-bg: #3a3014;
    --note-text: #f3dfa2;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
}

main,
.site-header,
.site-footer {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1rem;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.site-header ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.site-header a,
.list a {
  display: inline-block;
  min-height: 44px;
  padding: 0.5rem 0;
}

.brand {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  padding: 0.5rem 1rem;
  background: var(--bg);
  border: 2px solid var(--accent);
}

.skip-link:focus {
  top: 0.5rem;
}

.muted {
  color: var(--muted);
}

.pre {
  white-space: pre-line;
}

.note {
  background: var(--note-bg);
  color: var(--note-text);
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
}

.list {
  padding-left: 1.25rem;
}

.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.25rem 1rem;
}

.facts dt {
  font-weight: 600;
}

.facts dd {
  margin: 0;
}

@media (max-width: 30rem) {
  .facts {
    grid-template-columns: 1fr;
  }

  .facts dd {
    margin-bottom: 0.5rem;
  }
}

.notice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.9375rem;
}
