.legal-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-header {
    border-bottom: 1px solid #f0f0f0;
    padding: 1rem 1.5rem;
}

.legal-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.legal-logo-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b8f53a;
    font-size: 0.875rem;
}

.legal-logo-text {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.legal-logo-accent {
    color: #5dbe2e;
}

.legal-content {
    max-width: 48rem;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    flex: 1;
    line-height: 1.7;
}

.legal-content h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.legal-date {
    color: #999;
    font-size: 0.875rem;
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: #444;
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #444;
}

.legal-content a {
    color: #5dbe2e;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content a:hover {
    color: #4a9e24;
}

.legal-footer {
    border-top: 1px solid #f0f0f0;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #999;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.legal-footer a {
    color: #5dbe2e;
    text-decoration: none;
}

.legal-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .legal-content {
        padding: 2rem 1rem;
    }

    .legal-content h1 {
        font-size: 1.5rem;
    }

    .legal-footer {
        flex-direction: column;
        text-align: center;
    }
}
