
:root{--bg:#0b0b0c;--card:#121214;--muted:#a1a1aa;--text:#f1f3f5;--accent:#910000;--accent2:#d31f1f;--soft:#1a1a1d}
.light:root{--bg:#ffffff;--card:#ffffff;--muted:#4b5563;--text:#0b0b0c;--accent:#a50000;--accent2:#d31f1f;--soft:#f2f3f5}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial}
.wrap{max-width:1100px;margin:0 auto;padding:0 16px}
.site-header{position:sticky;top:0;background:linear-gradient(180deg,#0b0b0c,rgba(11,11,12,.9));backdrop-filter:blur(8px);border-bottom:1px solid #222;z-index:50}
.light .site-header{background:#fff;border-bottom:1px solid #e5e7eb}
.header-inner{display:flex;align-items:center;gap:16px;padding:12px 0}
.brand{display:flex;align-items:center;gap:10px;color:var(--text);text-decoration:none;font-weight:700;font-size:18px}
.main-nav{display:flex;gap:14px;flex-wrap:wrap}
.main-nav a{color:var(--text);opacity:.85;text-decoration:none;padding:6px 8px;border-radius:10px}
.main-nav a:hover{background:var(--soft);opacity:1}
.for-sale{background:var(--accent);color:#fff;text-align:center;padding:8px 12px;font-weight:600}
.for-sale span{font-weight:800}
.theme-btn{background:var(--soft);border:none;border-radius:12px;padding:8px 10px;cursor:pointer;color:var(--text)}
.site-footer{border-top:1px solid #222;margin-top:40px}
.light .site-footer{border-color:#e5e7eb}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 0;flex-wrap:wrap}
.hero{background:radial-gradient(1200px 300px at 20% -20%,rgba(211,31,31,.18),transparent),radial-gradient(1200px 300px at 80% -20%,rgba(211,31,31,.18),transparent)}
.hero-content{padding:40px 0 20px}
.hero h1{font-size:36px;line-height:1.15;margin:0 0 8px}
.hero p{opacity:.9;margin:0 0 16px}
.btn{display:inline-block;background:var(--accent2);color:#fff;text-decoration:none;padding:10px 14px;border-radius:12px;font-weight:700;border:1px solid #0000}
.btn:hover{filter:brightness(1.05)}
.home-grid{display:grid;grid-template-columns:1fr 320px;gap:24px;margin-top:24px}
@media(max-width:960px){.home-grid{grid-template-columns:1fr}}
.article-list{list-style:none;padding:0;margin:0;display:grid;gap:14px}
.article-list li{padding:14px;border:1px solid #222;border-radius:14px;background:var(--card)}
.light .article-list li{border-color:#e5e7eb}
.article-list h3,.article-list h4{margin:0 0 6px}
.meta{color:var(--muted);font-size:14px;margin:0 0 6px}
.sidebar{display:grid;gap:16px}
.card{background:var(--card);border:1px solid #222;border-radius:16px;padding:16px}
.card-sale{border:2px dashed var(--accent2)}
.newsletter-form{display:flex;gap:10px}
.newsletter-form input{flex:1;padding:10px;border-radius:12px;border:1px solid #333;background:#0f0f11;color:#fff}
.light .newsletter-form input{background:#fff;color:#0b0b0c;border-color:#e5e7eb}
.article h1{font-size:34px;margin:0 0 8px}
.prose{font-size:18px}
.prose p{margin:0 0 14px}
.prose h2{margin:28px 0 8px}
.tags{display:flex;gap:10px;flex-wrap:wrap;padding:0;margin:8px 0 0;list-style:none}
.tags a{background:var(--soft);padding:6px 10px;border-radius:999px;color:var(--text);text-decoration:none}
.small{font-size:14px}
.static{padding:20px;background:var(--card);border-radius:14px;border:1px solid #222}
a{color:#e04545}
a:hover{text-decoration:none}
