.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.lang-btn {
    font-family: Inter, system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
    padding: 8px 14px;
    border: none;
    border-radius: 9999px;
    background: transparent;
    color: #797586;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Touch pointers need a target of roughly 44px; the text alone gives 27px. */
@media (pointer: coarse) {
    .lang-btn {
        min-height: 44px;
        min-width: 56px;
        padding: 8px 18px;
        font-size: 12px;
    }
}

.lang-btn:hover {
    color: #1a1c20;
}

.lang-btn.active {
    background: #1a1c20;
    color: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.lang-btn:focus-visible {
    outline: 2px solid #6042d6;
    outline-offset: 2px;
}

.site-footer-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    width: 100%;
}

.site-footer-bar .footer-copy {
    flex: 1;
    min-width: 0;
    text-align: center;
}

/* The 0.2em tracking pushes the copyright onto a second line at phone
   widths, so it is tightened where space is scarce. */
@media (max-width: 480px) {
    .site-footer-bar .footer-copy {
        letter-spacing: 0.08em;
        font-size: 10px;
    }
}

@media (min-width: 768px) {
    .site-footer-bar .footer-copy {
        text-align: right;
    }
}
