:root {
    --ink: #18222d;
    --muted: #5d6975;
    --navy: #073b78;
    --navy-dark: #052b58;
    --green: #11834f;
    --green-soft: #eaf7f0;
    --line: #dbe2e8;
    --surface: #ffffff;
    --canvas: #f3f6f8;
    --warning: #fff7df;
    --warning-line: #dfad25;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: var(--navy);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--green);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #77c99d;
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 10;
    padding: 10px 14px;
    background: var(--navy-dark);
    color: #ffffff;
}

.skip-link:focus {
    top: 12px;
}

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

.header-inner {
    width: min(1120px, calc(100% - 40px));
    min-height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    flex-direction: column;
    color: var(--navy-dark);
    text-decoration: none;
}

.brand strong {
    font-size: 20px;
    line-height: 1.2;
}

.brand span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.header-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
    font-size: 14px;
    font-weight: 700;
}

.header-nav a {
    text-decoration: none;
}

.hero {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.hero-inner {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 50px 0 42px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    color: var(--navy-dark);
    line-height: 1.25;
    letter-spacing: 0;
}

h1 {
    max-width: 820px;
    margin: 0;
    font-size: 38px;
}

.hero-summary {
    max-width: 820px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.meta {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    color: var(--muted);
    font-size: 13px;
}

.legal-layout {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 52px;
    align-items: start;
}

.toc {
    position: sticky;
    top: 24px;
    margin: 42px 0;
    padding-right: 24px;
    border-right: 1px solid var(--line);
}

.toc-title {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.toc li + li {
    margin-top: 8px;
}

.toc a {
    display: block;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
}

.toc a:hover {
    color: var(--navy);
}

.document {
    min-width: 0;
    padding: 10px 0 64px;
}

.document section {
    padding: 34px 0;
    scroll-margin-top: 18px;
}

.document section + section {
    border-top: 1px solid var(--line);
}

.document h2 {
    margin: 0 0 18px;
    font-size: 25px;
}

.document h3 {
    margin: 24px 0 8px;
    font-size: 18px;
}

.document p {
    margin: 0 0 14px;
}

.document ul,
.document ol {
    margin: 12px 0 16px;
    padding-left: 24px;
}

.document li + li {
    margin-top: 8px;
}

.lead-note,
.notice,
.warning {
    margin: 20px 0;
    padding: 16px 18px;
    border-left: 4px solid var(--green);
    background: var(--green-soft);
}

.warning {
    border-left-color: var(--warning-line);
    background: var(--warning);
}

.lead-note strong,
.notice strong,
.warning strong {
    color: var(--navy-dark);
}

.identity-list,
.data-list {
    margin: 18px 0;
    border-top: 1px solid var(--line);
}

.identity-row,
.data-row {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.identity-row dt,
.data-row dt {
    color: var(--muted);
    font-weight: 700;
}

.identity-row dd,
.data-row dd {
    margin: 0;
}

.legal-legend {
    margin-top: 20px;
    padding: 18px;
    background: #eef3f8;
    border: 1px solid #ccd8e3;
    color: #344353;
    font-size: 14px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.action-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border: 1px solid var(--navy);
    color: var(--navy);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.action-link.primary {
    background: var(--navy);
    color: #ffffff;
}

.action-link:hover {
    background: var(--green);
    border-color: var(--green);
    color: #ffffff;
}

.site-footer {
    background: var(--navy-dark);
    color: #dce7f2;
}

.footer-inner {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    font-size: 13px;
}

.footer-inner p {
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
}

.footer-links a {
    color: #ffffff;
}

@media (max-width: 780px) {
    .header-inner,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-inner {
        padding: 16px 0;
    }

    .header-nav,
    .footer-links {
        justify-content: flex-start;
    }

    .hero-inner {
        padding: 34px 0 30px;
    }

    h1 {
        font-size: 31px;
    }

    .hero-summary {
        font-size: 16px;
    }

    .legal-layout {
        display: block;
    }

    .toc {
        position: static;
        margin: 0;
        padding: 22px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .toc ol {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 18px;
    }

    .toc li + li {
        margin-top: 0;
    }

    .document {
        padding-top: 0;
    }

    .document section {
        padding: 28px 0;
    }

    .identity-row,
    .data-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

@media (max-width: 470px) {
    body {
        font-size: 15px;
    }

    .header-inner,
    .hero-inner,
    .legal-layout,
    .footer-inner {
        width: min(100% - 28px, 1120px);
    }

    .toc ol {
        grid-template-columns: 1fr;
    }

    .document h2 {
        font-size: 22px;
    }

    .action-link {
        width: 100%;
    }
}

@media print {
    body {
        background: #ffffff;
        color: #000000;
        font-size: 11pt;
    }

    .site-header,
    .toc,
    .contact-actions,
    .site-footer,
    .skip-link {
        display: none;
    }

    .hero,
    .document section + section {
        border-color: #aaaaaa;
    }

    .hero-inner,
    .legal-layout {
        width: 100%;
    }

    .hero-inner {
        padding: 0 0 20px;
    }

    .legal-layout {
        display: block;
    }

    .document {
        padding: 0;
    }

    a {
        color: #000000;
    }
}
