/* alibi.bot — dokumenty prawne. Dark-first, spójne z aplikacją. */
:root {
  color-scheme: dark light;
  --bg: #10131c;
  --surface: #1a1f2c;
  --text: #f2f4f8;
  --muted: #8a93a6;
  --accent: #ff6b5e;
  --border: #2a3040;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #faf9f7;
    --surface: #ffffff;
    --text: #1c2230;
    --muted: #5c6577;
    --accent: #e5473a;
    --border: #e3e0da;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
}
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}
h1 { font-size: 1.7rem; line-height: 1.25; margin: 8px 0 4px; }
h2 { font-size: 1.15rem; margin: 32px 0 8px; }
p, li { color: var(--text); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 24px; }
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-weight: 700; letter-spacing: 0.4px;
  font-size: 0.9rem; text-transform: lowercase;
}
.brand a { color: inherit; }
.lang { float: right; font-size: 0.85rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 4px 20px;
  margin: 16px 0;
}
.card p { margin: 12px 0; }
mark {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--text);
  border-radius: 4px;
  padding: 0 4px;
}
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
footer {
  margin-top: 48px; padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted); font-size: 0.85rem;
}
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
th, td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.toc { list-style: none; padding: 0; }
.toc li { margin: 10px 0; }
