/* Legal Pages Styles - Privacy Policy & Terms of Service */

.legal-page {
    padding: 80px 0 60px;
    background: #fff;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--color-grey-200);
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-grey-900);
}

.legal-header .subtitle {
    font-size: 1.125rem;
    color: var(--color-grey-500);
    max-width: 600px;
    margin: 0 auto 16px;
}

.last-updated {
    font-size: 0.875rem;
    color: var(--color-grey-500);
    font-weight: 500;
}

.last-updated span {
    color: var(--color-primary);
    font-weight: 600;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
    padding: 28px 32px;
    background: var(--color-grey-50);
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
}

.legal-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-grey-900);
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-section h2 .section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 600;
    flex-shrink: 0;
}

.legal-section p {
    color: var(--color-grey-600);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section strong {
    color: var(--color-grey-800);
    font-weight: 600;
}

.legal-section em {
    font-style: italic;
    color: var(--color-grey-700);
}

.legal-section ul,
.legal-section ol {
    margin: 16px 0;
    padding-left: 0;
    list-style: none;
}

.legal-section ul li,
.legal-section ol li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--color-grey-600);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
}

.legal-section ol {
    counter-reset: list-counter;
}

.legal-section ol li {
    counter-increment: list-counter;
}

.legal-section ol li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 600;
    color: var(--color-primary);
}

.legal-section .highlight-box {
    background: #fff;
    border: 1px solid var(--color-grey-200);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 16px 0;
}

.legal-section .highlight-box p {
    margin: 0;
}

.legal-section a {
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-section a:hover {
    color: var(--color-primary-dark);
}

.contact-card {
    background: #fff;
    border: 1px solid var(--color-grey-200);
    border-radius: 8px;
    padding: 20px 24px;
    margin-top: 16px;
}

.contact-card p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-card .label {
    font-weight: 600;
    color: var(--color-grey-700);
    min-width: 80px;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding: 60px 0 40px;
    }

    .legal-header h1 {
        font-size: 1.75rem;
    }

    .legal-section {
        padding: 20px 24px;
    }

    .legal-section h2 {
        font-size: 1.125rem;
    }

    .contact-card p {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .contact-card .label {
        min-width: auto;
    }
}
