/* ZERO legal site — static assets only. No external fonts, scripts, or images. */
:root {
  --bg: #f6f3ee;
  --ink: #1c1916;
  --muted: #5b534a;
  --rule: #d8d0c6;
  --card: #fffdf9;
  --accent: #163a5f;
  --focus: #0b57d0;
  --placeholder-bg: #fff3e0;
  --placeholder-ink: #6a3d00;
}

* { box-sizing: border-box; }

html { font-size: 18px; scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.55;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--card);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  z-index: 10;
}
.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

header, main, footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

header { padding-top: 2rem; }

header a.home {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}
header a.home:hover,
header a.home:focus {
  text-decoration: underline;
}

.tagline {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.88rem;
}

nav {
  margin: 0.85rem 0 1.35rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
}

nav a {
  color: var(--ink);
  margin-right: 1rem;
  display: inline-block;
  margin-bottom: 0.35rem;
}

nav a[aria-current="page"] {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  font-weight: 700;
}

h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.6rem;
}

h3 {
  font-size: 1.05rem;
  margin: 1.4rem 0 0.4rem;
}

p, li { margin: 0 0 0.8rem; }

ul, ol { padding-left: 1.2rem; }

.meta {
  color: var(--muted);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.88rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 0 0 1rem;
  background: var(--card);
}

th, td {
  border: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
  padding: 0.45rem 0.55rem;
}

th {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 600;
}

.links {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 0.9rem 1.1rem;
  margin: 1.25rem 0 1.75rem;
}

.links h2 {
  margin-top: 0;
  font-size: 1.05rem;
}

footer {
  border-top: 1px solid var(--rule);
  margin: 3rem auto 2.5rem;
  padding-top: 1rem;
  color: var(--muted);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
}

footer nav a {
  margin-right: 0.9rem;
}

a { color: var(--accent); }

a:focus,
button:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
}

.placeholder {
  display: inline-block;
  background: var(--placeholder-bg);
  color: var(--placeholder-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  padding: 0 0.25rem;
  border-radius: 2px;
}

@media (max-width: 40rem) {
  html { font-size: 17px; }
  h1 { font-size: 1.7rem; }
}
