/* Standalone document pages (privacy policy, account deletion). Deliberately
   NOT style.css: these have to render for someone who has never opened the app
   — a Play reviewer, or a former user with no account — so they carry no
   dependency on the SPA's stylesheet, its theme variables or its icon font. */
:root {
    --ink: #202124;
    --sub: #5f6368;
    --line: #e4e7eb;
    --accent: #1A73E8;
    --bg: #ffffff;
}
@media (prefers-color-scheme: dark) {
    :root { --ink: #e8eaed; --sub: #9aa0a6; --line: #33373b; --accent: #8AB4F8; --bg: #16181a; }
}
* { box-sizing: border-box; }
body {
    margin: 0;
    padding: 0 20px 72px;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    -webkit-text-size-adjust: 100%;
}
.legal-wrap { max-width: 720px; margin: 0 auto; }
.legal-head {
    display: flex; align-items: center; gap: 10px;
    padding: 22px 0 18px; margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.legal-logo {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 21px; font-weight: 700; letter-spacing: -0.02em;
    color: var(--ink); text-decoration: none;
}
.legal-logo span { color: var(--accent); }
.legal-back { margin-left: auto; font-size: 14px; color: var(--accent); text-decoration: none; }
h1 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 28px; font-weight: 700; line-height: 1.25;
    margin: 0 0 6px; letter-spacing: -0.02em;
}
h2 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 18px; font-weight: 700;
    margin: 36px 0 10px;
}
.legal-updated { color: var(--sub); font-size: 13.5px; margin: 0 0 8px; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 7px; }
a { color: var(--accent); }
strong { font-weight: 600; }
/* For the one or two literal names these pages have to quote exactly (a cookie
   name), so they don't read as ordinary prose. */
code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9em;
    padding: 1px 5px;
    border-radius: 5px;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    word-break: break-word;
}
table {
    width: 100%; border-collapse: collapse; margin: 0 0 18px;
    font-size: 14px; display: block; overflow-x: auto;
}
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; white-space: nowrap; }
.legal-note {
    padding: 14px 16px; margin: 0 0 20px;
    background: color-mix(in srgb, var(--accent) 8%, transparent);
    border-radius: 12px; font-size: 14px;
}
.legal-steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 20px; }
.legal-steps li {
    counter-increment: step; position: relative;
    padding: 0 0 0 40px; margin-bottom: 16px;
}
.legal-steps li::before {
    content: counter(step);
    position: absolute; left: 0; top: 1px;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--accent); color: #fff;
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 13px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.legal-foot {
    margin-top: 44px; padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--sub); font-size: 13.5px;
}
