.legal-footer {
    padding: 2rem 1.5rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

.legal-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 0.75rem;
}

.legal-footer-links a,
.legal-footer-links button {
    color: #cbd5e1;
    background: transparent;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

.legal-footer-links a:hover,
.legal-footer-links button:hover {
    color: #64ffda;
}

.legal-divider {
    color: #475569;
}

.consent-banner {
    position: fixed;
    inset: auto 1rem 1rem 1rem;
    z-index: 80;
}

.consent-card {
    max-width: 64rem;
    margin: 0 auto;
    background: rgba(10, 25, 47, 0.96);
    border: 1px solid rgba(100, 255, 218, 0.16);
    border-radius: 0.5rem;
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.45);
    padding: 1rem;
}

.consent-eyebrow {
    color: #64ffda;
    font-size: 0.8rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
    margin-bottom: 0.35rem;
}

.consent-title {
    color: #e2e8f0;
    font-size: 1.1rem;
    font-weight: 700;
}

.consent-copy {
    color: #94a3b8;
    line-height: 1.6;
    margin-top: 0.65rem;
}

.consent-copy a,
.legal-inline-note a,
.chat-privacy-note a {
    color: #64ffda;
}

.consent-options {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.consent-option {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.65);
}

.consent-option-copy {
    display: block;
}

.consent-option-copy strong {
    display: block;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 700;
}

.consent-option-copy small {
    display: block;
    margin-top: 0.3rem;
    color: #94a3b8;
    font-size: 0.82rem;
    line-height: 1.5;
}

.consent-option input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #64ffda;
    margin-top: 0.15rem;
    flex: 0 0 auto;
}

.consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.consent-btn {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-weight: 700;
    border: 1px solid rgba(100, 255, 218, 0.25);
    transition: all 0.2s ease;
}

.consent-btn-primary {
    background: #64ffda;
    color: #0f172a;
}

.consent-btn-primary:hover {
    opacity: 0.9;
}

.consent-btn-secondary,
.consent-btn-muted {
    color: #cbd5e1;
    background: transparent;
}

.consent-btn-secondary:hover,
.consent-btn-muted:hover {
    border-color: rgba(100, 255, 218, 0.55);
    color: #64ffda;
}

.legal-inline-note,
.chat-privacy-note {
    color: #94a3b8;
    font-size: 0.84rem;
    line-height: 1.55;
}

.recaptcha-loader {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.45);
}

.recaptcha-loader button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: #64ffda;
    color: #0f172a;
    font-weight: 700;
    border: 0;
}

.recaptcha-loader button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.legal-page-prose h2 {
    color: #e2e8f0;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 2rem;
}

.legal-page-prose p,
.legal-page-prose li {
    color: #94a3b8;
    line-height: 1.75;
}

.legal-page-prose strong {
    color: #e2e8f0;
}

.legal-page-prose ul {
    margin-top: 0.8rem;
    padding-left: 1.2rem;
    list-style: disc;
}

.legal-page-prose a {
    color: #64ffda;
}

@media (min-width: 768px) {
    .consent-card {
        padding: 1.35rem 1.5rem;
    }

    .consent-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .consent-banner {
        inset-inline: 1.5rem;
        bottom: 1.5rem;
    }
}
