/* Standalone styling for the legal pages.

   Deliberately self-contained and plain: these pages are read by app-store
   reviewers and by users who just want the facts. No marketing, no imagery,
   no links back to the companion bots. */

:root {
    color-scheme: dark light;
    --bg: #060608;
    --surface: #101014;
    --border: #24242c;
    --text: #e8e8ee;
    --muted: #9a9aa8;
    --accent: #7c6cff;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #ffffff;
        --surface: #f6f6f9;
        --border: #e2e2ea;
        --text: #16161c;
        --muted: #5c5c68;
        --accent: #5b45e0;
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0 20px 80px;
    background: var(--bg);
    color: var(--text);
    font: 400 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          Helvetica, Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 760px; margin: 0 auto; }

header.doc-head {
    padding: 40px 0 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

.brand {
    font-weight: 800;
    letter-spacing: .02em;
    font-size: 1.05rem;
    text-decoration: none;
    color: var(--text);
}
.brand span { color: var(--accent); }

h1 { font-size: 1.9rem; line-height: 1.2; margin: 20px 0 8px; }
h2 { font-size: 1.2rem; margin: 36px 0 10px; }
h3 { font-size: 1rem; margin: 24px 0 8px; }

.updated { color: var(--muted); font-size: .9rem; margin: 0; }

p, li { color: var(--text); }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }

a { color: var(--accent); }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: .95rem;
}
th, td {
    text-align: left;
    padding: 10px 12px;
    border: 1px solid var(--border);
    vertical-align: top;
}
th { background: var(--surface); font-weight: 600; }

.callout {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 18px;
    margin: 20px 0;
}

.table-scroll { overflow-x: auto; }

footer.doc-foot {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: .9rem;
}
footer.doc-foot a { margin-right: 14px; }
