/* Choice Bible — shared styles. Deliberately one small stylesheet, no framework and no
   third-party assets, so the pages load fast and the privacy policy stays true: these
   pages set no cookies and call no external service. */

:root {
    --blue: #1e6fd9;
    --blue-deep: #14448f;
    --ink: #17202e;
    --muted: #5b6779;
    --rule: #e3e8ef;
    --page: #ffffff;
    --surface: #f6f8fb;
}

@media (prefers-color-scheme: dark) {
    :root {
        --blue: #6fb0fa;
        --blue-deep: #4a9bf7;
        --ink: #e8edf5;
        --muted: #9aa6b8;
        --rule: #263041;
        --page: #10151d;
        --surface: #171e28;
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    background: var(--page);
    color: var(--ink);
    font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }

header.site {
    border-bottom: 1px solid var(--rule);
    padding: 20px 0;
    margin-bottom: 48px;
}

header.site .wrap { display: flex; align-items: center; gap: 12px; }

header.site a.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
}

header.site nav { margin-left: auto; display: flex; gap: 20px; }
header.site nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
header.site nav a:hover { color: var(--blue); }

.mark { width: 30px; height: 30px; border-radius: 7px; display: block; }

h1 { font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -0.01em; }
h3 { font-size: 17px; margin: 28px 0 8px; }
p { margin: 0 0 16px; }
a { color: var(--blue); }
ul { padding-left: 22px; margin: 0 0 16px; }
li { margin-bottom: 8px; }

.lede { font-size: 20px; color: var(--muted); margin-bottom: 36px; }
.updated { color: var(--muted); font-size: 15px; margin-bottom: 36px; }

.callout {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 20px 22px;
    margin: 0 0 24px;
}
.callout p:last-child { margin-bottom: 0; }

.features { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; margin: 36px 0; }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.feature h3 { margin-top: 0; }
.feature p { color: var(--muted); font-size: 16px; margin: 0; }

footer.site {
    border-top: 1px solid var(--rule);
    margin-top: 72px;
    padding: 28px 0 56px;
    color: var(--muted);
    font-size: 15px;
}
footer.site a { color: var(--muted); }

/* Apple's official App Store badge, used unmodified per Apple's marketing
   guidelines: scaled proportionally only, and given the required clear space of
   at least one quarter of the badge height on every side. */
.badge { display: inline-block; line-height: 0; }
.badge img { height: 80px; width: auto; max-width: 100%; display: block; }
@media (max-width: 380px) { .badge img { height: 64px; } }
.badge:focus-visible { outline: 3px solid var(--blue); outline-offset: 20px; border-radius: 6px; }
.store { margin: 1.5rem 0 2rem; }
