:root {
  color-scheme: light;
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --rule: #e4e4e4;
  --accent: #1e66f5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0 auto;
  max-width: 46rem;
  padding: 2rem 1.25rem 4rem;
  background: var(--bg);
  color: var(--fg);
  font:
    1.05rem/1.7 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
header {
  margin-bottom: 2.5rem;
}
.site-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg);
}
.site-name:hover {
  text-decoration: none;
}
main {
  min-height: 50vh;
}
h1 {
  font-size: 2rem;
  line-height: 1.25;
}
h1,
h2,
h3 {
  font-weight: 650;
}
time,
.date {
  color: var(--muted);
  font-size: 0.9em;
}
.post-list {
  list-style: none;
  padding: 0;
}
.post-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--rule);
}
pre,
code {
  font-size: 0.92em;
}
code {
  background: color-mix(in srgb, var(--fg) 8%, transparent);
  padding: 0.1em 0.3em;
  border-radius: 4px;
}
pre {
  background: color-mix(in srgb, var(--fg) 5%, transparent);
  padding: 1rem;
  overflow-x: auto;
  border-radius: 8px;
}
pre code {
  background: none;
  padding: 0;
}
footer {
  margin-top: 3.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.85em;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
footer p { margin: 0; }
footer .links {
  display: flex;
  gap: 1rem;
}
