@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&family=Syne:wght@400;600;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-card: #1c2333;
    --bg-accent: #21262d;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #656d76;
    --accent-cyan: #00d4ff;
    --accent-green: #39d353;
    --accent-purple: #7c5cbf;
    --accent-orange: #f0883e;
    --border: #30363d;
    --border-hover: #484f58;
    --shadow: rgba(0, 0, 0, 0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--accent-cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* LOADER */
#page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#page-loader.hidden { opacity: 0; visibility: hidden; }

.loader-ring {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--accent-cyan);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 17, 23, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.logo-icon svg { width: 20px; height: 20px; fill: #fff; }

.site-nav { display: flex; align-items: center; gap: 8px; }

.site-nav a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.2s;
}

.site-nav a:hover, .site-nav a.active {
    color: var(--text-primary);
    background: var(--bg-accent);
}

.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.burger-btn span {
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
}

.burger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger-btn.active span:nth-child(2) { opacity: 0; }
.burger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    z-index: 99;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
    display: block;
    color: var(--text-secondary);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-weight: 500;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--accent-cyan); }

/* HERO */
.hero {
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px 80px 0;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: var(--accent-cyan);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 28px;
    width: fit-content;
}

.hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero h1 em {
    font-style: italic;
    color: var(--accent-cyan);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.8;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
    background: var(--accent-cyan);
    color: #000;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover { background: #fff; color: #000; transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.btn-outline:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); transform: translateY(-2px); }

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--bg-primary) 0%, transparent 30%);
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) saturate(0.8);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat-item {}

.stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* SECTIONS */
section { padding: 100px 0; }

.section-header { margin-bottom: 60px; }

.section-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent-cyan);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
}

/* TOPICS GRID */
.topics-section { background: var(--bg-secondary); }

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.topic-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.topic-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.topic-card-img {
    height: 200px;
    overflow: hidden;
}

.topic-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    filter: brightness(0.8);
}

.topic-card:hover .topic-card-img img { transform: scale(1.05); }

.topic-card-body { padding: 24px; }

.card-category {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent-cyan);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.topic-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.topic-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-cyan);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link::after {
    content: '→';
    transition: transform 0.2s;
}

.topic-card:hover .card-link::after { transform: translateX(4px); }

/* FEATURED ARTICLE */
.featured-section {}

.featured-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.featured-main {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.featured-main:hover { border-color: var(--accent-cyan); }

.featured-main-img {
    height: 320px;
    overflow: hidden;
    position: relative;
}

.featured-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-cyan);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
}

.featured-main-body { padding: 32px; }

.featured-main-body h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 14px;
}

.featured-main-body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-meta span { display: flex; align-items: center; gap: 5px; }

.featured-sidebar { display: flex; flex-direction: column; gap: 16px; }

.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.sidebar-card:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.sidebar-card-num {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--border);
    line-height: 1;
    min-width: 32px;
}

.sidebar-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
}

.sidebar-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* COMPARISON TABLE */
.comparison-section { background: var(--bg-secondary); }

.comparison-table-wrap { overflow-x: auto; }

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comparison-table th {
    background: var(--bg-accent);
    padding: 16px 20px;
    text-align: left;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    vertical-align: middle;
}

.comparison-table tr:hover td { background: var(--bg-accent); }

.comparison-table td:first-child { color: var(--text-primary); font-weight: 500; }

.protocol-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.badge-zigbee { background: rgba(57, 211, 83, 0.1); color: var(--accent-green); border: 1px solid rgba(57, 211, 83, 0.3); }
.badge-wifi { background: rgba(0, 212, 255, 0.1); color: var(--accent-cyan); border: 1px solid rgba(0, 212, 255, 0.3); }
.badge-zwave { background: rgba(124, 92, 191, 0.1); color: var(--accent-purple); border: 1px solid rgba(124, 92, 191, 0.3); }
.badge-matter { background: rgba(240, 136, 62, 0.1); color: var(--accent-orange); border: 1px solid rgba(240, 136, 62, 0.3); }

.rating-stars { color: var(--accent-orange); font-size: 0.8rem; }

/* GUIDE SECTION */
.guide-section {}

.guide-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }

.guide-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.guide-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent-cyan), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.3s;
}

.guide-step:hover::before { opacity: 1; }
.guide-step:hover { border-color: var(--border-hover); }

.step-num {
    font-family: 'Syne', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--bg-accent);
    line-height: 1;
    margin-bottom: 16px;
}

.guide-step h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.guide-step p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* ABOUT SECTION */
.about-section { background: var(--bg-secondary); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.about-content h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 20px;
}

.about-content p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }

.about-expertise {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
}

.expertise-header {
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.expertise-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.expertise-item:last-child { border-bottom: none; }

.expertise-icon {
    width: 32px;
    height: 32px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-cyan);
    font-size: 0.9rem;
}

.expertise-text h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 3px; }
.expertise-text p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.4; }

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 520px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    z-index: 1000;
    box-shadow: 0 20px 40px var(--shadow);
    transition: all 0.4s;
}

#cookie-banner.hidden { opacity: 0; visibility: hidden; transform: translateY(20px); }

.cookie-title {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.cookie-text { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.6; }

.cookie-text a { color: var(--accent-cyan); }

.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.cookie-accept {
    background: var(--accent-cyan);
    color: #000;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-accept:hover { background: #fff; }

.cookie-reject {
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.2s;
}

.cookie-reject:hover { border-color: var(--border-hover); color: var(--text-primary); }

/* FOOTER */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .site-logo { margin-bottom: 16px; }

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-family: 'Syne', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--accent-cyan); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 12px;
}

/* ARTICLE PAGE */
.article-hero {
    padding: 80px 0 40px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.article-hero-inner { max-width: 800px; }

.article-hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 20px;
}

.article-hero-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.article-body { padding: 60px 0; }

.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 60px; align-items: start; }

.article-content { max-width: 700px; }

.article-content h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.7rem;
    margin: 40px 0 16px;
    color: var(--text-primary);
}

.article-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Syne', sans-serif;
    margin: 28px 0 12px;
    color: var(--text-primary);
}

.article-content p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }

.article-content ul, .article-content ol {
    color: var(--text-secondary);
    margin: 16px 0 16px 20px;
    line-height: 1.8;
}

.article-content li { margin-bottom: 8px; }

.article-content a { color: var(--accent-cyan); }

.article-content a:hover { text-decoration: underline; }

.article-img {
    border-radius: 12px;
    overflow: hidden;
    margin: 32px 0;
    border: 1px solid var(--border);
}

.article-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    filter: brightness(0.8);
}

.info-box {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 24px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.article-sidebar { position: sticky; top: 84px; }

.sidebar-toc {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-toc h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', monospace;
}

.sidebar-toc ul { list-style: none; }

.sidebar-toc ul li { margin-bottom: 8px; }

.sidebar-toc ul li a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: block;
    padding: 4px 0;
    border-left: 2px solid var(--border);
    padding-left: 12px;
    transition: all 0.2s;
}

.sidebar-toc ul li a:hover {
    border-left-color: var(--accent-cyan);
    color: var(--text-primary);
}

.sidebar-related {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.sidebar-related h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', monospace;
}

.related-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all 0.2s;
    line-height: 1.4;
}

.related-link:last-child { border-bottom: none; }
.related-link:hover { color: var(--accent-cyan); padding-left: 4px; }

/* CONTACT PAGE */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

.contact-info h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-info p { color: var(--text-secondary); margin-bottom: 32px; line-height: 1.8; }

.contact-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 16px;
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    flex-shrink: 0;
    font-size: 1.1rem;
}

.contact-item-text h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.contact-item-text p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }
.contact-item-text a { color: var(--accent-cyan); }

.sources-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
}

.sources-box h3 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', monospace;
}

.sources-box ul { list-style: none; }

.sources-box ul li { margin-bottom: 10px; }

.sources-box ul li a { font-size: 0.85rem; color: var(--accent-cyan); }

.sources-box ul li span { font-size: 0.75rem; color: var(--text-muted); margin-left: 6px; }

/* PAGE HEADER */
.page-header {
    padding: 80px 0 60px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.page-header p { color: var(--text-secondary); max-width: 600px; line-height: 1.8; }

/* POLICY PAGE */
.policy-content { padding: 60px 0; max-width: 800px; }

.policy-content h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    margin: 36px 0 12px;
    color: var(--text-primary);
}

.policy-content p { color: var(--text-secondary); margin-bottom: 14px; line-height: 1.8; font-size: 0.95rem; }

.policy-content ul { color: var(--text-secondary); margin: 12px 0 12px 24px; line-height: 1.8; font-size: 0.95rem; }

.updated-note {
    background: var(--bg-card);
    border-left: 3px solid var(--accent-cyan);
    padding: 12px 20px;
    border-radius: 0 8px 8px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .featured-grid { grid-template-columns: 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
}

@media (max-width: 768px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-content { padding: 60px 0 40px; }
    .hero-image { height: 300px; }
    .hero-image::before { background: linear-gradient(to top, var(--bg-primary) 0%, transparent 50%); }
    .about-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .site-nav { display: none; }
    .burger-btn { display: flex; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    section { padding: 60px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    #cookie-banner { left: 12px; right: 12px; bottom: 12px; }
}
