:root {
    --ink: #182034;
    --green: #55c555;
    --paper: #f7f7f6;
    --line: #cfd1cd;
    --muted: #656864;
    --serif: "Bodoni 72", "Didot", "Times New Roman", serif;
    --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--paper);
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.7 var(--sans);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

.legal-header,
.legal-main,
.legal-footer {
    width: min(860px, calc(100% - 64px));
    margin-inline: auto;
}

.legal-header {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    border-bottom: 1px solid var(--line);
}

.legal-brand {
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.legal-brand span {
    color: var(--green);
}

.legal-back {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
}

.legal-main {
    padding-block: 88px 110px;
}

.legal-kicker {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
}

h1,
h2 {
    font-family: var(--serif);
    font-weight: 400;
}

h1 {
    margin: 0 0 64px;
    font-size: clamp(46px, 8vw, 76px);
    line-height: 1;
}

h2 {
    margin: 48px 0 12px;
    font-size: 26px;
    line-height: 1.2;
}

p,
ul {
    max-width: 720px;
    margin: 0 0 18px;
}

ul {
    padding-left: 22px;
}

address {
    font-style: normal;
}

.legal-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-block: 25px 32px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.legal-footer nav {
    display: flex;
    gap: 22px;
}

@media (max-width: 700px) {
    .legal-header,
    .legal-main,
    .legal-footer {
        width: calc(100% - 30px);
    }

    .legal-header {
        min-height: 120px;
    }

    .legal-main {
        padding-block: 64px 80px;
    }

    h1 {
        margin-bottom: 48px;
        font-size: clamp(42px, 14vw, 58px);
    }

    h2 {
        margin-top: 40px;
        font-size: 24px;
    }

    .legal-footer {
        flex-direction: column;
    }
}
