/* Launching Soon sites — shared design, one palette per brand (body.brand-*). */
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-latin.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("/fonts/work-sans-latin.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ink-strong: #14171F;
  --ink-body: #3A3F4B;
  --ink-muted: #5E6472;
  --hairline: rgba(20, 23, 31, 0.1);
  --radius: 18px;
  /* brand defaults, overridden below */
  --page: #FAF8F3;
  --tint: #EEF3EF;
  --deep: #17473F;
  --accent: #E3A548;
  --accent-ink: #8A5A12;
  --glow-a: rgba(23, 71, 63, 0.10);
  --glow-b: rgba(227, 165, 72, 0.16);
}
.brand-ministrytools { --page: #FAF8F3; --tint: #EDF2EE; --deep: #17473F; --accent: #E3A548; --accent-ink: #855512; --glow-a: rgba(23, 71, 63, 0.10); --glow-b: rgba(227, 165, 72, 0.18); }
.brand-churchsocial  { --page: #F8F9FC; --tint: #ECF0F8; --deep: #26407A; --accent: #F0B54A; --accent-ink: #7A5512; --glow-a: rgba(38, 64, 122, 0.09); --glow-b: rgba(240, 181, 74, 0.18); }
.brand-biblecollege  { --page: #FBF7F0; --tint: #F4ECE4; --deep: #5B2333; --accent: #D9A441; --accent-ink: #7F5A12; --glow-a: rgba(91, 35, 51, 0.09); --glow-b: rgba(217, 164, 65, 0.18); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink-body); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; overflow-wrap: break-word; }
a { color: var(--deep); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, ol { margin: 0; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 40px; } }

.skip { position: absolute; left: 12px; top: -60px; background: var(--deep); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }

/* Header */
.top { padding: 22px 0; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-strong); }
.brand svg { width: 34px; height: 34px; flex: none; }
.wordmark { font-family: var(--font-sans); font-size: 19px; letter-spacing: -0.01em; color: var(--ink-strong); }
.wordmark b { font-weight: 600; }
.family-link { font-size: 13.5px; color: var(--ink-muted); text-decoration: none; padding: 10px 0; white-space: nowrap; }
.family-link span { color: var(--ink-strong); font-weight: 500; }
.family-link:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* Hero */
.hero { padding: 56px 0 72px; }
@media (min-width: 768px) { .hero { padding: 96px 0 112px; } }
/* Glow lives on the page background so it fades out instead of clipping at an element edge. */
body { background:
    radial-gradient(44rem 30rem at 88% 6rem, var(--glow-b), transparent 70%) no-repeat,
    radial-gradient(38rem 26rem at 4% 34rem, var(--glow-a), transparent 70%) no-repeat,
    var(--page); }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--hairline); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--deep); box-shadow: 0 1px 2px rgba(20, 23, 31, 0.05); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--glow-b); }
.hero h1 { margin-top: 28px; font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 10.5vw, 96px); line-height: 1.0; letter-spacing: -0.02em; color: var(--ink-strong); max-width: 16ch; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { font-style: italic; color: var(--deep); }
.positioning { margin-top: 28px; max-width: 40ch; font-family: var(--font-display); font-size: clamp(21px, 2.6vw, 26px); line-height: 1.4; color: var(--ink-strong); }
.lead { margin-top: 18px; max-width: 58ch; font-size: 17px; color: var(--ink-body); }

/* Vision */
.vision { padding: 64px 0; background: #fff; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
@media (min-width: 768px) { .vision { padding: 88px 0; } }
.vision h2 { font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.vision-list { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 14px; counter-reset: v; }
@media (min-width: 820px) { .vision-list { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.vision-list li { counter-increment: v; padding: 26px 24px 28px; border-radius: var(--radius); background: var(--tint); }
.vision-list li::before { content: "0" counter(v); display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; color: var(--accent-ink); }
.vision-list h3 { margin-top: 14px; font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 1.2; color: var(--ink-strong); }
.vision-list p { margin-top: 8px; font-size: 15.5px; }
.note { margin-top: 24px; font-size: 14px; color: var(--ink-muted); max-width: 64ch; }

/* MinistryCentral family */
.family { padding: 64px 0; }
@media (min-width: 768px) { .family { padding: 88px 0; } }
.family-card { display: grid; gap: 20px; align-items: center; }
@media (min-width: 820px) { .family-card { grid-template-columns: auto 1fr auto; gap: 28px; } }
.family-mark svg { width: 52px; height: 52px; display: block; }
.family h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3.4vw, 32px); line-height: 1.15; color: var(--ink-strong); }
.family p { margin-top: 8px; max-width: 56ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; background: var(--deep); color: #fff; font-weight: 500; font-size: 15.5px; text-decoration: none; white-space: nowrap; justify-self: start; }
.btn:hover { filter: brightness(1.12); }

/* Footer */
.foot { padding: 28px 0 36px; border-top: 1px solid var(--hairline); font-size: 14px; color: var(--ink-muted); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot-name { color: var(--ink-strong); font-weight: 600; }
.foot a { color: var(--ink-body); }

/* 404 */
.missing { min-height: 100vh; display: grid; align-items: center; padding: 48px 0; }
.missing h1 { margin-top: 40px; font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 6vw, 52px); line-height: 1.1; color: var(--ink-strong); }
.missing p { margin: 14px 0 28px; max-width: 48ch; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
