.v4-policy-page,
.v4-policy-page * {
    box-sizing: border-box;
}

.v4-policy-page {
    margin: 0;
    min-width: 320px;
    background: #f7f8fa;
    color: #20242b;
    font-family: Arial, Helvetica, sans-serif;
}

.v4-policy-main {
    min-height: 60vh;
}

.v4-policy-hero {
    padding: clamp(3rem, 7vw, 5.75rem) 0 clamp(2.5rem, 6vw, 4.5rem);
    background: #171a1f;
    color: #ffffff;
}

.v4-policy-kicker {
    margin: 0 0 0.75rem;
    color: #f08b82;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.v4-policy-hero h1 {
    margin: 0;
    max-width: 18ch;
    color: inherit;
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    line-height: 1.03;
    overflow-wrap: anywhere;
}

.v4-policy-lead {
    max-width: 48rem;
    margin: 1.25rem 0 0;
    color: #dfe3e8;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.65;
}

.v4-policy-shell {
    display: grid;
    gap: clamp(2rem, 6vw, 5rem);
    padding-top: clamp(2rem, 6vw, 4.5rem);
    padding-bottom: clamp(3rem, 8vw, 6rem);
}

.v4-policy-sidebar,
.v4-policy-content,
.v4-policy-content section {
    min-width: 0;
}

.v4-policy-draft-banner {
    padding: 1rem;
    border: 2px solid #a41f1f;
    border-radius: 0.5rem;
    background: #fff0ee;
    color: #671616;
}

.v4-policy-draft-banner strong,
.v4-policy-draft-banner span {
    display: block;
    overflow-wrap: anywhere;
}

.v4-policy-draft-banner strong {
    font-size: 0.875rem;
    letter-spacing: 0.045em;
    line-height: 1.4;
}

.v4-policy-draft-banner span {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.55;
}

.v4-policy-meta {
    margin: 1rem 0 0;
    padding: 0;
    border: 1px solid #d8dde3;
    border-radius: 0.5rem;
    background: #ffffff;
}

.v4-policy-meta div {
    display: grid;
    grid-template-columns: minmax(6.5rem, 0.8fr) minmax(0, 1.2fr);
    gap: 0.75rem;
    padding: 0.75rem 1rem;
}

.v4-policy-meta div + div {
    border-top: 1px solid #e5e8ec;
}

.v4-policy-meta dt,
.v4-policy-meta dd {
    margin: 0;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.v4-policy-meta dt {
    color: #5b6470;
    font-size: 0.8125rem;
    font-weight: 700;
}

.v4-policy-meta dd {
    font-size: 0.875rem;
}

.v4-policy-toc {
    margin-top: 1rem;
    border: 1px solid #d8dde3;
    border-radius: 0.5rem;
    background: #ffffff;
}

.v4-policy-toc summary {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-weight: 700;
}

.v4-policy-toc nav {
    display: grid;
    padding: 0 0.5rem 0.65rem;
}

.v4-policy-toc a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 0.55rem 0.75rem;
    border-radius: 0.35rem;
    color: #333a44;
    font-size: 0.875rem;
    line-height: 1.45;
    text-decoration: none;
}

.v4-policy-toc a:hover {
    background: #f3f4f6;
    color: #9f1f1f;
}

.v4-policy-content {
    width: 100%;
    max-width: 52rem;
}

.v4-policy-content section {
    scroll-margin-top: 7rem;
}

.v4-policy-content section + section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #d8dde3;
}

.v4-policy-content h2,
.v4-policy-content h3 {
    color: #20242b;
    overflow-wrap: anywhere;
}

.v4-policy-content h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.45rem, 3.5vw, 2rem);
    line-height: 1.25;
}

.v4-policy-content h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    line-height: 1.45;
}

.v4-policy-content p,
.v4-policy-content li {
    color: #414954;
    font-size: 1rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.v4-policy-content p {
    margin: 0 0 1rem;
}

.v4-policy-content p:last-child {
    margin-bottom: 0;
}

.v4-policy-content ul,
.v4-policy-content ol {
    margin: 0 0 1rem;
    padding-left: 1.4rem;
}

.v4-policy-content li + li {
    margin-top: 0.5rem;
}

.v4-policy-content a {
    color: #8f1d1d;
    font-weight: 700;
    text-underline-offset: 0.18em;
}

.v4-policy-pending {
    margin: 1.5rem 0;
    padding: 1.25rem;
    border-left: 4px solid #b65800;
    border-radius: 0 0.45rem 0.45rem 0;
    background: #fff5e8;
}

.v4-policy-pending p,
.v4-policy-pending li {
    color: #583315;
}

.v4-policy-table-wrap {
    max-width: 100%;
    margin: 1.25rem 0;
    overflow-x: auto;
    border: 1px solid #cfd5dc;
    border-radius: 0.5rem;
    background: #ffffff;
    -webkit-overflow-scrolling: touch;
}

.v4-policy-table {
    width: 100%;
    min-width: 42rem;
    border-collapse: collapse;
    color: #333a44;
    font-size: 0.9375rem;
    line-height: 1.55;
}

.v4-policy-table th,
.v4-policy-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e1e5e9;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.v4-policy-table thead th {
    background: #eceff2;
    color: #20242b;
}

.v4-policy-table tbody tr:last-child th,
.v4-policy-table tbody tr:last-child td {
    border-bottom: 0;
}

.v4-cookie-table th:first-child {
    width: 11.5rem;
    min-width: 11.5rem;
    overflow-wrap: normal;
    word-break: normal;
}

.v4-cookie-table tbody th code {
    white-space: nowrap;
}

.v4-policy-page a:focus-visible,
.v4-policy-page summary:focus-visible,
.v4-policy-table-wrap:focus-visible {
    outline: 3px solid #b52c2c;
    outline-offset: 3px;
}

@media (min-width: 1024px) {
    .v4-policy-shell {
        grid-template-columns: minmax(14rem, 17rem) minmax(0, 1fr);
        align-items: start;
    }

    .v4-policy-sidebar {
        position: sticky;
        top: 1.5rem;
    }
}

@media (max-width: 767px) {
    .v4-policy-hero {
        padding-top: 2.75rem;
        padding-bottom: 2.5rem;
    }

    .v4-policy-shell {
        gap: 2rem;
        padding-top: 1.5rem;
    }

    .v4-policy-content section + section {
        margin-top: 2.25rem;
        padding-top: 2.25rem;
    }

    .v4-policy-meta div {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .v4-policy-pending {
        padding: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .v4-policy-page *,
    .v4-policy-page *::before,
    .v4-policy-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .v4-policy-page {
        min-width: 0;
        background: #ffffff;
        color: #000000;
        font-family: Georgia, "Times New Roman", serif;
    }

    .v4-policy-page .v4-skip-link,
    .v4-policy-page .v4-site-header,
    .v4-policy-page .v4-site-footer,
    .v4-policy-toc {
        display: none !important;
    }

    .v4-policy-hero {
        padding: 0 0 1.5rem;
        background: #ffffff;
        color: #000000;
    }

    .v4-policy-kicker,
    .v4-policy-lead,
    .v4-policy-content p,
    .v4-policy-content li {
        color: #000000;
    }

    .v4-policy-shell {
        display: block;
        padding: 0;
    }

    .v4-policy-sidebar {
        position: static;
        margin-bottom: 1.5rem;
    }

    .v4-policy-draft-banner,
    .v4-policy-meta,
    .v4-policy-pending {
        break-inside: avoid;
        background: #ffffff;
    }

    .v4-policy-content {
        max-width: none;
    }

    .v4-policy-content section {
        break-inside: avoid;
    }

    .v4-policy-content a {
        color: #000000;
    }
}
