.legal-page {
    max-width: 880px;
    margin: 0 auto;
    padding: 28px 0 56px;
    line-height: 1.7;
}

.legal-page h1 {
    margin: 0 0 8px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.legal-page h2 {
    margin-top: 30px;
    font-size: 1.25rem;
}

.legal-muted {
    color: #8a8f98;
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    max-width: 980px;
    margin: 0 auto;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    border: 1px solid #d7dde6;
    border-left: 5px solid #c1121f;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 18px 60px rgba(15, 23, 42, .20);
    color: #1f2937;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner-text {
    display: grid;
    gap: 6px;
    font-size: .95rem;
    line-height: 1.45;
}

.cookie-banner-text strong {
    color: #111827;
    font-size: 1rem;
    letter-spacing: -.01em;
}

.cookie-banner-text span {
    color: #4b5563;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.cookie-banner-actions a {
    color: #0b5ed7;
    font-size: .94rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-banner-actions a:hover {
    color: #084298;
}

.cookie-banner-actions button {
    border: 0;
    border-radius: 3px;
    padding: 10px 18px;
    background: #c1121f;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.cookie-banner-actions button:hover {
    background: #9f0f19;
}

@media (max-width: 640px) {
    .cookie-banner {
        grid-template-columns: 1fr;
        align-items: stretch;
        padding: 16px;
        border-radius: 4px;
    }

    .cookie-banner-actions {
        justify-content: space-between;
    }

    .cookie-banner-actions button {
        min-width: 120px;
    }
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 12px 0 6px;
    font-size: 0.9rem;
}

.footer-legal-links a {
    color: inherit;
    opacity: 0.78;
    text-decoration: none;
}

.footer-legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}
