﻿/*
    Live Chat landing page.

    Adapted from the standalone design at
    download.a2z.tools/a2z-live-chat-landing-page.html. Its palette, type
    scale, spacing and breakpoints are untouched. Two kinds of change were
    made and nothing else:

    1. EVERY SELECTOR IS SCOPED UNDER .lcx. The design owned a whole page and
       styled bare `body`, `a`, `h1..h3` and `*`, plus `.btn`, `.card` and
       `.nav` - all of which Bootstrap and the site header/footer also use.
       Dropped into a shared layout unscoped, it restyled the chrome around
       it. `body` and `html` rules became `.lcx`; `*` became `.lcx, .lcx *`.

    2. The nav, brand, menu, footer and .foot rules are gone. The page renders
       inside _LayoutLiveChat_Landing, which brings _header_partial and
       _footer_partial; keeping the design's own would have put two headers
       and two footers on one page.

    The .float-badge rules went with them - that badge carried a "2.4x more
    conversations" figure nothing measured, so the markup dropped it too.
*/
:root{--ink:#08111f;--muted:#5f6b7a;--line:#dde4ec;--wash:#f5f8fb;--blue:#146ef5;--blue2:#0757cc;--mint:#10b981;--white:#fff;--shadow:0 24px 60px rgba(19,52,92,.13)}
.lcx, .lcx *{box-sizing:border-box}
.lcx{scroll-behavior:smooth}
.lcx{margin:0;color:var(--ink);font:16px/1.65 "DM Sans",sans-serif;background:#fff}
.lcx a{color:inherit;text-decoration:none}
.lcx button, .lcx a{ -webkit-tap-highlight-color:transparent}
.lcx .wrap{width:min(1160px,calc(100% - 40px));margin:auto}
.lcx .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:11px;background:var(--blue);color:#fff;font-weight:700;box-shadow:0 9px 20px rgba(20,110,245,.22);transition:.2s ease}
.lcx .btn:hover{background:var(--blue2);transform:translateY(-2px)}
.lcx .btn.outline{background:#fff;color:var(--ink);border:1px solid var(--line);box-shadow:none}
/* Top padding is the design's 70px PLUS 76px to clear the site header, which
   is Bootstrap `fixed-top` and therefore out of flow - without this it sits on
   top of the hero and clips the eyebrow badge. The design had its own static
   nav and needed no such allowance; the four other landing stylesheets do the
   same thing with `margin-top:4rem` on their first section. */
.lcx .hero{position:relative;overflow:hidden;padding:146px 0 88px;background:linear-gradient(150deg,#f7fbff 0%,#fff 52%,#f4fbf8 100%)}
.lcx .hero:before{content:"";position:absolute;width:520px;height:520px;right:-190px;top:-210px;border-radius:50%;background:rgba(20,110,245,.07)}
.lcx .hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:76px;align-items:center}
.lcx .eyebrow{display:inline-flex;align-items:center;gap:9px;padding:7px 11px;border:1px solid #cfe1fb;border-radius:999px;color:#0757cc;background:#eef6ff;font-size:13px;font-weight:700}
.lcx .pulse{width:8px;height:8px;border-radius:50%;background:var(--mint);box-shadow:0 0 0 5px rgba(16,185,129,.13)}
.lcx h1, .lcx h2, .lcx h3{font-family:"Manrope",sans-serif;margin:0;letter-spacing:-.035em}
.lcx h1{max-width:690px;margin-top:22px;font-size:clamp(44px,5.8vw,72px);line-height:1.04}
.lcx .gradient{color:var(--blue)}
.lcx .lead{max-width:600px;margin:24px 0 31px;color:var(--muted);font-size:19px}
.lcx .actions{display:flex;gap:12px;flex-wrap:wrap}
.lcx .micro{display:flex;gap:22px;flex-wrap:wrap;margin-top:22px;color:#667383;font-size:13px}
.lcx .micro span{display:flex;align-items:center;gap:7px}
.lcx .check{color:var(--mint);font-weight:800}
.lcx .chat-window{position:relative;max-width:470px;margin-left:auto;border:1px solid #dce5ef;border-radius:24px;background:#fff;box-shadow:var(--shadow);overflow:hidden;transform:rotate(1deg)}
.lcx .chat-head{display:flex;align-items:center;gap:12px;padding:18px 20px;background:var(--ink);color:white}
.lcx .avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#2d8bff,#73b4ff);font-weight:800}
.lcx .agent{font-size:14px;line-height:1.35}
.lcx .agent b{display:block;font-size:15px}
.lcx .online{color:#a7f3d0}
.lcx .dots{margin-left:auto;letter-spacing:2px}
.lcx .messages{min-height:350px;padding:24px;background:#f7f9fc}
.lcx .bubble{width:fit-content;max-width:82%;margin:0 0 15px;padding:12px 15px;border-radius:16px 16px 16px 4px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 4px 13px rgba(30,55,90,.05);font-size:14px}
.lcx .bubble.mine{margin-left:auto;border:0;border-radius:16px 16px 4px 16px;background:var(--blue);color:#fff}
.lcx .typing{display:flex;gap:4px}
.lcx .typing i{width:6px;height:6px;border-radius:50%;background:#8a96a5}
.lcx .compose{display:flex;align-items:center;gap:10px;margin-top:31px;padding:9px 9px 9px 15px;border:1px solid #dce4ec;border-radius:13px;background:#fff;color:#93a0af}
.lcx .send{display:grid;place-items:center;width:35px;height:35px;margin-left:auto;border-radius:9px;background:var(--blue);color:#fff}
.lcx .logo-strip{padding:27px 0;border-block:1px solid #edf0f4;color:#788493;text-align:center}
.lcx .logo-strip p{margin:0 0 18px;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.lcx .logos{display:flex;justify-content:center;gap:56px;flex-wrap:wrap;color:#536172;font:700 18px "Manrope",sans-serif}
.lcx .section{padding:100px 0}
.lcx .section.alt{background:var(--wash)}
.lcx .section-head{max-width:680px;margin:0 auto 54px;text-align:center}
.lcx .kicker{color:var(--blue);font-size:13px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.lcx .section h2{margin-top:10px;font-size:clamp(34px,4vw,48px);line-height:1.15}
.lcx .section-head p{margin:17px 0 0;color:var(--muted);font-size:18px}
.lcx .features{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.lcx .card{padding:28px;border:1px solid #e0e7ef;border-radius:18px;background:#fff;transition:.22s ease}
.lcx .card:hover{transform:translateY(-5px);box-shadow:0 18px 40px rgba(22,52,88,.09)}
.lcx .icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:21px;border-radius:14px;background:#eaf3ff;color:var(--blue)}
.lcx .icon svg{width:24px}
.lcx .card h3{font-size:19px}
.lcx .card p{margin:11px 0 0;color:var(--muted);font-size:15px}
.lcx .steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;counter-reset:steps}
.lcx .step{position:relative;padding:30px 28px}
.lcx .step:before{counter-increment:steps;content:"0" counter(steps);display:block;margin-bottom:22px;color:#a7c9f9;font:800 38px/1 "Manrope",sans-serif}
.lcx .step:not(:last-child):after{content:"";position:absolute;right:-21px;top:52px;width:40px;border-top:1px dashed #aab9c9}
.lcx .cta{position:relative;overflow:hidden;padding:68px;border-radius:28px;background:var(--ink);color:#fff}
.lcx .cta:after{content:"";position:absolute;width:370px;height:370px;right:-90px;top:-150px;border-radius:50%;background:var(--blue);opacity:.35}
.lcx .cta-inner{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:40px}
.lcx .cta h2{max-width:620px;font-size:clamp(34px,4vw,50px)}
.lcx .cta p{color:#b8c3d1;margin:15px 0 0}
.lcx .faq{max-width:820px;margin:auto}
.lcx .faq details{border-bottom:1px solid var(--line);padding:22px 3px}
.lcx .faq summary{cursor:pointer;list-style:none;font:700 17px "Manrope",sans-serif}
.lcx .faq summary::-webkit-details-marker{display:none}
.lcx .faq summary:after{content:"+";float:right;color:var(--blue);font-size:23px}
/* The design used a typographic minus (U+2212) here to pair with the "+".
   It did not survive an encoding round-trip and rendered as mojibake, and
   every escaped form got mangled again by the tool that wrote this file.
   An ASCII hyphen is visually indistinguishable at 23px and cannot break. */
.lcx .faq details[open] summary:after{content:"-"}
.lcx .faq p{margin:12px 40px 0 0;color:var(--muted)}
@media(max-width:900px) {
  .lcx .hero-grid{grid-template-columns:1fr;gap:55px}
  .lcx .chat-window{margin:auto}
  .lcx .features{grid-template-columns:1fr 1fr}
  .lcx .cta-inner{align-items:flex-start;flex-direction:column}
  .lcx .steps{gap:8px}
  .lcx .step:not(:last-child):after{display:none}
}
@media(max-width:620px) {
  .lcx .wrap{width:min(100% - 28px,1160px)}
  .lcx .hero{padding:119px 0 65px}   /* design's 51px + 68px for the fixed header */
  .lcx h1{font-size:43px}
  .lcx .lead{font-size:17px}
  .lcx .actions .btn{width:100%}
  .lcx .chat-window{transform:none;max-width:100%}
  .lcx .messages{min-height:310px;padding:18px}
  .lcx .features, .lcx .steps{grid-template-columns:1fr}
  .lcx .section{padding:72px 0}
  .lcx .cta{padding:42px 26px}
  .lcx .cta .btn{width:100%}
  .lcx .logos{gap:28px}
}

/*
    Overflow guards, added when the page moved into the site layout.

    Grid and flex children default to min-width:auto, which refuses to shrink
    below their content's minimum. The design never hit this because it was
    measured in its own full-width page; inside .lcx at phone widths the hero
    grid and the chat window pushed past the viewport, and .hero{overflow:hidden}
    then CLIPPED the text rather than scrolling it - the headline lost its last
    word and the buttons ran off the right edge.

    min-width:0 lets them shrink. The overflow-x on .lcx is a backstop: if some
    future element does overflow, the page must not scroll sideways.
*/
.lcx{overflow-x:hidden}
.lcx .hero-grid>*,.lcx .cta-inner>*,.lcx .features>*,.lcx .steps>*{min-width:0}
.lcx .bubble{overflow-wrap:anywhere}
