/*!
 * Copyright Library — legal.css
 * Shared design for the long-form legal pages (privacy.html, terms.html, dmca.html).
 * Loaded after style.css and reuses its tokens, nav island, buttons, bezel cards and footer.
 * Sections: tokens · nav · progress · document header · key points · layout · table of contents ·
 *           mobile contents bar + sheet · prose (typography, lists, statute, callout, tables,
 *           definitions, placeholders, anchors) · end of document · related · back to top · toast ·
 *           responsive · reduced motion · print
 */

/* ============================================================ tokens */
:root {
    --prose: #c4cad6;
    /* body copy: muted white, ~11:1 on --bg */
    --prose-strong: #eef1f7;
    --prose-size: 17px;
    --prose-lh: 1.75;
    --toc-w: 264px;
    --toc-gap: clamp(48px, 6.6vw, 96px);
    --measure: 41.5rem;
    /* ~85 characters of Geist at 17px; tables may run wider */
    --lmaxw: 1120px;
    /* matches the nav island */
    --sticky-top: calc(var(--nav-top) + var(--nav-h) + 28px);
    --link: #8cc3ff;
}

html.legal-page {
    scroll-padding-top: calc(var(--nav-top) + var(--nav-h) + 36px);
}

.lcontainer {
    max-width: calc(var(--lmaxw) + var(--gutter) * 2);
}

.print-only {
    display: none;
}

/* ============================================================ nav (legal variant of the island) */
.lnav {
    gap: 16px;
    max-width: var(--lmaxw);
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

/* brand | documents | Search */
/* the island's side padding is uneven (16px left, 10px right); nudge the switcher back onto the page axis */
@media (min-width: 921px) {
    .lnav__links {
        translate: -3px 0;
    }
}

.lnav__links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-inline: auto;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .025);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.lnav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 15px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
    transition: color .25s, background-color .3s, box-shadow .3s;
}

.lnav__link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .04);
}

.lnav__link[aria-current="page"],
[data-doc="privacy"] .lnav__link[data-doc="privacy"],
[data-doc="terms"] .lnav__link[data-doc="terms"],
[data-doc="dmca"] .lnav__link[data-doc="dmca"] {
    color: var(--text);
    background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .05));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .1), 0 4px 14px -6px rgba(0, 0, 0, .6);
}

.lnav__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: none;
}

.lnav__search {
    gap: 8px;
    padding: 0 18px 0 14px;
}

.lnav__search .ico {
    width: 17px;
    height: 17px;
    stroke-width: 1.75;
}

/* reading progress — a hairline of light running along the island's bottom edge */
.lprogress {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: -1px;
    height: 2px;
    border-radius: 2px;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity .5s var(--ease-out);
}

.lprogress.is-on {
    opacity: 1;
}

.lprogress::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .06);
}

.lprogress__bar {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(4, 99, 253, .2), var(--blue-hi) 45%, var(--sky) 92%, #e6f2ff);
    box-shadow: 0 0 10px rgba(105, 180, 255, .8);
    transform-origin: 0 50%;
    transform: scaleX(var(--p, 0));
}

/* ============================================================ document header */
.doc-hero {
    position: relative;
    isolation: isolate;
    padding-top: calc(var(--nav-top) + var(--nav-h) + clamp(64px, 8vw, 112px));
}

.doc-hero__fx {
    position: absolute;
    inset: 0 0 -120px;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.doc-hero__light {
    position: absolute;
    left: 50%;
    top: 0;
    width: min(1400px, 160%);
    height: 720px;
    transform: translate(-50%, -58%);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(4, 99, 253, .28), rgba(4, 99, 253, .07) 55%, rgba(4, 99, 253, 0));
}

.doc-hero__grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.4px);
    background-size: 22px 22px;
    background-position: center top;
    -webkit-mask-image: radial-gradient(ellipse 70% 58% at 50% 0%, #000 0%, rgba(0, 0, 0, .3) 55%, transparent 85%);
    mask-image: radial-gradient(ellipse 70% 58% at 50% 0%, #000 0%, rgba(0, 0, 0, .3) 55%, transparent 85%);
}

.doc-hero__glyph {
    position: absolute;
    right: max(var(--gutter), calc(50% - var(--lmaxw) / 2 - 40px));
    top: calc(var(--nav-top) + var(--nav-h) + 8px);
    font: 700 clamp(220px, 26vw, 400px)/.8 var(--font-sans);
    padding: 0 .12em;
    color: transparent;
    background: linear-gradient(180deg, rgba(160, 200, 255, .13) 0%, rgba(105, 180, 255, .05) 45%, rgba(105, 180, 255, 0) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    user-select: none;
}

.doc-hero__inner {
    position: relative;
}

.doc-switch {
    display: none;
}

.doc-eyebrow {
    gap: 8px;
    padding: 0 14px 0 11px;
    color: var(--text);
}

.doc-eyebrow .ico {
    width: 16px;
    height: 16px;
    color: var(--sky);
}

.doc-title {
    max-width: 14em;
    margin: 26px 0 0;
    font-weight: 700;
    font-size: clamp(42px, 6.2vw, 84px);
    line-height: 1;
    letter-spacing: -.045em;
    text-wrap: balance;
    background: linear-gradient(180deg, #ffffff 30%, #c9d6ea 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: .06em;
}

.doc-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 26px;
    margin-top: 26px;
    font-size: 14.5px;
    color: var(--muted);
}

.doc-meta li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.doc-meta li+li {
    position: relative;
}

.doc-meta li+li::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 50%;
    width: 3px;
    height: 3px;
    margin-top: -1.5px;
    border-radius: 50%;
    background: var(--dim);
}

.doc-meta .ico {
    width: 16px;
    height: 16px;
    color: var(--dim);
}

.doc-meta__k {
    color: var(--dim);
}

.doc-meta__v {
    color: #dfe4ee;
    font-variant-numeric: tabular-nums;
}

/* ============================================================ key points (double-bezel) */
.keypoints {
    margin-top: clamp(40px, 5vw, 56px);
}

.keypoints__core {
    padding: clamp(24px, 3.2vw, 40px) clamp(20px, 3.4vw, 44px) clamp(14px, 2vw, 22px);
}

.keypoints__core::after {
    left: 30%;
    right: 30%;
    opacity: .7;
}

.keypoints__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding-bottom: 18px;
}

.keypoints__title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font: 500 11.5px/1 var(--font-mono);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text);
}

.keypoints__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sky);
    box-shadow: 0 0 10px rgba(105, 180, 255, .9);
}

.keypoints__note {
    font-size: 13.5px;
    color: var(--dim);
}

.keypoints__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(28px, 4vw, 56px);
    counter-reset: kp;
}

.keypoints__list>li {
    position: relative;
    padding: 17px 0 18px 34px;
    border-top: 1px solid var(--line);
    font-size: 15.5px;
    line-height: 1.6;
    color: #cfd5e1;
    text-wrap: pretty;
    counter-increment: kp;
}

.keypoints__list>li::before {
    content: counter(kp, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 23px;
    font: 500 12px/1 var(--font-mono);
    letter-spacing: .04em;
    color: var(--sky);
    opacity: .85;
}

.keypoints__list strong,
.keypoints__list b {
    color: var(--text);
    font-weight: 600;
}

.keypoints__list a {
    color: var(--link);
    text-decoration: underline;
    text-decoration-color: rgba(105, 180, 255, .35);
    text-underline-offset: 3px;
}

/* ============================================================ layout */
.doc-layout {
    display: grid;
    grid-template-columns: var(--toc-w) minmax(0, 1fr);
    column-gap: var(--toc-gap);
    align-items: start;
    margin-top: clamp(64px, 8vw, 112px);
}

.toc {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: var(--sticky-top);
}

.toc-bar {
    display: none;
}

.no-js .doc-layout {
    display: block;
}

.no-js .toc,
.no-js .toc-bar {
    display: none !important;
}

.no-js .prose {
    max-width: var(--measure);
    margin-inline: auto;
}

.prose {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    outline: none;
}

.prose .article> :not(.table-wrap--wide),
.prose>.doc-end {
    max-width: var(--measure);
}

/* ============================================================ table of contents (desktop) */
.toc__inner {
    max-height: calc(100vh - var(--sticky-top) - 24px);
    max-height: calc(100dvh - var(--sticky-top) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .12) transparent;
    padding: 2px 6px 8px 0;
    margin-right: -6px;
}

.toc__inner::-webkit-scrollbar {
    width: 6px;
}

.toc__inner::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .1);
    border-radius: 6px;
}

.toc__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 0 16px 18px;
}

.toc__head .mono-label:first-child {
    color: var(--muted);
}

.toc__count {
    color: var(--dim);
}

.tocl {
    position: relative;
}

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

.tocl__rail {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .06) 80%, rgba(255, 255, 255, 0));
}

.tocl__marker {
    position: absolute;
    left: -.5px;
    top: 0;
    width: 2px;
    height: var(--mh, 0px);
    border-radius: 2px;
    background: linear-gradient(180deg, #cfe6ff, var(--sky) 40%, var(--blue-hi));
    box-shadow: 0 0 10px rgba(105, 180, 255, .85), 0 0 2px rgba(105, 180, 255, 1);
    transform: translateY(var(--my, 0px));
    opacity: 0;
    transition: transform .5s var(--ease-out), height .5s var(--ease-out), opacity .4s;
}

.tocl.has-active .tocl__marker {
    opacity: 1;
}

.tocl__list>li {
    position: relative;
}

.tocl__link {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: baseline;
    padding: 7px 8px 7px 18px;
    border-radius: 0 10px 10px 0;
    font-size: 14px;
    line-height: 1.42;
    color: #8a93a5;
    text-decoration: none;
    transition: color .25s, background-color .25s;
}

.tocl__link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .025);
}

.tocl__no {
    font: 500 11.5px/1 var(--font-mono);
    letter-spacing: .02em;
    color: var(--dim);
    font-variant-numeric: tabular-nums;
    transition: color .25s;
}

.tocl__item.is-active>.tocl__link {
    color: var(--text);
}

.tocl__item.is-active>.tocl__link .tocl__no {
    color: var(--sky);
}

/* nested h3 — only the active article's subsections are open */
.tocl__subwrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .45s var(--ease-out);
}

.tocl__item.is-active>.tocl__subwrap {
    grid-template-rows: 1fr;
}

.tocl__sub {
    min-height: 0;
    overflow: hidden;
}

.tocl__sub>li:first-child {
    padding-top: 2px;
}

.tocl__sub>li:last-child {
    padding-bottom: 8px;
}

.tocl__sublink {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: baseline;
    padding: 5px 8px 5px 48px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--dim);
    text-decoration: none;
    transition: color .25s;
}

.tocl__sublink:hover {
    color: var(--muted);
}

.tocl__subno {
    font: 400 11px/1 var(--font-mono);
    color: rgba(110, 118, 135, .85);
    font-variant-numeric: tabular-nums;
}

.tocl__sublink.is-active {
    color: var(--text);
}

.tocl__sublink.is-active .tocl__subno {
    color: var(--sky);
}

.tocl__item:not(.is-active) .tocl__sublink {
    visibility: hidden;
    transition: color .25s, visibility 0s .45s;
}

.toc__foot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0 0 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.toc__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 13px;
    color: var(--muted);
    cursor: pointer;
    border-radius: 6px;
    transition: color .25s;
}

.toc__action:hover {
    color: var(--text);
}

.toc__action .ico {
    width: 16px;
    height: 16px;
    color: var(--dim);
    transition: color .25s;
}

.toc__action:hover .ico {
    color: var(--sky);
}

.toc__words {
    font: 400 11.5px/1 var(--font-mono);
    letter-spacing: .04em;
    color: var(--dim);
}

/* ============================================================ mobile contents bar + sheet */
.toc-bar {
    --hl: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .03));
    position: sticky;
    top: calc(var(--nav-top) + var(--nav-h) + 10px);
    z-index: 40;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 48px;
    margin: 0 0 40px;
    padding: 0 14px 0 6px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(20, 25, 38, .82), rgba(12, 15, 23, .8));
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    backdrop-filter: blur(18px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 12px 32px -14px rgba(0, 0, 0, .8);
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.toc-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--hl);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    pointer-events: none;
}

.toc-bar__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(4, 99, 253, .16);
    box-shadow: inset 0 0 0 1px rgba(105, 180, 255, .28);
    color: var(--sky);
}

.toc-bar__icon .ico {
    width: 18px;
    height: 18px;
}

.toc-bar__label {
    flex: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.toc-bar__current {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13.5px;
    color: var(--muted);
}

.toc-bar__current:not(:empty)::before {
    content: "·";
    margin-right: 8px;
    color: var(--dim);
}

.toc-bar__current b {
    font: 500 11.5px/1 var(--font-mono);
    color: var(--sky);
    margin-right: 6px;
}

.toc-bar__chev {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--muted);
}

.sheet {
    position: fixed;
    inset: 0;
    z-index: 120;
}

.sheet[hidden] {
    display: none;
}

.sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 6, 11, .62);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .4s var(--ease-out);
}

.sheet.is-open .sheet__backdrop {
    opacity: 1;
}

.sheet__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    max-height: 84vh;
    max-height: 84dvh;
    padding-bottom: env(safe-area-inset-bottom);
    border-radius: 26px 26px 0 0;
    background:
        radial-gradient(80% 50% at 50% 0%, rgba(4, 99, 253, .1), rgba(4, 99, 253, 0) 70%),
        linear-gradient(180deg, #121723 0%, #0b0e16 60%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(255, 255, 255, .05), 0 -30px 80px -20px rgba(0, 0, 0, .8);
    transform: translate3d(0, calc(100% + 24px), 0);
    transition: transform .6s var(--ease-spring);
    will-change: transform;
}

.sheet.is-open .sheet__panel {
    transform: translate3d(0, var(--drag, 0px), 0);
}

.sheet.is-dragging .sheet__panel {
    transition: none;
}

.sheet__grip {
    display: grid;
    place-items: center;
    height: 22px;
    flex: none;
    touch-action: none;
}

.sheet__grip span {
    width: 38px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .18);
}

.sheet__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 2px 14px 14px 22px;
    border-bottom: 1px solid var(--line);
    flex: none;
    touch-action: none;
}

.sheet__title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.02em;
}

.sheet__count {
    margin-right: auto;
}

.sheet__close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
    color: var(--text);
    cursor: pointer;
}

.sheet__close .ico {
    width: 18px;
    height: 18px;
}

.sheet__nav {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 14px 16px 10px 18px;
    -webkit-overflow-scrolling: touch;
}

.sheet__nav .tocl__link {
    padding: 10px 10px 10px 18px;
    font-size: 15.5px;
    grid-template-columns: 34px minmax(0, 1fr);
}

.sheet__nav .tocl__no {
    font-size: 12px;
}

.sheet__nav .tocl__sublink {
    padding: 8px 10px 8px 52px;
    font-size: 14px;
}

.sheet__docs {
    display: flex;
    gap: 8px;
    flex: none;
    padding: 14px 18px 18px;
    border-top: 1px solid var(--line);
}

.sheet__docs a {
    flex: 1 1 0;
    display: grid;
    place-items: center;
    height: 40px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
    background: rgba(255, 255, 255, .03);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.sheet__docs a[aria-current="page"],
[data-doc="privacy"] .sheet__docs a[data-doc="privacy"],
[data-doc="terms"] .sheet__docs a[data-doc="terms"],
[data-doc="dmca"] .sheet__docs a[data-doc="dmca"] {
    color: var(--text);
    background: rgba(4, 99, 253, .16);
    box-shadow: inset 0 0 0 1px rgba(105, 180, 255, .35);
}

html.sheet-open,
html.sheet-open body {
    overflow: hidden;
}

/* calm band behind the nav + stuck contents bar so body text never shows between them */
.toc-scrim {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 39;
    height: calc(var(--nav-top) + var(--nav-h) + 10px + 48px + 30px);
    background: linear-gradient(180deg, rgba(10, 13, 21, .97) 0, rgba(10, 13, 21, .95) calc(100% - 30px), rgba(10, 13, 21, 0) 100%);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease-out), visibility 0s .35s;
    pointer-events: none;
}

html.toc-stuck .toc-scrim {
    opacity: 1;
    visibility: visible;
    transition: opacity .35s var(--ease-out), visibility 0s;
}

@media (min-width: 961px) {
    .toc-scrim {
        display: none;
    }
}

/* ============================================================ prose */
.prose {
    font-size: var(--prose-size);
    line-height: var(--prose-lh);
    color: var(--prose);
    font-feature-settings: "kern", "liga", "calt";
    hanging-punctuation: first;
    text-wrap: pretty;
    overflow-wrap: break-word;
}

.prose p,
.prose ul,
.prose ol,
.prose dl {
    margin: 0 0 1.15em;
}

.prose> :last-child,
.prose .article> :last-child {
    margin-bottom: 0;
}

.prose strong,
.prose b {
    font-weight: 600;
    color: var(--prose-strong);
}

.prose em,
.prose i {
    font-style: italic;
}

.prose abbr[title] {
    text-decoration: underline dotted rgba(255, 255, 255, .3);
    text-underline-offset: 3px;
    cursor: help;
}

.prose sup,
.prose sub {
    font-size: .72em;
    line-height: 0;
}

.prose code {
    padding: .12em .4em;
    border-radius: 6px;
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
    font: 500 .86em/1 var(--font-mono);
    color: var(--prose-strong);
}

.prose hr {
    height: 1px;
    margin: 3em 0;
    border: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0));
}

/* links */
.prose a:not(.btn):not(.h-anchor) {
    color: var(--link);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(105, 180, 255, .38);
    text-underline-offset: .22em;
    border-radius: 3px;
    transition: color .2s, text-decoration-color .2s;
}

.prose a:not(.btn):not(.h-anchor):hover {
    color: #fff;
    text-decoration-color: var(--sky);
}

/* articles */
.article {
    position: relative;
}

.article+.article {
    margin-top: clamp(72px, 8vw, 104px);
    padding-top: clamp(72px, 8vw, 104px);
}

.article+.article::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: min(100%, var(--measure));
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06) 60%, rgba(255, 255, 255, 0));
}

.prose h2 {
    position: relative;
    margin: 0;
    font-weight: 650;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.14;
    letter-spacing: -.032em;
    color: var(--text);
    text-wrap: balance;
}

.article-no {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font: 500 12px/1 var(--font-mono);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--sky);
}

.article-no::before {
    content: "";
    width: 22px;
    height: 1px;
    background: linear-gradient(90deg, var(--sky), rgba(105, 180, 255, .2));
    box-shadow: 0 0 8px rgba(105, 180, 255, .6);
}

.prose .article-lede {
    margin: 22px 0 0;
    padding-bottom: 6px;
    font-size: clamp(18px, 1.5vw, 19.5px);
    line-height: 1.62;
    letter-spacing: -.008em;
    color: #e2e7ef;
}

.prose .article-lede+* {
    margin-top: 1.6em;
}

.prose h3 {
    position: relative;
    margin: 2.6em 0 .75em;
    font-weight: 600;
    font-size: clamp(19px, 1.6vw, 21.5px);
    line-height: 1.32;
    letter-spacing: -.018em;
    color: var(--text);
    text-wrap: balance;
}

.prose h4 {
    margin: 2em 0 .6em;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--prose-strong);
}

.prose .article-lede+h3 {
    margin-top: 1.9em;
}

.h-no {
    margin-right: .55em;
    font: 500 .76em/1 var(--font-mono);
    letter-spacing: .01em;
    color: var(--dim);
    font-variant-numeric: tabular-nums;
}

/* heading copy-link buttons ("#") */
.h-anchor {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-left: .3em;
    padding: 0;
    border: 0;
    border-radius: 8px;
    vertical-align: .08em;
    background: transparent;
    font: 500 15px/1 var(--font-mono);
    color: var(--dim);
    cursor: pointer;
    opacity: 0;
    transition: opacity .25s, color .2s, background-color .2s, box-shadow .2s;
}

.prose h2 .h-anchor {
    vertical-align: .18em;
}

.prose h2:hover .h-anchor,
.prose h3:hover .h-anchor,
.h-anchor:focus-visible {
    opacity: 1;
}

.h-anchor:hover {
    color: var(--sky);
    background: rgba(105, 180, 255, .08);
    box-shadow: inset 0 0 0 1px rgba(105, 180, 255, .22);
}

.h-anchor.is-copied {
    opacity: 1;
    color: var(--green);
}

@media (hover: none) {
    .h-anchor {
        opacity: .45;
    }
}

/* lists */
.prose ul,
.prose ol {
    padding-left: 1.55em;
}

.prose li {
    margin: .5em 0;
    padding-left: .3em;
}

.prose li>p {
    margin: .5em 0;
}

.prose li>ul,
.prose li>ol {
    margin: .5em 0 .7em;
}

.prose ul {
    list-style: disc;
}

.prose ul>li::marker {
    color: rgba(105, 180, 255, .75);
    font-size: .95em;
}

.prose ul ul {
    list-style: circle;
}

.prose ol {
    list-style: decimal;
}

.prose ol>li::marker {
    font: 500 .82em/1 var(--font-mono);
    color: rgba(105, 180, 255, .85);
    font-variant-numeric: tabular-nums;
}

@counter-style cl-paren-alpha {
    system: extends lower-alpha;
    prefix: "(";
    suffix: ") ";
}

@counter-style cl-paren-roman {
    system: extends lower-roman;
    prefix: "(";
    suffix: ") ";
}

@counter-style cl-paren-upper {
    system: extends upper-alpha;
    prefix: "(";
    suffix: ") ";
}

@counter-style cl-paren-num {
    system: extends decimal;
    prefix: "(";
    suffix: ") ";
}

.prose ol.legal-alpha {
    list-style: lower-alpha;
    list-style: cl-paren-alpha;
    padding-left: 2.35em;
}

.prose ol.legal-roman,
.prose ol.legal-alpha ol {
    list-style: lower-roman;
    list-style: cl-paren-roman;
    padding-left: 3.1em;
}

.prose ol.legal-alpha ol ol,
.prose ol.legal-upper {
    list-style: upper-alpha;
    list-style: cl-paren-upper;
    padding-left: 2.4em;
}

.prose ol.legal-num {
    list-style: decimal;
    list-style: cl-paren-num;
    padding-left: 2.35em;
}

.prose ol.legal-alpha>li,
.prose ol.legal-roman>li,
.prose ol.legal-upper>li,
.prose ol.legal-num>li,
.prose ol.legal-alpha ol>li {
    padding-left: .45em;
}

/* statutory quotation */
.prose blockquote {
    margin: 2em 0;
}

.prose blockquote.statute {
    position: relative;
    overflow: hidden;
    padding: 24px 28px 22px 30px;
    border-radius: 18px;
    background:
        radial-gradient(70% 120% at 0% 0%, rgba(4, 99, 253, .09), rgba(4, 99, 253, 0) 60%),
        linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 50px -30px rgba(0, 0, 0, .8);
}

.prose blockquote.statute::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 2px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(180deg, #cfe6ff, var(--sky) 35%, var(--blue));
    box-shadow: 0 0 12px rgba(105, 180, 255, .7);
}

.prose blockquote.statute::after {
    content: "§";
    position: absolute;
    right: 18px;
    bottom: -34px;
    font: 700 120px/1 var(--font-sans);
    color: rgba(105, 180, 255, .06);
    pointer-events: none;
}

.prose blockquote.statute p {
    position: relative;
    margin: 0 0 .8em;
    font-size: .96em;
    line-height: 1.72;
    color: #dde3ec;
}

.prose blockquote.statute p:last-of-type {
    margin-bottom: 0;
}

.prose blockquote.statute cite {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    font: 500 12px/1.4 var(--font-mono);
    font-style: normal;
    letter-spacing: .04em;
    color: var(--sky);
}

.prose blockquote.statute cite::before {
    content: "";
    width: 16px;
    height: 1px;
    background: rgba(105, 180, 255, .55);
    flex: none;
}

.prose blockquote:not(.statute) {
    padding: 2px 0 2px 22px;
    border-left: 2px solid var(--line-strong);
    color: #d6dce6;
}

/* callout */
.prose .callout {
    position: relative;
    margin: 2em 0;
    padding: 20px 24px 20px 58px;
    border-radius: 18px;
    background:
        radial-gradient(90% 140% at 0% 0%, rgba(4, 99, 253, .16), rgba(4, 99, 253, .04) 55%, rgba(4, 99, 253, 0)),
        rgba(13, 17, 26, .7);
    box-shadow: inset 0 0 0 1px rgba(105, 180, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .06);
    color: #d9e0eb;
}

.prose .callout::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 23px;
    width: 20px;
    height: 20px;
    background: var(--sky);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.75'/%3E%3Cpath d='M12 11v5.25'/%3E%3Cpath d='M12 7.85v.01' stroke-width='2.2'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.75'/%3E%3Cpath d='M12 11v5.25'/%3E%3Cpath d='M12 7.85v.01' stroke-width='2.2'/%3E%3C/svg%3E") center / contain no-repeat;
    filter: drop-shadow(0 0 6px rgba(105, 180, 255, .6));
}

.prose .callout p {
    margin: 0 0 .7em;
    font-size: .97em;
    line-height: 1.7;
}

.prose .callout> :last-child {
    margin-bottom: 0;
}

.prose .callout strong {
    color: #fff;
}

.prose .callout.warning,
.prose .callout--warning {
    background: radial-gradient(90% 140% at 0% 0%, rgba(255, 170, 60, .12), rgba(255, 170, 60, .03) 55%, rgba(255, 170, 60, 0)), rgba(20, 16, 12, .6);
    box-shadow: inset 0 0 0 1px rgba(255, 190, 110, .22), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.prose .callout.warning::before,
.prose .callout--warning::before {
    background: #ffbe6e;
    filter: drop-shadow(0 0 6px rgba(255, 170, 60, .5));
}

/* tables — each sits in its own scroll container (legal.js wraps it) */
.table-wrap {
    position: relative;
    margin: 2em 0;
    border-radius: 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .14) transparent;
    background:
        linear-gradient(90deg, #0d1018 30%, rgba(13, 16, 24, 0)) left center / 40px 100% no-repeat local,
        linear-gradient(270deg, #0d1018 30%, rgba(13, 16, 24, 0)) right center / 40px 100% no-repeat local,
        radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)) left center / 14px 100% no-repeat scroll,
        radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)) right center / 14px 100% no-repeat scroll,
        #0d1018;
    box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.table-hint {
    display: none;
    align-items: center;
    gap: 8px;
    margin: -1.2em 0 1.7em !important;
    font: 500 10.5px/1 var(--font-mono);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--dim);
}

.table-hint::after {
    content: "→";
    letter-spacing: 0;
    color: var(--sky);
}

.table-wrap.is-scrollable+.table-hint {
    display: flex;
}

.table-wrap::-webkit-scrollbar {
    height: 8px;
}

.table-wrap::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .12);
    border-radius: 8px;
    border: 2px solid #0d1018;
}

.table-wrap:focus-visible {
    outline-offset: 2px;
    border-radius: 18px;
}

.prose table.legal-table {
    width: 100%;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14.5px;
    line-height: 1.6;
    font-variant-numeric: tabular-nums;
}

.no-js .prose table.legal-table {
    display: block;
    overflow-x: auto;
    margin: 2em 0;
}

.prose table.legal-table caption {
    padding: 16px 20px 4px;
    text-align: left;
    caption-side: top;
    font: 500 11px/1.4 var(--font-mono);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.prose table.legal-table th,
.prose table.legal-table td {
    min-width: 9em;
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
}

.prose table.legal-table thead th {
    padding-top: 15px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, .025);
    font: 500 11px/1.45 var(--font-mono);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8f98aa;
    white-space: nowrap;
}

.prose table.legal-table tbody tr+tr>* {
    border-top: 1px solid var(--line);
}

.prose table.legal-table tbody th,
.prose table.legal-table tbody td:first-child {
    color: var(--prose-strong);
    font-weight: 500;
}

.prose table.legal-table tbody th[scope="row"] {
    width: 34%;
}

.prose table.legal-table tbody tr {
    transition: background-color .2s;
}

.prose table.legal-table tbody tr:hover {
    background: rgba(255, 255, 255, .018);
}

.prose table.legal-table td> :last-child {
    margin-bottom: 0;
}

.prose table.legal-table ul,
.prose table.legal-table ol {
    padding-left: 1.2em;
    margin: 0;
}

.prose table.legal-table li {
    margin: .25em 0;
}

/* definitions */
.prose dl.definitions {
    display: grid;
    grid-template-columns: minmax(140px, 11.5em) minmax(0, 1fr);
    column-gap: 0;
    margin: 2em 0;
    border-top: 1px solid var(--line);
}

.prose dl.definitions dt,
.prose dl.definitions dd {
    margin: 0;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.prose dl.definitions dt {
    grid-column: 1;
    padding-right: 28px;
    font-weight: 600;
    font-size: .97em;
    line-height: 1.55;
    color: var(--text);
}

.prose dl.definitions dt::before {
    content: "“";
    color: var(--sky);
    margin-right: .06em;
}

.prose dl.definitions dt::after {
    content: "”";
    color: var(--sky);
    margin-left: .04em;
}

.prose dl.definitions dd {
    grid-column: 2;
}

.prose dl.definitions dd> :last-child {
    margin-bottom: 0;
}

.prose dl:not(.definitions) dt {
    font-weight: 600;
    color: var(--prose-strong);
}

.prose dl:not(.definitions) dd {
    margin: .2em 0 1em;
}

/* placeholder slots — dashed blue pill like the footer registration slot; plain text once filled */
.lp {
    display: inline;
    padding: .1em .55em .12em;
    border: 1px dashed rgba(105, 180, 255, .55);
    border-radius: 999px;
    background: rgba(4, 99, 253, .08);
    font: 500 .8em/1.6 var(--font-mono);
    letter-spacing: .01em;
    color: var(--sky);
    white-space: normal;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.lp.is-filled {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    font: inherit;
    letter-spacing: inherit;
    color: inherit;
}

/* end of document */
.doc-end {
    margin-top: clamp(72px, 8vw, 104px);
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.doc-end__rule {
    display: none;
}

.doc-end__label {
    color: var(--muted);
}

.doc-end__meta {
    margin: 12px 0 0 !important;
    font-size: 14.5px;
    color: var(--dim);
}

.doc-end__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.doc-end__actions .ico {
    width: 16px;
    height: 16px;
}

/* related documents */
.doc-related {
    margin-top: clamp(88px, 10vw, 136px);
}

.doc-related__label {
    margin-bottom: 18px;
}

.doc-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

html[data-doc="privacy"] .rcard[data-doc="privacy"],
html[data-doc="terms"] .rcard[data-doc="terms"],
html[data-doc="dmca"] .rcard[data-doc="dmca"] {
    display: none;
}

html[data-doc="privacy"] .doc-related__grid,
html[data-doc="terms"] .doc-related__grid,
html[data-doc="dmca"] .doc-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rcard {
    --hl: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04) 40%, rgba(255, 255, 255, .03));
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "icon title go" "icon text text";
    align-items: center;
    gap: 6px 16px;
    padding: 22px 22px 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
    text-decoration: none;
    color: var(--text);
    transition: background-color .3s, transform .5s var(--ease-out), box-shadow .4s;
}

.rcard::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--hl);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    pointer-events: none;
}

.rcard:hover {
    background-color: rgba(255, 255, 255, .025);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -24px rgba(4, 99, 253, .55);
}

.rcard__icon {
    grid-area: icon;
    align-self: start;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(4, 99, 253, .14);
    box-shadow: inset 0 0 0 1px rgba(105, 180, 255, .26), inset 0 1px 0 rgba(255, 255, 255, .08);
    color: var(--sky);
}

.rcard__icon .ico {
    width: 20px;
    height: 20px;
}

.rcard__title {
    grid-area: title;
    font-size: 16.5px;
    font-weight: 600;
    letter-spacing: -.015em;
}

.rcard__text {
    grid-area: text;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

.rcard__go {
    grid-area: go;
    color: var(--dim);
    transition: color .3s, transform .45s var(--ease-out);
}

.rcard__go .ico {
    width: 18px;
    height: 18px;
}

.rcard:hover .rcard__go {
    color: var(--sky);
    transform: translate(2px, -2px);
}

/* footer: same width as on index.html */
.lfooter .lcontainer {
    max-width: calc(var(--maxw) + var(--gutter) * 2);
}

.lfooter .footer__links a[aria-current="page"],
[data-doc="privacy"] .lfooter .footer__links a[data-doc="privacy"],
[data-doc="terms"] .lfooter .footer__links a[data-doc="terms"],
[data-doc="dmca"] .lfooter .footer__links a[data-doc="dmca"] {
    color: var(--text);
}

/* back to top (with a reading-progress ring) */
.totop {
    position: fixed;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 70;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(22, 28, 42, .86), rgba(12, 15, 23, .86));
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 14px 34px -12px rgba(0, 0, 0, .85);
    color: var(--text);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(.92);
    transition: opacity .4s var(--ease-out), transform .6s var(--spring), visibility 0s .4s, background-color .3s;
}

.totop.is-on {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .4s var(--ease-out), transform .6s var(--spring), visibility 0s, background-color .3s;
}

.totop:hover {
    background: linear-gradient(180deg, rgba(30, 38, 56, .92), rgba(16, 20, 30, .92));
}

.totop__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.totop__ring circle {
    fill: none;
    stroke-width: 1.5;
    stroke: rgba(255, 255, 255, .1);
}

.totop__ring .totop__val {
    stroke: var(--sky);
    stroke-linecap: round;
    stroke-dasharray: 100 100;
    stroke-dashoffset: calc(100 - var(--p, 0) * 100);
    filter: drop-shadow(0 0 3px rgba(105, 180, 255, .8));
}

.totop__ico {
    position: relative;
    width: 19px;
    height: 19px;
    transition: transform .45s var(--ease-out);
}

.totop:hover .totop__ico {
    transform: translateY(-2px);
}

/* toast */
.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 130;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 42px;
    padding: 0 18px 0 14px;
    border-radius: 999px;
    background: rgba(18, 23, 34, .92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 40px -14px rgba(0, 0, 0, .9);
    font-size: 14px;
    color: var(--text);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 14px) scale(.96);
    transition: opacity .35s var(--ease-out), transform .55s var(--spring), visibility 0s .35s;
    pointer-events: none;
}

.toast .ico {
    width: 17px;
    height: 17px;
    color: var(--green);
    stroke-width: 2;
}

.toast.is-on {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition: opacity .35s var(--ease-out), transform .55s var(--spring), visibility 0s;
}

/* ============================================================ responsive */
@media (max-width: 1120px) {
    :root {
        --toc-w: 232px;
    }
}

@media (max-width: 960px) {
    :root {
        --prose-size: 16.75px;
    }

    html.legal-page {
        scroll-padding-top: calc(var(--nav-top) + var(--nav-h) + 76px);
    }

    .doc-layout {
        display: block;
        margin-top: clamp(48px, 8vw, 72px);
    }

    .toc {
        display: none;
    }

    .toc-bar {
        display: flex;
    }

    .prose {
        max-width: var(--measure);
        margin-inline: auto;
    }

    .toc-bar {
        max-width: var(--measure);
        margin-inline: auto;
    }

    .doc-related {
        max-width: none;
    }

    .doc-hero__glyph {
        font-size: clamp(200px, 40vw, 320px);
        opacity: .8;
    }
}

@media (min-width: 961px) {
    .sheet {
        display: none !important;
    }
}

@media (max-width: 760px) {
    .keypoints__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .doc-related__grid,
    html[data-doc] .doc-related__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .prose dl.definitions {
        display: block;
    }

    .prose dl.definitions dt {
        padding: 18px 0 6px;
        border-bottom: 0;
    }

    .prose dl.definitions dd {
        padding: 0 0 18px;
    }
}

@media (max-width: 640px) {
    :root {
        --prose-size: 16.5px;
        --prose-lh: 1.72;
    }

    .lnav {
        gap: 10px;
    }

    .lnav__links {
        display: none;
    }

    .lnav__actions {
        margin-left: auto;
    }

    .lprogress {
        left: 26px;
        right: 26px;
    }

    .doc-hero {
        padding-top: calc(var(--nav-top) + var(--nav-h) + 28px);
    }

    .doc-switch {
        display: flex;
        gap: 4px;
        width: 100%;
        margin-bottom: 36px;
        padding: 4px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .03);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
    }

    .doc-switch a {
        flex: 1 1 0;
        display: grid;
        place-items: center;
        height: 36px;
        border-radius: 999px;
        font-size: 14px;
        color: var(--muted);
        text-decoration: none;
        transition: color .25s, background-color .25s;
    }

    .doc-switch a[aria-current="page"],
    [data-doc="privacy"] .doc-switch a[data-doc="privacy"],
    [data-doc="terms"] .doc-switch a[data-doc="terms"],
    [data-doc="dmca"] .doc-switch a[data-doc="dmca"] {
        color: var(--text);
        background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .05));
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .1);
    }

    .doc-title {
        margin-top: 20px;
        font-size: clamp(38px, 11vw, 52px);
        letter-spacing: -.045em;
    }

    .doc-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-top: 22px;
        font-size: 14px;
    }

    .doc-meta li+li::before {
        display: none;
    }

    .doc-hero__glyph {
        top: calc(var(--nav-top) + var(--nav-h) + 60px);
        right: -24px;
        font-size: 230px;
        opacity: .7;
    }

    .keypoints {
        margin-top: 36px;
    }

    .keypoints__head {
        flex-direction: column;
        gap: 10px;
    }

    .keypoints__list>li {
        font-size: 15px;
        padding: 15px 0 16px 30px;
    }

    .keypoints__list>li::before {
        top: 21px;
    }

    .toc-bar {
        margin-bottom: 32px;
    }

    .prose h2 {
        font-size: clamp(25px, 7vw, 30px);
    }

    .article-no {
        margin-bottom: 14px;
    }

    .prose .article-lede {
        font-size: 17.5px;
    }

    .prose h3 {
        margin-top: 2.3em;
        font-size: 18.5px;
    }

    .article+.article {
        margin-top: 64px;
        padding-top: 64px;
    }

    .prose ul,
    .prose ol {
        padding-left: 1.3em;
    }

    .prose ol.legal-alpha {
        padding-left: 2.15em;
    }

    .prose ol.legal-roman,
    .prose ol.legal-alpha ol {
        padding-left: 2.85em;
    }

    .prose .callout {
        padding: 18px 18px 18px 50px;
    }

    .prose .callout::before {
        left: 18px;
        top: 21px;
    }

    .prose blockquote.statute {
        padding: 20px 20px 18px 22px;
    }

    .prose table.legal-table {
        font-size: 14px;
    }

    .prose table.legal-table th,
    .prose table.legal-table td {
        min-width: 8.5em;
        padding: 12px 14px;
    }

    .h-anchor {
        width: 26px;
        height: 26px;
    }

    .rcard {
        padding: 18px 18px 20px;
    }

    .totop {
        width: 46px;
        height: 46px;
        right: 14px;
        bottom: 14px;
    }
}

@media (max-width: 359px) {

    /* same as index.html: below 360px the Search label no longer fits beside the lockup,
     so the button becomes a round magnifier (the lockup keeps its divider at every width) */
    .lnav__search .btn__label {
        display: none;
    }

    .lnav__search {
        width: 40px;
        padding: 0;
    }
}

/* ============================================================ reduced motion */
@media (prefers-reduced-motion: reduce) {

    .tocl__marker,
    .tocl__subwrap,
    .sheet__panel,
    .sheet__backdrop,
    .totop,
    .toast,
    .rcard {
        transition: none !important;
    }
}

/* ============================================================ print */
@media print {
    @page {
        margin: 18mm 16mm 20mm;
    }

    :root {
        --prose: #1d2330;
        --prose-strong: #000;
        --text: #000;
        --muted: #444;
        --dim: #666;
        --line: #d4d8df;
        --link: #0a3fa8;
    }

    html {
        color-scheme: light !important;
    }

    html,
    body {
        background: #fff !important;
        color: #111 !important;
    }

    html {
        scroll-padding-top: 0 !important;
    }

    body {
        font-size: 10.5pt;
    }

    .site-header,
    .skip-link,
    .doc-hero__fx,
    .doc-switch,
    .toc,
    .toc-bar,
    .sheet,
    .totop,
    .toast,
    .grain,
    .h-anchor,
    .table-hint,
    .toc-scrim,
    .doc-related,
    .doc-end__actions,
    .footer__word,
    .lprogress,
    .doc-eyebrow .ico {
        display: none !important;
    }

    .doc-hero {
        padding-top: 0 !important;
    }

    .container,
    .lcontainer {
        max-width: none !important;
        padding: 0 !important;
    }

    .doc-eyebrow {
        height: auto;
        padding: 0;
        background: none;
        box-shadow: none;
        color: #555;
    }

    .doc-title {
        margin-top: 6pt;
        font-size: 26pt;
        color: #000 !important;
        -webkit-text-fill-color: #000;
        background: none;
        max-width: none;
    }

    .doc-meta {
        margin-top: 8pt;
        font-size: 9.5pt;
        color: #444;
    }

    .doc-meta .ico {
        color: #777;
    }

    .doc-meta__v,
    .doc-meta__k {
        color: #222;
    }

    .keypoints {
        margin-top: 14pt;
        padding: 0;
        background: none !important;
        box-shadow: none !important;
        border-radius: 0;
        break-inside: avoid;
    }

    .keypoints::before,
    .keypoints::after,
    .keypoints__core::before,
    .keypoints__core::after {
        display: none !important;
    }

    .keypoints__core {
        padding: 10pt 12pt !important;
        border: 1px solid #c9ced8;
        border-radius: 6pt;
        background: #f6f7f9 !important;
        box-shadow: none !important;
    }

    .keypoints__title,
    .keypoints__list>li {
        color: #111 !important;
    }

    .keypoints__dot {
        display: none;
    }

    .keypoints__list {
        grid-template-columns: 1fr 1fr;
    }

    .keypoints__list>li {
        padding: 6pt 0 6pt 20pt;
        font-size: 9.5pt;
        border-color: #dde1e7;
    }

    .keypoints__list>li::before {
        top: 8.5pt;
        font-size: 8pt;
        color: #0a3fa8;
    }

    .doc-layout {
        display: block !important;
        margin-top: 18pt !important;
    }

    .prose {
        max-width: none !important;
        font-size: 10.5pt;
        line-height: 1.55;
        color: #1d2330 !important;
    }

    .prose .article>*,
    .prose>.doc-end {
        max-width: none !important;
    }

    .prose ol>li::marker,
    .prose ul>li::marker {
        color: #0a3fa8;
    }

    .prose h2 {
        font-size: 16pt;
        color: #000;
        break-after: avoid;
    }

    .prose h3 {
        font-size: 12pt;
        margin-top: 14pt;
        color: #000;
        break-after: avoid;
    }

    .article-no {
        color: #0a3fa8;
        margin-bottom: 6pt;
    }

    .article-no::before {
        background: #0a3fa8;
        box-shadow: none;
    }

    .article+.article {
        margin-top: 20pt;
        padding-top: 16pt;
    }

    .article+.article::before {
        background: #c9ced8;
    }

    .prose .article-lede {
        font-size: 11.5pt;
        color: #222;
    }

    .h-no {
        color: #666;
    }

    .prose p,
    .prose li {
        orphans: 3;
        widows: 3;
    }

    .prose a:not(.btn):not(.h-anchor) {
        color: #0a3fa8 !important;
        text-decoration: underline;
    }

    .prose a[href]:not([href^="#"]):not([href^="mailto:"]):not([href^="tel:"])::after,
    .keypoints a[href]:not([href^="#"])::after {
        content: " (" attr(href) ")";
        font-size: .82em;
        color: #555;
        word-break: break-all;
    }

    .prose blockquote.statute,
    .prose .callout,
    .table-wrap,
    .prose dl.definitions {
        break-inside: avoid;
    }

    .prose blockquote.statute {
        background: #f6f7f9 !important;
        box-shadow: none !important;
        border: 1px solid #d4d8df;
        border-left: 3px solid #0a3fa8;
        border-radius: 4pt;
    }

    .prose blockquote.statute::before,
    .prose blockquote.statute::after {
        display: none;
    }

    .prose blockquote.statute p {
        color: #111;
    }

    .prose blockquote.statute cite {
        color: #0a3fa8;
    }

    .prose .callout {
        background: #eef4ff !important;
        box-shadow: none !important;
        border: 1px solid #b9cdf2;
        border-radius: 4pt;
        color: #111;
        padding-left: 14pt;
    }

    .prose .callout::before {
        display: none;
    }

    .prose .callout strong {
        color: #000;
    }

    .table-wrap {
        overflow: visible !important;
        background: none !important;
        box-shadow: none !important;
        border: 1px solid #c9ced8;
        border-radius: 4pt;
    }

    .prose table.legal-table thead th {
        background: #f1f3f6;
        color: #333;
        border-color: #c9ced8;
        white-space: normal;
    }

    .prose table.legal-table th,
    .prose table.legal-table td {
        min-width: 0;
        padding: 6pt 8pt;
    }

    .prose table.legal-table tr {
        break-inside: avoid;
    }

    .prose table.legal-table tbody tr+tr>* {
        border-color: #dde1e7;
    }

    .prose dl.definitions dt::before,
    .prose dl.definitions dt::after {
        color: #0a3fa8;
    }

    .lp {
        padding: 0 2pt;
        border: 1px dashed #888;
        border-radius: 3pt;
        background: none !important;
        color: #000 !important;
        font: inherit;
    }

    .lp.is-filled {
        padding: 0;
        border: 0;
    }

    .doc-end {
        margin-top: 20pt;
        padding-top: 10pt;
    }

    .footer {
        margin-top: 18pt !important;
        padding-top: 10pt !important;
        border-top: 1px solid #c9ced8;
        background: none !important;
        break-inside: avoid;
    }

    .footer__legal {
        margin-top: 8pt !important;
        padding-top: 8pt !important;
        border-color: #dde1e7;
    }

    .footer__us,
    .footer__reg,
    .footer__copy,
    .footer__links a {
        color: #333 !important;
    }

    .reg-slot {
        color: #000;
    }

    .brand__name {
        color: #000;
    }

    .bezel {
        background: none !important;
        box-shadow: none !important;
    }
}