/* Shared styling for the published legal pages. Deliberately dependency-free: these
   pages are served by GitHub Pages and are linked from Google Play Console, so they
   must render with no network fetches and no build step. */

:root {
    color-scheme: light dark;
    --bg: #ffffff;
    --card: #f6f8f4;
    --text: #16210f;
    --text-soft: #4d5a44;
    --accent: #3f7d1e;
    --divider: #dfe6d8;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0e1a0a;
        --card: #16220f;
        --text: #f2f7ec;
        --text-soft: #a8b69c;
        --accent: #8de83c;
        --divider: #263019;
    }
}

* { box-sizing: border-box; }

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

main { max-width: 720px; margin: 0 auto; }

h1 { font-size: 30px; line-height: 1.25; margin: 0 0 6px; }
h2 { font-size: 20px; margin: 38px 0 10px; }
h3 { font-size: 16px; margin: 24px 0 6px; }

.updated { color: var(--text-soft); font-size: 14px; margin: 0 0 32px; }

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

ul { padding-left: 22px; }
li { margin: 6px 0; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 15px;
    display: block;
    overflow-x: auto;
}
th, td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--divider);
    vertical-align: top;
}
th { color: var(--text-soft); font-weight: 600; }

.callout {
    background: var(--card);
    border: 1px solid var(--divider);
    border-radius: 14px;
    padding: 16px 18px;
    margin: 22px 0;
}
.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

footer {
    margin-top: 56px;
    padding-top: 20px;
    border-top: 1px solid var(--divider);
    color: var(--text-soft);
    font-size: 14px;
}

nav.crumbs { margin-bottom: 26px; font-size: 14px; }
