/* Shared CTA styles for the Razor headers and their interactive menu states. */
header .header-sales-support {
    display: none;
}

header .header-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #f1f5f9;
    color: #334155;
    transition: color 150ms, background-color 150ms, border-color 150ms;
}

    header .header-download-link:hover,
    header .header-download-link[aria-current="page"] {
        color: #ff5e00;
        border-color: #ff5e00;
    }

    header .header-download-link:focus-visible {
        outline: 2px solid #ff5e00;
        outline-offset: 3px;
    }

.dark header .header-download-link {
    background: #001d47;
    border-color: #003882;
    color: #e2e8f0;
}

    .dark header .header-download-link:hover,
    .dark header .header-download-link[aria-current="page"] {
        color: #ff7a29;
        border-color: #ff7a29;
    }

@media (max-width: 639px) {
    header .header-download-desktop {
        display: none;
    }

    header .header-mobile-theme-actions {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    header [data-mvc-component="ThemeToggle"][data-mvc-props*="hidden sm:inline-flex"] {
        display: none !important;
    }

    header .header-demo-action,
    header button[data-mvc-click*="/contact"] {
        display: none;
    }

    header .header-sales-support {
        display: flex;
        align-items: center;
        min-height: 44px;
        white-space: normal;
        text-align: center;
        justify-content: center;
    }

        header .header-sales-support:not(.w-full) {
            /* Theme switch: 1.25rem icon + 1rem padding + 2px border. */
            width: calc(2.25rem + 2px);
            height: calc(2.25rem + 2px);
            min-width: calc(2.25rem + 2px);
            min-height: calc(2.25rem + 2px);
            flex-shrink: 0;
            padding: 0.5rem;
        }
}
