:root {
    color-scheme: light;
    --ink: #1f2933;
    --muted: #52606d;
    --line: #d9e2ec;
    --surface: #f5f8fb;
    --brand: #005bbb;
    --brand-dark: #003f82;
    --notice: #eef6ff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a {
    color: var(--brand);
}

a:hover {
    color: var(--brand-dark);
}

a:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 3px;
    border-radius: 2px;
}

.skip-link {
    position: absolute;
    top: 0;
    left: 1rem;
    z-index: 10;
    padding: 0.75rem 1rem;
    color: #ffffff;
    background: var(--brand-dark);
    transform: translateY(-120%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.header-inner,
.legal-document,
.footer-inner {
    width: min(100% - 2rem, 880px);
    margin-inline: auto;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 82px;
}

.brand-logo {
    display: block;
    width: min(260px, 60vw);
    height: auto;
}

.home-link {
    white-space: nowrap;
    font-weight: 700;
    text-decoration: none;
}

.legal-document {
    padding-block: 3rem 4rem;
}

h1,
h2,
h3 {
    color: #102a43;
    line-height: 1.25;
}

h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    margin-top: 2.75rem;
    padding-top: 0.25rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
}

h3 {
    margin-top: 1.75rem;
    font-size: 1.1rem;
}

.effective-date {
    color: var(--muted);
}

.lead {
    max-width: 760px;
    margin-block: 1.5rem;
    font-size: 1.125rem;
}

.notice {
    margin-block: 2rem;
    padding: 1rem 1.25rem;
    border: 1px solid #b8d8f8;
    border-left: 5px solid var(--brand);
    border-radius: 8px;
    background: var(--notice);
}

.table-of-contents {
    margin-block: 2rem;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    background: var(--surface);
}

.table-of-contents h2 {
    margin-top: 0;
    font-size: 1.2rem;
}

.table-of-contents ol {
    columns: 2;
    gap: 2rem;
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.table-of-contents li {
    break-inside: avoid;
    margin-bottom: 0.35rem;
}

table {
    width: 100%;
    margin-block: 1.25rem;
    border-collapse: collapse;
}

th,
td {
    padding: 0.85rem;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    background: var(--surface);
}

address {
    font-style: normal;
}

.steps li,
.legal-document ul li {
    margin-bottom: 0.45rem;
}

.button-link {
    display: inline-block;
    margin-block: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: #ffffff;
    background: var(--brand);
    font-weight: 700;
    text-decoration: none;
}

.button-link:hover {
    color: #ffffff;
    background: var(--brand-dark);
}

.site-footer {
    padding-block: 2rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: var(--surface);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem 2rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.footer-links a[aria-current="page"] {
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 640px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-block: 1rem;
    }

    .legal-document {
        padding-block: 2rem 3rem;
    }

    .table-of-contents ol {
        columns: 1;
    }

    table,
    thead,
    tbody,
    tr,
    th,
    td {
        display: block;
    }

    thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    tr {
        margin-bottom: 1rem;
        border: 1px solid var(--line);
    }

    td {
        border: 0;
        border-bottom: 1px solid var(--line);
    }

    td:last-child {
        border-bottom: 0;
    }

    td::before {
        display: block;
        margin-bottom: 0.2rem;
        color: #102a43;
        content: attr(data-label);
        font-weight: 700;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
