/* Shared styling for the standalone legal pages.
   These are plain HTML rather than routes in the React app: they are separate
   indexable URLs, they load without the 266kB bundle, and they keep working
   even if the app fails to boot. */
:root {
  color-scheme: dark;
  --bg: #070e1b;
  --panel: #0a1422;
  --text: #e8eef8;
  --muted: #94a3b8;
  --dim: #64748b;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #60a5fa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(7, 14, 27, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar img { height: 26px; width: auto; display: block; }
.topbar nav { display: flex; gap: 18px; font-size: 14px; }
.topbar nav a { color: var(--muted); text-decoration: none; }
.topbar nav a:hover { color: #fff; }

main {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 600;
}
h1 {
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 12px 0 10px;
}
.updated { color: var(--dim); font-size: 14px; margin-bottom: 40px; }

h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
h3 { font-size: 16px; margin: 26px 0 8px; color: #cbd5e1; }

p, li { color: var(--muted); font-size: 15.5px; }
p { margin-bottom: 14px; }
ul, ol { margin: 0 0 16px 22px; }
li { margin-bottom: 8px; }
strong { color: var(--text); font-weight: 600; }
a { color: var(--accent); }

.toc {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 8px;
}
.toc ol { margin: 10px 0 0 20px; }
.toc li { margin-bottom: 5px; font-size: 14.5px; }

.callout {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 22px 0;
}
.callout p:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: 14.5px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--text); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
td { color: var(--muted); }

/* Fields only the business can supply. Deliberately loud so an unfilled
   placeholder cannot quietly ship as if it were a real fact. */
.fill {
  background: rgba(251, 191, 36, 0.14);
  border-bottom: 1px dashed rgba(251, 191, 36, 0.6);
  color: #fbbf24;
  padding: 0 4px;
  border-radius: 3px;
  font-weight: 600;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 24px 60px;
  text-align: center;
  color: var(--dim);
  font-size: 13px;
}
footer a { color: var(--muted); text-decoration: none; margin: 0 10px; }
footer a:hover { color: #fff; }

@media (max-width: 640px) {
  .topbar nav { gap: 12px; font-size: 13px; }
  main { padding: 36px 20px 72px; }
}
