/* ============================================
   Legal Pages — Apple Health light theme
   ============================================ */

.legal-page {
    padding: 120px 0 100px;
    background: var(--white);
    min-height: 100vh;
}

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

.legal-content h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.legal-updated {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.legal-content section {
    margin-bottom: 32px;
}

.legal-content h2 {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    padding-top: 8px;
    letter-spacing: -0.01em;
}

.legal-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-top: 16px;
    margin-bottom: 8px;
}

.legal-content p {
    margin-bottom: 12px;
    line-height: 1.75;
    color: var(--gray-600);
}

.legal-content ul {
    margin-bottom: 12px;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 6px;
    line-height: 1.7;
    color: var(--gray-600);
}

.legal-content a {
    color: var(--health-blue);
    text-decoration: underline;
    text-decoration-color: rgba(10, 132, 255, 0.3);
    text-underline-offset: 2px;
    transition: text-decoration-color 200ms ease;
}
.legal-content a:hover { text-decoration-color: var(--health-blue); }
.legal-content a:focus-visible {
    outline: 2px solid var(--health-blue);
    outline-offset: 2px;
    border-radius: 2px;
}

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

.footer-bottom a {
    color: var(--gray-500);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 200ms ease;
}
.footer-bottom a:hover { color: var(--gray-900); }
