
:root{
  --brand:#e71800;
  --brand-dark:#aa0000;
  --ink:#181818;
  --muted:#6c737b;
  --surface:#fff;
  --surface-2:#f7f7f5;
  --border:#e8e8e8;
  --shadow:0 16px 40px rgba(0,0,0,.08);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--surface);line-height:1.75}
a{color:var(--brand-dark);text-decoration:none}
a:hover{color:var(--brand);text-decoration:none}
img{max-width:100%;height:auto}
.site-header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:1000}
.topbar{background:#171717;color:#fff;font-size:.875rem}
.topbar .inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.topbar a{color:#fff}
.navbar-blog{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
.brand img{width:174px;height:49px;object-fit:contain}
.nav-links{display:flex;align-items:center;gap:1.5rem;margin:0;padding:0;list-style:none}
.nav-links a{font-weight:700;font-size:.94rem;color:#222}
.nav-links a:hover,.nav-links .active{color:var(--brand)}
.mobile-nav{display:none}
.hero{position:relative;background:linear-gradient(135deg,#151515 0%,#282828 100%);color:#fff;overflow:hidden}
.hero:after{content:"";position:absolute;inset:auto -10% -55% 35%;height:100%;background:radial-gradient(circle,rgba(231,24,0,.25),transparent 65%)}
.hero-inner{position:relative;z-index:1;padding:82px 0 76px}
.eyebrow{display:inline-flex;align-items:center;gap:.5rem;color:#ffb4aa;text-transform:uppercase;letter-spacing:.1em;font-weight:800;font-size:.76rem;margin-bottom:1rem}
.hero h1{font-size:clamp(2.25rem,5vw,4.3rem);line-height:1.08;max-width:900px;margin:0 0 1.2rem;font-weight:800}
.hero p{max-width:760px;color:#e7e7e7;font-size:1.08rem;margin-bottom:0}
.breadcrumb-wrap{background:var(--surface-2);border-bottom:1px solid var(--border)}
.breadcrumb{margin:0;padding:.9rem 0;background:transparent;font-size:.9rem}
.breadcrumb a{color:var(--muted)}
.blog-layout{padding:64px 0}
.article-card,.sidebar-card,.post-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 8px 28px rgba(0,0,0,.045)}
.article-card{overflow:hidden}
.featured{width:100%;aspect-ratio:16/8;object-fit:cover;display:block}
.article-body{padding:clamp(1.3rem,3vw,2.7rem)}
.article-meta{display:flex;flex-wrap:wrap;gap:.7rem 1.2rem;color:var(--muted);font-size:.88rem;margin-bottom:1.2rem}
.article-body h2{font-size:clamp(1.65rem,3vw,2.25rem);line-height:1.2;margin:2.2rem 0 .9rem}
.article-body h3{font-size:1.35rem;line-height:1.3;margin:1.7rem 0 .7rem}
.article-body h4{font-size:1.1rem;margin-top:1.4rem}
.article-body p{margin-bottom:1rem}
.article-body ul,.article-body ol{padding-left:1.25rem}
.article-body li{margin-bottom:.4rem}
.lead{font-size:1.12rem;color:#40454a}
.callout{background:#fff4f2;border-left:4px solid var(--brand);padding:1.2rem 1.3rem;border-radius:0 12px 12px 0;margin:1.5rem 0}
.sidebar{position:sticky;top:105px}
.sidebar-card{padding:1.3rem;margin-bottom:1.2rem}
.sidebar-card h2{font-size:1.05rem;margin:0 0 1rem}
.toc{list-style:none;padding:0;margin:0}
.toc li{border-bottom:1px solid var(--border)}
.toc li:last-child{border:0}
.toc a{display:block;padding:.65rem 0;color:#383d42;font-size:.92rem}
.toc a:hover{padding-left:5px}
.related{padding:0 0 70px}
.section-heading{margin-bottom:1.8rem}
.section-heading .eyebrow{color:var(--brand);margin-bottom:.45rem}
.section-heading h2{font-size:clamp(1.8rem,3vw,2.5rem);margin:0}
.post-card{overflow:hidden;height:100%;transition:transform .25s ease,box-shadow .25s ease}
.post-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.post-card img{width:100%;aspect-ratio:16/10;object-fit:cover}
.post-card .body{padding:1.2rem}
.post-card h3{font-size:1.15rem;line-height:1.35;margin:.35rem 0 .5rem}
.post-card p{color:var(--muted);font-size:.9rem;margin:0}
.share{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.8rem;padding-top:1.2rem;border-top:1px solid var(--border)}
.share a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:.5rem .8rem;border:1px solid var(--border);border-radius:10px;font-size:.85rem;font-weight:700;color:#333;transition:.2s}
.share a:hover{border-color:var(--brand);color:var(--brand);transform:translateY(-2px)}
.footer{background:#171717;color:#c9c9c9;padding:42px 0 20px}
.footer h2{color:#fff;font-size:1.05rem;margin-bottom:.8rem}
.footer a{color:#c9c9c9}
.footer a:hover{color:#fff}
.footer-bottom{border-top:1px solid #333;margin-top:25px;padding-top:16px;font-size:.85rem}
.skip-link{position:absolute;left:-9999px}
.skip-link:focus{left:10px;top:10px;background:#fff;color:#111;padding:.7rem;z-index:9999}
@media(max-width:991.98px){
 .nav-links{display:none}
 .mobile-nav{display:block}
 .mobile-nav summary{list-style:none;cursor:pointer;border:1px solid var(--border);border-radius:10px;padding:.55rem .75rem;font-weight:800}
 .mobile-nav summary::-webkit-details-marker{display:none}
 .mobile-nav ul{position:absolute;right:1rem;top:66px;width:min(280px,calc(100vw - 2rem));background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);padding:.5rem;margin:0;list-style:none}
 .mobile-nav li a{display:block;padding:.7rem .8rem;color:#222}
 .hero-inner{padding:64px 0}
 .sidebar{position:static}
}
@media(max-width:575.98px){
 .topbar .inner{justify-content:center}
 .topbar .email{display:none}
 .navbar-blog{min-height:66px}
 .brand img{width:150px;height:auto}
 .hero-inner{padding:50px 0}
 .blog-layout{padding:40px 0}
 .article-body{padding:1.1rem}
 .article-body h2{margin-top:1.7rem}
}
@media(prefers-color-scheme:dark){
 :root{--ink:#f4f4f4;--muted:#a9afb5;--surface:#121212;--surface-2:#191919;--border:#303030}
 body{background:var(--surface)}
 .site-header{background:#121212}
 .nav-links a,.mobile-nav summary,.mobile-nav ul,.mobile-nav li a{color:#f4f4f4;background:#121212}
 .mobile-nav ul{background:#121212}
 .callout{background:#281714}
 .post-card,.article-card,.sidebar-card{background:#151515}
 .breadcrumb-wrap{background:#191919}
 .breadcrumb a,.toc a{color:#c3c8cc}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 *,*:before,*:after{transition:none!important}
}
