:root { --ink:#1a1a1a; --muted:#666; --rule:#e6e6e6; --link:#0645ad; }
* { box-sizing: border-box; }
body {
  max-width: 720px; margin: 0 auto; padding: 2rem 1.2rem 4rem;
  font: 18px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

header.site {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 1rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--rule);
}
header.site .brand { font-weight: 700; color: var(--ink); font-size: 1.1rem; }
header.site nav { display: flex; gap: 1rem; }
header.site nav a { color: var(--muted); }

footer.site {
  margin-top: 4rem; padding-top: 1rem; border-top: 1px solid var(--rule);
  color: var(--muted); font-size: .9rem;
}
footer.site a { color: var(--muted); }

h1 { font-size: 2rem; line-height: 1.2; margin: .2em 0; }
h2 { margin-top: 2.2rem; } h3 { margin-top: 1.6rem; }
.subtitle { font-style: italic; color: var(--muted); font-size: 1.1rem; margin-top: 0; }
.date { color: var(--muted); font-size: .9rem; }

ul.posts { list-style: none; padding: 0; }
ul.posts li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .4rem 0; border-bottom: 1px solid var(--rule);
}
ul.posts time { color: var(--muted); font-size: .9rem; white-space: nowrap; }
p.empty { color: var(--muted); font-style: italic; }

code { background: #f3f3f3; padding: .1em .35em; border-radius: 3px; font-size: .88em; }
pre { background: #f6f8fa; padding: 1rem; border-radius: 6px; overflow: auto; }
pre code { background: none; padding: 0; }

table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .95em; }
th, td { border: 1px solid var(--rule); padding: .45rem .6rem; text-align: left; vertical-align: top; }
th { background: #fafafa; }

blockquote { margin: 1rem 0; padding: .2rem 1rem; border-left: 4px solid var(--rule); color: #444; }
article img { max-width: 100%; }
