@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&family=Inter:wght@400;500;600;700;800&display=swap');

/* main.css - Modern 2026 DevEx UI */
:root {
    --bg: #09090b;
    --surface: #18181b;
    --surface-hover: #27272a;
    --border: #27272a;
    --border-hover: #3f3f46;
    --text: #e4e4e7;
    --muted: #a1a1aa;
    --accent: #10b981;
    --accent-muted: #059669;
    --accent-glow: rgba(16, 185, 129, 0.15);
    --cyan: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.15);
    --amber: #f59e0b;
    --amber-glow: rgba(245, 158, 11, 0.15);
    --purple: #8b5cf6;
    --purple-glow: rgba(139, 92, 246, 0.15);
    --red: #ef4444;
    --space: 8px;
    --radius: 12px;
    --link: #0ea5e9;
    --link-visited: #8b5cf6;

    /* Tool brand colors */
    --cursor-color: #3b82f6;
    --copilot-color: #8b5cf6;
    --claude-color: #f97316;
    --windsurf-color: #06b6d4;
    --tabnine-color: #10b981;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(1rem, 2vw + 0.9rem, 1.125rem);
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── BACK LINK ─── */
.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: calc(var(--space) * 4);
    transition: color 0.2s;
    margin-top: calc(var(--space) * 3);
}
.btn-home:hover { color: var(--accent); }

/* ─── CARD THUMBNAIL (guide card images) ─── */
.card-thumb-link { display: block; margin-bottom: 12px; }
.card-thumb {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    border: 1px solid var(--border);
    background: #0d1117;
}

/* ─── VENDOR FILTER BAR ─── */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 calc(var(--space) * 4) 0;
    align-items: center;
}
.filter-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-right: 4px;
    flex-shrink: 0;
}
.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    transition: all 0.15s;
    user-select: none;
    min-height: 34px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.filter-btn:hover { border-color: var(--border-hover); color: var(--text); }
.filter-btn.active {
    background: rgba(16,185,129,0.12);
    border-color: rgba(16,185,129,0.4);
    color: var(--accent);
}
/* tool-specific active colors */
.filter-btn[data-filter="cursor"].active { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.4); color: var(--cursor-color); }
.filter-btn[data-filter="claude"].active { background: rgba(249,115,22,0.12); border-color: rgba(249,115,22,0.4); color: var(--claude-color); }
.filter-btn[data-filter="copilot"].active { background: rgba(139,92,246,0.12); border-color: rgba(139,92,246,0.4); color: var(--copilot-color); }
.filter-btn[data-filter="windsurf"].active { background: rgba(6,182,212,0.12); border-color: rgba(6,182,212,0.4); color: var(--windsurf-color); }
.filter-btn[data-filter="tabnine"].active { background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.4); color: var(--tabnine-color); }
.filter-btn[data-filter="replit"].active { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.4); color: var(--amber); }

/* hidden cards during filter */
.article-card[hidden] { display: none; }

/* no results message */
.filter-empty {
    display: none;
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--muted);
    font-size: 0.95rem;
}
.filter-empty.visible { display: block; }

/* ─── READING PROGRESS BAR ─── */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--cyan));
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ─── TYPOGRAPHY ─── */
pre, code {
    font-family: 'Fira Code', 'Courier New', Courier, monospace;
}
code {
    background: var(--surface);
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 0.9em;
    border: 1px solid var(--border);
}

pre {
    background: #0d1117;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    overflow-x: auto;
    margin: calc(var(--space) * 4) 0;
    position: relative;
}
pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e6edf3;
}
pre[data-lang]::before {
    content: attr(data-lang);
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 2px 8px;
    border-radius: 99px;
    font-family: 'Inter', sans-serif;
}

/* ─── SKIP LINK ─── */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space);
    padding: 12px 16px;
    background: var(--accent);
    color: #000;
    font-weight: bold;
    text-decoration: none;
    z-index: 100;
    border-radius: var(--radius);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.skip-link:focus { top: var(--space); }

/* ─── HEADER & NAV ─── */
header, .site-header {
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
    margin-bottom: 20px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}
.brand:hover { transform: scale(1.02); }
.brand img { width: 40px; height: 40px; border-radius: 10px; display: block; }
.brand-label { color: #fff; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }

nav { margin-top: calc(var(--space) * 2); }
nav a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    margin-right: calc(var(--space) * 3);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s, text-shadow 0.2s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
nav a:hover {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* ─── PAGE LAYOUT ─── */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}
main { padding: calc(var(--space) * 2) 0; }

/* ─── HERO / HEADER BLOCK ─── */
.header {
    margin-bottom: calc(var(--space) * 5);
}
.subtitle {
    color: var(--muted);
    font-size: 1.1rem;
    margin-top: 8px;
    margin-bottom: calc(var(--space) * 3);
}

/* ─── HEADINGS ─── */
h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 0.5em;
    font-weight: 800;
    letter-spacing: -0.02em;
}
h2 {
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-top: calc(var(--space) * 6);
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
    font-weight: 700;
}
h3 {
    color: #f4f4f5;
    font-size: 1.25rem;
    margin-top: calc(var(--space) * 4);
    margin-bottom: 8px;
}
h4 { color: #fff; }

.meta {
    color: var(--muted);
    font-size: 0.9em;
    margin-bottom: calc(var(--space) * 4);
}

/* ─── LINKS ─── */
main a:link { color: var(--link); text-decoration: none; font-weight: 600; }
main a:visited { color: var(--link-visited); }
main a:hover { color: var(--accent); text-decoration: underline; }

/* ─── CTA BUTTONS ─── */
.cta-wrap {
    margin: calc(var(--space) * 4) 0;
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--space) * 2);
    align-items: center;
}
.cta {
    display: inline-block;
    padding: 14px 24px;
    min-height: 44px;
    background: var(--accent);
    color: #000 !important;
    font-weight: 800;
    text-decoration: none !important;
    border-radius: var(--radius);
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px var(--accent-glow);
}
.cta:hover {
    background: #fff;
    color: #000 !important;
    box-shadow: 0 4px 20px rgba(255,255,255,0.4);
    transform: translateY(-2px);
}
.cta-secondary {
    display: inline-block;
    padding: 14px 24px;
    min-height: 44px;
    background: transparent;
    color: var(--accent) !important;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: var(--radius);
    font-size: 1rem;
    border: 1px solid var(--accent);
    cursor: pointer;
    transition: all 0.2s ease;
}
.cta-secondary:hover {
    background: var(--accent-glow);
    transform: translateY(-2px);
}

/* ─── GRIDS ─── */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--space) * 4);
    margin-top: calc(var(--space) * 5);
}
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

/* ─── CARDS ─── */
.bento-card, .card, .blueprint {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: clamp(20px, 4vw, 30px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.bento-card:hover, .card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 30px var(--accent-glow);
    transform: translateY(-2px);
    background: var(--surface-hover);
}
.blueprint { margin-top: calc(var(--space) * 6); }
.blueprint ul { margin-top: 16px; padding-left: 20px; }
.blueprint li { margin-bottom: 12px; }

/* ─── STAT GRID (homepage) ─── */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: calc(var(--space) * 5) 0;
}
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s ease;
}
.stat-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px var(--accent-glow);
}
.stat-number {
    display: block;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}
.stat-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}

/* ─── ARTICLE GRID & CARDS (blog index) ─── */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 24px 0 calc(var(--space) * 6) 0;
}
.article-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.article-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 30px var(--accent-glow);
    transform: translateY(-3px);
    background: var(--surface-hover);
}
.article-card h3 {
    margin-top: 12px;
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.4;
    color: #fff;
}
.article-card h3 a {
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
}
.article-card h3 a:hover {
    color: var(--accent) !important;
    text-decoration: none !important;
}
.article-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 16px;
}
.article-card > a:last-child {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent) !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}
.article-card > a:last-child:hover {
    gap: 8px;
    text-decoration: none !important;
}

/* ─── CATEGORY TAGS (color-coded per section) ─── */
.tag, .category-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent);
    border: 1px solid rgba(16, 185, 129, 0.25);
    margin-bottom: 12px;
    line-height: 1;
}
/* Section color variants */
.category-tag[data-section="compare"],
.category-tag.compare { background: rgba(6,182,212,0.12); color: var(--cyan); border-color: rgba(6,182,212,0.25); }
.category-tag[data-section="tips"],
.category-tag.tips { background: rgba(245,158,11,0.12); color: var(--amber); border-color: rgba(245,158,11,0.25); }
.category-tag[data-section="guides"],
.category-tag.guides { background: rgba(139,92,246,0.12); color: var(--purple); border-color: rgba(139,92,246,0.25); }
.category-tag[data-section="news"],
.category-tag.news { background: rgba(239,68,68,0.12); color: var(--red); border-color: rgba(239,68,68,0.25); }

/* Generic color variants for span.category-tag text matching */
.category-tag:is([class*="Compare"]) { background: rgba(6,182,212,0.12); color: var(--cyan); border-color: rgba(6,182,212,0.25); }

/* ─── SECTION HEADING (blog listing h2) ─── */
.section-heading {
    color: #fff;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    padding-left: 14px;
    border-left: 3px solid var(--accent);
    margin-top: calc(var(--space) * 8);
    margin-bottom: 4px;
    border-bottom: none;
}

/* ─── DISCLOSURE ─── */
.disclosure {
    font-size: 0.8em;
    color: var(--muted);
    margin: 0 0 calc(var(--space) * 4) 0;
    padding: 0;
}

/* ─── CTA BOX ─── */
.cta-box {
    background: var(--surface);
    border: 1px solid var(--accent);
    border-radius: 16px;
    padding: clamp(20px, 4vw, 30px);
    margin: calc(var(--space) * 5) 0;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.cta-box a { color: var(--accent); font-weight: bold; text-decoration: none; }
.cta-box a:hover { color: #fff; text-decoration: underline; }

/* ─── INFO / CALLOUT BOXES ─── */
.info-box {
    background: var(--surface);
    border-left: 4px solid var(--cyan);
    padding: 16px 20px 16px 52px;
    border-radius: 4px 12px 12px 4px;
    margin: 24px 0;
    position: relative;
}
.info-box::before {
    position: absolute;
    left: 16px;
    top: 16px;
    font-size: 1.1rem;
    content: "ℹ️";
}
.info-box.warning {
    border-left-color: var(--amber);
}
.info-box.warning::before { content: "⚠️"; }
.info-box.success {
    border-left-color: var(--accent);
}
.info-box.success::before { content: "✅"; }
.info-box.hot {
    border-left-color: var(--red);
}
.info-box.hot::before { content: "🔥"; }
.tip-box {
    background: rgba(245, 158, 11, 0.06);
    border-left: 4px solid var(--amber);
    padding: 16px 20px 16px 52px;
    border-radius: 4px 12px 12px 4px;
    margin: 24px 0;
    position: relative;
}
.tip-box::before {
    position: absolute;
    left: 16px;
    top: 16px;
    font-size: 1.1rem;
    content: "💡";
}

/* ─── VERDICT BOX ─── */
.verdict-box {
    background: linear-gradient(135deg, rgba(16,185,129,0.08) 0%, rgba(6,182,212,0.06) 100%);
    border: 1px solid var(--accent);
    border-radius: 16px;
    padding: clamp(20px, 4vw, 28px);
    margin: calc(var(--space) * 5) 0;
    position: relative;
    overflow: hidden;
}
.verdict-box::before {
    content: "OUR VERDICT";
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 10px;
    text-transform: uppercase;
}
.verdict-box h4 {
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    color: #fff;
}
.verdict-box p { margin: 0; }

/* ─── TOOL CHIPS ─── */
.tool-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid;
    vertical-align: middle;
}
.tool-chip.cursor { background: rgba(59,130,246,0.12); color: var(--cursor-color); border-color: rgba(59,130,246,0.25); }
.tool-chip.copilot { background: rgba(139,92,246,0.12); color: var(--copilot-color); border-color: rgba(139,92,246,0.25); }
.tool-chip.claude { background: rgba(249,115,22,0.12); color: var(--claude-color); border-color: rgba(249,115,22,0.25); }
.tool-chip.windsurf { background: rgba(6,182,212,0.12); color: var(--windsurf-color); border-color: rgba(6,182,212,0.25); }
.tool-chip.tabnine { background: rgba(16,185,129,0.12); color: var(--tabnine-color); border-color: rgba(16,185,129,0.25); }

/* ─── SCORE BARS ─── */
.score-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0;
    font-size: 0.9rem;
}
.score-label {
    min-width: 100px;
    color: var(--muted);
    font-size: 0.85rem;
}
.score-bar-wrap {
    flex-grow: 1;
    background: var(--surface);
    border-radius: 99px;
    height: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.score-bar {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--accent), var(--cyan));
    transition: width 1s ease;
}
.score-value {
    font-weight: 700;
    color: var(--accent);
    font-size: 0.85rem;
    min-width: 36px;
    text-align: right;
}

/* ─── BADGES ─── */
.badge-featured {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    background: rgba(16,185,129,0.15);
    color: var(--accent);
    border: 1px solid rgba(16,185,129,0.3);
    margin-left: 8px;
    vertical-align: middle;
}
.badge-new {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    background: rgba(245,158,11,0.15);
    color: var(--amber);
    border: 1px solid rgba(245,158,11,0.3);
    margin-left: 8px;
    vertical-align: middle;
}

/* ─── TABLE OF CONTENTS ─── */
.toc {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: calc(var(--space) * 4) 0;
}
.toc-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 12px;
    display: block;
}
.toc ol {
    margin: 0;
    padding-left: 20px;
}
.toc li { margin-bottom: 6px; }
.toc a {
    color: var(--muted) !important;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: color 0.15s;
}
.toc a:hover { color: var(--accent) !important; }
.toc a.active { color: var(--accent) !important; }

/* ─── CURSOR BLINK ─── */
.prompt-cursor {
    border-right: 10px solid var(--accent);
    display: inline-block;
    height: 1em;
    vertical-align: bottom;
    margin-left: 5px;
}
@media (prefers-reduced-motion: no-preference) {
    .prompt-cursor { animation: blink 1s infinite; }
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ─── TABLES ─── */
.table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: calc(var(--space) * 4) 0;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
}
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 540px;
}
th, td {
    border-bottom: 1px solid var(--border);
    padding: 14px 18px;
    text-align: left;
}
th {
    color: #fff;
    font-weight: 600;
    background: #111113;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.02); }
/* checkmark / cross column values */
td:has(> .check) { color: var(--accent); }
td:has(> .cross) { color: var(--red); }

/* ─── FIGURES & IMAGES ─── */
.figure, figure {
    margin: calc(var(--space) * 5) 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}
.figure img, figure img {
    width: 100%;
    height: auto;
    display: block;
}
.figure figcaption, figure figcaption {
    padding: 12px 20px;
    color: var(--muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border);
    background: var(--surface);
    text-align: center;
}

/* ─── INLINE SVG DIAGRAMS ─── */
.diagram-wrap {
    margin: calc(var(--space) * 5) 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: #0d1117;
}
.diagram-wrap svg {
    width: 100%;
    height: auto;
    display: block;
}
.diagram-caption {
    padding: 10px 20px;
    color: var(--muted);
    font-size: 0.82rem;
    border-top: 1px solid var(--border);
    background: var(--surface);
    text-align: center;
}

/* ─── FOOTER ─── */
footer {
    margin-top: calc(var(--space) * 8);
    padding-top: calc(var(--space) * 4);
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
footer p { margin: 0 0 10px 0; }
footer a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--accent); }

/* ─── RESPONSIVE ─── */
@media (max-width: 600px) {
    body { padding: 16px; }
    footer { flex-direction: column; align-items: flex-start; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
