/* eskra.ai/website-chat: the public page and its live demo */
.wcl { max-width: 1120px; margin: 0 auto; padding: 32px 24px 72px; font-family: var(--es-font, 'DM Sans', -apple-system, sans-serif); color: var(--es-text); }
.wcl h1 { margin: 0 0 var(--es-space-4); font-size: clamp(32px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -.02em; font-weight: 600; }
.wcl h2 { margin: 0 0 var(--es-space-3); font-size: 22px; line-height: 1.25; letter-spacing: -.01em; font-weight: 600; }
.wcl h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.3; font-weight: 600; }
.wcl p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--es-text-muted); }

.wcl-hero { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 48px; align-items: center; }
.wcl .wcl-lead { font-size: 17px; }
/* the sample business: ds .es-inbox-pick, as an inbox is picked in Eskra, with each business's logo for its avatar */
.wcl-pick-label { display: block; margin: 32px 0 8px; font-size: 14px; font-weight: 500; color: var(--es-text-muted); }
.wcl-pick { max-width: 320px; margin-bottom: 28px; }
.wcl-pick .es-inbox-pick-btn { width: 100%; height: 48px; font-size: 15px; font-weight: 600; color: var(--es-text); }
.wcl-pick .es-inbox-pick-menu { left: 0; right: 0; width: auto; margin-left: 0; }
.wcl-pick img { flex-shrink: 0; object-fit: cover; border-radius: var(--es-radius-sm); }
.wcl-pick img.is-round { border-radius: 50%; }
.wcl-who { flex: 1; min-width: 0; display: grid; text-align: left; }
.wcl-who b { font-size: 14px; font-weight: 600; }
.wcl-who span { font-size: 12px; color: var(--es-text-muted); }
.wcl-actions { display: flex; flex-wrap: wrap; gap: var(--es-space-2); }
.wcl-actions .es-btn, .wcl-price .es-btn { text-decoration: none; }
.wcl .wcl-note { margin-top: var(--es-space-3); font-size: 13px; color: var(--es-text-faint); }

.wcl-stage { height: 660px; border-radius: var(--es-radius-xl, 20px); overflow: hidden; background: #f1f4f8; }
.wcl-stage iframe { display: block; width: 100%; height: 100%; border: 0; }
.wcl-stage iframe[hidden] { display: none; }

.wcl-section { margin-top: 88px; }
.wcl h2 { font-size: 30px; }
.wcl .wcl-sub { max-width: 640px; }
.wcl .wcl-grid h2 { font-size: 20px; }

/* the three looks: a small chat in each, on a backdrop in that business's colour so the glass shows */
.wcl-looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.wcl-look { padding: 20px; border: 1px solid var(--es-border); border-radius: 18px; background: var(--es-surface); }
.wcl-look.is-glass, .wcl-look.is-liquid { background: radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--brand) 45%, transparent), transparent 60%), radial-gradient(circle at 90% 90%, #f6c9a8, transparent 55%), var(--es-surface); }
.wcl-mini { display: flex; flex-direction: column; gap: 8px; height: 170px; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--es-border); margin-bottom: 16px; overflow: hidden; }
.wcl-look.is-glass .wcl-mini { background: rgba(255, 255, 255, .55); border-color: rgba(255, 255, 255, .8); backdrop-filter: blur(14px); }
.wcl-look.is-liquid .wcl-mini { background: rgba(255, 255, 255, .28); border-color: rgba(255, 255, 255, .95); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); backdrop-filter: blur(6px) saturate(1.6); }
.wcl-mini-head { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(17, 24, 39, .06); font-size: 13px; }
.wcl-mini-head img { border-radius: 6px; object-fit: cover; }
.wcl-mini-head img.is-round { border-radius: 50%; }
.wcl-mini-ai, .wcl-mini-me { max-width: 80%; padding: 7px 10px; border-radius: 12px; font-size: 12px; line-height: 1.35; }
.wcl-mini-ai { align-self: flex-start; background: rgba(243, 244, 246, .9); }
.wcl-mini-me { align-self: flex-end; background: var(--brand); color: #fff; }
.wcl .wcl-look p { font-size: 14px; }

.wcl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--es-space-5); margin: 28px 0; padding: 0; list-style: none; }
/* the number beside its heading, the text under the heading */
.wcl-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; row-gap: 8px; align-items: center; align-content: start; }
.wcl .wcl-steps h3 { margin: 0; }
.wcl-steps p { grid-column: 2; }
.wcl-steps span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--es-text); color: var(--es-bg); font-size: 14px; font-weight: 600; }
.wcl-code { display: block; padding: 12px 14px; overflow-x: auto; border: 1px solid var(--es-border); border-radius: var(--es-radius-md); background: var(--es-surface-sunken); font-size: 13px; white-space: nowrap; }
.wcl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.wcl-price { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: 36px 40px; border-radius: 20px; background: var(--es-accent-subtle); }
.wcl-price > div:first-child { flex: 1 1 420px; }
.wcl-price h2 { font-size: 26px; }
.wcl-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--es-space-5) 48px; margin-top: var(--es-space-5); }

@media (max-width: 900px) {
    .wcl-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .wcl-stage { height: 600px; }
    .wcl-steps, .wcl-grid, .wcl-faq, .wcl-looks { grid-template-columns: minmax(0, 1fr); }
    .wcl-price { padding: 28px 24px; }
    .wcl-section { margin-top: 56px; }
}
