@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,300;1,8..60,400&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #faf8f5;
  --fg: #2a2520;
  --accent: #4a6741;
  --muted: #8a8078;
  --border: #d8d2cb;
  --surface: #f0ece7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1816;
    --fg: #e0dbd5;
    --accent: #8db886;
    --muted: #908880;
    --border: #3a3530;
    --surface: #242120;
  }
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.75;
}

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.strip {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.strip a { color: var(--muted); text-decoration: none; }
.strip a:hover { color: var(--fg); }

.masthead { padding-top: 4rem; padding-bottom: 1.5rem; }

.avatar {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.2rem;
}

.blog-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.blog-title a { color: var(--fg); }
.blog-title a:hover { color: var(--accent); }

.tagline {
  color: var(--muted);
  font-style: italic;
  font-size: 1rem;
  font-weight: 300;
}

.about {
  margin: 1.5rem 0 2.5rem;
  padding: 1.5rem 1.8rem;
  background: var(--surface);
  border-radius: 6px;
  border-left: 3px solid var(--accent);
}
.about p:first-child { margin-top: 0; }
.about p:last-child { margin-bottom: 0; }

h1 { font-weight: 700; color: var(--fg); }
h2 { font-weight: 600; color: var(--fg); letter-spacing: -0.005em; }
h3, h4 { font-weight: 600; }

time {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}

.post-list li {
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 0;
}
.post-link { font-weight: 600; text-decoration: none; }
.post-link:hover { text-decoration: underline; }

.empty, .notice { color: var(--muted); font-style: italic; }

blockquote {
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-style: italic;
  padding-left: 1.2rem;
}

pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.84rem;
}

hr { border-top: 1px solid var(--border); }

.receipt, .colophon {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--muted);
  border-color: var(--border);
}

.post-body p { margin: 1.2rem 0; }
