/* Legal pages (terms, support, privacy) */

body.legal-page {
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
}

.legal-page .logo {
    cursor: pointer;
}

.legal-main {
    flex: 1;
    padding: 3rem 0 5rem;
}

.legal-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header block */
.legal-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(34, 24, 19, 0.15);
}

.legal-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: #221813;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.legal-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #221813;
    opacity: 0.5;
    font-weight: 400;
    margin-top: 0.5rem;
}

/* Body */
.legal-intro {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: #221813;
    opacity: 0.8;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.legal-body {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Sections */
.legal-section {
    margin-bottom: 2.25rem;
}

.legal-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #221813;
    margin-bottom: 0.65rem;
    letter-spacing: -0.01em;
}

.legal-section p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #221813;
    opacity: 0.8;
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 0.6rem;
}

.legal-section ul {
    margin: 0.5rem 0 0.6rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.legal-section ul li {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #221813;
    opacity: 0.8;
    line-height: 1.7;
    font-weight: 300;
}

.legal-link {
    color: #221813;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}

.legal-link:hover {
    opacity: 0.6;
}

/* Closing verse */
.legal-verse {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(34, 24, 19, 0.15);
    text-align: center;
}

.verse-quote {
    font-family: 'EB Garamond', serif;
    font-size: 1.25rem;
    font-style: italic;
    color: #221813;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.verse-ref {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #221813;
    opacity: 0.5;
    font-weight: 400;
}

/* Support page specifics */
.support-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: rgba(34, 24, 19, 0.05);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2.75rem;
}

.support-contact-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #221813;
    color: #f1e6e0;
    border-radius: 12px;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.support-contact-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #221813;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.2rem;
}

.support-contact-email {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #221813;
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
    transition: opacity 0.2s ease;
}

.support-contact-email:hover {
    opacity: 0.6;
}

.support-contact-note {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #221813;
    opacity: 0.5;
    font-weight: 300;
}

/* FAQ items */
.faq-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(34, 24, 19, 0.1);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.97rem;
    font-weight: 600;
    color: #221813;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.faq-item p {
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
    color: #221813;
    opacity: 0.75;
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.faq-item p:last-child {
    margin-bottom: 0;
}

.faq-item ul {
    margin: 0.4rem 0 0.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.faq-item ul li {
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
    color: #221813;
    opacity: 0.75;
    line-height: 1.7;
    font-weight: 300;
}

/* Override footer padding for legal pages */
.legal-page .footer .container {
    padding-left: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-title {
        font-size: 2rem;
    }

    .legal-main {
        padding: 2rem 0 4rem;
    }
}

@media (max-width: 480px) {
    .legal-title {
        font-size: 1.75rem;
    }

    .support-contact-card {
        flex-direction: column;
        gap: 1rem;
    }
}
