/* ============================================================
   VIGIL-X.AI Website Stylesheet
   Built to Brand Guide standards (Phase D.0 — 2026-04-30 pivot pass).
   Tokens, type scale, and visual language sourced from
   /Vigil-X/01 - Brand Assets/Vigil-X-AI_Brand_Guide.pdf.
   ============================================================ */

/* ---------------- Brand tokens (CSS custom properties) ---------------- */
:root {
    /* Master palette */
    --color-red: #ED1C24;
    --color-near-black: #231F20;
    --color-coral: #F37053;
    --color-steel: #849DAA;
    --color-navy: #0A1628;
    --color-white: #FFFFFF;
    --color-light-grey: #F5F5F5;
    --color-grid-line: #E5E7EB;

    /* Product accents (per Brand Guide P5; never used as document chrome) */
    --color-vms-blue: #1A73E8;
    --color-ai-sense-purple: #A063F8;
    --color-check-orange: #F7572C;
    --color-shield-green: #0AC410;

    /* Typography (Aquire is logo-only — no use here outside the wordmark image) */
    --font-primary: 'Montserrat', system-ui, -apple-system, sans-serif;
    --font-secondary: 'Roboto', system-ui, -apple-system, sans-serif;

    /* Type scale (web-adjusted from Brand Guide §4.1.1) */
    --fs-hero: 40px;
    --fs-h1: 40px;
    --fs-h2: 28px;
    --fs-h3: 20px;
    --fs-body: 16px;
    --fs-small: 14px;
    --fs-caption: 13px;

    /* Layout */
    --max-width: 1200px;
    --pad-x: clamp(20px, 5vw, 80px);
    --section-pad-y: clamp(60px, 8vw, 120px);
    --radius: 8px;
    --radius-lg: 16px;

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------- Reset ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--color-near-black);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------------- Container ---------------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
}

/* ---------------- Sticky nav ---------------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
}
.nav-logo {
    height: 38px;
    width: auto;
}
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: var(--color-white);
    font-size: var(--fs-small);
    font-weight: 500;
    opacity: 0.85;
    transition: opacity 150ms var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
    background: var(--color-red);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: var(--fs-small);
    font-weight: 600;
    transition: background 150ms var(--ease);
}
.nav-cta:hover { background: #c91820; }

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    transition: border-color 150ms var(--ease);
}
.nav-toggle:hover { border-color: rgba(255, 255, 255, 0.4); }
.nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--color-white);
    transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 768px) {
    .nav-toggle { display: inline-flex; }
    .nav-cta { padding: 8px 14px; font-size: 13px; margin-right: 8px; }
    .nav-links {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--color-navy);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 250ms var(--ease);
    }
    .nav-links.is-open {
        max-height: 480px;
    }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 14px var(--pad-x);
        font-size: var(--fs-body);
    }
}

/* ---------------- Hero (dark NAVY) ---------------- */
.hero {
    background: var(--color-navy);
    color: var(--color-white);
    padding-top: clamp(80px, 12vw, 140px);
    padding-bottom: clamp(80px, 12vw, 140px);
    position: relative;
    overflow: hidden;
}
.hero::before {
    /* subtle radial accent in the brand red */
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(237, 28, 36, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 1;
    /*max-width: 880px;*/
}
.hero-logo {
    height: 56px;
    width: auto;
    margin-bottom: 40px;
}
.hero-tagline {
    font-family: var(--font-primary);
    font-size: clamp(20px, 2.5vw, 28px);
    font-style: italic;
    font-weight: 400;
    color: var(--color-white);
    margin: 0 0 32px 0;
    opacity: 0.95;
}
.hero-headline {
    font-family: var(--font-primary);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 24px 0;
}
.hero-headline .accent { color: var(--color-red); }
.hero-descriptor {
    font-size: clamp(16px, 1.4vw, 18px);
    color: var(--color-steel);
    max-width: 640px;
    margin: 0 0 40px 0;
    line-height: 1.5;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-primary {
    display: inline-block;
    background: var(--color-red);
    color: var(--color-white);
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: var(--fs-body);
    font-weight: 600;
    transition: background 150ms var(--ease), transform 150ms var(--ease);
}
.btn-primary:hover { background: #c91820; transform: translateY(-1px); }
.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--color-white);
    padding: 14px 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    font-size: var(--fs-body);
    font-weight: 500;
    transition: border-color 150ms var(--ease), background 150ms var(--ease);
}
.btn-secondary:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.05); }

/* ---------------- Section: headline strip ---------------- */
.headline-strip {
    background: var(--color-light-grey);
    padding: clamp(40px, 6vw, 80px) 0;
    text-align: center;
    border-bottom: 1px solid var(--color-grid-line);
}
.headline-strip h2 {
    font-family: var(--font-primary);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin: 0;
    color: var(--color-near-black);
    letter-spacing: -0.01em;
}
.headline-strip h2 .num { color: var(--color-red); }

/* ---------------- Section: By the Numbers strip ---------------- */
.numbers-strip {
    background: var(--color-near-black);
    color: var(--color-white);
    padding: clamp(40px, 5vw, 64px) 0;
    border-bottom: 4px solid var(--color-red);
}
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
@media (max-width: 900px) {
    .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}
@media (max-width: 480px) {
    .numbers-grid { grid-template-columns: 1fr; }
}
.number-item {
    padding: 0 8px;
}
.number-value {
    font-family: var(--font-primary);
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 700;
    line-height: 1;
    color: var(--color-red);
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}
.number-label {
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--color-white);
    margin: 0 0 6px 0;
    letter-spacing: 0.01em;
}
.number-sub {
    font-size: var(--fs-caption);
    color: var(--color-steel);
    margin: 0;
    line-height: 1.4;
}

/* ---------------- Section: AI Sense Native Features ---------------- */
.ai-features-section {
    background: var(--color-white);
    border-top: 1px solid var(--color-grid-line);
    border-bottom: 1px solid var(--color-grid-line);
}
.ai-features-eyebrow { color: var(--color-ai-sense-purple); }
.ai-features-title { color: var(--color-near-black); }
.ai-features-lede { margin-bottom: 48px; }

.ai-feature-group {
    margin-bottom: 40px;
}
.ai-feature-group:last-child { margin-bottom: 0; }

.ai-feature-group-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-grid-line);
}
.ai-feature-group-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-ai-sense-purple);
    flex-shrink: 0;
}
.ai-feature-group-label {
    font-size: var(--fs-body);
    font-weight: 700;
    color: var(--color-near-black);
    margin: 0;
    flex: 1;
}
.ai-feature-group-count {
    font-size: var(--fs-caption);
    color: var(--color-steel);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ai-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.ai-feature-pill {
    background: var(--color-light-grey);
    border: 1px solid var(--color-grid-line);
    border-radius: var(--radius);
    padding: 16px 20px;
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--color-near-black);
    text-align: center;
    transition: border-color 200ms var(--ease), background 200ms var(--ease), transform 200ms var(--ease);
}
.ai-feature-pill:hover {
    border-color: var(--color-ai-sense-purple);
    background: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(160, 99, 248, 0.12);
}


/* Flat sequential list of all 28 analytics — icon + label per card.
   Categories removed; canonical Module 13→16 ordering preserved. */
.ai-feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
}
.ai-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--color-light-grey);
    border: 1px solid var(--color-grid-line);
    border-radius: var(--radius);
    padding: 14px 16px;
    transition: border-color 200ms var(--ease), background 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.ai-feature-item:hover {
    border-color: var(--color-ai-sense-purple);
    background: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(160, 99, 248, 0.12);
}
.ai-feature-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(160, 99, 248, 0.10);
    color: var(--color-ai-sense-purple);
}
.ai-feature-icon svg { width: 22px; height: 22px; }
.ai-feature-item:hover .ai-feature-icon { background: rgba(160, 99, 248, 0.18); }
.ai-feature-name {
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--color-near-black);
    line-height: 1.35;
}


/* ---------------- Section: products grid ---------------- */
.section { padding: var(--section-pad-y) 0; }
.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: var(--fs-caption);
    font-weight: 600;
    color: var(--color-red);
    margin: 0 0 12px 0;
}
.section-title {
    font-family: var(--font-primary);
    font-size: var(--fs-h1);
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--color-near-black);
    letter-spacing: -0.01em;
}
.section-lede {
    font-size: clamp(16px, 1.4vw, 18px);
    color: #231F20;
    /*max-width: 720px;*/
    margin: 0 0 56px 0;
    line-height: 1.6;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (max-width: 768px) {
    .product-grid { grid-template-columns: 1fr; }
}

.product-card {
    background: var(--color-white);
    border: 1px solid var(--color-grid-line);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    transition: border-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
    overflow: hidden;
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
}
.product-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}
.product-card[data-product="vms"]      { --accent: var(--color-vms-blue); }
.product-card[data-product="ai-sense"] { --accent: var(--color-ai-sense-purple); }
.product-card[data-product="check"]    { --accent: var(--color-check-orange); }
.product-card[data-product="shield"]   { --accent: var(--color-shield-green); }

/* Product logo (replaces .product-name text — logo IS the heading per Phase D.0.1.b) */
.product-logo {
    display: block;
    /* Each product logo PNG has slightly different intrinsic dimensions; we constrain
       BOTH height and max-width so all 4 cards visually align at the heading. */
    height: 36px;
    width: auto;
    max-width: 100%;
    margin: 0 0 16px 0;
    object-fit: contain;
    object-position: left center;
}
/* Legacy .product-name rule retained for any future content that re-introduces
   text headings; harmless when no .product-name elements exist on the page. */
.product-name {
    font-family: var(--font-primary);
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--color-near-black);
    margin: 0 0 8px 0;
}
.product-tagline {
    
    font-size: var(--fs-body);
    color: var(--accent);
    font-weight: 600;
    margin: 0 0 20px 0;
}
.product-description {
    font-size: var(--fs-small);
    color: var(--color-near-black);
    line-height: 1.6;
    margin: 0 0 20px 0;
}
.product-features {
    list-style: none;
    margin: 0;
    padding: 0;
}
.product-features li {
    font-size: var(--fs-small);
    color: var(--color-near-black);
    padding: 8px 0;
    border-top: 1px solid var(--color-grid-line);
    position: relative;
    padding-left: 20px;
}
.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* ---------------- Deployment & Client Suite section ---------------- */
.deployment-section {
    background: var(--color-light-grey);
}
.deployment-eyebrow {
    color: var(--color-red);
}
.deployment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 8px;
}
@media (max-width: 768px) {
    .deployment-grid { grid-template-columns: 1fr; }
}
.deployment-card {
    background: var(--color-white);
    border: 1px solid var(--color-grid-line);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    transition: border-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.deployment-card::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--accent);
}
.deployment-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}
.deployment-card[data-card="suite"]   { --accent: var(--color-vms-blue); }
.deployment-card[data-card="clients"] { --accent: var(--color-shield-green); }

.deployment-card-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: var(--fs-caption);
    font-weight: 700;
    color: var(--color-near-black);
    margin: 0 0 12px 0;
}
.deployment-card-tagline {
    
    font-size: var(--fs-body);
    color: var(--accent);
    font-weight: 600;
    margin: 0 0 24px 0;
}
.deployment-features {
    list-style: none;
    margin: 0;
    padding: 0;
}
.deployment-features li {
    font-size: var(--fs-small);
    color: var(--color-near-black);
    padding: 10px 0 10px 22px;
    border-top: 1px solid var(--color-grid-line);
    position: relative;
    line-height: 1.5;
}
.deployment-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 17px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}


/* ---------------- IRA Framework section (dark) ---------------- */
.ira-section {
    background: var(--color-near-black);
    color: var(--color-white);
}
.ira-eyebrow { color: var(--color-red); }
.ira-title { color: var(--color-white); }
.ira-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}
@media (max-width: 768px) {
    .ira-grid { grid-template-columns: 1fr; }
}
.ira-card {
    border-left: 3px solid var(--color-red);
    padding: 8px 0 8px 24px;
}
.ira-card h3 {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
}
.ira-card p {
    font-size: var(--fs-body);
    color: var(--color-steel);
    line-height: 1.6;
    margin: 0;
}

/* ---------------- Sectors (tabbed) ---------------- */
.sector-tabs {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    margin-top: 40px;
    align-items: start;
}

/* Tab rail — capped to ~panel height, scrolls internally */
.sector-tablist {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-right: 1px solid var(--color-grid-line);
    padding-right: 12px;
    max-height: 380px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-steel) transparent;
}
.sector-tablist::-webkit-scrollbar { width: 6px; }
.sector-tablist::-webkit-scrollbar-thumb {
    background: var(--color-steel);
    border-radius: 100px;
}
.sector-tablist::-webkit-scrollbar-track { background: transparent; }
.sector-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    text-align: left;
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    font-weight: 500;
    color: var(--color-near-black);
    background: transparent;
    border: none;
    border-radius: var(--radius);
    padding: 12px 14px;
    cursor: pointer;
    transition: background 180ms var(--ease), color 180ms var(--ease);
}
.sector-tab:hover { background: var(--color-light-grey); }
.sector-tab.is-active {
    background: var(--color-navy);
    color: var(--color-white);
    font-weight: 600;
}
.sector-tab:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 2px;
}
.sector-tab-badge {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 100px;
    line-height: 1.4;
}
.sector-tab-badge[data-status="now"]  { background: rgba(10,196,16,0.14); color: var(--color-shield-green); }
.sector-tab-badge[data-status="2026"] { background: rgba(132,157,170,0.20); color: var(--color-steel); }
.sector-tab.is-active .sector-tab-badge[data-status="now"]  { background: rgba(10,196,16,0.28); color: #7CF082; }
.sector-tab.is-active .sector-tab-badge[data-status="2026"] { background: rgba(255,255,255,0.18); color: #C9D6DD; }

/* Panels */
.sector-panels { min-width: 0; }
.sector-panel {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    align-items: stretch;
}
.sector-panel[hidden] { display: none; }
.sector-panel.is-active {
    animation: sectorFade 260ms var(--ease);
}
@keyframes sectorFade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Placeholder media carousel — each .sector-slide is swap-ready: replace the
   inner SVG + label with an <img> when real sector photography lands. */
.sector-carousel {
    position: relative;
    min-height: 240px;
    border-radius: var(--radius);
    overflow: hidden;
}
.sector-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 450ms var(--ease);
}
.sector-slide {
    position: relative;
    flex: 0 0 100%;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: rgba(255,255,255,0.92);
}
.sector-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 78% 18%, rgba(237,28,36,0.22), transparent 42%);
    pointer-events: none;
}
.sector-slide.sv1 { background: linear-gradient(150deg, var(--color-navy) 0%, #16263C 55%, var(--color-steel) 165%); }
.sector-slide.sv2 { background: linear-gradient(28deg,  var(--color-navy) 0%, #1B2E48 60%, var(--color-steel) 180%); }
.sector-slide.sv3 { background: linear-gradient(210deg, #16263C 0%, var(--color-navy) 55%, var(--color-steel) 175%); }
.sector-slide svg {
    width: 60px;
    height: 60px;
    opacity: 0.95;
    z-index: 1;
}
.sector-panel-media-label {
    font-size: var(--fs-caption);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.72);
    z-index: 1;
}
/* Carousel controls */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.16);
    color: var(--color-white);
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 180ms var(--ease);
}
.carousel-arrow:hover { background: rgba(255,255,255,0.32); }
.carousel-arrow:focus-visible { outline: 2px solid var(--color-white); outline-offset: 2px; }
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }
.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
    z-index: 2;
}
.carousel-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: background 180ms var(--ease), width 180ms var(--ease), border-radius 180ms var(--ease);
}
.carousel-dot.is-active { background: var(--color-white); width: 18px; border-radius: 4px; }
.carousel-dot:focus-visible { outline: 2px solid var(--color-white); outline-offset: 2px; }

/* Panel body */
.sector-panel-body { min-width: 0; }
.sector-panel-title {
    font-family: var(--font-primary);
    font-size: var(--fs-h3, 22px);
    font-weight: 700;
    color: var(--color-near-black);
    margin: 0 0 8px 0;
}
.sector-panel-lede {
    font-size: var(--fs-body);
    color: var(--color-steel);
    line-height: 1.55;
    margin: 0 0 18px 0;
}
.sector-pointers {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sector-pointers li {
    position: relative;
    padding-left: 26px;
    font-size: var(--fs-body);
    color: var(--color-near-black);
    line-height: 1.5;
}
.sector-pointers li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--color-red);
}
.sector-avail {
    margin: 18px 0 0 0;
    padding: 10px 14px;
    border-left: 3px solid var(--color-steel);
    background: var(--color-light-grey);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: var(--font-secondary);
    font-size: var(--fs-caption);
    color: var(--color-steel);
}

/* Responsive */
@media (max-width: 860px) {
    .sector-tabs { grid-template-columns: 1fr; gap: 24px; }
    .sector-tablist {
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid var(--color-grid-line);
        padding: 0 0 16px 0;
        gap: 8px;
    }
    .sector-tab { width: auto; }
    .sector-panel { grid-template-columns: 1fr; gap: 20px; }
    .sector-carousel, .sector-slide { min-height: 160px; }
}

/* ---------------- Compliance posture ---------------- */
.compliance-section { background: var(--color-light-grey); }
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
@media (max-width: 900px) {
    .compliance-grid { grid-template-columns: 1fr; }
}
.compliance-bucket {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border-top: 4px solid var(--bucket-color);
}
.compliance-bucket[data-status="active"]     { --bucket-color: var(--color-shield-green); }
.compliance-bucket[data-status="in-progress"] { --bucket-color: var(--color-coral); }
.compliance-bucket[data-status="roadmap"]    { --bucket-color: var(--color-steel); }
.compliance-status-label {
    font-size: var(--fs-caption);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bucket-color);
    margin: 0 0 8px 0;
}
.compliance-bucket h3 {
    font-family: var(--font-primary);
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--color-near-black);
    margin: 0 0 20px 0;
}
.compliance-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.compliance-list li {
    font-size: var(--fs-small);
    color: var(--color-near-black);
    padding: 10px 0;
    border-top: 1px solid var(--color-grid-line);
    line-height: 1.5;
}
.compliance-list li:first-child { border-top: none; padding-top: 0; }
.compliance-list li strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}
.compliance-list li span {
    color: var(--color-steel);
    font-size: var(--fs-caption);
}

/* ---------------- About ---------------- */
.about-section { background: var(--color-white); }
.about-content {
    /*max-width: 720px;*/
}
.about-meta {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--color-grid-line);
}
.about-meta-item {
    flex: 1;
    min-width: 180px;
}
.about-meta-label {
    font-size: var(--fs-caption);
    color: var(--color-steel);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin: 0 0 4px 0;
}
.about-meta-value {
    font-size: var(--fs-body);
    color: var(--color-near-black);
    font-weight: 600;
    margin: 0;
}

/* ---------------- Demo request form ---------------- */
.demo-section {
    background: var(--color-near-black);
    color: var(--color-white);
}
.demo-section .section-title { color: var(--color-white); }
.demo-section .section-lede { color: var(--color-steel); margin-bottom: 32px; }

/* Two-column layout: copy on the left, form on the right (40/60 split).
   Stacks vertically on mobile (≤768px). */
.demo-layout {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 48px;
    align-items: start;
    margin-top: 40px;
}
@media (max-width: 768px) {
    .demo-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
.demo-copy {
    /* Inherits section-eyebrow / section-title / section-lede typography */
}
.demo-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
}
.demo-bullets li {
    color: var(--color-white);
    font-size: var(--fs-body);
    font-weight: 500;
    padding: 10px 0 10px 22px;
    position: relative;
}
.demo-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 17px;
    width: 8px;
    height: 8px;
    background: var(--color-red);
    border-radius: 50%;
}
.demo-form {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--color-near-black);
    /* Form now sits in the right column of .demo-layout — width is governed
       by the grid track, not by max-width. margin-top stripped (grid gap
       handles vertical rhythm). */
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
    font-size: var(--fs-caption);
    font-weight: 600;
    color: var(--color-near-black);
}
.form-field input,
.form-field select,
.form-field textarea {
    font-family: inherit;
    font-size: var(--fs-body);
    padding: 12px 14px;
    border: 1px solid var(--color-grid-line);
    border-radius: var(--radius);
    background: var(--color-white);
    color: var(--color-near-black);
    transition: border-color 150ms var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--color-red);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-submit {
    margin-top: 8px;
    width: 100%;
    background: var(--color-red);
    color: var(--color-white);
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: var(--fs-body);
    font-weight: 600;
    cursor: pointer;
    transition: background 150ms var(--ease);
}
.form-submit:hover { background: #c91820; }
.form-note {
    font-size: var(--fs-caption);
    color: var(--color-steel);
    margin: 16px 0 0 0;
    text-align: center;
}

/* ---------------- Footer ---------------- */
.footer {
    background: var(--color-navy);
    color: var(--color-steel);
    padding: 48px 0 32px 0;
    border-top: 4px solid var(--color-red);
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
@media (max-width: 768px) {
    .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand h4 {
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 8px 0;
}
.footer-brand p {
    font-size: var(--fs-caption);
    color: var(--color-steel);
    margin: 0;
    max-width: 320px;
    line-height: 1.5;
}
.footer-col h5 {
    font-size: var(--fs-caption);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-white);
    margin: 0 0 12px 0;
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-col li { margin-bottom: 8px; }
.footer-col a {
    font-size: var(--fs-small);
    color: var(--color-steel);
    transition: color 150ms var(--ease);
}
.footer-col a:hover { color: var(--color-white); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    font-size: var(--fs-caption);
    color: var(--color-steel);
    margin: 0;
}
.footer-bottom .tagline-mini {
    font-style: italic;
    color: var(--color-white);
    opacity: 0.8;
}

/* ---------------- Footer ---------------- */
.footer {
    background: var(--color-navy);
    color: var(--color-steel);
    padding: 48px 0 32px 0;
    border-top: 4px solid var(--color-red);
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
@media (max-width: 768px) {
    .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand h4 {
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 8px 0;
}
.footer-brand p {
    font-size: var(--fs-caption);
    color: var(--color-steel);
    margin: 0;
    max-width: 320px;
    line-height: 1.5;
}
.footer-col h5 {
    font-size: var(--fs-caption);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-white);
    margin: 0 0 12px 0;
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-col li { margin-bottom: 8px; }
.footer-col a {
    font-size: var(--fs-small);
    color: var(--color-steel);
    transition: color 150ms var(--ease);
}
.footer-col a:hover { color: var(--color-white); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    font-size: var(--fs-caption);
    color: var(--color-steel);
    margin: 0;
}
.footer-bottom .tagline-mini {
    font-style: italic;
    color: var(--color-white);
    opacity: 0.8;
}

/* ---------------- Compare section (How We Compare) ----------------
   Public competitive summary table.
   Status tints aligned to internal Competitive Matrix (●green/◐amber/○red).
   Mobile: horizontal-scroll with sticky first column.
   ----------------------------------------------------------------- */
.compare-section {  background: var(--color-light-grey); }
.compare-headline {
    color: var(--color-near-black);
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 600;
    max-width: 920px;
    line-height: 1.5;
    margin: 0 0 40px 0;
}

.compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--color-grid-line);
    border-radius: var(--radius);
    background: var(--color-white);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-primary);
    font-size: var(--fs-small);
    min-width: 720px;
}

.compare-table thead th {
    background: var(--color-near-black);
    color: var(--color-white);
    font-weight: 700;
    text-align: center;
    padding: 16px 14px;
    line-height: 1.3;
    font-size: var(--fs-small);
    letter-spacing: 0.01em;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.compare-table thead th:last-child { border-right: none; }
.compare-table thead th.compare-col-cap {
    text-align: left;
    background: var(--color-near-black);
    min-width: 280px;
}
.compare-table thead th.compare-col-vx {
    background: var(--color-red);
    min-width: 160px;
}
.compare-table thead th.compare-col-comp {
    min-width: 130px;
}

.compare-table tbody tr {
    border-top: 1px solid var(--color-grid-line);
    transition: background 150ms var(--ease);
}
.compare-table tbody tr:nth-child(even) {
    background: var(--color-light-grey);
}
.compare-table tbody tr:hover {
    background: rgba(237, 28, 36, 0.04);
}

.compare-table tbody th {
    text-align: left;
    font-weight: 600;
    color: var(--color-near-black);
    padding: 14px 16px;
    background: inherit;
    position: sticky;
    left: 0;
    z-index: 1;
    border-right: 1px solid var(--color-grid-line);
    line-height: 1.4;
}
.compare-table tbody tr:nth-child(even) th {
    background: var(--color-light-grey);
}
.compare-table tbody tr:nth-child(odd) th {
    background: var(--color-white);
}

.compare-table tbody td {
    text-align: center;
    padding: 14px 12px;
    color: var(--color-near-black);
    line-height: 1.4;
    border-right: 1px solid var(--color-grid-line);
    vertical-align: middle;
}
.compare-table tbody td:last-child { border-right: none; }

.compare-table .cell-vx {
    font-weight: 700;
}

/* Status tints — align to Competitive Matrix palette */
.compare-table td[data-status="full"]    { background: #E8F5E9; }
.compare-table td[data-status="half"]    { background: #FFF8E1; }
.compare-table td[data-status="empty"]   { background: #FFEBEE; }
.compare-table td[data-status="roadmap"] { background: var(--color-light-grey); font-style: italic; color: var(--color-steel); }

/* When a row is even, the tints from data-status should still win.
   Specificity above (.compare-table td[data-status]) handles it. */

.compare-footnote {
    margin-top: 24px;
    padding: 16px 4px 0 4px;
}
.compare-footnote p {
    font-family: var(--font-secondary);
    font-size: var(--fs-caption);
    color: var(--color-steel);
    line-height: 1.6;
    margin: 0 0 8px 0;
}
.compare-footnote p:last-child { margin-bottom: 0; }
.compare-footnote .compare-tagline {
    margin-top: 16px;
    color: var(--color-near-black);
    font-style: normal;
    font-family: var(--font-primary);
    font-size: var(--fs-small);
    font-weight: 500;
}
.compare-footnote .compare-tagline em {
    font-style: italic;
    font-weight: 600;
}

@media (max-width: 600px) {
    .compare-table thead th {
        padding: 12px 10px;
        font-size: 13px;
    }
    .compare-table tbody th { padding: 12px 12px; min-width: 220px; }
    .compare-table tbody td { padding: 12px 10px; font-size: 13px; }
}
