/* ─── Legal pages ─── */

.legal {
    padding: clamp(2rem, 6vh, 4rem) 0 clamp(3rem, 8vh, 5rem);
    background: var(--paper);
    min-height: 70vh;
}

.legal__container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.legal__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink-mute);
    margin-bottom: 2.5rem;
    transition: color 0.25s var(--ease);
}
.legal__back:hover { color: var(--ink); }
.legal__back svg { transition: transform 0.25s var(--ease); }
.legal__back:hover svg { transform: translateX(-3px); }

.legal__title {
    font-size: clamp(1.7rem, 3.5vw, 2.2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 0.6rem;
    line-height: 1.15;
}

.legal__intro {
    color: var(--ink-mute);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
}

.legal__section {
    margin-bottom: 2rem;
}

.legal__section h2 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.7rem;
    letter-spacing: -0.005em;
}

.legal__section h3 {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink-soft);
    margin: 1.4rem 0 0.5rem;
}

.legal__section p {
    color: var(--ink-soft);
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.legal__section p:last-child { margin-bottom: 0; }

.legal__section a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color 0.25s var(--ease);
}
.legal__section a:hover { color: var(--ink-mute); }

.legal__section ul {
    margin: 0.6rem 0 0.8rem;
    padding-left: 1.2rem;
}
.legal__section ul li {
    color: var(--ink-soft);
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 0.3rem;
}

.legal__section strong {
    font-weight: 600;
    color: var(--ink);
}
