:root {
    --bg: #f4f6fb;
    --ink: #16141f;
    --muted: #4c5166;
    --faint: #5c6174;
    --paper: #ffffff;
    --line: rgba(22, 20, 31, 0.12);
    --people: #6d4aff;
    --people-soft: #ddd4ff;
    --sunday: #ff5a36;
    --sunday-soft: #ffd0c4;
    --community: #0b9a72;
    --community-soft: #b7ebd8;
    --giving: #e09400;
    --giving-soft: #ffe09a;
    --insight: #2f6bff;
    --insight-soft: #cdddff;
    --mychurch: #e2368c;
    --mychurch-soft: #ffc4e2;
    --operations: #0b8ec4;
    --operations-soft: #b7e7f8;
    --max: 1120px;
    --gutter: 24px;
    --section: 80px;
    --sans: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
    --h1: 3.5rem;
    --h2: 2.25rem;
    --h3: 1.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.6;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--people); }
h1, h2, h3 { margin: 0 0 16px; letter-spacing: -0.03em; line-height: 1.15; font-weight: 800; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
p { margin: 0 0 16px; }
.lede, .section-intro { color: var(--muted); font-size: 1.125rem; max-width: 40rem; }
::selection { background: #d9d0ff; }
.skip { position: absolute; left: 16px; top: -80px; background: #fff; padding: 12px 16px; min-height: 44px; border-radius: 8px; z-index: 40; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--insight); outline-offset: 3px; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    row-gap: var(--gutter);
    align-items: center;
}
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }
.grid > .flip-copy { grid-column: 7 / span 6; grid-row: 1; }
.grid > .flip-visual { grid-column: 1 / span 6; grid-row: 1; }

.hue-people { --hue: var(--people); --hue-soft: var(--people-soft); }
.hue-sunday { --hue: var(--sunday); --hue-soft: var(--sunday-soft); }
.hue-community { --hue: var(--community); --hue-soft: var(--community-soft); }
.hue-giving { --hue: var(--giving); --hue-soft: var(--giving-soft); }
.hue-insight { --hue: var(--insight); --hue-soft: var(--insight-soft); }
.hue-mychurch { --hue: var(--mychurch); --hue-soft: var(--mychurch-soft); }
.hue-operations { --hue: var(--operations); --hue-soft: var(--operations-soft); }

.site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(244, 246, 251, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; min-height: 44px; background: #141414; border-radius: 12px; padding: 8px 10px; line-height: 0; }
.brand img { height: 28px; width: auto; }
.footer-brand img { height: 52px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
.site-nav a[aria-current="page"] { color: var(--people); }
.nav-login {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0 18px;
    border-radius: 999px; border: 1px solid var(--line);
    background: transparent; color: var(--ink) !important;
    text-decoration: none; font-weight: 700;
}
.nav-login:hover { background: #fff; }
.nav-cta, .button {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0 20px;
    border-radius: 999px; border: 0; cursor: pointer;
    background: linear-gradient(100deg, #5b35f5 0%, #ff5a36 140%);
    color: #fff !important; text-decoration: none; font: inherit; font-weight: 700;
}
.nav-toggle {
    display: none; margin-left: auto; min-height: 44px;
    border-radius: 999px; border: 1px solid var(--line); background: #fff;
    padding: 8px 14px; font: inherit; font-weight: 700;
}

.band { padding-block: var(--section); }
.band.tint { background: var(--hue-soft); }
.band.white { background: #fff; }
.hero-shell {
    background:
        radial-gradient(520px 280px at 88% 0%, rgba(255, 90, 54, 0.38), transparent 62%),
        radial-gradient(480px 260px at 8% 10%, rgba(109, 74, 255, 0.34), transparent 60%),
        #f7f4ff;
}
.eyebrow, .kicker { margin: 0 0 12px; font-weight: 800; color: var(--hue, var(--people)); font-size: 1rem; }
.actions { margin-top: 8px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.swatches a, .chips a {
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1rem;
    background: #fff; border-radius: 999px; min-height: 44px; padding: 8px 16px;
    border: 1px solid var(--line);
}
.dot, .swatch { width: 10px; height: 10px; border-radius: 99px; background: var(--hue); display: inline-block; }
.mark { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.mark svg { width: 100%; height: auto; display: block; }
.mark svg.checkin-stack { display: none; }
.mark-bg { fill: var(--hue-soft); }
.mark-a { fill: var(--hue); }
.mark-b { fill: color-mix(in srgb, var(--hue) 55%, white); }
.mark-c { fill: #fff; }
.mark-line { fill: color-mix(in srgb, var(--hue) 18%, white); }
.mark-stroke { fill: none; stroke: var(--hue); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }

.stack { display: grid; gap: 16px; align-content: center; }
.steps, .fgrid, .roles, .related, .split {
    display: grid;
    gap: var(--gutter);
    align-items: stretch;
}
.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 8px; }
.fgrid, .related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.roles, .split { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step, .fcard, .role, .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--line);
}
.step { border-top: 4px solid var(--hue); }
.step span { font-weight: 800; color: var(--hue); font-size: 0.85rem; }
.step h3, .fcard h3, .role h3, .card h3 { margin-bottom: 8px; }
.step p, .fcard p, .role p, .card p { margin: 0; color: var(--muted); }
.fcard { text-decoration: none; color: var(--ink); }
.fcard:hover, .chips a:hover, .swatches a:hover { border-color: var(--hue, var(--people)); }
.group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.group-head h2 { margin: 0; }
.icon-bubble {
    width: 36px; height: 36px; border-radius: 10px;
    display: grid; place-items: center;
    background: #fff; color: var(--hue); font-weight: 800;
}
.find { max-width: 28rem; margin-top: 16px; }
.find input {
    width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid var(--line);
    padding: 12px 14px; font: inherit; font-size: 1rem; background: #fff;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.page-intro { padding-bottom: 8px; }
.crumb { margin: 0 0 12px; color: var(--faint); font-size: 1rem; }
.crumb a { color: inherit; display: inline-flex; align-items: center; min-height: 44px; }
.num { margin: 0 0 8px; font-weight: 800; color: var(--hue); }
.scenario {
    border-radius: 16px;
    padding: 32px;
    color: #fff;
    background: var(--hue);
}
.scenario h2, .scenario p { color: #fff; }
.scenario .when { margin: 0 0 8px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 1rem; }
.quote {
    position: relative;
    margin: 0;
    background: #fff;
    border: 0;
    border-radius: 16px;
    padding: 32px 32px 32px 40px;
    overflow: hidden;
}
.quote::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--sunday);
}
.quote p { font-size: 1.25rem; font-weight: 700; }
.quote cite { color: var(--muted); font-style: normal; }
.more { font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 8px; font-weight: 700; }
.form input, .form textarea {
    font: inherit; font-size: 1rem; min-height: 48px; border-radius: 12px;
    border: 1px solid var(--line); padding: 12px; background: #fff;
}
.form textarea { min-height: 140px; }
.hp {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.form .hp label { display: block !important; min-height: 0 !important; }
.note, .error { border-radius: 12px; padding: 12px 14px; }
.note { background: var(--community-soft); }
.error { background: #fde8e4; color: #8a2a16; }
.address { color: var(--muted); }

.site-footer { background: #171427; color: #d9d6e6; padding-block: 48px; }
.site-footer .grid { align-items: start; }
.footer-brand img { background: #111; border-radius: 12px; padding: 10px 14px; }
.footer-brand p { margin: 14px 0 0; }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.site-footer a { color: #fff; display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-footer .address { color: #eeeaf8; }
.site-footer .legal { color: #c8c3d6; }

.reveal { opacity: 1; }

@media (max-width: 1024px) {
    :root { --section: 64px; --h1: 2.75rem; --h2: 2rem; }
    .span-3 { grid-column: span 6; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    :root { --section: 48px; --gutter: 16px; --h1: 2.25rem; --h2: 1.75rem; }
    .wrap { width: min(var(--max), calc(100% - 32px)); }
    .span-3, .span-4, .span-5, .span-6, .span-7, .span-8,
    .grid > .flip-copy, .grid > .flip-visual { grid-column: 1 / -1; grid-row: auto; }
    .mark svg.checkin-wide { display: none; }
    .mark svg.checkin-stack { display: block; }
    .walk .visual { order: 2; }
    .steps, .fgrid, .roles, .related, .split, .footer-grid { grid-template-columns: 1fr; }
    .nav-toggle { display: inline-flex; height: 48px; padding: 0 16px; }
    .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: 72px;
        flex-direction: column; align-items: stretch; gap: 0;
        margin: 0; padding: 8px 16px 16px; background: #f4f6fb; border-bottom: 1px solid var(--line);
    }
    .site-nav.open { display: flex; }
    .site-nav a { min-height: 48px; display: flex; align-items: center; }
    .site-nav .nav-login, .site-nav .nav-cta { justify-content: center; margin-top: 8px; }
    .header-inner { position: static; }
    .site-header { position: sticky; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
