/* Standalone styling for the legal pages. Deliberately NOT part of the React
   bundle — these are plain HTML so they load instantly, work with JS disabled,
   and stay reachable even if the app is broken. */

:root {
  color-scheme: dark;
  --bg: #0b0f14;
  --panel: #0f1720;
  --line: #1f2b38;
  --text: #e6edf3;
  --muted: #8b9aa9;
  --accent: #f97316;
  --warn: #fbbf24;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 2.5rem 1.25rem 5rem;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

.wrap { max-width: 44rem; margin: 0 auto; }

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 0.35rem;
}
.brand .accent { color: var(--accent); }

.back {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  margin-bottom: 2rem;
}
.back:hover { color: var(--text); }

h1 { font-size: 1.9rem; margin: 0 0 0.4rem; }
h2 {
  font-size: 1.1rem;
  margin: 2.2rem 0 0.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
h2:first-of-type { border-top: none; padding-top: 0; }

p, li { color: #cbd5e1; }
a { color: #38bdf8; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }

.updated { color: var(--muted); font-size: 0.86rem; margin: 0 0 2rem; }

/* The placeholder banner. Loud on purpose — this must not ship unnoticed. */
.draft {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 0 0 2.5rem;
}
.draft strong { color: var(--warn); }
.draft p { margin: 0.4rem 0 0; font-size: 0.9rem; }

/* Inline markers for anything still needing a real answer. */
.todo {
  background: rgba(249, 115, 22, 0.14);
  color: var(--accent);
  border-radius: 5px;
  padding: 0.05rem 0.35rem;
  font-size: 0.85em;
  font-weight: 600;
}

table { width: 100%; border-collapse: collapse; margin: 0.8rem 0 0; font-size: 0.9rem; }
th, td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }

footer {
  margin-top: 3.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}
