:root {
  --bg: #fbfaf7; --fg: #1f2226; --muted: #5f656c; --line: #e5e2db;
  --card: #ffffff; --accent: #c2410c; --accent-soft: #fdf0e8;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #15171a; --fg: #e7e9ec; --muted: #9aa1a9; --line: #2a2e33; --card: #1c1f23; --accent: #fb8a4c; --accent-soft: #2a1f18; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.65 Georgia, "Iowan Old Style", "Times New Roman", serif; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header.site { border-bottom: 1px solid var(--line); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.logo svg { width: 26px; height: 26px; }
header.site nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; }
header.site nav a:hover { color: var(--fg); }
a { color: var(--accent); }
.intro { padding: 56px 0 28px; }
.intro h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.015em; }
.intro p { color: var(--muted); margin: 0; font-size: 18px; }
.notes { list-style: none; margin: 0; padding: 12px 0 40px; }
.notes li { border-top: 1px solid var(--line); padding: 22px 0; }
.notes .meta, .post .meta { font: 13px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.notes h2 { font-size: 22px; margin: 6px 0 6px; line-height: 1.3; }
.notes h2 a { color: var(--fg); text-decoration: none; }
.notes h2 a:hover { color: var(--accent); }
.notes p { margin: 0; color: var(--muted); }
.post { padding: 48px 0 40px; }
.post h1 { font-size: clamp(28px, 4.5vw, 38px); line-height: 1.2; margin: 8px 0 22px; letter-spacing: -0.015em; }
.post h2 { font-size: 22px; margin: 34px 0 10px; }
.post ul, .post ol { padding-left: 22px; }
.post li { margin-bottom: 6px; }
.post .note { background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 12px 16px; border-radius: 4px; margin: 22px 0; }
.post table { border-collapse: collapse; width: 100%; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; margin: 16px 0; }
.post th, .post td { border-bottom: 1px solid var(--line); text-align: left; padding: 8px 10px 8px 0; vertical-align: top; }
.post th { color: var(--muted); font-weight: 600; }
.back { font: 15px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
footer.site { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--muted); font: 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
@media (max-width: 520px) { header.site nav a { margin-left: 14px; } }
