/* Shared styling for the static policy pages.

   These are deliberately plain HTML, not React routes. Caddy serves them
   before the SPA fallback so they render without JavaScript: reviewers at
   Google and Meta, and automated policy checks, frequently fetch these URLs
   without running JS, and a page that only renders in a real browser reads as
   a missing page.

   Tokens copied from the dashboard skin so the pages do not look bolted on. */
:root {
  --bg: #060912;
  --panel: #0d1524;
  --text: #f7fbff;
  --text-muted: #a7b4c6;
  --line: #ffffff1f;
  --teal: #19e6a6;
  --cyan: #7ddcff;
  --radius: 8px;
  --font-display: 'Orbitron', 'Sansation', Arial, sans-serif;
  --font-body: 'Sansation', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

header.mast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

header.mast img { width: 32px; height: 32px; }

header.mast .brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

header.mast .spacer { flex: 1; }

h1 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 2.5rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

h3 { font-size: 1rem; margin: 1.5rem 0 0.5rem; }

p, li { color: #e4ecf6; }

.lede { color: var(--text-muted); margin-top: 0; }

.updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

a { color: var(--cyan); }
a:hover { color: var(--teal); }

ul { padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

/* Wide content scrolls inside its own box so the page body never does. */
.scroll { overflow-x: auto; }

th, td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th { color: var(--text-muted); font-weight: 400; font-size: 0.85rem; }

.box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.box p:first-child { margin-top: 0; }
.box p:last-child { margin-bottom: 0; }

code {
  background: #ffffff12;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.9em;
}

footer.foot {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

footer.foot .spacer { flex: 1; }
