:root { --fg: #1d2329; --muted: #5d6873; --line: #e3e7eb; --bg: #fbfbfa; --accent: #2f6f6a; }
@media (prefers-color-scheme: dark) {
  :root { --fg: #e6e9ec; --muted: #9aa5b0; --line: #2c333a; --bg: #15191d; --accent: #7cc4bc; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 Georgia, "Times New Roman", serif; }
header, main, footer { max-width: 680px; margin: 0 auto; padding: 0 20px; }
header { display: flex; justify-content: space-between; align-items: baseline; padding-top: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.brand { font-weight: bold; font-size: 20px; color: var(--fg); text-decoration: none; }
nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-family: system-ui, sans-serif; font-size: 15px; }
nav a:hover, a:hover { color: var(--accent); }
a { color: var(--accent); }
main { padding-top: 24px; padding-bottom: 40px; }
.lead { color: var(--muted); }
.card { padding: 18px 0; border-bottom: 1px solid var(--line); }
.card h2 { margin: 4px 0 6px; font-size: 21px; }
.card h2 a { color: var(--fg); text-decoration: none; }
time { color: var(--muted); font-family: system-ui, sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
h1 { font-size: 30px; line-height: 1.25; margin: 6px 0 18px; }
h2 { font-size: 21px; margin-top: 28px; }
footer { padding-top: 16px; padding-bottom: 32px; border-top: 1px solid var(--line); color: var(--muted); font-family: system-ui, sans-serif; font-size: 13px; }
.more { margin-top: 22px; }
.archive { list-style: none; padding: 0; }
.archive li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.archive time { display: inline-block; min-width: 150px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; font-family: system-ui, sans-serif; font-size: 14px; }
.pager .next { margin-left: auto; text-align: right; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
figure { margin: 0; }
figure img { width: 100%; height: auto; border-radius: 6px; display: block; }
figcaption { color: var(--muted); font-family: system-ui, sans-serif; font-size: 13px; margin-top: 6px; }
code { font-size: 15px; }
