
*,*::before,*::after{box-sizing:border-box}
:root{
  --bg:#030712;--panel:#0b1220;--border:#1e293b;
  --text:#e5e7eb;--muted:#94a3b8;--dim:#64748b;
  --link:#36aaf8;--accent:#a688fc;--maxw:44rem;
}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  line-height:1.7;font-size:1.0625rem;
  -webkit-font-smoothing:antialiased;
}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto}

.site-header{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  max-width:72rem;margin:0 auto;padding:1.25rem 1.5rem;
  border-bottom:1px solid var(--border);flex-wrap:wrap;
}
.brand{font-weight:800;font-size:1.1rem;color:#fff}
.brand-mark{color:var(--accent);margin-right:.2rem}
.site-header nav{display:flex;gap:1.4rem;align-items:center;font-size:.9rem}
.site-header nav a{color:var(--muted)}
.site-header nav a:hover{color:#fff;text-decoration:none}
.cta{
  display:inline-block;background:linear-gradient(90deg,#0c8ee9,#7c3aed);
  color:#fff!important;padding:.55rem 1.1rem;border-radius:.6rem;
  font-weight:600;font-size:.9rem;
}
.cta:hover{text-decoration:none;filter:brightness(1.08)}

.post,.blog-index{max-width:var(--maxw);margin:0 auto;padding:2.5rem 1.5rem 4rem}
.crumbs{font-size:.85rem;color:var(--dim);margin-bottom:2rem}
.crumbs a{color:var(--dim)}
.crumbs span{margin:0 .4rem}

.post-head h1{
  font-size:clamp(1.9rem,5vw,2.6rem);line-height:1.2;font-weight:800;
  color:#fff;margin:0 0 .8rem;letter-spacing:-.02em;
}
.post-meta{color:var(--dim);font-size:.9rem;margin:0 0 2.5rem}
.post-meta span{margin:0 .35rem}

.post-body h2{
  font-size:1.5rem;font-weight:700;color:#fff;
  margin:2.75rem 0 .9rem;letter-spacing:-.01em;
}
.post-body h3{font-size:1.2rem;font-weight:700;color:#f1f5f9;margin:2rem 0 .6rem}
.post-body p{margin:0 0 1.25rem}
.post-body ul,.post-body ol{margin:0 0 1.5rem;padding-left:1.4rem}
.post-body li{margin:.4rem 0}
.post-body li::marker{color:var(--dim)}
.post-body strong{color:#fff;font-weight:600}
.post-body em{color:#cbd5e1}
.post-body a{border-bottom:1px solid rgba(54,170,248,.4)}
.post-body a:hover{border-bottom-color:var(--link);text-decoration:none}
.post-body code{
  background:#111827;border:1px solid var(--border);border-radius:.3rem;
  padding:.1rem .35rem;font-size:.9em;color:#e2e8f0;
}
.post-body blockquote{
  border-left:3px solid var(--accent);margin:1.5rem 0;padding:.2rem 0 .2rem 1.2rem;
  color:var(--muted);
}
.post-body hr{border:0;border-top:1px solid var(--border);margin:2.5rem 0}

.post-cta{
  margin:3.5rem 0 0;padding:1.75rem;border:1px solid var(--border);
  border-radius:1rem;background:var(--panel);
}
.post-cta h2{margin:0 0 .5rem;font-size:1.15rem;color:#fff}
.post-cta p{margin:0 0 1.1rem;color:var(--muted);font-size:.95rem}
.post-more{margin-top:2.5rem;font-size:.9rem}

.blog-index-head{margin-bottom:2.5rem}
.blog-index-head h1{font-size:clamp(2rem,6vw,2.8rem);font-weight:800;color:#fff;margin:0 0 .6rem;letter-spacing:-.02em}
.blog-index-head p{color:var(--muted);margin:0;font-size:1.05rem}
.post-list{list-style:none;margin:0;padding:0}
.post-list li{border-top:1px solid var(--border)}
.post-list li:last-child{border-bottom:1px solid var(--border)}
.post-list a{display:block;padding:1.75rem 0;color:inherit}
.post-list a:hover{text-decoration:none}
.post-list a:hover h2{color:var(--link)}
.post-list time{font-size:.8rem;color:var(--dim);text-transform:uppercase;letter-spacing:.05em}
.post-list h2{font-size:1.3rem;font-weight:700;color:#fff;margin:.4rem 0 .5rem;line-height:1.3}
.post-list p{margin:0 0 .6rem;color:var(--muted);font-size:.95rem}
.post-list .read{font-size:.85rem;color:var(--link);font-weight:600}

.site-footer{
  max-width:72rem;margin:0 auto;padding:2.5rem 1.5rem;
  border-top:1px solid var(--border);color:var(--dim);font-size:.85rem;
  display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;
}
.site-footer a{color:var(--dim)}
