:root { color-scheme: light; --ink:#172033; --muted:#667085; --line:#e4e7ec; --brand:#3b5bdb; --surface:#fff; --soft:#f6f8fb; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:var(--soft); font:16px/1.7 system-ui,-apple-system,"Segoe UI",sans-serif; }
a { color:var(--brand); text-decoration:none; }
a:hover { text-decoration:underline; }
.container { width:min(1100px, calc(100% - 32px)); margin:0 auto; }
.site-header { background:var(--surface); border-bottom:1px solid var(--line); }
.nav-row { min-height:64px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand { color:var(--ink); font-size:1.25rem; font-weight:750; }
.nav-row nav { display:flex; gap:18px; }
.hero { margin:36px 0 28px; padding:34px; border:1px solid #dbe4ff; border-radius:18px; background:linear-gradient(135deg,#eef2ff,#fff); }
.hero h1 { margin:0 0 8px; font-size:clamp(2rem,5vw,3rem); line-height:1.15; }
.hero p { margin:0; color:var(--muted); }
.eyebrow { color:var(--brand)!important; font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.category-nav { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 32px; }
.category-nav a,.tag,.badge { display:inline-flex; align-items:center; border-radius:999px; padding:3px 10px; background:#edf1ff; color:#334eaa; font-size:.84rem; }
.section-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.section-heading h2 { margin:0; }
.post-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:18px; }
.post-card { overflow:hidden; border:1px solid var(--line); border-radius:14px; background:var(--surface); }
.post-card img { display:block; width:100%; height:150px; object-fit:cover; }
.post-card-body { padding:18px; }
.post-card h2,.post-card h3 { margin:8px 0; line-height:1.35; }
.post-card p { min-height:48px; margin:0 0 10px; color:var(--muted); }
time,.muted { color:var(--muted); font-size:.9rem; }
.empty { padding:30px; border:1px dashed #cbd2e1; border-radius:12px; color:var(--muted); text-align:center; background:var(--surface); }
.breadcrumbs { margin:28px 0 16px; color:var(--muted); font-size:.9rem; }
.article { max-width:820px; margin:0 auto; padding-bottom:40px; }
.article h1 { margin:10px 0; font-size:clamp(2rem,5vw,3rem); line-height:1.25; }
.article-meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px; color:var(--muted); }
.article-cover { display:block; width:100%; max-height:440px; margin:24px 0; border-radius:14px; object-fit:cover; }
.article-summary { padding:16px 18px; border-left:4px solid var(--brand); background:#f1f4ff; color:#3f4c66; }
.rich-content { margin-top:28px; font-size:1.05rem; }
.rich-content img { max-width:100%; height:auto; }
.rich-content pre { overflow:auto; padding:14px; border-radius:8px; background:#182230; color:#e6edf7; }
.downloads { margin-top:40px; padding:22px; border:1px solid var(--line); border-radius:14px; background:var(--surface); }
.downloads h2 { margin-top:0; }
.download-links { display:flex; flex-wrap:wrap; gap:10px; }
.download-link { display:inline-flex; padding:10px 16px; border-radius:8px; background:var(--brand); color:#fff; }
.download-link:hover { background:#2f4cbe; text-decoration:none; }
.search-form { display:flex; align-items:end; flex-wrap:wrap; gap:10px; margin:20px 0; }
.search-form label { width:100%; }
.search-form input { flex:1; min-width:200px; }
input,textarea,select,button { font:inherit; }
input,textarea,select { width:100%; padding:10px 12px; border:1px solid #cbd2df; border-radius:8px; background:#fff; }
button { padding:10px 16px; border:0; border-radius:8px; color:#fff; background:var(--brand); cursor:pointer; }
.site-footer { margin-top:50px; padding:28px 0; border-top:1px solid var(--line); color:var(--muted); background:#fff; }
.pagination { display:flex; gap:6px; margin:24px 0; }
.pagination a,.pagination strong { padding:6px 10px; border:1px solid var(--line); border-radius:6px; }
.pagination strong { color:#fff; background:var(--brand); }
@media (max-width:600px) { .nav-row { align-items:flex-start; padding:14px 0; flex-direction:column; } .hero { padding:24px; } }
