/* CoiBot site pages (home, pricing, features, contact, thank-you) — the sibling of coicall.co.il in CoiBot's own light blue.
   Rubik throughout (bold, tight headings), a soft blue ground with white cards, the logo's sky blue for
   illustration, a deeper blue for actions, and the logo's yellow only for small highlights. */

:root {
    --ground: #F3F8FC;
    --ground-2: #E7F1F9;
    --paper: #FFFFFF;
    --ink: #10253A;
    --ink-2: #4A6075;
    --line: #DCE7F0;
    --field: #C5D5E3;
    --sky: #56B1DD;
    --sky-soft: #DDF0FA;
    --blue: #1D76B3;
    --blue-deep: #165F92;
    --navy: #0E3253;
    --sun: #F6C84C;
    --ok: #2E9D6A;
    --error: #B42318;

    --font: 'Rubik', 'Segoe UI', system-ui, sans-serif;
    --wrap: 1180px;
    --gutter: clamp(16px, 4vw, 32px);
    --section: clamp(64px, 9vw, 112px);
    --radius: 24px;
    --shadow: 0 1px 2px rgba(16, 37, 58, .05), 0 18px 40px -18px rgba(16, 37, 58, .18);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body.site {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font: 400 1.0625rem/1.7 var(--font);
    -webkit-font-smoothing: antialiased;
}

/* Zero-specificity resets, so component classes always win */
:where(.site) img { max-width: 100%; display: block; }
:where(.site) a { color: var(--blue); }
:where(.site) :is(h1, h2, h3) { margin: 0; text-wrap: balance; }
:where(.site) :is(p, dd) { text-wrap: pretty; }
:where(.site) ul, :where(.site) ol { margin: 0; padding: 0; list-style: none; }

.wrap {
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.site :focus-visible {
    outline: 3px solid rgba(29, 118, 179, .45);
    outline-offset: 3px;
    border-radius: 8px;
}

.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    font: 600 1rem/1.2 var(--font);
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn-primary {
    background: var(--blue);
    color: #fff;
    padding: 14px 26px;
    box-shadow: 0 10px 22px -10px rgba(29, 118, 179, .7);
}
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn-ghost {
    background: var(--paper);
    color: var(--ink);
    padding: 14px 24px;
    border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--sky); }
.btn-ghost .ico { color: #25A35A; }
.btn-lg { padding: 16px 30px; font-size: 1.06rem; }
.btn-pill { padding: 11px 20px; font-size: .95rem; }
.btn-block { width: 100%; padding: 16px 24px; font-size: 1.06rem; }

/* ── Hero ── */
.hero {
    position: relative;
    padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 96px);
    overflow: hidden;
}
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}
.hero::before {
    width: 720px;
    height: 720px;
    inset-inline-end: -220px;
    top: -260px;
    background: radial-gradient(closest-side, rgba(86, 177, 221, .32), rgba(86, 177, 221, 0));
}
.hero::after {
    width: 520px;
    height: 520px;
    inset-inline-start: -160px;
    bottom: -240px;
    background: radial-gradient(closest-side, rgba(246, 200, 76, .18), rgba(246, 200, 76, 0));
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    padding: 7px 16px 7px 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 500;
    color: var(--ink-2);
}
.chip-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 4px rgba(46, 157, 106, .15);
}
.hero-title {
    font-size: clamp(2.6rem, 5.6vw, 4.6rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -.025em;
}
.hero-title span { display: block; }
.hero-title-accent { color: var(--blue); }
.hero-lead {
    margin: 24px 0 32px;
    font-size: clamp(1.08rem, 1.5vw, 1.22rem);
    color: var(--ink-2);
    max-width: 52ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 26px;
    color: var(--ink-2);
    font-size: .95rem;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust li::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231D76B3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Stage: the phone with the conversation, and two floating cards */
.hero-stage {
    position: relative;
    display: grid;
    justify-items: center;
    padding: 64px 0 8px;
}
.phone {
    width: min(320px, 82vw);
    padding: 10px;
    background: #0F2236;
    border-radius: 44px;
    box-shadow: 0 40px 70px -30px rgba(16, 37, 58, .55), inset 0 0 0 2px rgba(255, 255, 255, .06);
}
.phone-screen {
    border-radius: 35px;
    overflow: hidden;
    background: #E9F1F8;
    min-height: 520px;
}
.wa-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 30px 16px 12px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.wa-head img { width: 34px; height: auto; }
.wa-who { display: grid; line-height: 1.25; }
.wa-who strong { font-size: .95rem; }
.wa-who span { font-size: .75rem; color: var(--ok); }
.wa-thread {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 12px 20px;
}
.bubble {
    position: relative;
    max-width: 86%;
    padding: 9px 12px 20px;
    border-radius: 14px;
    font-size: .9rem;
    line-height: 1.5;
    box-shadow: 0 1px 1px rgba(16, 37, 58, .07);
}
.bubble-in { align-self: flex-start; background: var(--paper); border-start-start-radius: 4px; }
.bubble-out { align-self: flex-end; background: var(--sky-soft); border-start-end-radius: 4px; }
.bubble-time {
    position: absolute;
    inset-inline-end: 10px;
    bottom: 4px;
    font-size: .68rem;
    color: var(--ink-2);
    direction: ltr;
}
.bubble-typing {
    display: none;
    align-self: flex-end;
    gap: 5px;
    padding: 12px 14px;
    background: var(--sky-soft);
}
.bubble-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    opacity: .45;
    animation: typing 1.1s infinite ease-in-out;
}
.bubble-typing span:nth-child(2) { animation-delay: .15s; }
.bubble-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { opacity: 1; transform: translateY(-2px); } }

.float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.float-clock {
    top: 0;
    inset-inline-start: 2%;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.float-time {
    direction: ltr;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.05;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.float-text { font-size: .9rem; font-weight: 500; color: var(--blue); max-width: 15ch; line-height: 1.35; }
.float-lead {
    bottom: 64px;
    inset-inline-end: 0;
    max-width: 270px;
}
.float-icon {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(246, 200, 76, .25);
}
.float-icon svg { width: 22px; height: 22px; fill: #B7860B; }
.float-body { display: grid; line-height: 1.35; }
.float-body strong { font-size: .95rem; }
.float-body span { font-size: .84rem; color: var(--ink-2); }
.stage-note { margin: 14px 0 0; font-size: .8rem; color: var(--ink-2); }

/* The conversation plays once when in view (home.js); without JS everything is shown */
.chat--play [data-step] { transition: opacity .45s ease, transform .45s ease; }
.chat--play [data-step]:not(.is-shown) { opacity: 0; transform: translateY(8px); }
.chat--play .bubble-typing.is-shown { display: inline-flex; }

/* ── Facts ── */
.facts { padding-bottom: clamp(32px, 5vw, 56px); }
.facts-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.facts-list li {
    display: grid;
    gap: 4px;
    padding: 26px 30px;
}
.facts-list li + li { border-inline-start: 1px solid var(--line); }
.facts-list strong {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
    color: var(--blue);
}
.facts-list span { color: var(--ink-2); font-size: .98rem; }
.facts-list sup a { text-decoration: none; font-weight: 600; }

/* ── Sections ── */
.section { padding-block: var(--section); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 {
    font-size: clamp(2rem, 3.8vw, 3rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.02em;
}
.section-head p { margin: 16px 0 0; font-size: 1.12rem; color: var(--ink-2); }

.pains { background: var(--paper); }
.pain-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.pain-card {
    padding: 28px 24px;
    background: var(--ground);
    border-radius: var(--radius);
}
.pain-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--paper);
    margin-bottom: 18px;
    box-shadow: 0 1px 2px rgba(16, 37, 58, .06);
}
.pain-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--blue);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.pain-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.pain-card p { margin: 0; color: var(--ink-2); font-size: .98rem; }

/* ── Showcase rows ── */
.show-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
    padding-block: clamp(24px, 4vw, 44px);
}
.show-row--flip .show-copy { order: 2; }
.show-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--sky-soft);
    color: var(--blue-deep);
    font-size: .88rem;
    font-weight: 600;
}
.show-copy h3 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.015em;
}
.show-copy p { margin: 14px 0 20px; color: var(--ink-2); font-size: 1.06rem; max-width: 50ch; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; }
.ticks li::before {
    content: "";
    flex: none;
    margin-top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231D76B3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.show-visual {
    position: relative;
    padding: clamp(24px, 4vw, 44px);
    background: linear-gradient(160deg, var(--sky-soft), var(--ground-2) 70%);
    border-radius: 32px;
    min-height: 340px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

/* mini WhatsApp chat with products */
.mini-chat { display: flex; flex-direction: column; gap: 10px; width: min(420px, 100%); }
.mini-chat .bubble { max-width: 92%; padding-bottom: 12px; font-size: .95rem; }
.mini-product {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 8px;
    background: var(--paper);
    border-radius: 12px;
}
.mini-product strong { display: block; font-size: .88rem; font-weight: 600; }
.mini-price { font-size: .85rem; color: var(--blue); font-weight: 600; }
.mini-thumb {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2B3B4D, #5E7389);
}
.mini-thumb-2 { background: linear-gradient(135deg, #8FA8BF, #C9D8E5); }

/* browser + widget */
.browser {
    width: min(500px, 100%);
    background: var(--paper);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #F1F5F9;
    border-bottom: 1px solid var(--line);
}
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; }
.browser-bar em {
    margin-inline-start: 10px;
    padding: 2px 12px;
    background: var(--paper);
    border-radius: 999px;
    font-style: normal;
    font-size: .75rem;
    color: var(--ink-2);
}
.browser-page { position: relative; padding: 16px; min-height: 300px; }
.skel { background: #EEF3F8; border-radius: 10px; height: 64px; }
.skel-hero { height: 96px; margin-bottom: 12px; }
.skel-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.widget {
    position: absolute;
    inset-inline-end: 14px;
    bottom: 14px;
    width: 250px;
    background: var(--paper);
    border-radius: 16px;
    box-shadow: 0 20px 40px -16px rgba(16, 37, 58, .4);
    overflow: hidden;
    border: 1px solid var(--line);
}
.widget-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--blue);
    color: #fff;
    font-size: .88rem;
}
.widget-head img { width: 26px; height: auto; background: #fff; border-radius: 8px; padding: 2px; }
.widget-body { display: flex; flex-direction: column; gap: 6px; padding: 10px; background: var(--ground); }
.widget-body .bubble { font-size: .78rem; padding: 6px 10px; max-width: 90%; }
.widget-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.w-card {
    display: grid;
    gap: 2px;
    padding: 6px;
    background: var(--paper);
    border-radius: 10px;
    font-size: .72rem;
    line-height: 1.3;
}
.w-card .mini-thumb { width: 100%; height: 40px; }
.w-card strong { font-weight: 600; }
.w-card span:last-child { color: var(--blue); font-weight: 600; }

/* lead card */
.lead-stack { position: relative; width: min(380px, 100%); padding-top: 18px; }
.lead-card {
    position: relative;
    padding: 22px;
    background: var(--paper);
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.lead-card-back {
    position: absolute;
    inset: 0 18px auto;
    height: 60px;
    background: rgba(255, 255, 255, .6);
    border-radius: 20px;
    box-shadow: none;
}
.lead-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.lead-badge {
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(246, 200, 76, .3);
    color: #7A5A00;
    font-size: .85rem;
    font-weight: 600;
}
.lead-top time { font-size: .85rem; color: var(--ink-2); direction: ltr; }
.lead-fields { display: grid; gap: 10px; margin: 0; }
.lead-fields div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: .95rem; }
.lead-fields dt { color: var(--ink-2); }
.lead-fields dd { margin: 0; font-weight: 500; }
.lead-fields dd[dir="ltr"] { text-align: right; }
.lead-call {
    display: block;
    margin-top: 18px;
    padding: 11px;
    text-align: center;
    border-radius: 999px;
    background: var(--ok);
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
}

/* inbox */
.inbox {
    width: min(420px, 100%);
    background: var(--paper);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.inbox-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
}
.inbox-head span { font-size: .85rem; color: var(--ink-2); }
.inbox-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
}
.inbox-list li.is-active { background: var(--ground); }
.avatar {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 600;
}
.a1 { background: #56B1DD; }
.a2 { background: #7C93A9; }
.a3 { background: #E0A43A; }
.a4 { background: #4B7DB3; }
.inbox-main { display: grid; min-width: 0; flex: 1; line-height: 1.35; }
.inbox-main strong { font-size: .92rem; }
.inbox-main span { font-size: .82rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag {
    flex: none;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 600;
}
.tag-lead { background: rgba(246, 200, 76, .3); color: #7A5A00; }
.tag-bot { background: var(--sky-soft); color: var(--blue-deep); }
.tag-you { background: #FDE7E4; color: #A13A2C; }
.inbox-join {
    display: block;
    margin: 14px 18px 16px;
    padding: 10px;
    text-align: center;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-weight: 600;
    font-size: .92rem;
}

/* ── Live bots ── */
.live { background: var(--paper); }
.live-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.live-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    background: var(--ground);
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--ink);
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.live-card:hover { border-color: var(--sky); transform: translateY(-3px); box-shadow: var(--shadow); }
.live-tag {
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--paper);
    font-size: .82rem;
    font-weight: 600;
    color: var(--blue-deep);
}
.live-card-wa .live-tag { color: #1E7D45; }
.live-name { font-size: 1.45rem; font-weight: 700; letter-spacing: -.01em; }
.live-desc { color: var(--ink-2); flex: 1; }
.live-go {
    align-self: flex-start;
    margin-top: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
}
.live-card-wa .live-go { background: #1E9E57; }

/* ── Steps ── */
.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 32px);
}
.steps::before {
    content: "";
    position: absolute;
    top: 30px;
    inset-inline: 12% 12%;
    border-top: 2px dashed var(--field);
}
.step {
    position: relative;
    padding: 28px;
    background: var(--paper);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.step-num {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: -54px 0 18px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 0 0 8px var(--ground);
}
.step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-2); }
.how .steps { margin-top: 30px; }

/* ── Offer ── */
.offer-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    padding: clamp(28px, 5vw, 64px);
    border-radius: 36px;
    background:
        radial-gradient(600px 300px at 90% -10%, rgba(255, 255, 255, .28), transparent 60%),
        linear-gradient(140deg, #3FA3D6 0%, #1D76B3 55%, #0E3253 130%);
    color: #fff;
    box-shadow: 0 40px 80px -40px rgba(14, 50, 83, .6);
}
.offer-logo {
    width: 72px;
    height: auto;
    margin-bottom: 20px;
    padding: 8px;
    background: #fff;
    border-radius: 20px;
}
.offer-copy h2 {
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.025em;
}
.offer-copy p { margin: 16px 0 24px; font-size: 1.12rem; color: rgba(255, 255, 255, .88); }
.offer-list { display: grid; gap: 12px; }
.offer-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.offer-list li::before {
    content: "";
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230E3253' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.offer-form {
    padding: clamp(22px, 3vw, 32px);
    background: var(--paper);
    color: var(--ink);
    border-radius: 26px;
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .35);
}
.offer-form h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 18px; }

/* ── Lead form ── */
.lead-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.lead-form .field:nth-of-type(3),
.lead-form .form-error,
.lead-form .btn,
.lead-form .form-note { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: .92rem; font-weight: 500; }
.field .optional { color: var(--ink-2); font-weight: 400; }
.field input {
    width: 100%;
    font: 400 1rem/1.4 var(--font);
    color: var(--ink);
    background: var(--ground);
    border: 1px solid var(--field);
    border-radius: 14px;
    padding: 13px 16px;
    transition: border-color .15s ease, background-color .15s ease;
}
.field input[dir="ltr"] { text-align: right; }
.field input:hover { border-color: #A8BDD0; }
.field input:focus { background: #fff; border-color: var(--blue); outline: 3px solid rgba(29, 118, 179, .2); outline-offset: 0; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.form-error { margin: 0; color: var(--error); font-size: .92rem; font-weight: 500; }
.form-note { margin: 2px 0 0; color: var(--ink-2); font-size: .86rem; line-height: 1.6; }

/* ── FAQ ── */
.faq-wrap {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}
.faq-list { display: grid; gap: 12px; }
.faq details {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 0 22px;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    font-weight: 600;
    font-size: 1.06rem;
    cursor: pointer;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "";
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%231D76B3' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
    transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 62ch; }

.source-note {
    margin-block: 0 40px;
    font-size: .8rem;
    color: var(--ink-2);
}

.mobile-cta { display: none; }

/* Scroll reveal for the showcase rows only (home.js adds .reveal--on) */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.reveal--on { opacity: 1; transform: none; }

/* ── Inner page hero ── */
.page-hero {
    position: relative;
    padding-block: clamp(48px, 7vw, 88px) clamp(28px, 4vw, 48px);
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    width: 640px;
    height: 640px;
    inset-inline-end: -200px;
    top: -320px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(86, 177, 221, .3), rgba(86, 177, 221, 0));
    pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -.025em;
    max-width: 18ch;
}
.page-hero h1 .hero-title-accent { display: block; }
.page-lead { margin: 20px 0 0; font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 56ch; }

/* ── Pricing ── */
.plans-section { padding-bottom: clamp(40px, 6vw, 72px); }
.plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}
.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 30px 28px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.plan-featured {
    border: 2px solid var(--blue);
    box-shadow: 0 30px 60px -30px rgba(29, 118, 179, .45);
}
.plan-badge {
    position: absolute;
    top: -14px;
    inset-inline-start: 24px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--sun);
    color: #5C4300;
    font-size: .85rem;
    font-weight: 700;
}
.plan-name { font-size: 1.3rem; font-weight: 700; }
.plan-price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.plan-price strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.plan-price span { color: var(--ink-2); }
.plan-desc { margin: 0 0 6px; color: var(--ink-2); }
.plan-list { display: grid; gap: 10px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .98rem; }
.plan-list li::before {
    content: "";
    flex: none;
    margin-top: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231D76B3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan-list li.is-off { color: #8193A5; }
.plan-list li.is-off::before {
    background: #EEF2F6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='%238193A5' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.vat-note { margin: 20px 0 0; color: var(--ink-2); font-size: .95rem; }

.compare { background: var(--paper); }
.compare-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare-table th,
.compare-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.compare-table thead th { background: var(--ground); font-size: 1.02rem; }
.compare-table tbody th { text-align: right; font-weight: 500; }
.compare-table tr:last-child th,
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table .col-featured { background: rgba(221, 240, 250, .55); font-weight: 600; }
.cmp-yes,
.cmp-no {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    vertical-align: middle;
}
.cmp-yes { background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231D76B3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cmp-no { background: #EEF2F6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='%238193A5' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ── Features ── */
.feature-index {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
    max-width: 880px;
}
.feature-index a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px 9px 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-size: .95rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.feature-index a:hover { border-color: var(--sky); transform: translateY(-2px); box-shadow: var(--shadow); }
.feature-index svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--blue);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.js-scenes .feature-index a { animation: sc-in .5s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * 50ms + .15s) both; }

.feature-group--talk { padding-top: clamp(28px, 5vw, 56px); }
.feature-group--sell { background: var(--paper); }
.feature-group .section-head { margin-bottom: clamp(8px, 2vw, 20px); }
.feature-icon { background: var(--sky-soft); box-shadow: none; }

/* ── Feature scenes ──
   Each scene ([data-scene]) plays once it is mostly in view and rewinds after it leaves, so it plays again on
   the way back (home.js toggles .is-playing). Steps are timed inline with --d (delay) and --len (duration).
   The base styles are the final frame: that is what shows without JS or with reduced motion. */
.swap { display: grid; min-width: 0; }
.swap > * { grid-area: 1 / 1; min-width: 0; align-self: center; }
.swap > .bubble { align-self: start; }
.swap > .bubble-in { justify-self: start; }
.swap > .bubble-out { justify-self: end; }

.a-out,
.a-blip { opacity: 0; }
.a-dim { opacity: .32; filter: grayscale(.7); }
.a-type { display: inline-block; vertical-align: top; }
.a-fill { display: block; transform-origin: 100% 50%; }

.js-scenes [data-scene]:not(.is-playing) :is(.a-in, .a-pop) { opacity: 0; }
.js-scenes [data-scene]:not(.is-playing) .a-out { opacity: 1; }
.js-scenes [data-scene]:not(.is-playing) .a-dim { opacity: 1; filter: none; }
.js-scenes [data-scene]:not(.is-playing) .a-type { clip-path: inset(0 0 0 100%); }
.js-scenes [data-scene]:not(.is-playing) [dir="ltr"] .a-type { clip-path: inset(0 100% 0 0); }
.js-scenes [data-scene]:not(.is-playing) .a-fill { transform: scaleX(0); }
.js-scenes [data-scene]:not(.is-playing) .a-mark { background-size: 0 100%; }
.js-scenes [data-scene]:not(.is-playing) .a-off { background: var(--blue); }
.js-scenes [data-scene]:not(.is-playing) .a-off i { transform: translateX(-18px); }

.is-playing .a-in { animation: sc-in .5s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) both; }
.is-playing .a-pop { animation: sc-pop .45s cubic-bezier(.3, 1.4, .5, 1) var(--d, 0s) both; }
.is-playing .a-out { animation: sc-out .25s ease var(--d, 0s) both; }
.is-playing .a-blip { animation: sc-blip var(--len, 1s) ease var(--d, 0s) both; }
.is-playing .a-dim { animation: sc-dim .4s ease var(--d, 0s) both; }
.is-playing .a-type { animation: sc-type var(--len, .6s) steps(var(--steps, 10), end) var(--d, 0s) both; }
.is-playing [dir="ltr"] .a-type { animation-name: sc-type-ltr; }
.is-playing .a-fill { animation: sc-fill var(--len, .8s) cubic-bezier(.4, 0, .2, 1) var(--d, 0s) both; }
.is-playing .a-mark { animation: sc-mark .45s ease var(--d, 0s) both; }
.is-playing .a-off { animation: sc-toggle .3s ease var(--d, 0s) both; }
.is-playing .a-off i { animation: sc-knob .3s ease var(--d, 0s) both; }

@keyframes sc-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes sc-pop { from { opacity: 0; transform: scale(.6); } }
@keyframes sc-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes sc-blip { 0% { opacity: 0; } 15%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sc-dim { from { opacity: 1; filter: none; } }
@keyframes sc-type { from { clip-path: inset(0 0 0 100%); } }
@keyframes sc-type-ltr { from { clip-path: inset(0 100% 0 0); } }
@keyframes sc-fill { from { transform: scaleX(0); } }
@keyframes sc-mark { from { background-size: 0 100%; } }
@keyframes sc-toggle { from { background: var(--blue); } }
@keyframes sc-knob { from { transform: translateX(-18px); } }
@keyframes sc-spin { to { transform: rotate(360deg); } }
@keyframes sc-ring { from { transform: scale(.85); opacity: .7; } to { transform: scale(1.45); opacity: 0; } }

/* shared scene parts */
.scene-chat { display: flex; flex-direction: column; gap: 10px; width: min(440px, 100%); }
.scene-chat .bubble { max-width: 88%; padding: 10px 14px; font-size: .95rem; }
.scene-chat .swap > .bubble { max-width: 88%; }
.dots { display: inline-flex; gap: 5px; padding: 5px 2px; }
.dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    opacity: .45;
    animation: typing 1.1s infinite ease-in-out;
}
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
.scene-note {
    margin: 4px 0 0;
    align-self: center;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--paper);
    color: var(--blue-deep);
    font-size: .88rem;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(16, 37, 58, .06);
}
.mini-thumb-3 { background: linear-gradient(135deg, #3E9BCB, #A9D8EF); }
.mini-thumb-4 { background: linear-gradient(135deg, #C98A2B, #F3D48C); }
.tag-block { background: #EEF2F6; color: #5B6B7B; }
.a5 { background: #A3B2C0; }

/* whatsapp: three chats answered in the same minute */
.wa-list {
    width: min(420px, 100%);
    background: var(--paper);
    border-radius: 22px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.wa-list-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
}
.wa-list-head img { width: 30px; height: auto; }
.wa-list-who { flex: 1; display: grid; line-height: 1.3; }
.wa-list-who strong { font-size: .95rem; }
.wa-list-who span { font-size: .78rem; color: var(--ink-2); }
.wa-list-head time { font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.wa-rows li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
}
.wa-row-main { flex: 1; min-width: 0; display: grid; line-height: 1.4; }
.wa-row-main strong { font-size: .92rem; }
.wa-row-main .swap > span {
    font-size: .85rem;
    color: var(--ink-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wa-row-main b { color: var(--blue); font-weight: 600; }
.wa-row-main .wa-typing { color: var(--blue); font-weight: 500; }
.wa-state { flex: none; width: 52px; justify-items: end; }
.wa-unread {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
}
.wa-done {
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--sky-soft);
    color: var(--blue-deep);
    font-size: .74rem;
    font-weight: 600;
}
.scene-foot {
    margin: 0;
    padding: 12px 18px 14px;
    background: var(--ground);
    color: var(--blue-deep);
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
}

/* hebrew: the message gets understood piece by piece */
.scene mark {
    padding: 0 2px;
    border-radius: 4px;
    color: inherit;
    background: linear-gradient(rgba(246, 200, 76, .55), rgba(246, 200, 76, .55)) no-repeat 100% 0 / 100% 100%;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.intent { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.intent li {
    display: inline-flex;
    gap: 6px;
    padding: 5px 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 600;
}
.intent li span { color: var(--ink-2); font-weight: 400; }
.intent li.intent-label { padding: 0 2px; background: none; border: 0; color: var(--ink-2); font-weight: 500; }

/* site chat: the widget opens from its launcher */
.scene-site { width: min(500px, 100%); }
.site-page { min-height: 390px; }
.site-page .skel-row + .skel-row { margin-top: 10px; }
.scene-widget { bottom: 74px; transform-origin: 0 100%; }
.scene-widget .widget-body { gap: 7px; }
.scene-widget .swap > .bubble { max-width: 90%; }
.launcher {
    position: absolute;
    inset-inline-end: 14px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--paper);
    box-shadow: 0 10px 22px -8px rgba(29, 118, 179, .6), 0 0 0 2px var(--blue);
}
.launcher img { width: 30px; height: auto; }
.launcher::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid var(--blue);
    animation: sc-ring 1.8s ease-out infinite;
}

/* products: the catalog narrows down to one */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.filters span {
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
}
.filters .filters-label { padding: 0 2px; background: none; color: var(--ink-2); font-weight: 500; }
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.catalog li {
    position: relative;
    display: grid;
    gap: 2px;
    padding: 8px;
    background: var(--paper);
    border-radius: 14px;
    font-size: .78rem;
    line-height: 1.3;
}
.catalog .mini-thumb { width: 100%; height: 52px; margin-bottom: 4px; }
.catalog strong { font-weight: 600; }
.catalog li > span:nth-of-type(2) { color: var(--blue); font-weight: 600; }
.match-ring {
    position: absolute;
    inset: -3px;
    border: 2px solid var(--blue);
    border-radius: 17px;
    pointer-events: none;
}
.match-badge {
    position: absolute;
    top: -11px;
    inset-inline-start: 8px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--sun);
    color: #5C4300;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

/* leads: the card fills itself in */
.lead-toast {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 16px auto 0;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-size: .9rem;
    font-weight: 500;
    box-shadow: 0 14px 28px -14px rgba(14, 50, 83, .7);
}
.lead-toast svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* calendar: the free slot gets booked */
.cal-card { background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
}
.cal-head strong { font-size: .95rem; }
.cal-head span { font-size: .78rem; color: var(--ink-2); }
.cal-slots { padding: 6px 0; }
.cal-slots li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: center; padding: 5px 16px; }
.cal-slots time { font-size: .8rem; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.slot { display: block; padding: 7px 12px; border-radius: 10px; font-size: .85rem; font-weight: 500; }
.slot-busy { background: var(--ground-2); color: var(--ink-2); }
.slot-free { border: 1.5px dashed var(--field); color: var(--ink-2); padding-block: 5.5px; }
.slot-booked { background: var(--blue); color: #fff; font-weight: 600; box-shadow: 0 8px 18px -8px rgba(29, 118, 179, .7); }

/* docs: files upload, then one of them answers */
.files { padding: 6px 0; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); margin-bottom: 6px; }
.files li { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 16px; }
.file-ico {
    flex: none;
    display: grid;
    place-items: center;
    width: 36px;
    height: 42px;
    border-radius: 8px;
    color: #fff;
    font-size: .6rem;
    font-weight: 800;
}
.f-pdf { background: #C8553D; }
.f-xls { background: #3C8D5F; }
.f-doc { background: #2F6DB5; }
.file-main { flex: 1; min-width: 0; display: grid; gap: 6px; }
.file-main strong { font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar { display: block; height: 6px; border-radius: 3px; background: var(--ground-2); overflow: hidden; }
.bar i { height: 100%; border-radius: inherit; background: var(--sky); }
.file-state { flex: none; width: 56px; justify-items: end; font-size: .78rem; color: var(--ink-2); }
.ok-tag { padding: 2px 9px; border-radius: 999px; background: rgba(46, 157, 106, .14); color: #1F7A50; font-weight: 600; }
.file-ring {
    position: absolute;
    inset: 2px 8px;
    border: 2px solid var(--sun);
    border-radius: 12px;
    background: rgba(246, 200, 76, .1);
    pointer-events: none;
}

/* actions: the bot calls your systems mid-conversation */
.action {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 94%;
    align-self: center;
    padding: 10px 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.action-ico { flex: none; width: 32px; height: 32px; place-items: center; }
.action-ico > * { justify-self: center; }
.spin {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 3px solid var(--sky-soft);
    border-top-color: var(--blue);
    animation: sc-spin .8s linear infinite;
}
.done-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.action-main { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.action-main strong { font-size: .9rem; }
.action-main span { font-size: .76rem; color: var(--ink-2); }
.action-res { padding: 3px 10px; border-radius: 999px; background: rgba(46, 157, 106, .14); color: #1F7A50; font-size: .76rem; font-weight: 600; }

/* control: you take over one chat, a spammer gets blocked */
.live-now { display: inline-flex; align-items: center; gap: 6px; }
.live-now::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 3px rgba(46, 157, 106, .18);
}
.scene-inbox .inbox-list li { position: relative; isolation: isolate; }
.row-hl { position: absolute; inset: 0; z-index: -1; background: var(--sky-soft); }
.scene-inbox .inbox-list .swap { flex: none; justify-items: end; }
.ctl-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 18px 16px;
    padding: 10px 14px;
    border-radius: 14px;
    background: var(--ground);
    font-size: .9rem;
    font-weight: 500;
}
.toggle { position: relative; flex: none; width: 42px; height: 24px; border-radius: 999px; background: var(--field); }
.toggle i {
    position: absolute;
    top: 3px;
    inset-inline-start: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 37, 58, .25);
}

/* ── Contact ── */
.contact-section { padding-bottom: var(--section); }
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(24px, 5vw, 56px);
    align-items: start;
}
.contact-ways { display: grid; gap: 14px; }
.contact-way {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-way:hover { border-color: var(--sky); box-shadow: var(--shadow); }
.contact-way .pain-icon { margin: 0; background: var(--sky-soft); box-shadow: none; }
.contact-way > span:last-child { display: grid; }
.contact-way strong { font-weight: 600; }
.contact-way span span { color: var(--ink-2); text-align: right; }
.contact-form-card { border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-form-card h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 18px; }
.lead-form .field-wide { grid-column: 1 / -1; }
.field textarea {
    width: 100%;
    font: 400 1rem/1.5 var(--font);
    color: var(--ink);
    background: var(--ground);
    border: 1px solid var(--field);
    border-radius: 14px;
    padding: 13px 16px;
    resize: vertical;
}
.field textarea:focus { background: #fff; border-color: var(--blue); outline: 3px solid rgba(29, 118, 179, .2); outline-offset: 0; }

/* ── Thank-you page ── */
.thanks { padding-block: clamp(72px, 12vw, 140px); text-align: center; }
.thanks .offer-logo { margin: 0 auto 24px; width: 84px; background: var(--paper); box-shadow: var(--shadow); }
.thanks h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.thanks p { margin: 0 auto 32px; color: var(--ink-2); max-width: 48ch; font-size: 1.12rem; }
.thanks-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ── Responsive ── */
@media (max-width: 1080px) {
    .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
    .plan-featured { order: -1; }
}

@media (max-width: 600px) {
    .feature-index a { padding: 7px 13px 7px 11px; font-size: .9rem; }
    .scene-chat .bubble { font-size: .9rem; }
    .catalog li { font-size: .72rem; }
    .catalog .mini-thumb { height: 42px; }
}

@media (max-width: 860px) {
    .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 960px) {
    .hero-grid,
    .show-row,
    .offer-card,
    .faq-wrap { grid-template-columns: minmax(0, 1fr); }
    .show-row--flip .show-copy { order: 0; }
    .hero-stage { padding-top: 12px; }
    .live-grid { grid-template-columns: minmax(0, 1fr); }
    .steps { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .steps::before { display: none; }
}

@media (max-width: 640px) {
    .hero-actions .btn { width: 100%; }
    .facts-list { grid-template-columns: minmax(0, 1fr); }
    .facts-list li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
    .pain-grid { grid-template-columns: minmax(0, 1fr); }
    .lead-form { grid-template-columns: minmax(0, 1fr); }
    .float-clock { top: 0; inset-inline-start: 0; padding: 10px 14px; }
    .float-time { font-size: 1.6rem; }
    .float-lead { bottom: 52px; inset-inline-end: 0; max-width: 230px; padding: 12px 14px; }
    .phone-screen { min-height: 480px; }
    .widget { width: 210px; }
    .mobile-cta {
        display: flex;
        position: fixed;
        inset-inline: 12px;
        bottom: 12px;
        z-index: 40;
        padding: 15px 20px;
        box-shadow: 0 16px 30px -10px rgba(16, 37, 58, .5);
        transition: opacity .2s ease, transform .2s ease;
    }
    .mobile-cta.is-hidden { opacity: 0; transform: translateY(120%); pointer-events: none; }
    body.site { padding-bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .site *,
    .site *::before,
    .site *::after { transition: none !important; animation: none !important; }
}
