/* Shared stylesheet for the privacy + terms HTML pages. Matches the
   marketing site's visual language but trimmed for long-form reading. */
:root {
    color-scheme: light dark;
    --accent: #5E5CE6;
    --accent-soft: rgba(94, 92, 230, 0.12);
    --fg: #1c1c1e;
    --fg-soft: #4a4a4f;
    --fg-faint: #8a8a8f;
    --bg: #fbfbfd;
    --card: #ffffff;
    --border: rgba(0, 0, 0, 0.08);
    --max-width: 720px;
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
    :root {
        --fg: #f5f5f7;
        --fg-soft: #c7c7cc;
        --fg-faint: #8e8e93;
        --bg: #0c0c0e;
        --card: #1c1c1e;
        --border: rgba(255, 255, 255, 0.08);
    }
}

* { box-sizing: border-box; }
html, body {
    margin: 0; padding: 0;
    background: var(--bg); color: var(--fg);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
}
body { line-height: 1.65; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Header */
header {
    padding: 28px 0 12px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--fg); }
.brand .mark {
    width: 32px; height: 32px; border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), #af8cff);
    display: grid; place-items: center; color: #fff; font-weight: 700;
}
header nav a { color: var(--fg-soft); margin-left: 16px; font-size: 0.95rem; }

/* Article body */
article { padding: 40px 0 48px; }
article h1 {
    font-size: clamp(1.7rem, 4vw, 2.2rem);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
article h2 {
    font-size: 1.2rem;
    margin: 36px 0 12px;
    letter-spacing: -0.005em;
}
article h3 {
    font-size: 1.02rem;
    margin: 24px 0 6px;
    color: var(--fg);
}
article p { margin: 10px 0; color: var(--fg-soft); }
article p.updated { color: var(--fg-faint); margin-top: 0; }
article ul { padding-left: 22px; margin: 14px 0; }
article li { margin-bottom: 6px; color: var(--fg-soft); }
article strong { color: var(--fg); }

/* Footer */
footer {
    margin-top: 16px; padding: 24px 0 40px;
    border-top: 1px solid var(--border);
    display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between;
    color: var(--fg-faint); font-size: 0.88rem;
}
footer a { color: var(--fg-soft); }
