html.app-transition body {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 280ms ease, transform 280ms ease;
}

html.app-ready body {
    opacity: 1;
    transform: none;
}

html.app-leaving body {
    opacity: 0;
    transform: translateY(-6px);
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.language-switch a {
    opacity: 0.72;
}

.language-switch a:hover {
    opacity: 1;
}

.landing-language-switch {
    color: #132f44;
}

.landing-language-switch a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid rgba(19, 47, 68, 0.28);
    border-radius: 6px;
    color: #132f44;
    opacity: 1;
    transition: background 0.25s, color 0.25s, transform 0.25s;
}

.landing-language-switch a:hover,
.landing-language-switch a:focus {
    background: #132f44;
    color: #ffffff;
}

.landing-language-switch a:active {
    transform: translateY(1px);
}

.landing-header-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

@media screen and (max-width: 560px) {
    .landing-header-actions {
        justify-content: flex-start;
        gap: 12px;
    }

    .landing-language-switch a {
        min-height: 38px;
        padding: 0 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.app-transition body,
    html.app-ready body,
    html.app-leaving body {
        transform: none;
        transition: none;
    }
}
