:root {
  --bg: #0e0f0c;
  --bg-elev: #161712;
  --ink: #e6e1d3;
  --muted: #9a9484;
  --faint: #6d685c;
  --line: #2a2b24;
  --accent: #c4b48a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  line-height: 1.55;
  font-size: 1.05rem;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
.wrap { max-width: 42rem; margin: 0 auto; padding: 2.5rem 1.25rem 5rem; }
.topnav {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--line);
  padding: 0.9rem 0 0.85rem; margin-bottom: 2.4rem;
}
.topnav a { color: var(--muted); text-decoration: none; }
.topnav a:hover { color: var(--ink); }
.mark { font-family: ui-sans-serif, system-ui, sans-serif; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
h1 { font-weight: 500; font-size: 2rem; letter-spacing: -0.02em; line-height: 1.15; margin: 0.4rem 0 1rem; }
h2 { font-weight: 500; font-size: 1.25rem; margin: 2.6rem 0 0.8rem; }
h3 { font-weight: 500; font-size: 1.05rem; margin: 2.1rem 0 0.5rem; }
.lede { color: var(--muted); font-size: 1.08rem; }
.paths { display: grid; gap: 0.8rem; margin: 2rem 0 2.5rem; }
.paths a.card {
  display: block; background: var(--bg-elev); border: 1px solid var(--line);
  padding: 1rem 1.1rem; text-decoration: none; color: inherit;
}
.paths a.card strong { display: block; color: var(--accent); font-weight: 500; margin-bottom: 0.25rem; }
.paths a.card span { color: var(--muted); font-size: 0.95rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.2rem 0; }
.note, .rail {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem; color: var(--muted); line-height: 1.45;
}
.rail { color: var(--faint); margin: -0.15rem 0 0.9rem; }
p { margin: 0.85rem 0; }
ul { padding-left: 1.15rem; }
li { margin: 0.35rem 0; }
.act {
  margin-top: 3.2rem; padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.act-label {
  font-family: ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.18em; font-size: 0.72rem; color: var(--accent);
  text-transform: uppercase;
}
footer.site {
  margin-top: 3.5rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8rem; color: var(--faint);
}
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }
.toc a { display: block; color: var(--muted); text-decoration: none; padding: 0.15rem 0; }
.toc a:hover { color: var(--ink); }
@media (min-width: 720px) {
  body { font-size: 1.125rem; }
  .wrap { padding-top: 3.2rem; }
  h1 { font-size: 2.35rem; }
}
