/* ═══════════════════════════════════════════════════════════════════════════
   legal.css — policy pages (privacy.html). Shared theme is in site.css.
   ═══════════════════════════════════════════════════════════════════════════ */

html.native-dark .lg {
    max-width: 1080px;
    margin: 0 auto;
    padding: 48px 32px 88px;
}

html.native-dark .lg-head { margin-bottom: 36px; }

html.native-dark .lg-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-movie);
    margin-bottom: 10px;
}

html.native-dark .lg-head h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: var(--text);
}

html.native-dark .lg-updated { margin-top: 10px; font-size: 0.9rem; color: var(--text-3); }

html.native-dark .lg-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

/* Table of contents */
html.native-dark .lg-toc {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0;
    border: 0;
    justify-content: flex-start;
}

html.native-dark .lg-toc p {
    margin-bottom: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
}

html.native-dark .lg-toc a {
    padding: 6px 10px;
    margin-left: -10px;
    border-radius: 8px;
    font-size: 0.86rem;
    color: var(--text-2);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

html.native-dark .lg-toc a:hover { background: var(--surface); color: var(--text); }

/* Body copy */
html.native-dark .lg-body { max-width: 720px; }

html.native-dark .lg-body h2 {
    margin: 44px 0 14px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    scroll-margin-top: calc(var(--header-h) + 24px);
}

html.native-dark .lg-body h3 {
    margin: 22px 0 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

html.native-dark .lg-body p,
html.native-dark .lg-body li {
    font-size: 0.97rem;
    line-height: 1.7;
    color: var(--text-2);
}

html.native-dark .lg-body p { margin-bottom: 12px; }
html.native-dark .lg-body strong { color: var(--text); font-weight: 600; }

html.native-dark .lg-body ul {
    margin: 0 0 14px;
    padding-left: 20px;
}

html.native-dark .lg-body li { margin-bottom: 6px; }
html.native-dark .lg-body li::marker { color: var(--text-3); }

html.native-dark .lg-body a {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: var(--text-3);
    text-underline-offset: 3px;
}

html.native-dark .lg-body a:hover { text-decoration-color: var(--text); }

/* Summary card */
html.native-dark .lg-summary {
    margin-bottom: 28px;
    padding: 22px 24px;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--c-movie) 35%, transparent);
    background: linear-gradient(135deg, color-mix(in srgb, var(--c-movie) 14%, var(--surface)), var(--surface) 70%);
}

html.native-dark .lg-summary h2 { margin: 0 0 12px; font-size: 1.1rem; }
html.native-dark .lg-summary ul { margin: 0; }
html.native-dark .lg-summary li { color: var(--text); }

html.native-dark .lg-services { list-style: none; padding-left: 0; }

html.native-dark .lg-services li {
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
}

html.native-dark .lg-services a { margin-left: 4px; white-space: nowrap; }

html.native-dark .lg-note {
    padding: 14px 16px;
    border-left: 3px solid var(--line-2);
    border-radius: 0 10px 10px 0;
    background: var(--surface);
}

/* Public / private table */
html.native-dark .lg-table-wrap {
    overflow-x: auto;
    margin: 6px 0 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
}

html.native-dark .lg-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

html.native-dark .lg-table th,
html.native-dark .lg-table td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
    color: var(--text-2);
    line-height: 1.5;
}

html.native-dark .lg-table th {
    background: var(--surface);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-3);
}

html.native-dark .lg-table tr:last-child td { border-bottom: 0; }
html.native-dark .lg-table td:first-child { color: var(--text); font-weight: 500; white-space: nowrap; }

html.native-dark .lg-pill {
    display: inline-block;
    margin-right: 6px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--surface-3);
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

html.native-dark .lg-pill.is-public {
    background: rgba(251, 191, 36, 0.15);
    color: #fcd34d;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
    html.native-dark .lg-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
    html.native-dark .lg-toc { display: none; }
}

@media (max-width: 768px) {
    html.native-dark .lg { padding: 32px 16px 64px; }
    html.native-dark .lg-table td:first-child { white-space: normal; }
}
