.legal-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.legal-page {
    color: #1a1a1a;
    background: #fff;
}

/* Hero Section */
.legal-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #fafafa 0%, #ffffff 100%);
    padding: 120px 20px 80px;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
}

.legal-hero-content {
    max-width: 1080px;
}

.legal-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.legal-hero-meta {
    font-size: 0.875rem;
    color: #999;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Content Section */
.legal-content {
    max-width: 1080px;
    margin: 0 auto;
    padding: 80px 20px 120px;
}

.legal-intro {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.9;
    font-weight: 300;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e5e5;
}

.legal-section {
    margin-bottom: 50px;
}

.legal-section h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.legal-section p {
    font-size: 1rem;
    color: #666;
    line-height: 1.9;
    font-weight: 300;
    margin-bottom: 15px;
}

.legal-section ul,
.legal-section ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.legal-section li {
    font-size: 1rem;
    color: #666;
    line-height: 1.9;
    font-weight: 300;
    margin-bottom: 10px;
}

.legal-section a {
    color: #1a1a1a;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: #666;
}

.legal-section strong {
    font-weight: 500;
    color: #1a1a1a;
}

/* Contact Section */
.legal-contact {
    padding: 60px 40px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    margin-top: 60px;
}

.legal-contact h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.01em;
}

.legal-contact p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 10px;
}

.legal-contact a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-contact a:hover {
    color: #666;
}

/* Table of Contents - Auto Generated */
.legal-toc {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    padding: 40px;
    margin-bottom: 60px;
}

.legal-toc h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.legal-toc ul {
    list-style: none;
    margin: 0;
}

.legal-toc li {
    margin-bottom: 12px;
}

.legal-toc a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
}

.legal-toc a:hover {
    color: #1a1a1a;
    padding-left: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-hero {
        min-height: 35vh;
        padding: 80px 20px 60px;
    }

    .legal-content {
        padding: 60px 20px 80px;
    }

    .legal-intro {
        margin-bottom: 50px;
        padding-bottom: 30px;
    }

    .legal-section {
        margin-bottom: 40px;
    }

    .legal-section h3 {
        font-size: 1.5rem;
    }

    .legal-contact {
        padding: 40px 30px;
    }

    .legal-toc {
        padding: 30px;
    }
}