/* =========================================================
   ANGEL LAW AGENTS — Sibling brand to AngelAi
   Warm sunrise gradient (#FF6A13 → #EF426F) + trust navy (#0066B2)
   Light primary · Inter · Angel-family palette
   ========================================================= */

:root {
    /* Surfaces */
    --bg:           #fafafa;        /* AngelAi off-white */
    --bg-alt:       #fff7f0;        /* warm tinted alt */
    --surface:      #ffffff;
    --surface-2:    #fafafa;

    /* Ink */
    --ink:          #0b1237;        /* AngelAi midnight */
    --ink-2:        #171717;
    --ink-3:        #334155;
    --muted:        #64748b;
    --muted-2:      #94a3b8;

    /* Lines */
    --line:         #e8e8e8;
    --line-2:       #f1f1f1;

    /* Brand — AngelAi sunset family */
    --brand:        #ff6a13;        /* AngelAi primary orange */
    --brand-2:      #ef426f;        /* AngelAi pink tail */
    --brand-3:      #ff541c;        /* deep orange */
    --brand-ink:    #c4490d;        /* darker for text-on-light */
    --brand-soft:   #fff1e6;        /* warm wash */

    /* Trust — AngelAi blue family (used for secondary CTAs / links) */
    --trust:        #0066b2;        /* AngelAi royal blue */
    --trust-deep:   #004d85;        /* AngelAi navy */
    --trust-soft:   #e6f2fa;        /* aqua wash */
    --sky:          #98daf0;        /* AngelAi sky aqua */

    /* Effects */
    --shadow-sm:    0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow:       0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md:    0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg:    0 12px 32px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow-xl:    0 24px 64px rgba(15, 23, 42, 0.12), 0 8px 24px rgba(15, 23, 42, 0.06);

    /* Radii */
    --r-sm:  6px;
    --r:     10px;
    --r-md:  14px;
    --r-lg:  20px;
    --r-xl:  28px;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    font-size: 16px;
    font-feature-settings: 'cv11', 'ss01', 'ss03';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

img, svg { display: block; max-width: 100%; }

/* ---------- Layout ---------- */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}
.container.narrow { max-width: 880px; }

/* ---------- NAV ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 251, 252, 0.72);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.nav-logo { width: 28px; height: 28px; }
.nav-brand-text { font-size: 16px; }

/* Angel mark — light surfaces (nav, footer) */
.angel-mark .angel-letter {
    fill: var(--ink);
}
.angel-mark .angel-wisps {
    stroke: var(--brand-2);
    opacity: 0.85;
}
/* Dark surfaces (CTA band, dark backgrounds): inverts via .on-dark */
.on-dark .angel-mark .angel-letter { fill: #ffffff; }
.on-dark .angel-mark .angel-wisps { stroke: #a5b4fc; opacity: 0.9; }

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0 auto 0 12px;
    padding: 0;
}
.nav-links a {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
    transition: color .15s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language toggle */
.lang-toggle {
    display: inline-flex;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 2px;
}
.lang-btn {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    transition: all .15s ease;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active {
    background: var(--ink);
    color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14.5px;
    padding: 11px 20px;
    border-radius: var(--r);
    border: 1px solid transparent;
    transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
    white-space: nowrap;
    line-height: 1;
}
.btn.btn-sm { padding: 8px 14px; font-size: 13.5px; }

.btn-primary {
    background: var(--ink);
    color: #fff;
    box-shadow: var(--shadow);
}
.btn-primary:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-2);
    border-color: var(--line);
}
.btn-ghost:hover {
    background: var(--surface);
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    padding: 88px 0 56px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-mesh {
    position: absolute;
    top: -200px;
    left: 50%;
    width: 1200px;
    height: 800px;
    transform: translateX(-50%);
    background:
        radial-gradient(ellipse 600px 400px at 30% 40%, rgba(239, 66, 111, 0.18), transparent 60%),
        radial-gradient(ellipse 500px 400px at 70% 30%, rgba(59, 130, 246, 0.16), transparent 60%),
        radial-gradient(ellipse 400px 300px at 50% 70%, rgba(255, 84, 28, 0.10), transparent 60%);
    filter: blur(30px);
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(15,23,42,0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15,23,42,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 700px 500px at 50% 0%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 700px 500px at 50% 0%, #000 30%, transparent 80%);
}

.hero-inner {
    position: relative;
    text-align: center;
}
.hero-eyebrow { margin-bottom: 22px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink-3);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.hero-title {
    font-size: clamp(40px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: 700;
    margin: 0 0 22px;
    color: var(--ink);
}
.hero-title .grad {
    background: linear-gradient(90deg, var(--brand-2), var(--brand), var(--brand-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.55;
    color: var(--muted);
    max-width: 680px;
    margin: 0 auto 32px;
}

.cta-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 18px 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 64px;
}
.meta-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.meta-num {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.meta-label {
    font-size: 11.5px;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.meta-divider {
    width: 1px;
    height: 28px;
    background: var(--line);
}

/* Hero mockup */
.hero-mockup {
    max-width: 880px;
    margin: 0 auto;
    perspective: 1200px;
}
.mock-window {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: rotateX(2deg);
}
.mock-chrome {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
}
.mock-dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    display: inline-block;
}
.mock-dot.r { background: #ff5f57; }
.mock-dot.y { background: #ffbd2e; }
.mock-dot.g { background: #28c941; }
.mock-url {
    margin-left: 12px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
}
.mock-body {
    padding: 28px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mock-msg {
    max-width: 78%;
    padding: 14px 16px;
    border-radius: var(--r-md);
    font-size: 14.5px;
    line-height: 1.5;
}
.mock-msg.user {
    align-self: flex-end;
    background: var(--brand);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.mock-msg.ai {
    align-self: flex-start;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--ink-2);
    border-bottom-left-radius: 4px;
}
.mock-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 6px;
    font-family: var(--mono);
}
.mock-msg p { margin: 0 0 6px; }
.mock-msg ul { margin: 6px 0; padding-left: 18px; }
.mock-msg li { margin: 2px 0; }
.mock-attach {
    margin-top: 8px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.18);
    border-radius: 6px;
    font-size: 12.5px;
    display: inline-block;
}
.mock-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.mock-btn {
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink-2);
    border-radius: var(--r-sm);
    cursor: default;
}
.mock-btn.primary {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

/* Mock caption under hero mockup */
.mock-caption {
    margin: 18px auto 0;
    max-width: 620px;
    text-align: center;
    font-size: 13.5px;
    color: var(--muted);
    font-weight: 500;
}

/* ---------- Mockup pill selector ---------- */
.mock-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 18px;
    max-width: 720px;
}
.mock-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    color: var(--ink-3);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.mock-pill:hover {
    color: var(--ink);
    border-color: var(--brand-2);
    transform: translateY(-1px);
}
.mock-pill:focus-visible {
    outline: 2px solid var(--brand-2);
    outline-offset: 2px;
}
.mock-pill .pill-emoji {
    font-size: 14px;
    line-height: 1;
}
.mock-pill.is-active {
    color: #fff;
    background: var(--brand-2);
    border-color: var(--brand-2);
    box-shadow: 0 4px 12px -2px rgba(239, 66, 111, 0.35);
}
.mock-pill.is-active:hover {
    transform: translateY(-1px);
}

/* ---------- Mockup stage (holds scenes) ---------- */
.mock-stage {
    position: relative;
}
.mock-scene {
    transition: opacity .4s ease, transform .4s ease;
    opacity: 1;
    transform: translateY(0);
}
.mock-scene[hidden] {
    display: none;
}
.mock-scene.is-leaving {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}
.mock-scene.is-entering {
    opacity: 0;
    transform: translateY(8px);
}

/* ---------- Agent bar (chat header per scene) ---------- */
.mock-agent-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}
.mock-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--line);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mock-avatar svg {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    flex-shrink: 0;
}
.mock-agent-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.mock-agent-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    line-height: 1.2;
}
.mock-agent-tag {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
    line-height: 1.2;
}

/* ---------- Findings list (structured AI response) ---------- */
.mock-findings {
    list-style: none !important;
    padding: 0 !important;
    margin: 6px 0 !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mock-findings li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 !important;
    line-height: 1.5;
}
.mock-findings .f-icon {
    flex-shrink: 0;
    font-size: 15px;
    line-height: 1.4;
    width: 20px;
    text-align: center;
}
.mock-sub {
    list-style: disc !important;
    margin: 4px 0 8px 28px !important;
    padding: 0 !important;
    font-size: 13.5px;
    color: var(--ink-3);
}
.mock-sub li {
    margin: 3px 0 !important;
    line-height: 1.45;
}

/* ---------- DOCTYPES (Any document) ---------- */
.doctypes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.doctype-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 22px 20px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.doctype-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #d6dde8;
}
.doctype-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: var(--r-sm);
    margin-bottom: 2px;
}
.doctype-icon svg { width: 22px; height: 22px; }
.doctype-card h4 {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
}
.doctype-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}
.doctype-card .doctype-chat {
    margin-top: auto;
    padding: 10px 0 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-2);
    text-decoration: none;
    transition: filter .15s ease, color .15s ease;
    align-self: flex-start;
}
.doctype-card .doctype-chat:hover,
.doctype-card .doctype-chat:focus-visible {
    text-decoration: underline;
    filter: brightness(1.08);
    outline: none;
}
.doctype-card .doctype-chat:focus-visible {
    box-shadow: 0 0 0 2px var(--brand-soft);
    border-radius: 4px;
}

/* Angel-section helper cue (sits under section title) */
.angel-section-cue {
    margin: -6px auto 0;
    max-width: 620px;
    font-size: 14.5px;
    color: var(--ink-3);
    font-style: italic;
    line-height: 1.5;
    text-align: center;
}

/* ---------- BAND ---------- */
.band {
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}
.band-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}
.band-label {
    font-size: 11px;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--muted-2);
    font-family: var(--mono);
}
.band-items {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--ink-3);
    font-weight: 500;
}

/* ---------- SECTIONS ---------- */
.section {
    padding: 96px 0;
}
.section-alt { background: var(--bg-alt); }

.section-head {
    max-width: 720px;
    margin: 0 0 56px;
}
.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.kicker {
    display: inline-block;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--brand);
    margin-bottom: 14px;
}
.section-title {
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.025em;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 12px;
}
.section-lead {
    font-size: 17px;
    color: var(--muted);
    margin: 0;
    max-width: 580px;
}
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- STEPS ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}
.step {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 28px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.step:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #d6dde8;
}
.step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.step-num {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted-2);
    letter-spacing: 0.04em;
}
.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: var(--r-sm);
}
.step-icon svg { width: 20px; height: 20px; }
.step h3 {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin: 0 0 8px;
    color: var(--ink);
}
.step p {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* ---------- AGENTS ---------- */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.agent-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 24px 20px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}
/* Hover chat hint badge in top-right of the card */
.agent-card-chat-hint {
    position: absolute;
    top: 10px;
    right: 10px;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand-ink, #c4490d);
    background: var(--brand-soft, #fff1e6);
    border: 1px solid #ffd2b3;
    padding: 3px 8px;
    border-radius: 999px;
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
    white-space: nowrap;
}
.agent-card:hover .agent-card-chat-hint,
.agent-card:focus-visible .agent-card-chat-hint {
    opacity: 1;
    transform: translateY(0);
}
@media (hover: none) {
    /* On touch devices, show a subtle permanent badge so chat affordance is discoverable */
    .agent-card-chat-hint {
        opacity: 0.85;
        transform: none;
    }
}
.agent-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #ffd2b3;
}
.agent-card:focus-visible {
    outline: 2px solid var(--brand-2);
    outline-offset: 3px;
}
.agent-card:hover .agent-learn-more,
.agent-card:focus-visible .agent-learn-more {
    color: var(--brand-ink);
    transform: translateX(2px);
}
.agent-portrait {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 38%, rgba(251, 191, 36, 0.18) 0%, rgba(251, 191, 36, 0) 55%),
        radial-gradient(circle at 50% 60%, rgba(239, 66, 111, 0.12) 0%, rgba(239, 66, 111, 0) 70%),
        linear-gradient(180deg, #fff7f0 0%, #fff1e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid #ffd2b3;
    transition: transform .25s ease, box-shadow .25s ease;
}
.agent-card:hover .agent-portrait {
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(239, 66, 111, 0.18);
}
.agent-portrait svg {
    width: 102px;
    height: 102px;
    max-width: 100%;
    max-height: 100%;
    display: block;
    flex-shrink: 0;
}
.agent-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}
.agent-name {
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.agent-tag {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--brand-soft);
    color: var(--brand-ink);
    padding: 3px 9px;
    border-radius: 999px;
}
.agent-role {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0 0 12px;
}
.agent-learn-more {
    /* Reset native button look so it matches the previous span */
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    padding: 4px 6px;
    margin-top: auto;
    display: inline-block;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand-2);
    cursor: pointer;
    border-radius: 6px;
    transition: color .2s ease, transform .2s ease, background-color .2s ease;
}
.agent-learn-more:hover {
    color: var(--brand-ink, #c4490d);
    background: var(--brand-soft, #fff1e6);
}
.agent-learn-more:focus-visible {
    outline: 2px solid var(--brand-2);
    outline-offset: 2px;
}

/* ---------- ANGEL DETAIL MODAL ---------- */
.angel-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    padding-top: max(24px, env(safe-area-inset-top));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
}
.angel-modal[hidden] { display: none; }
.angel-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .25s ease;
}
.angel-modal.is-open .angel-modal-backdrop { opacity: 1; }
.angel-modal-card {
    position: relative;
    z-index: 1;
    background: var(--surface);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 600px;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(16px) scale(0.96);
    opacity: 0;
    transition: transform .28s cubic-bezier(0.16, 1, 0.3, 1), opacity .22s ease;
}
.angel-modal.is-open .angel-modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.angel-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--ink-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.angel-modal-close:hover {
    background: #fff;
    border-color: #cbd5e1;
    color: var(--ink);
}
.angel-modal-close:focus-visible {
    outline: 2px solid var(--brand-2);
    outline-offset: 2px;
}
.angel-modal-scroll {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 32px 28px 24px;
}
.angel-modal-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-2);
    margin-bottom: 22px;
}
.angel-modal-portrait {
    width: 156px;
    height: 156px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 38%, rgba(251, 191, 36, 0.22) 0%, rgba(251, 191, 36, 0) 55%),
        radial-gradient(circle at 50% 60%, rgba(239, 66, 111, 0.14) 0%, rgba(239, 66, 111, 0) 70%),
        linear-gradient(180deg, #fff7f0 0%, #fff1e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    overflow: hidden;
    border: 1px solid #ffd2b3;
    flex-shrink: 0;
}
.angel-modal-portrait svg {
    width: 140px;
    height: 140px;
    max-width: 140px;
    max-height: 140px;
    display: block;
    flex-shrink: 0;
}
.angel-modal-name {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 4px 0 0;
}
.angel-modal-tag {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--brand-soft);
    color: var(--brand-ink);
    padding: 4px 10px;
    border-radius: 999px;
}
.angel-modal-tagline {
    font-size: 15px;
    color: var(--ink-3);
    line-height: 1.5;
    font-style: italic;
    max-width: 440px;
    margin: 4px 0 0;
}
.angel-modal-body {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 24px;
}
.angel-modal-section-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-2);
    margin: 0 0 10px;
}
.angel-modal-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.angel-modal-list li {
    position: relative;
    padding-left: 22px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--ink-3);
}
.angel-modal-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-2);
}
.angel-modal-list-outcomes li::before {
    background: #fbbf24;
}
.angel-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--line-2);
}
.angel-modal-cta {
    background: var(--brand-2);
    color: #fff;
    border-color: var(--brand-2);
    flex: 1 1 200px;
    min-width: 0;
}
.angel-modal-cta:hover {
    background: var(--brand-ink);
    border-color: var(--brand-ink);
    color: #fff;
}
.angel-modal-actions .btn-ghost {
    flex: 0 1 auto;
}

/* Mobile: full-screen modal */
@media (max-width: 640px) {
    .angel-modal {
        padding: 0;
    }
    .angel-modal-card {
        max-width: 100%;
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        transform: translateY(24px);
    }
    .angel-modal.is-open .angel-modal-card {
        transform: translateY(0);
    }
    .angel-modal-scroll {
        padding: 28px 20px 20px;
        padding-top: max(28px, env(safe-area-inset-top));
        padding-bottom: max(20px, env(safe-area-inset-bottom));
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    .angel-modal-close {
        top: max(14px, env(safe-area-inset-top));
        right: max(14px, env(safe-area-inset-right));
    }
    .angel-modal-portrait { width: 132px; height: 132px; }
    .angel-modal-portrait svg { width: 118px; height: 118px; max-width: 118px; max-height: 118px; }
    .angel-modal-name { font-size: 22px; }
    .angel-modal-actions { flex-direction: column; }
    .angel-modal-actions .btn { width: 100%; }
}

/* Body scroll lock helper */
body.angel-modal-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .angel-modal-backdrop,
    .angel-modal-card {
        transition: none !important;
    }
    .angel-modal-card {
        transform: none !important;
    }
}

/* ---------- CHANNELS ---------- */
.channels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 0 auto 48px;
}
.channel-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 22px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    cursor: pointer;
}
.channel-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}
.channel-card.primary {
    border-color: var(--brand);
    background: linear-gradient(180deg, #fff, var(--brand-soft));
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08), var(--shadow);
}
.channel-card.primary:hover {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14), var(--shadow-md);
}
.channel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.channel-name {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.channel-status {
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 999px;
}
.channel-status.live {
    background: #dcfce7;
    color: #15803d;
}
.channel-status.soon {
    background: var(--surface-2);
    color: var(--muted);
    border: 1px solid var(--line);
}
.channel-desc {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}
.channel-cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand);
    margin-top: 4px;
}

/* First time / store buttons */
.first-time {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 32px;
}
.first-time-head h3 {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin: 0 0 6px;
    color: var(--ink);
}
.first-time-head p {
    font-size: 14.5px;
    color: var(--muted);
    margin: 0 0 18px;
}
.first-steps {
    margin: 0 0 22px;
    padding-left: 20px;
    font-size: 14.5px;
    color: var(--ink-3);
    line-height: 1.7;
}
.first-steps li { padding-left: 4px; }
.store-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--ink);
    color: #fff;
    border-radius: var(--r-sm);
    font-size: 14px;
    font-weight: 500;
    transition: background .15s ease, transform .12s ease;
}
.store-btn:hover { background: #000; transform: translateY(-1px); }
.store-btn svg { width: 16px; height: 16px; }

/* ---------- PROMISE ---------- */
.promise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.promise-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.promise-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #d6dde8;
}
.promise-card.wide { grid-column: span 2; }
.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}
.promise-card h4 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 0;
}
.promise-card p {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* ---------- CTA BAND ---------- */
.cta-band {
    padding: 48px 0 96px;
}
.cta-card {
    background: linear-gradient(135deg, #0b1237 0%, #1a1f4d 45%, #4a1a4a 80%, #7a2a06 100%);
    color: #fff;
    border-radius: var(--r-lg);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle 400px at 80% 30%, rgba(239, 66, 111, 0.35), transparent),
        radial-gradient(circle 300px at 20% 80%, rgba(59, 130, 246, 0.25), transparent);
    pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-mark { width: 44px; height: 44px; margin-bottom: 14px; }
.cta-card h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
    color: #fff;
}
.cta-card p {
    color: rgba(255,255,255,0.75);
    margin: 0;
    font-size: 16px;
}
.cta-card .btn-primary {
    background: #fff;
    color: var(--ink);
}
.cta-card .btn-primary:hover { background: var(--brand-soft); }

/* ---------- FOOTER ---------- */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
}
.footer-brand-col .nav-brand { margin-bottom: 14px; }
.footer-tagline {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
    max-width: 280px;
}
.footer-grid h5 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin: 0 0 14px;
    font-family: var(--mono);
}
.footer-grid a {
    display: block;
    font-size: 14px;
    color: var(--ink-3);
    padding: 4px 0;
    transition: color .15s ease;
}
.footer-grid a:hover { color: var(--brand); }

.footer-bottom { padding-top: 32px; }
.legal {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 8px;
    max-width: 760px;
}
.legal.small {
    font-size: 12px;
    color: var(--muted-2);
}

/* ---------- TOAST ---------- */
#angel-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--ink);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--r);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}

/* ---------- FOCUS ---------- */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: var(--r-sm);
}

/* ---------- REVEAL ---------- */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
    .nav-links { display: none; }
    .agents-grid { grid-template-columns: repeat(2, 1fr); }
    .doctypes-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand-col { grid-column: span 2; }
    .cta-card { flex-direction: column; align-items: flex-start; padding: 32px; }
}

@media (max-width: 720px) {
    .hero { padding: 56px 0 40px; }
    .hero-meta { gap: 16px; padding: 14px 16px; flex-wrap: wrap; justify-content: center; }
    .meta-divider { display: none; }
    .steps { grid-template-columns: 1fr; }
    .channels { grid-template-columns: 1fr; }
    .promise-grid { grid-template-columns: 1fr; }
    .promise-card.wide { grid-column: auto; }
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 36px; }
    .nav-brand-text { display: none; }
    .mock-body { padding: 18px; }
    .mock-msg { max-width: 90%; }
    .mock-pills { gap: 6px; margin-bottom: 14px; }
    .mock-pill { padding: 6px 11px; font-size: 12.5px; }
    .mock-agent-bar { padding: 12px 16px; }
    .mock-avatar { width: 34px; height: 34px; }
}

@media (max-width: 520px) {
    .agents-grid { grid-template-columns: 1fr; }
    .doctypes-grid { grid-template-columns: 1fr; }
    .cta-row { flex-direction: column; align-items: stretch; }
    .cta-row .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand-col { grid-column: auto; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ===================================================
   LEAD CAPTURE FORM (hero + modal)
   =================================================== */

.hero-lead-wrap {
    margin: 28px 0 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    max-width: 460px;
}
.hero-learn-more { align-self: flex-start; }

.lead-form {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(239, 66, 111, 0.18);
    border-radius: 18px;
    padding: 22px 22px 20px;
    box-shadow: 0 18px 50px -28px rgba(79, 70, 229, 0.45),
                0 2px 8px -4px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lead-form-head { margin-bottom: 2px; }
.lead-form-title {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.lead-form-sub {
    font-size: 13.5px;
    color: #475569;
    margin: 0;
}

.lead-form-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lead-field { display: flex; flex-direction: column; gap: 6px; }

.lead-field label {
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    letter-spacing: 0.01em;
}
.lead-field .req { color: #ef4444; margin-left: 2px; }

.lead-field input[type="text"],
.lead-field input[type="tel"],
.lead-field select {
    font: inherit;
    font-size: 15px;
    padding: 11px 13px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
    border-radius: 11px;
    transition: border-color .15s ease, box-shadow .15s ease;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}
.lead-field select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.lead-field input:focus,
.lead-field select:focus {
    outline: none;
    border-color: #ef426f;
    box-shadow: 0 0 0 4px rgba(239, 66, 111, 0.15);
}
.lead-field.is-invalid input,
.lead-field.is-invalid select {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}
.lead-field-error {
    font-size: 12.5px;
    color: #dc2626;
    margin: 0;
    min-height: 0;
}
.lead-field.is-invalid .lead-field-error { min-height: 16px; }

/* ---------- Channel picker (WhatsApp / Telegram pills) ---------- */
.lead-field-channel { gap: 8px; }
.lead-field-channel .lead-field-legend {
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    letter-spacing: 0.01em;
}
.lead-field-channel .lead-field-legend .req { color: #ef4444; margin-left: 2px; }

.channel-picker {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.channel-pill {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    transition: transform .15s ease, border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.channel-pill:hover {
    transform: translateY(-1px);
    border-color: #ffd2b3;
    box-shadow: 0 6px 16px -10px rgba(79, 70, 229, 0.35);
}
.channel-pill input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.channel-pill-icon {
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
.channel-pill-label {
    font-size: 14.5px;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.005em;
}
.channel-pill:has(input[type="radio"]:checked) {
    border-color: #ef426f;
    background: rgba(239, 66, 111, 0.08);
    box-shadow: 0 0 0 3px rgba(239, 66, 111, 0.12);
}
/* Focus ring (keyboard) */
.channel-pill:has(input[type="radio"]:focus-visible) {
    outline: none;
    border-color: #ef426f;
    box-shadow: 0 0 0 4px rgba(239, 66, 111, 0.25);
}
.lead-field-channel.is-invalid .channel-picker {
    /* Soft red emphasis on the group; per-pill stays neutral */
}
.lead-field-channel.is-invalid .channel-pill {
    border-color: #fca5a5;
}
.lead-field-channel.is-invalid .channel-pill:has(input[type="radio"]:checked) {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.06);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

/* Mobile: keep two columns side-by-side (compact) */
@media (max-width: 380px) {
    .channel-pill { padding: 11px 10px; gap: 8px; }
    .channel-pill-label { font-size: 14px; }
}

.lead-field-checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 11px;
    background: #f8fafc;
}
.lead-field-checkbox.is-invalid {
    border-color: #ef4444;
    background: #fef2f2;
}
.lead-field-checkbox input[type="checkbox"] {
    margin: 3px 0 0;
    width: 18px;
    height: 18px;
    accent-color: #ef426f;
    flex-shrink: 0;
}
.lead-field-checkbox .lead-checkbox-label {
    font-size: 12.5px;
    line-height: 1.5;
    color: #475569;
    font-weight: 400;
    cursor: pointer;
}
.lead-field-checkbox .lead-checkbox-label a {
    color: #c4490d;
    text-decoration: underline;
}

.lead-form-submit {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 15.5px;
    font-weight: 600;
}
.lead-form-submit[disabled] {
    opacity: 0.72;
    cursor: not-allowed;
}
.lead-form-submit .spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: lead-spin 0.7s linear infinite;
    margin-right: 8px;
    vertical-align: -2px;
}
@keyframes lead-spin { to { transform: rotate(360deg); } }

.lead-form-foot {
    margin: 2px 0 0;
    font-size: 12.5px;
    color: #64748b;
    text-align: center;
}
.lead-form-foot a {
    color: #c4490d;
    font-weight: 600;
    text-decoration: none;
}
.lead-form-foot a:hover { text-decoration: underline; }

.lead-form-error-banner {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 10px 13px;
    border-radius: 10px;
    font-size: 13px;
    margin: 0;
}

/* Success state */
.lead-form-success {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(20, 184, 166, 0.25);
    border-radius: 18px;
    padding: 28px 24px 24px;
    text-align: center;
    box-shadow: 0 18px 50px -28px rgba(20, 184, 166, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.lead-form-success .check-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #14b8a6, #c4490d);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px -10px rgba(20, 184, 166, 0.55);
}
.lead-form-success h3 {
    margin: 0;
    font-size: 22px;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.lead-form-success p {
    margin: 0;
    font-size: 14px;
    color: #475569;
    max-width: 360px;
    line-height: 1.55;
}
.lead-form-success-actions {
    margin-top: 6px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero layout: form sits BELOW the title/subtitle, mockup follows */
.hero-lead-wrap { width: 100%; }

@media (min-width: 960px) {
    .hero-lead-wrap { max-width: 480px; }
}

/* ===================================================
   LEAD MODAL
   =================================================== */

.lead-modal .lead-modal-card {
    max-width: 480px;
}
.lead-modal-scroll {
    padding: 28px 26px 26px;
}
.lead-modal-head {
    margin-bottom: 18px;
    text-align: center;
}
.lead-modal-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.lead-modal-desc {
    font-size: 14px;
    color: #475569;
    margin: 0;
    line-height: 1.55;
}
.lead-form-modal {
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
}

@media (max-width: 640px) {
    .lead-modal-scroll { padding: 22px 18px 22px; }
    .lead-modal-title { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .lead-form-success { transition: none; }
    .lead-form-submit .spinner { animation: none; }
}

/* =========================================================
   CHAT WIDGET — Gabriel & co.
   ========================================================= */

.chat-launcher {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(239, 66, 111, 0.4), 0 2px 6px rgba(239, 66, 111, 0.3);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.chat-launcher:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 12px 32px rgba(239, 66, 111, 0.5), 0 4px 8px rgba(239, 66, 111, 0.35);
}
.chat-launcher:focus-visible {
    outline: 3px solid rgba(239, 66, 111, 0.4);
    outline-offset: 2px;
}
.chat-launcher-icon { position: relative; z-index: 1; }
.chat-launcher-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(239, 66, 111, 0.45);
    animation: chatPulse 4s ease-out infinite;
    pointer-events: none;
}
@keyframes chatPulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    70%  { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .chat-launcher-pulse { animation: none; display: none; }
    .chat-launcher:hover { transform: none; }
}

/* Tooltip badge */
.chat-launcher-tooltip {
    position: fixed;
    right: 96px;
    bottom: 36px;
    background: var(--ink);
    color: #fff;
    padding: 8px 14px;
    border-radius: var(--r);
    box-shadow: var(--shadow-md);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 9000;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: tooltipIn 0.3s ease;
}
.chat-launcher-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-left: 6px solid var(--ink);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}
.chat-tooltip-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0 0 0 4px;
}
@keyframes tooltipIn {
    from { opacity: 0; transform: translateX(8px); }
    to   { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
    .chat-launcher-tooltip { animation: none; }
}

/* Panel */
.chat-panel {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 380px;
    height: min(560px, calc(100vh - 120px));
    max-height: calc(100vh - 120px);
    background: #ffffff;
    border-radius: var(--r-lg);
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.32), 0 12px 32px rgba(15, 23, 42, 0.16);
    z-index: 9001;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
}
.chat-panel.is-open {
    display: flex;
    animation: chatSlideIn 0.25s ease;
}
@keyframes chatSlideIn {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .chat-panel { animation: none; }
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-bottom: 1px solid var(--line);
}
.chat-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.chat-header-avatar::before { content: attr(data-initial); }
.chat-header-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.chat-header-name {
    font-weight: 600;
    color: var(--ink);
    font-size: 0.98rem;
}
.chat-header-sub {
    font-size: 0.78rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}
.chat-online-dot {
    width: 7px; height: 7px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
}
.chat-close,
.chat-reset {
    width: 32px; height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    padding: 0;
}
.chat-close:hover,
.chat-reset:hover { background: var(--surface-2); color: var(--ink); }
.chat-close:focus-visible,
.chat-reset:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.chat-reset { margin-right: 2px; }

/* In-chat confirm dialog (used for "Start fresh") */
.chat-confirm {
    margin: 8px 12px;
    padding: 12px 14px;
    background: var(--surface-2, #f8fafc);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 12px;
    color: var(--ink, #0f172a);
    font-size: 0.9rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    animation: chatConfirmIn 0.18s ease-out;
}
@keyframes chatConfirmIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .chat-confirm { animation: none; }
}
.chat-confirm-text { margin-bottom: 10px; line-height: 1.4; }
.chat-confirm-actions { display: flex; gap: 8px; justify-content: flex-end; }
.chat-confirm-btn {
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--border, #e2e8f0);
    background: #fff;
    color: var(--ink, #0f172a);
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.chat-confirm-btn:hover { background: var(--surface-2, #f1f5f9); }
.chat-confirm-btn:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.chat-confirm-btn.is-primary {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}
.chat-confirm-btn.is-primary:hover { background: #dc2626; border-color: #dc2626; }

.chat-disclaimer {
    padding: 8px 16px;
    background: #fef9e7;
    color: #92400e;
    font-size: 0.74rem;
    text-align: center;
    border-bottom: 1px solid #fde68a;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--surface-2);
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 85%;
    animation: msgIn 0.2s ease;
}
@keyframes msgIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .chat-msg { animation: none; } }

.chat-msg.user { align-self: flex-end; align-items: flex-end; }
.chat-msg.assistant { align-self: flex-start; align-items: flex-start; }
.chat-msg.system { align-self: center; max-width: 90%; }

.chat-msg-meta {
    font-size: 0.72rem;
    color: var(--muted);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.chat-msg-bubble {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.93rem;
    line-height: 1.45;
    word-wrap: break-word;
    white-space: pre-wrap;
}
.chat-msg.user .chat-msg-bubble {
    background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
    color: #fff;
    border-bottom-right-radius: 4px;
}
.chat-msg.assistant .chat-msg-bubble {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-bottom-left-radius: 4px;
}
.chat-msg.system .chat-msg-bubble {
    background: transparent;
    color: var(--muted);
    font-size: 0.78rem;
    text-align: center;
    padding: 4px 8px;
}
.chat-msg-image {
    max-width: 220px;
    max-height: 220px;
    border-radius: 12px;
    margin-bottom: 4px;
    border: 1px solid var(--line);
}
.chat-msg.user .chat-msg-image { border-color: rgba(255,255,255,0.2); }

/* Typing indicator */
.chat-typing {
    display: inline-flex;
    gap: 4px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
}
.chat-typing span {
    width: 7px; height: 7px;
    background: var(--muted-2);
    border-radius: 50%;
    animation: chatDot 1.4s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatDot {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
    .chat-typing span { animation: none; opacity: 0.6; }
}

/* Lead form bubble */
.chat-lead-form-wrap {
    align-self: stretch;
    max-width: 100%;
}
.chat-lead-form-wrap .chat-msg-bubble {
    background: #fff;
    border: 1px solid var(--brand-2);
    box-shadow: 0 4px 16px rgba(239, 66, 111, 0.15);
    border-radius: var(--r-md);
    padding: 16px;
}
.chat-lead-form-title {
    font-weight: 600;
    color: var(--ink);
    font-size: 0.95rem;
    margin: 0 0 6px;
}
.chat-lead-form-sub {
    font-size: 0.82rem;
    color: var(--muted);
    margin: 0 0 12px;
}

/* Composer */
.chat-composer {
    border-top: 1px solid var(--line);
    background: var(--surface);
    padding: 10px 12px;
    position: relative;
}
.chat-composer-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}
.chat-attach-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease;
}
.chat-attach-btn:hover { background: var(--brand-soft); color: var(--brand-2); }
.chat-input {
    flex: 1;
    min-height: 36px;
    max-height: 120px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font);
    font-size: 0.93rem;
    resize: none;
    outline: none;
    line-height: 1.4;
}
.chat-input:focus { border-color: var(--brand-2); box-shadow: 0 0 0 2px rgba(239, 66, 111, 0.12); }
.chat-send {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; }
.chat-send:not(:disabled):hover { transform: scale(1.05); }

.chat-attachment-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: var(--surface-2);
    border-radius: var(--r);
    margin-bottom: 8px;
}
.chat-attachment-preview img {
    width: 48px; height: 48px;
    object-fit: cover;
    border-radius: 8px;
}
.chat-attachment-preview-info {
    flex: 1;
    font-size: 0.82rem;
    color: var(--ink-3);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.chat-attachment-remove {
    width: 24px; height: 24px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.06);
    color: var(--ink);
    cursor: pointer;
    line-height: 1;
    font-size: 1rem;
}

.chat-drop-overlay {
    position: absolute;
    inset: 60px 0 70px 0;
    background: rgba(239, 66, 111, 0.08);
    border: 2px dashed var(--brand-2);
    border-radius: 12px;
    margin: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--brand-ink);
    font-weight: 600;
    pointer-events: none;
    z-index: 5;
}
.chat-drop-overlay.is-active {
    display: flex;
}


/* Mobile fullscreen */
@media (max-width: 720px) {
    .chat-panel {
        right: 0; bottom: 0; left: 0; top: 0;
        width: 100%; height: 100%;
        max-height: 100%;
        border-radius: 0;
        padding-top: env(safe-area-inset-top, 0);
        padding-bottom: env(safe-area-inset-bottom, 0);
        border: none;
    }
    .chat-launcher-tooltip {
        right: 88px;
        bottom: 30px;
        font-size: 0.85rem;
    }
}

/* =========================================================
   ALWAYS-FREE BANNER (below sticky nav, above hero)
   ========================================================= */
.always-free-banner {
    position: relative;
    width: 100%;
    background: linear-gradient(90deg, #fff1e6 0%, #ffd2b3 50%, #fff1e6 100%);
    border-bottom: 1px solid #ffd2b3;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.35;
    z-index: 40;
    opacity: 0;
    transform: translateY(-6px);
    animation: alwaysFreeIn 500ms ease-out 80ms forwards;
}
.always-free-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 11px 24px;
    text-align: center;
    font-weight: 500;
}
.always-free-banner strong {
    color: var(--brand-ink);
    font-weight: 700;
}
@keyframes alwaysFreeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .always-free-banner { animation: none; opacity: 1; transform: none; }
}
@media (max-width: 640px) {
    .always-free-inner { padding: 10px 16px; font-size: 12.5px; }
}
@media (max-width: 380px) {
    .always-free-inner { font-size: 12px; }
}

/* =========================================================
   TRY IT NOW — zero-friction demo zone
   ========================================================= */
.try-now {
    max-width: 640px;
    margin: 0 auto 56px;
    padding: 28px 24px 28px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
}
.try-now::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--r-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(239,66,111,0.35), rgba(255,84,28,0.18), rgba(239,66,111,0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.try-now-inner { position: relative; z-index: 1; }
.try-now-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 6px;
}
.try-now-sub {
    font-size: 14.5px;
    color: var(--muted);
    margin: 0 0 18px;
    line-height: 1.5;
}
.try-now-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 240px;
    border: 2px dashed #ffd2b3;
    background: linear-gradient(180deg, #fffaf4 0%, #fff7f0 100%);
    border-radius: var(--r-md);
    padding: 28px 20px;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    outline: none;
}
.try-now-drop:hover,
.try-now-drop:focus-visible {
    border-color: var(--brand-2);
    background: linear-gradient(180deg, #fff7f0 0%, #fff1e6 100%);
}
.try-now-drop.is-dragover {
    border-color: var(--brand-2);
    background: #fff1e6;
    transform: scale(1.01);
}
.try-now-emoji {
    font-size: 44px;
    line-height: 1;
}
.try-now-prompt {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--ink-2);
}
.try-now-hint {
    font-size: 12px;
    color: var(--muted-2);
    letter-spacing: 0.02em;
}

/* Stream of demo bubbles */
.try-now-stream {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}
.try-now-stream:empty { display: none; }
.try-now-bubble {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 14px 16px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-2);
    box-shadow: var(--shadow-sm);
    animation: tryBubbleIn 250ms ease-out;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.try-now-bubble.is-user {
    background: linear-gradient(135deg, #fff1e6, #ffd2b3);
    border-color: #ffd2b3;
}
.try-now-bubble.is-assistant {
    background: #ffffff;
}
.try-now-bubble.is-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}
.try-now-bubble-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}
.try-now-bubble-head .avatar {
    width: 22px; height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center; justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
}
.try-now-image {
    max-width: 100%;
    max-height: 280px;
    border-radius: var(--r);
    display: block;
    margin-top: 6px;
}
.try-now-typing {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
}
.try-now-typing span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--muted-2);
    animation: tryTyping 1.2s infinite ease-in-out;
}
.try-now-typing span:nth-child(2) { animation-delay: 0.15s; }
.try-now-typing span:nth-child(3) { animation-delay: 0.3s; }
.try-now-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    align-self: flex-start;
    padding: 10px 16px;
    border-radius: var(--r);
    background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.try-now-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.try-now-cta:focus-visible { outline: 3px solid rgba(239,66,111,0.4); outline-offset: 2px; }

@keyframes tryBubbleIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes tryTyping {
    0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
    30%           { opacity: 1;    transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
    .try-now-bubble { animation: none; }
    .try-now-typing span { animation: none; opacity: 0.6; }
    .try-now-cta:hover { transform: none; }
    .try-now-drop.is-dragover { transform: none; }
}

@media (max-width: 720px) {
    .try-now {
        margin-left: 12px;
        margin-right: 12px;
        padding: 22px 18px;
    }
    .try-now-title { font-size: 21px; }
    .try-now-sub { font-size: 13.5px; }
    .try-now-drop { min-height: 200px; padding: 22px 14px; }
    .try-now-emoji { font-size: 38px; }
    .try-now-prompt { font-size: 14.5px; }
}

/* =========================================================
   STICKY MOBILE CTA BAR (≤720px only)
   ========================================================= */
.sticky-cta-bar {
    display: none;
}
@media (max-width: 720px) {
    .sticky-cta-bar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 8500;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 56px;
        padding: 12px 18px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
        background: linear-gradient(90deg, #ef426f 0%, #ff541c 100%);
        color: #fff;
        font-weight: 600;
        font-size: 15px;
        border: none;
        cursor: pointer;
        box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.18);
        transform: translateY(120%);
        transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
        text-align: center;
        line-height: 1.2;
    }
    .sticky-cta-bar.is-visible {
        transform: translateY(0);
    }
    .sticky-cta-bar:active {
        background: linear-gradient(90deg, #5b5fe6 0%, #7c4ce0 100%);
    }
    @media (prefers-reduced-motion: reduce) {
        .sticky-cta-bar { transition: none; }
    }

    /* Lift chat launcher above iPhone home indicator (and above sticky bar when visible) */
    .chat-launcher {
        bottom: calc(24px + env(safe-area-inset-bottom, 0));
        transition: bottom 320ms cubic-bezier(0.22, 1, 0.36, 1), transform 0.2s ease, box-shadow 0.2s ease;
    }
    body.sticky-cta-visible .chat-launcher {
        bottom: calc(24px + 64px + env(safe-area-inset-bottom, 0));
    }
    body.sticky-cta-visible .chat-launcher-tooltip {
        bottom: calc(36px + 64px + env(safe-area-inset-bottom, 0));
    }
    @media (prefers-reduced-motion: reduce) {
        .chat-launcher { transition: none; }
    }
}
