/* Daily Bible Verses website — Blush design tokens, shared by every page. */
@font-face { font-family: Outfit; src: url(fonts/Outfit.ttf) format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --canvas: #EAE4E1; --surface: #FFFFFF; --surface-muted: #F4F4F4;
  --ink: #1E1E1E; --ink-muted: #5F5F5F; --ink-soft: #949494; --on-ink: #FFFFFF;
  --blush: #F8CCDC; --blush-soft: #FCE4EC; --blush-line: #F3B6C2;
  --coral: #F8686E; --coral-text: #B82C34;
  --shadow: 0 8px 24px rgba(30, 30, 30, 0.06);
  --shadow-lift: 0 30px 60px rgba(30, 30, 30, 0.14), 0 6px 16px rgba(30, 30, 30, 0.06);
  --radius-lg: 28px; --radius-md: 20px; --radius-sm: 12px; --pill: 999px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #161314; --surface: #1F1B1C; --surface-muted: #2A2526;
    --ink: #F4F1F0; --ink-muted: #B5ADAB; --ink-soft: #8A8280; --on-ink: #161314;
    --blush: #4A2A35; --blush-soft: #34222A; --blush-line: #6B3E4B;
    --coral: #FF7C82; --coral-text: #FF8A90;
    --shadow: none; --shadow-lift: 0 30px 60px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 17px/1.6 Outfit, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-text); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
code, kbd { font: 500 0.88em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-muted); padding: 2px 7px; border-radius: 6px; }
kbd { border: 1px solid var(--blush-line); background: var(--blush-soft); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 14px; border-radius: var(--pill); z-index: 10; }
.skip:focus { left: 16px; }

/* Header */
.site-head { padding: 18px 0; }
.site-head .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 19px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: var(--pill); }
.site-nav a:hover { background: var(--surface); }
.site-nav a[aria-current="page"] { background: var(--surface); box-shadow: var(--shadow); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: var(--pill); font: 600 16px Outfit, system-ui, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-secondary { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.btn:hover { filter: brightness(0.94); }
.btn svg { width: 20px; height: 20px; }

/* Hero */
.hero { padding: 40px 0 64px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 5fr 7fr; gap: 56px; } }
.tag { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--pill); background: var(--blush); font-size: 14px; font-weight: 600; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); margin: 18px 0 16px; }
.hero .lead { font-size: 20px; color: var(--ink-muted); max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.fine { margin-top: 14px; font-size: 14px; color: var(--ink-muted); }
.browser { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lift); background: var(--surface); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: var(--surface-muted); }
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--blush-line); }
.browser-bar em { margin-left: 10px; height: 20px; flex: 1; max-width: 260px; border-radius: var(--pill); background: var(--surface); }

/* Sections */
.section { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 12px; }
.section-head p { color: var(--ink-muted); font-size: 19px; }
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid.two { grid-template-columns: repeat(2, 1fr); } .grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow); }
.feature .icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--blush); margin-bottom: 16px; }
.feature .icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 20px; margin-bottom: 6px; }
.feature p { color: var(--ink-muted); font-size: 16px; }

/* Showcase rows: image + copy */
.showcase { display: grid; gap: 28px; align-items: center; padding: 28px 0; }
@media (min-width: 900px) { .showcase { grid-template-columns: 1fr 1fr; gap: 56px; } .showcase.flip .shot { order: 2; } }
.showcase h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }
.showcase p { color: var(--ink-muted); font-size: 18px; }
.shot { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--surface); }
.shot.narrow { max-width: 380px; justify-self: center; width: 100%; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1E1E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Devotionals */
.books { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.books li { padding: 10px 18px; border-radius: var(--pill); background: var(--surface); font-weight: 500; box-shadow: var(--shadow); }
.books li.default { background: var(--blush); }

/* Callout band */
.band { background: var(--blush); border-radius: var(--radius-lg); padding: 36px 28px; display: grid; gap: 20px; }
@media (min-width: 900px) { .band { grid-template-columns: 1fr auto; align-items: center; padding: 48px 56px; } }
.band h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 8px; }
.band p { font-size: 18px; }

/* Article pages (guide, FAQ) */
.page-head { padding: 32px 0 24px; }
.page-head h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 10px; }
.page-head p { color: var(--ink-muted); font-size: 19px; max-width: 36em; }
.article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 64px; }
@media (min-width: 960px) { .article { grid-template-columns: 240px minmax(0, 1fr); gap: 48px; } .toc { position: sticky; top: 24px; align-self: start; } }
.toc { background: var(--surface); border-radius: var(--radius-md); padding: 18px 20px; box-shadow: var(--shadow); font-size: 15px; }
.toc strong { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--coral-text); }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.step { background: var(--surface); border-radius: var(--radius-md); padding: 26px 24px; box-shadow: var(--shadow); scroll-margin-top: 16px; }
.step h2 { font-size: 26px; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.step h2 .num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blush); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.step h3 { font-size: 18px; margin: 18px 0 6px; }
.step p, .step li { color: var(--ink-muted); }
.step p + p, .step ul + p, .step ol + p { margin-top: 12px; }
.step ol, .step ul { margin: 8px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.step strong { color: var(--ink); }
.step figure { margin: 18px 0 4px; }
.step figure img { border-radius: var(--radius-sm); border: 1px solid var(--surface-muted); }
.step figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }
.note { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--blush-soft); color: var(--ink); font-size: 15px; }
.os { margin-top: 10px; display: grid; gap: 8px; }
.os div { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-muted); font-size: 15px; color: var(--ink-muted); }
.os b { color: var(--ink); }

/* FAQ */
.faq-group { scroll-margin-top: 16px; }
.faq-group + .faq-group { margin-top: 32px; }
.faq-group > h2 { font-size: 26px; margin-bottom: 14px; }
details { background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow); }
details + details { margin-top: 10px; }
summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 600; font-size: 18px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1E1E' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 13px no-repeat; transition: transform 0.15s; }
details[open] summary::after { transform: rotate(45deg); }
details .answer { padding: 0 22px 20px; color: var(--ink-muted); display: grid; gap: 10px; }
details .answer ul { margin: 0; padding-left: 22px; display: grid; gap: 4px; }

/* Footer */
.site-foot { padding: 40px 0 48px; color: var(--ink-muted); font-size: 15px; }
.site-foot .wrap { display: grid; gap: 18px; border-top: 1px solid var(--blush-line); padding-top: 28px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { color: var(--ink); text-decoration: none; font-weight: 500; }
.foot-links a:hover { color: var(--coral-text); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } summary::after { transition: none; } }
