.legal-page {
    color: #09478f;
    overflow-x: clip;
}

.legal-hero {
    position: relative;
    min-height: clamp(12.5rem, 14vw, 17.5rem);
    display: grid;
    place-items: center;
    padding: clamp(3.5rem, 7vw, 7rem) var(--gutter);
    background: #eaf2f9;
    color: #333;
}

.legal-hero h1 {
    max-width: min(90vw, 76rem);
    margin: 0;
    font-size: clamp(2.6rem, 4.1vw, 5.1rem);
    font-weight: 400;
    line-height: 1.05;
    text-align: center;
}

.legal-hero__back {
    position: absolute;
    top: clamp(2.8rem, 4vw, 4.5rem);
    left: var(--gutter);
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #0878e8;
    cursor: pointer;
}

.legal-hero__back svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.legal-meta {
    width: min(100% - (2 * var(--gutter)), 70rem);
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    gap: 1.5rem 3rem;
    margin: 0 auto;
    padding: clamp(1.75rem, 3vw, 3rem) 0;
    color: #a5a7aa;
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    font-style: italic;
}

.legal-meta div {
    display: flex;
    gap: .3em;
}

.legal-meta dt,
.legal-meta dd {
    margin: 0;
}

.legal-meta a {
    color: inherit;
}

.legal-document {
    width: min(100% - (2 * var(--gutter)), 87rem);
    margin-inline: auto;
    padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(5rem, 8vw, 9rem);
    font-size: clamp(1.05rem, 1.35vw, 1.45rem);
    line-height: 1.38;
}

.legal-document > p,
.legal-section > p,
.legal-section > ul,
.legal-section > ol,
.legal-section > address,
.legal-section > dl,
.legal-section > .legal-subsection {
    max-width: 82rem;
}

.legal-document p,
.legal-document ul,
.legal-document ol,
.legal-document address,
.legal-document dl {
    margin-top: 0;
    margin-bottom: 1.65rem;
}

.legal-document ul,
.legal-document ol {
    padding-left: 2.35rem;
}

.legal-document li {
    padding-left: .5rem;
}

.legal-section {
    margin-top: clamp(2.2rem, 3.4vw, 3.8rem);
}

.legal-section h2 {
    margin: 0 0 1.6rem;
    color: #0753b1;
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 2.25vw, 2.35rem);
    font-weight: 700;
    line-height: 1.15;
    text-transform: none;
}

.legal-section h3 {
    margin: 2rem 0 .35rem;
    color: #174f8d;
    font-size: 1em;
    font-weight: 400;
}

.legal-section strong {
    font-weight: 500;
}

.legal-alpha-list {
    list-style: none;
    padding-left: 0 !important;
    counter-reset: legal-alpha;
}

.legal-alpha-list li {
    position: relative;
    padding-left: 4rem;
    counter-increment: legal-alpha;
}

.legal-alpha-list li::before {
    position: absolute;
    left: 0;
    content: "(" counter(legal-alpha, lower-alpha) ")";
}

.legal-table-wrap {
    max-width: 100%;
    margin: 2rem 0 3.25rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    border: 1px solid #dbe4ee;
}

.legal-table {
    width: 100%;
    min-width: 62rem;
    border-collapse: collapse;
    color: #3d4650;
    font-size: clamp(.88rem, 1vw, 1rem);
    line-height: 1.2;
}

.legal-table--compact {
    min-width: 44rem;
}

.legal-table th,
.legal-table td {
    padding: 1.55rem 1.8rem;
    text-align: left;
    vertical-align: top;
}

.legal-table thead {
    background: #0753b1;
    color: #fff;
}

.legal-table th {
    font-weight: 600;
}

.legal-table tbody tr:nth-child(odd) {
    background: #eaf2f9;
}

.legal-table tbody tr:nth-child(even) {
    background: #f5f8fb;
}

.legal-contact {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: .65rem 3rem;
    font-style: normal;
}

.legal-contact dt,
.legal-contact dd {
    margin: 0;
}

.legal-contact dd:last-child {
    max-width: 34rem;
}

@media (max-width: 900px) {
    .legal-meta {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .legal-hero__back {
        top: 1.5rem;
    }
}

@media (max-width: 620px) {
    .legal-hero {
        min-height: 14rem;
        padding-top: 5.5rem;
    }

    .legal-hero h1 {
        font-size: clamp(2.15rem, 11vw, 3.2rem);
    }

    .legal-document {
        font-size: 1rem;
        line-height: 1.5;
    }

    .legal-section h2 {
        font-size: 1.55rem;
    }

    .legal-contact {
        grid-template-columns: 1fr;
        gap: .2rem;
    }

    .legal-contact dd {
        margin-bottom: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .legal-page [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

