/* BASE VARIABLES - The "McKinsey Intelligence" Palette */
:root {
    --bg-dark: #0B0C10; /* Obsidian */

    --panel-bg: rgba(31, 40, 51, 0.6); /* Deep Slate with transparency */

    --panel-border: rgba(197, 198, 199, 0.15);
    --cyan: #66FCF1; /* Electric AI Cyan */

    --cyan-hover: #45a29e;
    --text-main: #FFFFFF;
    --text-muted: #C5C6C7; /* Ash Gray */

    --danger: #FF4C4C; /* Warning Red */
    --scrollbar-thumb: #2a3240;
    --scrollbar-thumb-hover: #3a4356;
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}
/* BASE VARIABLES - The "Military-Grade Intelligence" Palette */
/*:root {
    --bg-dark: #050B14;*/ /* Deep Tactical Navy */
    /*--panel-bg: rgba(15, 23, 42, 0.7);*/ /* Ballistic Glass Slate */
    /*--panel-border: rgba(56, 189, 248, 0.15);*/ /* Subdued Blue Outline */
    /* Replaced Neon Cyan with Aerospace Blue */
    /*--cyan: #38BDF8;
    --cyan-hover: #0284C7;*/
    /* NEW: Classified Intelligence Accent */
    /*--accent-amber: #F59E0B;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;*/ /* Cold Ash Gray */
    /*--danger: #EF4444;*/ /* Alert Red */

    /*--font-sans: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}*/
* {
    box-sizing: border-box;
}

body.premium-dark {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.subtitle-constrained {
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

/* NAVBAR */
.top-nav {
    border-bottom: 1px solid var(--panel-border);
    background: rgba(11, 12, 16, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}
.logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.cyan-dot {
    color: var(--cyan);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

    .nav-link:hover {
        color: var(--text-main);
    }

/* BUTTONS */
button, .btn-primary, .btn-ghost {
    font-family: var(--font-sans);
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
    text-decoration: none;
}
.btn-primary {
    background: var(--cyan);
    color: #0B0C10;
    border: none;
    padding: 16px 32px;
    font-size: 1rem;
}

    .btn-primary:hover {
        background: var(--cyan-hover);
        transform: translateY(-2px);
    }

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(102, 252, 241, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--panel-border);
    padding: 16px 32px;
    font-size: 1rem;
}

    .btn-ghost:hover {
        background: var(--panel-bg);
        border-color: var(--text-muted);
    }

.btn-wide {
    padding: 16px 48px;
}

.cta-spacing-top {
    margin-top: 48px;
}

/* HERO SECTION */
.hero-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: -50%;
        left: 50%;
        transform: translateX(-50%);
        width: 800px;
        height: 800px;
        background: radial-gradient(circle, rgba(102,252,241,0.05) 0%, rgba(11,12,16,0) 70%);
        z-index: -1;
        pointer-events: none;
    }

.kicker-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--panel-border);
    padding: 6px 16px;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cyan);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cyan);
    animation: pulse 2s infinite;
}


/*.kicker-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(245, 158, 11, 0.3);*/ /* Amber border */
    /*padding: 6px 16px;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-amber);*/ /* Amber text */
    /*margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(245, 158, 11, 0.05);
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-amber);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-amber);
    animation: pulse 2s infinite;
}*/

.hero-title {
    font-size: 4rem;
    letter-spacing: -2px;
}

.text-gradient {
    background: linear-gradient(to right, #FFFFFF, var(--text-muted));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.25rem;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* GLASSMORPHISM PANELS */
.glass-panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

/* PARADOX SECTION */
.paradox-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, rgba(31, 40, 51, 0.2));
    border-top: 1px solid var(--panel-border);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.section-kicker {
    font-family: var(--font-mono);
    color: var(--cyan);
    font-size: 0.875rem;
    letter-spacing: 2px;
}

.executive-quote {
    border-left: 3px solid var(--cyan);
    padding-left: 24px;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-main);
    margin: 32px 0 0 0;
}

/* TERMINAL MOCKUP */
.split-visual {
    padding: 2px;
}

.terminal-header {
    background: rgba(0,0,0,0.4);
    padding: 12px 16px;
    border-bottom: 1px solid var(--panel-border);
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px 12px 0 0;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

    .dot.red {
        background: #FF5F56;
    }

    .dot.yellow {
        background: #FFBD2E;
    }

    .dot.green {
        background: #27C93F;
    }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
}

.terminal-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.8;
}

    .terminal-body span {
        color: var(--cyan);
    }

    .terminal-body .error-text {
        color: var(--danger);
    }

/* 7 PILLARS LIST */
.diagnostic-section {
    padding: 100px 0;
}

.pillar-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.pillar-row {
    display: flex;
    gap: 32px;
    padding: 32px 0;
    border-bottom: 1px solid var(--panel-border);
    transition: background 0.3s ease;
}

    .pillar-row:hover {
        background: rgba(31, 40, 51, 0.3);
        border-radius: 8px;
        padding: 32px 24px;
        margin: 0 -24px;
    }

.pillar-number {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--cyan);
    font-weight: 700;
    opacity: 0.8;
}

.pillar-content h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.pillar-content p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-muted);
}

.pillar-content strong {
    color: var(--text-main);
    font-weight: 600;
}

/* FOOTER */
.site-footer {
    border-top: 1px solid var(--panel-border);
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 80px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 252, 241, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(102, 252, 241, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(102, 252, 241, 0);
    }
}

/*@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}
*/
/* Responsive */
@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .pillar-row {
        flex-direction: column;
        gap: 12px;
        padding: 24px 0;
    }

        .pillar-row:hover {
            padding: 24px 0;
            margin: 0;
            border-radius: 0;
        }
}
/* METHODOLOGY PAGE SPECIFICS */
.methodology-hero {
    padding: 80px 0 60px 0;
    border-bottom: 1px solid var(--panel-border);
}

    .methodology-hero .hero-title {
        font-size: 3rem;
    }

.tech-hub-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    padding: 64px 24px 120px 24px;
    align-items: start;
}

/* Sticky Sidebar TOC */
.sticky-sidebar {
    position: sticky;
    top: 100px; /* Offset for the top nav */
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    padding: 24px;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--panel-border);
    margin-bottom: 16px;
}

.sidebar-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
    letter-spacing: 1px;
}

.toc-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toc-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
    border-left: 2px solid transparent;
    padding-left: 12px;
}

    .toc-link:hover {
        color: var(--text-main);
        border-left-color: rgba(102, 252, 241, 0.4);
    }

    .toc-link.active {
        color: var(--cyan);
        border-left-color: var(--cyan);
    }

.sidebar-cta {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--panel-border);
}

    .sidebar-cta p {
        font-size: 0.875rem;
        margin-bottom: 16px;
    }

/* Main Content Styles */
.pillar-section {
    margin-bottom: 32px;
    scroll-margin-top: 120px;
}

.pillar-intro {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.section-divider {
    border: 0;
    height: 1px;
    background: var(--panel-border);
    margin: 64px 0;
}

/* Lever Cards */
.lever-card {
    padding: 32px;
    margin-bottom: 24px;
}

    .lever-card h3 {
        font-size: 1.25rem;
        color: var(--text-main);
        margin-bottom: 8px;
    }

.lever-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Terminal Proof Points */
.proof-points {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 20px;
}

.pp-header {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cyan);
    margin-bottom: 16px;
}

.proof-points ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.proof-points li {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding-left: 16px;
    border-left: 1px solid var(--cyan);
}

    .proof-points li span {
        color: var(--text-main);
        font-weight: 700;
        display: block;
        margin-bottom: 4px;
    }

/* Inline CTA Box */
.inline-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    margin-top: 32px;
    background: linear-gradient(90deg, rgba(31, 40, 51, 0.6) 0%, rgba(102, 252, 241, 0.05) 100%);
    border-left: 4px solid var(--cyan);
}

.inline-cta-text h4 {
    margin: 0 0 4px 0;
    font-size: 1.125rem;
}

.inline-cta-text p {
    margin: 0;
    font-size: 0.875rem;
    max-width: 400px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .tech-hub-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sticky-sidebar {
        position: static;
        margin-bottom: 40px;
    }

    .inline-cta-box {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .inline-cta-text p {
        max-width: 100%;
    }
}

/* UPGRADED ENTERPRISE FOOTER */
.site-footer {
    border-top: 1px solid var(--panel-border);
    padding: 80px 0 32px 0;
    background: var(--bg-dark);
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 64px;
}

.footer-brand .logo-text {
    font-size: 1.5rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4, .footer-social h4 {
    color: var(--text-main);
    font-size: 0.875rem;
    margin-bottom: 24px;
    font-family: var(--font-mono);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 16px;
    font-size: 0.875rem;
    transition: color 0.2s;
}

    .footer-links a:hover {
        color: var(--cyan);
    }

/* Social Icons Styling */
.social-icons {
    display: flex;
    gap: 16px;
}

    .social-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--panel-bg);
        color: var(--text-muted);
        border: 1px solid var(--panel-border);
        text-decoration: none;
        transition: all 0.2s ease-in-out;
    }

        .social-icons a:hover {
            background: var(--cyan);
            color: var(--bg-dark);
            border-color: var(--cyan);
            transform: translateY(-4px); /* Slight lift effect */
        }

/* Bottom Legal Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--panel-border);
    padding-top: 24px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

    .footer-bottom p {
        margin: 0;
        font-size: 0.75rem;
    }

.legal-links {
    display: flex;
    gap: 24px;
}

    .legal-links a {
        color: var(--text-muted);
        text-decoration: none;
        transition: color 0.2s;
    }

        .legal-links a:hover {
            color: var(--cyan);
        }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .footer-brand, .footer-links, .footer-social {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
/* CONTACT PAGE & TERMINAL FORM SPECIFICS */
.contact-section {
    padding: 80px 0 120px 0;
}

.terminal-form-wrapper {
    max-width: 650px;
    margin: 0 auto;
    text-align: left;
}

.terminal-form-body {
    padding: 32px;
}

.tech-form {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.terminal-input-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.terminal-textarea-group {
    align-items: flex-start;
}

/* Label styling to look like code prompts */
.terminal-input-group label {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--cyan);
    white-space: nowrap;
}

/* The actual input fields */
.terminal-input {
    flex: 1;
    min-width: 250px;
    background: transparent;
    border: none;
    border-bottom: 1px dashed var(--text-muted);
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    padding: 4px 8px;
    transition: all 0.2s ease;
}

    .terminal-input:focus {
        outline: none;
        border-bottom: 1px solid var(--cyan);
        box-shadow: 0 4px 10px -8px var(--cyan);
        background: rgba(102, 252, 241, 0.05);
    }

    /* Style the placeholder text */
    .terminal-input::placeholder {
        color: rgba(197, 198, 199, 0.4);
        font-style: italic;
    }

/* Textarea specific */
textarea.terminal-input {
    resize: vertical;
    border: 1px dashed var(--text-muted);
    border-radius: 4px;
    padding: 12px;
    margin-top: 8px;
    width: 100%;
    box-sizing: border-box;
}

    textarea.terminal-input:focus {
        border: 1px solid var(--cyan);
    }

/* Terminal Submit Button */
.terminal-submit-group {
    margin-top: 24px;
    text-align: right;
}

.btn-terminal-submit {
    background: transparent;
    color: var(--cyan);
    border: 1px solid var(--cyan);
    padding: 12px 24px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.2s;
}

    .btn-terminal-submit:hover {
        background: var(--cyan);
        color: var(--bg-dark);
        box-shadow: 0 0 15px rgba(102, 252, 241, 0.4);
    }

/* Blinking cursor effect for the button */
.blink {
    animation: blinker 1s linear infinite;
    font-weight: bold;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 600px) {
    .terminal-input-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .terminal-input {
        width: 100%;
        box-sizing: border-box;
    }
}
/* LOGIN PAGE SPECIFICS */
.login-section {
    min-height: calc(100vh - 200px); /* Adjusts for header/footer */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    background: radial-gradient(circle at 50% 50%, rgba(102,252,241,0.03) 0%, var(--bg-dark) 100%);
}

.flex-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

.login-card {
    width: 100%;
    max-width: 440px;
    padding: 40px;
    border-top: 2px solid rgba(102, 252, 241, 0.4); /* Cyan accent line */
}

.login-header {
    margin-bottom: 32px;
}

.auth-icon {
    font-size: 2.5rem;
    color: var(--cyan);
    margin-bottom: 16px;
    opacity: 0.8;
}

.login-header h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.login-header p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* Secure Inputs */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.label-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.label-flex label {
    margin-bottom: 0;
}

.forgot-link {
    font-size: 0.75rem;
    color: var(--cyan);
    text-decoration: none;
    transition: opacity 0.2s;
}

.forgot-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.secure-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    padding: 12px 12px 12px 40px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.secure-input:focus {
    outline: none;
    border-color: var(--cyan);
    background: rgba(102, 252, 241, 0.05);
    box-shadow: 0 0 0 3px rgba(102, 252, 241, 0.1);
}

.secure-input::placeholder {
    color: rgba(197, 198, 199, 0.3);
}

/* Buttons */
.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.auth-btn {
    margin-top: 8px;
    font-size: 1rem;
    padding: 14px;
}

.sso-btn {
    padding: 12px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.sso-btn i {
    font-size: 1rem;
}

.sso-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--panel-border);
}

.auth-divider span {
    padding: 0 16px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Footer Subtext */
.login-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--panel-border);
}

.login-footer p {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(197, 198, 199, 0.5);
    line-height: 1.6;
    margin: 0;
}

.login-footer i {
    color: var(--cyan);
    margin-bottom: 4px;
}
.redacted {
    background-color: #1F2833; /* Deep slate color */
    color: transparent;
    user-select: none;
    border-radius: 2px;
    padding: 0 4px;
    letter-spacing: 2px;
}

    .redacted::after {
        content: '[REDACTED]';
        color: var(--danger); /* Warning Red */
        font-size: 0.65rem;
        font-family: var(--font-mono);
        margin-left: 4px;
    }

/* LEGAL PAGES (PRIVACY & TERMS) */
.legal-section {
    padding: 80px 0 120px 0;
}

.legal-container {
    max-width: 800px; /* Constrains line length for easy reading */
    margin: 0 auto;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
}

.legal-content {
    padding: 48px;
    background: var(--panel-bg);
}

    .legal-content h2 {
        font-size: 1.25rem;
        color: var(--cyan);
        margin: 32px 0 16px 0;
        border-bottom: 1px solid var(--panel-border);
        padding-bottom: 8px;
    }

        .legal-content h2:first-child {
            margin-top: 0;
        }

    .legal-content p, .legal-content li {
        font-size: 0.95rem;
        color: var(--text-muted);
        line-height: 1.7;
        margin-bottom: 16px;
    }

    .legal-content ul {
        margin-bottom: 24px;
        padding-left: 20px;
    }

    .legal-content strong {
        color: var(--text-main);
    }
/* REGISTRATION SPECIFICS */
.form-row {
    display: flex;
    gap: 16px;
    width: 100%;
}

@media (max-width: 500px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}

/* PREMIUM AUTHENTICATION MODAL STYLING (Global) */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 12, 16, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-box.premium-locked {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-top: 4px solid var(--cyan);
    border-radius: 8px;
    width: 100%;
    max-width: 420px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.authentication-icon i {
    font-size: 3rem;
    color: var(--cyan);
    margin-bottom: 24px;
    opacity: 0.9;
    filter: drop-shadow(0 0 10px rgba(102, 252, 241, 0.3));
}

.modal-box.premium-locked h3 {
    margin: 0 0 12px 0;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 800;
}

.modal-box.premium-locked p {
    font-size: 0.875rem;
    margin-bottom: 32px;
    color: var(--text-muted);
    line-height: 1.7;
}

.modal-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .modal-cta-group button {
        width: 100%;
        justify-content: center;
        margin: 0;
        padding: 14px;
        font-size: 0.95rem;
    }

/* DASHBOARD PRE-DEPLOYMENT STATE */
.dashboard-section {
    padding: 60px 0;
}

.dashboard-header {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 24px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
}

.deploy-panel {
    padding: 48px;
    text-align: left;
}

.deploy-icon {
    font-size: 3rem;
    color: var(--cyan);
    margin-bottom: 24px;
    opacity: 0.9;
}

.deploy-panel h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.deploy-features {
    list-style: none;
    padding: 0;
    margin: 32px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .deploy-features li {
        color: var(--text-main);
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 12px;
    }

.status-panel {
    padding: 32px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

    .status-item span:first-child {
        color: var(--text-muted);
    }

.status-value.green {
    color: #27C93F;
    font-weight: bold;
}

.status-value.yellow {
    color: #FFBD2E;
    font-weight: bold;
}

/* WIZARD SPECIFICS */
.wizard-step {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-card {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--panel-border);
    padding: 16px;
    border-radius: 6px;
}

.review-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

/* Cyber Checkbox override */
.cyber-checkbox {
    appearance: none;
    width: 40px;
    height: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    outline: none;
    border: 1px solid var(--panel-border);
    transition: 0.3s;
}

    .cyber-checkbox::after {
        content: '';
        position: absolute;
        top: 2px;
        left: 2px;
        width: 14px;
        height: 14px;
        background: var(--text-muted);
        border-radius: 50%;
        transition: 0.3s;
    }

    .cyber-checkbox:checked {
        background: rgba(102, 252, 241, 0.2);
        border-color: var(--cyan);
    }

        .cyber-checkbox:checked::after {
            left: 22px;
            background: var(--cyan);
            box-shadow: 0 0 10px var(--cyan);
        }

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* PILLAR PREVIEW MATRIX (DASHBOARD) */
.pillar-matrix-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--panel-border);
}

.matrix-header {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.pillar-matrix-grid {
    display: grid;
    /* Increased minimum width to 300px to spread them out over more rows */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.pillar-module {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    transition: all 0.3s ease;
}

    /* The locked, greyed-out state */
    .pillar-module.locked {
        border: 1px dashed rgba(197, 198, 199, 0.2);
        opacity: 0.5;
    }

        .pillar-module.locked:hover {
            opacity: 0.8;
            border-color: rgba(197, 198, 199, 0.4);
        }

    /* The active/demo state */
    .pillar-module.active-preview {
        border: 1px solid rgba(102, 252, 241, 0.3);
        background: rgba(102, 252, 241, 0.03);
        box-shadow: 0 0 20px rgba(102, 252, 241, 0.05);
    }

        .pillar-module.active-preview .pillar-score {
            color: var(--cyan);
            text-shadow: 0 0 10px rgba(102, 252, 241, 0.4);
        }

.pillar-score {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap; /* Prevents [ -- ] from wrapping to two lines */
}

.pillar-details {
    display: flex;
    flex-direction: column;
}

.p-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.locked .p-num {
    color: var(--text-muted);
}

.p-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
}

.lock-icon {
    position: absolute;
    right: 20px;
    color: var(--text-muted);
    font-size: 0.875rem;
    opacity: 0.5;
}

/* PREMIUM TEASER CARD */
.premium-panel {
    position: relative;
    padding: 44px 32px;
    background: linear-gradient(180deg, rgba(31, 40, 51, 0.8) 0%, rgba(102, 252, 241, 0.05) 100%);
    border: 1px solid rgba(102, 252, 241, 0.2);
    overflow: hidden;
}

.premium-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.premium-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .premium-feature-list li {
        font-size: 0.875rem;
        color: var(--text-main);
        display: flex;
        align-items: center;
    }

        .premium-feature-list li i {
            color: var(--cyan);
            margin-right: 10px;
            font-size: 0.75rem;
        }

.btn-premium-upgrade {
    border-color: var(--cyan);
    color: var(--cyan);
    transition: all 0.3s ease;
}

    .btn-premium-upgrade:hover {
        background: var(--cyan);
        color: var(--bg-dark);
        box-shadow: 0 0 15px rgba(102, 252, 241, 0.3);
    }

/* INTELLIGENCE PIPELINE */
.processing-pipeline {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    padding: 24px;
    margin: 32px 0 24px 0;
}

.pipeline-header {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cyan);
    letter-spacing: 1px;
    margin: 0 0 16px 0;
}

.pipeline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.p-step {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.step-num {
    color: var(--cyan);
    font-weight: 700;
    margin-right: 8px;
    opacity: 0.7;
}

/* SCAN CONTEXT BOX */
.scan-context-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(90deg, rgba(102, 252, 241, 0.05) 0%, transparent 100%);
    border-left: 3px solid var(--cyan);
    border-radius: 0 4px 4px 0;
}

.context-icon {
    color: var(--cyan);
    font-size: 1.25rem;
    margin-top: 2px;
}

.scan-context-box p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.scan-context-box strong {
    color: var(--text-main);
}

/* Nice scrollbars (desktop) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--scrollbar-thumb-hover);
    }
/* DOSSIER CARDS */
.dossier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.dossier-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
    border-top: 3px solid rgba(197, 198, 199, 0.2);
}

    .dossier-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        border-top-color: var(--cyan);
    }

.dossier-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.dossier-name {
    margin: 0 0 4px 0;
    font-size: 1.125rem;
    color: var(--text-main);
}

.dossier-domain {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-mono);
    /* NEW: Truncation logic */
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
    .dossier-domain:hover {
        color: var(--cyan);
    }

.dossier-score-badge {
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    padding: 6px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.score-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.score-value {
    font-size: 1.25rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--cyan);
}

.dossier-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    padding: 12px 0;
    border-top: 1px dashed var(--panel-border);
    border-bottom: 1px dashed var(--panel-border);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* METHODOLOGY LEGEND (The Architecture Diagram) */
.extraction-architecture-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--panel-border);
    margin-bottom: 48px;
}

.matrix-header {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.architecture-flow {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.arch-row {
    display: grid;
    gap: 16px;
    width: 100%;
}

/* LARGE DESKTOP: Enforce a 4-column grid, automatically aligning left */
@media (min-width: 1200px) {
    .row-of-4, .row-of-3 {
        grid-template-columns: repeat(4, 1fr);
        width: 100%;
        margin: 0;
    }
}

/* TABLET: Go to standard 3-column rows */
@media (min-width: 768px) and (max-width: 1199px) {
    .row-of-4, .row-of-3 {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        margin: 0;
    }
}

/* MOBILE: Stack everything */
@media (max-width: 767px) {
    .row-of-4, .row-of-3 {
        grid-template-columns: 1fr;
        width: 100%;
        margin: 0;
    }
}

.arch-module {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-left: 2px solid var(--cyan);
}

.mod-icon {
    color: var(--text-muted);
    font-size: 1.25rem;
    opacity: 0.8;
}

.mod-details {
    display: flex;
    flex-direction: column;
}

.mod-num {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mod-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
}


/* DOSSIER CARDS (Historical History) */
.dossier-section {
    margin-top: 48px;
}

.dossier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.dossier-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
    border-top: 3px solid rgba(197, 198, 199, 0.2);
}

    .dossier-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        border-top-color: var(--cyan);
    }

.dossier-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.dossier-name {
    margin: 0 0 4px 0;
    font-size: 1.125rem;
    color: var(--text-main);
}

.dossier-domain {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-mono);
}

    .dossier-domain i {
        font-size: 0.7rem;
        margin-left: 4px;
    }

    .dossier-domain:hover {
        color: var(--cyan);
    }

.dossier-score-badge {
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    padding: 6px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.score-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.score-value {
    font-size: 1.25rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--cyan);
}

.dossier-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    padding: 12px 0;
    border-top: 1px dashed var(--panel-border);
    border-bottom: 1px dashed var(--panel-border);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dossier-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-re-deploy {
    border-color: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

    .btn-re-deploy:hover {
        background: var(--danger);
        color: #fff;
        border-color: var(--danger);
        box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
    }

/* MACRO STATS ROW (DASHBOARD) */
.macro-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
    border-top: 1px dashed var(--panel-border);
    padding-top: 24px;
}

.macro-stat {
    display: flex;
    flex-direction: column;
}

.m-value {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
    line-height: 1;
}

.m-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--cyan);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.m-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Mobile responsive fallback */
@media (max-width: 600px) {
    .macro-stats-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* DOSSIER MASTER LAYOUT */
.dossier-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 1024px) {
    .dossier-layout {
        grid-template-columns: 1fr; /* Stacks sidebar on top for tablets/mobile */
    }
}

/* DOSSIER SIDEBAR */
.dossier-sidebar {
    padding: 24px 0;
    position: sticky;
    top: 24px;
}

.pillar-nav {
    display: flex;
    flex-direction: column;
}

.pillar-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

    .pillar-link:hover {
        background: rgba(102, 252, 241, 0.05);
    }

    .pillar-link.active {
        background: rgba(102, 252, 241, 0.1);
        border-left-color: var(--cyan);
    }

.p-link-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.p-link-num {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.pillar-link.active .p-link-num {
    color: var(--cyan);
}

.p-link-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.p-link-score {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
}

.pillar-link.locked {
    opacity: 0.5;
    pointer-events: none;
}

/* PILLAR CONTENT TABS */
.pillar-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

    .pillar-content.active {
        display: block;
    }

/* WORKFLOW TABS (Inside Pillar 1) */
.workflow-tab {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 16px 24px;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .workflow-tab:hover {
        color: var(--text-main);
    }

    .workflow-tab.active {
        color: var(--cyan);
        border-bottom-color: var(--cyan);
        background: rgba(102, 252, 241, 0.05);
    }

.badge {
    background: rgba(255,255,255,0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-family: var(--font-mono);
}

/* CYBER ACCORDIONS (For Claims) */
.cyber-accordion {
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    margin-bottom: 16px;
    overflow: hidden;
}

.accordion-header {
    cursor: pointer;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.02);
    list-style: none; /* Removes default arrow */
    outline: none;
    transition: background 0.2s;
}

    .accordion-header::-webkit-details-marker {
        display: none;
    }
    /* Removes Safari default arrow */
    .accordion-header:hover {
        background: rgba(255,255,255,0.05);
    }

.toggle-icon {
    transition: transform 0.3s;
}

.cyber-accordion[open] .toggle-icon {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 16px 20px;
    border-top: 1px solid var(--panel-border);
    background: rgba(0,0,0,0.2);
}

/* CLAIM CARDS */
.claim-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.02);
    border-radius: 6px;
    margin-bottom: 12px;
    transition: opacity 0.3s ease;
}

    .claim-card:last-child {
        margin-bottom: 0;
    }

.claim-info {
    flex-grow: 1;
}

.claim-source {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .claim-source a:hover {
        color: var(--cyan) !important;
    }

/* TRIAGE BUTTONS */
.claim-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.btn-triage {
    background: transparent;
    border: 1px solid var(--panel-border);
    border-radius: 4px;
    padding: 6px 12px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-verify:hover {
    background: rgba(39, 201, 63, 0.1);
    border-color: #27C93F;
    color: #27C93F;
}

.btn-flag:hover {
    background: rgba(255, 189, 46, 0.1);
    border-color: #FFBD2E;
    color: #FFBD2E;
}

.btn-dismiss:hover {
    background: rgba(255, 76, 76, 0.1);
    border-color: #FF4C4C;
    color: #FF4C4C;
}

/* Scrollbar styling for panels */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

    .custom-scrollbar::-webkit-scrollbar-thumb:hover {
        background: var(--cyan);
    }

#reader-document-body a {
    color: var(--cyan) !important;
    text-decoration: none !important;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    border-bottom: 1px dashed rgba(102, 252, 241, 0.3);
    transition: all 0.2s ease-in-out;
    word-break: break-all;
    padding: 1px 4px;
    border-radius: 2px;
}

    #reader-document-body a:hover {
        color: #ffffff !important;
        border-bottom-color: #ffffff;
        background: rgba(102, 252, 241, 0.08);
    }

/* Scoped Headings Blueprint Typography */
#reader-document-body h2 {
    color: #ffffff !important;
    font-size: 1.35rem;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 8px;
    letter-spacing: -0.5px;
}

    #reader-document-body h2:first-of-type {
        margin-top: 0; /* Prevents awkward gap at the top of the report */
    }

/* Text Block Paragraph & Strong Highlighting */
#reader-document-body p {
    margin-bottom: 20px;
    color: #D1D5DB !important; /* Premium neutral off-white */
    line-height: 1.8;
}

#reader-document-body strong {
    color: #ffffff !important; /* Pops key audit values out cleanly */
    font-weight: 700;
}

/* Bullet Points Padding Tracks */
#reader-document-body ul, #reader-document-body ol {
    margin-bottom: 24px;
    padding-left: 20px;
}

#reader-document-body li {
    margin-bottom: 12px;
    color: #D1D5DB !important;
    line-height: 1.7;
}