/* ==========================================================================
   Circle website: shared stylesheet (redesign, November 2026)
   Used by index, organisations, pricing, faith, about, support and demos/.
   Plain CSS, no build step. Fonts (Outfit + Inter) are self-hosted in /fonts,
   so no page calls a third-party font service.
   ========================================================================== */

/* ---------- Fonts: self-hosted variable woff2 (SIL Open Font Licence, see fonts/OFL-*.txt) ----------
   Latin Extended is a separate file so macrons (for te reo Māori) load only when a page uses them. */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/outfit-latin-ext-wght-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/outfit-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
    --bg: #FBFAFD;
    --ink: #1B1030;
    --ink-soft: #4B4460;
    --ink-muted: #6B6480;
    --ink-prose: #332A4A;
    --brand: #BD10E0;
    --brand-dark: #8A0BB3;
    --brand-deep: #5F0880;
    --lilac: #F1EAFA;
    --lilac-soft: #F6F1FB;
    --line: #E6DEF2;
    --line-soft: #EEE8F6;
    --night: #160A2B;
    --night-raised: #24143F;
    --night-line: #2E1D4D;
    --night-outline: #4A3670;
    --on-night: #D9D0EA;
    --on-night-muted: #B8ADCF;
    --on-night-accent: #D9B8F5;
    --on-night-strip: #E9E2F5;
    --field-border: #857A9F;
    --pill-border: #CFC5E0;
    --aura: radial-gradient(circle at 50% 18%, #FFB36B 0%, #FF5C8A 32%, #C13CE0 58%, #6A4BE8 80%, #4F8CFF 100%);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --gutter: 24px;
    --space-section: 88px;
    --space-section-lg: 96px;
    --space-hero-top: 56px;
    --space-section-sm: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
}
h1, h2, h3, p, ul { margin: 0; }
img, svg { max-width: 100%; }
a { color: var(--brand-dark); }
a:hover { color: var(--brand-deep); }
[hidden] { display: none !important; }

/* ---------- Accessibility ---------- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 9999;
    background: var(--brand);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus { top: 8px; color: #fff; }
*:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.on-night *:focus-visible, .site-footer *:focus-visible { outline-color: #fff; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

@keyframes circle-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.045); }
}
.breathe { animation: circle-breathe 6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .breathe { animation: none; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ---------- Header ---------- */
.site-header {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px var(--gutter);
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.01em;
}
.brand:hover { color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 12px; object-fit: cover; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.site-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    text-decoration: none;
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
}
.site-nav__link:hover { color: var(--brand-dark); }
.site-nav__cta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 22px;
    margin-left: 8px;
    border-radius: 999px;
    background: var(--ink);
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}
.site-nav__cta:hover { background: #2E1D4D; color: #fff; }

/* ---------- Layout ---------- */
.band--white { background: #fff; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.band--open-bottom { border-bottom: 0; }
.band--lilac { background: var(--lilac); }
.band--night { background: var(--night); color: #fff; }

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--pt, var(--space-section)) var(--gutter) var(--pb, var(--space-section));
}
.wrap--top-hero { --pt: var(--space-hero-top); }
.wrap--top-none { --pt: 0px; }
.wrap--bottom-none { --pb: 0px; }
.wrap--bottom-sm { --pb: var(--space-section-sm); }
.wrap--bottom-lg { --pb: var(--space-section-lg); }
.wrap--tall { --pt: var(--space-section-lg); --pb: var(--space-section-lg); }

.stack { display: flex; flex-direction: column; gap: 40px; }
.stack--wide { gap: 48px; }
.stack--start { align-items: flex-start; gap: 20px; }
.stack--center { align-items: center; gap: 24px; text-align: center; }
.heading-group { display: flex; flex-direction: column; gap: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; margin-top: 8px; }
.btn-row--spaced { margin-top: 12px; }

/* ---------- Type ---------- */
.display {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(44px, 6.4vw, 80px);
    line-height: 1.02;
    letter-spacing: -0.03em;
}
.display--xl { font-size: clamp(44px, 7vw, 84px); }
.display--md { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; }
.display--measure { max-width: 900px; }

.h-section {
    max-width: 640px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(32px, 4.4vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.h-section--wide { max-width: 720px; }
.h-section--night { max-width: 760px; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; }
.h-section--night-wide { max-width: 820px; }
.h-section--free { max-width: none; }

.h-cta {
    max-width: 760px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.h-cta--narrow { max-width: 720px; }
.h-contact {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(34px, 4.6vw, 54px);
    line-height: 1.06;
    letter-spacing: -0.02em;
}
.h-panel {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.h-panel--compact { font-size: clamp(28px, 3.6vw, 40px); }

.h-card { font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.h-card--tight { line-height: 1.2; }
.h-card--md { font-size: 24px; }
.h-card--lg { font-size: 26px; line-height: 1.15; }
.h-card--xl { font-size: 28px; line-height: 1.15; }

.pill-tag {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--lilac);
    color: var(--brand-deep);
    font-size: 14px;
    font-weight: 600;
}
.eyebrow {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-deep);
}
.eyebrow--muted { color: var(--ink-muted); }
.eyebrow--night { color: var(--on-night-accent); }
.eyebrow--lg { font-size: 15px; }
.eyebrow--sm { font-size: 13px; letter-spacing: 0.06em; }

.lede { max-width: 520px; font-size: 20px; line-height: 1.55; color: var(--ink-soft); }
.lede--wide { max-width: 560px; }
.lede--wider { max-width: 600px; }
.lede--widest { max-width: 620px; }
.intro { max-width: 620px; color: var(--ink-soft); }
.intro--wide { max-width: 640px; }
.intro--narrow { max-width: 560px; }
.text-soft { color: var(--ink-soft); }
.text-muted { color: var(--ink-muted); }
.text-on-night { color: var(--on-night); }
.text-on-night-muted { color: var(--on-night-muted); }
.small { font-size: 15px; }
.fine { font-size: 14px; }
.strong-link { font-weight: 600; }
.narrow-520 { max-width: 520px; }
.note-night { max-width: 860px; font-size: 15px; color: var(--on-night-muted); }
.callout { padding: 20px 24px; border-radius: 18px; background: var(--lilac-soft); color: var(--ink-soft); }

.list-plain { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-weight: 500; }
.list-plain--spaced { margin-top: 8px; }
.list-bullets { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-soft); }
.band--night .list-bullets, .card--night .list-bullets { color: var(--on-night); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    max-width: 100%;
    padding: 8px 28px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.btn svg { flex: 0 0 auto; }
.btn--md { min-height: 52px; padding: 8px 24px; font-size: 16px; }
.btn--sm { min-height: 44px; padding: 6px 20px; font-size: 15px; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: #A60EC6; color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2E1D4D; color: #fff; }
.btn--outline { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--lilac); color: var(--ink); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: rgba(27, 16, 48, 0.06); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--lilac); color: var(--ink); }
.btn--outline-light { background: transparent; border-color: #fff; color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: default; }

/* ---------- Hero ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.hero--top { align-items: flex-start; gap: 48px 80px; }
.hero__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__copy--wide { flex-basis: 520px; }
.hero__copy--narrow { flex-basis: 380px; }
.hero__visual { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero__visual--panel { flex-basis: 360px; align-items: stretch; gap: 12px; }
.hero__visual--tight { flex-basis: 320px; gap: 12px; }
.hero__prose {
    flex: 1.4 1 480px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    font-size: 19px;
    line-height: 1.65;
    color: var(--ink-prose);
}
.signature { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.signature__name { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--ink); }
.signature__role { font-size: 16px; color: var(--ink-muted); }

/* ---------- Aura orb ---------- */
.aura { flex: 0 0 auto; border-radius: 50%; background: var(--aura); }
.aura--hero { width: 190px; height: 190px; box-shadow: 0 24px 50px rgba(150, 60, 220, 0.28); }
.aura--feature { width: 150px; height: 150px; }
.aura--about { width: 140px; height: 140px; margin-top: 16px; box-shadow: 0 24px 50px rgba(150, 60, 220, 0.25); }
.aura--phone { width: 120px; height: 120px; align-self: center; }
.aura--cta { width: 96px; height: 96px; }
.aura--badge { width: 72px; height: 72px; }
.aura[data-mood="1"] { background: radial-gradient(circle at 50% 18%, #8FB0FF 0%, #5B6EF0 40%, #4A3FB8 75%, #2E2A7A 100%); }
.aura[data-mood="2"] { background: radial-gradient(circle at 50% 18%, #A9B8FF 0%, #7C6CF2 40%, #6A3FD0 75%, #3F4FC8 100%); }
.aura[data-mood="3"], .aura--cool { background: radial-gradient(circle at 50% 18%, #8FE0D0 0%, #5FB0F0 38%, #7C6CF2 72%, #5B4FD8 100%); }
.aura[data-mood="4"] { background: radial-gradient(circle at 50% 18%, #FFA6C8 0%, #E05CE0 36%, #9A4CF0 70%, #4F7CFF 100%); }
.aura[data-mood="5"] { background: var(--aura); }
.aura--warm { background: radial-gradient(circle at 50% 18%, #FFE08A 0%, #FF9A5C 36%, #F0508C 70%, #9A4CF0 100%); }

/* ---------- Phone-style card (home hero mood picker, faith illustration) ---------- */
.phone-card {
    width: 100%;
    max-width: 340px;
    padding: 32px 24px 28px;
    border-radius: 44px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 30px 80px rgba(60, 20, 110, 0.14);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}
.phone-card--stretch { align-items: stretch; padding-bottom: 32px; gap: 18px; }
.phone-card__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; text-align: center; }
.phone-card__tile { padding: 16px; border-radius: 18px; background: var(--lilac-soft); display: flex; flex-direction: column; gap: 4px; }
.phone-card__tile p:last-child { font-size: 15px; color: var(--ink-soft); }

.mood-picker { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mood-pill {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1.5px solid var(--pill-border);
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.mood-pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.mood-line { min-height: 48px; text-align: center; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.mood-line a { font-weight: 600; }

/* ---------- Group view sample (organisations hero) ---------- */
.group-view {
    padding: 28px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 30px 80px rgba(60, 20, 110, 0.12);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.group-view__meter { display: flex; flex-direction: column; gap: 8px; }
.group-view__row { display: flex; justify-content: space-between; gap: 16px; font-weight: 500; }
.group-view__row--divided { padding-top: 16px; border-top: 1px solid var(--line-soft); }
.group-view__bar { height: 10px; border-radius: 999px; background: var(--lilac); }
.group-view__bar span { display: block; width: 68%; height: 10px; border-radius: 999px; background: var(--brand); }
.group-view__private { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-deep); }

/* ---------- Steps and columns ---------- */
.steps { display: flex; flex-wrap: wrap; gap: 40px; }
.step { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.steps--four .step { flex-basis: 220px; }
.step__num { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--brand-dark); }
.step__title { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.2; }
.steps--four .step__title { font-size: 22px; }
.step__text { color: var(--ink-soft); }

/* ---------- Cards ---------- */
.card-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.card {
    flex: 1 1 280px;
    min-width: 0;
    padding: 32px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.card > p { color: var(--ink-soft); }
.card > .price { color: var(--ink); }
.card > .eyebrow { color: var(--brand-deep); }
.card > .card__label { color: var(--ink-muted); }
.card--aura {
    flex: 2 1 520px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
    padding: 36px;
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.card--aura__copy { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.card--aura__copy p { color: var(--on-night); }
.card--audience { flex-basis: 320px; padding: 28px; border-radius: 24px; background: var(--bg); gap: 8px; }
.card--price { border-radius: 24px; gap: 8px; }
.card--plan { flex-basis: 300px; border-radius: 24px; background: var(--bg); gap: 16px; }
.card--featured { background: #fff; border: 2px solid var(--brand); }
.card--demo { flex-basis: 320px; gap: 14px; }
.card--about { flex-basis: 360px; padding: 36px; gap: 12px; background: var(--bg); }
.card--lilac { background: var(--lilac); border-color: var(--lilac); }
.card--night { flex-basis: 320px; border-radius: 24px; background: var(--night-raised); border-color: var(--night-raised); gap: 14px; }
.card--night-wide { flex-basis: 360px; }
.card--night-outline { background: transparent; border-color: var(--night-outline); }
.card--night > p { color: var(--on-night); }
.card--crisis { flex-basis: 300px; padding: 28px; gap: 4px; }
.card--crisis > p { color: var(--on-night); }
.card--crisis > p:first-child { color: #fff; font-weight: 600; }
.card__label { font-weight: 600; }
.card__label--plan { font-weight: 500; }
.card__head { display: flex; flex-direction: column; gap: 4px; }
.card__actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 12px; }
.card__cta { margin-top: auto; }

.price { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1.1; }
.price--lg { font-size: 48px; line-height: 1.05; }
.price--hero { font-size: 64px; line-height: 1; }
.price__unit { font-family: var(--font-body); font-weight: 500; font-size: 16px; color: var(--ink-soft); }

.crisis-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(42px, 12vw, 56px);
    line-height: 1.1;
    text-decoration: none;
    color: #fff;
}
.crisis-number:hover { color: #fff; text-decoration: underline; }
.crisis-more { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px 40px; color: var(--on-night); }
.crisis-more a { color: #fff; font-weight: 600; }

/* ---------- Panels ---------- */
.panel {
    padding: 48px;
    border-radius: 32px;
    background: var(--lilac);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px 56px;
}
.panel--between { justify-content: space-between; gap: 24px 48px; }
.panel--night { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 28px; padding: 40px; background: var(--night); color: #fff; }
.panel__main { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.panel__main--mission { flex-basis: 440px; gap: 14px; }
.panel__main--email { flex-basis: 380px; gap: 10px; }
.panel__main p:not(.eyebrow) { color: var(--ink-soft); }
.panel__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.panel__side--mission { flex-basis: 260px; align-items: flex-start; gap: 12px; }
.panel__head { display: flex; flex-direction: column; gap: 8px; }
.panel__head p { max-width: 640px; color: var(--on-night); }

/* ---------- Pricing calculator ---------- */
.calc { display: flex; flex-wrap: wrap; gap: 20px; }
.calc__inputs {
    flex: 1 1 420px;
    min-width: 0;
    padding: 40px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.calc__members { display: flex; flex-direction: column; gap: 12px; font-weight: 600; }
.calc__members-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.calc__count { font-family: var(--font-display); font-weight: 700; font-size: 36px; line-height: 1; }
.calc__members input[type="range"] { width: 100%; height: 44px; margin: 0; accent-color: var(--brand); }
.calc__check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 500; cursor: pointer; }
.calc__check input { flex: 0 0 auto; width: 22px; height: 22px; margin: 0; accent-color: var(--brand); }
.calc__result {
    flex: 1 1 360px;
    min-width: 0;
    padding: 40px;
    border-radius: 28px;
    background: var(--night);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}
.calc__headline {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -0.02em;
}
.calc__detail { color: var(--on-night); }
.calc__result .btn { align-self: flex-start; margin-top: 12px; padding-left: 26px; padding-right: 26px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.faq__title { flex: 1 1 280px; min-width: 0; max-width: none; }
.faq__list { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; }
.faq__item { padding: 24px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { font-family: var(--font-display); font-weight: 600; font-size: 21px; }
.faq__item p { color: var(--ink-soft); }

/* ---------- Contact and forms ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.contact__copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact__copy p { max-width: 460px; }
.contact__ways { display: flex; flex-direction: column; gap: 6px; }
.contact__ways--spaced { margin-top: 12px; }
.contact__ways-label { font-size: 15px; font-weight: 600; color: var(--ink-muted); }
.contact__ways-label--soft { color: var(--ink-soft); }

.pilot-offer {
    flex: 1 1 340px;
    min-width: 0;
    padding: 40px;
    border-radius: 28px;
    background: var(--lilac);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-card {
    flex: 1 1 420px;
    min-width: 0;
    padding: 36px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: flex; flex-wrap: wrap; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 15px; font-weight: 600; }
.form__row .field { flex: 1 1 180px; }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1.5px solid var(--field-border);
    background: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    color: var(--ink);
}
.field select { padding: 0 12px; }
.field textarea { padding: 12px 14px; resize: vertical; }
.form-error { padding: 12px 14px; border-radius: 12px; background: #FDECEC; color: #8A1C1C; font-size: 15px; }
.form-success { display: flex; flex-direction: column; gap: 8px; padding: 8px 0; }
.form-success p { color: var(--ink-soft); }

.contact-email {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(22px, 6.4vw, 32px);
    text-decoration: none;
    overflow-wrap: anywhere;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #fff; border-top: 1px solid var(--night-line); }
.crisis-strip { padding: 14px var(--gutter); background: var(--night-raised); text-align: center; font-size: 15px; color: var(--on-night-strip); }
.crisis-strip a { color: #fff; font-weight: 600; }
.site-footer__grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px var(--gutter) 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px 64px;
}
.site-footer__about { flex: 2 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.site-footer__name { font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.site-footer__blurb { max-width: 360px; font-size: 15px; color: var(--on-night-muted); }
.site-footer__col { flex: 1 1 150px; min-width: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.site-footer__col p { font-weight: 600; }
.site-footer__col a { color: var(--on-night); text-decoration: none; overflow-wrap: anywhere; }
.site-footer__col a:hover { color: #fff; text-decoration: underline; }
.site-footer__legal { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter) 40px; font-size: 14px; color: var(--on-night-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
    /* Compact nav: brand and CTA on the first row, text links on the second. */
    .site-header { padding-top: 14px; padding-bottom: 6px; gap: 2px 24px; }
    .site-nav { flex: 1 0 100%; gap: 0 2px; margin-left: -10px; margin-right: -10px; }
    .site-nav__link { padding: 0 10px; }
    .site-nav__cta { position: absolute; top: 14px; right: var(--gutter); margin-left: 0; padding: 0 18px; }
}

@media (max-width: 640px) {
    :root {
        --space-section: 64px;
        --space-section-lg: 72px;
        --space-hero-top: 32px;
        --space-section-sm: 48px;
    }
    .hero { gap: 40px; }
    .lede { font-size: 18px; }
    .hero__prose { font-size: 18px; }
    .panel { padding: 32px 24px; border-radius: 28px; }
    .panel--night { padding: 28px 20px; }
    .calc__inputs, .calc__result, .pilot-offer { padding: 28px 24px; }
    .calc__headline { font-size: 40px; }
    .form-card, .card--about, .card--aura { padding: 28px 24px; }
    .card { padding: 28px 24px; }
    .card--crisis { padding: 24px 20px; }
    .group-view { padding: 24px; }
    .contact { gap: 40px; }
    .btn-row .btn { flex: 1 1 auto; }
}

@media (max-width: 360px) {
    :root { --gutter: 16px; }
    .brand { font-size: 22px; }
    .site-nav__cta { padding: 0 14px; font-size: 14px; }
}

/* ---------- Demo walkthrough pages (demos/<demo>/app.html and admin.html) ----------
   Page chrome only. Each demo keeps its own tenant-themed styles for the phone
   and dashboard mock-ups in its inline <style>. */
.demo-header__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.demo-frame {
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 30px 80px rgba(60, 20, 110, 0.12);
}
