:root {
  color-scheme: light dark;
  --paper: #fcfcfa;
  --ink: #292826;
  --muted: #686763;
  --link: #365889;
  --rule: #dfdfd9;
  --code: #f0f0eb;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #1d1e1c; --ink: #e5e4dc; --muted: #aaa99f; --link: #a0bcdf; --rule: #3d3e37; --code: #282923; }
}
* { box-sizing: border-box; }
html { font-size: 18px; background: var(--paper); }
body { margin: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; line-height: 1.7; -webkit-text-size-adjust: 100%; overflow-wrap: break-word; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; border-radius: 1px; }
.site-shell { max-width: 760px; margin: 0 auto; padding: 72px 28px 28px; }
.site-header { border-bottom: 1px solid var(--rule); padding-bottom: 21px; margin-bottom: 38px; }
.site-name { display: inline-block; margin: 0; font-size: 2.15rem; font-weight: 400; line-height: 1.25; letter-spacing: -.035em; color: var(--ink); text-decoration: none; }
.site-description { margin: 13px 0 16px; font-size: 1rem; color: var(--muted); }
.site-header nav { display: flex; gap: 27px; font: .82rem/1.5 var(--sans); }
.site-header nav a { display: inline-flex; min-height: 44px; align-items: center; }
.site-header [aria-current="page"] { color: var(--ink); text-decoration: none; }
.section-label { font: 500 .77rem/1.4 var(--sans); color: var(--muted); margin: 0 0 21px; text-transform: uppercase; letter-spacing: .095em; }
.post-list { margin: 0; padding: 0; list-style: none; }
.post-list li { display: grid; grid-template-columns: 122px minmax(0, 1fr); gap: 20px; padding: 0 0 25px; align-items: start; }
.post-list time { padding-top: 12px; color: var(--muted); font: .76rem/1.5 var(--sans); font-variant-numeric: tabular-nums; }
.post-list h3 { margin: 0; font-size: 1.15rem; font-weight: 400; line-height: 1.45; }
.post-list h3 a { display: inline-flex; align-items: center; min-height: 44px; }
.sample-label { color: var(--muted); font: .72rem/1.5 var(--sans); margin: 2px 0 0; }
.empty-state { color: var(--muted); }
.site-footer { display: flex; justify-content: space-between; gap: 18px; margin-top: 86px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--muted); font: .72rem/1.6 var(--sans); }
.article-header { margin-bottom: 32px; }
.article-date { display: flex; flex-wrap: wrap; gap: 10px; font: .76rem/1.6 var(--sans); color: var(--muted); margin: 0 0 13px; }
h1 { margin: 0 0 20px; font-size: 2rem; font-weight: 400; line-height: 1.22; letter-spacing: -.025em; }
.article-description { font-size: 1.14rem; color: var(--muted); margin: 17px 0 0; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose pre, .prose table { margin: 0 0 1.4em; }
.prose h2 { font-size: 1.4rem; font-weight: 400; line-height: 1.35; margin: 1.8em 0 .7em; letter-spacing: -.015em; }
.prose h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.4; margin: 1.8em 0 .7em; }
.prose ul, .prose ol { padding-left: 1.45em; }
.prose li { margin: .25em 0; }
.prose blockquote { border-left: 2px solid var(--rule); padding-left: 24px; color: var(--muted); font-style: italic; }
.prose blockquote p:last-child { margin-bottom: 0; }
code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .8em; background: var(--code); padding: .13em .3em; border-radius: 2px; overflow-wrap: anywhere; }
pre { max-width: 100%; overflow-x: auto; padding: 18px 20px; background: var(--code); border-radius: 2px; line-height: 1.65; }
pre code { background: none; padding: 0; overflow-wrap: normal; }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .9rem; text-align: left; }
.prose th, .prose td { padding: 10px 15px 10px 0; border-bottom: 1px solid var(--rule); }
.prose th { font-weight: 600; }
.prose img { max-width: 100%; height: auto; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.article-nav { margin-top: 44px; font: .82rem/1.5 var(--sans); }
.article-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.skip-link { position: absolute; top: -100px; left: 16px; background: var(--paper); padding: 10px; z-index: 1; }
.skip-link:focus { top: 12px; }
@media (max-width: 520px) {
  .site-shell { padding: 40px 22px 24px; }
  .site-name { font-size: 1.9rem; }
  .site-description { max-width: 27ch; }
  .site-header { margin-bottom: 29px; }
  .post-list li { grid-template-columns: 1fr; gap: 2px; }
  .post-list time { padding-top: 0; }
  .post-list h3 { font-size: 1.2rem; }
  .site-footer { margin-top: 64px; }
  h1 { font-size: 1.8rem; }
  .article-description { font-size: 1.06rem; }
  pre { padding: 14px; }
}
@media print {
  :root { --paper: white; --ink: black; --muted: #444; --link: black; --rule: #ccc; --code: #f4f4f4; }
  html { font-size: 12pt; }
  .site-shell { max-width: none; padding: 0; }
  .site-header nav, .site-footer, .article-nav, .skip-link { display: none; }
  .site-header { padding-bottom: 15px; margin-bottom: 24px; }
  pre { white-space: pre-wrap; }
}
