/* Stellium marketing site. Standalone: shares nothing with the dashboard's Bootstrap theme. */

:root {
    --navy: #0D1B3E;
    --navy-2: #13244F;
    --navy-3: #1C2F5E;
    --ink: #0D1B3E;
    --ink-soft: #3A4560;
    --muted: #5E677D;
    --faint: #8B93A6;
    --paper: #F7F6F2;
    --paper-2: #EFEDE6;
    --white: #FFFFFF;
    --line: rgba(13, 27, 62, 0.10);
    --line-strong: rgba(13, 27, 62, 0.18);
    --gold: #C9A84C;
    --gold-soft: #E9D9A8;
    --gold-ink: #8A6A16;
    --green: #1E7A4C;
    --green-bg: #E6F2EB;
    --amber: #9A6B00;
    --amber-bg: #FBF1D9;
    --red: #B42318;

    --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
    --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(13, 27, 62, 0.06);
    --shadow: 0 1px 2px rgba(13, 27, 62, 0.05), 0 8px 24px -8px rgba(13, 27, 62, 0.12);
    --shadow-lg: 0 2px 4px rgba(13, 27, 62, 0.04), 0 24px 64px -16px rgba(13, 27, 62, 0.22);

    --container: 1200px;
    --gutter: 24px;
    --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
    position: absolute; left: 16px; top: -48px; z-index: 100;
    background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Type ─────────────────────────────────────────────── */

.display {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(44px, 7vw, 84px);
    line-height: 1.0;
    letter-spacing: -0.025em;
    text-wrap: balance;
}
.display em, .h2 em { font-style: italic; color: var(--gold-ink); }
.on-dark .display em, .on-dark .h2 em { color: var(--gold); }

.h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(34px, 4.6vw, 54px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-wrap: balance;
}
.h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }

.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--muted); }
.on-dark .lead { color: rgba(255, 255, 255, 0.68); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--gold-ink);
}
.eyebrow::before { content: ''; width: 20px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold); }

.section-head { max-width: 780px; display: grid; gap: 18px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* ── Buttons ──────────────────────────────────────────── */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 46px; padding: 0 20px;
    border-radius: 10px; border: 1px solid transparent;
    font-size: 15px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
    cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn svg { width: 16px; height: 16px; transition: transform .18s ease; }
.btn:hover svg.arrow { transform: translateX(2px); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }

.btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-3); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset; }
.btn-gold:hover { background: #D4B661; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--white); border-color: var(--ink); }
.on-dark .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.24); }
.on-dark .btn-ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.5); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.link-arrow svg { width: 15px; height: 15px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ── Nav ──────────────────────────────────────────────── */

.nav {
    position: sticky; top: 0; z-index: 50; height: var(--nav-h);
    background: rgba(247, 246, 242, 0.0);
    border-bottom: 1px solid transparent;
    transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.nav.is-scrolled { background: rgba(247, 246, 242, 0.82); border-bottom-color: var(--line); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.nav .container { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; border-radius: 9px; }
.brand-word { display: inline-flex; align-items: baseline; gap: 6px; font-family: 'Montserrat', var(--sans); font-weight: 700; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.brand small { font-weight: 600; font-size: 10.5px; letter-spacing: .32em; color: var(--gold-ink); }
.on-dark .brand { color: var(--white); }
.on-dark .brand small { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav-links > li { position: relative; }
.nav-link {
    display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px; border-radius: 8px;
    font-size: 14.5px; font-weight: 500; color: var(--ink-soft); background: none; border: 0; cursor: pointer;
    transition: color .15s ease, background-color .15s ease;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--ink); background: rgba(13,27,62,.05); }
.nav-link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-link { position: relative; }
.nav-link.is-active { color: var(--ink); font-weight: 600; }
.nav-link.is-active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold); }
.nav-link[data-mega].is-active::after { right: 30px; }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-signin { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); padding: 0 12px; }
.nav-signin:hover { color: var(--ink); }

.mega {
    position: absolute; top: calc(100% + 10px); left: -12px; width: 640px;
    background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
    padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; gap: 14px; padding: 14px; border-radius: 10px; transition: background-color .15s ease; }
.mega a:hover { background: var(--paper); }
.mega .ico { flex: none; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); color: var(--navy); }
.mega a:hover .ico { background: var(--white); }
.mega .ico svg { width: 18px; height: 18px; }
.mega strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.mega span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--muted); margin-top: 2px; }

.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--white); cursor: pointer; place-items: center; }
.nav-toggle svg { width: 18px; height: 18px; }

.mobile-menu { display: none; }

@media (max-width: 960px) {
    .nav-links, .nav-actions { display: none; }
    .nav-toggle { display: grid; }
    .mobile-menu {
        position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49; background: var(--paper);
        padding: 16px var(--gutter) 32px; overflow-y: auto;
        display: grid; align-content: start; gap: 4px;
        opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s;
    }
    .mobile-menu.is-open { opacity: 1; visibility: visible; }
    .mobile-menu a.m-link { padding: 14px 4px; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); }
    .mobile-menu a.m-link.is-active { color: var(--gold-ink); font-weight: 600; }
    .mobile-menu .m-actions { display: grid; gap: 10px; margin-top: 20px; }
    .mobile-menu .m-actions .btn { width: 100%; }
    body.menu-open { overflow: hidden; }
}

/* ── Hero ─────────────────────────────────────────────── */

.hero { position: relative; padding: 72px 0 0; margin-top: calc(var(--nav-h) * -1); padding-top: calc(var(--nav-h) + 72px); overflow: hidden; }
.hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(60% 50% at 50% 0%, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 70%),
        radial-gradient(40% 35% at 85% 15%, rgba(201,168,76,.10) 0%, rgba(201,168,76,0) 70%),
        radial-gradient(40% 35% at 12% 30%, rgba(13,27,62,.05) 0%, rgba(13,27,62,0) 70%);
}
.hero-inner { position: relative; display: grid; justify-items: center; text-align: center; gap: 28px; }
.hero .display { max-width: 16ch; }
.hero .display em { display: block; }
.hero .lead { max-width: 640px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-note { font-size: 13.5px; color: var(--faint); display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 14px; height: 14px; color: var(--green); }

.pill {
    display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
    background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    font-size: 13.5px; color: var(--ink-soft);
}
.pill b { font-weight: 600; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--navy); color: var(--gold-soft); }
.pill:hover { border-color: var(--line-strong); }

.hero-stage { position: relative; margin-top: 64px; }
.hero-stage::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; pointer-events: none;
    background: linear-gradient(to bottom, rgba(247,246,242,0), var(--paper));
}

/* ── Product window (coded UI vignettes) ──────────────── */

.window {
    background: var(--white); border: 1px solid var(--line-strong); border-radius: 14px;
    box-shadow: var(--shadow-lg); overflow: hidden; text-align: left;
}
.window-bar { height: 40px; display: flex; align-items: center; gap: 14px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #FBFAF7; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #E2E0D8; }
.window-url { flex: 1; max-width: 360px; margin: 0 auto; height: 24px; border-radius: 6px; background: var(--paper-2); font-size: 12px; color: var(--faint); display: flex; align-items: center; justify-content: center; gap: 6px; }
.window-url svg { width: 11px; height: 11px; }

/* Replicas of the real Stellium admin UI (Modernize theme + Stellium navy/gold). */
.ui { --ui-font: 'Plus Jakarta Sans', var(--sans); --ui-text: #2A3547; --ui-muted: #7C8FAC; --ui-line: #EBF1F6; --ui-head: #ECF2FF;
      --ui-success: #13DEB9; --ui-info: #539BFF; --ui-warning: #FFAE1F; --ui-dark: #2A3547; --ui-danger: #FA896B; --ui-primary: #5D87FF; --ui-navy: #0B1C3F;
      font-family: var(--ui-font); color: var(--ui-text); font-size: 12.5px; display: grid; grid-template-columns: 200px 1fr; min-height: 560px; background: #fff; }
.ui-side { background: var(--ui-navy); padding: 0 12px 16px; display: grid; align-content: start; gap: 2px; }
.ui-logo { height: 58px; display: flex; align-items: center; margin: 0 -12px 12px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.ui-logo img { height: 34px; width: auto; border-radius: 4px; }
.ui-nav { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 7px; color: rgba(255,255,255,.86); font-weight: 500; font-size: 12px; }
.ui-nav svg { width: 15px; height: 15px; opacity: .85; flex: none; }
.ui-nav .chev { margin-left: auto; width: 11px; height: 11px; opacity: .5; transform: rotate(-90deg); }
.ui-nav.on { background: var(--gold); color: #fff; font-weight: 600; }
.ui-sub { padding: 6px 10px 6px 32px; font-size: 11.5px; color: rgba(255,255,255,.62); position: relative; }
.ui-sub::before { content: ''; position: absolute; left: 16px; top: 50%; width: 4px; height: 4px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); transform: translateY(-50%); }
.ui-sub.on { color: #7FB0FF; }
.ui-main { min-width: 0; display: grid; align-content: start; background: #fff; }
.ui-top { height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--ui-line); }
.ui-top svg { width: 18px; height: 18px; color: var(--ui-text); }
.ui-top-r { display: flex; gap: 22px; }
.ui-top-r span { display: grid; justify-items: center; gap: 2px; font-size: 10px; color: var(--ui-text); }
.ui-top-r svg { width: 15px; height: 15px; }
.ui-top-r .me { width: 22px; height: 22px; border-radius: 50%; background: #CDEFD9; display: grid; place-items: center; color: #2E8B57; font-weight: 700; font-size: 10px; }
.ui-body { padding: 16px 20px 22px; display: grid; gap: 14px; align-content: start; }
.ui-title { background: var(--ui-head); border-radius: 10px; padding: 14px 16px; }
.ui-title .ui-h { margin: 0; font-size: 16px; font-weight: 600; color: var(--ui-text); }
.ui-crumb { font-size: 11px; color: var(--ui-muted); margin-top: 3px; display: flex; gap: 6px; align-items: center; }
.ui-crumb i { width: 3px; height: 3px; border-radius: 50%; background: var(--ui-muted); }
.ui-crumb b { font-weight: 500; color: var(--ui-text); }
.ui-card { border: 1px solid var(--ui-line); border-radius: 10px; padding: 14px 16px; background: #fff; box-shadow: 0 1px 4px rgba(42,53,71,.04); }
.ui-period { display: flex; align-items: center; gap: 12px; }
.ui-period .ic { width: 28px; height: 28px; border-radius: 50%; background: #E6FFFA; color: #13A78A; display: grid; place-items: center; }
.ui-period .ic svg { width: 14px; height: 14px; }
.ui-period small { display: block; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--ui-muted); }
.ui-period b { font-weight: 600; font-size: 12.5px; }
.ui-period .muted { color: var(--ui-muted); font-size: 11px; margin-left: 4px; }
.ui-period .link { margin-left: auto; color: var(--gold-ink); font-size: 11px; font-weight: 500; }

.ui-band { background: var(--ui-navy); border-radius: 10px; display: grid; grid-template-columns: repeat(var(--cols, 6), 1fr); overflow: hidden; color: #fff; }
.ui-band > div { padding: 14px 14px 12px; border-left: 1px solid rgba(255,255,255,.08); display: grid; gap: 4px; align-content: start; min-width: 0; }
.ui-band > div:first-child { border-left: 0; }
.ui-band .lbl { display: flex; align-items: center; gap: 8px; font-size: 8.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.72); line-height: 1.25; }
.ui-band .lbl i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.ui-band .lbl i svg { width: 12px; height: 12px; }
.ui-band .val { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.ui-band .val.big { font-size: 20px; }
.ui-band .sub { font-size: 10px; color: rgba(255,255,255,.55); }
.ui-band .sub.up { color: #4BD08B; }
.ui-band .spark { height: 28px; margin-top: 4px; }
.ui-band .gold-btn { margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; background: var(--gold); color: #fff; font-weight: 600; font-size: 10.5px; padding: 6px 10px; border-radius: 6px; width: max-content; }

.ui-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.ui-card-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ui-card-h b { font-size: 12.5px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.ui-card-h b svg { width: 14px; height: 14px; }
.ui-card-h a, .ui-card-h span { font-size: 10.5px; color: var(--gold-ink); }
.ui-seg { display: inline-flex; border: 1px solid var(--ui-line); border-radius: 6px; overflow: hidden; }
.ui-seg i { font-style: normal; font-size: 10px; padding: 3px 8px; color: var(--ui-info); }
.ui-seg i.on { background: var(--ui-navy); color: #fff; }
.ui-kicker { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--ui-muted); }
.ui-big { font-size: 18px; font-weight: 600; margin-top: 2px; }
.ui-up { font-size: 10px; color: #13A78A; font-weight: 500; }
.ui-area { width: 100%; height: 120px; margin-top: 10px; }
.ui-act { display: grid; }
.ui-act > div { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--ui-line); }
.ui-act > div:last-child { border-bottom: 0; }
.ui-act .ic { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.ui-act .ic svg { width: 12px; height: 12px; }
.ui-act b { display: block; font-weight: 600; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-act span { display: block; font-size: 10px; color: var(--ui-muted); }
.ui-act .amt { margin-left: auto; font-weight: 600; font-size: 11px; white-space: nowrap; }

.ui-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.ui-table th { text-align: left; font-weight: 600; font-size: 11px; color: var(--ui-text); padding: 8px 10px; border-bottom: 1px solid var(--ui-line); white-space: nowrap; }
.ui-table td { padding: 10px; border-bottom: 1px solid var(--ui-line); vertical-align: middle; white-space: nowrap; }
.ui-table tbody tr:nth-child(odd) td { background: #F6F9FC; }
.ui-table .r { text-align: right; }
.ui-table .muted { color: var(--ui-muted); }
.ui-table tfoot td { font-weight: 700; border-bottom: 0; background: #fff !important; }
.ui-badge { display: inline-block; font-size: 10px; font-weight: 600; color: #fff; padding: 3px 8px; border-radius: 5px; line-height: 1.3; }
.ui-badge.success { background: var(--ui-success); } .ui-badge.info { background: var(--ui-info); } .ui-badge.warning { background: var(--ui-warning); }
.ui-badge.dark { background: var(--ui-dark); } .ui-badge.primary { background: var(--ui-primary); } .ui-badge.soft { background: #ECF2FF; color: var(--ui-primary); }
.ui-badge.mpesa { background: #13DEB9; } .ui-badge.bank { background: var(--ui-info); }
.ui-view { display: inline-flex; align-items: center; gap: 3px; background: var(--ui-info); color: #fff; font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 5px; }
.ui-filters { display: flex; gap: 8px; margin-bottom: 10px; }
.ui-filters span { border: 1px solid var(--ui-line); border-radius: 6px; padding: 6px 10px; font-size: 10.5px; color: var(--ui-muted); min-width: 110px; }
.ui-filters .btn-i { min-width: 0; background: var(--ui-info); border-color: var(--ui-info); color: #fff; }
.ui-meter { height: 6px; border-radius: 999px; background: #EBF1F6; overflow: hidden; min-width: 70px; }
.ui-meter i { display: block; height: 100%; background: var(--ui-success); border-radius: inherit; }
.ui-meter i.warn { background: var(--ui-warning); } .ui-meter i.over { background: var(--ui-danger); }
.ui-pos { color: #13A78A; } .ui-neg { color: #E8664A; }
.ui-group td { background: #E8F7FF !important; font-weight: 600; color: var(--ui-text); }

/* ── Kenya strip ──────────────────────────────────────── */

.strip { padding: 40px 0 8px; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 40px; }
.strip p { width: 100%; text-align: center; font-size: 13px; color: var(--faint); margin-bottom: 8px; letter-spacing: .02em; }
.strip span { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink-soft); letter-spacing: -0.01em; }
.strip span svg { width: 16px; height: 16px; color: var(--gold-ink); }

/* ── Sections ─────────────────────────────────────────── */

.section { padding: 128px 0; position: relative; }
.section.tight { padding: 96px 0; }
.section.white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: var(--navy); color: var(--white); }
.section.dark::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(50% 60% at 80% 30%, rgba(201,168,76,.10) 0%, rgba(201,168,76,0) 70%), radial-gradient(40% 50% at 10% 90%, rgba(93,135,255,.10) 0%, rgba(93,135,255,0) 70%);
}
.section.dark > * { position: relative; }

/* Flow: offering to audited statement */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.flow-step { position: relative; padding: 0 20px 0 0; }
.flow-step .node {
    width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
    background: var(--white); border: 1px solid var(--line-strong); box-shadow: var(--shadow); color: var(--navy); position: relative; z-index: 1;
}
.flow-step .node svg { width: 24px; height: 24px; }
.flow-step:first-child .node { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.flow-step:last-child .node { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.flow-step::after {
    content: ''; position: absolute; top: 28px; left: 56px; right: 0; height: 1px;
    background-image: linear-gradient(to right, var(--line-strong) 50%, transparent 50%); background-size: 8px 1px;
}
.flow-step:last-child::after { display: none; }
.flow-step .k { display: block; margin-top: 22px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.flow-step h3 { margin-top: 6px; }
.flow-step p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.55; max-width: 26ch; }

/* Product tour */
.tour { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.tour-tabs { display: grid; gap: 4px; position: sticky; top: calc(var(--nav-h) + 32px); }
.tour-tab {
    text-align: left; background: none; border: 0; cursor: pointer; padding: 18px 20px; border-radius: 14px;
    display: grid; gap: 4px; position: relative; transition: background-color .2s ease;
}
.tour-tab::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: transparent; transition: background-color .2s ease; }
.tour-tab .t { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 16px; color: var(--muted); transition: color .2s ease; }
.tour-tab .t svg { width: 18px; height: 18px; }
.tour-tab .d { font-size: 14px; color: var(--muted); line-height: 1.5; padding-left: 30px; display: none; }
.tour-tab:hover .t { color: var(--ink); }
.tour-tab[aria-selected="true"] { background: var(--white); box-shadow: var(--shadow); }
.tour-tab[aria-selected="true"]::before { background: var(--gold); }
.tour-tab[aria-selected="true"] .t { color: var(--ink); }
.tour-tab[aria-selected="true"] .d { display: block; }

.tour-panel { display: none; }
.tour-panel.is-active { display: grid; gap: 28px; animation: panelIn .45s cubic-bezier(.2,.7,.2,1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tour-copy { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
.tour-copy h3 { text-wrap: balance; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; letter-spacing: -0.015em; }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.checks svg { flex: none; width: 18px; height: 18px; color: var(--gold-ink); margin-top: 1px; }
.on-dark .checks li { color: rgba(255,255,255,.78); }
.on-dark .checks svg { color: var(--gold); }

.vignette { background: #fff; border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.vignette .ui { display: block; min-height: 0; }
.vignette .ui-body { padding: 16px; }
.vignette-scroll { overflow-x: auto; }

/* Payroll (dark) */
.payroll { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.payroll-copy { display: grid; gap: 22px; align-content: start; }
.rates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; overflow: hidden; margin-top: 12px; }
.rates div { background: var(--navy); padding: 18px 20px; }
.rates b { display: block; font-family: var(--serif); font-weight: 400; font-size: 32px; letter-spacing: -0.02em; color: var(--white); line-height: 1.1; }
.rates span { display: block; font-size: 13px; color: rgba(255,255,255,.58); margin-top: 4px; }

.payslip { background: var(--white); color: var(--ink); border-radius: 16px; box-shadow: 0 40px 80px -24px rgba(0,0,0,.5); overflow: hidden; }
.payslip-head { padding: 22px 26px; border-bottom: 1px dashed var(--line-strong); display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.payslip-head b { display: block; font-size: 15px; font-weight: 600; }
.payslip-head span { display: block; font-size: 12.5px; color: var(--faint); margin-top: 2px; }
.payslip-body { padding: 10px 26px 4px; }
.payslip .ln { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.payslip .ln span small { display: block; font-size: 12px; color: var(--faint); margin-top: 1px; }
.payslip .ln.minus b { color: var(--ink-soft); font-weight: 500; }
.payslip .ln.gross { font-weight: 600; }
.payslip-net { margin: 6px 0 0; padding: 20px 26px 24px; background: var(--paper); display: flex; justify-content: space-between; align-items: end; }
.payslip-net > span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.payslip-net b { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; letter-spacing: -0.02em; }
.payslip-foot { padding: 12px 26px; font-size: 11.5px; color: var(--faint); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.payslip-foot svg { width: 13px; height: 13px; color: var(--green); }

/* Payroll calculator */
.calc { padding: 16px 26px 6px; display: grid; gap: 12px; }
.calc-input { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 0 16px; height: 56px; transition: border-color .15s ease, box-shadow .15s ease; cursor: text; }
.calc-input:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(13,27,62,.08); }
.calc-input span { font-weight: 600; color: var(--muted); }
.calc-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-family: var(--serif); font-size: 30px; letter-spacing: -0.02em; color: var(--ink); }
.calc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.calc-chips button { border: 1px solid var(--line-strong); background: var(--white); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: all .15s ease; }
.calc-chips button:hover { border-color: var(--ink); color: var(--ink); }
.calc-chips button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.payslip.is-loading .payslip-body, .payslip.is-loading .payslip-net b { opacity: .45; transition: opacity .15s ease; }

/* Giving showcase */
.giving { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.video { max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); }
.video iframe, .video-play { display: block; width: 100%; height: 100%; border: 0; }
.video-play { position: relative; padding: 0; cursor: pointer; background: var(--navy); }
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s ease; }
.video-play:hover img { opacity: 1; }
.video-btn { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); box-shadow: var(--shadow-lg); transition: transform .2s ease; }
.video-btn svg { width: 30px; height: 30px; margin-left: 4px; }
.video-play:hover .video-btn, .video-play:focus-visible .video-btn { transform: scale(1.06); }
.leaders { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.leaders-copy { display: grid; gap: 22px; align-content: start; min-width: 0; }
.leaders-copy .checks b { color: var(--ink); font-weight: 600; }
.leaders-meter { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--ui-text); margin: 10px 0 5px; }
.leaders-meter b { font-weight: 600; }
.leaders-sub { margin-top: 14px; font-size: 8.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ui-muted); }
.giving-copy { display: grid; gap: 22px; align-content: start; }
.phone-wrap { display: grid; place-items: center; position: relative; }
.phone-wrap::before { content: ''; position: absolute; width: 440px; height: 440px; border-radius: 50%; border: 1px solid var(--line); }
.phone-wrap::after { content: ''; position: absolute; width: 580px; height: 580px; border-radius: 50%; border: 1px dashed var(--line); }
.phone {
    position: relative; z-index: 1; width: 300px; border-radius: 44px; padding: 10px; background: #0A1430;
    box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 50px 90px -30px rgba(13,27,62,.55);
}
.phone-screen { border-radius: 35px; overflow: hidden; background: var(--white); font-size: 13px; }
.phone-notch { height: 30px; display: grid; place-items: center; }
.phone-notch i { width: 86px; height: 22px; border-radius: 999px; background: #0A1430; }
.give-hero { padding: 6px 20px 18px; text-align: center; }
.give-hero .logo { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; margin: 0 auto 10px; font-weight: 700; }
.give-hero b { display: block; font-size: 15px; }
.give-hero span { display: block; font-size: 12px; color: var(--faint); }
.give-body { padding: 0 18px 20px; display: grid; gap: 12px; }
.give-camp { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 8px; }
.give-camp .top { display: flex; justify-content: space-between; font-size: 12px; }
.give-camp .top b { font-weight: 600; }
.give-camp .bot { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.give-label { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.amounts i { font-style: normal; text-align: center; padding: 9px 0; border-radius: 9px; border: 1px solid var(--line-strong); font-weight: 600; font-size: 12.5px; }
.amounts i.on { border-color: var(--navy); background: var(--navy); color: var(--white); }
.give-field { border: 1px solid var(--line-strong); border-radius: 9px; padding: 9px 11px; display: flex; justify-content: space-between; font-size: 12.5px; }
.give-field span { color: var(--faint); }
.give-btn { background: #16A34A; color: var(--white); text-align: center; border-radius: 10px; padding: 12px; font-weight: 600; font-size: 13.5px; }
/* Replica of the real public giving page (give/{slug}) */
.gp { background: #F2F4F8; font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif; color: #0B1C3F; padding-bottom: 14px; }
.gp-head { text-align: center; padding: 4px 18px 12px; }
.gp-head b { display: block; font-size: 17px; font-weight: 800; }
.gp-head span { display: block; font-size: 10.5px; color: #5E677D; margin-top: 4px; line-height: 1.4; }
.gp-card { background: #fff; border-radius: 12px; margin: 0 10px 8px; padding: 10px; display: grid; gap: 8px; }
.gp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gp-tabs.three { grid-template-columns: repeat(3, 1fr); }
.gp-tabs i { font-style: normal; text-align: center; font-weight: 700; font-size: 11px; padding: 7px 0; border-radius: 8px; border: 1px solid #DDE2EA; }
.gp-tabs i.on { background: #0B1C3F; border-color: #0B1C3F; color: #fff; }
.gp-label { font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5E677D; }
.gp-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gp-opts div { border: 1px solid #DDE2EA; border-radius: 9px; padding: 7px 6px; text-align: center; }
.gp-opts div.on { border: 2px solid #0B1C3F; padding: 6px 5px; }
.gp-opts b { display: block; font-size: 11px; font-weight: 800; }
.gp-opts span { display: block; font-size: 9px; color: #5E677D; margin-top: 1px; line-height: 1.3; }
.gp-amount { display: flex; align-items: center; gap: 8px; }
.gp-amount span { font-weight: 700; font-size: 12px; color: #5E677D; }
.gp-amount b { flex: 1; border: 1px solid #DDE2EA; border-radius: 8px; padding: 7px 10px; font-size: 16px; font-weight: 700; }
.gp-chips { display: flex; gap: 5px; }
.gp-chips i { font-style: normal; font-size: 10px; padding: 4px 8px; border-radius: 999px; background: #F2F4F8; border: 1px solid #DDE2EA; }
.gp-chips i.on { background: #0B1C3F; color: #fff; border-color: #0B1C3F; }
.gp-phone { display: flex; border: 1px solid #DDE2EA; border-radius: 8px; overflow: hidden; font-size: 12px; }
.gp-phone span { background: #F2F4F8; padding: 7px 9px; font-weight: 700; border-right: 1px solid #DDE2EA; }
.gp-phone b { padding: 7px 9px; font-weight: 600; }
.gp-btn { background: #0B1C3F; color: #fff; text-align: center; font-weight: 800; font-size: 12.5px; padding: 10px; border-radius: 9px; }

.give-toast {
    position: absolute; z-index: 2; right: calc(50% - 290px); bottom: -34px; width: 236px;
    background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 14px; display: flex; gap: 12px; font-size: 12.5px;
}
.give-toast .ok { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: grid; place-items: center; }
.give-toast .ok svg { width: 16px; height: 16px; }
.give-toast b { display: block; font-size: 12.5px; }
.give-toast span { display: block; color: var(--muted); font-size: 11.5px; margin-top: 1px; }
.give-tag {
    position: absolute; z-index: 2; left: 50%; top: -34px; transform: translateX(-50%); white-space: nowrap;
    background: var(--navy); color: var(--white); border-radius: 12px; padding: 10px 14px; font-size: 12px; box-shadow: var(--shadow-lg);
}
.give-tag b { display: block; color: var(--gold); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

/* Feature grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature { background: var(--paper); padding: 32px; display: grid; gap: 12px; align-content: start; transition: background-color .2s ease; }
.section.white .feature { background: var(--white); }
.feature:hover { background: var(--white); }
.section.white .feature:hover { background: #FCFBF8; }
.feature .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--navy); background: var(--white); margin-bottom: 8px; }
.feature .ico svg { width: 20px; height: 20px; }
.feature p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* Audience */
.audience { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.aud { border-radius: var(--radius-lg); padding: 40px; display: grid; gap: 22px; align-content: start; border: 1px solid var(--line); background: var(--white); }
.aud.primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.aud h3 { text-wrap: balance; font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.08; letter-spacing: -0.015em; }
.aud p { color: var(--muted); font-size: 15.5px; }
.aud.primary p { color: rgba(255,255,255,.68); }
.aud .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.aud .chips span { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-soft); }
.aud.primary .chips span { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.85); }
.aud.primary .link-arrow { color: var(--gold); }

/* Pricing */
.billing-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.billing-toggle button { border: 0; background: none; cursor: pointer; padding: 8px 16px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.billing-toggle button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.billing-toggle .save { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--gold-soft); color: var(--navy); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: grid; gap: 24px; align-content: start; position: relative; }
.plan.featured { border: 1px solid var(--navy); box-shadow: var(--shadow-lg); }
.plan.featured::before { content: 'Most popular'; position: absolute; top: -12px; left: 32px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--gold); color: var(--navy); }
.plan h3 { font-size: 18px; font-weight: 600; }
.plan .tagline { font-size: 14.5px; color: var(--muted); margin-top: 6px; min-height: 44px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price .cur { font-size: 15px; font-weight: 600; color: var(--muted); }
.price b { font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: 1; letter-spacing: -0.03em; }
.price .per { font-size: 14px; color: var(--muted); }
.price-note { font-size: 13px; color: var(--faint); margin-top: 6px; min-height: 20px; }
.limits { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 12px; }
.limits div { padding: 12px; text-align: center; }
.limits div + div { border-left: 1px solid var(--line); }
.limits b { display: block; font-size: 17px; font-weight: 600; }
.limits span { display: block; font-size: 12px; color: var(--muted); }
.plan .btn { width: 100%; }
.plan .checks { padding-top: 4px; gap: 9px; }
.plan .checks li { font-size: 14px; }
.plan-enterprise { margin-top: 20px; background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 32px; display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 32px; align-items: center; }
.plan-enterprise h3 { font-size: 18px; font-weight: 600; }
.plan-enterprise .tagline { font-size: 14.5px; color: rgba(255,255,255,.7); margin: 6px 0 16px; }
.plan-enterprise .price b { font-size: 44px; }
.plan-enterprise .price .cur, .plan-enterprise .price .per { color: rgba(255,255,255,.65); }
.plan-enterprise .price-note { color: rgba(255,255,255,.55); }
.plan-enterprise .checks li { color: rgba(255,255,255,.8); font-size: 14px; }
.plan-enterprise .checks svg { color: var(--gold); }
.plan-enterprise .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.plan-enterprise .btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.every-plan { margin: 28px auto 0; max-width: 980px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; padding: 18px 24px; border: 1px dashed var(--line-strong); border-radius: 14px; font-size: 14px; color: var(--ink-soft); }
.every-plan b { font-weight: 600; color: var(--ink); }
.every-plan span { display: inline-flex; align-items: center; gap: 6px; }
.every-plan svg { width: 15px; height: 15px; color: var(--gold-ink); }

.compare { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; font-size: 15px; }
.compare th, .compare td { padding: 16px 24px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-size: 15px; font-weight: 600; background: #FCFBF8; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td svg { width: 18px; height: 18px; margin: 0 auto; color: var(--green); }
.compare td .no { color: var(--faint); }
.compare .grp td { background: var(--paper); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); }

/* FAQ */
.faq { display: grid; grid-template-columns: 360px 1fr; gap: 72px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .25s ease, background-color .2s ease; }
.faq summary i svg { width: 14px; height: 14px; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--navy); color: var(--white); border-color: var(--navy); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

/* Final CTA */
.cta {
    position: relative; overflow: hidden; border-radius: 28px; background: var(--navy); color: var(--white);
    padding: 88px 40px; text-align: center; display: grid; justify-items: center; gap: 24px;
}
.cta::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(55% 80% at 50% 0%, rgba(201,168,76,.16) 0%, rgba(201,168,76,0) 70%);
}
.cta-star { position: absolute; width: 520px; height: 520px; right: -140px; top: -160px; color: rgba(201,168,76,.10); }
.cta > *:not(.cta-star) { position: relative; }
.cta .h2 { max-width: 16ch; }

/* Footer */
.footer { padding: 88px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.footer-brand p { font-size: 14.5px; color: var(--muted); margin-top: 16px; max-width: 32ch; }
.footer h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: 14.5px; color: var(--muted); transition: color .15s ease; overflow-wrap: anywhere; }
.footer ul a:hover { color: var(--ink); }
.footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--faint); }
.footer-bottom .made { display: inline-flex; align-items: center; gap: 8px; }
.flag { display: inline-grid; grid-template-rows: 3fr 1fr 3fr 1fr 3fr; width: 18px; height: 12px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.flag i:nth-child(1) { background: #000; } .flag i:nth-child(2), .flag i:nth-child(4) { background: #fff; } .flag i:nth-child(3) { background: #BB0000; } .flag i:nth-child(5) { background: #006600; }

/* Sub-pages */
.page-hero { padding: calc(var(--nav-h) + 72px) 0 56px; margin-top: calc(var(--nav-h) * -1); text-align: center; position: relative; overflow: hidden; }
.page-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(60% 70% at 50% 0%, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 70%), radial-gradient(35% 50% at 85% 10%, rgba(201,168,76,.10) 0%, rgba(201,168,76,0) 70%);
}
.page-hero .container { position: relative; display: grid; justify-items: center; gap: 20px; }
.page-hero .display { font-size: clamp(40px, 6vw, 68px); max-width: 18ch; }
.page-hero .lead { max-width: 600px; }

.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; padding-bottom: 128px; }
.contact-side { display: grid; gap: 32px; }
.contact-side .item { display: flex; gap: 16px; }
.contact-side .item .ico { flex: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--white); display: grid; place-items: center; }
.contact-side .item .ico svg { width: 18px; height: 18px; }
.contact-side .item b { display: block; font-weight: 600; }
.contact-side .item p, .contact-side .item a { font-size: 15px; color: var(--muted); }
.contact-side .item a:hover { color: var(--ink); }
.expect { border-top: 1px solid var(--line-strong); padding-top: 28px; display: grid; gap: 14px; }
.expect h3 { font-size: 15px; font-weight: 600; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field label small { font-weight: 400; color: var(--faint); }
.field input, .field select, .field textarea {
    width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--white);
    font: inherit; font-size: 15px; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%235E677D' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(13,27,62,.08); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field .err { font-size: 13px; color: var(--red); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.form-foot p { font-size: 13px; color: var(--faint); max-width: 36ch; }
.form-success { display: none; text-align: center; padding: 40px 12px; gap: 14px; justify-items: center; }
.form-success .ok { width: 56px; height: 56px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: grid; place-items: center; }
.form-success .ok svg { width: 26px; height: 26px; }
.form-card.is-done form { display: none; }
.form-card.is-done .form-success { display: grid; }
.btn.is-loading { opacity: .7; pointer-events: none; }

.legal { max-width: 760px; margin: 0 auto; padding-bottom: 128px; }
.legal .updated { font-size: 14px; color: var(--faint); margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 44px 0 14px; }
.legal p, .legal li { font-size: 16px; color: var(--ink-soft); line-height: 1.75; }
.legal p + p { margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin-top: 12px; display: grid; gap: 6px; }
.legal a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* ── Before & after ───────────────────────────────────── */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba-side { margin: 0; border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 20px; align-content: start; border: 1px solid var(--line); }
.ba-before { background: #EFEDE7; }
.ba-after { background: var(--white); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.ba-side figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.ba-tag { white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(13,27,62,.08); color: var(--muted); }
.ba-tag.on { background: var(--navy); color: var(--gold-soft); }
.ba-stage { position: relative; min-height: 360px; display: grid; align-items: start; }
.ba-points { display: grid; gap: 10px; }
.ba-points li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.ba-points li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B42318' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"), #FBE4E1; }
.ba-after .ba-points li::before { background: no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E7A4C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"), var(--green-bg); }
.ba-after .vignette { box-shadow: var(--shadow); }

.cashbook {
    position: relative; width: 68%; margin: 6px 0 0 4px; transform: rotate(-2.2deg); padding: 18px 20px 22px 34px; border-radius: 4px;
    background: #FBF7EC; box-shadow: 0 10px 30px -12px rgba(60,40,10,.35), 0 1px 0 rgba(0,0,0,.04);
    background-image: linear-gradient(to right, transparent 26px, rgba(200,60,50,.35) 26px, rgba(200,60,50,.35) 27px, transparent 27px), repeating-linear-gradient(to bottom, transparent 0 25px, rgba(70,110,170,.22) 25px 26px);
    font-family: 'Caveat', cursive; color: #26386B; font-size: 19px; line-height: 26px;
}
.cb-head { display: flex; justify-content: space-between; font-weight: 700; color: #1B2A55; }
.cb-line { display: flex; justify-content: space-between; gap: 12px; }
.cb-line s { color: #A3412E; text-decoration-thickness: 2px; margin-right: 4px; }
.cb-line em { font-style: normal; color: #B42318; font-weight: 700; }
.cb-line .faint { color: #8A93AE; }
.cb-line.total { font-weight: 700; border-top: 2px solid rgba(38,56,107,.45); }
.cb-note { position: absolute; left: 14px; bottom: -74px; width: 168px; padding: 10px 12px; background: #FFE98A; color: #5B4A00; font-size: 17px; line-height: 19px; transform: rotate(-3deg); box-shadow: 0 8px 18px -8px rgba(0,0,0,.35); }
.sheet {
    position: absolute; right: 0; bottom: 0; width: 56%; transform: rotate(2deg); border-radius: 6px; overflow: hidden; background: #fff;
    box-shadow: 0 14px 34px -14px rgba(13,27,62,.35); border: 1px solid #D6DAE2; font-family: Arial, sans-serif; font-size: 11px;
}
.sheet-bar { display: flex; align-items: center; gap: 4px; padding: 6px 8px; background: #1F7244; color: #fff; font-size: 10.5px; }
.sheet-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); }
.sheet-bar span { margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-grid { display: grid; grid-template-columns: 22px 1fr 1fr 1fr; }
.sheet-grid span { border-right: 1px solid #E3E6EC; border-bottom: 1px solid #E3E6EC; padding: 4px 6px; white-space: nowrap; overflow: hidden; color: #222; }
.sheet-grid .h { background: #F1F3F6; color: #6B7280; text-align: center; padding: 4px 2px; }
.sheet-grid .b { font-weight: 700; }
.sheet-grid .err { color: #C0271C; font-weight: 700; background: #FDECEA; }
.sheet-grid .warn { color: #8A6A00; background: #FFF6D6; }

/* ── Churches: one Sunday ─────────────────────────────── */
.sunday { display: grid; gap: 0; position: relative; }
.sunday::before { content: ''; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; background: linear-gradient(to bottom, var(--gold), var(--line-strong) 12%, var(--line-strong) 88%, var(--gold)); }
.sun-step { position: relative; padding: 0 0 96px 48px; }
.sun-step:last-child { padding-bottom: 0; }
.sun-step::before { content: ''; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold); box-shadow: 0 0 0 5px var(--paper); }
.sun-time { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.sun-time b { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -0.02em; line-height: 1; }
.sun-time span { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.sun-row { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.sun-step:nth-child(even) .sun-copy { order: 2; }
.sun-step:nth-child(even) .sun-row { grid-template-columns: 1.15fr 0.85fr; }
.sun-copy { display: grid; gap: 16px; align-content: start; }
.sun-copy, .sun-visual, .ba-side, .tour-panels, .tour-copy > * { min-width: 0; }
.sun-n { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--faint); }
.sun-copy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
.sun-copy p { font-size: 16.5px; color: var(--muted); line-height: 1.65; }
.sun-visual .phone-wrap::before, .sun-visual .phone-wrap::after { display: none; }

.ui-batch-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ui-batch-head b { display: block; font-size: 14px; font-weight: 600; }
.ui-batch-head span { display: block; font-size: 10.5px; color: var(--ui-muted); margin-top: 2px; }
.ui-batch-head .r { display: grid; justify-items: end; gap: 6px; }
.ui-batch-head strong { font-size: 16px; font-weight: 600; color: #5A6A85; }
.ui-alert { display: flex; align-items: center; gap: 10px; background: #E6FFFA; border: 1px solid #A6EBDD; color: #0E5F4F; border-radius: 8px; padding: 10px 12px; font-size: 11.5px; }
.ui-alert svg { width: 14px; height: 14px; flex: none; }
.ui-stepper { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; padding: 4px 0; }
.ui-stepper::before { content: ''; position: absolute; left: 8%; right: 8%; top: 15px; height: 2px; background: #EBF1F6; }
.ui-stepper div { position: relative; display: grid; justify-items: center; gap: 5px; font-size: 10px; color: var(--ui-muted); }
.ui-stepper i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 10.5px; background: #fff; border: 2px solid #DFE5EF; color: var(--ui-muted); }
.ui-stepper .done i { background: var(--ui-success); border-color: var(--ui-success); color: #fff; }
.ui-stepper .done span { color: var(--ui-text); }
.ui-stepper .now i { border-color: var(--ui-warning); color: #C98A00; box-shadow: 0 0 0 4px rgba(255,174,31,.18); }
.ui-stepper .now span { color: #C98A00; font-weight: 600; }
.ui-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ui-stats b { display: block; font-size: 15px; font-weight: 600; margin-top: 4px; }
.ui-bars { height: 130px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; padding-bottom: 16px; position: relative; }
.ui-bars div { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.ui-bars i { width: 100%; background: #2A3A5C; border-radius: 3px 3px 0 0; }
.ui-bars div:last-child i { background: var(--gold); }
.ui-bars span { position: absolute; bottom: -15px; font-size: 8.5px; color: var(--ui-muted); }
.ui-pie { width: 120px; height: 120px; margin: 4px auto 8px; transform: rotate(-90deg); }
.ui-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; font-size: 9.5px; }
.ui-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 4px; }

/* ── WhatsApp button ──────────────────────────────────── */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 60; height: 54px; padding: 0 16px 0 14px; border-radius: 999px;
    display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; font-weight: 600; font-size: 15px;
    box-shadow: 0 12px 28px -10px rgba(18,140,70,.6), 0 2px 6px rgba(0,0,0,.12); transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(18,140,70,.7), 0 2px 6px rgba(0,0,0,.12); }
body.menu-open .wa-float { display: none; }

@media (max-width: 960px) {
    .ba { grid-template-columns: 1fr; }
    .sun-row { grid-template-columns: 1fr; gap: 28px; }
    .sun-step:nth-child(even) .sun-copy { order: 0; }
    .sun-step:nth-child(even) .sun-row { grid-template-columns: 1fr; }
    .sun-step { padding-bottom: 72px; }
}
@media (max-width: 640px) {
    .ba-side { padding: 18px; }
    .ba-stage { min-height: 300px; }
    .cashbook { width: 88%; font-size: 17px; }
    .sheet { width: 72%; }
    .ba-stage { min-height: 380px; }
    .cb-note { display: none; }
    .sunday::before { left: 5px; }
    .sun-step { padding-left: 30px; }
    .sun-step::before { width: 11px; height: 11px; }
    .sun-time { flex-direction: column; gap: 6px; }
    .ui-stepper span { font-size: 8.5px; }
    .ui-stats { grid-template-columns: 1fr; }
    .wa-float { right: 14px; bottom: 14px; width: 54px; padding: 0; justify-content: center; }
    .wa-float span { display: none; }
}

/* ── Photo backgrounds (Unsplash License) ─────────────── */
.has-photo { position: relative; isolation: isolate; overflow: hidden; }
.has-photo::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--photo) center / cover no-repeat; filter: saturate(.85);
}
.cta.has-photo { background: var(--navy); }
.cta.has-photo .cta-star { display: none; }
.cta.has-photo::before { z-index: 0; background: linear-gradient(180deg, rgba(13,27,62,.80) 0%, rgba(13,27,62,.93) 100%), radial-gradient(55% 80% at 50% 0%, rgba(201,168,76,.22) 0%, rgba(201,168,76,0) 70%); }
.cta.has-photo::after { z-index: -1; }
.cta.has-photo > * { z-index: 1; }
.aud.primary.has-photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(13,27,62,.96) 0%, rgba(13,27,62,.86) 50%, rgba(13,27,62,.40) 100%); }
.aud.primary.has-photo::after { z-index: -2; background-position: 75% center; filter: saturate(.9) brightness(1.15); }

.page-hero.photo-hero { background: var(--navy); color: var(--white); padding-bottom: 96px; isolation: isolate; }
.page-hero.photo-hero::before { z-index: 0; background: linear-gradient(180deg, rgba(13,27,62,.86) 0%, rgba(13,27,62,.72) 55%, rgba(13,27,62,.94) 100%); -webkit-mask-image: none; mask-image: none; }
.page-hero.photo-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--photo) center 40% / cover no-repeat; filter: saturate(.85); }
.page-hero.photo-hero .container { z-index: 1; }
.page-hero.photo-hero .lead { color: rgba(255,255,255,.78); }
.page-hero.photo-hero .btn-primary { background: var(--gold); color: var(--navy); }
.page-hero.photo-hero .btn-primary:hover { background: #D4B661; }
body:has(.photo-hero) .nav:not(.is-scrolled) .brand-word, body:has(.photo-hero) .nav:not(.is-scrolled) .nav-link, body:has(.photo-hero) .nav:not(.is-scrolled) .nav-signin { color: var(--white); }
body:has(.photo-hero) .nav:not(.is-scrolled) .brand small { color: var(--gold); }
body:has(.photo-hero) .nav:not(.is-scrolled) .nav-link:hover { background: rgba(255,255,255,.08); }
body:has(.photo-hero) .nav:not(.is-scrolled) .btn-primary { background: var(--gold); color: var(--navy); }

/* ── Reveal ───────────────────────────────────────────── */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; } .js .reveal.d4 { transition-delay: .32s; }
.js .ui-area .line { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1) .3s; }
.js .is-in .ui-area .line { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .js .ui-area .line { stroke-dashoffset: 0; transition: none; }
    .tour-panel.is-active { animation: none; }
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 1100px) {
    .ui { grid-template-columns: 1fr; }
    .ui-side { display: none; }
    .ui-band { --cols: 3 !important; }
    .ui-band > div:nth-child(4) { border-left: 0; }
    .ui-band > div:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.08); }
    .tour { grid-template-columns: 1fr; gap: 28px; }
    .tour-tabs { position: static; grid-template-columns: repeat(3, 1fr); }
    .tour-tab { padding: 14px; }
    .tour-tab::before { left: 14px; right: 14px; top: auto; bottom: 0; width: auto; height: 2px; }
    .tour-tab .d { display: none !important; }
    /* Replica of the real public giving page (give/{slug}) */
.gp { background: #F2F4F8; font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif; color: #0B1C3F; padding-bottom: 14px; }
.gp-head { text-align: center; padding: 4px 18px 12px; }
.gp-head b { display: block; font-size: 17px; font-weight: 800; }
.gp-head span { display: block; font-size: 10.5px; color: #5E677D; margin-top: 4px; line-height: 1.4; }
.gp-card { background: #fff; border-radius: 12px; margin: 0 10px 8px; padding: 10px; display: grid; gap: 8px; }
.gp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gp-tabs.three { grid-template-columns: repeat(3, 1fr); }
.gp-tabs i { font-style: normal; text-align: center; font-weight: 700; font-size: 11px; padding: 7px 0; border-radius: 8px; border: 1px solid #DDE2EA; }
.gp-tabs i.on { background: #0B1C3F; border-color: #0B1C3F; color: #fff; }
.gp-label { font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5E677D; }
.gp-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gp-opts div { border: 1px solid #DDE2EA; border-radius: 9px; padding: 7px 6px; text-align: center; }
.gp-opts div.on { border: 2px solid #0B1C3F; padding: 6px 5px; }
.gp-opts b { display: block; font-size: 11px; font-weight: 800; }
.gp-opts span { display: block; font-size: 9px; color: #5E677D; margin-top: 1px; line-height: 1.3; }
.gp-amount { display: flex; align-items: center; gap: 8px; }
.gp-amount span { font-weight: 700; font-size: 12px; color: #5E677D; }
.gp-amount b { flex: 1; border: 1px solid #DDE2EA; border-radius: 8px; padding: 7px 10px; font-size: 16px; font-weight: 700; }
.gp-chips { display: flex; gap: 5px; }
.gp-chips i { font-style: normal; font-size: 10px; padding: 4px 8px; border-radius: 999px; background: #F2F4F8; border: 1px solid #DDE2EA; }
.gp-chips i.on { background: #0B1C3F; color: #fff; border-color: #0B1C3F; }
.gp-phone { display: flex; border: 1px solid #DDE2EA; border-radius: 8px; overflow: hidden; font-size: 12px; }
.gp-phone span { background: #F2F4F8; padding: 7px 9px; font-weight: 700; border-right: 1px solid #DDE2EA; }
.gp-phone b { padding: 7px 9px; font-weight: 600; }
.gp-btn { background: #0B1C3F; color: #fff; text-align: center; font-weight: 800; font-size: 12.5px; padding: 10px; border-radius: 9px; }

.give-toast { right: 0; }
}

@media (max-width: 960px) {
    .section { padding: 96px 0; }
    .flow { grid-template-columns: 1fr; gap: 28px; }
    .flow-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding: 0; }
    .flow-step .node { grid-row: span 3; }
    .flow-step .k { margin-top: 2px; }
    .flow-step::after { top: 56px; left: 28px; right: auto; bottom: -28px; width: 1px; height: auto; background-image: linear-gradient(to bottom, var(--line-strong) 50%, transparent 50%); background-size: 1px 8px; }
    .flow-step p { max-width: none; }
    .tour-copy, .payroll, .giving, .leaders, .faq, .contact { grid-template-columns: 1fr; gap: 40px; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .audience, .plans, .plan-enterprise { grid-template-columns: 1fr; }
    .plan-enterprise { max-width: 520px; margin-left: auto; margin-right: auto; gap: 24px; }
    .plans { max-width: 520px; margin-left: auto; margin-right: auto; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .phone-wrap::after { display: none; }
}

@media (max-width: 640px) {
    :root { --gutter: 16px; --nav-h: 60px; }
    .section { padding: 80px 0; }
    .section-head { margin-bottom: 40px; }
    .hero { padding-top: calc(var(--nav-h) + 48px); }
    .hero-ctas { width: 100%; }
    .hero-ctas .btn { flex: 1 1 100%; }
    .hero-stage { margin-top: 48px; }
    .window-bar .window-url { display: none; }
    .ui-body { padding: 12px; }
    .ui-top { padding: 0 12px; }
    .ui-band { --cols: 2 !important; }
    .ui-band > div { border-left: 0 !important; border-top: 1px solid rgba(255,255,255,.08); }
    .ui-band > div:nth-child(-n+2) { border-top: 0; }
    .ui-band > div:nth-child(even) { border-left: 1px solid rgba(255,255,255,.08) !important; }
    .ui-band .val { font-size: 15px; }
    .ui-split { grid-template-columns: 1fr; }
    .ui-split > :last-child { display: none; }
    .ui-period .muted, .ui-period .link { display: none; }
    .tour-tabs { grid-template-columns: 1fr 1fr; }
    .tour-tab .t { font-size: 14px; gap: 8px; }
    .vignette { padding: 16px; }
    .grid-3 { grid-template-columns: 1fr; }
    .feature { padding: 26px; }
    .aud, .plan, .form-card { padding: 26px; }
    .aud h3 { font-size: 30px; }
    .rates b { font-size: 26px; }
    .payslip-head, .payslip-body, .payslip-net, .payslip-foot { padding-left: 18px; padding-right: 18px; }
    .payslip-net b { font-size: 36px; }
    .phone { width: 272px; }
    .phone-wrap::before { width: 320px; height: 320px; }
    .give-toast, .give-tag { display: none; }
    .cta { padding: 64px 22px; border-radius: 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .faq details p { padding-right: 0; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .compare th, .compare td { padding: 12px 14px; font-size: 14px; }
    .statement .cols { gap: 12px; }
    .statement .cols span { width: 74px; }
}
