/**
 * KhomDev legal pages — privacy, terms.
 */

.legal-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-main {
    flex: 1;
    padding: clamp(5rem, 12vh, 7rem) 0 clamp(4rem, 8vh, 6rem);
}

.legal-hero {
    margin-bottom: 3rem;
    max-width: 42rem;
}

.legal-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 400;
}

.legal-lead {
    font-size: var(--fs-lead);
    color: var(--text-muted);
    line-height: 1.65;
    max-width: var(--measure);
}

.legal-disclaimer {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 1.25rem;
    line-height: 1.6;
}

.legal-disclaimer a {
    color: var(--warm);
    border-bottom: 1px solid var(--warm-dim);
}

.legal-disclaimer a:hover {
    color: var(--accent-bright);
    border-bottom-color: var(--accent);
}

.legal-doc {
    max-width: 72ch;
}

.legal-doc section + section {
    margin-top: 2.5rem;
}

.legal-doc h2 {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    color: var(--text);
    margin-bottom: 0.85rem;
    letter-spacing: 0.02em;
}

.legal-doc h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 1.25rem 0 0.5rem;
}

.legal-doc p,
.legal-doc li {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 0.85rem;
}

.legal-doc ul {
    list-style: disc;
    padding-left: 1.35rem;
    margin-bottom: 0.85rem;
}

.legal-doc li {
    margin-bottom: 0.45rem;
}

.legal-doc a {
    color: var(--accent);
    border-bottom: 1px solid var(--accent-dim);
}

.legal-doc a:hover {
    color: var(--accent-bright);
    border-bottom-color: var(--accent);
}

.legal-doc code {
    font-family: var(--font-mono);
    font-size: 0.88em;
    color: var(--text);
    background: var(--surface-2);
    padding: 0.1em 0.35em;
    border-radius: 3px;
}

.legal-doc strong {
    color: var(--text);
    font-weight: 600;
}
