:root {
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft Yahei", sans-serif;
  color: #111827;
  background: #f9fafb;
  line-height: 1.65;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #1d4ed8; text-underline-offset: .16em; }
a:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
.wrap { width: min(100% - 2rem, 76rem); margin: auto; }
.nav, .hero { background: #fff; border-bottom: 1px solid #e5e7eb; }
.nav .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.5rem; padding: .9rem 0; }
.brand { font-weight: 700; color: inherit; text-decoration: none; }
.nav img { width: 1.8rem; height: 1.8rem; vertical-align: middle; margin-right: .45rem; }
.hero { padding: clamp(1.6rem, 4vw, 3rem) 0; text-align: center; }
.hero h1 { font-size: clamp(1.55rem, 4vw, 2.5rem); margin: 0; }
.hero p { margin: .65rem 0 1.25rem; color: #4b5563; }
.primary { display: inline-block; background: #2563eb; color: white; border-radius: .4rem; padding: .55rem 1rem; text-decoration: none; }
.reading { padding: 1.8rem 0 2.5rem; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; }
.card, .features div { background: #fff; border: 1px solid #e5e7eb; border-radius: .65rem; padding: clamp(1rem, 3vw, 1.7rem); }
.card { margin: 1.3rem 0; }
.features h3, .card h2, .card h3 { margin-top: 0; }
.features p { margin-bottom: 0; color: #4b5563; }
.row { display: flex; gap: .6rem 1.2rem; flex-wrap: wrap; justify-content: space-between; align-items: baseline; }
.posts { list-style: none; margin: .4rem 0 0; padding: 0; }
.posts li { padding: 1rem 0; border-top: 1px solid #e5e7eb; }
.posts a { font-weight: 650; }
.posts p { margin: .35rem 0 0; color: #4b5563; }
.posts time, .meta, .notice { color: #4b5563; font-size: .9rem; }
.pager { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.pager a { padding: .35rem .75rem; border: 1px solid #dbe2f0; border-radius: .35rem; }
.pager a[aria-current] { color: #fff; background: #2563eb; text-decoration: none; }
.article { max-width: 57rem; margin: 1rem auto; overflow-wrap: anywhere; }
.article h1 { line-height: 1.25; }
.article img { max-width: 100%; height: auto; }
.article .cover { display: block; margin: 1rem auto; max-height: 32rem; object-fit: contain; }
.article pre, .article table { display: block; overflow-x: auto; max-width: 100%; }
.article pre { background: #f1f5f9; padding: 1rem; border-radius: .35rem; }
.article th, .article td { padding: .25rem .5rem; border: 1px solid #e5e7eb; }
.article footer { margin-top: 1.8rem; border-top: 1px solid #e5e7eb; padding-top: 1rem; }
.notice { margin: 1.25rem 0; }
