/* Shared styling for the standalone legal + support pages. Matches the
   palette and type of index.html so they don't read as a different site. */
:root {
  --accent: #4943C5;
  --bg: #000000;
  --ink: #F5F4EF;
  --mut: #9A9A96;
  --card: #141414;
  --line: rgba(255, 255, 255, 0.12);
}

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 28px 22px 96px; }

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 34px;
}
.brand img { width: 36px; height: 36px; display: block; border-radius: 9px; }

h1 {
  font-family: 'Archivo Black', 'Archivo', sans-serif;
  font-size: clamp(30px, 6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 38px 0 10px;
}

p, li { font-size: 15.5px; color: #D9D8D2; margin: 0 0 14px; }
ul { padding-left: 20px; margin: 0 0 14px; }
li { margin-bottom: 8px; }
strong { color: var(--ink); font-weight: 700; }

.muted { color: var(--mut); font-size: 13.5px; margin-bottom: 30px; }

a { color: var(--accent); font-weight: 600; text-decoration: none; }
a:hover { text-decoration: underline; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  margin: 0 0 16px;
}
.card h2 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

/* unresolved entity details, deliberately loud so they can't ship by accident */
.todo {
  background: rgba(214, 69, 69, 0.16);
  border: 1px dashed #D64545;
  border-radius: 6px;
  padding: 1px 7px;
  color: #FF8C8C;
  font-weight: 700;
  font-size: 0.92em;
  white-space: nowrap;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 14.5px;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  color: #D9D8D2;
}
th { color: var(--ink); font-weight: 700; font-size: 13.5px; }
.tablewrap { overflow-x: auto; }

.toc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 22px;
  margin: 0 0 30px;
}
.toc p { margin: 0 0 8px; font-weight: 700; color: var(--ink); font-size: 14px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { font-size: 14px; margin-bottom: 4px; color: var(--mut); }
.toc a { color: var(--mut); font-weight: 500; }
.toc a:hover { color: var(--accent); text-decoration: none; }

.callout {
  background: rgba(73, 67, 197, 0.12);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 0 0 20px;
}
.callout p:last-child { margin-bottom: 0; }

footer {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}
footer a { color: var(--mut); font-weight: 500; }
footer a:hover { color: var(--ink); text-decoration: none; }

::selection { background: var(--accent); color: #fff; }
