:root {
  --text: #181818;
  --muted: #6b6b6b;
  --line: #e8e8e8;
  --paper: #fcfcfa;
  --link: #244b72;
}

* { box-sizing: border-box; }
html { font-size: 18px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover { text-decoration-thickness: 2px; }
.page { width: min(760px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 34px 0 24px;
  border-bottom: 1px solid var(--line);
}
.identity { color: var(--text); font-weight: 700; text-decoration: none; }
nav { display: flex; gap: 20px; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 0.82rem; }
nav a { color: var(--muted); text-decoration: none; }
main { min-height: 70vh; }
.hero { padding: 92px 0 70px; }
.eyebrow { margin: 0 0 10px; color: var(--muted); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 0.85rem; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.025em; }
h1 { margin: 0; font-size: clamp(2.6rem, 8vw, 4.4rem); }
.intro { max-width: 650px; margin: 22px 0 0; font-size: 1.25rem; color: #3f3f3f; }
.home-section { padding: 36px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.section-heading h2 { margin: 0 0 24px; font-size: 1.35rem; }
.section-heading > a { font-family: ui-sans-serif, system-ui, sans-serif; font-size: 0.78rem; }
.post-list article { padding: 20px 0; border-top: 1px solid var(--line); }
.post-list article:first-child { border-top: 0; }
.post-title { display: block; color: var(--text); font-size: 1.18rem; font-weight: 700; text-decoration: none; }
time, .muted { color: var(--muted); }
time { font-family: ui-sans-serif, system-ui, sans-serif; font-size: 0.75rem; }
.post-list p { margin: 5px 0 0; color: #4e4e4e; }
.content-header { padding: 72px 0 36px; }
.content-header h1 { font-size: clamp(2.2rem, 7vw, 3.5rem); margin-bottom: 14px; }
.description { font-size: 1.1rem; color: var(--muted); }
.article { padding-bottom: 40px; }
.prose { max-width: 680px; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose ul, .prose ol, .prose pre, .prose blockquote { margin: 1.2em 0; }
.prose code { font-size: 0.86em; }
.prose pre { overflow-x: auto; padding: 18px; background: #f2f2ef; }
.prose img { max-width: 100%; height: auto; }
.prose blockquote { margin-left: 0; padding-left: 18px; border-left: 3px solid var(--line); color: #555; }
footer { margin-top: 50px; padding: 28px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 0.72rem; }
footer a { color: inherit; }

@media (max-width: 600px) {
  html { font-size: 17px; }
  .site-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  nav { gap: 16px; }
  .hero { padding: 64px 0 50px; }
}
