:root {
    --seed: #fff3ea;
    --paper: #fffbf7;
    --soil: #26161a;
    --soil-soft: #59484c;
    --ember: #d63a2e;
    --ember-dark: #a92d25;
    --apricot: #ffb08a;
    --moss: #557a62;
    --line: #e4cfc3;
    color: var(--soil);
    background: var(--seed);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 100%;
    line-height: 1.7;
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: clip;
}

body {
    min-inline-size: 320px;
    margin: 0;
    background:
        radial-gradient(circle at 88% 7%, rgb(255 176 138 / 28%), transparent 28rem),
        var(--seed);
}

img {
    display: block;
    max-inline-size: 100%;
}

a {
    color: var(--ember-dark);
    font-weight: 650;
    text-decoration-thickness: 0.09em;
    text-underline-offset: 0.2em;
    overflow-wrap: anywhere;
}

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

a:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--ember);
    outline-offset: 4px;
    border-radius: 0.25rem;
}

.skip-link {
    position: fixed;
    z-index: 20;
    inset-block-start: 0.75rem;
    inset-inline-start: 0.75rem;
    min-block-size: 44px;
    padding: 0.65rem 1rem;
    background: var(--soil);
    color: var(--paper);
    transform: translateY(-180%);
}

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

.site-header {
    position: relative;
    z-index: 4;
    border-block-end: 1px solid rgb(38 22 26 / 10%);
    background: rgb(255 243 234 / 92%);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    max-inline-size: 80rem;
    min-block-size: 5rem;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 3rem);
}

.brand,
.site-header__nav a,
.document-footer a,
.toc a,
.mobile-contents a {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
}

.brand {
    flex-wrap: wrap;
    gap: 0.72rem;
    color: var(--soil);
    text-decoration: none;
}

.brand img {
    inline-size: 2.6rem;
    block-size: 2.6rem;
    border-radius: 0.9rem;
}

.brand span {
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    overflow-wrap: normal;
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: clamp(0.4rem, 2vw, 1.5rem);
}

.site-header__nav a {
    padding-inline: 0.4rem;
    color: var(--soil-soft);
    text-decoration: none;
}

.legal-shell {
    display: grid;
    grid-template-columns: minmax(13rem, 17rem) minmax(0, 48rem);
    align-items: start;
    justify-content: center;
    gap: clamp(2rem, 6vw, 6rem);
    max-inline-size: 80rem;
    margin-inline: auto;
    padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem) 6rem;
}

.toc {
    position: sticky;
    inset-block-start: 1.5rem;
    max-block-size: calc(100vh - 3rem);
    overflow-y: auto;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    background: rgb(255 251 247 / 82%);
}

.toc__label,
.eyebrow,
.section-number {
    color: var(--moss);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.toc__label {
    margin: 0 0 0.6rem;
}

.toc ol,
.mobile-contents ol {
    margin: 0;
    padding-inline-start: 1.35rem;
}

.toc li,
.mobile-contents li {
    color: var(--soil-soft);
    font-size: 0.82rem;
    line-height: 1.35;
}

.toc a,
.mobile-contents a {
    color: inherit;
    text-decoration: none;
}

.mobile-contents {
    display: none;
    margin-block: 2rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--paper);
}

.mobile-contents summary {
    min-block-size: 44px;
    padding: 0.9rem 1rem;
    color: var(--soil);
    font-weight: 800;
    cursor: pointer;
}

.mobile-contents ol {
    padding: 0 1.5rem 1.25rem 2.5rem;
}

.legal-document {
    min-inline-size: 0;
}

.document-header {
    position: relative;
    overflow: clip;
    padding-block-end: 3rem;
    border-block-end: 1px solid var(--line);
}

.document-header::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset-block-start: -3rem;
    inset-inline-end: -2rem;
    inline-size: 12rem;
    block-size: 12rem;
    border: 1px solid rgb(214 58 46 / 24%);
    border-radius: 52% 48% 45% 55% / 44% 56% 46% 54%;
    transform: rotate(8deg);
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--ember);
}

h1,
h2,
h3 {
    color: var(--soil);
    font-family: ui-rounded, "Arial Rounded MT Bold", "Segoe UI", sans-serif;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

h1 {
    max-inline-size: 12ch;
    margin: 0 0 1.25rem;
    font-size: clamp(2.8rem, 8vw, 5.7rem);
}

h2 {
    margin: 0 0 1.25rem;
    font-size: clamp(1.65rem, 4vw, 2.35rem);
}

h3 {
    margin: 1.8rem 0 0.8rem;
    font-size: 1.2rem;
}

.lede {
    max-inline-size: 42rem;
    margin: 0 0 1rem;
    color: var(--soil-soft);
    font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.effective-date,
.print-note {
    margin: 0.35rem 0;
    color: var(--soil-soft);
    font-size: 0.9rem;
}

.legal-document section {
    padding-block: clamp(2.7rem, 6vw, 4.6rem);
    border-block-end: 1px solid var(--line);
    scroll-margin-block-start: 2rem;
}

.legal-document p,
.legal-document li,
.legal-document dd {
    color: var(--soil-soft);
}

.legal-document p {
    margin: 0 0 1.15rem;
}

.legal-document ul,
.legal-document ol {
    margin: 1rem 0 1.4rem;
    padding-inline-start: 1.4rem;
}

.legal-document li + li {
    margin-block-start: 0.65rem;
}

.callout {
    margin-block: 1.5rem;
    padding: 1.15rem 1.25rem;
    border-inline-start: 0.35rem solid var(--moss);
    border-radius: 0 0.8rem 0.8rem 0;
    background: rgb(85 122 98 / 10%);
}

.callout--important {
    border-inline-start-color: var(--ember);
    background: rgb(214 58 46 / 8%);
}

.plan-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-block: 1.5rem;
}

.plan-summary > div {
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--paper);
}

.plan-summary strong {
    display: block;
    color: var(--soil);
    font-size: 1.25rem;
}

.data-map-wrap {
    inline-size: 100%;
    overflow-x: auto;
    margin-block: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--paper);
}

table {
    inline-size: 100%;
    min-inline-size: 62rem;
    border-collapse: collapse;
    font-size: 0.86rem;
}

caption {
    padding: 1rem;
    color: var(--soil);
    font-weight: 800;
    text-align: start;
}

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

th {
    color: var(--soil);
    background: rgb(255 176 138 / 20%);
}

.company-details {
    margin: 1.5rem 0 0;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--paper);
}

.company-details p {
    margin: 0;
}

.document-footer {
    padding-block-start: 2.5rem;
    color: var(--soil-soft);
    font-size: 0.88rem;
}

.document-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    margin-block: 0.75rem;
}

@media (max-width: 60rem) {
    .legal-shell {
        display: block;
        max-inline-size: 54rem;
    }

    .toc {
        display: none;
    }

    .mobile-contents {
        display: block;
    }
}

@media (max-width: 48rem) {
    .site-header__inner {
        align-items: flex-start;
        flex-direction: column;
        padding-block: 0.85rem;
    }

    .site-header__nav {
        inline-size: 100%;
        flex-wrap: wrap;
    }

    .legal-shell {
        padding-block-start: 2.5rem;
    }

    .plan-summary {
        grid-template-columns: minmax(0, 1fr);
    }

    .document-header::before {
        inset-inline-end: -6rem;
    }
}

@media (max-width: 24rem) {
    h1 {
        font-size: min(2.7rem, 13vw);
        overflow-wrap: anywhere;
    }

    h2 {
        font-size: min(1.8rem, 10vw);
        overflow-wrap: anywhere;
    }

    .legal-shell {
        padding-inline: 1rem;
    }

    .brand span {
        font-size: 1rem;
    }
}

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

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

    body {
        background: #ffffff;
    }

    .site-header,
    .toc,
    .mobile-contents,
    .skip-link,
    .print-note,
    .document-header::before {
        display: none;
    }

    .legal-shell {
        display: block;
        max-inline-size: none;
        padding: 0;
    }

    .legal-document section {
        break-inside: avoid-page;
        padding-block: 1.2rem;
    }

    h1,
    h2,
    h3,
    p,
    li,
    td,
    th {
        color: #000000 !important;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-weight: 400;
        overflow-wrap: anywhere;
    }

    .data-map-wrap {
        overflow: visible;
    }

    table {
        min-inline-size: 0;
        font-size: 7.8pt;
    }
}
