/* Marketing-site parity overrides (supplement tailwind.css when CSS build unavailable) */

@media (min-width: 1280px) {
    .container {
        max-width: 1400px;
    }
}

.text-muted-foreground {
    color: hsl(var(--muted-foreground));
}

.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    background-color: rgba(0, 0, 0, 0.8);
}

.mobile-menu-backdrop.is-open {
    animation: site-header-fade-in 0.3s ease-out;
}

.mobile-menu-backdrop.is-closing {
    animation: site-header-fade-out 0.3s ease-in forwards;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 50;
    height: 100%;
    width: 300px;
    border-left: 1px solid hsl(var(--border));
    background-color: hsl(var(--background));
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid hsl(var(--border));
    border-radius: 9999px;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    opacity: 0.85;
    cursor: pointer;
    transition: opacity 0.15s ease, background-color 0.15s ease;
}

.mobile-menu-close:hover {
    opacity: 1;
    background-color: hsl(var(--accent));
}

.mobile-menu-close:focus-visible {
    outline: 2px solid hsl(var(--primary));
    outline-offset: 2px;
}

.mobile-menu-close svg {
    width: 1rem;
    height: 1rem;
}

@media (min-width: 640px) {
    .mobile-menu-drawer {
        width: 400px;
    }
}

.mobile-menu-drawer.is-open {
    animation: site-header-slide-in-from-right 0.5s ease-in-out;
}

.mobile-menu-drawer.is-closing {
    animation: site-header-slide-out-to-right 0.3s ease-in-out forwards;
}

@keyframes site-header-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes site-header-fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes site-header-slide-in-from-right {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes site-header-slide-out-to-right {
    from { transform: translateX(0); }
    to { transform: translateX(100%); }
}
