        :root {
            --bg: #050810; 
            --container-bg: #111827; 
            --primary-text: #F3F4F6; 
            --secondary-text: #9CA3AF; 
            --accent-teal: #0D9488; 
            --border-color: #1F2937;
            --muted-teal: rgba(13, 148, 136, 0.2);
        }
        body {
            font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background-color: var(--bg);
            color: var(--primary-text);
            line-height: 1.6;
            margin: 0; padding: 0;
            background-image: radial-gradient(circle at 50% 0%, #1a2235 0%, transparent 70%);
        }
        header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 32px;
            border-bottom: 1px solid var(--border-color);
            background: rgba(5, 8, 16, 0.9);
            backdrop-filter: blur(10px);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        .logo-wrapper { display: flex; align-items: center; justify-content: center; gap: 12px; }
        .logo-text { font-size: 24px; font-weight: 700; letter-spacing: -0.05em; }
        .logo-text span { color: var(--accent-teal); }

        /* ===== Header Nav Buttons ===== */
        .header-nav-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-family: "Inter", sans-serif;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.03em;
            text-decoration: none;
            padding: 9px 20px;
            border-radius: 6px;
            white-space: nowrap;
            transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
        }
        .header-nav-btn.ghost {
            color: var(--secondary-text);
            border: 1px solid var(--border-color);
            background: transparent;
        }
        .header-nav-btn.ghost:hover {
            color: var(--primary-text);
            border-color: var(--accent-teal);
            background: rgba(13, 148, 136, 0.08);
        }
        .header-nav-btn.solid {
            color: #ffffff;
            background: var(--accent-teal);
            border: 1px solid var(--accent-teal);
            box-shadow: 0 0 14px rgba(13, 148, 136, 0.25);
        }
        .header-nav-btn.solid:hover {
            background: #0b7a70;
            border-color: #0b7a70;
            box-shadow: 0 0 20px rgba(13, 148, 136, 0.4);
        }

        /* ===== Mobile ===== */
        @media (max-width: 640px) {
            header { padding: 12px 16px; gap: 8px; }
            .header-nav-btn { font-size: 12px; padding: 7px 12px; }
            .header-nav-btn .btn-label-full  { display: none; }
            .header-nav-btn .btn-label-short { display: inline; }
            .logo-text { font-size: 18px; }
        }
        @media (min-width: 641px) {
            .header-nav-btn .btn-label-short { display: none; }
            .header-nav-btn .btn-label-full  { display: inline; }
        }
        
        main { max-width: 1100px; margin: 0 auto; padding: 60px 20px; }
        
        /* Hero Section - The Grand Vision */
        .hero { text-align: center; margin-bottom: 80px; }
        .hero-badge { display: inline-block; border: 1px solid var(--accent-teal); color: var(--accent-teal); padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 20px; letter-spacing: 1px; }
        .hero h1 { font-size: 48px; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1.5px; }
        .hero p { font-size: 18px; color: var(--secondary-text); max-width: 750px; margin: 0 auto 40px auto; }
        
        /* The Architecture Grid (Wedge + North Star) */
        .section-title { font-size: 28px; margin-bottom: 40px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
        .module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-bottom: 80px; }
        
        .module-card { background: var(--container-bg); border: 1px solid var(--border-color); padding: 30px; border-radius: 8px; position: relative; overflow: hidden; }
        .module-card.active { border-color: var(--accent-teal); box-shadow: 0 0 20px rgba(13, 148, 136, 0.1); }
        .module-status { position: absolute; top: 20px; right: 20px; font-size: 11px; font-weight: bold; padding: 4px 10px; border-radius: 4px; }
        .status-live { background: var(--muted-teal); color: var(--accent-teal); }
        .status-dev { background: #374151; color: #9CA3AF; }
        
        .module-card h3 { font-size: 20px; margin: 0 0 15px 0; padding-right: 60px; }
        .module-card p { font-size: 14px; color: var(--secondary-text); margin-bottom: 20px; }
        .module-link { color: var(--accent-teal); text-decoration: none; font-weight: 600; font-size: 14px; }
        .module-link:hover { text-decoration: underline; }

        /* Intelligence Hub (Videos & Articles) */
        .intel-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; margin-bottom: 60px; }
        @media (max-width: 768px) { .intel-grid { grid-template-columns: 1fr; } }
        
        .intel-main { background: var(--container-bg); border: 1px solid var(--border-color); border-radius: 8px; padding: 30px; }
        .video-placeholder { width: 100%; height: 300px; background: #1F2937; border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--secondary-text); border: 1px dashed #4B5563; }
        
        .intel-sidebar { display: flex; flex-direction: column; gap: 15px; }
        .article-link { background: var(--container-bg); border: 1px solid var(--border-color); padding: 20px; border-radius: 8px; text-decoration: none; color: var(--primary-text); transition: border 0.2s; }
        .article-link:hover { border-color: var(--accent-teal); }
        .article-meta { font-size: 12px; color: var(--accent-teal); margin-bottom: 8px; font-weight: 600; display: block; text-transform: uppercase; }
        .article-link h4 { margin: 0 0 5px 0; font-size: 16px; }

        footer { text-align: center; padding: 40px; color: var(--secondary-text); font-size: 14px; border-top: 1px solid var(--border-color); }
/* ===== Article / Blog Pages ===== */
.article-page {
    max-width: 860px;          /* narrower for better readability */
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.article-page .hero-badge {
    margin-bottom: 1rem;
}

.article-page h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.article-page .deck {
    font-size: 1.2rem;
    color: var(--secondary-text);
    border-left: 3px solid var(--accent-teal);
    padding-left: 1.2rem;
    margin: 1.5rem 0 2rem;
}

.article-page h2 {
    font-size: 28px;
    margin: 3rem 0 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.article-page h3 {
    font-size: 20px;
    color: var(--accent-teal);
    margin: 2rem 0 1rem;
}

.article-page p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.article-page ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem;
}

.article-page ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
}

.article-page ul li::before {
    content: "▸";
    color: var(--accent-teal);
    position: absolute;
    left: 0;
    font-size: 1rem;
}

/* Tables */
.article-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9rem;
    background: var(--container-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.article-page thead tr {
    background: #1a2235;        /* slightly lighter than container */
}

.article-page th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-text);
    border-bottom: 1px solid var(--border-color);
}

.article-page td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--secondary-text);
}

.article-page tbody tr:hover {
    background: rgba(13, 148, 136, 0.05);
}

/* Tags inside tables */
.tag-prohibited, .tag-restricted, .tag-conditional {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tag-prohibited { background: #b91c1c; color: #fff; }
.tag-restricted { background: #b45309; color: #fff; }
.tag-conditional { background: #1e4b8c; color: #fff; }

/* Callout boxes */
.article-page .callout {
    background: rgba(13, 148, 136, 0.1);
    border-left: 4px solid var(--accent-teal);
    padding: 1.2rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    color: var(--primary-text);
}

.article-page .callout strong {
    color: var(--accent-teal);
}

/* Verdict box */
.article-page .verdict-box {
    background: #0f141f;        /* slightly lighter than container */
    border: 1px solid var(--border-color);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 8px;
}

.article-page .verdict-box h2 {
    color: var(--accent-teal);
    border-bottom: none;
    margin-top: 0;
    font-size: 1.5rem;
}

.article-page .verdict-box p,
.article-page .verdict-box li {
    color: var(--secondary-text);
}

.article-page .verdict-box ul li::before {
    color: var(--accent-teal);
}

/* Code blocks */
.article-page code {
    background: #1a2235;
    color: #a8d8b9;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9em;
}

/* Table caption */
.article-page .table-caption {
    font-size: 0.8rem;
    color: var(--secondary-text);
    margin-top: -1rem;
    margin-bottom: 2rem;
    text-align: left;
}