/* Blog pages: plain HTML, same colours as the landing page. System fonts keep pages light. */
:root {
  --red: #b6202d; --red-hover: #9e1b27; --ink: #0a0a0a; --muted: #5f6363; --line: #eeeeee;
  --surface: #f9f9f9; --blush: #fdf2f3;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 17px/1.65 "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--red); }
a:hover { color: var(--red-hover); }
.site-header, .site-footer, main { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.site-header { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 18px; letter-spacing: -0.03em; }
.mark { display: inline-flex; width: 32px; height: 32px; border-radius: 9px; background: var(--red); color: #fff; align-items: center; justify-content: center; }
.mark svg { width: 18px; height: 18px; }
nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-size: 15px; }
nav a { color: var(--ink); text-decoration: none; }
nav a:hover { color: var(--red); }
.button { display: inline-block; background: var(--red); color: #fff !important; text-decoration: none; font-weight: 600; padding: 9px 18px; border-radius: 999px; font-size: 15px; }
.button:hover { background: var(--red-hover); }
main { padding-top: 40px; padding-bottom: 64px; }
h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.1; letter-spacing: -0.035em; margin: 8px 0 12px; }
h2 { font-size: 26px; line-height: 1.2; letter-spacing: -0.03em; margin: 40px 0 8px; }
h3 { font-size: 20px; margin: 28px 0 6px; }
.lead, .meta, .crumbs { color: var(--muted); }
.meta { font-size: 14px; margin: 0; }
.crumbs { font-size: 14px; margin: 0; }
.content { margin-top: 28px; }
.content img { max-width: 100%; height: auto; border-radius: 12px; }
.content blockquote { margin: 24px 0; padding: 4px 20px; border-left: 3px solid var(--red); background: var(--blush); border-radius: 0 12px 12px 0; }
.content table { border-collapse: collapse; width: 100%; font-size: 15px; display: block; overflow-x: auto; }
.content th, .content td { border: 1px solid var(--line); padding: 8px 10px; text-align: start; }
.content code { background: var(--surface); padding: 1px 5px; border-radius: 5px; font-size: 0.92em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tags span { border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: 13px; color: var(--muted); }
.cta { margin-top: 48px; padding: 24px; border-radius: 20px; background: var(--blush); }
.cta p { margin-top: 0; }
.posts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.posts a { display: block; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); text-decoration: none; }
.posts a:hover { border-color: var(--red); }
.posts h2 { margin: 0 0 6px; font-size: 22px; }
.posts p { margin: 0 0 8px; }
.posts .empty { color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 40px; font-size: 14px; color: var(--muted); }
.site-footer p { margin: 4px 0; }
