:root {
  --width: 760px;
  --bg: #faf8f4;
  --fg: #1c1a17;
  --muted: #6f6a61;
  --faint: #b7b0a5;
  --accent: #b5502e;
  --accent-soft: #f0e3da;
  --border: #e7e1d7;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

html { color-scheme: light; background: var(--bg); scroll-behavior: smooth; }

* { box-sizing: border-box; }

body {
  font-family: var(--sans);
  color: var(--fg);
  background: var(--bg);
  max-width: var(--width);
  margin: 0 auto;
  padding: 2.8rem 1.5rem 5rem;
  line-height: 1.7;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin: 0 0 0.8rem;
}
.logo {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
}
.logo:hover { color: var(--accent); text-decoration: none; }

.site-head nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-head nav a {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
}
.site-head nav a:hover { color: var(--accent); }

.tagline {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 2.5rem;
}

h1 { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; margin: 1.5rem 0 1rem; }
h2 { font-size: 1.25rem; font-weight: 700; margin: 2.2rem 0 0.6rem; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

article a { text-decoration: underline; }

p { margin: 1.1rem 0; color: #3a3630; }

.date { font-family: var(--mono); color: var(--faint); font-size: 0.8rem; }

.post-list { list-style: none; padding: 0; }
.post-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--border);
}
.post-list li:last-child { border-bottom: 1px solid var(--border); }
.post-list a { color: var(--fg); font-weight: 600; }
.post-list a:hover { color: var(--accent); text-decoration: none; }
.post-list .date { white-space: nowrap; }
