/**
 * ManagedServiceProviders.blog - Modern 2026 Editorial Publication Design System
 * Independent MSP Industry Publication, Resource Center & Technology Intelligence
 */

/* ==============================================================================
   1. CSS Custom Properties / Centralized Design Tokens
   ============================================================================== */
:root {
    /* Brand & Typography Colors (Authoritative Editorial Slate) */
    --msp-primary: #0f172a;           /* Deep slate / ink */
    --msp-primary-dark: #020617;      /* Obsidian black */
    --msp-secondary: #334155;         /* Charcoal secondary text */
    --msp-text: #0f172a;              /* Primary reading text */
    --msp-muted: #64748b;             /* Muted captions & metadata */
    --msp-text-muted: #64748b;        /* Compatibility token */
    --msp-text-light: #94a3b8;        /* Subtle placeholder text */

    /* Publication Accent System (Energetic Coral/Crimson inspired by original mark) */
    --msp-accent: #e11d48;            /* Energetic Crimson / Flame */
    --msp-accent-hover: #be123c;      /* Deep crimson hover */
    --msp-accent-light: #fff1f2;      /* Soft rose wash for badges */
    --msp-accent-subtle: #fecdd3;     /* Subtle rose border */

    /* Topic Category Colors */
    --msp-topic-tech: #4f46e5;        /* Electric Indigo (Technology) */
    --msp-topic-business: #059669;    /* Emerald Green (Business & Growth) */
    --msp-topic-guides: #d97706;      /* Warm Amber (Guides & Education) */
    --msp-topic-dir: #0284c7;         /* Sky Blue (Supporting Directory) */

    /* Canvas & Surfaces (Clean, bright, high-whitespace editorial canvas) */
    --msp-background: #f8fafc;        /* Warm paper off-white canvas */
    --msp-bg: #f8fafc;                /* Compatibility token */
    --msp-surface: #ffffff;           /* Crisp white card surface */
    --msp-surface-subtle: #f1f5f9;    /* Light gray panel surface */
    --msp-border: #e2e8f0;            /* Clean editorial divider line */
    --msp-border-light: #f1f5f9;      /* Subtle inner divider */
    --msp-border-focus: #e11d48;      /* Interactive focus state */

    /* Typography */
    --msp-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --msp-font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Corner Radii */
    --msp-radius-sm: 6px;
    --msp-radius-md: 10px;
    --msp-radius-lg: 16px;
    --msp-radius-xl: 24px;
    --msp-radius-full: 9999px;

    /* Elevation & Shadows */
    --msp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --msp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --msp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --msp-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

    --msp-container-max: 1240px;
}

/* ==============================================================================
   2. Reset & Global Styles
   ============================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--msp-font);
    background-color: var(--msp-background);
    color: var(--msp-text);
    line-height: 1.65;
    font-size: 1rem;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--msp-accent);
    text-decoration: none;
    transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
    color: var(--msp-accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Legacy cleanup guarantees */
.mobile-nav,
#mobileNav,
.stats-grid,
.stat-card,
.msp-stats-grid,
.market-data-attribution {
    display: none !important;
}

button, input, select, textarea {
    font: inherit;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Container Utilities */
.msp-content-container,
.msp-header-container,
.msp-footer-container {
    width: 100%;
    max-width: var(--msp-container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.msp-section {
    padding: 5rem 0;
    position: relative;
}

.msp-section-alt {
    background-color: #ffffff;
    border-top: 1px solid var(--msp-border);
    border-bottom: 1px solid var(--msp-border);
}

/* Section Header Component */
.msp-section-header {
    margin-bottom: 3.5rem;
}

.msp-section-header.text-center {
    text-align: center;
}

.msp-section-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--msp-accent);
    margin-bottom: 0.5rem;
}

.msp-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--msp-primary);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.msp-section-subtitle {
    font-size: 1.125rem;
    color: var(--msp-muted);
    max-width: 720px;
    line-height: 1.6;
}

/* Buttons */
.msp-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--msp-accent);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.6875rem 1.375rem;
    border-radius: var(--msp-radius-md);
    border: 1px solid var(--msp-accent);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(225, 29, 72, 0.2);
}

.msp-btn-primary:hover {
    background-color: var(--msp-accent-hover);
    border-color: var(--msp-accent-hover);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.28);
}

.msp-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: transparent;
    color: var(--msp-accent);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.6875rem 1.375rem;
    border-radius: var(--msp-radius-md);
    border: 1px solid var(--msp-accent);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.msp-btn-outline:hover {
    background-color: var(--msp-accent);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.msp-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--msp-surface);
    color: var(--msp-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.6875rem 1.375rem;
    border-radius: var(--msp-radius-md);
    border: 1px solid var(--msp-border);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.msp-btn-secondary:hover {
    background-color: var(--msp-surface-subtle);
    border-color: #cbd5e1;
    color: var(--msp-primary);
    transform: translateY(-1px);
}

.msp-btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1.05rem;
}

.msp-btn-block {
    width: 100%;
}

/* ==============================================================================
   3. Master Header & Navigation (Crisp White Editorial Masthead)
   ============================================================================== */
.msp-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--msp-border);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.msp-header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    height: 68px;
    padding: 0 1.5rem;
    max-width: var(--msp-container-max);
    margin: 0 auto;
}

/* Zone 1: Brand */
.msp-header-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.msp-brand-link {
    display: inline-flex;
    align-items: center;
}

.msp-brand-logo {
    height: 34px;
    width: auto;
    max-width: 195px;
    object-fit: contain;
    transition: transform 0.15s ease;
}

.msp-brand-logo:hover {
    transform: translateY(-1px);
}

/* Zone 2: Center Desktop Navigation */
.msp-desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.msp-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.msp-nav-item {
    position: relative;
}

.msp-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--msp-secondary);
    font-weight: 600;
    font-size: 0.8875rem;
    padding: 0.45rem 0.65rem;
    border-radius: var(--msp-radius-sm);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    line-height: 1.4;
}

.msp-nav-link:hover,
.msp-nav-link.active,
.msp-nav-item.open > .msp-nav-link,
.msp-nav-item:hover > .msp-nav-link {
    color: var(--msp-accent);
    background: var(--msp-accent-light);
}

.msp-nav-link:focus-visible {
    outline: 2px solid var(--msp-accent);
    outline-offset: 2px;
}

.msp-chevron {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
    opacity: 0.65;
}

.msp-nav-item:hover .msp-chevron,
.msp-nav-item.open .msp-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* ==============================================================================
   Dropdown Panels (Editorial, Refined, Accessible)
   ============================================================================== */
.msp-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;
    z-index: 1050;
    background: #ffffff;
    border-radius: var(--msp-radius-lg);
    border: 1px solid var(--msp-border);
    box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.12), 0 6px 12px -3px rgba(15, 23, 42, 0.05);
    pointer-events: none;
}

.msp-nav-item:hover > .msp-dropdown-menu,
.msp-nav-item.open > .msp-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* 1. MSP Insights Menu */
.msp-insights-menu {
    width: 350px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.msp-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: var(--msp-radius-md);
    color: var(--msp-primary);
    text-decoration: none;
    transition: background 0.15s ease, transform 0.1s ease;
}

.msp-dropdown-item:hover,
.msp-dropdown-item:focus-visible {
    background: var(--msp-accent-light);
    outline: none;
}

.msp-dropdown-item i {
    color: var(--msp-accent);
    font-size: 1.05rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.msp-dropdown-item div {
    display: flex;
    flex-direction: column;
}

.msp-dropdown-item strong {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--msp-primary);
    margin-bottom: 0.1rem;
}

.msp-dropdown-item span {
    font-size: 0.76rem;
    color: var(--msp-muted);
    line-height: 1.35;
}

/* 2. Technology Menu (Structured Groups) */
.msp-tech-menu {
    width: 660px;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    padding: 1.25rem;
}

.msp-nav-item:hover > .msp-tech-menu,
.msp-nav-item.open > .msp-tech-menu {
    transform: translateX(-50%) translateY(0);
}

.msp-tech-grid-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.msp-tech-col {
    display: flex;
    flex-direction: column;
}

.msp-tech-col-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--msp-accent);
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1.5px solid var(--msp-border);
}

.msp-tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.msp-tech-list li a {
    display: flex;
    flex-direction: column;
    padding: 0.4rem 0.5rem;
    border-radius: var(--msp-radius-sm);
    text-decoration: none;
    transition: background 0.15s ease;
}

.msp-tech-list li a:hover,
.msp-tech-list li a:focus-visible {
    background: var(--msp-accent-light);
    outline: none;
}

.msp-tech-list strong {
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--msp-primary);
}

.msp-tech-list li a:hover strong {
    color: var(--msp-accent);
}

.msp-tech-list span {
    font-size: 0.72rem;
    color: var(--msp-muted);
    line-height: 1.3;
    margin-top: 0.1rem;
}

/* 3. Guides Menu */
.msp-guides-menu {
    width: 350px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

/* 4. Directory Menu (Supporting Resource) */
.msp-directory-menu {
    width: 740px;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    padding: 1.25rem;
}

.msp-nav-item:hover > .msp-directory-menu,
.msp-nav-item.open > .msp-directory-menu {
    transform: translateX(-50%) translateY(0);
}

.msp-dir-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--msp-border);
}

.dir-topbar-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dir-topbar-badge {
    font-size: 0.7rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--msp-accent);
}

.dir-topbar-lead {
    font-size: 0.78rem;
    color: var(--msp-muted);
}

.dir-topbar-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dir-quick-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--msp-secondary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.dir-quick-link:hover,
.dir-quick-link.view-all {
    color: var(--msp-accent);
}

.msp-dir-regions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.msp-dir-col {
    display: flex;
    flex-direction: column;
}

.msp-dir-col-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--msp-primary);
    margin-bottom: 0.6rem;
    padding-bottom: 0.35rem;
    border-bottom: 1.5px solid var(--msp-accent-light);
}

.msp-dir-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-height: 240px;
    overflow-y: auto;
}

.msp-dir-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--msp-secondary);
    padding: 0.2rem 0.35rem;
    border-radius: var(--msp-radius-sm);
    text-decoration: none;
    transition: all 0.15s ease;
}

.msp-dir-list a:hover {
    color: var(--msp-accent);
    background: var(--msp-accent-light);
}

.dir-badge {
    font-size: 0.68rem;
    color: var(--msp-muted);
    font-weight: 500;
}

/* Zone 3: Header Actions (Search & CTA) */
.msp-header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.msp-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--msp-surface-subtle);
    border: 1px solid var(--msp-border);
    color: var(--msp-muted);
    font-size: 0.84rem;
    padding: 0.42rem 0.75rem;
    border-radius: var(--msp-radius-md);
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.msp-search-btn:hover {
    border-color: #cbd5e1;
    color: var(--msp-primary);
    background: #ffffff;
}

.msp-search-btn:focus-visible {
    outline: 2px solid var(--msp-accent);
    outline-offset: 2px;
}

.msp-kbd-hint {
    background: #ffffff;
    border: 1px solid var(--msp-border);
    color: var(--msp-muted);
    font-size: 0.68rem;
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    font-family: inherit;
    line-height: 1;
}

.msp-cta-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--msp-accent);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.84rem;
    padding: 0.45rem 0.95rem;
    border-radius: var(--msp-radius-md);
    border: 1px solid var(--msp-accent);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(225, 29, 72, 0.2);
    white-space: nowrap;
}

.msp-cta-header-btn:hover {
    background: var(--msp-accent-hover);
    border-color: var(--msp-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(225, 29, 72, 0.3);
}

.msp-cta-header-btn:focus-visible {
    outline: 2px solid var(--msp-primary);
    outline-offset: 2px;
}

/* Mobile Toggle */
.msp-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background: var(--msp-primary);
    border-radius: 2px;
    transition: all 0.25s ease;
}

/* ==============================================================================
   4. Mobile Navigation Drawer
   ============================================================================== */
.msp-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1200;
    visibility: hidden;
    overflow: hidden;
    display: none;
    transition: visibility 0.3s ease;
}

.msp-mobile-drawer.open {
    visibility: visible;
    display: block;
}

.msp-drawer-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.msp-mobile-drawer.open .msp-drawer-backdrop {
    opacity: 1;
}

.msp-drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 380px;
    height: 100%;
    background: #ffffff;
    box-shadow: var(--msp-shadow-xl);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.msp-mobile-drawer.open .msp-drawer-content {
    transform: translateX(0);
}

.msp-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border-bottom: 1px solid var(--msp-border);
}

.msp-drawer-close {
    background: transparent;
    border: none;
    color: var(--msp-muted);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
}

.msp-drawer-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.msp-drawer-search-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--msp-surface-subtle);
    border: 1px solid var(--msp-border);
    padding: 0.75rem 1rem;
    border-radius: var(--msp-radius-md);
    color: var(--msp-muted);
    font-size: 0.875rem;
    cursor: pointer;
}

.msp-drawer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.msp-drawer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--msp-radius-md);
    color: var(--msp-primary);
    font-weight: 600;
    font-size: 0.9375rem;
}

.msp-drawer-link:hover {
    background: var(--msp-accent-light);
    color: var(--msp-accent);
}

.msp-accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: transparent;
    border: none;
    color: var(--msp-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    border-radius: var(--msp-radius-md);
}

.msp-accordion-panel {
    display: none;
    padding: 0.5rem 0.75rem 0.75rem 1.75rem;
    flex-direction: column;
    gap: 0.5rem;
}

.msp-drawer-accordion.active .msp-accordion-panel {
    display: flex;
}

.msp-drawer-accordion.active .msp-accordion-btn i:last-child {
    transform: rotate(180deg);
}

.msp-drawer-sublink {
    font-size: 0.875rem;
    color: var(--msp-secondary);
    padding: 0.3rem 0;
}

.msp-mobile-states-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    max-height: 220px;
    overflow-y: auto;
}

.msp-mobile-state-item {
    font-size: 0.8125rem;
    padding: 0.3rem;
    color: var(--msp-secondary);
}

.msp-accordion-group-title {
    display: block;
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--msp-accent);
    margin: 0.75rem 0 0.25rem;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid var(--msp-border);
}

.msp-drawer-quick-dir {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed var(--msp-border);
}

.msp-drawer-quick-dir .msp-drawer-sublink {
    font-weight: 600;
    color: var(--msp-accent);
}

/* ==============================================================================
   5. Hero Section (Clean, Airy Editorial Masthead)
   ============================================================================== */
.msp-hero-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--msp-border);
    padding: 4.5rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.msp-hero-container {
    width: 100%;
    max-width: var(--msp-container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.msp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--msp-accent-light);
    border: 1px solid var(--msp-accent-subtle);
    color: var(--msp-accent);
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.35rem 0.875rem;
    border-radius: var(--msp-radius-full);
    margin-bottom: 1.25rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--msp-accent);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(225, 29, 72, 0.6);
}

.msp-hero-title {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    color: var(--msp-primary);
}

.gradient-text {
    background: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.msp-hero-lead {
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--msp-secondary);
    margin-bottom: 2rem;
    max-width: 620px;
}

.msp-hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.msp-hero-link-dir {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--msp-secondary);
    margin-left: 0.5rem;
}

.msp-hero-link-dir:hover {
    color: var(--msp-accent);
}

/* Hero Search Box */
.msp-hero-search-box {
    position: relative;
    max-width: 580px;
    margin-bottom: 1.15rem;
}

.hero-search-input-group {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--msp-border);
    border-radius: var(--msp-radius-lg);
    padding: 0.375rem 0.5rem 0.375rem 1rem;
    box-shadow: 0 4px 15px -2px rgba(0, 0, 0, 0.06);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hero-search-input-group:focus-within {
    border-color: var(--msp-accent);
    box-shadow: 0 0 0 3px var(--msp-accent-light);
}

.search-icon {
    color: var(--msp-muted);
    font-size: 1.1rem;
    margin-right: 0.75rem;
}

#heroQuickSearch {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: var(--msp-primary);
    background: transparent;
}

.hero-search-go-btn {
    background: var(--msp-primary);
    color: #ffffff;
    border: none;
    padding: 0.55rem 1.15rem;
    border-radius: var(--msp-radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.hero-search-go-btn:hover {
    background: var(--msp-accent);
}

/* Hero Live Search Dropdown */
.hero-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: var(--msp-radius-md);
    box-shadow: var(--msp-shadow-xl);
    border: 1px solid var(--msp-border);
    max-height: 280px;
    overflow-y: auto;
    z-index: 100;
}

.hero-search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    color: var(--msp-primary);
    text-decoration: none;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--msp-border-light);
}

.hero-search-item:hover {
    background: var(--msp-accent-light);
    color: var(--msp-accent);
}

/* Hero Credibility / Trust Statement Line */
.msp-hero-trust-line {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
    font-size: 0.875rem;
    color: var(--msp-muted);
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.5;
    max-width: 580px;
}

.trust-segment {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    white-space: nowrap;
}

.trust-metric {
    color: var(--msp-primary);
    font-weight: 700;
}

.trust-sep {
    color: #94a3b8;
    font-weight: 700;
    user-select: none;
    display: inline-block;
}

/* Hero Stats Bar (Legacy compatibility fallback) */
.msp-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 580px;
}

.hero-stat-card {
    background: #ffffff;
    border: 1px solid var(--msp-border);
    border-radius: var(--msp-radius-md);
    padding: 0.85rem;
    text-align: center;
    box-shadow: var(--msp-shadow-sm);
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--msp-primary);
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--msp-muted);
    font-weight: 600;
}

/* Flagship Article Card (Side Feature) */
.msp-flagship-card {
    background: #ffffff;
    border: 1px solid var(--msp-border);
    border-radius: var(--msp-radius-xl);
    padding: 2.25rem;
    box-shadow: var(--msp-shadow-lg);
    position: relative;
}

.flagship-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.flagship-badge {
    background: var(--msp-accent);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem;
    border-radius: var(--msp-radius-sm);
}

.read-time {
    font-size: 0.8125rem;
    color: var(--msp-muted);
}

.flagship-title {
    font-size: 1.625rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.flagship-title a {
    color: var(--msp-primary);
}

.flagship-title a:hover {
    color: var(--msp-accent);
}

.flagship-excerpt {
    font-size: 0.95rem;
    color: var(--msp-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.flagship-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.75rem;
}

.topic-tag {
    background: var(--msp-surface-subtle);
    color: var(--msp-secondary);
    border: 1px solid var(--msp-border);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: var(--msp-radius-sm);
}

.flagship-btn {
    width: 100%;
    text-align: center;
}

/* ==============================================================================
   6. Editorial Article Cards & Grid
   ============================================================================== */
.msp-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.msp-article-card {
    background: #ffffff;
    border: 1px solid var(--msp-border);
    border-radius: var(--msp-radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--msp-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.msp-article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--msp-shadow-md);
    border-color: #cbd5e1;
}

.article-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.article-category-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.55rem;
    border-radius: var(--msp-radius-sm);
}

.cat-operations {
    background: #ecfdf5;
    color: #047857;
}

.cat-service {
    background: #eff6ff;
    color: #1d4ed8;
}

.cat-smb {
    background: #fff7ed;
    color: #c2410c;
}

.article-read-time {
    font-size: 0.75rem;
    color: var(--msp-muted);
}

.article-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.article-card-title a {
    color: var(--msp-primary);
}

.article-card-title a:hover {
    color: var(--msp-accent);
}

.article-card-excerpt {
    font-size: 0.9375rem;
    color: var(--msp-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.article-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--msp-border-light);
    font-size: 0.8125rem;
}

.article-author {
    color: var(--msp-muted);
}

.article-link {
    font-weight: 600;
    color: var(--msp-accent);
}

/* ==============================================================================
   7. Technology Grid (RMM, PSA, Cybersecurity, BDR)
   ============================================================================== */
.msp-tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.msp-tech-card {
    background: #ffffff;
    border: 1px solid var(--msp-border);
    border-radius: var(--msp-radius-lg);
    padding: 2rem;
    box-shadow: var(--msp-shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.msp-tech-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: var(--msp-shadow-md);
}

.tech-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--msp-radius-md);
    background: var(--msp-accent-light);
    color: var(--msp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.tech-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--msp-primary);
    margin-bottom: 0.65rem;
}

.tech-card-desc {
    font-size: 0.9375rem;
    color: var(--msp-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.tech-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.platform-chip {
    background: var(--msp-surface-subtle);
    border: 1px solid var(--msp-border);
    color: var(--msp-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: var(--msp-radius-sm);
}

.tech-card-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--msp-border-light);
}

.tech-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--msp-accent);
}

/* ==============================================================================
   8. Business Growth Pillars Grid
   ============================================================================== */
.msp-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.msp-pillar-card {
    background: #ffffff;
    border: 1px solid var(--msp-border);
    border-radius: var(--msp-radius-lg);
    padding: 2rem;
    box-shadow: var(--msp-shadow-sm);
}

.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--msp-radius-md);
    background: #f1f5f9;
    color: var(--msp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.pillar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--msp-primary);
    margin-bottom: 0.65rem;
}

.pillar-desc {
    font-size: 0.9375rem;
    color: var(--msp-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.pillar-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--msp-accent);
}

/* ==============================================================================
   9. Guides 4-Box Grid
   ============================================================================== */
.msp-guides-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.msp-guide-item {
    display: flex;
    gap: 1.5rem;
    background: #ffffff;
    border: 1px solid var(--msp-border);
    border-radius: var(--msp-radius-lg);
    padding: 1.75rem;
    box-shadow: var(--msp-shadow-sm);
}

.guide-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--msp-accent);
    line-height: 1;
}

.guide-body h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.guide-body h4 a {
    color: var(--msp-primary);
}

.guide-body h4 a:hover {
    color: var(--msp-accent);
}

.guide-body p {
    font-size: 0.9rem;
    color: var(--msp-secondary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.guide-arrow {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--msp-accent);
}

/* ==============================================================================
   10. Research Banner
   ============================================================================== */
.msp-research-banner {
    background: #ffffff;
    border: 1px solid var(--msp-border);
    border-radius: var(--msp-radius-xl);
    padding: 3rem;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    align-items: center;
    box-shadow: var(--msp-shadow-md);
}

.research-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--msp-accent);
    margin-bottom: 0.75rem;
}

.research-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--msp-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.research-content p {
    font-size: 1rem;
    color: var(--msp-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.research-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.research-stat-box {
    background: var(--msp-surface-subtle);
    border: 1px solid var(--msp-border);
    border-radius: var(--msp-radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.r-stat {
    display: flex;
    flex-direction: column;
}

.r-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--msp-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.r-label {
    font-size: 0.8125rem;
    color: var(--msp-muted);
    font-weight: 600;
}

.r-caption {
    font-size: 0.75rem;
    color: var(--msp-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--msp-border);
}

/* ==============================================================================
   11. Supporting Directory Explorer
   ============================================================================== */
.msp-directory-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.dir-search-wrap {
    position: relative;
    flex: 1;
    min-width: 280px;
}

.dir-search-wrap i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--msp-muted);
}

.dir-search-wrap input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    border: 1px solid var(--msp-border);
    border-radius: var(--msp-radius-md);
    font-size: 0.9375rem;
    background: #ffffff;
    color: var(--msp-primary);
    outline: none;
}

.dir-search-wrap input:focus {
    border-color: var(--msp-accent);
}

.dir-region-tabs {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.dir-tab {
    background: #ffffff;
    border: 1px solid var(--msp-border);
    color: var(--msp-secondary);
    padding: 0.5rem 0.85rem;
    border-radius: var(--msp-radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.dir-tab:hover,
.dir-tab.active {
    background: var(--msp-primary);
    border-color: var(--msp-primary);
    color: #ffffff;
}

.msp-states-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.msp-state-card {
    background: #ffffff;
    border: 1px solid var(--msp-border);
    border-radius: var(--msp-radius-lg);
    padding: 1.25rem;
    box-shadow: var(--msp-shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.msp-state-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: var(--msp-shadow-md);
}

.state-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.state-region-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--msp-muted);
}

.state-count-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--msp-accent);
    background: var(--msp-accent-light);
    padding: 0.15rem 0.5rem;
    border-radius: var(--msp-radius-sm);
}

.state-card-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.state-card-name a {
    color: var(--msp-primary);
}

.state-card-name a:hover {
    color: var(--msp-accent);
}

.state-card-desc {
    font-size: 0.8125rem;
    color: var(--msp-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.state-card-footer {
    padding-top: 0.75rem;
    border-top: 1px solid var(--msp-border-light);
}

.state-view-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--msp-accent);
}

/* ==============================================================================
   12. Newsletter Section
   ============================================================================== */
.msp-newsletter-section {
    padding: 5rem 0;
    background: #ffffff;
    border-top: 1px solid var(--msp-border);
}

.msp-newsletter-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--msp-radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    color: #ffffff;
    max-width: 960px;
    margin: 0 auto;
    box-shadow: var(--msp-shadow-xl);
}

.newsletter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(225, 29, 72, 0.2);
    color: #fda4af;
    border: 1px solid rgba(225, 29, 72, 0.4);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.75rem;
    border-radius: var(--msp-radius-full);
    margin-bottom: 1.25rem;
}

.newsletter-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.newsletter-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 640px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    max-width: 520px;
    margin: 0 auto 1.25rem;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 260px;
    padding: 0.85rem 1.25rem;
    border-radius: var(--msp-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-guarantee {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==============================================================================
   13. Subpage & Editorial Article Layout
   ============================================================================== */
.msp-subpage-container {
    max-width: var(--msp-container-max);
    margin: 0 auto;
    padding: 2.5rem 1.5rem 5rem;
}

.msp-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--msp-muted);
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.msp-breadcrumbs a {
    color: var(--msp-muted);
}

.msp-breadcrumbs a:hover {
    color: var(--msp-accent);
}

.msp-breadcrumbs span {
    color: var(--msp-text-light);
}

.msp-breadcrumbs [aria-current="page"] {
    color: var(--msp-primary);
    font-weight: 600;
}

/* Editorial Article Header (for Guides) */
.msp-editorial-article-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--msp-border);
}

.msp-editorial-badge {
    display: inline-block;
    background: var(--msp-accent-light);
    color: var(--msp-accent);
    border: 1px solid var(--msp-accent-subtle);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.75rem;
    border-radius: var(--msp-radius-sm);
    margin-bottom: 1rem;
}

.msp-editorial-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--msp-primary);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

.msp-editorial-byline {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.875rem;
    color: var(--msp-muted);
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.msp-editorial-byline span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.msp-editorial-takeaways {
    background: #ffffff;
    border: 1px solid var(--msp-border);
    border-left: 4px solid var(--msp-accent);
    border-radius: var(--msp-radius-md);
    padding: 1.75rem;
    margin-top: 1.5rem;
    box-shadow: var(--msp-shadow-sm);
}

.takeaways-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--msp-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.takeaways-title i {
    color: var(--msp-accent);
}

.msp-editorial-takeaways ul {
    list-style: disc;
    margin-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--msp-secondary);
    font-size: 0.9375rem;
}

/* State Directory Page Header */
.msp-state-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--msp-border);
}

.msp-state-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--msp-accent);
    margin-bottom: 0.75rem;
}

.msp-state-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--msp-primary);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
}

.msp-state-lead {
    font-size: 1.125rem;
    color: var(--msp-secondary);
    line-height: 1.6;
    max-width: 780px;
}

/* Article Body Typography */
.msp-page-body {
    background: #ffffff;
    border: 1px solid var(--msp-border);
    border-radius: var(--msp-radius-xl);
    padding: 3rem;
    box-shadow: var(--msp-shadow-sm);
    line-height: 1.75;
    font-size: 1.05rem;
    color: var(--msp-secondary);
}

.msp-page-body h1,
.msp-page-body h2,
.msp-page-body h3,
.msp-page-body h4 {
    color: var(--msp-primary);
    font-weight: 800;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.msp-page-body h2 {
    font-size: 1.75rem;
    border-bottom: 1px solid var(--msp-border-light);
    padding-bottom: 0.5rem;
}

.msp-page-body h3 {
    font-size: 1.35rem;
}

.msp-page-body p {
    margin-bottom: 1.5rem;
}

.msp-page-body ul,
.msp-page-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.msp-page-body li {
    margin-bottom: 0.5rem;
}

/* Related Guides Section */
.msp-related-guides-section {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--msp-border);
}

.related-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--msp-accent);
}

.related-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--msp-primary);
    margin-bottom: 1.5rem;
}

.msp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.msp-related-card {
    background: #ffffff;
    border: 1px solid var(--msp-border);
    border-radius: var(--msp-radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.related-tag {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--msp-accent);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.msp-related-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.msp-related-card h4 a {
    color: var(--msp-primary);
}

.msp-related-card h4 a:hover {
    color: var(--msp-accent);
}

.msp-related-card p {
    font-size: 0.875rem;
    color: var(--msp-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.read-guide-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--msp-accent);
}

/* Article CTA Box */
.msp-article-cta-box {
    margin-top: 2.5rem;
    background: var(--msp-accent-light);
    border: 1px solid var(--msp-accent-subtle);
    border-radius: var(--msp-radius-xl);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--msp-accent);
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 0.35rem;
}

.article-cta-content h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--msp-primary);
    margin-bottom: 0.35rem;
}

.article-cta-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--msp-secondary);
    max-width: 600px;
}

/* Intelligence Callout */
.msp-intelligence-callout {
    margin-top: 3.5rem;
    background: #ffffff;
    border: 1px solid var(--msp-border);
    border-radius: var(--msp-radius-xl);
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    box-shadow: var(--msp-shadow-sm);
}

.msp-intelligence-callout.subtle-callout {
    background: var(--msp-surface-subtle);
}

.callout-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--msp-accent);
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
}

.callout-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--msp-primary);
    margin: 0 0 0.4rem 0;
}

.callout-desc {
    margin: 0;
    color: var(--msp-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 720px;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 1.75rem 0;
    border: 1px solid var(--msp-border);
    border-radius: var(--msp-radius-lg);
}

.msp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: #ffffff;
}

.msp-table th {
    background: var(--msp-surface-subtle);
    color: var(--msp-primary);
    font-weight: 700;
    padding: 0.85rem 1rem;
    text-align: left;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--msp-border);
}

.msp-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--msp-border-light);
    color: var(--msp-secondary);
}

.msp-table tr:hover td {
    background: var(--msp-surface-subtle);
}

/* FAQ Details */
.modern-faq-item {
    background: #ffffff;
    border: 1px solid var(--msp-border);
    border-radius: var(--msp-radius-md);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.modern-faq-item summary {
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--msp-primary);
    cursor: pointer;
    outline: none;
    user-select: none;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modern-faq-item summary::-webkit-details-marker {
    display: none;
}

.modern-faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8125rem;
    color: var(--msp-muted);
    transition: transform 0.2s ease;
}

.modern-faq-item[open] summary::after {
    transform: rotate(180deg);
}

.modern-faq-item .faq-answer,
.modern-faq-item > p,
.modern-faq-item > div {
    padding: 0 1.25rem 1.25rem;
    color: var(--msp-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==============================================================================
   14. Master Footer (Deep Slate Editorial Footer)
   ============================================================================== */
.msp-site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4.5rem 0 2.5rem;
    border-top: 1px solid #1e293b;
}

.msp-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.msp-footer-brand {
    display: inline-block;
    margin-bottom: 1.25rem;
}

.msp-footer-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    max-width: 360px;
}

.msp-footer-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: var(--msp-radius-sm);
}

.msp-footer-trust-badge i {
    color: var(--msp-accent);
}

.msp-footer-heading {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.msp-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.msp-footer-links a {
    color: #94a3b8;
    font-size: 0.875rem;
    transition: color 0.15s ease;
}

.msp-footer-links a:hover {
    color: #ffffff;
}

.msp-highlight-link {
    color: var(--msp-accent) !important;
    font-weight: 600;
}

.msp-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    font-size: 0.8125rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.msp-footer-meta-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.msp-footer-meta-links a {
    color: #94a3b8;
}

.msp-footer-meta-links a:hover {
    color: #ffffff;
}

.sep {
    opacity: 0.3;
}

/* ==============================================================================
   15. Lead Capture Modal System & Search Modal
   ============================================================================== */
.msp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.msp-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.msp-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
}

.msp-modal-dialog {
    position: relative;
    background: #ffffff;
    border-radius: var(--msp-radius-xl);
    max-width: 520px;
    width: 90%;
    box-shadow: var(--msp-shadow-xl);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.msp-modal.active .msp-modal-dialog {
    transform: scale(1);
}

.msp-modal-header {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid var(--msp-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.msp-modal-close,
.msp-modal-close-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #64748b;
    cursor: pointer;
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    z-index: 20;
    transition: all 0.15s ease;
}

.msp-modal-close:hover,
.msp-modal-close-btn:hover {
    background: #fee2e2;
    border-color: #fecdd3;
    color: #e11d48;
    transform: rotate(90deg);
}

.msp-modal-body {
    padding: 1.75rem;
}

/* ==============================================================================
   Lead Capture Modal Specifics (B2B Data Leads)
   ============================================================================== */
.msp-lead-modal-dialog {
    max-width: 620px;
    width: 92%;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    background: #ffffff;
    overflow: hidden;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
}

.msp-lead-modal-content {
    padding: 2.25rem 2.25rem 2rem;
    overflow-y: auto;
    max-height: 94vh;
}

/* Header Stack - Vertical Layout (Zero Horizontal Cramping) */
.msp-lead-modal-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 2.5rem 1.25rem 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}

.msp-lead-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #e11d48;
    font-size: 0.725rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 9999px;
    margin-bottom: 0.65rem;
    line-height: 1;
}

.msp-lead-pill-badge i {
    font-size: 0.75rem;
}

.msp-lead-modal-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.msp-lead-modal-desc {
    font-size: 0.925rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 0.85rem 0;
}

.msp-lead-features-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.25rem;
}

.msp-feat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
}

.msp-feat-pill i {
    color: #059669;
    font-size: 0.7rem;
}

/* Form Alert Banner */
.msp-lead-alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.msp-lead-alert.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.msp-lead-alert.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

/* Form Layout Grid */
.msp-lead-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.95rem 1rem;
    margin-top: 1.15rem;
}

.msp-lead-form-group {
    display: flex;
    flex-direction: column;
}

.msp-lead-form-group.full-width {
    grid-column: 1 / -1;
}

.msp-lead-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 650;
    color: #334155;
    margin-bottom: 0.4rem;
}

.msp-lead-label .required {
    color: #e11d48;
    font-weight: 700;
}

.msp-lead-label .optional {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 400;
    margin-left: 0.25rem;
}

.msp-lead-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.msp-lead-icon {
    position: absolute;
    left: 0.95rem;
    color: #94a3b8;
    font-size: 0.875rem;
    pointer-events: none;
    transition: color 0.15s ease;
    z-index: 2;
}

.msp-lead-input,
.msp-lead-select {
    width: 100%;
    height: 44px;
    padding: 0.6rem 0.9rem 0.6rem 2.5rem;
    font-size: 0.875rem;
    color: #0f172a;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 9px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    font-family: inherit;
}

.msp-lead-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.msp-lead-input:focus,
.msp-lead-select:focus {
    border-color: #e11d48;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
}

.msp-lead-input:focus ~ .msp-lead-icon,
.msp-lead-input-wrap:focus-within .msp-lead-icon {
    color: #e11d48;
}

.msp-lead-input.is-invalid,
.msp-lead-select.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.msp-lead-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.msp-field-error {
    display: block;
    color: #ef4444;
    font-size: 0.725rem;
    font-weight: 500;
    margin-top: 0.25rem;
    min-height: 1rem;
}

/* Submit Wrap & Button */
.msp-lead-submit-wrap {
    margin-top: 0.5rem;
}

.msp-lead-submit-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    border: none;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
    font-family: inherit;
}

.msp-lead-submit-btn:hover {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.45);
    transform: translateY(-1px);
}

.msp-lead-submit-btn:active {
    transform: translateY(0);
}

.msp-lead-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.msp-lead-submit-btn .btn-text,
.msp-lead-submit-btn .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Trust Assurance Footer */
.msp-lead-trust-footer {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.msp-trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.msp-trust-items i {
    color: #059669;
    margin-right: 0.25rem;
}

.msp-trust-items .sep {
    color: #cbd5e1;
}

/* Success View Layout */
.msp-lead-success-content {
    padding: 2.75rem 2.25rem;
    text-align: center;
    overflow-y: auto;
}

.msp-success-badge-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem auto;
    border-radius: 50%;
    background: #ecfdf5;
    border: 2px solid #a7f3d0;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.08);
}

.msp-success-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.msp-success-desc {
    font-size: 0.925rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0 auto 1.5rem auto;
    max-width: 460px;
}

.msp-success-desc strong {
    color: #0f172a;
}

.msp-success-details-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    text-align: left;
    margin: 0 auto 1.5rem auto;
    max-width: 440px;
}

.msp-success-details-card .detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.85rem;
}

.msp-success-details-card .detail-row:not(:last-child) {
    border-bottom: 1px solid #f1f5f9;
}

.msp-success-details-card .detail-label {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.msp-success-details-card .detail-value {
    color: #0f172a;
    font-weight: 600;
}

.msp-success-actions {
    max-width: 440px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .msp-lead-modal-dialog {
        width: 95%;
        max-height: 92vh;
    }

    .msp-lead-modal-content {
        padding: 1.5rem 1.15rem 1.25rem;
        max-height: 92vh;
    }

    .msp-lead-modal-header {
        padding: 0 2.25rem 0.85rem 0;
    }

    .msp-lead-pill-badge {
        font-size: 0.675rem;
        padding: 0.25rem 0.6rem;
        max-width: 100%;
    }

    .msp-lead-modal-title {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .msp-lead-modal-desc {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .msp-lead-features-strip {
        display: none;
    }

    .msp-lead-form-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-top: 0.75rem;
    }

    .msp-lead-input,
    .msp-lead-select {
        height: 42px;
        font-size: 0.85rem;
    }

    .msp-lead-submit-btn {
        height: 46px;
        font-size: 0.9rem;
    }

    .msp-lead-success-content {
        padding: 2rem 1.15rem;
    }

    .msp-modal-close,
    .msp-modal-close-btn {
        right: 0.85rem;
        top: 0.85rem;
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
}

/* Spotlight Search Modal Specifics */
.msp-search-dialog {
    max-width: 640px;
    width: 90%;
    background: #ffffff;
    border-radius: var(--msp-radius-xl);
    box-shadow: var(--msp-shadow-xl);
    overflow: hidden;
}

.msp-search-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--msp-border);
}

.msp-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.msp-search-icon {
    color: var(--msp-accent);
    font-size: 1.15rem;
}

.msp-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.05rem;
    color: var(--msp-primary);
    background: transparent;
}

.msp-search-kbd {
    background: var(--msp-surface-subtle);
    border: 1px solid var(--msp-border);
    color: var(--msp-muted);
    font-size: 0.75rem;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.msp-search-results {
    padding: 1.25rem 1.5rem;
    max-height: 420px;
    overflow-y: auto;
}

.msp-search-group-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--msp-muted);
    margin-bottom: 0.75rem;
}

.msp-search-items-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.msp-search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    border-radius: var(--msp-radius-md);
    background: var(--msp-surface-subtle);
    color: var(--msp-primary);
    font-size: 0.875rem;
    transition: all 0.15s ease;
}

.msp-search-item:hover {
    background: var(--msp-accent-light);
    color: var(--msp-accent);
}

.msp-search-item .item-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.msp-search-item .item-title i {
    color: var(--msp-accent);
    font-size: 0.85rem;
}

.msp-search-item .item-badge {
    font-size: 0.75rem;
    color: var(--msp-muted);
    font-weight: 500;
}

.msp-search-footer {
    padding: 0.85rem 1.5rem;
    border-top: 1px solid var(--msp-border);
    font-size: 0.75rem;
    color: var(--msp-muted);
    background: var(--msp-surface-subtle);
}

.msp-search-footer kbd {
    background: #ffffff;
    border: 1px solid var(--msp-border);
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    color: var(--msp-primary);
}

/* ==============================================================================
   16. Responsive Media Queries
   ============================================================================== */
@media (max-width: 1200px) {
    .msp-header-container {
        gap: 1rem;
    }

    .msp-nav-list {
        gap: 0.3rem;
    }

    .msp-nav-link {
        font-size: 0.86rem;
        padding: 0.4rem 0.55rem;
    }

    .msp-tech-menu,
    .msp-directory-menu {
        width: 640px;
    }
}

@media (max-width: 1080px) {
    .msp-header-container {
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .msp-brand-logo {
        height: 30px;
        max-width: 170px;
    }

    .msp-nav-list {
        gap: 0.2rem;
    }

    .msp-nav-link {
        font-size: 0.835rem;
        padding: 0.35rem 0.45rem;
    }

    .msp-search-btn-text {
        display: none;
    }

    .msp-search-btn {
        padding: 0.38rem 0.55rem;
    }

    .msp-cta-header-btn {
        font-size: 0.8125rem;
        padding: 0.4rem 0.75rem;
    }

    .msp-tech-menu,
    .msp-directory-menu {
        width: 580px;
    }
}

@media (max-width: 992px) {
    .msp-desktop-nav,
    .msp-search-btn-text,
    .msp-kbd-hint {
        display: none !important;
    }

    .msp-mobile-toggle {
        display: flex !important;
    }

    .msp-header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 64px;
    }

    .msp-header-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .msp-hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .msp-articles-grid {
        grid-template-columns: 1fr 1fr;
    }

    .msp-states-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .msp-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .msp-research-banner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 860px) {
    .msp-articles-grid,
    .msp-tech-grid,
    .msp-pillars-grid,
    .msp-guides-grid,
    .msp-related-grid {
        grid-template-columns: 1fr;
    }

    .msp-states-grid {
        grid-template-columns: 1fr 1fr;
    }

    .msp-hero-title {
        font-size: 2.25rem;
    }

    .msp-hero-trust-line {
        font-size: 0.8125rem;
    }
}

@media (max-width: 640px) {
    .msp-header-container {
        padding: 0 1rem;
        height: 60px;
    }

    .msp-brand-logo {
        height: 28px;
        max-width: 155px;
    }

    .msp-cta-header-btn {
        display: none !important;
    }

    .msp-header-actions {
        gap: 0.5rem;
    }

    .msp-search-btn {
        padding: 0.35rem 0.5rem;
    }

    .msp-hero-search-box {
        max-width: 100%;
        margin-bottom: 0.85rem;
    }

    .hero-search-input-group {
        padding: 0.25rem 0.35rem 0.25rem 0.75rem;
        width: 100%;
    }

    #heroQuickSearch {
        font-size: 0.85rem;
        min-width: 0;
    }

    .hero-search-go-btn {
        padding: 0.45rem 0.75rem;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .msp-hero-trust-line {
        font-size: 0.78rem;
        gap: 0.25rem 0.45rem;
        line-height: 1.45;
        max-width: 100%;
    }

    .msp-states-grid {
        grid-template-columns: 1fr;
    }

    .msp-footer-grid {
        grid-template-columns: 1fr;
    }

    .msp-editorial-title {
        font-size: 2rem;
    }

    .msp-state-title {
        font-size: 1.85rem;
    }

    .msp-page-body {
        padding: 1.5rem;
    }

    .msp-newsletter-card {
        padding: 2.5rem 1.5rem;
    }

    .newsletter-title {
        font-size: 1.65rem;
    }

    .msp-article-cta-box {
        padding: 1.5rem;
    }
}

@media (max-width: 390px) {
    .msp-header-container {
        padding: 0 0.75rem;
    }

    .msp-brand-logo {
        height: 26px;
        max-width: 145px;
    }

    .msp-hero-trust-line {
        font-size: 0.73rem;
        gap: 0.2rem 0.35rem;
    }
}

/* ==========================================================================
   CITY DIRECTORIES & REGIONAL METRO HUBS (Wave 1 & Global Index 2026)
   ========================================================================== */

/* City Header Normalization */
.msp-city-header {
    background: linear-gradient(135deg, #0a2540 0%, #0d3862 100%);
    color: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 25px -5px rgba(10, 37, 64, 0.15);
}
.msp-city-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #38bdf8;
    margin-bottom: 0.75rem;
}
.msp-city-title, .msp-page-body .msp-city-title { color: #ffffff !important;

    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    color: #ffffff;
}
.msp-city-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
    max-width: 850px;
}

/* City Overview Card */
.msp-city-overview-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem 2.25rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.card-header-badge {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.badge-tag {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}
.badge-status {
    background: #f0fdf4;
    color: #166534;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}
.msp-city-overview-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1rem 0;
}
.msp-city-overview-card .lead-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 1.5rem;
}
.overview-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}
.metric-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.125rem 1rem;
    text-align: center;
}
.metric-val {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0284c7;
    margin-bottom: 0.25rem;
}
.metric-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}
.msp-regional-link {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px dashed #e2e8f0;
    font-size: 0.875rem;
    color: #475569;
}
.msp-regional-link a {
    color: #0284c7;
    font-weight: 600;
    text-decoration: underline;
}

/* Provider Table Section */
.msp-city-table-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem 2.25rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.section-title-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}
.title-left h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.35rem 0;
}
.title-left p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}
.table-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8125rem;
    color: #64748b;
}
.office-type-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}
.badge-local {
    background: #dbeafe;
    color: #1e40af;
}
.badge-coverage {
    background: #f1f5f9;
    color: #475569;
}

/* Table Column Styles */
.msp-directory-table {
    width: 100%;
    border-collapse: collapse;
}
.msp-directory-table th {
    background: #f8fafc;
    color: #334155;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.875rem 1rem;
    border-bottom: 2px solid #e2e8f0;
    text-align: left;
}
.msp-directory-table td {
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    font-size: 0.875rem;
    color: #334155;
}
.msp-directory-table tbody tr:hover {
    background: #f8fafc;
}
.col-num { width: 45px; text-align: center; color: #94a3b8; font-weight: 600; }
.col-company strong { color: #0f172a; font-weight: 600; }
.emp-pill {
    background: #f1f5f9;
    color: #475569;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 500;
}
.website-link {
    color: #0284c7;
    font-weight: 500;
    text-decoration: none;
}
.website-link:hover {
    text-decoration: underline;
}
.social-icon {
    color: #0a66c2;
    font-size: 1.125rem;
    text-decoration: none;
}
.table-btn-quote {
    display: inline-block;
    background: #0284c7;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s ease;
}
.table-btn-quote:hover {
    background: #0369a1;
    color: #ffffff;
}

/* Callout underneath table */
.table-footer-callout {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    gap: 1rem;
}
.callout-text strong {
    display: block;
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 0.25rem;
}
.callout-text p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}
.btn-lead-primary {
    background: #0f172a;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease;
}
.btn-lead-primary:hover {
    background: #0284c7;
    color: #ffffff;
}

/* Buyer's Guide Grid */
.msp-guide-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem 2.25rem;
    margin-bottom: 2.5rem;
}
.msp-guide-section h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1.5rem 0;
}
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.guide-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}
.guide-icon {
    font-size: 1.5rem;
    color: #0284c7;
    margin-bottom: 0.75rem;
}
.guide-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
}
.guide-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* Localized FAQs */
.msp-faq-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem 2.25rem;
    margin-bottom: 2.5rem;
}
.msp-faq-section h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1.5rem 0;
}
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    background: #ffffff;
}
.faq-question {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
}
.faq-answer p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

/* Editorial Note */
.msp-editorial-note {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.6;
}
.msp-editorial-note a {
    color: #0284c7;
}

/* ==========================================================================
   REGIONAL HUBS STYLES (/msp-cities/ and /msp-cities-*)
   ========================================================================== */
.msp-hub-container {
    padding-bottom: 2.5rem;
}
.msp-hub-header {
    background: linear-gradient(135deg, #0a2540 0%, #0d3862 100%);
    color: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px -5px rgba(10, 37, 64, 0.15);
}
.msp-hub-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #38bdf8;
    margin-bottom: 0.75rem;
}
.msp-hub-title, .msp-page-body .msp-hub-title { color: #ffffff !important;

    font-size: 2.35rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    color: #ffffff;
}
.msp-hub-lead {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 0 1.75rem 0;
    max-width: 850px;
}
.hub-metrics-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
.h-metric {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}
.hm-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #38bdf8;
}
.hm-label {
    font-size: 0.75rem;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.hub-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.hub-pill {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.15s ease;
}
.hub-pill:hover, .hub-pill.active {
    background: #38bdf8;
    color: #0a2540;
}

/* Hub Filter Bar */
.hub-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    gap: 1rem;
}
.search-input-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 260px;
}
.search-input-box i {
    color: #94a3b8;
}
.search-input-box input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: #0f172a;
}
.filter-toggles {
    display: flex;
    gap: 0.5rem;
}
.btn-toggle {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.btn-toggle:hover, .btn-toggle.active {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

/* Hub City Cards Grid */
.hub-group-section {
    margin-bottom: 2.5rem;
}
.group-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hub-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
.hub-city-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hub-city-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px -3px rgba(0,0,0,0.06);
}
.city-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.city-card-link.city-disabled {
    opacity: 0.75;
    cursor: not-allowed;
}
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.city-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.95rem;
}
.city-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    white-space: nowrap;
}
.city-badge.status-pub {
    background: #dcfce7;
    color: #15803d;
}
.city-badge.status-research {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}
.city-badge.status-planned {
    background: #f1f5f9;
    color: #64748b;
}
.hub-city-card.status-research {
    border-color: #fde68a;
    background: #fffdf5;
}
.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #64748b;
}

/* Hub Lead Banner */
.hub-lead-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #0a2540 0%, #0d3862 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 2.25rem;
    gap: 1.5rem;
    margin-top: 2rem;
}
.banner-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.35rem;
    color: #ffffff;
}
.banner-text p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.95rem;
    max-width: 650px;
}
.btn-hub-quote {
    background: #38bdf8;
    color: #0a2540;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease;
}
.btn-hub-quote:hover {
    background: #ffffff;
    color: #0a2540;
}
