:root {
  --bg: #0f0f12;
  --surface: #18181c;
  --text: #e8e6e3;
  --muted: #9a9590;
  --accent: #c45c3e;
  --border: #2a2a30;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--accent);
}

.doc-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  font-weight: 600;
  margin: 0.35rem 0 0;
  letter-spacing: -0.03em;
}

.meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

p,
ul {
  margin: 0 0 1rem;
  color: var(--muted);
}

ul {
  padding-left: 1.25rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
