/* Legal Pages Styles */

.legal-page {
    padding: 10rem 0 6rem;
    background: var(--white);
}

.legal-container {
    max-width: 900px;
}

.legal-page h1 {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.legal-intro {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 2rem 0 1rem;
}

.legal-section h4 {
    font-size: 1.125rem;
    font-weight: 500;
    margin: 1.5rem 0 0.75rem;
}

.legal-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #333;
}

.legal-section ul {
    margin: 1rem 0 1rem 2rem;
    line-height: 1.8;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--black);
    text-decoration: underline;
    transition: color 0.3s ease;
}

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

.legal-section strong {
    font-weight: 600;
}

.legal-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.legal-note p {
    margin-bottom: 0;
    color: #856404;
}

.legal-update {
    margin: 3rem 0 2rem;
    padding: 1rem 0;
    border-top: 2px solid var(--light-gray);
    font-size: 0.875rem;
    color: var(--gray);
}

.legal-back {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}

.back-link {
    display: inline-block;
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 2rem;
}

.back-link::before {
    content: '';
    position: absolute;
    left: 0;
    width: 1.5rem;
    height: 1px;
    background: var(--black);
    top: 50%;
    transition: width 0.3s ease;
}

.back-link:hover {
    color: var(--accent);
    padding-left: 2.5rem;
}

.back-link:hover::before {
    background: var(--accent);
    width: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding: 8rem 0 4rem;
    }
    
    .legal-page h1 {
        font-size: 2.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section ul {
        margin-left: 1.5rem;
    }
}
