/* =========================================
   Legal Pages - Privacy Policy & Terms

   The hero, accordion and support section are styled by the FAQ component
   (components/faq/faq.css) so both documents match the FAQ page exactly.
   Only the pieces the FAQ page does not have live here.
   ========================================= */

/* "Last updated" line under the hero subtitle */
.legal-updated {
    font-family: var(--faq-font-sans, 'Plus Jakarta Sans', sans-serif);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 1.75rem 0 0;
}

/* Lists inside the policy text (the FAQ page only has paragraphs) */
.legal-page-wrapper .faq-inner ul {
    margin: 0 0 1rem;
    padding-left: 0;
    list-style: none;
}

.legal-page-wrapper .faq-inner ul:last-child {
    margin-bottom: 0;
}

.legal-page-wrapper .faq-inner li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.7rem;
}

.legal-page-wrapper .faq-inner li:last-child {
    margin-bottom: 0;
}

.legal-page-wrapper .faq-inner li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 6px;
    height: 6px;
    background: var(--faq-gold, #D4AF37);
    transform: rotate(45deg);
}

.legal-page-wrapper .faq-inner p:last-child {
    margin-bottom: 0;
}

.legal-page-wrapper .faq-inner strong {
    color: var(--faq-dark, #1A1A1A);
    font-weight: 600;
}

/* Link across to the other legal document */
.legal-crosslink {
    text-align: center;
    margin: 2.5rem 0 0;
    font-family: var(--faq-font-sans, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.95rem;
    color: var(--faq-text, #4A4A4A);
}

.legal-crosslink a {
    color: var(--faq-gold, #D4AF37);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.legal-crosslink a:hover {
    color: var(--faq-dark, #1A1A1A);
    border-bottom-color: var(--faq-dark, #1A1A1A);
}

/* Mobile */
@media (max-width: 768px) {
    .legal-updated {
        font-size: 0.75rem;
        margin-top: 1.25rem;
        padding: 0 15px;
    }

    .legal-crosslink {
        font-size: 0.85rem;
        padding: 0 15px;
    }
}

/* Print - expand every section */
@media print {
    .legal-page-wrapper .faq-content {
        height: auto !important;
    }

    .legal-page-wrapper .faq-inner {
        opacity: 1 !important;
        transform: none !important;
    }

    .legal-page-wrapper .faq-icon,
    .support-section,
    .site-header,
    .site-footer,
    .floating-actions {
        display: none !important;
    }
}
