/* ────────────────────────────────────────────────────────────────────────
   DailyBridge site — shared base styles
   Loaded by every page; page-specific styles live in each page's inline <style>.
   ──────────────────────────────────────────────────────────────────────── */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #FCFCFD;
    --surface: #F4F5F7;
    --text: #1B1C1E;
    --text-secondary: #44474B;
    --text-tertiary: #74777C;
    --primary: #4A6FA5;
    --border: #E3E5E8;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #131416;
        --surface: #1E2024;
        --text: #E3E2E6;
        --text-secondary: #C4C6CB;
        --text-tertiary: #8E9196;
        --primary: #6B8CC4;
        --border: #2C2F33;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--text); font-weight: 600; }
code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.9em;
    background: var(--surface);
    padding: 1px 6px;
    border-radius: 4px;
}

/* ────────────────────────────────────────────────────────────────────────
   Content-page layout (help / privacy / terms)
   Apply via class="content-page" on <body>.
   ──────────────────────────────────────────────────────────────────────── */
.content-page { padding: 40px 20px; }
.content-page .container { max-width: 640px; margin: 0 auto; }
.content-page h1 { font-size: 24px; margin-bottom: 24px; }
.content-page h1 a { color: inherit; text-decoration: none; }
.content-page .date {
    color: var(--text-tertiary);
    font-size: 14px;
    margin-top: -16px;
    margin-bottom: 32px;
}
.content-page h2 {
    font-size: 18px;
    margin-top: 28px;
    margin-bottom: 8px;
    color: var(--primary);
    scroll-margin-top: 20px;
}
.content-page h3 {
    font-size: 15px;
    margin-top: 16px;
    margin-bottom: 6px;
    color: var(--text);
    font-weight: 600;
}
.content-page p,
.content-page li {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}
.content-page ul,
.content-page ol { padding-left: 24px; }

/* ────────────────────────────────────────────────────────────────────────
   Site-wide footer (used on every page, including landing)
   ──────────────────────────────────────────────────────────────────────── */
.site-footer {
    margin-top: 60px;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 13px;
    color: var(--text-tertiary);
}
.site-footer a {
    color: var(--text-tertiary);
    margin: 0 6px;
}
.site-footer a:hover { color: var(--primary); text-decoration: none; }
.site-footer .copyright {
    margin-top: 12px;
    font-size: 12px;
}
