:root {
  color-scheme: light;
  --paper: #fdfdfc;
  --ink: #292927;
  --muted: #757570;
  --line: #e7e7e2;
  --wash: #f5f5f2;
  --blue: #41413c;
  --teal: #575750;
  --code: #f5f5f2;
  --mono: "Cascadia Code", Consolas, monospace;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 15px/1.8 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a, button, summary, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
::selection { background: #e7e7df; color: #222; }
h1, h2, h3, p { margin: 0; }
.site-width { width: min(100% - 80px, 920px); margin-inline: auto; }
.site-header { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.brand { font-size: 27px; font-weight: 650; letter-spacing: -1.2px; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { position: relative; padding: 13px 0; color: var(--muted); font-size: 14px; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: 5px; height: 2px; left: 0; right: 0; background: var(--ink); }
.site-main { flex: 1; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 10; padding: 9px 15px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.hero { padding: 72px 0 65px; }
.eyebrow { display: block; font: 11px/1.6 var(--mono); letter-spacing: 1.8px; color: var(--muted); }
.hero h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 550; line-height: 1.5; letter-spacing: -.8px; margin: 19px 0 17px; }
.hero-description { color: var(--muted); line-height: 2; font-size: 15px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.section-heading h2 { font-size: 14px; font-weight: 600; }
.section-count { color: var(--muted); font: 12px/1.6 var(--mono); }
.entry-list { padding: 0; margin: 0; list-style: none; }
.entry { display: block; padding: 27px 0 28px; border-block: 1px solid var(--line); }
.entry-list li + li .entry { border-top: 0; }
.entry-meta { display: flex; gap: 13px; align-items: center; color: var(--muted); font-size: 12px; }
.entry-meta time { font-family: var(--mono); }
.meta-divider { width: 1px; height: 10px; background: #d7d7d0; }
.entry-heading { display: flex; gap: 22px; justify-content: space-between; align-items: baseline; margin: 10px 0 8px; }
.entry-title { font-size: 21px; font-weight: 550; line-height: 1.6; }
.entry-arrow { font-size: 20px; color: var(--muted); line-height: 1; transition: transform .15s ease; }
.entry:hover .entry-title { text-decoration: underline; text-decoration-thickness: 1px; }
.entry:hover .entry-arrow { transform: translateX(3px); color: var(--ink); }
.entry-description { max-width: 720px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.entry-tags { color: var(--muted); font-size: 11px; margin-top: 14px; letter-spacing: .25px; }
.category-section { padding: 47px 0 61px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; }
.category-link { display: block; padding-top: 20px; border-top: 1px solid var(--line); }
.category-link-heading { display: flex; justify-content: space-between; gap: 15px; align-items: baseline; }
.category-link h3 { font-size: 17px; font-weight: 550; }
.category-number { color: var(--muted); font: 11px/1.6 var(--mono); }
.category-link p { margin-top: 9px; color: var(--muted); font-size: 13px; }
.category-link:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; }
.site-footer { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding: 23px 0 27px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.page-intro { padding: 64px 0 47px; }
.page-intro h1 { font-size: 32px; line-height: 1.5; font-weight: 550; margin: 12px 0; letter-spacing: -.5px; }
.page-intro p { color: var(--muted); font-size: 14px; }
.archive { padding-bottom: 75px; }
.archive-heading { display: flex; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.archive-heading h2 { font: 14px/1.6 var(--mono); }
.empty-state { border-block: 1px solid var(--line); padding: 70px 0 76px; }
.empty-index { display: block; font: 12px/1.6 var(--mono); color: #8a8a81; margin-bottom: 20px; }
.empty-state h2 { font-size: 20px; font-weight: 500; margin-bottom: 11px; }
.empty-state p { color: var(--muted); font-size: 14px; }
.text-link { display: inline-block; margin-top: 28px; font-size: 13px; }
.text-link:hover { text-decoration: underline; }
.site-footer a:hover { color: var(--ink); }
.not-found { padding: 80px 0 120px; }
.not-found h1 { font-size: 32px; font-weight: 500; margin: 15px 0; }
.not-found p { color: var(--muted); }
@media (max-width: 640px) {
  .site-width { width: calc(100% - 40px); }
  .site-header { min-height: 82px; gap: 16px; }
  .brand { font-size: 25px; }
  .site-nav { gap: 21px; }
  .site-nav a { font-size: 13px; }
  .hero { padding: 53px 0 47px; }
  .hero h1 { font-size: 28px; letter-spacing: -.7px; margin-top: 16px; }
  .hero-description { font-size: 14px; }
  .hero-description br { display: none; }
  .entry { padding: 23px 0; }
  .entry-title { font-size: 18px; }
  .entry-heading { gap: 14px; }
  .entry-description { font-size: 13px; }
  .category-section { padding: 37px 0 43px; }
  .category-grid { grid-template-columns: 1fr; gap: 0; }
  .category-link { position: relative; padding: 19px 0 20px; }
  .category-link:last-child { border-bottom: 1px solid var(--line); }
  .category-link p { margin-top: 4px; }
  .page-intro { padding: 46px 0 35px; }
  .page-intro h1 { font-size: 28px; }
  .empty-state { padding: 57px 0 62px; }
  .empty-state h2 { font-size: 19px; }
  .site-footer { padding: 20px 0; }
}
@media (max-width: 360px) { .site-nav { gap: 16px; } .hero h1 { font-size: 25px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
@media print { body { display: block; background: white; } .site-header, .site-footer, .skip-link { display: none; } .site-width { width: 100%; } }
