:root {
  color-scheme: light;
  --ink: #17202b;
  --muted: #5d6975;
  --line: #dfe5e9;
  --paper: #fbfcfa;
  --accent: #d65a35;
  --code: #18232d;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 76px; gap: 20px; }
.brand { color: var(--ink); font: 700 22px/1 ui-monospace, SFMono-Regular, Menlo, monospace; text-decoration: none; letter-spacing: -1px; }
.brand span { color: var(--accent); }
.github-link, .read-more { color: var(--accent); font-weight: 650; text-decoration: none; }
.content { padding-top: 86px; padding-bottom: 72px; }
.eyebrow, .post-date { color: var(--accent); font: 700 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.035em; }
h1 { max-width: 680px; margin: 12px 0 18px; font-size: clamp(42px, 8vw, 68px); }
h2 { margin: 8px 0 8px; font-size: 30px; }
h3 { margin-top: 42px; font-size: 23px; }
.intro { max-width: 600px; margin: 0 0 72px; color: var(--muted); font-size: 21px; }
.post-card { padding: 28px 0 34px; border-top: 1px solid var(--line); }
.post-card p:not(.post-date) { max-width: 650px; color: var(--muted); }
.post-card h2 a { color: inherit; text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
article > p:first-child { margin-top: 0; }
.content > h1:first-child { margin-top: 0; }
.content a { text-underline-offset: 3px; }
pre { overflow-x: auto; padding: 20px; border-radius: 8px; background: var(--code); color: #edf2f4; font-size: 14px; line-height: 1.6; }
code { padding: 2px 5px; border-radius: 4px; background: #edf0ed; font-size: .9em; }
pre code { padding: 0; background: transparent; }
blockquote { margin-left: 0; padding-left: 20px; border-left: 3px solid var(--accent); color: var(--muted); }
.site-footer { padding-bottom: 44px; color: var(--muted); font-size: 14px; }
.site-footer a { color: var(--ink); }
@media (max-width: 600px) { .github-link { font-size: 13px; } .content { padding-top: 58px; } }
