/* Homepage overrides are scoped so older product/workspace layouts keep their styles. */
.cybte-home .home-menu-toggle[hidden],
.cybte-home #primary-navigation[hidden] {
    display: none;
}

.cybte-home .home-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 88px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--cybte-line);
    border-radius: 9px;
    background: var(--cybte-panel);
    color: var(--cybte-text);
    font-family: inherit;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

.cybte-home .home-menu-toggle:focus-visible,
.cybte-home .enterprise-header a:focus-visible {
    outline: 2px solid var(--cybte-cyan);
    outline-offset: 4px;
}

.cybte-home .home-menu-icon {
    display: grid;
    gap: 4px;
    width: 18px;
}

.cybte-home .home-menu-icon span {
    display: block;
    height: 2px;
    background: var(--cybte-cyan);
    border-radius: 2px;
}

.cybte-home .home-menu-toggle[aria-expanded="true"] {
    border-color: var(--cybte-cyan);
}

.cybte-home main section[id] {
    scroll-margin-top: 90px;
}

@media (max-width: 980px) {
    .cybte-home .enterprise-header .header-content {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        padding: 10px 0;
    }

    .cybte-home .brand-lockup {
        display: inline-flex;
        align-items: center;
    }

    .cybte-home .enterprise-header .logo-img {
        display: block;
        height: 44px;
        width: auto;
        transform: none;
    }

    .cybte-home .enterprise-nav {
        flex-basis: 100%;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 4px;
        padding: 12px 0 4px;
        border-top: 1px solid var(--cybte-line);
        max-height: calc(100vh - 90px);
        max-height: calc(100dvh - 90px);
        overflow-y: auto;
    }

    .cybte-home .enterprise-nav a,
    .cybte-home .enterprise-nav a:not(.sign-in-btn) {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        min-height: 44px;
        padding: 10px 14px;
        border-radius: 9px;
        font-size: 1rem;
    }

    .cybte-home .enterprise-hero-grid {
        gap: 36px;
    }

    .cybte-home .enterprise-hero-grid > *,
    .cybte-home .enterprise-panel > *,
    .cybte-home .contact-shell > * {
        min-width: 0;
    }

    .cybte-home .command-visual {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .cybte-home .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cybte-home main > section {
        padding-left: 0;
        padding-right: 0;
    }

    .cybte-home .enterprise-hero {
        padding-top: 38px;
        padding-bottom: 48px;
    }

    .cybte-home .eyebrow {
        font-size: .65rem;
        letter-spacing: .12em;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    .cybte-home .eyebrow > span {
        flex: 0 0 18px;
    }

    .cybte-home .enterprise-hero h1 {
        font-size: clamp(2.25rem, 9.5vw, 3.05rem);
        line-height: 1.08;
        letter-spacing: -.035em;
        margin-bottom: 20px;
        overflow-wrap: break-word;
    }

    .cybte-home .enterprise-hero-copy > p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .cybte-home .hero-actions {
        gap: 12px;
        margin: 24px 0;
    }

    .cybte-home .hero-actions > a {
        width: 100%;
        min-height: 48px;
        padding: 13px 14px;
        text-align: center;
    }

    .cybte-home .trust-strip {
        gap: 10px 16px;
        font-size: .75rem;
    }

    .cybte-home .command-visual {
        padding: 18px;
    }

    .cybte-home .command-top {
        flex-wrap: wrap;
        gap: 8px;
    }

    .cybte-home .command-score {
        gap: 16px;
        flex-wrap: wrap;
    }

    .cybte-home .score-ring {
        flex-shrink: 0;
    }

    .cybte-home .signal-list > div {
        grid-template-columns: 20px minmax(0, 1fr) auto;
        gap: 8px;
        padding: 12px 9px;
    }

    .cybte-home .api-window pre {
        overflow-wrap: anywhere;
    }

    .cybte-home .enterprise-form input,
    .cybte-home .enterprise-form textarea {
        font-size: 1rem;
    }
}

/* CYBTE LIGHT SECTIONS START — v6 */
/* Homepage: blue enterprise header, white hero/canvas, dark security visuals. */
body.cybte-home {
    --cybte-primary-blue: #123499;
    --cybte-secondary-blue: #1A43BF;
    background: #FFFFFF;
    color: #102A43;
    color-scheme: light;
}
.cybte-home > .starry-background,
.cybte-home > .stars { display: none; }

/* The upper navigation/header is intentionally colored. */
.cybte-home .enterprise-header,
.cybte-home .enterprise-nav {
    background: #123499;
    border-color: rgba(255,255,255,.14);
    box-shadow: 0 6px 20px rgba(18,52,153,.10);
}
.cybte-home .enterprise-nav a { color: rgba(255,255,255,.94); }
.cybte-home .enterprise-nav a:hover {
    background: #1A43BF;
    color: #FFFFFF;
    box-shadow: none;
}
.cybte-home .enterprise-nav .sign-in-btn {
    background: #FFFFFF !important;
    color: #123499 !important;
    border: 1px solid rgba(255,255,255,.88);
    box-shadow: 0 5px 14px rgba(0,0,0,.08);
}
.cybte-home .enterprise-nav .sign-in-btn:hover {
    background: #EAF0FF !important;
    color: #123499 !important;
    border-color: #EAF0FF;
}
.cybte-home .home-menu-toggle { background: #1A43BF; color: #FFFFFF; }

.cybte-home .enterprise-hero {
    background: linear-gradient(115deg, #FFFFFF 45%, #F0F5FF 100%);
    border-bottom: 1px solid #DEE6EF;
}
.cybte-home .enterprise-hero h1 { color: #102A43; }
.cybte-home .enterprise-hero h1 em {
    background: none;
    color: #1A43BF;
    -webkit-text-fill-color: currentColor;
}
.cybte-home .enterprise-hero-copy > p,
.cybte-home .trust-strip,
.cybte-home .platform-intro .section-heading-row > p,
.cybte-home .company-grid p { color: #52657A; }
.cybte-home .enterprise-hero-copy > .eyebrow,
.cybte-home .platform-intro .section-kicker,
.cybte-home .company-grid .section-kicker,
.cybte-home #partners .section-kicker,
.cybte-home .trust-strip i { color: #1A43BF; }
.cybte-home .hero-actions .secondary-action { background: #123499; }

.cybte-home :is(.platform-intro, .product-suite, .enterprise-section, .enterprise-contact) {
    background: #F4F7FA;
}
.cybte-home :is(.company-section, #partners) { background: #FFFFFF; }

/* Public-site cards and feature panels use the same Account / Platform-note blue family. */
.cybte-home :is(.product-card, .command-visual, .enterprise-panel, .contact-shell) {
    color: #FFFFFF;
    color-scheme: dark;
    background: linear-gradient(145deg, #123499, #1A43BF);
    border-color: rgba(255,255,255,.14);
    box-shadow: 0 12px 32px rgba(18,52,153,.14);
}
.cybte-home :is(.product-card, .command-visual, .enterprise-panel, .contact-shell)
    :is(h1,h2,h3,h4,h5,strong,b) { color: #FFFFFF; }
.cybte-home :is(.product-card, .command-visual, .enterprise-panel, .contact-shell)
    :is(p,li,small,.muted,.subtext,label) { color: #D8E1FF; }
.cybte-home :is(.product-card, .command-visual, .enterprise-panel, .contact-shell)
    :is(a,i,svg) { color: #58E8F7; }
.cybte-home .contact-shell :is(input,select,textarea) {
    background: rgba(5,18,54,.30);
    color: #FFFFFF;
    border-color: rgba(255,255,255,.20);
}
.cybte-home .contact-shell :is(input,textarea)::placeholder { color: #D2DCFA; }
/* Footer now belongs to the same Cybte brand system instead of returning to near-black. */
.cybte-home .enterprise-footer {
    background: linear-gradient(145deg, #123499 0%, #1A43BF 100%);
    color: #FFFFFF;
    color-scheme: dark;
    border-top: 1px solid rgba(255,255,255,.14);
}
.cybte-home .enterprise-footer h4 { color: #FFFFFF; }
.cybte-home .enterprise-footer :is(p,a) { color: #D8E1FF; }
.cybte-home .enterprise-footer a:hover { color: #FFFFFF; }
.cybte-home .enterprise-footer .footer-bottom { border-top-color: rgba(255,255,255,.16); }
.cybte-home .enterprise-footer img { filter: drop-shadow(0 0 10px rgba(24,199,230,.28)); }

/* Homepage readability pass. Keep the existing paragraph colors; make the type
   fully opaque and slightly stronger so it does not look greyed-out or blurred. */
.cybte-home :is(.enterprise-hero-copy > p,
    .company-grid p,
    .platform-intro .section-heading-row > p,
    #partners .section-heading-row > div > p,
    .trust-strip) {
    opacity: 1 !important;
    font-weight: 500;
    text-rendering: optimizeLegibility;
    -webkit-text-stroke: .08px currentColor;
}
.cybte-home .company-grid p strong {
    opacity: 1 !important;
    font-weight: 800;
    -webkit-text-stroke: .10px currentColor;
}
.cybte-home .enterprise-footer :is(p, a) {
    opacity: 1 !important;
    text-rendering: optimizeLegibility;
}

.cybte-home .product-card { display: flex; flex-direction: column; }
.cybte-home .product-card > a { margin-top: auto; position: relative; z-index: 1; }
.cybte-home .enterprise-section { padding-top: 78px; padding-bottom: 78px; }
.cybte-home .enterprise-contact { padding-top: 80px; padding-bottom: 80px; }
.cybte-home #partners { padding-bottom: 76px; }
.cybte-home a:focus-visible,
.cybte-home button:focus-visible { outline: 2px solid #1A43BF; outline-offset: 4px; }
.cybte-home :is(.product-card, .command-visual, .enterprise-panel, .contact-shell, .enterprise-footer)
    :is(a, button):focus-visible { outline-color: #52D9F2; }
@media (max-width: 640px) {
    .cybte-home .enterprise-section,
    .cybte-home .enterprise-contact { padding-top: 48px; padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .cybte-home a, .cybte-home button, .cybte-home .product-card { transition: none; }
    .cybte-home .product-card:hover { transform: none; }
}
/* CYBTE LIGHT SECTIONS END */

/* CYBTE_HEADER_WORDMARK_20261013: visual branding only */
.cybte-home .brand-lockup,
.vault-page .cybte-brand-lockup {display:inline-flex;align-items:center;gap:12px;text-decoration:none;flex-shrink:0;}
.cybte-home .cybte-header-wordmark,
.vault-page .cybte-header-wordmark {color:#FFFFFF;font-size:18px;font-weight:800;letter-spacing:.08em;white-space:nowrap;line-height:1.2;}
.cybte-home .cybte-header-wordmark b,
.vault-page .cybte-header-wordmark b {color:#58E8F7;font-weight:800;}
@media (max-width:430px){.cybte-home .cybte-header-wordmark,.vault-page .cybte-header-wordmark{font-size:14px;letter-spacing:.04em;}}

/* Compact cards and footer; keep colours, links and button styling unchanged. */
.cybte-home .product-card,
.cybte-home .product-card:nth-child(4),
.cybte-home .product-card:nth-child(5) { min-height: 0; padding: 22px; }
.cybte-home .product-icon { width: 42px; height: 42px; margin-bottom: 22px; }
.cybte-home .product-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.cybte-home .product-card p { font-size: .86rem; line-height: 1.6; }
.cybte-home .product-card ul { margin: 16px 0 20px; gap: 6px; font-size: .79rem; }
.cybte-home .product-suite { padding-bottom: 64px; }
.cybte-home .enterprise-panel { padding: 38px; gap: 36px; }
.cybte-home .contact-shell { padding: 36px; gap: 30px; }
.cybte-home .command-visual { padding: 20px; }
.cybte-home .enterprise-footer { padding: 28px 0 12px; }
.cybte-home .footer-top { padding-bottom: 22px; gap: 28px; }
.cybte-home .enterprise-footer .footer-bottom { display: block; padding-top: 12px; text-align: center; }
.cybte-home .enterprise-footer .footer-bottom p { margin: 4px 0; font-size: .68rem; line-height: 1.5; }
@media (max-width: 640px) {
    .cybte-home .product-card { padding: 20px; }
    .cybte-home .enterprise-panel, .cybte-home .contact-shell { padding: 24px 20px; }
    .cybte-home .enterprise-footer .footer-bottom p { font-size: .65rem; }
}
