@font-face {
  font-family: "Geist Mono";
  src: url("/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/geist-mono-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #6b6b6b;
  --rule: #ececec;
  --link: #111111;
  --accent: #2b59ff;
  --code-bg: #f5f5f5;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e0e;
    --ink: #ededed;
    --muted: #8a8a8a;
    --rule: #242424;
    --link: #ededed;
    --accent: #7c9bff;
    --code-bg: #1a1a1a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0 auto;
  max-width: 620px;
  padding: 0 20px;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.75 "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration-color: var(--rule); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }

header.site, footer.site {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-size: 13px; line-height: 1.4;
}
header.site { padding: 48px 0 64px; }
header.site .name { text-decoration: none; font-weight: 600; }
header.site nav a { margin-left: 20px; color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--ink); }
footer.site { margin-top: 96px; padding: 24px 0 48px; border-top: 1px solid var(--rule); color: var(--muted); }
footer.site a { color: var(--muted); text-decoration: none; }

.intro { margin: 0 0 56px; }
.intro p { font-size: 17px; line-height: 1.65; letter-spacing: -0.02em; margin: 0 0 18px; }
.intro p:last-child { margin-bottom: 0; }

ul.posts { list-style: none; padding: 0; margin: 0; }
ul.posts li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
ul.posts li a { text-decoration: none; font-weight: 500; }
ul.posts time, article time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.empty { color: var(--muted); border-top: 1px solid var(--rule); padding-top: 16px; }

article h1 { font-size: 26px; line-height: 1.25; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.03em; }
article time { display: block; margin-bottom: 40px; }
.prose h2 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; margin: 48px 0 8px; }
.prose h3 { font-size: 16px; font-weight: 600; margin: 32px 0 4px; }
.prose p, .prose ul, .prose ol { margin: 0 0 22px; }
.prose blockquote { margin: 28px 0; padding-left: 18px; border-left: 2px solid var(--accent); color: var(--muted); }
.prose img { max-width: 100%; height: auto; border-radius: 6px; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }
.prose code { font-size: 0.9em; background: var(--code-bg); padding: 2px 5px; border-radius: 4px; }
.prose pre { overflow-x: auto; background: var(--code-bg); padding: 16px; border-radius: 8px; font-size: 13px; }
.prose pre code { background: none; padding: 0; }

@media (max-width: 520px) {
  body { font-size: 14px; }
  header.site { padding: 32px 0 44px; }
  .intro p { font-size: 16px; }
  article h1 { font-size: 22px; }
  ul.posts li { flex-direction: column; gap: 2px; }
}
