/* Legal document styles — restores browser-default styling
   overridden by Tailwind preflight, scoped to #pure_document. */

:root {
  --doc-text: #1a1a2e;
  --doc-heading: #111;
  --doc-subheading: #222;
  --doc-strong: #111;
  --doc-link: #2563eb;
  --doc-link-hover: #1d4ed8;
  --doc-hr: #d1d5db;
}

html.dark {
  --doc-text: #d1d5db;
  --doc-heading: #f1f5f9;
  --doc-subheading: #e2e8f0;
  --doc-strong: #f1f5f9;
  --doc-link: #93c5fd;
  --doc-link-hover: #bfdbfe;
  --doc-hr: #374151;
}

#pure_document {
  max-width: 46rem;
  margin: 2rem auto;
  padding: 0 1rem 4rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--doc-text);
}

#pure_document h1 {
  margin: 2rem 0 1rem;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--doc-heading);
}

#pure_document h2 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--doc-subheading);
}

#pure_document p {
  margin: 0 0 0.75rem;
}

#pure_document ul {
  margin: 0 0 0.75rem;
  padding-left: 1.5rem;
  list-style-type: disc;
}

#pure_document ul ul {
  list-style-type: circle;
}

#pure_document li {
  margin-bottom: 0.25rem;
}

#pure_document strong,
#pure_document b {
  font-weight: 600;
  color: var(--doc-strong);
}

#pure_document a {
  color: var(--doc-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#pure_document a:hover {
  color: var(--doc-link-hover);
}

#pure_document hr {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid var(--doc-hr);
}
