:root {
  --bg: #faf9f7;
  --text: #2b2b2b;
  --muted: #777;
  --accent: #3d5a80;
  --line: #e5e2dd;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
}

.container { max-width: 720px; margin: 0 auto; padding: 0 20px; }

.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.site-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 1px;
}
nav a {
  margin-left: 18px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
nav a:hover { color: var(--accent); }

main { padding: 40px 0 60px; }
.intro { color: var(--muted); margin-bottom: 32px; }

.post-card { border-bottom: 1px solid var(--line); padding: 18px 0; }
.post-card h2 { margin: 0 0 4px; font-size: 20px; }
.post-card h2 a { color: var(--text); text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.date { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.post-card p { margin: 0; font-size: 15px; color: #555; }

.post-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px;
}
.post-body h1 { margin-top: 0; font-size: 26px; }
.post-body .date { margin-bottom: 20px; }
.post-body p { font-size: 16px; }

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  padding: 18px 0;
}
.site-footer p { margin: 0; }
