/* Sermonpage site: the shared Page Apps design system (FP site parity 2026-10-31). System fonts only, no external
   requests, no images or background art in pages (tools/check_site.py). Generated by tools/site_gen.py from the palette in
   tools/site_content.py; edit there, not here. Light: #7A4A1A -> #643C15 buttons and CTA band, white text. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #1c1c1e;
  --muted: #6c6c70;
  --accent: #7A4A1A;
  --on-accent: #ffffff;
  --card: #f2f2f7;
  --rule: #d8d8de;
  --tint: #F6EEE4;
  --button: linear-gradient(135deg, #7A4A1A, #643C15);
  --banner: linear-gradient(135deg, #7A4A1A, #643C15);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --text: #f2f2f7;
    --muted: #A1A1AA;
    --accent: #E0B07A;
    --on-accent: #2A1606;
    --card: #1C1C1E;
    --rule: #2C2C2E;
    --tint: #2A1D10;
    --button: #E0B07A;
    --banner: linear-gradient(135deg, #4A2C0E, #643C15);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
main, header, footer { max-width: 42rem; margin: 0 auto; padding: 0 1.25rem; }
header { padding-top: 1.5rem; }
header a.brand { font-weight: 700; color: var(--text); text-decoration: none; font-size: 1.1rem; }
header nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 0.5rem; font-size: 0.95rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 2rem 0 0.5rem; }
h2 { font-size: 1.3rem; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.25rem; }
p, ul { margin: 0.5rem 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin: 0.3rem 0; }
a { color: var(--accent); }
.lede { font-size: 1.2rem; color: var(--muted); }
.muted { color: var(--muted); font-size: 0.9rem; }
.card { background: var(--card); border-radius: 14px; padding: 1rem 1.25rem; margin: 1rem 0; }
.card p { margin: 0.25rem 0; }
.card h2 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.links { display: flex; flex-wrap: wrap; gap: 0.75rem; padding: 0; list-style: none; }
.links a {
  display: inline-block; padding: 0.6rem 1.1rem; border-radius: 999px;
  background: var(--card); text-decoration: none; font-weight: 600;
}
footer { border-top: 1px solid var(--rule); margin-top: 3rem; padding-top: 1rem; padding-bottom: 2rem; }
footer p { color: var(--muted); font-size: 0.85rem; margin: 0.25rem 0; }
.cta { display: inline-block; margin: 0.5rem 0 1rem; padding: 0.7rem 1.3rem; border-radius: 999px;
  background: var(--button); color: var(--on-accent); font-weight: 700; text-decoration: none; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0.75rem; padding: 0; list-style: none; }
.features li { background: var(--card); border-radius: 14px; padding: 0.8rem 1rem; margin: 0; }
.features strong { display: block; }
.features li::before { content: ""; display: block; width: 1.75rem; height: 0.3rem; margin: 0.15rem 0 0.6rem;
  border-radius: 999px; background: var(--accent); }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 1rem 0; }
th, td { text-align: left; vertical-align: top; padding: 0.45rem 0.5rem; border-bottom: 1px solid var(--rule); }
th { font-weight: 700; }
.table-wrap { overflow-x: auto; }
nav a[aria-current="page"] { font-weight: 700; text-decoration: none; }

/* Page recipe (same on every Page Apps site): <main class="home|wide"> + .hero + <div class="prose"> + optional .ipad + .cta-band. */
main.home, main.wide { max-width: 66rem; }
.home .prose, .wide .prose { max-width: 42rem; margin: 0 auto; }
.hero { margin: 1.5rem 0 1rem; }
.hero h1 { margin-top: 0.5rem; }
.hero-center { max-width: 46rem; margin: 2rem auto 1.5rem; text-align: center; }
.hero-center .lede { max-width: 40rem; margin-left: auto; margin-right: auto; }
.hero-center .chips { justify-content: center; margin-top: 1rem; }
.hero-center .chips li { background: var(--card); }
.hero-short { max-width: 42rem; margin: 1.5rem auto 1rem; }
.soon { display: inline-block; margin: 0.5rem 0 0.25rem; padding: 0.35rem 0.95rem; border-radius: 999px;
  background: var(--tint); color: var(--accent); font-weight: 700; font-size: 0.95rem; }
.home .features, .features.icons { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.home .features li span, .features.icons li span { color: var(--muted); font-size: 0.95rem; }
.section { max-width: 60rem; margin: 2.5rem auto 0; }
.section > h2 { text-align: center; }
.ipad { max-width: 52rem; margin: 2.5rem auto 1rem; text-align: center; }
.ipad p { max-width: 38rem; margin-left: auto; margin-right: auto; }

/* CTA band: closes every content page. No App Store badge until launch. */
.cta-band { max-width: 52rem; margin: 3rem auto 0; padding: 1.75rem 1.5rem; border-radius: 22px; text-align: center;
  background: var(--banner); color: #fff; }
.cta-band h2 { margin: 0 0 0.35rem; color: #fff; }
.cta-band p { margin: 0.25rem 0; }
.cta-band a { color: #fff; }

.card.highlight { border: 2px solid var(--accent); }
.card.highlight h2 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.card dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.3rem 1rem; margin: 0.5rem 0 0; }
.card dt { font-weight: 700; }
.card dd { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0.5rem 0 0; list-style: none; }
.chips li { margin: 0; padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--bg); font-weight: 600; font-size: 0.95rem; }
.contact-card { text-align: center; padding: 1.5rem 1.25rem; }
.contact-card .cta { margin: 0.5rem 0 0.75rem; font-size: 1.05rem; }

ol.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
ol.steps li { counter-increment: step; background: var(--card); border-radius: 14px; padding: 0.9rem 1rem; margin: 0; }
ol.steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; margin-bottom: 0.5rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; }

details.qa { border-bottom: 1px solid var(--rule); }
details.qa summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--accent); }
details.qa[open] summary::after { content: "\2212"; }
details.qa summary h2, details.qa summary h3 { margin: 0; font-size: 1.05rem; }
details.qa > :not(summary) { margin-top: 0; }
details.qa > :last-child { margin-bottom: 1rem; }

/* Comparison pages: the options as a group of cards, then the page's own Q&A as a tinted panel. */
.app-list { margin: 2.5rem 0 0; }
.app-list .card h3 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.app-list .card p + p { margin-top: 0.6rem; }
.page-qa { margin: 3.5rem 0 2.5rem; padding: 1.5rem 1.25rem 1.25rem; background: var(--tint);
  border-top: 4px solid var(--accent); border-radius: 0 0 18px 18px; }
.page-qa h2 { margin: 0 0 0.5rem; font-size: 1.5rem; line-height: 1.25; }
.page-qa h3 { margin: 1.25rem 0 0.25rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.page-qa h2 + h3 { border-top: 0; padding-top: 0; }
.page-qa p { margin-bottom: 0; }

.notfound { text-align: center; }
.notfound .links { justify-content: center; }
