:root {
  --bg: #fbfaf7; --fg: #23211d; --muted: #6b665d; --line: #e6e1d8;
  --accent: #2f6f5e; --code: #f1eee7;
  font-family: Charter, "Bitstream Charter", "Iowan Old Style", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1b1a18; --fg: #e9e5dc; --muted: #a39d92; --line: #34312c; --accent: #7cc0a8; --code: #26241f; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); line-height: 1.65; font-size: 18px; }
.wrap { max-width: 42rem; margin: 0 auto; padding: 2.5rem 1rem 4rem; }
header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem;
  border-bottom: 1px solid var(--line); padding-bottom: .75rem; margin-bottom: 2rem; }
header a.home { font-weight: 700; color: var(--fg); text-decoration: none; letter-spacing: .01em; }
nav a { margin-left: 1rem; color: var(--muted); text-decoration: none; font-size: .95rem; }
nav a:hover, a { color: var(--accent); }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 .25rem; }
h2 { font-size: 1.25rem; margin-top: 2rem; }
.meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.75rem; }
ul.posts { list-style: none; padding: 0; }
ul.posts li { padding: .9rem 0; border-bottom: 1px solid var(--line); }
ul.posts li a { font-weight: 600; text-decoration: none; }
ul.posts li p { margin: .2rem 0 0; color: var(--muted); font-size: .95rem; }
code, pre { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85em; background: var(--code); border-radius: 4px; }
code { padding: .1em .3em; }
pre { padding: .8rem 1rem; overflow-x: auto; }
blockquote { margin: 1.25rem 0; padding-left: 1rem; border-left: 3px solid var(--line); color: var(--muted); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .35rem .5rem; border-bottom: 1px solid var(--line); }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
