/* Locustep legal pages. Same palette and type as the app (index.html :root). */
:root {
  color-scheme: light dark;
  --paper: #F7F6F3;
  --paper-2: #FFFFFF;
  --text: #1E2A38;
  --text-soft: rgba(30, 42, 56, 0.72);
  --accent: #2E2F7A;
  --line: rgba(30, 42, 56, 0.14);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141A22;
    --paper-2: #1D2733;
    --text: #ECEEF2;
    --text-soft: rgba(236, 238, 242, 0.72);
    --accent: #A5A6F0;
    --line: rgba(236, 238, 242, 0.14);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.65 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.site {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 4rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font: 700 1.05rem/1 'Manrope', system-ui, sans-serif;
}
.brand svg { width: 30px; height: 30px; flex: none; }
.brand { color: #0A0A0B; }
.mk-l { fill: #0A0A0B; stroke: #0A0A0B; }
.mk-b { fill: #C46F12; }
@media (prefers-color-scheme: dark) { .brand { color: #FFFFFF; } .mk-l { fill: #FFFFFF; stroke: #FFFFFF; } .mk-b { fill: #F2A93B; } }

header.page {
  margin: 3.5rem 0 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}
h1, h2, h3 { font-family: 'Manrope', system-ui, sans-serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 6vw, 2.75rem); font-weight: 800; margin: 0 0 0.75rem; letter-spacing: -0.02em; }
.updated { color: var(--text-soft); margin: 0; font-size: 0.95rem; }
.summary {
  margin: 1.5rem 0 0;
  padding: 1rem 1.15rem;
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
}
.summary p { margin: 0; }

nav.contents { margin: 0 0 2.5rem; }
nav.contents h2 { font-size: 1rem; margin: 0 0 0.5rem; }
nav.contents ol { margin: 0; padding-left: 1.3rem; color: var(--text-soft); }
nav.contents li { margin: 0.15rem 0; }

main h2 { font-size: 1.35rem; font-weight: 700; margin: 2.75rem 0 0.75rem; scroll-margin-top: 1rem; }
main h3 { font-size: 1.05rem; font-weight: 700; margin: 1.75rem 0 0.5rem; }
main p, main li { max-width: 68ch; }
main ul { padding-left: 1.3rem; }
main li { margin: 0.35rem 0; }

.table-wrap { overflow-x: auto; margin: 1rem 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem 0.6rem 0; border-bottom: 1px solid var(--line); }
th { font-family: 'Manrope', system-ui, sans-serif; font-weight: 700; }

footer.site-foot {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.95rem;
}
footer.site-foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding: 0; margin: 0 0 0.75rem; }
footer.site-foot [aria-current="page"] { color: var(--text); text-decoration: none; font-weight: 600; }

@media print {
  body { background: #fff; color: #000; }
  nav.contents, footer.site-foot { display: none; }
  a { color: #000; }
}
