@font-face {
    font-family: "Inter Local";
    src: url("../fonts/inter-latin-400-600.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

:root {
    color-scheme: light;
    --legal-ink: #171717;
    --legal-muted: #5f5f5f;
    --legal-faint: #858585;
    --legal-line: #dedede;
    --legal-width: 760px;
    --legal-gutter: clamp(1.25rem, 5vw, 3rem);
    --legal-font: "Inter Local", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    animation: none !important;
    transition: none !important;
}

html {
    min-width: 320px;
    background: #fff;
}

body {
    min-width: 320px;
    margin: 0;
    background: #fff;
    color: var(--legal-ink);
    font-family: var(--legal-font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-underline-offset: .18em;
}

a:hover {
    text-decoration-thickness: 2px;
}

:focus-visible {
    outline: 2px solid var(--legal-ink);
    outline-offset: 4px;
}

nav {
    border-bottom: 1px solid var(--legal-line);
    background: #fff;
}

nav > div {
    width: min(100%, calc(var(--legal-width) + (2 * var(--legal-gutter))));
    min-height: 64px;
    margin-inline: auto;
    padding-inline: var(--legal-gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

nav a {
    color: var(--legal-muted);
    font-size: .84rem;
    font-weight: 500;
    text-decoration: none;
}

nav a:first-child {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--legal-ink);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -.035em;
}

nav img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
}

main {
    width: min(100%, calc(var(--legal-width) + (2 * var(--legal-gutter))));
    min-height: calc(100svh - 64px);
    margin-inline: auto;
    padding: clamp(3.5rem, 8vw, 6rem) var(--legal-gutter) clamp(4rem, 9vw, 7rem);
}

article {
    width: 100%;
}

h1 {
    max-width: 18ch;
    margin: 0 0 1.25rem;
    font-size: clamp(2.5rem, 7vw, 4.6rem);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.06em;
}

h2 {
    margin: 3rem 0 .8rem;
    font-size: clamp(1.25rem, 3vw, 1.55rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.025em;
}

p,
li,
td {
    color: var(--legal-muted);
}

p {
    margin: 0 0 1rem;
}

main > p:first-of-type,
article > p:first-child {
    margin-bottom: 2.75rem;
    color: var(--legal-faint);
    font-size: .78rem;
}

section + section {
    margin-top: 2.75rem;
}

section h2 {
    margin-top: 0;
}

ul {
    padding-left: 1.2rem;
}

li + li {
    margin-top: .55rem;
}

table {
    width: 100%;
    margin: 1.5rem 0 2rem;
    border-collapse: collapse;
    font-size: .88rem;
}

th,
td {
    padding: .8rem .7rem;
    border-bottom: 1px solid var(--legal-line);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--legal-ink);
    font-weight: 600;
}

footer {
    border-top: 1px solid var(--legal-line);
}

footer > div {
    width: min(100%, calc(var(--legal-width) + (2 * var(--legal-gutter))));
    margin-inline: auto;
    padding: 2rem var(--legal-gutter);
    color: var(--legal-faint);
    font-size: .78rem;
    text-align: center;
}

@media (max-width: 620px) {
    :root {
        --legal-gutter: 1rem;
    }

    nav > div {
        min-height: 58px;
    }

    main {
        min-height: calc(100svh - 58px);
        padding-top: 2.75rem;
    }

    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    th,
    td {
        min-width: 150px;
    }
}
