@import url("https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,500;1,400&family=Alegreya+SC:wght@500&family=Inter:wght@400;500&display=swap");

:root {
  --bg: #EAE4D3; --fg: #14181A; --muted: #5A584B; --line: #CDC5AD; --accent: #7A5D10;
  --on-light: inline; --on-dark: none;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #151E1A; --fg: #EAE4D3; --muted: #A4AA99; --line: #34453E; --accent: #E3BE5A; --on-light: none; --on-dark: inline; color-scheme: dark; }
}
* { box-sizing: border-box; margin: 0; }
body { background: var(--bg); color: var(--fg); font: 17px/1.6 "Inter", system-ui, sans-serif; padding: 48px 16px 80px; }
main { max-width: 64ch; margin: 0 auto; }
a { color: var(--accent); }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 48px; }
header a { display: flex; align-items: center; gap: 12px; color: var(--fg); text-decoration: none; font: 500 22px/1 "Alegreya", Georgia, serif; }
header img { width: 40px; height: 40px; }
.on-light { display: var(--on-light); } .on-dark { display: var(--on-dark); }
h1 { font: 400 44px/1.1 "Alegreya", Georgia, serif; margin-bottom: 12px; }
h2 { font: 400 26px/1.2 "Alegreya", Georgia, serif; margin: 36px 0 10px; }
.tagline { font: italic 400 22px/1.4 "Alegreya", Georgia, serif; color: var(--muted); margin-bottom: 28px; }
.updated { font-family: "Alegreya SC", Georgia, serif; letter-spacing: .06em; color: var(--accent); margin-bottom: 8px; }
p, ul { margin-bottom: 14px; }
ul { padding-left: 22px; }
footer { margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; display: flex; gap: 20px; flex-wrap: wrap; }
