/* Optimark Chatbot (/chatbot). Layers on top of home.css: header, CTA, FAQ, footer, sheet and the industry rail come from Home;
   this file adds the Chatbot-only sections (prefix bot-) and re-tints the Home hero in the Chatbot blue. Generated start: the hero, industry band,
   section heads, timeline and ambient background blocks were taken from erp.css with the brand swapped. */

/* Current page in the nav, the bottom sheet and the footer */
.nv-link[aria-current="page"], .sh-row[aria-current="page"], .mx-fl[aria-current="page"] { color: var(--text-primary); }

/* Anchors and sticky blocks sit below the sticky header (64px, 56px on phones) */
:root { --bot-hdr: 64px; }
@media (max-width: 640px) { :root { --bot-hdr: 56px; } }
section[id] { scroll-margin-top: calc(var(--bot-hdr) + var(--spacing-2xl)); }

/* Content frame: the same 96px section inset and 1200px of content as Home's Solusi, Modul, Cara Kerja, CTA and FAQ */
@media (min-width: 1025px) {
  #masalah, #alur, #demo, #fitur, #channel, #percaya, #mulai { padding-inline: var(--spacing-11xl); }
  #masalah > .mx-wrap, #alur > .mx-wrap, #demo > .mx-wrap, #fitur > .mx-wrap, #channel > .mx-wrap, #percaya > .mx-wrap, #mulai > .mx-wrap { width: 100%; max-width: 1248px; padding-inline: var(--spacing-4xl); box-sizing: border-box; }
}
#masalah, #alur, #demo, #fitur, #channel, #percaya, #mulai { position: relative; isolation: isolate; }

/* Icons used on this page (Untitled UI, same files as the rest of the site) */
.i-b-message-chat-circle { --ic: url(../assets/icons/untitled-ui/message-chat-circle.svg); }
.i-b-message-chat-square { --ic: url(../assets/icons/untitled-ui/message-chat-square.svg); }
.i-b-message-text-square-02 { --ic: url(../assets/icons/untitled-ui/message-text-square-02.svg); }
.i-b-headphones-01 { --ic: url(../assets/icons/untitled-ui/headphones-01.svg); }
.i-b-shield-tick { --ic: url(../assets/icons/untitled-ui/shield-tick.svg); }
.i-b-lock-01 { --ic: url(../assets/icons/untitled-ui/lock-01.svg); }
.i-b-file-06 { --ic: url(../assets/icons/untitled-ui/file-06.svg); }
.i-b-upload-cloud-02 { --ic: url(../assets/icons/untitled-ui/upload-cloud-02.svg); }
.i-b-globe-01 { --ic: url(../assets/icons/untitled-ui/globe-01.svg); }
.i-b-clock { --ic: url(../assets/icons/untitled-ui/clock.svg); }
.i-b-ticket-01 { --ic: url(../assets/icons/untitled-ui/ticket-01.svg); }
.i-b-send-01 { --ic: url(../assets/icons/untitled-ui/send-01.svg); }
.i-b-inbox-01 { --ic: url(../assets/icons/untitled-ui/inbox-01.svg); }
.i-b-users-01 { --ic: url(../assets/icons/untitled-ui/users-01.svg); }
.i-b-mail-01 { --ic: url(../assets/icons/untitled-ui/mail-01.svg); }
.i-b-link-01 { --ic: url(../assets/icons/untitled-ui/link-01.svg); }
.i-b-check-circle { --ic: url(../assets/icons/untitled-ui/check-circle.svg); }
.i-b-bar-chart-07 { --ic: url(../assets/icons/untitled-ui/bar-chart-07.svg); }
.i-b-target-04 { --ic: url(../assets/icons/untitled-ui/target-04.svg); }
.i-b-layers-three-01 { --ic: url(../assets/icons/untitled-ui/layers-three-01.svg); }
.i-b-eye { --ic: url(../assets/icons/untitled-ui/eye.svg); }
.i-b-refresh-cw-01 { --ic: url(../assets/icons/untitled-ui/refresh-cw-01.svg); }
.i-b-key-01 { --ic: url(../assets/icons/untitled-ui/key-01.svg); }
.i-b-user-check-01 { --ic: url(../assets/icons/untitled-ui/user-check-01.svg); }
.i-b-phone { --ic: url(../assets/icons/untitled-ui/phone.svg); }
.i-b-stars-01 { --ic: url(../assets/icons/untitled-ui/stars-01.svg); }
.i-b-zap { --ic: url(../assets/icons/untitled-ui/zap.svg); }
.i-b-palette { --ic: url(../assets/icons/untitled-ui/palette.svg); }

/* ---------- Hero: the Home component in the Chatbot colour ----------
   Markup and layout come from home.css (.hv, .hv-card, .hv-photo, .hv-floats, .hv-strip); this block only swaps the emerald and lime parts for the Chatbot brand ramp. */
.hv[data-brand="chatbot"]::before { background:
  radial-gradient(55% 60% at 88% 4%, color-mix(in srgb, var(--brand-500) 11%, transparent), transparent 72%),
  radial-gradient(50% 55% at 6% 10%, color-mix(in srgb, var(--brand-300) 9%, transparent), transparent 72%),
  radial-gradient(60% 30% at 50% 72%, color-mix(in srgb, var(--brand-500) 6%, transparent), transparent 100%),
  radial-gradient(45% 28% at 96% 70%, color-mix(in srgb, var(--brand-400) 6%, transparent), transparent 100%); }
.hv[data-brand="chatbot"]::after { background: var(--brand-600); opacity: .16; }
.hv[data-brand="chatbot"] .hv-card { background:
  radial-gradient(60% 80% at 4% 108%, color-mix(in srgb, var(--brand-500) 28%, transparent) 0%, color-mix(in srgb, var(--brand-500) 22%, transparent) 15%, color-mix(in srgb, var(--brand-500) 14%, transparent) 32%, color-mix(in srgb, var(--brand-500) 7%, transparent) 50%, color-mix(in srgb, var(--brand-500) 2.5%, transparent) 70%, transparent 100%),
  var(--brand-900); }
.hv[data-brand="chatbot"] .hv-accent { color: var(--brand-300); }   /* Chatbot brand blue on the deep-blue card: headline is large text (44px+, bold), so the 3:1 large-text threshold applies */
/* the semantic border/bg brand tokens resolve at :root (lime), so the strip ring is set from the Chatbot ramp directly */
.hv[data-brand="chatbot"] .hv-strip { border-color: var(--brand-500); background: color-mix(in srgb, var(--brand-500) 12%, var(--bg-primary)); }
.hv[data-brand="chatbot"] .hv-float { background: color-mix(in srgb, var(--brand-950) 60%, transparent); }

/* Hero photo (option A, regenerated near-square: formal, seated, laptop): fills the Home photo frame, an eased fade into the card instead of Home's
   three-stop fade, and a red wash so the photo sits in the Chatbot card colour */
.hv[data-brand="chatbot"] .hv-photo img { object-position: 50% 100%; }   /* near-square photo: fills the frame, desk edge on the card bottom */
.hv[data-brand="chatbot"] .hv-photo::before, .hv[data-brand="chatbot"] .hv-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hv[data-brand="chatbot"] .hv-photo::before { background: color-mix(in srgb, var(--brand-600) 16%, transparent); mix-blend-mode: multiply; }
.hv[data-brand="chatbot"] .hv-photo::after { background: radial-gradient(90% 110% at 0% 55%, color-mix(in srgb, var(--brand-500) 42%, transparent), transparent 68%), linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--brand-700) 34%, transparent)); mix-blend-mode: soft-light; }
@media (min-width: 1025px) {
  .hv[data-brand="chatbot"] .hv-photo { -webkit-mask-image: linear-gradient(90deg, transparent 0, rgb(0 0 0 / .05) 5%, rgb(0 0 0 / .14) 10%, rgb(0 0 0 / .3) 16%, rgb(0 0 0 / .52) 22%, rgb(0 0 0 / .74) 28%, rgb(0 0 0 / .9) 34%, #000 40%); mask-image: linear-gradient(90deg, transparent 0, rgb(0 0 0 / .05) 5%, rgb(0 0 0 / .14) 10%, rgb(0 0 0 / .3) 16%, rgb(0 0 0 / .52) 22%, rgb(0 0 0 / .74) 28%, rgb(0 0 0 / .9) 34%, #000 40%); }
}
@media (max-width: 1024px) {
  .hv[data-brand="chatbot"] .hv-photo img { object-position: 50% 22%; }   /* stacked: a short wide frame, so crop from the top third to keep the face and the laptop */
  .hv[data-brand="chatbot"] .hv-photo { -webkit-mask-image: linear-gradient(180deg, transparent 0, rgb(0 0 0 / 0.028) 5.6%, rgb(0 0 0 / 0.104) 11.2%, rgb(0 0 0 / 0.216) 16.8%, rgb(0 0 0 / 0.352) 22.4%, rgb(0 0 0 / 0.500) 28.0%, rgb(0 0 0 / 0.648) 33.6%, rgb(0 0 0 / 0.784) 39.2%, rgb(0 0 0 / 0.896) 44.8%, rgb(0 0 0 / 0.972) 50.4%, #000 56%); mask-image: linear-gradient(180deg, transparent 0, rgb(0 0 0 / 0.028) 5.6%, rgb(0 0 0 / 0.104) 11.2%, rgb(0 0 0 / 0.216) 16.8%, rgb(0 0 0 / 0.352) 22.4%, rgb(0 0 0 / 0.500) 28.0%, rgb(0 0 0 / 0.648) 33.6%, rgb(0 0 0 / 0.784) 39.2%, rgb(0 0 0 / 0.896) 44.8%, rgb(0 0 0 / 0.972) 50.4%, #000 56%); }
}
@container (min-width: 1140px) {
  .hv[data-brand="chatbot"] .hv-photo { width: clamp(300px, 100cqi - 663px, 520px); }
  .hv[data-brand="chatbot"] .hv-floats { --pw: clamp(300px, 100cqi - 663px, 520px); }
}

/* ---------- Floating card: cross-module automation (CSS loop; the finished state is the default, so reduced motion shows all three rows) ---------- */
.hv[data-brand="chatbot"] .hv-float-c { top: auto; left: auto; right: var(--spacing-3xl); bottom: var(--spacing-3xl); width: 252px; }   /* bottom-right corner of the hero card */
/* Tablet (stacked card): like Home, both cards stack down the left of the photo so the face and laptop stay clear (the desktop bottom-right spot would sit on the man) */
@media (min-width: 641px) and (max-width: 1024px) {
  /* Tablet uses the widened photo (bot-hero-photo-wide.jpg, 21:9, outpainted from the square original) so the 350px frame shows the whole desk and laptop instead of a face-and-shoulders crop. The two cards stack down the left, on the wall and plant side, clear of the man and the laptop (Home's tablet pattern) */
  .hv[data-brand="chatbot"] .hv-photo img { object-fit: cover; object-position: 75% 50%; }
  .hv[data-brand="chatbot"] .hv-photo { -webkit-mask-image: linear-gradient(180deg, transparent 0, rgb(0 0 0 / 0.028) 4.0%, rgb(0 0 0 / 0.104) 8.0%, rgb(0 0 0 / 0.216) 12.0%, rgb(0 0 0 / 0.352) 16.0%, rgb(0 0 0 / 0.500) 20.0%, rgb(0 0 0 / 0.648) 24.0%, rgb(0 0 0 / 0.784) 28.0%, rgb(0 0 0 / 0.896) 32.0%, rgb(0 0 0 / 0.972) 36.0%, #000 40%); mask-image: linear-gradient(180deg, transparent 0, rgb(0 0 0 / 0.028) 4.0%, rgb(0 0 0 / 0.104) 8.0%, rgb(0 0 0 / 0.216) 12.0%, rgb(0 0 0 / 0.352) 16.0%, rgb(0 0 0 / 0.500) 20.0%, rgb(0 0 0 / 0.648) 24.0%, rgb(0 0 0 / 0.784) 28.0%, rgb(0 0 0 / 0.896) 32.0%, rgb(0 0 0 / 0.972) 36.0%, #000 40%); }   /* shorter top fade: the face sits high in the photo */
  .hv[data-brand="chatbot"] .hv-floats { --hv-ch: 163px; --hv-ah: 169px; --hv-wc: 244px; }   /* the Chatbot cards' finished heights (Home's defaults are 130 / 124) */
  .hv[data-brand="chatbot"] .hv-float-c { top: calc(100% - 36px - var(--hv-ch)); right: auto; bottom: auto; left: calc(var(--spacing-sm) + var(--spacing-4xl)); width: var(--hv-wc); }
  .hv[data-brand="chatbot"] .hv-float-a { top: calc(100% - 36px - var(--hv-ch) - var(--hv-ah) - var(--spacing-sm)); width: var(--hv-wc); }
  .hv[data-brand="chatbot"] .bot-chat .bot-src, .hv[data-brand="chatbot"] .bot-chat .bot-w-in { display: none; }   /* the stacked cards need the room */
}
.bot-auto-l { display: grid; gap: var(--spacing-sm); margin: var(--spacing-md) 0 0; padding: 0; list-style: none; }
.bot-auto-l li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: var(--spacing-md); padding-top: var(--spacing-sm); border-top: 1px solid var(--alpha-white-20); font-size: 11px; line-height: 16px; }
.bot-auto-l span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bot-auto-l em { padding: 0 var(--spacing-md); border-radius: var(--radius-full); background: var(--alpha-white-20); font-size: 10px; line-height: 15px; font-style: normal; font-weight: 500; }
.bot-auto-ck { position: relative; display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--utility-success-500); }
.bot-auto-ck::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: translate(-50%, -62%) rotate(45deg); }
.bot-auto-s { margin: var(--spacing-md) 0 0; padding-top: var(--spacing-sm); border-top: 1px solid var(--alpha-white-20); font-size: 10px; line-height: 15px; font-weight: 500; color: var(--alpha-white-70); }
@media (prefers-reduced-motion: no-preference) {
  .bot-auto-l li, .bot-auto-s { animation: 9s infinite both; animation-timing-function: var(--x-ease-out); }
  .bot-auto-l li:nth-child(1) { animation-name: bot-r1; }
  .bot-auto-l li:nth-child(2) { animation-name: bot-r2; }
  .bot-auto-l li:nth-child(3) { animation-name: bot-r3; }
  .bot-auto-s { animation-name: bot-r4; }
  .bot-auto-l li:nth-child(1) .bot-auto-ck { animation: bot-pop1 9s infinite both; }
  .bot-auto-l li:nth-child(2) .bot-auto-ck { animation: bot-pop2 9s infinite both; }
  .bot-auto-l li:nth-child(3) .bot-auto-ck { animation: bot-pop3 9s infinite both; }
  html.mx-paused .bot-auto-l li, html.mx-paused .bot-auto-s, html.mx-paused .bot-auto-ck { animation-play-state: paused; }
}
@keyframes bot-r1 { 0%, 4% { opacity: 0; translate: 0 6px; } 10%, 92% { opacity: 1; translate: 0 0; } 98%, 100% { opacity: 0; translate: 0 0; } }
@keyframes bot-r2 { 0%, 22% { opacity: 0; translate: 0 6px; } 28%, 92% { opacity: 1; translate: 0 0; } 98%, 100% { opacity: 0; translate: 0 0; } }
@keyframes bot-r3 { 0%, 40% { opacity: 0; translate: 0 6px; } 46%, 92% { opacity: 1; translate: 0 0; } 98%, 100% { opacity: 0; translate: 0 0; } }
@keyframes bot-r4 { 0%, 58% { opacity: 0; } 64%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes bot-pop1 { 0%, 8% { scale: 0; } 14%, 100% { scale: 1; } }
@keyframes bot-pop2 { 0%, 26% { scale: 0; } 32%, 100% { scale: 1; } }
@keyframes bot-pop3 { 0%, 44% { scale: 0; } 50%, 100% { scale: 1; } }

/* ---------- Industry band: the Home rail (home.css .ind-sec) in the Chatbot colour ----------
   Same overlap as Home's Solusi / Modul pair: the section before gets rounded bottom corners, the section after rounded top corners, and the band slides up behind both. */
#percaya { --kr: var(--radius-4xl); position: relative; z-index: 1; overflow: clip; border-radius: 0 0 var(--kr) var(--kr); background: var(--bg-primary); }
#mulai { padding-top: var(--x-sec); }   /* the rounded top and the white background belong to .bot-close, which wraps Cara mulai and the demo CTA */
.bot-close { --cl-r: var(--radius-4xl); position: relative; z-index: 2; margin-top: calc(var(--cl-r) * -1); border-radius: var(--cl-r) var(--cl-r) 0 0; background: var(--bg-primary); }
@media (max-width: 640px) { #percaya { --kr: var(--radius-2xl); } .bot-close { --cl-r: var(--radius-2xl); } }
.ind-sec[data-brand="chatbot"] { background: var(--brand-900); }
.ind-sec[data-brand="chatbot"] .ind { --notch-bg: var(--bg-primary); background:
  radial-gradient(60% 80% at 4% 108%, color-mix(in srgb, var(--brand-500) 28%, transparent) 0%, color-mix(in srgb, var(--brand-500) 22%, transparent) 15%, color-mix(in srgb, var(--brand-500) 14%, transparent) 32%, color-mix(in srgb, var(--brand-500) 7%, transparent) 50%, color-mix(in srgb, var(--brand-500) 2.5%, transparent) 70%, transparent 100%),
  linear-gradient(180deg, var(--brand-900), var(--brand-800)); }
.ind-sec[data-brand="chatbot"] .ind-card { background: var(--brand-900); }
.ind-sec[data-brand="chatbot"] .ind-feat-l { color: var(--brand-200); }


/* ---------- Section heads ---------- */
.bot-head { display: grid; justify-items: start; gap: var(--spacing-2xl); max-width: 720px; margin-bottom: var(--spacing-6xl); }
.bot-head-c { justify-items: center; margin-inline: auto; text-align: center; }
.bot-h2 { margin: 0; font-size: 40px; line-height: 48px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-primary); text-wrap: balance; }
.bot-sub-p { margin: 0; font-size: 16px; line-height: 24px; letter-spacing: -0.011em; color: var(--text-secondary); text-wrap: pretty; }

.bot-start { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--spacing-9xl); align-items: start; }
.bot-start-l { position: sticky; top: calc(var(--bot-hdr) + var(--spacing-3xl)); }
.bot-tl { position: relative; display: grid; gap: var(--spacing-4xl); margin: 0; padding: var(--spacing-md) 0 0; list-style: none; transition: opacity .4s var(--x-ease); }
.bot-tl.is-fade { opacity: 0; }
.bot-tl.is-reset, .bot-tl.is-reset * { transition: none !important; }
.bot-tl li { position: relative; display: flex; gap: var(--spacing-3xl); }
/* dashed connector between one dot and the next: a faint track, and the brand-coloured line that draws over it */
.bot-tl li:not(:last-child)::before, .bot-tl li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: calc(var(--spacing-4xl) * -1 + 4px); width: 2px; background: repeating-linear-gradient(to bottom, var(--brand-400) 0 6px, transparent 6px 12px); }
.bot-tl li:not(:last-child)::before { opacity: .3; }
.bot-tl li:not(:last-child)::after { clip-path: inset(0 0 100% 0); }
.bot-tl.is-run li:not(:last-child)::after { clip-path: inset(0); transition: clip-path var(--seg, .9s) linear var(--ld, 0s); }
/* dot: glass like the section badge (light gradient, hairline border, blur) over a white underlay so the dashed line never shows through; the number turns brand colour once the line has arrived */
.bot-tl-n { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--alpha-black-10); border-radius: var(--radius-full); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-quaternary); background: linear-gradient(180deg, color-mix(in srgb, var(--color-gray-light-950) 6%, transparent), color-mix(in srgb, var(--color-gray-light-950) 1%, transparent)), var(--bg-primary); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: color .4s var(--x-ease) var(--ld, 0s), border-color .4s var(--x-ease) var(--ld, 0s), background-color .4s var(--x-ease) var(--ld, 0s); }
.bot-tl.is-run .bot-tl-n { color: var(--brand-800); border-color: color-mix(in srgb, var(--brand-500) 35%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--brand-500) 12%, transparent), color-mix(in srgb, var(--brand-500) 3%, transparent)), var(--bg-primary); }
.bot-tl li > div { opacity: .4; transition: opacity .5s var(--x-ease) var(--ld, 0s); }
.bot-tl.is-run li > div { opacity: 1; }
.bot-tl h3 { margin: 4px 0 var(--spacing-xs); font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.015em; color: var(--text-primary); }
.bot-tl p { margin: 0; font-size: 16px; line-height: 24px; letter-spacing: -0.011em; color: var(--text-secondary); text-wrap: pretty; }
@media (prefers-reduced-motion: reduce) { .bot-tl li:not(:last-child)::after { clip-path: inset(0); } .bot-tl li > div { opacity: 1; } .bot-tl-n { color: var(--brand-800); } }

/* ---------- Ambient background and glass (same recipe as the Home hero and CTA) ----------
   .bot-bg sits behind a section's content: soft Chatbot-blue glows over white plus the star-dot tile as a mask, tinted Chatbot blue.
   It carries data-brand="chatbot" itself so it needs no brand on the section. */
#masalah, #banding, #modul, #percaya, #mulai { position: relative; isolation: isolate; }
.bot-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bot-bg::before { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(55% 60% at var(--ax, 88%) var(--ay, 6%), color-mix(in srgb, var(--brand-500) 11%, transparent), transparent 72%),
    radial-gradient(50% 55% at var(--bx, 6%) var(--by, 20%), color-mix(in srgb, var(--brand-300) 9%, transparent), transparent 72%),
    radial-gradient(60% 30% at 50% 92%, color-mix(in srgb, var(--brand-500) 6%, transparent), transparent 100%); }
.bot-bg::after { content: ""; position: absolute; inset: 0; background: var(--brand-600); opacity: .16;
  -webkit-mask: url(assets/cta-noise.png) 0 0 / var(--x-noise-tile) var(--x-noise-tile); mask: url(assets/cta-noise.png) 0 0 / var(--x-noise-tile) var(--x-noise-tile); }

/* Button option: Chatbot-blue primary (header CTA "Demo Gratis" with the "Optimark Chatbot" ribbon) */
.btn-primary.btn-chatbot { background: var(--brand-600); color: var(--text-white); }
.btn-primary.btn-chatbot > .ic, .btn-primary.btn-chatbot > svg { color: var(--text-white); }
.btn-primary.btn-chatbot:hover { background: var(--brand-700); }
.btn.btn-chatbot > .try-badge { background: var(--brand-900); }

/* Hero lead: the second sentence starts its own line above mobile; on phones it just wraps by width */
.hv[data-brand="chatbot"] .hv-lead .bot-lead-2 { display: block; }
@media (max-width: 640px) { .hv[data-brand="chatbot"] .hv-lead .bot-lead-2 { display: inline; } }


/* Closing CTA in the Chatbot brand (partials/cta-chatbot.html): the shared component with Chatbot tokens. Semantic --border-brand / --bg-brand-* stay lime at :root, so every brand colour here comes from --brand-* */
.mx-cta[data-brand="chatbot"] { background: radial-gradient(55% 28% at 88% 30%, color-mix(in srgb, var(--brand-500) 17%, transparent), transparent 72%), radial-gradient(50% 30% at 6% 36%, color-mix(in srgb, var(--brand-400) 12%, transparent), transparent 72%), radial-gradient(60% 30% at 50% 72%, color-mix(in srgb, var(--brand-500) 9%, transparent), transparent 100%), var(--bg-primary); }
.mx-cta[data-brand="chatbot"]::before { background: var(--brand-500); }
.mx-cta[data-brand="chatbot"] .mx-cta-outline { border-color: var(--brand-500); background: color-mix(in srgb, var(--brand-500) 12%, transparent); }
/* box = the industry band background: Chatbot-blue glow at the bottom left over a brand-900 to brand-800 gradient */
.mx-cta[data-brand="chatbot"] .mx-cta-box { background: radial-gradient(60% 80% at 4% 108%, color-mix(in srgb, var(--brand-500) 28%, transparent) 0%, color-mix(in srgb, var(--brand-500) 22%, transparent) 15%, color-mix(in srgb, var(--brand-500) 14%, transparent) 32%, color-mix(in srgb, var(--brand-500) 7%, transparent) 50%, color-mix(in srgb, var(--brand-500) 2.5%, transparent) 70%, transparent 100%), linear-gradient(180deg, var(--brand-900), var(--brand-800)); }
.mx-cta[data-brand="chatbot"] .mx-cta-accent { color: var(--brand-500); }
.mx-cta[data-brand="chatbot"] .mx-cta-card .btn { border-radius: var(--radius-lg); }

/* Hero logomark (bottom left): the same shape as Home's hero-logomark.svg, tinted with the Chatbot brand colour at the same 10% opacity (the SVG has the green baked in, so it is drawn as a mask here) */
.hv[data-brand="chatbot"] .hv-mark { background: var(--brand-600); opacity: .1; -webkit-mask: url(assets/logomark-solid.svg) center / contain no-repeat; mask: url(assets/logomark-solid.svg) center / contain no-repeat; }

/* FAQ title accent in Chatbot blue (the semantic --text-brand-primary stays lime at :root) */
.mx-faqs[data-brand="chatbot"] .mx-faqs-accent { color: var(--brand-500); }

/* =====================================================================================================
   Hero additions
   ===================================================================================================== */
.bot-logo { display: inline-flex; align-items: center; gap: var(--spacing-md); height: 40px; color: var(--text-white); }
.bot-logo img { display: block; width: 32px; height: 32px; }
.bot-logo-t { font-size: 22px; line-height: 28px; letter-spacing: -0.02em; font-weight: 400; white-space: nowrap; }
.bot-logo-t b { font-weight: 600; }
.hv-cell-ic .ic { width: 26px; height: 26px; color: var(--brand-600); }
.hv[data-brand="chatbot"] .hv-float-a { width: 232px; }

/* Floating card A: a conversation that types itself (CSS loop; the finished state is the default) */
.bot-chat-l { display: grid; gap: var(--spacing-sm); margin-top: var(--spacing-md); }
.bot-b { margin: 0; padding: var(--spacing-sm) var(--spacing-lg); border-radius: var(--radius-lg); font-size: 11px; line-height: 16px; }
.bot-b-u { justify-self: end; max-width: 88%; background: var(--alpha-white-20); border-bottom-right-radius: var(--radius-xs); }
.bot-b-a { justify-self: start; max-width: 96%; background: var(--brand-500); color: var(--text-white); border-bottom-left-radius: var(--radius-xs); }
.bot-src { margin: 0; font-size: 10px; line-height: 15px; color: var(--alpha-white-70); }
.bot-src b { font-weight: 600; color: var(--text-white); }
.bot-typing { display: none; justify-self: start; gap: 3px; padding: var(--spacing-md) var(--spacing-lg); border-radius: var(--radius-lg); background: var(--alpha-white-20); }
.bot-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-white); opacity: .7; }
@media (prefers-reduced-motion: no-preference) {
  .bot-chat .bot-b-u, .bot-chat .bot-b-a, .bot-chat .bot-src, .bot-chat .bot-typing { animation: 10s infinite both; animation-timing-function: var(--x-ease-out); }
  .bot-chat .bot-b-u { animation-name: bot-c1; }
  .bot-chat .bot-typing { display: flex; position: absolute; animation-name: bot-c2; }
  .bot-chat .bot-b-a { animation-name: bot-c3; }
  .bot-chat .bot-src { animation-name: bot-c4; }
  .bot-chat .bot-typing i { animation: bot-dot 1s var(--x-ease-io) infinite; }
  .bot-chat .bot-typing i:nth-child(2) { animation-delay: .15s; }
  .bot-chat .bot-typing i:nth-child(3) { animation-delay: .3s; }
  html.mx-paused .bot-chat .bot-b-u, html.mx-paused .bot-chat .bot-b-a, html.mx-paused .bot-chat .bot-src, html.mx-paused .bot-chat .bot-typing, html.mx-paused .bot-chat .bot-typing i { animation-play-state: paused; }
}
.bot-chat-l { position: relative; }
@keyframes bot-c1 { 0%, 3% { opacity: 0; translate: 0 6px; } 9%, 92% { opacity: 1; translate: 0 0; } 98%, 100% { opacity: 0; } }
@keyframes bot-c2 { 0%, 14% { opacity: 0; } 18%, 34% { opacity: 1; } 38%, 100% { opacity: 0; } }
@keyframes bot-c3 { 0%, 36% { opacity: 0; translate: 0 6px; } 42%, 92% { opacity: 1; translate: 0 0; } 98%, 100% { opacity: 0; } }
@keyframes bot-c4 { 0%, 54% { opacity: 0; } 60%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes bot-dot { 0%, 100% { opacity: .35; translate: 0 0; } 50% { opacity: 1; translate: 0 -2px; } }
/* Typing dots sit where the answer will land: reserve that row so the card does not jump */
.bot-chat .bot-typing { top: calc(16px * 2 + var(--spacing-lg) + 2px); }

/* =====================================================================================================
   Shared section pieces
   ===================================================================================================== */
.bot-sec { background: var(--bg-primary); }
.bot-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bot-soon, .bot-live { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 var(--spacing-md); border-radius: var(--radius-full); font-size: 12px; line-height: 18px; font-weight: 500; white-space: nowrap; }
.bot-soon { color: var(--text-tertiary); background: var(--bg-secondary-alt); box-shadow: inset 0 0 0 1px var(--border-secondary); }
.bot-live { color: var(--utility-success-700); background: var(--utility-success-50); box-shadow: inset 0 0 0 1px var(--utility-success-200); }
.bot-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--utility-success-500); }
@media (prefers-reduced-motion: no-preference) { .bot-live::before { animation: bot-pulse 2.4s var(--x-ease-io) infinite; } }
@keyframes bot-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--utility-success-500) 55%, transparent); } 60% { box-shadow: 0 0 0 5px transparent; } }

/* =====================================================================================================
   2. Masalah
   ===================================================================================================== */
.bot-pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spacing-2xl); margin: 0; padding: 0; list-style: none; }
.bot-pc { display: flex; flex-direction: column; gap: var(--spacing-md); padding: var(--spacing-3xl); border: 1px solid var(--border-secondary); border-radius: var(--radius-3xl); background: color-mix(in srgb, var(--bg-primary) 82%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform var(--x-mid) var(--x-ease-out), box-shadow var(--x-mid) var(--x-ease-out), border-color var(--x-mid) var(--x-ease-out); }
.bot-pc:hover { transform: translateY(-4px); border-color: var(--brand-200); box-shadow: 0 16px 32px -12px color-mix(in srgb, var(--brand-600) 24%, transparent); }
.bot-pc-ic, .bot-tc-ic, .bot-fa-ic, .bot-ch-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--radius-lg); color: var(--brand-600); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-100); transition: transform var(--x-mid) var(--x-ease-out), background var(--x-mid) var(--x-ease-out); }
.bot-pc-ic .ic, .bot-tc-ic .ic, .bot-fa-ic .ic, .bot-ch-ic .ic { width: 22px; height: 22px; }
.bot-pc:hover .bot-pc-ic, .bot-tc:hover .bot-tc-ic, .bot-fa-b:hover .bot-fa-ic, .bot-mn:hover .bot-ch-ic { transform: scale(1.08) rotate(-4deg); background: var(--brand-100); }
.bot-pc h3, .bot-tc h3 { margin: var(--spacing-xs) 0 0; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.015em; color: var(--text-primary); text-wrap: balance; }
.bot-pc p, .bot-tc p { margin: 0; font-size: 15px; line-height: 22px; letter-spacing: -0.009em; color: var(--text-secondary); text-wrap: pretty; }
.bot-pc-s { display: flex; align-items: flex-start; gap: var(--spacing-md); margin-top: auto; padding-top: var(--spacing-xl); border-top: 1px solid var(--border-secondary); font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: -0.006em; color: var(--text-primary); }
.bot-pc-s .ic { width: 18px; height: 18px; margin-top: 1px; color: var(--utility-success-600); }
.bot-pc p { margin-bottom: var(--spacing-md); }

/* =====================================================================================================
   3. Cara kerja (dark band)
   ===================================================================================================== */
.bot-flow { overflow: hidden; color: var(--text-white); background:
  radial-gradient(60% 80% at 4% 108%, color-mix(in srgb, var(--brand-500) 30%, transparent) 0%, color-mix(in srgb, var(--brand-500) 18%, transparent) 30%, transparent 100%),
  linear-gradient(180deg, var(--brand-950), var(--brand-900)); }
.bot-flow::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url(assets/cta-noise.png) 0 0 / var(--x-noise-tile) var(--x-noise-tile); opacity: .35; }
.bot-flow .tools-badge { color: var(--text-white); border-color: var(--alpha-white-20); background: var(--alpha-white-10); }
.bot-flow .bot-h2 { color: var(--text-white); }
.bot-flow .bot-sub-p { color: var(--alpha-white-70); }
.bot-flow-l { --p: 0; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--spacing-2xl); margin: 0; padding: 0; list-style: none; }
.bot-flow-l::before, .bot-flow-l::after { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px; border-radius: 2px; background: var(--alpha-white-20); }
.bot-flow-l::after { background: linear-gradient(90deg, var(--brand-300), var(--brand-400)); transform-origin: 0 50%; transform: scaleX(var(--p)); transition: transform 1.2s var(--x-ease-out); }
.bot-fl { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: var(--spacing-md); text-align: center; transition: opacity .5s var(--x-ease); }
.bot-fl-n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: var(--text-white); background: var(--brand-800); box-shadow: inset 0 0 0 1px var(--alpha-white-20); transition: background .5s var(--x-ease), box-shadow .5s var(--x-ease), scale .5s var(--x-ease-out); }
.bot-fl-n .ic { width: 24px; height: 24px; }
.bot-fl h3 { margin: var(--spacing-xs) 0 0; font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: -0.012em; }
.bot-fl p { margin: 0; max-width: 200px; font-size: 14px; line-height: 20px; letter-spacing: -0.006em; color: var(--alpha-white-70); text-wrap: pretty; }
html.js .bot-flow:not(.is-all) .bot-fl { opacity: .4; }
html.js .bot-flow:not(.is-all) .bot-fl.is-on { opacity: 1; }
.bot-fl.is-cur .bot-fl-n, .bot-flow.is-all .bot-fl-n { background: var(--brand-500); }
.bot-fl.is-cur .bot-fl-n { box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand-400) 28%, transparent), inset 0 0 0 1px var(--alpha-white-20); scale: 1.08; }
.bot-flow.is-all .bot-flow-l { --p: 1; }
.bot-loop { display: flex; align-items: center; justify-content: center; gap: var(--spacing-md); max-width: 560px; margin: var(--spacing-6xl) auto 0; padding: var(--spacing-md) var(--spacing-2xl); border-radius: var(--radius-full); font-size: 14px; line-height: 20px; letter-spacing: -0.006em; text-align: left; color: var(--text-white); background: var(--alpha-white-10); box-shadow: inset 0 0 0 1px var(--alpha-white-20); }
.bot-loop .ic { width: 18px; height: 18px; color: var(--brand-300); }
@media (prefers-reduced-motion: no-preference) { .bot-loop .ic { animation: bot-spin 6s linear infinite; } }
@keyframes bot-spin { to { transform: rotate(360deg); } }
@media (max-width: 1024px) {
  .bot-flow-l { grid-template-columns: minmax(0, 1fr); gap: var(--spacing-3xl); max-width: 520px; margin-inline: auto; }
  .bot-flow-l::before, .bot-flow-l::after { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .bot-flow-l::after { transform-origin: 50% 0; transform: scaleY(var(--p)); }
  .bot-fl { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "n t" "n d"; justify-items: start; align-content: center; column-gap: var(--spacing-2xl); row-gap: var(--spacing-xs); text-align: left; }
  .bot-fl-n { grid-area: n; align-self: start; }
  .bot-fl h3 { grid-area: t; margin: 0; align-self: end; }
  .bot-fl p { grid-area: d; max-width: none; align-self: start; }
  .bot-loop { border-radius: var(--radius-2xl); }
}

/* =====================================================================================================
   4. Demo (Home Chatbot panel)
   ===================================================================================================== */
#demo .mx-prod-bot { margin-top: 0; }
@media (min-width: 1025px) {
  #demo .mx-pbot-panel { display: grid; place-items: center; padding: var(--spacing-3xl); border-radius: var(--radius-4xl); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-100); }
}

/* =====================================================================================================
   5. Fitur
   ===================================================================================================== */
.bot-tabs { margin: 0 auto var(--spacing-5xl); }
/* a panel plays its cards in one after another each time it opens */
@media (prefers-reduced-motion: no-preference) {
}
@keyframes bot-rise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }

/* =====================================================================================================
   6. Channel
   ===================================================================================================== */
.bot-chsec { background: var(--bg-primary); }
/* seven cards, four per row: the last row (3 cards) is centred by the flex wrap */

/* =====================================================================================================
   7. Kepercayaan (rounded bottom corners, slides over the industry band)
   ===================================================================================================== */
.bot-trust { --kr: var(--radius-4xl); position: relative; z-index: 1; overflow: clip; border-radius: 0 0 var(--kr) var(--kr); background: linear-gradient(180deg, var(--color-gray-light-50), var(--color-gray-light-100)); }
@media (max-width: 640px) { .bot-trust { --kr: var(--radius-2xl); } }
.bot-tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spacing-2xl); margin: 0; padding: 0; list-style: none; }
.bot-tc { display: grid; gap: var(--spacing-md); align-content: start; padding: var(--spacing-3xl); border-radius: var(--radius-3xl); background: var(--bg-primary); box-shadow: inset 0 0 0 1px var(--border-secondary), var(--x-shadow-xs); transition: transform var(--x-mid) var(--x-ease-out), box-shadow var(--x-mid) var(--x-ease-out); }
.bot-tc:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--brand-200), 0 16px 32px -12px color-mix(in srgb, var(--brand-600) 24%, transparent); }
.bot-esc { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--spacing-md) var(--spacing-xl); margin-top: var(--spacing-4xl); padding: var(--spacing-2xl) var(--spacing-3xl); border-radius: var(--radius-3xl); color: var(--text-white); background: var(--brand-900); }
.bot-esc b { font-size: 15px; line-height: 22px; font-weight: 600; letter-spacing: -0.009em; }
.bot-esc ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--spacing-md); margin: 0; padding: 0; list-style: none; }
.bot-esc li { padding: 2px var(--spacing-xl); border-radius: var(--radius-full); font-size: 13px; line-height: 20px; font-weight: 500; background: var(--alpha-white-10); box-shadow: inset 0 0 0 1px var(--alpha-white-20); }

/* =====================================================================================================
   Closing block spacing (the rounded blocks come from the industry band section above)
   ===================================================================================================== */
.bot-stack { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .js #industri.is-pin { position: sticky; top: min(calc(var(--bot-hdr) + var(--spacing-md)), calc(100svh - var(--pin-h, 0px))); }
}

/* =====================================================================================================
   Responsive
   ===================================================================================================== */
@media (max-width: 1024px) {
  .bot-pgrid, .bot-tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--spacing-xl); }
  .bot-h2 { font-size: 34px; line-height: 42px; }
  .bot-start { grid-template-columns: minmax(0, 1fr); gap: var(--spacing-5xl); }
  .bot-start-l { position: static; }
}
@media (max-width: 640px) {
  .bot-pgrid, .bot-tgrid { grid-template-columns: minmax(0, 1fr); gap: var(--spacing-lg); }
  .bot-pc, .bot-tc { padding: var(--spacing-2xl); }
  .bot-h2 { font-size: 28px; line-height: 36px; }
  .bot-head { margin-bottom: var(--spacing-4xl); }
  .bot-tabs { overflow-x: auto; scrollbar-width: none; width: 100%; justify-content: flex-start; margin-bottom: var(--spacing-3xl); }
  .bot-tabs > [role="tab"] { flex: 1 1 auto; justify-content: center; padding-inline: var(--spacing-md); font-size: 13px; }
  .bot-esc { padding: var(--spacing-xl); border-radius: var(--radius-2xl); }
  .bot-logo-t { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .bot-pc, .bot-tc { transition: none; }
}

.i-b-book-open-01 { --ic: url(../assets/icons/untitled-ui/book-open-01.svg); }

/* =====================================================================================================
   Hero: the chat card is a full widget (header, bubbles, input), like the one visitors see on a site
   ===================================================================================================== */
.hv[data-brand="chatbot"] .hv-float-a { width: 244px; }
.bot-w-hd { display: flex; align-items: center; gap: var(--spacing-md); padding-bottom: var(--spacing-md); border-bottom: 1px solid var(--alpha-white-20); }
.bot-w-av { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--text-white); }
.bot-w-t { display: grid; min-width: 0; }
.bot-w-t b { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: -0.006em; white-space: nowrap; }
.bot-w-t i { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; line-height: 14px; font-style: normal; color: var(--alpha-white-70); }
.bot-w-t i::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--utility-success-500); }
.bot-w-in { display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-md); margin-top: var(--spacing-md); padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-sm) var(--spacing-lg); border-radius: var(--radius-full); font-size: 11px; line-height: 16px; color: var(--alpha-white-70); background: var(--alpha-white-10); box-shadow: inset 0 0 0 1px var(--alpha-white-20); }
.bot-w-in .ic { width: 22px; height: 22px; padding: 5px; box-sizing: border-box; border-radius: 50%; color: var(--text-white); background: var(--brand-500); }

/* =====================================================================================================
   5. Fitur: tabs, a list of features with one open at a time, and a mockup beside it
   ===================================================================================================== */
.bot-fp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--spacing-5xl); align-items: start; }
.bot-fp[hidden] { display: none; }
.bot-fl2 { display: grid; gap: var(--spacing-md); margin: 0; padding: 0; list-style: none; }
.bot-fa { border: 1px solid var(--border-secondary); border-radius: var(--radius-2xl); background: var(--bg-primary); transition: border-color var(--x-mid) var(--x-ease), box-shadow var(--x-mid) var(--x-ease), background var(--x-mid) var(--x-ease); }
.bot-fa.is-on { border-color: var(--brand-300); background: var(--brand-25); box-shadow: 0 12px 28px -14px color-mix(in srgb, var(--brand-600) 30%, transparent); }
.bot-fa-b { display: flex; align-items: center; gap: var(--spacing-xl); width: 100%; padding: var(--spacing-xl) var(--spacing-2xl); border: 0; background: none; font: inherit; text-align: left; color: var(--text-primary); cursor: pointer; border-radius: inherit; }
.bot-fa-b:focus-visible { outline: var(--stroke-2) solid var(--x-ring); outline-offset: 2px; }
.bot-fa-ic { width: 40px; height: 40px; }
.bot-fa-t { flex: 1 1 auto; min-width: 0; font-size: 17px; line-height: 24px; font-weight: 600; letter-spacing: -0.012em; }
.bot-fa-r { position: relative; flex: none; width: 20px; height: 20px; }
.bot-fa-r::before, .bot-fa-r::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--text-tertiary); transition: transform var(--x-mid) var(--x-ease-out), opacity var(--x-mid) var(--x-ease); }
.bot-fa-r::after { transform: rotate(90deg); }
.bot-fa.is-on .bot-fa-r::before { background: var(--brand-600); }
.bot-fa.is-on .bot-fa-r::after { transform: rotate(0); opacity: 0; }
.bot-fa-p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--x-mid) var(--x-ease-out); }
.bot-fa.is-on .bot-fa-p { grid-template-rows: 1fr; }
.bot-fa-p > div { overflow: hidden; }
.bot-fa-p p { margin: 0; padding: 0 var(--spacing-2xl) var(--spacing-2xl) calc(var(--spacing-2xl) + 40px + var(--spacing-xl)); font-size: 15px; line-height: 22px; letter-spacing: -0.009em; color: var(--text-secondary); text-wrap: pretty; }
.bot-fm { position: sticky; top: calc(var(--bot-hdr) + var(--spacing-3xl)); display: grid; place-items: center; min-height: 420px; padding: var(--spacing-4xl); border-radius: var(--radius-4xl); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-100); }
.bot-m { width: 100%; max-width: 380px; display: grid; gap: var(--spacing-lg); padding: var(--spacing-2xl); border-radius: var(--radius-2xl); background: var(--bg-primary); box-shadow: 0 24px 48px -16px color-mix(in srgb, var(--brand-900) 28%, transparent), inset 0 0 0 1px var(--border-secondary); }
.bot-m-hd { display: flex; align-items: center; gap: var(--spacing-md); font-size: 14px; line-height: 20px; color: var(--text-primary); }
.bot-m-hd .ic { width: 18px; height: 18px; color: var(--brand-600); }
.bot-m-hd b { font-weight: 600; }
.bot-m-hd span { margin-left: auto; font-size: 11px; line-height: 16px; color: var(--text-quaternary); }
.bot-m-sp { padding-top: var(--spacing-md); border-top: 1px solid var(--border-secondary); }
.bot-m .bot-b { max-width: 88%; font-size: 13px; line-height: 19px; }
.bot-m .bot-b-u { background: var(--bg-secondary-alt); color: var(--text-primary); box-shadow: inset 0 0 0 1px var(--border-secondary); }
.bot-m-row { display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-md); padding: var(--spacing-md) var(--spacing-lg); border-radius: var(--radius-lg); font-size: 13px; line-height: 18px; background: var(--bg-secondary-alt); }
.bot-m-row span { color: var(--text-tertiary); min-width: 0; }
.bot-m-row b { flex: none; font-weight: 500; color: var(--text-primary); }
.bot-m-ok { color: var(--utility-success-700) !important; }
.bot-m-btn { padding: 2px var(--spacing-lg); border-radius: var(--radius-full); font-size: 12px; line-height: 18px; color: var(--brand-700) !important; background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-200); }
.bot-m-sum { padding: var(--spacing-lg); border-radius: var(--radius-lg); background: var(--brand-25); box-shadow: inset 0 0 0 1px var(--brand-100); }
.bot-m-sum b { display: flex; align-items: center; gap: var(--spacing-sm); font-size: 13px; line-height: 18px; font-weight: 600; color: var(--brand-700); }
.bot-m-sum .ic { width: 16px; height: 16px; }
.bot-m-sum ul { margin: var(--spacing-md) 0 0; padding-left: var(--spacing-3xl); font-size: 13px; line-height: 19px; color: var(--text-secondary); }
.bot-m-chips { display: flex; flex-wrap: wrap; gap: var(--spacing-sm); }
.bot-m-chips span { padding: 2px var(--spacing-lg); border-radius: var(--radius-full); font-size: 12px; line-height: 18px; font-weight: 500; color: var(--text-secondary); background: var(--bg-secondary-alt); box-shadow: inset 0 0 0 1px var(--border-secondary); }
.bot-m-in { display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-md); padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-sm) var(--spacing-xl); border-radius: var(--radius-full); font-size: 13px; line-height: 18px; color: var(--text-tertiary); box-shadow: inset 0 0 0 1px var(--border-primary); }
.bot-m-in .ic { width: 28px; height: 28px; padding: 6px; box-sizing: border-box; border-radius: 50%; color: var(--text-white); background: var(--brand-600); }
/* the mockup plays its rows in one after another each time its tab opens (the finished state is the default) */
@media (prefers-reduced-motion: no-preference) {
  .js .bot-fp.is-in .bot-m-a { animation: bot-rise .6s var(--x-ease-out) both; animation-delay: var(--d, 0s); }
}
@keyframes bot-rise { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }

/* =====================================================================================================
   6. Channel: knowledge sources -> AI Agent -> channels (lines drawn on desktop, stacked below)
   ===================================================================================================== */
.bot-map { display: grid; grid-template-columns: minmax(0, 1fr) clamp(56px, 8vw, 120px) 260px clamp(56px, 8vw, 120px) minmax(0, 1.15fr); align-items: stretch; max-width: 1100px; margin-inline: auto; padding: var(--spacing-4xl); border-radius: var(--radius-4xl); background: var(--brand-25); box-shadow: inset 0 0 0 1px var(--brand-100); }
.bot-map-col { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: var(--spacing-xl); }
.bot-map-lb { margin: 0; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--text-tertiary); }
.bot-map-ul { display: flex; flex-direction: column; justify-content: space-around; height: 464px; margin: 0; padding: 0; list-style: none; }
.bot-map-r .bot-map-ul { justify-content: space-between; }
.bot-mn { display: flex; align-items: center; gap: var(--spacing-lg); height: 56px; padding: 0 var(--spacing-xl) 0 var(--spacing-md); border-radius: var(--radius-xl); background: var(--bg-primary); box-shadow: inset 0 0 0 1px var(--border-secondary), var(--x-shadow-xs); transition: transform var(--x-mid) var(--x-ease-out), box-shadow var(--x-mid) var(--x-ease-out); }
.bot-mn:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--brand-200), 0 10px 20px -10px color-mix(in srgb, var(--brand-600) 28%, transparent); }
.bot-mn .bot-ch-ic { width: 36px; height: 36px; border-radius: var(--radius-md); }
.bot-mn .bot-ch-ic .ic { width: 18px; height: 18px; }
.bot-mn b { min-width: 0; flex: 1 1 auto; font-size: 15px; line-height: 20px; font-weight: 500; letter-spacing: -0.009em; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bot-mn:not(.is-live) .bot-ch-ic { color: var(--text-quaternary); background: var(--bg-secondary-alt); box-shadow: inset 0 0 0 1px var(--border-secondary); }
.bot-map-l .bot-mn .bot-ch-ic { color: var(--brand-600); background: var(--brand-50); }
.bot-map-ln { align-self: end; width: 100%; height: 464px; overflow: visible; }
.bot-map-ln path { fill: none; stroke: var(--brand-300); stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.bot-map-lr path:not(.is-live) { stroke: var(--text-placeholder-subtle, var(--utility-gray-300)); opacity: .8; }
.bot-map-core { align-self: end; display: grid; justify-items: center; align-content: center; gap: var(--spacing-md); height: 464px; padding: var(--spacing-3xl); text-align: center; }
.bot-map-core { position: relative; }
.bot-map-core::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 200px; margin-top: -100px; z-index: 0; border-radius: var(--radius-3xl); background: var(--brand-900); background-image: radial-gradient(70% 90% at 10% 110%, color-mix(in srgb, var(--brand-500) 40%, transparent), transparent 70%); box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand-500) 14%, transparent); }
.bot-map-core > * { position: relative; z-index: 1; color: var(--text-white); }
.bot-map-ai { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-xl); background: var(--text-white); }
.bot-map-core b { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.015em; }
.bot-map-core span:last-child { font-size: 13px; line-height: 18px; color: var(--alpha-white-70); }
.bot-map-foot { display: flex; align-items: center; justify-content: center; gap: var(--spacing-md); margin: var(--spacing-3xl) auto 0; font-size: 15px; line-height: 22px; letter-spacing: -0.009em; color: var(--text-secondary); text-align: center; }
.bot-map-foot .ic { width: 20px; height: 20px; color: var(--brand-600); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .bot-map.is-in .bot-map-ln path { animation: bot-flow 1.6s linear infinite; }
  .bot-map-core::before { animation: bot-glow 3.2s var(--x-ease-io) infinite alternate; }
  html.mx-paused .bot-map-ln path, html.mx-paused .bot-map-core::before { animation-play-state: paused; }
}
@keyframes bot-flow { to { stroke-dashoffset: -18; } }
@keyframes bot-glow { to { box-shadow: 0 0 0 14px color-mix(in srgb, var(--brand-500) 6%, transparent); } }


/* Diagram and feature list below desktop */
@media (max-width: 1024px) {
  .bot-fp { grid-template-columns: minmax(0, 1fr); gap: var(--spacing-3xl); }
  .bot-fm { position: static; min-height: 0; padding: var(--spacing-3xl); }
  .bot-map { grid-template-columns: minmax(0, 1fr); gap: var(--spacing-3xl); padding: var(--spacing-3xl); }
  .bot-map-ln { display: none; }
  .bot-map-ul { height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--spacing-lg); }
  .bot-map-core { height: auto; padding: var(--spacing-4xl) var(--spacing-3xl); border-radius: var(--radius-3xl); background: var(--brand-900); background-image: radial-gradient(70% 90% at 10% 110%, color-mix(in srgb, var(--brand-500) 40%, transparent), transparent 70%); }
  .bot-map-core::before { display: none; }
  .bot-map-col { order: 0; }
  .bot-map-l { order: 1; } .bot-map-core { order: 2; } .bot-map-r { order: 3; }
  .bot-map-r::before, .bot-map-l::after { content: ""; display: block; width: 2px; height: 28px; margin: 0 auto; background: repeating-linear-gradient(to bottom, var(--brand-300) 0 5px, transparent 5px 10px); }
  .bot-map-l::after { margin-top: var(--spacing-xl); }
  .bot-map-r { grid-template-rows: auto auto minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hv[data-brand="chatbot"] .bot-chat .bot-src { display: none; }
  .bot-map { padding: var(--spacing-2xl); border-radius: var(--radius-3xl); }
  .bot-map-ul { grid-template-columns: minmax(0, 1fr); }
  .bot-fa-b { gap: var(--spacing-lg); padding: var(--spacing-lg) var(--spacing-xl); }
  .bot-fa-p p { padding: 0 var(--spacing-xl) var(--spacing-xl); }
  .bot-fm { padding: var(--spacing-2xl); border-radius: var(--radius-3xl); }
}
@media (prefers-reduced-motion: reduce) { .bot-fa, .bot-fa-p, .bot-mn { transition: none; } }
