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

html {
    overflow-x: clip;
    background: #fff;
    color-scheme: light;
    scroll-behavior: smooth;
}

body.privacy-page {
    --app-font-family: "Inter", system-ui, sans-serif;
    --app-font-weight-regular: 400;
    --app-font-weight-bold: 700;
    --app-type-page-size: 18px;
    --app-type-page-line: 22px;
    --app-type-body-size: 16px;
    --app-type-body-line: 20px;
    --app-letter-spacing: -0.7px;
    --app-page-inline: clamp(14px, 4.071cqi, 18px);
    width: min(100%, 450px);
    min-height: 100svh;
    margin: 0 auto;
    overflow-x: clip;
    container-name: privacy-frame;
    container-type: inline-size;
    background: #fff;
    color: #000;
    font-family: var(--app-font-family);
    font-size: var(--app-type-body-size);
    font-weight: var(--app-font-weight-regular);
    line-height: var(--app-type-body-line);
    letter-spacing: var(--app-letter-spacing);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

.privacy-page :where(a, button, code, dd, dt, li, p, td, th) {
    color: #000;
    font: inherit;
}

.privacy-page :where(strong, b) {
    font-weight: inherit;
}

.privacy-page a {
    text-decoration-color: currentColor;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

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

.privacy-page :where(a, button):focus-visible {
    outline: 3px solid #000;
    outline-offset: 3px;
}

.privacy-shell {
    width: 100%;
    min-height: 100svh;
    padding: max(22px, env(safe-area-inset-top))
        var(--app-page-inline)
        max(18px, env(safe-area-inset-bottom));
}

.privacy-page .app-type-body {
    font-family: var(--app-font-family);
    font-size: var(--app-type-body-size);
    font-weight: var(--app-font-weight-regular);
    line-height: var(--app-type-body-line);
}

.privacy-page .app-type-page-title {
    margin: 0;
    color: #000;
    font-family: var(--app-font-family);
    font-size: var(--app-type-page-size);
    font-weight: var(--app-font-weight-bold);
    line-height: var(--app-type-page-line);
    text-transform: uppercase;
}

.privacy-hero {
    display: grid;
    gap: 16px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.16);
    background: #fff;
    color: #000;
}

.privacy-hero :where(p) {
    margin: 0;
}

.privacy-hero h1 {
    overflow-wrap: anywhere;
}

.privacy-notice {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 22px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.16);
    background: #fff;
    color: #000;
}

.privacy-notice p {
    margin: 0;
}

.privacy-document {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.privacy-document section {
    min-width: 0;
    padding: 22px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.16);
    background: #fff;
    color: #000;
}

.privacy-document h2 {
    margin-bottom: 14px;
}

.privacy-document :where(p, ul, dl) {
    margin-top: 0;
    margin-bottom: 14px;
}

.privacy-document section > :last-child {
    margin-bottom: 0;
}

.privacy-document ul {
    padding-left: 22px;
}

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

.privacy-details {
    display: grid;
    gap: 0;
    margin: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.16);
}

.privacy-details div {
    display: grid;
    gap: 4px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.16);
}

.privacy-details dt,
.privacy-details dd {
    margin: 0;
}

.privacy-table-wrap {
    max-width: 100%;
    margin-bottom: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    border-block: 1px solid rgba(0, 0, 0, 0.16);
    background: #fff;
}

.privacy-page table {
    width: 100%;
    min-width: 660px;
    border-collapse: collapse;
    background: #fff;
}

.privacy-page :where(th, td) {
    padding: 10px;
    border-right: 1px solid rgba(0, 0, 0, 0.16);
    border-bottom: 1px solid rgba(0, 0, 0, 0.16);
    background: #fff;
    text-align: left;
    vertical-align: top;
}

.privacy-page :where(th, td):last-child {
    border-right: 0;
}

.privacy-page tbody tr:last-child td {
    border-bottom: 0;
}

.privacy-page code {
    overflow-wrap: anywhere;
    background: #fff;
    font-family: var(--app-font-family);
}

.privacy-warning,
.analytics-preference-controls {
    padding: 14px;
    border: 1px solid #000;
    background: #fff;
    color: #000;
}

.analytics-preference-controls {
    display: grid;
    gap: 12px;
    margin: 14px 0;
}

.analytics-preference-controls p {
    margin: 0;
}

.analytics-preference-controls > div {
    display: grid;
    gap: 8px;
}

.analytics-preference-controls button {
    min-height: 44px;
    border: 1px solid #000;
    border-radius: 12px;
    padding: 10px 14px;
    background: #fff;
    color: #000;
    cursor: pointer;
}

.analytics-preference-controls button:hover {
    background: #fff;
    box-shadow: inset 0 0 0 1px #000;
}

.privacy-footer {
    display: grid;
    gap: 10px;
    padding-top: 22px;
    background: #fff;
    color: #000;
    text-align: center;
}

.privacy-footer p {
    margin: 0;
}

.privacy-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}
