:root {
  --bg: #fbfaf7;
  --fg: #1f2328;
  --muted: #6a737d;
  --accent: #b5532c;
  --rule: #e6e2da;
  --code-bg: #f2efe8;
  --max: 42rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --fg: #e6e6e3;
    --muted: #9aa0a6;
    --accent: #e3895f;
    --rule: #2a2d31;
    --code-bg: #1f2226;
  }
}
* { box-sizing: border-box; }
html { font-size: 17px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Iowan Old Style", "Charter", "Source Serif Pro", Georgia, "Songti SC", serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
header.site {
  border-bottom: 1px solid var(--rule);
  padding: 1.6rem 0 1.1rem;
  margin-bottom: 2.4rem;
}
header.site .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--fg); letter-spacing: .01em; }
.brand span { color: var(--accent); }
nav a { margin-left: 1.1rem; color: var(--muted); font-family: ui-sans-serif, -apple-system, "Helvetica Neue", sans-serif; font-size: .9rem; }
nav a:first-child { margin-left: 0; }
h1, h2, h3 { line-height: 1.3; font-weight: 700; }
h1 { font-size: 1.9rem; margin: 0 0 .4rem; }
h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.meta { color: var(--muted); font-size: .85rem; font-family: ui-sans-serif, -apple-system, "Helvetica Neue", sans-serif; }
.intro { color: var(--muted); margin-bottom: 2.4rem; }
ul.posts { list-style: none; padding: 0; margin: 0; }
ul.posts li { padding: 1.1rem 0; border-bottom: 1px dashed var(--rule); }
ul.posts li:last-child { border-bottom: 0; }
ul.posts a.title { font-size: 1.12rem; font-weight: 600; color: var(--fg); }
ul.posts p { margin: .25rem 0 0; color: var(--muted); font-size: .95rem; }
article p, article li { hyphens: auto; }
code, pre {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .85em;
  background: var(--code-bg);
  border-radius: 4px;
}
code { padding: .1em .35em; }
pre { padding: .9rem 1rem; overflow-x: auto; line-height: 1.5; }
pre code { padding: 0; background: none; }
blockquote { margin: 1.4rem 0; padding: .1rem 1rem; border-left: 3px solid var(--accent); color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { border-bottom: 1px solid var(--rule); padding: .45rem .5rem; text-align: left; }
footer.site {
  margin-top: 4rem;
  border-top: 1px solid var(--rule);
  padding: 1.4rem 0 2.4rem;
  color: var(--muted);
  font-size: .82rem;
  font-family: ui-sans-serif, -apple-system, "Helvetica Neue", sans-serif;
}
.tag { display: inline-block; font-size: .75rem; padding: 0 .45rem; border: 1px solid var(--rule); border-radius: 999px; margin-right: .3rem; color: var(--muted); }
