﻿/* Legal pages. Long-form reading, not an interface: measured column, generous leading, and the
   same light print-first treatment the report uses — these are documents people print, forward to
   a lawyer, and annotate. */

.legal {
    max-width: 46rem;
    margin: 0 auto;
    padding: 3rem 1.5rem 6rem;
}

.legal__brand {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 2.5rem;
    text-decoration: none;
}

.legal h1 {
    font-family: "Newsreader", Georgia, serif;
    font-size: 2.25rem;
    line-height: 1.15;
    margin: 0 0 .5rem;
}

.legal__meta {
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: .8rem;
    opacity: .65;
    margin: 0 0 2.5rem;
}

.legal h2 {
    font-size: 1.15rem;
    margin: 2.75rem 0 .75rem;
    padding-top: 1.25rem;
    border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}

.legal h3 {
    font-size: 1rem;
    margin: 1.75rem 0 .5rem;
}

.legal p,
.legal li {
    line-height: 1.7;
}

.legal ul {
    padding-left: 1.25rem;
}

.legal li {
    margin-bottom: .4rem;
}

.legal table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: .9rem;
}

.legal th,
.legal td {
    text-align: left;
    padding: .5rem .6rem;
    border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);
    vertical-align: top;
}

.legal__foot {
    margin-top: 3.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
    font-size: .85rem;
    opacity: .75;
}

@media print {
    .legal {
        max-width: none;
        padding: 0;
    }

    .legal__brand {
        display: none;
    }

    .legal mark.review {
        background: none;
        border: 1px solid #000;
    }
}

/* The entry-page footer moved to auth.css as .site-foot — it belongs to that page's layout,
   not to the long-form legal styling. */

.pane__consent {
    font-size: .8rem;
    opacity: .75;
    margin-bottom: .75rem;
}
