:root{
  --bg:#0b0e12;--panel:#11161c;--ink:#e6edf3;--muted:#9fb0c2;--brand:#6bc1ff;
  --ok:#79ffa8;--warn:#ffd36b;--err:#ff7b7b;--border:#1f2b36;--code-bg:#0c131a;
  --maxw:1120px;--radius:16px;--shadow:0 10px 30px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}
a{color:var(--brand);text-decoration:none}
a:hover{opacity:.9}
.container{max-width:var(--maxw);margin:0 auto;padding:0 20px}

header.site{position:sticky;top:0;z-index:5;background:linear-gradient(180deg,rgba(11,14,18,.9),rgba(11,14,18,.6) 60%,rgba(11,14,18,0));backdrop-filter:saturate(140%) blur(10px);border-bottom:1px solid var(--border)}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{display:flex;gap:12px;align-items:center}
.logo{width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,var(--brand),#9ef);box-shadow:0 4px 18px rgba(107,193,255,.4)}
.brand-title{font-size:18px;font-weight:700;color:var(--ink)}
.nav a{margin-left:16px;color:var(--muted)}

.hero{padding:64px 0 40px}
.hero .wrap{display:grid;gap:24px;grid-template-columns:1.3fr .9fr;align-items:center}
.hero h2{font-size:40px;line-height:1.15;margin:0}
.hero p{margin:10px 0 0;color:var(--muted)}
.cta{display:flex;gap:12px;margin-top:18px}
.btn{display:inline-flex;align-items:center;gap:10px;background:var(--brand);color:#071018;border:0;border-radius:999px;padding:12px 18px;font-weight:600;box-shadow:var(--shadow)}
.btn.secondary{background:#0f1a23;color:var(--ink);border:1px solid var(--border);box-shadow:none}
.badge{display:inline-flex;align-items:center;gap:8px;background:#0e171f;border:1px solid var(--border);color:var(--muted);border-radius:999px;padding:6px 10px;font-size:13px}
.badge .dot{width:8px;height:8px;border-radius:50%;background:var(--ok)}

.panel{background:linear-gradient(180deg,rgba(17,22,28,.9),rgba(17,22,28,.6));border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}
.grid{display:grid;gap:16px}
.grid.cards{grid-template-columns:repeat(12,1fr)}
.card{grid-column:span 4;background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);min-height:120px;padding:18px}
.card h4{margin:0 0 8px;font-size:18px}
.card p{margin:0;color:var(--muted)}
.grid.two{grid-template-columns:1.2fr 1fr}

section{padding:32px 0}
h3{margin:0 0 12px}
.posts{display:grid;gap:14px}
.post{display:flex;gap:16px;align-items:flex-start;background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);padding:14px}
.post time{color:var(--muted);font-variant-numeric:tabular-nums}
.post .title{font-weight:700}
.post .sum{color:var(--muted)}
.tag{border:1px solid var(--border);border-radius:999px;padding:4px 8px;color:var(--muted);font-size:12px}
footer{padding:40px 0;border-top:1px solid var(--border);color:var(--muted)}
.footer-wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
.sep{opacity:.5}

.prose{max-width:72ch;margin:40px auto}
.prose h1,.prose h2,.prose h3{line-height:1.2}
.prose code{background:var(--code-bg);padding:.1em .35em;border-radius:6px}
.prose pre{background:var(--code-bg);padding:16px;border-radius:12px;overflow:auto;border:1px solid var(--border)}
.muted{color:var(--muted)}

@media (max-width:880px){
  .hero .wrap{grid-template-columns:1fr}
  .card{grid-column:span 12}
}
