:root {
    color-scheme: light;
    --red: #e32b32;
    --deep-red: #a7161c;
    --ink: #171919;
    --body-text: #414646;
    --muted: #626868;
    --line: #dfe3e1;
    --paper: #f4f6f5;
    --white: #ffffff;
    --page-width: 1160px;
    --page-gutter: 1.5rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
}

body {
    min-width: 280px;
    margin: 0;
    color: var(--body-text);
    background: var(--white);
    font-family: "SF Compact Text", "SF Compact", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}

::selection {
    color: var(--ink);
    background: #ffd9d8;
}

a {
    color: var(--deep-red);
    text-underline-offset: 0.2em;
    text-decoration-thickness: 1px;
}

a:hover {
    text-decoration-thickness: 2px;
}

:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px;
}

.skip-link {
    position: absolute;
    z-index: 10;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.65rem 1rem;
    color: var(--ink);
    background: var(--white);
    transform: translateY(-160%);
}

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

.site-header {
    border-top: 3px solid var(--red);
    background: #111111;
}

.site-nav,
.policy-header-inner,
.policy-layout,
.footer-inner {
    width: min(var(--page-width), calc(100% - var(--page-gutter) * 2));
    margin-inline: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 78px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.brand img,
.footer-brand img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.nav-links,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1.75rem;
}

.nav-links a,
.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #c5cbca;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.policy-header {
    border-bottom: 1px solid var(--line);
    background-color: var(--paper);
    background-image: repeating-linear-gradient(90deg, transparent, transparent 79px, #e9edeb 79px, #e9edeb 80px);
}

.policy-header-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    padding-block: 3.5rem 3rem;
}

h1,
h2,
h3 {
    color: var(--ink);
    font-family: "SF Compact Display", "SF Compact", -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 750;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    font-size: 3.25rem;
}

h1::before {
    display: block;
    width: 40px;
    height: 4px;
    margin-bottom: 1rem;
    background: var(--red);
    content: "";
}

.effective-dates {
    flex-shrink: 0;
    padding-left: 1.5rem;
    border-left: 1px solid #c8cecb;
    color: var(--muted);
    font-size: 0.8125rem;
    line-height: 2;
}

.effective-dates p {
    margin: 0;
}

.effective-dates time {
    color: var(--ink);
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}

.policy-layout {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    align-items: start;
    gap: 5rem;
    padding-block: 3.5rem 5rem;
}

.policy-sidebar {
    position: sticky;
    top: 2rem;
    min-width: 0;
}

.policy-contents summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 44px;
    padding-block: 0.5rem 1rem;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 0.75rem;
    font-weight: 750;
    list-style: none;
    text-transform: uppercase;
    cursor: pointer;
}

.policy-contents summary::-webkit-details-marker {
    display: none;
}

.policy-contents summary .fa {
    width: 1rem;
    text-align: center;
    font-size: 1rem;
    transition: transform 160ms ease;
}

.policy-contents[open] summary .fa {
    transform: rotate(180deg);
}

.policy-contents nav {
    max-height: calc(100svh - 8rem);
    padding: 0.75rem 0.25rem 0.25rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c8cecb transparent;
}

.policy-contents ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: policy-section;
}

.policy-contents li {
    counter-increment: policy-section;
}

.policy-contents a {
    display: grid;
    grid-template-columns: 1.4rem minmax(0, 1fr);
    align-items: baseline;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.7rem 0.25rem;
    color: var(--muted);
    font-size: 0.8125rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.policy-contents a::before {
    color: #747d78;
    font-size: 0.6875rem;
    font-variant-numeric: tabular-nums;
    content: counter(policy-section, decimal-leading-zero);
}

.policy-contents a:hover,
.policy-contents a:focus-visible {
    color: var(--deep-red);
    background: var(--paper);
}

.policy-content {
    min-width: 0;
    overflow-wrap: anywhere;
}

.policy-content p {
    margin: 0 0 1.1rem;
}

.policy-introduction > p:first-child {
    color: #303535;
    font-size: 1.125rem;
    line-height: 1.85;
}

.policy-content b {
    color: var(--ink);
    font-weight: 650;
}

.important-safety-notice {
    margin-block: 2rem 0.75rem;
    padding: 1.5rem 1.75rem;
    border-left: 3px solid var(--red);
    background: #fff3f1;
    font-size: 0.9375rem;
}

.important-safety-notice h2 {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    margin: 0 0 0.75rem;
    color: #922127;
    font-size: 1rem;
}

.important-safety-notice .fa {
    flex-shrink: 0;
}

.policy-section {
    padding-block: 2.25rem;
    border-bottom: 1px solid var(--line);
}

.policy-section:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.policy-section h2 {
    margin: 0 0 1rem;
    font-size: 1.5rem;
}

.policy-section h3 {
    margin: 1.5rem 0 0.6rem;
    font-size: 1.0625rem;
    font-weight: 700;
}

.policy-content ul {
    margin: 0 0 1.1rem;
    padding-left: 1.25rem;
}

.policy-content li {
    padding-left: 0.4rem;
}

.policy-content li + li {
    margin-top: 0.65rem;
}

.policy-content li::marker {
    color: var(--red);
}

.policy-content section > :last-child {
    margin-bottom: 0;
}

.site-footer {
    padding-block: 2.75rem 1.75rem;
    color: #aab1ae;
    background: #111111;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
}

.footer-brand {
    justify-self: start;
}

.footer-inner > p {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 1.5rem;
    border-top: 1px solid #353a37;
    font-size: 0.75rem;
}

@media (max-width: 959px) {
    .policy-header-inner {
        padding-block: 2.5rem;
    }

    h1 {
        font-size: 2.75rem;
    }

    .policy-layout {
        max-width: 760px;
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
        padding-block: 1.5rem 3.5rem;
    }

    .policy-sidebar {
        position: static;
    }

    .policy-contents summary {
        padding-block: 0.75rem;
    }

    .policy-contents nav {
        max-height: 55svh;
    }

    .policy-contents a {
        font-size: 0.875rem;
    }
}

@media (max-width: 600px) {
    :root {
        --page-gutter: 1.25rem;
    }

    .site-nav {
        flex-wrap: wrap;
        gap: 0;
        padding-top: 0.75rem;
    }

    .brand {
        margin-bottom: 0.5rem;
    }

    .nav-links {
        justify-content: space-between;
        gap: 0 0.75rem;
        width: 100%;
        padding-block: 0.2rem;
        border-top: 1px solid #353a37;
    }

    .nav-links a {
        font-size: 0.8125rem;
    }

    .policy-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding-block: 2rem;
    }

    h1 {
        font-size: 2.25rem;
    }

    .effective-dates {
        padding-left: 0;
        border-left: 0;
    }

    .policy-introduction > p:first-child {
        font-size: 1.0625rem;
    }

    .important-safety-notice {
        padding: 1.25rem;
    }

    .policy-section {
        padding-block: 1.75rem;
    }

    .policy-section h2 {
        font-size: 1.3125rem;
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }

    .footer-links {
        gap: 0 1.25rem;
    }
}

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

    .policy-contents summary .fa {
        transition: none;
    }
}

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

    .site-header,
    .policy-sidebar,
    .site-footer,
    .skip-link {
        display: none;
    }

    .policy-header {
        background: none;
    }

    .policy-header-inner,
    .policy-layout {
        width: 100%;
        padding-block: 1rem;
    }

    .policy-layout {
        display: block;
    }

    h1 {
        font-size: 28pt;
    }

    h2,
    h3 {
        break-after: avoid;
    }

    .important-safety-notice {
        break-inside: avoid;
    }

    a {
        color: inherit;
    }
}