:root {
  --bg: #fcfcfd;
  --surface: #ffffff;
  --border: #e5e7eb;
  --text: #111827;
  --muted: #4b5563;
  --subtle: #6b7280;
  --accent: #0f4c81;
  --accent-soft: #eef4fa;
  --code-bg: #f3f4f6;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.72;
  font-size: 16px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 780px; margin: 0 auto; padding: 0 24px; }
header.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 20px 0;
  margin-bottom: 44px;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand span {
  color: var(--subtle);
  font-weight: 400;
  font-size: 0.92rem;
  margin-left: 8px;
}
nav.site-nav { display: flex; gap: 22px; font-size: 0.95rem; }
nav.site-nav a { color: var(--muted); font-weight: 500; }
nav.site-nav a:hover, nav.site-nav a.active { color: var(--text); text-decoration: none; }
.hero {
  padding-bottom: 32px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: 1.95rem;
  line-height: 1.28;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.hero p { color: var(--muted); font-size: 1.05rem; }
.post-list { display: flex; flex-direction: column; gap: 28px; }
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 26px;
  transition: border-color 0.15s ease;
}
.post-card:hover { border-color: #cbd5e1; }
.post-meta {
  font-size: 0.84rem;
  color: var(--subtle);
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.tag {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
}
.post-card h2 { font-size: 1.28rem; margin-bottom: 10px; line-height: 1.38; }
.post-card h2 a { color: var(--text); }
.post-card p { color: var(--muted); font-size: 0.97rem; }
article.post-content h1 { font-size: 1.85rem; line-height: 1.3; margin-bottom: 12px; }
article.post-content h2 { font-size: 1.32rem; margin: 32px 0 12px; }
article.post-content p { margin-bottom: 18px; color: #1f2937; }
article.post-content ul { margin: 0 0 18px 22px; color: #1f2937; }
article.post-content li { margin-bottom: 8px; }
pre {
  background: #111827;
  color: #e5e7eb;
  padding: 18px 20px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 18px 0 24px;
}
code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  background: var(--code-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
}
pre code { background: transparent; padding: 0; color: inherit; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
footer.site-footer {
  margin-top: 64px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--border);
  color: var(--subtle);
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
