:root {
    --black: #0A0A0A;
    --dark-gray: #141414;
    --mid-gray: #1E1E1E;
    --border-gray: #2A2A2A;
    --text-muted: #6B6B6B;
    --text-secondary: #999999;
    --text-primary: #E8E8E8;
    --white: #F5F5F5;
    --electric-blue: #00D4FF;
    --signal-green: #00FF88;
    --accent-purple: #8B5CF6;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--black); color: var(--text-primary); font-family: 'Instrument Sans', sans-serif; line-height: 1.6; }
a { text-decoration: none; color: var(--electric-blue); transition: color 0.3s; }
a:hover { color: var(--signal-green); }

.container { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* Header */
header { position: fixed; top: 0; left: 0; width: 100%; padding: 24px 0; z-index: 100; background: rgba(10, 10, 10, 0.8); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; color: var(--white); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 14px; color: var(--text-secondary); }
.nav-links a:hover { color: var(--white); }

/* Article */
.article-header { padding-top: 120px; padding-bottom: 60px; border-bottom: 1px solid var(--border-gray); }
.article-meta { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--electric-blue); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 24px; }
.article-title { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; margin-bottom: 24px; color: var(--white); }
.article-excerpt { font-size: 18px; color: var(--text-secondary); line-height: 1.6; }

.article-content { padding: 80px 0; }
.article-content h2 { font-size: 28px; margin: 48px 0 24px; color: var(--white); }
.article-content h3 { font-size: 22px; margin: 32px 0 16px; color: var(--white); }
.article-content p { margin-bottom: 24px; color: var(--text-primary); line-height: 1.8; }
.article-content ul, .article-content ol { margin-bottom: 24px; padding-left: 24px; list-style: none; }
.article-content li { margin-bottom: 12px; color: var(--text-primary); }
.article-content li::before { content: ''; }
.article-content img { width: 100%; border-radius: 12px; margin: 32px 0; }
.article-content blockquote { border-left: 4px solid var(--electric-blue); padding-left: 24px; margin: 32px 0; font-style: italic; color: var(--text-secondary); }
.article-content strong { color: var(--white); }

.article-content table { width: 100%; border-collapse: collapse; margin: 32px 0; background: var(--dark-gray); border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; }
.article-content thead { background: var(--electric-blue); color: var(--black); }
.article-content th { padding: 12px 16px; text-align: left; font-weight: 600; }
.article-content td { padding: 12px 16px; border-bottom: 1px solid var(--border-gray); }

.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-secondary); font-size: 14px; margin-bottom: 80px; }
.back-link:hover { color: var(--white); }

/* CTA Box */
.cta-box { background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(0,212,255,0.1)); border: 1px solid rgba(139,92,246,0.3); border-radius: 16px; padding: 40px; margin: 48px 0; text-align: center; }
.cta-box h3 { font-size: 24px; margin-bottom: 12px; color: var(--white); }
.cta-box p { color: var(--text-secondary); margin-bottom: 24px; font-size: 16px; }
.cta-btn { display: inline-block; padding: 16px 40px; background: var(--accent-purple); color: var(--white); border-radius: 10px; font-weight: 700; font-size: 16px; transition: all 0.3s; }
.cta-btn:hover { background: #7C3AED; color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(139,92,246,0.3); }
.cta-note { font-size: 13px; color: var(--text-muted); margin-top: 12px; }

/* Key stat callout */
.stat-callout { background: var(--dark-gray); border: 1px solid var(--border-gray); border-radius: 12px; padding: 32px; margin: 32px 0; text-align: center; }
.stat-number { font-size: 48px; font-weight: 700; color: var(--signal-green); font-family: 'JetBrains Mono', monospace; }
.stat-label { font-size: 14px; color: var(--text-secondary); margin-top: 8px; }

/* TL;DR */
.tldr { background: var(--dark-gray); border: 1px solid var(--border-gray); border-radius: 12px; padding: 28px 32px; margin-bottom: 40px; }
.tldr .tldr-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--signal-green); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.tldr ul { margin: 0; list-style: none; }
.tldr li { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 8px; padding-left: 20px; position: relative; }
.tldr li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--signal-green); }

/* Hero image */
.hero-image { width: 100%; max-width: 800px; margin: 0 auto; padding: 0 24px; }
.hero-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; border: 1px solid var(--border-gray); }

/* Sources */
.sources-section { max-width: 800px; margin: 3rem auto; padding: 0 24px; }
.sources-section h3 { font-size: 16px; color: var(--text-secondary); margin-bottom: 16px; font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 0.1em; }
.sources-section ul { list-style: disc; padding-left: 24px; color: var(--text-muted); font-size: 14px; line-height: 2; }
.sources-section a { color: var(--electric-blue); }

/* Footer */
footer { padding: 48px 0; border-top: 1px solid var(--border-gray); text-align: center; color: var(--text-muted); font-size: 13px; }
footer a { color: var(--text-secondary); }

@media (max-width: 640px) {
    .nav-links { gap: 16px; font-size: 12px; }
    .article-header { padding-top: 100px; }
}
