/* Tab4Us – legal pages on tab4us.com (5-AS5). No web fonts, no external resources; colours from docs/design.md.
   Kept under /assets/site.css so a later web app (block 6) can live next to it without overwriting it. */
:root {
  color-scheme: light dark;
  --background: #F6F6F1;   /* Paper */
  --text: #0E0F11;         /* Black */
  --muted: #55554F;
  --card: #FFFFFF;
  --border: #DCDCD3;
  --link: #0E0F11;
  --yellow: #FFE500;       /* Signal yellow: only as a surface on light */
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0E0F11;
    --text: #F6F6F1;
    --muted: #B4B4AC;
    --card: #1A1A18;
    --border: #2E2E2B;
    --link: #FFE500;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 1rem/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

header.bar {
  background: var(--text);
  color: var(--background);
  border-bottom: 4px solid var(--yellow);
}

header.bar .inner, main, footer .inner {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1rem;
}

header.bar a.brand {
  color: inherit;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

main section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.25rem 1.25rem 1rem;
  margin: 0 0 1.5rem;
}

h1 { font-size: 1.75rem; line-height: 1.2; margin: 1rem 0 0.5rem; }
h2 { font-size: 1.15rem; margin: 1.5rem 0 0.25rem; }

a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }

p.skip { margin: 0.5rem 0 1rem; color: var(--muted); }

address { font-style: normal; }

footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

footer nav a { margin-right: 1rem; }
