/* CLAILA web v2: the product page of WebChat. Own face: "a conversation" (sky blue, chat bubbles, a phone with a live chat).
   Bar and footer stay the website's. Classes c-*; motion from motion.css / motion.js. */
.w2-ai-webchat {
  --c-sky: #EAF2FF; --c-sky-2: #D9E7FF; --c-blue: #2563EB; --c-blue-ink: #1E40AF; --c-navy: #0B1B3F; --c-navy-2: #152A5C;
  --c-line: #D6E2F5; --c-on-navy: #B9C8E8;
}
.c-over { color: var(--c-blue); }

/* ---- hero */
.c-hero { position: relative; overflow: hidden; padding: 72px 0 96px; background: linear-gradient(180deg, var(--c-sky) 0%, #F7FAFF 100%); }
.c-hero::after { content: ''; position: absolute; left: -160px; bottom: -260px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(closest-side, rgba(37, 99, 235, .14), rgba(37, 99, 235, 0)); pointer-events: none; }
.c-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 540px) minmax(0, 1fr); gap: 56px; align-items: center; }
.c-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.c-eyebrow { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--c-line); color: var(--c-blue); font-size: 13px; line-height: 18px; font-weight: 500; }
.c-hero h1 { font-size: 56px; line-height: 60px; font-weight: 600; letter-spacing: -.028em; color: var(--c-navy); text-wrap: balance; }
.c-lead { font-size: 19px; line-height: 30px; color: #3A4A6B; }
.c-hero .w-site { margin-top: 4px; }
.c-hero .w-btn, .c-close .w-btn { background: var(--c-blue); }
.c-hero .w-btn:hover, .c-close .w-btn:hover { background: var(--c-blue-ink); }
.c-hero-visual { position: relative; min-width: 0; }
.c-window { overflow: hidden; border-radius: 16px; border: 1px solid var(--c-line); background: #fff; box-shadow: 0 8px 16px rgba(11, 27, 63, .06), 0 28px 60px rgba(11, 27, 63, .16); }
.c-window-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #F1F5FC; }
.c-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #C9D6EC; }
.c-window-bar span { margin-left: auto; font-size: 11px; line-height: 14px; color: #5B6B8C; }
.c-window img { display: block; width: 100%; height: auto; }

/* speech bubbles around the hero picture */
.c-bubble { position: absolute; display: inline-flex; align-items: center; gap: 8px; max-width: 300px; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #fff; border: 1px solid var(--c-line);
  box-shadow: 0 10px 28px rgba(11, 27, 63, .16); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--c-navy); }
.c-bubble .w-ic { flex: none; color: var(--c-blue); }
.c-bubble-1 { left: -36px; top: 14%; }
.c-bubble-2 { right: -22px; top: 50%; border-radius: 16px 16px 4px 16px; }
.c-bubble-3 { left: 6%; bottom: -20px; background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.c-bubble-3 .w-ic { color: var(--w-mint); }
@media (prefers-reduced-motion: no-preference) {
  .c-bubble.is-in { animation: c-float 6s ease-in-out 1.8s infinite; }
  .c-bubble-2.is-in { animation-delay: 2.6s; } .c-bubble-3.is-in { animation-delay: 3.4s; }
}
@keyframes c-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

/* ---- cards */
.c-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.c-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.c-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; border-radius: 20px; background: var(--w-surface); border: 1px solid var(--w-line); }
.c-card > .w-ic { color: var(--c-blue); }
.c-card h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
.c-card p { font-size: 16px; line-height: 26px; color: var(--w-text-2); }
.c-grid .c-card { padding: 24px; gap: 8px; } .c-grid .c-card h3 { font-size: 18px; line-height: 26px; } .c-grid .c-card p { font-size: 15px; line-height: 24px; }
.c-tile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: var(--c-sky); color: var(--c-blue); }

/* ---- the live conversation in a phone */
.c-talk { padding: 96px 0; background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 100%); color: #fff; }
.c-talk-in { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 72px; align-items: center; }
.c-talk .w-h2 { color: #fff; }
.c-talk .w-sub { color: var(--c-on-navy); margin-top: 14px; }
.c-talk .c-over { color: #8DB4FF; }
.c-talk-copy .w-over { margin-bottom: 12px; }
.c-checks { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; font-size: 16px; line-height: 24px; }
.c-checks li { display: flex; align-items: center; gap: 10px; }
.c-checks .w-ic { color: var(--w-mint); }
.c-phone { overflow: hidden; border-radius: 34px; border: 8px solid #050D22; background: #F4F7FD; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.c-phone-head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px; background: var(--c-blue); color: #fff; }
.c-phone-head strong { display: block; font-size: 15px; line-height: 20px; }
.c-phone-head em { display: block; font-style: normal; font-size: 12px; line-height: 16px; opacity: .8; }
.c-avatar { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.c-msgs { display: flex; flex-direction: column; gap: 10px; min-height: 470px; padding: 18px 14px 22px; }
.c-msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 21px; }
.c-msg-q { align-self: flex-end; background: var(--c-blue); color: #fff; border-bottom-right-radius: 6px; }
.c-msg-a { align-self: flex-start; background: #fff; color: var(--c-navy); border: 1px solid var(--c-line); border-bottom-left-radius: 6px; }
.c-src { display: flex; align-items: center; gap: 5px; margin-top: 8px; padding-top: 7px; border-top: 1px solid #E8EEF8; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--c-blue); }
.c-msg-n { border-color: #F3C97A; background: #FFF9EC; }
.c-lead-form { display: flex; gap: 6px; margin-top: 9px; }
.c-lead-form i { flex: 1; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--c-line); background: #fff; font-style: normal; font-size: 12px; color: #8090AE; }
.c-lead-form b { padding: 6px 12px; border-radius: 10px; background: var(--c-blue); color: #fff; font-size: 12px; font-weight: 600; }

/* ---- how it works */
.c-scenes { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 48px; align-items: start; }
.c-scenes-tabs { display: flex; flex-direction: column; gap: 8px; }
.c-step { display: flex; gap: 16px; width: 100%; padding: 18px 20px; border-radius: 18px; border: 1px solid transparent; text-align: left; transition: background .2s, border-color .2s, box-shadow .2s; }
.c-step:hover { background: var(--c-sky); }
.c-step[aria-selected="true"] { background: #fff; border-color: var(--c-line); box-shadow: 0 2px 6px rgba(11, 27, 63, .05), 0 12px 28px rgba(11, 27, 63, .09); }
.c-step-n { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 12px; background: var(--c-sky); color: var(--c-blue); font-size: 15px; line-height: 20px; font-weight: 600; }
.c-step[aria-selected="true"] .c-step-n { background: var(--c-blue); color: #fff; }
.c-step-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; padding-top: 5px; }
.c-step-copy strong { font-size: 19px; line-height: 26px; font-weight: 600; color: var(--c-navy); }
.c-step-text { display: none; font-size: 15px; line-height: 24px; color: var(--w-text-2); }
.c-step .w-scene-bar { display: none; margin-top: 10px; color: var(--c-blue); background: var(--c-sky-2); }
.c-step[aria-selected="true"] .c-step-text, .c-step[aria-selected="true"] .w-scene-bar { display: block; }
.c-scenes-view { min-width: 0; }

/* ---- the price */
.c-money { padding: 88px 0; background: var(--c-sky); }
.c-money-in { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 64px; align-items: center; }
.c-money-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.c-money-copy .w-over { color: var(--c-blue); }
.c-money-copy h2 { font-size: 40px; line-height: 46px; font-weight: 600; letter-spacing: -.015em; color: var(--c-navy); text-wrap: balance; }
.c-money-copy p:not(.w-over) { font-size: 17px; line-height: 27px; color: #3A4A6B; }
.c-money-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--c-blue); }
.c-money-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.c-tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.c-tag { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--c-line); }
.c-tag span { font-size: 14px; line-height: 20px; font-weight: 600; color: #5B6B8C; }
.c-tag strong { font-size: 34px; line-height: 40px; font-weight: 600; letter-spacing: -.02em; color: var(--c-navy); font-variant-numeric: tabular-nums; }
.c-tag em { font-style: normal; font-size: 14px; line-height: 20px; color: #5B6B8C; }
.c-tag-us { background: var(--c-navy); border-color: var(--c-navy); }
.c-tag-us span, .c-tag-us em { color: var(--c-on-navy); }
.c-tag-us strong { color: var(--w-mint); }
.c-tags-note { grid-column: 1 / -1; font-size: 13px; line-height: 20px; color: #5B6B8C; }

/* ---- trust */
.c-trustband { padding: 64px 0; background: #F7FAFF; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.c-trustband-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.c-trustband-in > div { display: flex; gap: 14px; }
.c-trustband-in > div > .w-ic { flex: none; margin-top: 2px; color: var(--c-blue); }
.c-trustband h3 { font-size: 17px; line-height: 24px; font-weight: 600; color: var(--c-navy); }
.c-trustband p { margin-top: 4px; font-size: 15px; line-height: 24px; color: var(--w-text-2); }

/* ---- closing */
.c-close { padding: 96px 0; background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 100%); color: #fff; text-align: center; }
.c-close-in { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.c-close h2 { max-width: 820px; font-size: 48px; line-height: 54px; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.c-close-in > p:not(.c-bundle) { max-width: 600px; font-size: 18px; line-height: 28px; color: var(--c-on-navy); }
.c-close .w-site { margin-top: 12px; border-color: transparent; }
.c-bundle { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; font-size: 14px; line-height: 20px; color: var(--c-on-navy); }
.c-bundle i { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font-style: normal; font-size: 13px; font-weight: 500; }
.c-bundle a { color: var(--w-mint); font-weight: 600; }

@media (max-width: 1180px) { .c-hero h1 { font-size: 48px; line-height: 52px; } .c-bubble-1 { left: -8px; } .c-bubble-2 { right: -8px; } }
@media (max-width: 1020px) {
  .c-hero { padding: 48px 0 72px; } .c-hero-in { grid-template-columns: 1fr; gap: 40px; }
  .c-hero h1 { font-size: 42px; line-height: 46px; }
  .c-cards, .c-grid { grid-template-columns: 1fr; gap: 12px; }
  .c-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-talk { padding: 64px 0; } .c-talk-in { grid-template-columns: 1fr; gap: 40px; } .c-phone { max-width: 400px; margin: 0 auto; width: 100%; }
  .c-scenes { grid-template-columns: 1fr; gap: 24px; }
  .c-step[aria-selected="true"] .c-step-text { display: none; }
  .c-scenes-tabs { flex-direction: row; flex-wrap: wrap; } .c-step { width: auto; flex: 1 1 30%; padding: 12px 14px; gap: 10px; }
  .c-step-n { width: 30px; height: 30px; font-size: 13px; } .c-step-copy { padding-top: 3px; } .c-step-copy strong { font-size: 16px; line-height: 22px; }
  .c-money { padding: 64px 0; } .c-money-in { grid-template-columns: 1fr; gap: 32px; }
  .c-trustband-in { grid-template-columns: 1fr; gap: 24px; }
  .c-close { padding: 72px 0; } .c-close h2 { font-size: 36px; line-height: 42px; }
}
@media (max-width: 680px) {
  .c-hero { padding: 32px 0 56px; } .c-hero h1 { font-size: 34px; line-height: 38px; } .c-lead { font-size: 17px; line-height: 27px; }
  .c-bubble { max-width: 240px; padding: 8px 10px; font-size: 12px; line-height: 17px; }
  .c-bubble-1 { left: 6px; top: -16px; } .c-bubble-2 { right: 6px; top: 55%; } .c-bubble-3 { left: 6px; bottom: -16px; }
  .c-grid { grid-template-columns: 1fr; } .c-card { padding: 22px; }
  .c-step { flex: 1 1 100%; }
  .c-msgs { min-height: 0; }
  .c-money-copy h2 { font-size: 28px; line-height: 34px; } .c-tags { grid-template-columns: 1fr; } .c-tag strong { font-size: 28px; line-height: 34px; }
  .c-close h2 { font-size: 28px; line-height: 34px; }
}
