/* Shared styles for the privacy pages (hub pages and each app's policy). Palette matches index.html. */
:root {
    --bg: #0a0f0d;
    --bg2: #101815;
    --card: #131c18;
    --line: #23302a;
    --text: #e9efea;
    --muted: #9fb0a6;
    --green: #1e8738;
    --mint: #5fd39a;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background:
        radial-gradient(1100px 600px at 85% -10%, #14382433, transparent 70%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%) fixed;
    background-color: var(--bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
.topbar {
    border-bottom: 1px solid var(--line);
    background: #0a0f0dd9;
}
.topbar div {
    max-width: 680px; margin: 0 auto; padding: 12px 24px;
    display: flex; justify-content: space-between; gap: 16px; font-size: 15px;
}
.topbar a { color: var(--muted); }
.topbar a:first-child { color: var(--text); font-weight: 700; }
.container, #content {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 24px 60px;
    text-align: left;
}
h1 { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 8px; }
h2 { font-size: 1.25rem; font-weight: 600; margin-top: 32px; margin-bottom: 12px; }
h3 { font-size: 1.05rem; font-weight: 600; margin-top: 24px; margin-bottom: 8px; }
p { margin-bottom: 12px; color: var(--muted); }
ul { margin: 0 0 12px 24px; color: var(--muted); }
li { margin-bottom: 4px; }
strong { font-weight: 600; color: var(--text); }
a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
hr { border: none; border-top: 1px solid var(--line); margin: 28px 0; }
.updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 32px; }
.lang-nav { font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; line-height: 2; }
.lang-nav a { color: var(--muted); padding: 2px 0; }
.lang-nav a:hover { color: var(--mint); }
.lang-nav .current { color: var(--text); font-weight: 600; }

/* hub pages: one card per app */
.apps { list-style: none; margin: 28px 0 0; display: grid; gap: 14px; }
.apps li {
    margin: 0; padding: 20px 22px;
    border: 1px solid var(--line); border-radius: 18px;
    background: linear-gradient(180deg, #16211c, var(--card));
    scroll-margin-top: 16px;
}
.apps h2 { margin: 0 0 6px; font-size: 1.15rem; }
.apps p { margin: 0 0 10px; }
.apps p:last-child { margin: 0; }
.apps .more { font-weight: 600; }
section[id] { scroll-margin-top: 16px; }

.foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; text-align: center; }
.foot p { margin-bottom: 6px; }
#copyright { margin-top: 3em; text-align: center; font-size: 14px; }

@media (max-width: 480px) {
    .container, #content { padding: 24px 16px 40px; }
    .topbar div { padding: 12px 16px; }
    h1 { font-size: 1.55rem; }
}
