:root { color-scheme: light dark; }
* { box-sizing: border-box; }
body {
  margin: 0 auto; max-width: 42rem; padding: 1.5rem 1.25rem 3rem;
  font-family: -apple-system, "PingFang HK", "PingFang SC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  line-height: 1.75; color: #1c2330; background: #fdfcf9;
}
header {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid #ddd6c9; padding-bottom: .75rem; margin-bottom: 2rem;
}
.site-title { font-size: 1.35rem; font-weight: 700; letter-spacing: .05em; }
.site-title a { color: inherit; text-decoration: none; }
nav a { margin-left: 1.1rem; color: #5a6472; text-decoration: none; font-size: .95rem; }
nav a:hover { color: #1c2330; text-decoration: underline; }
h1 { font-size: 1.6rem; line-height: 1.4; margin: .5rem 0 1rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 .6rem; }
.intro { color: #414a58; }
.post-list { list-style: none; padding: 0; }
.post-list li { margin-bottom: 1.6rem; }
.post-list .date { display: block; font-size: .85rem; color: #8a93a1; font-variant-numeric: tabular-nums; }
.post-list a { font-size: 1.08rem; color: #14509e; text-decoration: none; }
.post-list a:hover { text-decoration: underline; }
.excerpt { margin: .25rem 0 0; color: #414a58; font-size: .95rem; }
.date { color: #8a93a1; font-size: .9rem; font-variant-numeric: tabular-nums; }
footer { margin-top: 3rem; border-top: 1px solid #ddd6c9; padding-top: 1rem; color: #8a93a1; font-size: .85rem; }
footer a { color: inherit; }
@media (prefers-color-scheme: dark) {
  body { color: #dde3ea; background: #14171c; }
  header, footer { border-color: #2c333e; }
  nav a { color: #9aa5b3; }
  nav a:hover { color: #dde3ea; }
  .intro, .excerpt { color: #aab3bf; }
  .post-list a { color: #7db1e8; }
}
