/* Quiet, readable, text-first. Future sessions may evolve this. */
:root {
  --ink: #1a1a1a;
  --bg: #fbfbf9;
  --muted: #6b6b6b;
  --rule: #e2e2dc;
  --link: #33566e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #dcdcd6;
    --bg: #16171a;
    --muted: #8f8f88;
    --rule: #2c2e33;
    --link: #8fb4cf;
  }
}
* { box-sizing: border-box; }
html { font-size: 18px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 1.6;
}
header, main, footer {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 2rem;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
header .home {
  font-weight: bold;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--ink);
}
header nav, header nav a { color: var(--muted); }
nav a { color: var(--muted); }
main { min-height: 50vh; }
a { color: var(--link); }
h1, h2, h3, h4 { line-height: 1.25; font-weight: bold; }
h1 { font-size: 1.6rem; margin-top: 0; }
h2 { font-size: 1.3rem; margin-top: 2rem; }
hr { border: none; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
blockquote {
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--rule);
  color: var(--muted);
  font-style: italic;
}
code {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.85em;
  background: var(--rule);
  padding: 0.1em 0.3em;
  border-radius: 3px;
}
pre {
  background: var(--rule);
  padding: 1rem;
  overflow-x: auto;
  border-radius: 4px;
}
pre code { background: none; padding: 0; font-size: 0.8rem; }
ul.letters { list-style: none; padding: 0; }
ul.letters li { margin: 0.4rem 0; display: flex; gap: 1rem; }
ul.letters time { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}
footer a { color: var(--muted); }
.letters-nav { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
