:root { color-scheme: light dark;
  --fg: #1a1a1a; --muted: #666; --bg: #fff; --link: #1d4ed8; }
@media (prefers-color-scheme: dark) { :root { --fg: #e5e5e5; --muted: #999; --bg: #111; --link: #93c5fd; } }
* { box-sizing: border-box; }
body { margin: 0 auto; max-width: 42rem; padding: 2rem 1.25rem; font: 1.0625rem/1.7 system-ui, sans-serif;
  color: var(--fg); background: var(--bg); }
a { color: var(--link); }
img, video { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
figure { margin: 1.5rem 0; }
figcaption { color: var(--muted); font-size: .875rem; }
table { border-collapse: collapse; max-width: 100%; }
th, td { border: 1px solid rgba(127,127,127,.4); padding: .375rem .625rem; }
pre { overflow-x: auto; padding: 1rem; background: rgba(127,127,127,.12); border-radius: .375rem; }
.site-header { margin-bottom: 2.5rem; font-weight: 700; font-size: 1.25rem; display: flex; flex-wrap: wrap;
  gap: .75rem; align-items: center; justify-content: space-between; }
.site-search input { font: inherit; font-size: .875rem; font-weight: 400; padding: .25rem .5rem; color: inherit;
  background: transparent; border: 1px solid rgba(127,127,127,.4); border-radius: .375rem; }
.site-header a { color: inherit; text-decoration: none; }
.site-footer { margin-top: 4rem; color: var(--muted); font-size: .875rem; }
.meta { color: var(--muted); font-size: .875rem; margin-top: -.5rem; }
.terms { color: var(--muted); font-size: .875rem; margin-top: 2rem; }
.post-list { list-style: none; padding: 0; }
.post-list li { margin-bottom: 2rem; }
.post-list h2 { margin-bottom: .25rem; font-size: 1.375rem; }
.pagination { display: flex; justify-content: space-between; }
.search-form { display: flex; gap: .5rem; }
.search-form input { flex: 1; font: inherit; padding: .375rem .625rem; color: inherit; background: transparent;
  border: 1px solid rgba(127,127,127,.4); border-radius: .375rem; }
.search-form button { font: inherit; padding: .375rem .875rem; color: inherit; background: rgba(127,127,127,.12);
  border: 1px solid rgba(127,127,127,.4); border-radius: .375rem; cursor: pointer; }
.search-status { color: var(--muted); }
.search-results { list-style: none; padding: 0; }
.search-results li { margin-bottom: 2rem; }
.search-results h2 { margin-bottom: .25rem; font-size: 1.375rem; }
