/* Shared styles for terms.html and privacy.html */
:root {
    --bg: #0a0f1d;
    --surface: #121a2f;
    --text: #e8edf5;
    --muted: #8f9cae;
    --accent: #4facfe;
    --border: rgba(255, 255, 255, 0.08);
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #f5f7fb;
        --surface: #ffffff;
        --text: #1a2233;
        --muted: #5b6577;
        --accent: #0070f3;
        --border: rgba(0, 0, 0, 0.08);
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.65;
}

main {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 16px 64px;
}

h1 { font-size: 1.8rem; margin: 0 0 4px; }
h2 { font-size: 1.15rem; margin: 32px 0 8px; }
p, li { color: var(--text); }
.updated { color: var(--muted); margin-bottom: 24px; }
a { color: var(--accent); }

.note {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
}

.back {
    display: inline-block;
    margin-bottom: 24px;
    text-decoration: none;
}
