/* Shared styling for the legal pages.
   Plain CSS, no build step and no JavaScript — these documents must render
   for a crawler, a screen reader, a printer and a court bundle equally well,
   and none of those should depend on a bundle loading. */

:root {
  --bg: #090b10;
  --panel: #0f1319;
  --border: #1e2433;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #22d3ee;
  --link: #60a5fa;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

header.site {
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
}
header.site a.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 18px;
}
header.site a.brand span { color: var(--accent); }

main {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

h1 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

p.meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 40px;
}

h2 {
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

h3 { font-size: 16px; margin: 26px 0 8px; color: #f1f5f9; }

p, li { color: #cbd5e1; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 8px; }

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

strong { color: #f1f5f9; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}
th, td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
th { background: var(--panel); color: #f1f5f9; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }

.callout {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 22px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout p:first-child { margin-top: 0; }

.toc {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 40px;
}
.toc ol { margin: 0; }
.toc li { margin-bottom: 4px; }

footer.site {
  border-top: 1px solid var(--border);
  padding: 28px 24px 60px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
footer.site a { color: var(--muted); margin: 0 10px; }

@media print {
  body { background: #fff; color: #000; }
  p, li { color: #000; }
  header.site, footer.site { border-color: #ccc; }
  a { color: #000; text-decoration: underline; }
}
