/* Theme: light, executive retail marketplace. White canvas, cool-grey sections, deep navy type and buttons,
   brand orange for highlights and the primary calls to action. */
:root {
  --paper: #ffffff; --paper-2: #f5f7fa; --card: #ffffff; --ink: #0b1f3a; --ink-2: #475569; --muted: #7b8798;
  --line: #e3e8ef; --navy: #0b1f3a; --navy-2: #13294d; --saffron: #ff8a1f; --coral: #e8590c; --accent: #e8590c;
  --ok: #15803d; --ok-soft: #e7f6ec;
  --grad: linear-gradient(135deg, #ff8a1f, #e8590c);
  --shadow: 0 1px 2px rgba(11,31,58,.06), 0 10px 30px rgba(11,31,58,.07);
  --shadow-lg: 0 2px 6px rgba(11,31,58,.06), 0 24px 60px rgba(11,31,58,.12);
  --serif: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif; --sans: "Inter", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] { --paper: #0b1220; --paper-2: #111a2c; --card: #152036; --ink: #eef2f8; --ink-2: #b6c2d4;
  --muted: #8796ad; --line: #24324d; --ok: #4ade80; --ok-soft: #13291b; color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { font-family: "Noto Sans Arabic", var(--sans); }
html[lang="hi"] body { font-family: var(--sans), "Noto Sans Devanagari", sans-serif; }
html[lang="th"] body { font-family: "Noto Sans Thai", var(--sans); }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 21px; letter-spacing: -.025em; color: var(--ink); }
.logo b { color: var(--coral); font-weight: 700; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.logo.small { font-size: 17px; } .logo.small .brand-mark { width: 24px; height: 24px; }
.links { display: flex; gap: 22px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
.links a:hover { color: var(--ink); }
.actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.actions select { font: inherit; font-size: 13.5px; background: transparent; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; }
.btn, .ghost { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; font-weight: 600; font-size: 14.5px; padding: 9px 18px; transition: transform .15s, box-shadow .15s; }
.btn { background: var(--navy); color: #fff; box-shadow: 0 1px 2px rgba(11,31,58,.18); }
.btn.lg, .hero .btn, .final .btn, .market-cta .btn { background: var(--grad); color: #fff; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.ghost { border: 1px solid var(--line); color: var(--ink); background: var(--card); }
.ghost:hover { border-color: var(--ink-2); }
.lg { padding: 13px 24px; font-size: 16px; }
.block { width: 100%; margin-top: 18px; }

/* hero */
.hero { padding: 64px 0 40px; background: radial-gradient(900px 420px at 85% 10%, color-mix(in srgb, var(--saffron) 18%, transparent), transparent 70%), radial-gradient(700px 360px at 10% 90%, color-mix(in srgb, var(--coral) 10%, transparent), transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 700; color: var(--accent); margin: 0 0 14px; }
h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 20px; }
h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[lang="ar"] h1, html[lang="th"] h1, html[lang="hi"] h1, html[lang="zh-hans"] h1 { font-family: inherit; line-height: 1.25; }
.lead { font-size: 18.5px; color: var(--ink-2); max-width: 580px; margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.fine { color: var(--muted); font-size: 13.5px; margin-top: 14px; }

.showcase { position: relative; }
.chat { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 16px; font-family: "Noto Sans Arabic", var(--sans); }
.chat .bar { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.chat .dot, .demo .dot { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; font: 700 12px var(--sans); letter-spacing: .04em; }
.chat .bar .pill { margin-inline-start: auto; }
.chat .me { background: #0b6e4f; color: #fff; padding: 9px 14px; border-radius: 16px 16px 16px 4px; width: fit-content; max-width: 85%; margin-inline-start: auto; font-size: 14.5px; }
.chat .bot { background: var(--paper-2); padding: 9px 14px; border-radius: 16px 16px 4px 16px; width: fit-content; max-width: 90%; margin: 12px 0; font-size: 14.5px; }
.chat .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chat .card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font: 12px/1.35 var(--sans); background: var(--card); }
.chat .card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; background: var(--paper-2); }
.chat .card b { display: block; padding: 6px 8px 0; font-weight: 600; }
.chat .card span { display: block; padding: 0 8px 8px; color: var(--ink-2); font-weight: 700; }
.chat .card.ph { aspect-ratio: 3/4.6; background: var(--paper-2); }
.chat .trace { display: flex; gap: 8px; align-items: center; margin-top: 12px; font: 12px var(--sans); color: var(--muted); }
.chat .trace span { color: var(--accent); font-weight: 600; } .chat .trace code { background: var(--paper-2); padding: 2px 7px; border-radius: 6px; }
.badge { position: absolute; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.b1 { top: -18px; inset-inline-end: 28px; } .b2 { top: 38%; inset-inline-start: -34px; } .b3 { bottom: -18px; inset-inline-end: 40px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
.stats div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.stats b { display: block; font-family: var(--serif); font-size: 34px; line-height: 1; margin-bottom: 6px; }
.stats span { color: var(--ink-2); font-size: 14px; }

/* sections */
.sec { padding: 84px 0; } .sec.alt { background: var(--paper-2); }
h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.015em; line-height: 1.12; margin: 0 0 12px; }
html[lang="ar"] h2, html[lang="th"] h2, html[lang="hi"] h2, html[lang="zh-hans"] h2 { font-family: inherit; }
.sub { color: var(--ink-2); font-size: 17px; max-width: 680px; margin: 0 0 34px; }
h3 { font-size: 17px; margin: 0 0 6px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.step span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 700; margin-bottom: 14px; }
.step p, .domain p, .trust p { color: var(--ink-2); font-size: 15px; margin: 0; }
.domains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.domain { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.dh { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; border: 1px solid var(--line); }
.pill.live { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.demos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.demo { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 14px; transition: transform .15s, box-shadow .15s; }
.demo:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.demo .dm { display: flex; gap: 10px; align-items: center; } .demo .dot { background: var(--c); }
.demo small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.demo .meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; }
.demo .meta span { background: var(--paper-2); border-radius: 999px; padding: 2px 9px; }
.demo .go { margin-top: auto; color: var(--c); font-weight: 700; font-size: 14px; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.trust h3 { font-family: var(--serif); font-size: 20px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; }
.plan.hl { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan .price { font-family: var(--serif); font-size: 30px; margin: 4px 0 14px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; flex: 1; }
.plan li::before { content: "✓  "; color: var(--accent); font-weight: 700; }
.plan li.no { color: var(--muted); } .plan li.no::before { content: "–  "; color: var(--muted); }
.channels { grid-template-columns: repeat(4, 1fr); }
.channels .step { display: flex; flex-direction: column; gap: 10px; }
.channels .step h3 { margin: 0; }
.channels .step .ghost { margin-top: auto; align-self: flex-start; }
.center-link { text-align: center; margin: 30px 0 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; justify-content: space-between; gap: 12px; align-items: center; font-weight: 500; }
.final { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; } .final h2 { color: #fff; margin-bottom: 24px; }
.final .btn { background: var(--grad); color: #fff; }
.foot { border-top: 1px solid var(--line); padding: 26px 0; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot a:hover { color: var(--ink); }

@media (max-width: 1000px) {
  .links { display: none; } .hero-in { grid-template-columns: 1fr; } .channels { grid-template-columns: repeat(2, 1fr); } .showcase { max-width: 520px; }
  .domains, .demos, .plans { grid-template-columns: repeat(2, 1fr); } .trust { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); } .badge { display: none; }
}
@media (max-width: 620px) {
  .nav-in { gap: 10px; } .actions .ghost, .actions select { display: none; } .logo span { font-size: 19px; }
  .steps, .domains, .demos, .plans, .trust { grid-template-columns: 1fr; } .hero { padding-top: 40px; } .sec { padding: 60px 0; }
  .lead { font-size: 17px; }
}

[dir="rtl"] .arr { display: inline-block; transform: scaleX(-1); }

/* languages showcase */
.lang-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 26px; }
.lang-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 15px var(--sans); cursor: pointer; }
.lang-tabs button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.lang-show { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 40px; align-items: start; }
.lang-panel { margin: 0; display: contents; }
.lang-panel[hidden] { display: none; }
.phone { grid-column: 1; grid-row: 1 / span 2; border-radius: 34px; padding: 10px; background: var(--ink); box-shadow: var(--shadow); }
.phone img { display: block; width: 100%; height: auto; border-radius: 26px; background: var(--card); }
.lang-panel figcaption { grid-column: 2; grid-row: 1; }
.lang-panel .q { font-size: 21px; font-weight: 600; margin: 0 0 8px; padding-inline-start: 14px; border-inline-start: 3px solid var(--accent); }
.lang-panel .cap { color: var(--ink-2); margin: 0 0 4px; }
.lang-panel .mkt { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.lang-features { grid-column: 2; grid-row: 2; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lang-features li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.lang-features b { display: block; margin-bottom: 4px; }
.lang-features span { color: var(--ink-2); font-size: 14.5px; }
.langs-line { margin: 28px 0 0; color: var(--ink-2); }

/* blog */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 10px 0 24px; }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pc-media { position: relative; aspect-ratio: 16 / 9; background: var(--paper-2); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 600 22px var(--serif); background: var(--grad); }
.pc-ph.cat-languages { background: linear-gradient(135deg, #0b6e4f, #2a9d8f); }
.pc-ph.cat-product { background: linear-gradient(135deg, #3d348b, #7678ed); }
.pc-ph.cat-guides { background: linear-gradient(135deg, #264653, #2a9d8f); }
.pc-play { position: absolute; inset-inline-end: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.6); color: #fff; font-size: 14px; }
.pc-body { padding: 18px 20px 20px; }
.pc-meta { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.pc-body h3 { font-size: 18px; margin: 8px 0 6px; line-height: 1.3; }
.pc-body p { color: var(--ink-2); font-size: 15px; margin: 0; }
.page-title { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 14px; }
html[lang="ar"] .page-title, html[lang="th"] .page-title, html[lang="hi"] .page-title, html[lang="zh-hans"] .page-title { font-family: inherit; }
.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 26px; }
.chip { display: inline-block; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.blog-filter input { margin-inline-start: auto; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 14px var(--sans); min-width: 220px; }
.wrap.narrow { width: min(760px, 100% - 32px); }
.article .lead { font-size: 19px; color: var(--ink-2); }
.art-meta { color: var(--muted); font-size: 14px; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 22px 0; border-radius: 16px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cover { width: 100%; border-radius: 16px; margin: 22px 0; }
.prose { font-size: 17px; line-height: 1.75; }
.prose h2 { font-size: 26px; margin: 36px 0 10px; } .prose h3 { font-size: 19px; margin: 26px 0 8px; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose img { max-width: 100%; border-radius: 12px; }
.prose code { background: var(--paper-2); padding: 1px 6px; border-radius: 6px; font-size: .92em; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; } .prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: start; }
.prose blockquote { margin: 18px 0; padding: 4px 18px; border-inline-start: 3px solid var(--accent); color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.art-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 34px 0 10px; padding: 20px 24px; border-radius: 18px; background: var(--paper-2); border: 1px solid var(--line); }
.rel { margin-top: 30px; }
@media (max-width: 1000px) {
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lang-show { grid-template-columns: 1fr; } .phone { grid-row: auto; max-width: 360px; margin-inline: auto; }
  .lang-panel figcaption, .lang-features { grid-column: 1; grid-row: auto; }
}
@media (max-width: 620px) { .posts, .lang-features { grid-template-columns: 1fr; } .blog-filter input { margin-inline-start: 0; width: 100%; } }

html[lang="zh-hans"] body { font-family: var(--sans, "Inter"), "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
.demo.speaks { outline: 2px solid var(--c, var(--accent)); outline-offset: -2px; }
.lang-tabs button span { font-size: 15px; }
/* nav: longer labels (es, ms, id, vi) must not wrap */
.links a, .actions a, .actions .btn, .actions .ghost { white-space: nowrap; }
.links { min-width: 0; overflow: hidden; }
.actions select { max-width: 150px; }
@media (max-width: 1320px) { .nav-in { gap: 16px; } .links { gap: 14px; font-size: 14px; } }
@media (max-width: 1180px) { .links a[href$="#languages"], .links a[href$="#how"] { display: none; } }

/* industries + marketplace */
.industries-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.industries-tabs .ind { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 15px; }
.industries-tabs .ind.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.industries-tabs .ind.off { color: var(--muted); cursor: default; }
.industries-tabs .ind em { font-style: normal; font-size: 11.5px; font-weight: 600; margin-inline-start: 6px; padding: 2px 8px; border-radius: 999px; background: var(--paper-2); }
.market-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 28px; }
.market-filter .sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.group-title { font-size: 22px; margin: 34px 0 14px; }
.agent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.agent-card { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; transition: transform .15s, box-shadow .15s; }
a.agent-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.agent-card.soon { opacity: .72; }
.agent-card p { color: var(--ink-2); font-size: 14.5px; margin: 0; flex: 1; }
.ac-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ac-foot { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.ac-foot .go { color: var(--accent); font-weight: 600; }
.tag { display: inline-block; font: 600 11.5px var(--sans); padding: 3px 9px; border-radius: 999px; white-space: nowrap; vertical-align: middle; flex: none; }
.tag.live { background: var(--ok-soft); color: var(--ok); } .tag.beta { background: #fdf3e2; color: #b45309; } .tag.soon { background: var(--paper-2); color: var(--muted); }
.industry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.industry-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.industry-card h3 { margin: 10px 0 6px; } .industry-card p { color: var(--ink-2); font-size: 14.5px; margin: 0; }

/* agent demo page */
.agent-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 36px; align-items: start; }
.agent-info .page-title .tag { font-size: 13px; margin-inline-start: 8px; }
.facts { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; margin: 22px 0; }
.facts dt { font-weight: 600; } .facts dd { margin: 0; color: var(--ink-2); } .facts ul { margin: 0; padding-inline-start: 18px; }
.note { font-size: 14px; color: var(--muted); background: var(--paper-2); border-radius: 12px; padding: 12px 14px; }
.rel-title { margin: 26px 0 8px; } .rel-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rel-list a { font-weight: 600; color: var(--accent); } .rel-list span { color: var(--muted); font-size: 14px; }
.demo-chat { position: sticky; top: 84px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.dc-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.dc-bar label { font-size: 13.5px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.dc-bar select { font: inherit; border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; background: var(--paper); color: var(--ink); }
.dc-foot { font-size: 12px; color: var(--muted); margin: 0; padding: 8px 16px 12px; }
.demo-chat .dchat { display: grid; grid-template-rows: 1fr auto auto; height: 600px; }
.demo-chat .dchat .log { overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.demo-chat form { border-top: 1px solid var(--line); padding: 10px; display: flex; gap: 8px; }
.demo-chat textarea { flex: 1; resize: none; height: 44px; font: 15px var(--sans); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--paper); color: var(--ink); }
.demo-chat .muted { color: var(--muted); } .demo-chat .small { font-size: 13px; }
.demo-chat .starters { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-chat .starters button { text-align: start; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 12px; padding: 9px 12px; cursor: pointer; font: 14px var(--sans); }
.demo-chat .starters button:hover { border-color: var(--accent); }
.demo-chat .bubble-u { align-self: flex-end; background: var(--ink); color: var(--paper); padding: 9px 13px; border-radius: 14px 14px 4px 14px; max-width: 82%; white-space: pre-wrap; }
.demo-chat .bubble-a { max-width: 100%; font-size: 15px; }
.demo-chat .bubble-a .who { font-size: 12px; color: var(--muted); margin-bottom: 4px; display: flex; gap: 6px; align-items: center; }
.demo-chat .bubble-a .text p { margin: 0 0 8px; } .demo-chat .bubble-a .text ul { margin: 4px 0 8px; padding-inline-start: 18px; }
.demo-chat .bubble-a table { border-collapse: collapse; font-size: 13px; } .demo-chat .bubble-a th, .demo-chat .bubble-a td { border-bottom: 1px solid var(--line); padding: 4px 8px; text-align: start; }
.demo-chat .tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 8px; }
.demo-chat .tool { font: 11.5px ui-monospace, Menlo, monospace; background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; color: var(--ink-2); }
.demo-chat .pill { display: inline-flex; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--paper-2); }
.demo-chat .pill.acc { color: var(--accent); } .demo-chat .pill.ok { background: var(--ok-soft); color: var(--ok); } .demo-chat .pill.bad, .demo-chat .pill.warn { background: #fdecec; color: #b91c1c; }
.demo-chat .cards { display: flex; gap: 10px; overflow-x: auto; padding: 6px 2px 8px; }
.demo-chat .pcard { flex: 0 0 132px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card); }
.demo-chat .pcard img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; background: var(--paper-2); }
.demo-chat .pcard .b { padding: 6px 8px 8px; font-size: 12px; } .demo-chat .pcard .nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-chat .mini { border: 1px solid var(--line); border-radius: 10px; overflow: auto; margin: 6px 0; max-height: 260px; }
.demo-chat .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.demo-chat .card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.demo-chat .typing { display: inline-flex; gap: 4px; } .demo-chat .typing i { width: 6px; height: 6px; background: var(--muted); border-radius: 50%; animation: dcb 1.2s infinite; }
.demo-chat .typing i:nth-child(2) { animation-delay: .2s } .demo-chat .typing i:nth-child(3) { animation-delay: .4s }
@keyframes dcb { 0%, 60%, 100% { opacity: .25 } 30% { opacity: 1 } }
@media (max-width: 1000px) { .agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .agent-layout { grid-template-columns: 1fr; } .demo-chat { position: static; } .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .agent-grid, .industry-grid { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr; } .demo-chat .dchat { height: 480px; } }
.industry-card .tag { margin-bottom: 4px; } .market-cta { margin: 24px 0 6px; }
.demo-chat .dc-prompts { border-top: 1px solid var(--line); padding: 10px 12px 2px; }
.demo-chat .dc-prompts .starters { flex-wrap: wrap; gap: 6px; padding-bottom: 8px; max-height: 96px; overflow-y: auto; }
.demo-chat .dc-prompts .starters button { font-size: 13px; padding: 6px 10px; text-align: start; }
.demo-chat .dc-hint { margin: auto 0 0; }
.demo-chat .dchat { grid-template-columns: minmax(0, 1fr); }
.demo-chat .dchat > * { min-width: 0; }

/* agentic AI demos */
.store-dot { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: #fff; font: 700 11px var(--sans); margin-inline-end: 8px; vertical-align: middle; }
.page-title .store-dot { width: 40px; height: 40px; border-radius: 12px; font-size: 15px; margin-inline-end: 12px; }
.store-card { border-top: 3px solid var(--c, var(--accent)); }
.store-card .small-meta { font-size: 13px; color: var(--muted); flex: none; }
.store-card .small-meta b { color: var(--ink-2); }
.connected { list-style: none; padding: 0; margin: 8px 0 18px; display: grid; gap: 10px; }
.connected li { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.connected a { color: var(--accent); } .connected span { color: var(--ink-2); font-size: 14px; }
.agentic { margin-bottom: 8px; }
.market-cta .ghost { margin-inline-start: 10px; }
.store-card p { flex: none; } .store-card .ac-foot { margin-top: auto; }

/* REST API live demo */
.api-demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 30px; }
.api-col { background: #0f1424; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; color: #dfe6f5; }
.api-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.api-bar select { background: #1b2238; color: #dfe6f5; border: 1px solid #2c3552; border-radius: 10px; padding: 6px 10px; font: inherit; max-width: 100%; }
.api-tabs { display: flex; gap: 4px; }
.api-tabs button { background: transparent; color: #9aa6c4; border: 1px solid #2c3552; border-radius: 8px; padding: 4px 10px; font: inherit; font-size: 12.5px; cursor: pointer; }
.api-tabs button.on { background: #2c3552; color: #fff; }
.api-code, .api-out { margin: 0; background: #0a0e1a; border-radius: 12px; padding: 14px; font: 12.5px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; overflow: auto; white-space: pre; height: 300px; color: #dfe6f5; }
.api-out { white-space: pre-wrap; word-break: break-word; }
.api-out .k { color: #7dd3fc; } .api-out .c { color: #8b95b0; } .api-out .e { color: #fca5a5; }
.api-status { color: #86efac; font: 12px ui-monospace, Menlo, monospace; }
.api-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.api-actions .ghost { background: transparent; color: #dfe6f5; border-color: #2c3552; }
.api-answer { background: #1b2238; border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.5; max-height: 160px; overflow: auto; white-space: pre-wrap; }
#api .center { text-align: center; margin-top: 14px; }
@media (max-width: 860px) { .api-demo { grid-template-columns: minmax(0, 1fr); } .api-code, .api-out { height: 240px; } }

.actions .me { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.actions form.out { margin: 0; } .actions form.out .ghost { cursor: pointer; font: inherit; font-weight: 600; font-size: 14.5px; }
@media (max-width: 980px) { .actions .me { display: none; } }

/* hero slider: one live example per agent; click opens that agent's demo */
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; color: inherit; text-decoration: none; display: block; }
.slide.on { opacity: 1; visibility: visible; }
.slide:hover { border-color: var(--accent); }
.chat .cards.c4 { grid-template-columns: repeat(4, 1fr); }
.chat .trace em { margin-inline-start: auto; font-style: normal; font-weight: 600; color: var(--ink); white-space: nowrap; }
.mini-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; font: 13px/1.35 var(--sans); }
.mini-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.mini-list li span { color: var(--ink-2); grid-column: 1; }
.mini-list li i { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-weight: 700; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.mini-list i.ok { background: rgba(22, 163, 74, .15); color: #16a34a; } .mini-list i.no { background: rgba(220, 38, 38, .14); color: #dc2626; }
.mini-bars { margin-top: 12px; display: grid; gap: 9px; font: 12.5px var(--sans); }
.mini-bars div { display: grid; grid-template-columns: 110px 1fr auto; gap: 10px; align-items: center; }
.mini-bars span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.mini-bars i { height: 12px; border-radius: 6px; background: var(--grad, var(--accent)); min-width: 6px; }
.mini-bars b { font-weight: 700; }
.showcase .dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.showcase .dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; }
.showcase .dots button.on { background: var(--accent); width: 22px; border-radius: 6px; }

/* agentic demos: your language first, then by region */
.region-title { font-family: var(--serif); font-size: 21px; margin: 26px 0 8px; }
.region h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 20px 0 10px; }
.store-card .lang-chip { font-size: 12.5px; font-weight: 600; white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.store-card.featured { border-color: var(--c); box-shadow: 0 0 0 1px var(--c) inset, var(--shadow); }
/* home: business functions */
.fn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.fn-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; color: inherit; text-decoration: none; }
.fn-card:hover { border-color: var(--accent); }
.fn-card b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.fn-card span { color: var(--accent); font-weight: 700; font-size: 13px; }
.fn-card p { color: var(--ink-2); font-size: 13.5px; margin: 6px 0 0; }
@media (max-width: 980px) { .fn-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fn-grid { grid-template-columns: 1fr; } }

/* book a demo */
.lead-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.lead-points { padding-inline-start: 20px; color: var(--ink-2); line-height: 1.9; }
.lead-form { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.lead-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; }
.lead-form input, .lead-form select, .lead-form textarea { font: 15px var(--sans); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--paper); color: var(--ink); width: 100%; box-sizing: border-box; }
.lead-form em { color: #dc2626; font-style: normal; font-weight: 500; font-size: 12.5px; }
.lead-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form .btn { justify-self: start; }
.lead-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #dc2626; margin: 0; font-weight: 600; }
.thanks { max-width: 640px; margin: 0 auto; text-align: center; }
.thanks-mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: var(--grad, var(--accent)); color: #fff; font-size: 30px; font-weight: 700; }
.thanks .cta { justify-content: center; }
@media (max-width: 860px) { .lead-layout, .lead-form .row2 { grid-template-columns: 1fr; } }

/* marketplace: filters + one grid */
.mkt { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; margin-top: 26px; align-items: start; }
.mkt-filters { position: sticky; top: 88px; display: grid; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.mkt-filters label { display: grid; gap: 6px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.mkt-filters select, .mkt-filters input { font: 14.5px var(--sans); text-transform: none; letter-spacing: 0; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; background: var(--paper); color: var(--ink); width: 100%; box-sizing: border-box; }
.mkt-filters .ghost { cursor: pointer; font: inherit; font-weight: 600; }
.mkt-count { margin: 0 0 12px; color: var(--ink-2); font-weight: 600; }
.mkt-grid { margin-top: 0; }
.mkt-grid [hidden] { display: none !important; }
@media (max-width: 900px) { .mkt { grid-template-columns: 1fr; } .mkt-filters { position: static; grid-template-columns: 1fr 1fr; } .mkt-filters input, .mkt-filters .ghost { grid-column: 1 / -1; } }

.dc-prompts.is-follow::before { content: "↳"; color: var(--accent); font-weight: 700; margin-inline-end: 6px; }
.dc-prompts .follow { border-style: dashed; }

/* hero v3: centred copy, then a full-width carousel (one agent per slide) */
.hero-top { text-align: center; max-width: 880px; }
.hero-top .lead { margin-inline: auto; }
.hero-top .cta { justify-content: center; }
.showcase.wide { position: relative; margin-top: 40px; max-width: none; }
.showcase.wide .slide { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 32px 36px; box-shadow: var(--shadow); }
.showcase.wide .slide:hover { border-color: var(--accent); }
.slide-info h3 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; margin: 6px 0 12px; }
.slide-info p { color: var(--ink-2); font-size: 16.5px; line-height: 1.55; margin: 0 0 20px; }
.slide-info .slide-meta { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.showcase.wide .chat { box-shadow: none; padding: 18px; }
.showcase.wide .chat .me, .showcase.wide .chat .bot { font-size: 15.5px; }
.showcase.wide .chat .cards { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.showcase.wide .chat .cards.c4 { grid-template-columns: repeat(4, 1fr); }
.showcase.wide .chat .card { font-size: 13px; }
.showcase.wide .mini-list, .showcase.wide .mini-bars { font-size: 14px; }
.nav-arrow { position: absolute; top: 50%; transform: translateY(-80%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); z-index: 2; }
.nav-arrow.prev { left: -18px; } .nav-arrow.next { right: -18px; }
.showcase.wide .dots { flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.showcase.wide .dots button { width: auto; height: auto; border-radius: 999px; padding: 6px 14px; background: var(--card); border: 1px solid var(--line);
  color: var(--ink-2); font: 600 13px var(--sans); }
.showcase.wide .dots button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); width: auto; }
@media (max-width: 900px) {
  .showcase.wide .slide { grid-template-columns: 1fr; padding: 20px; gap: 18px; border-radius: 22px; }
  .slide-info h3 { font-size: 28px; } .slide-info p { margin-bottom: 14px; }
  .nav-arrow { display: none; }
  .showcase.wide .dots button span { display: none; } .showcase.wide .dots button { width: 10px; height: 10px; padding: 0; }
  .showcase.wide .dots button.on { width: 26px; }
}
@media (max-width: 560px) { .showcase.wide .chat .cards, .showcase.wide .chat .cards.c4 { grid-template-columns: repeat(2, 1fr); }
  .showcase.wide .chat .cards .card:nth-child(n+3) { display: none; } }

/* mobile navigation */
.menu-btn { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--card); cursor: pointer; padding: 0 10px; flex-shrink: 0; }
.menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-menu .wrap { display: grid; gap: 4px; padding-top: 10px; padding-bottom: 16px; }
.mobile-menu a { padding: 12px 4px; font-size: 16.5px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu form { margin: 10px 0 0; } .mobile-menu label { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.mobile-menu select { font: 15px var(--sans); padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
@media (max-width: 1000px) { .menu-btn { display: flex; } .menu-open .mobile-menu { display: block; } .actions .me { display: none; } }
@media (max-width: 620px) {
  .actions form, .actions .out, .actions > .ghost { display: none; }
  .actions .btn { padding: 8px 14px; font-size: 13.5px; }
  h1, .page-title { overflow-wrap: anywhere; }
  .api-col { padding: 10px; } .api-bar { gap: 8px; }
  .stats b { font-size: 28px; }
  .lead-form { padding: 18px; }
  .demo-chat .dchat { height: min(78vh, 620px); }
  .demo-chat .dc-bar { flex-wrap: wrap; gap: 8px; }
}
html, body { overflow-x: hidden; }

/* bigger, roomier demo chat */
.agent-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.45fr); gap: 32px; }
.demo-chat .dchat { height: clamp(620px, calc(100vh - 150px), 880px); }
.demo-chat .dchat .log { padding: 20px 22px; gap: 16px; font-size: 15.5px; }
.demo-chat .dchat .log .cards { gap: 12px; }
.demo-chat .starters button { font-size: 14.5px; padding: 10px 14px; }
.demo-chat textarea { height: 50px; font-size: 15.5px; }
@media (max-width: 1000px) { .agent-layout { grid-template-columns: 1fr; } .demo-chat .dchat { height: min(80vh, 720px); } }
.prose table { display: block; overflow-x: auto; max-width: 100%; }

/* slider first, headline below it */
.hero { padding-top: 22px; }
.showcase.wide { margin-top: 0; }
.hero-top.below { margin-top: 44px; }
.hero-top.below h1 { font-size: clamp(34px, 4.6vw, 58px); }
@media (max-width: 620px) { .hero { padding-top: 14px; } .hero-top.below { margin-top: 28px; } }

.seg-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 10px !important; }
.seg-chips span { font-size: 11.5px; font-weight: 600; color: var(--ink-2); background: var(--paper-2); border-radius: 999px; padding: 2px 9px; }

/* product-style agent carousels */
.rail { margin-top: 34px; }
.rail-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.rail-head h3 { font-family: var(--serif); font-size: 22px; margin: 0; }
.rail-nav { display: flex; gap: 8px; align-items: center; }
.ghost.sm { padding: 6px 12px; font-size: 13px; }
.rail-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 20px; cursor: pointer; line-height: 1; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 23%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 14px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.rail-card { scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex;
  flex-direction: column; gap: 8px; color: inherit; text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .15s; }
a.rail-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.rail-card.soon { opacity: .8; }
.rail-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 23px;
  background: hsl(var(--h) 85% 55% / .16); border: 1px solid hsl(var(--h) 85% 55% / .3); }
.rail-card b { font-size: 16px; }
.rail-card p { color: var(--ink-2); font-size: 14px; line-height: 1.5; margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rail-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
@media (max-width: 1000px) { .rail-track { grid-auto-columns: minmax(240px, 42%); } }
@media (max-width: 620px) { .rail-track { grid-auto-columns: 78%; } .rail-btn { display: none; } }

.wa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #25d366; color: #0b1f12; font-weight: 700;
  border-radius: 999px; padding: 12px 20px; text-decoration: none; justify-self: start; }
.wa-btn:hover { filter: brightness(1.05); } .wa-btn svg { width: 20px; height: 20px; }
.lead-form .or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.lead-form .or::before, .lead-form .or::after { content: ""; height: 1px; background: var(--line); flex: 1; }

/* live human handover */
.btn.sm { padding: 6px 12px; font-size: 13px; }
.ls-steps { color: var(--ink-2); padding-inline-start: 20px; margin: 0 0 22px; line-height: 1.8; }
.ls-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.ls-grid .demo-chat { position: static; }
.ls-grid .demo-chat .dchat { height: 640px; }
.dc-bar b .store-dot { margin-inline-end: 8px; }
.sys-note { align-self: center; font-size: 12.5px; color: var(--muted); background: var(--paper-2); border-radius: 999px; padding: 5px 12px; text-align: center; }
.bubble-a.human .text { background: color-mix(in srgb, #25d366 14%, var(--card)); border-radius: 14px; padding: 10px 14px; }
.support-panel { background: #0f1424; color: #e6ebf7; border-radius: 18px; border: 1px solid #263052; display: grid; grid-template-rows: auto 1fr auto auto; height: 700px; overflow: hidden; }
.s-bar { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #263052; }
.s-state { font-size: 12px; background: #1d2540; border-radius: 999px; padding: 3px 10px; }
.support-panel[data-status="waiting"] .s-state { background: #b45309; color: #fff; }
.support-panel[data-status="active"] .s-state { background: #15803d; color: #fff; }
.s-bar .linkbtn { margin-inline-start: auto; color: #9fb0d8; }
.s-log { overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.s-empty { color: #8b95b0; font-size: 14px; margin: auto; text-align: center; max-width: 360px; }
.s-msg { max-width: 88%; } .s-msg .s-who { font-size: 11.5px; color: #8b95b0; margin-bottom: 3px; font-weight: 600; }
.s-msg .s-text { background: #1b2238; border-radius: 12px; padding: 9px 12px; font-size: 14px; line-height: 1.5; }
.s-msg .s-text p { margin: 0 0 6px; } .s-msg .s-text img { display: none; }
.s-msg.user, .s-msg.customer { align-self: flex-start; } .s-msg.customer .s-text { border: 1px solid #f59e0b; }
.s-msg.ai .s-text { background: #151b2e; color: #c7d0e8; }
.s-msg.agent { align-self: flex-end; } .s-msg.agent .s-text { background: #15803d; color: #fff; }
.s-sys { align-self: center; font-size: 12px; color: #fbbf24; }
.s-quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 12px 0; }
.s-quick button { background: #1b2238; color: #c7d0e8; border: 1px solid #263052; border-radius: 999px; padding: 5px 10px; font: 12.5px var(--sans); cursor: pointer; }
.support-panel form { display: flex; gap: 8px; padding: 10px 12px 12px; }
.support-panel textarea { flex: 1; resize: none; border-radius: 12px; border: 1px solid #263052; background: #0a0e1a; color: #e6ebf7; padding: 10px; font: 14.5px var(--sans); }
.narrow-wrap { max-width: 760px; }
.special-demo { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: linear-gradient(120deg, color-mix(in srgb, #25d366 14%, var(--card)), var(--card));
  border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; margin: 22px 0 6px; color: inherit; text-decoration: none; }
.special-demo .ic { font-size: 30px; } .special-demo b { font-size: 17px; display: block; } .special-demo p { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 1000px) { .ls-grid { grid-template-columns: 1fr; } .support-panel { height: 560px; } .special-demo { grid-template-columns: auto 1fr; } .special-demo .btn { grid-column: 1 / -1; justify-self: start; } }

/* executive polish */
.hero { background: linear-gradient(180deg, #f3f6fb 0%, #ffffff 70%); }
.nav { background: rgba(255,255,255,.92); }
:root[data-theme="dark"] .nav { background: rgba(11,18,32,.9); }
.sec.alt { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.agent-card, .rail-card, .step, .fn-card, .industry-card, .stats div, .lead-form, .mkt-filters, .store-card { box-shadow: var(--shadow); border-color: var(--line); }
.agent-card:hover, a.rail-card:hover, .fn-card:hover { box-shadow: var(--shadow-lg); }
.showcase.wide .slide { box-shadow: var(--shadow-lg); background: linear-gradient(135deg, #ffffff, #f7f9fc); }
.showcase.wide .dots button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.tag.live { background: #e7f6ec; color: #15803d; }
.tag.soon { background: #eef2f7; color: #475569; }
.eyebrow { color: var(--coral); }
.stats b { font-family: var(--serif); font-weight: 700; color: var(--navy); }
.rail-icon { background: #fff4ec; border-color: #ffd9bf; }
.chat .me { background: var(--navy); }
.demo-chat, .support-panel { box-shadow: var(--shadow-lg); }
.special-demo { box-shadow: var(--shadow); }
.foot { background: #0b1f3a; color: #b6c2d4; border-top: 0; } .foot a:hover { color: #fff; } .foot .logo span { color: #fff; }
h1, h2, h3, .page-title { color: var(--ink); }
.final h2, .final p { color: #fff; }

/* logo: mark + two-tone wordmark (colours from settings via the mark; wordmark accent from --coral) */
.wordmark { font-family: var(--serif); font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.wordmark b { color: var(--coral); font-weight: 700; }
.foot .wordmark { color: #fff; }
.brand-mark { border-radius: 9px; }

.stats a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow);
  color: inherit; text-decoration: none; position: relative; transition: transform .15s, box-shadow .15s, border-color .15s; }
.stats a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.stats a span { color: var(--ink-2); font-size: 14px; } .stats a b { display: block; font-size: 34px; line-height: 1; margin-bottom: 6px; color: var(--navy); }
.stat-go { position: absolute; top: 16px; inset-inline-end: 18px; font-style: normal; color: var(--accent); font-weight: 700; }

/* agent tiles (app-store style), used by home carousels and the marketplace */
.mkt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tile { --h: 25; position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; color: inherit; text-decoration: none; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s, border-color .18s; min-width: 0; }
a.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: hsl(var(--h) 80% 55% / .5); }
.tile-band { height: 78px; position: relative; background:
  radial-gradient(120px 60px at 85% 0%, hsl(var(--h) 95% 70% / .55), transparent 70%),
  linear-gradient(135deg, hsl(var(--h) 85% 55%), hsl(calc(var(--h) + 35) 80% 45%)); }
.tile-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.2px); background-size: 14px 14px; opacity: .6; }
.tile.soon .tile-band { filter: saturate(.25) brightness(1.08); }
.tile-icon { position: absolute; z-index: 1; left: 18px; bottom: -26px; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 28px; background: #fff; box-shadow: 0 6px 18px rgba(11,31,58,.16); border: 1px solid rgba(11,31,58,.06); }
.tile-icon.store-dot { color: #fff; font-size: 18px; font-weight: 800; }
.tile-status { position: absolute; z-index: 1; right: 12px; top: 12px; font-size: 11.5px; font-weight: 700; color: #fff; background: rgba(11,31,58,.28);
  backdrop-filter: blur(4px); border-radius: 999px; padding: 4px 10px; }
.tile-status.live { background: rgba(255,255,255,.92); color: #15803d; }
.tile-body { padding: 36px 18px 4px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tile-domain { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: hsl(var(--h) 70% 38%); }
.tile-name { font-family: var(--serif); font-size: 18px; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
.tile-desc { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tile-chips span { font-size: 11.5px; font-weight: 600; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.tile-foot { padding: 12px 18px 16px; display: flex; justify-content: flex-end; }
.tile-cta { font-size: 13.5px; font-weight: 700; color: #fff; background: var(--navy); border-radius: 999px; padding: 7px 14px; }
.tile-cta.muted { background: var(--paper-2); color: var(--muted); border: 1px solid var(--line); }
a.tile:hover .tile-cta { background: var(--grad); }
.rail-track { grid-auto-columns: minmax(270px, 24%); }
.rail-track .tile { scroll-snap-align: start; }
@media (max-width: 1100px) { .mkt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .mkt-grid { grid-template-columns: 1fr; } }
/* logo v2: wordmark with a smile-arc under "Buddy" */
.wordmark { font-weight: 800; letter-spacing: -.035em; }
.wordmark b { position: relative; display: inline-block; color: var(--coral); font-weight: 800; }

.logo { gap: 11px; }
/* retail-themed backdrop: a faint icon pattern behind the hero and light sections */
.hero, .sec.alt { position: relative; isolation: isolate; }
.hero::before, .sec.alt::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("retail-pattern.a13211dad89b.svg") repeat; background-size: 240px 240px; opacity: .05;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 60%, transparent 100%); }
.sec.alt::before { opacity: .035; -webkit-mask-image: none; mask-image: none; }
/* extra slide kinds */
.mini-order { margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 14px; font: 14px var(--sans); background: var(--card); }
.mo-head { display: flex; gap: 10px; align-items: center; } .mo-head span { color: var(--muted); }
.mo-head i { margin-inline-start: auto; font-style: normal; font-weight: 700; color: #15803d; background: #e7f6ec; border-radius: 999px; padding: 2px 10px; font-size: 12.5px; }
.mo-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0 10px; }
.mo-steps span { font-size: 12px; font-weight: 600; color: var(--muted); border-top: 4px solid var(--line); padding-top: 6px; }
.mo-steps.s1 span:nth-child(-n+1), .mo-steps.s2 span:nth-child(-n+2), .mo-steps.s3 span { border-color: var(--coral); color: var(--ink); }
.mini-order ul { margin: 0; padding-inline-start: 18px; color: var(--ink-2); font-size: 13.5px; }
.mini-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
.mini-kpis div { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--card); display: grid; gap: 2px; }
.mini-kpis span { font-size: 12.5px; color: var(--muted); font-weight: 600; } .mini-kpis b { font-size: 22px; color: var(--navy); }
.mini-kpis i { font-style: normal; font-weight: 700; font-size: 12.5px; } .mini-kpis i.up { color: #15803d; } .mini-kpis i.down { color: #dc2626; }
.mini-email { margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: var(--card); }
.me-head { font-size: 13.5px; margin-bottom: 10px; color: var(--ink-2); } .me-head b { color: var(--ink); }
.me-cta { display: inline-block; margin-top: 10px; background: var(--navy); color: #fff; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700; }
.showcase.wide .dots { max-width: 100%; }

/* carousel arrows inside the carousel, large and easy to hit */
.rail-body { position: relative; }
.rail-body .rail-btn { position: absolute; top: 50%; transform: translateY(-60%); z-index: 3; width: 52px; height: 52px; border-radius: 50%;
  font-size: 30px; line-height: 1; display: grid; place-items: center; background: rgba(255,255,255,.96); color: var(--navy);
  border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(11,31,58,.18); cursor: pointer; transition: opacity .2s, transform .2s; }
.rail-body .rail-btn:hover { transform: translateY(-60%) scale(1.06); background: #fff; }
.rail-body .rail-btn.prev { left: -14px; } .rail-body .rail-btn.next { right: -14px; }
.rail-body .rail-btn.off { opacity: 0; pointer-events: none; }
@media (max-width: 620px) { .rail-body .rail-btn { display: none; } }

/* reply order: answer text streams first, cards and data appear under it when it is complete */
.arts.pending { display: none; } .arts.pending.show { display: block; animation: arts-in .35s ease-out; }
@keyframes arts-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.working { color: var(--muted, #8b95b0); font-size: 13px; }
.data-peek { margin-top: 8px; border: 1px solid var(--line, #e3e8ef); border-radius: 12px; padding: 6px 10px; }
.data-peek summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-2, #475569); }
.data-peek[open] summary { margin-bottom: 8px; }
.wm-line { position: absolute; left: 2%; bottom: -9px; width: 98%; height: 10px; overflow: visible; }
.logo .wordmark { padding-bottom: 4px; }
/* ServiceBuddy assistant (all public pages) */
.sba { position: fixed; z-index: 60; right: 22px; bottom: 22px; font-family: var(--sans); }
.sba-fab { display: flex; align-items: center; gap: 10px; border: 0; cursor: pointer; background: var(--navy); color: #fff; font: 700 14.5px var(--sans);
  padding: 8px 18px 8px 8px; border-radius: 999px; box-shadow: 0 12px 30px rgba(11,31,58,.3); transition: transform .15s; }
.sba-fab:hover { transform: translateY(-2px); } .sba-fab .brand-mark { width: 36px; height: 36px; }
.sba.open .sba-fab { display: none; }
.sba-panel { width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 110px)); background: var(--card); border: 1px solid var(--line);
  border-radius: 22px; box-shadow: 0 24px 60px rgba(11,31,58,.25); display: flex; flex-direction: column; overflow: hidden; }
.sba-panel[hidden] { display: none; }
.sba-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.sba-head .brand-mark { width: 34px; height: 34px; } .sba-head b { display: block; } .sba-head small { color: #b6c2d4; font-size: 12px; }
.sba-x { margin-inline-start: auto; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; line-height: 1; }
.sba-intro { padding: 18px; display: grid; gap: 10px; }
.sba-intro p { margin: 0 0 4px; color: var(--ink-2); font-size: 14.5px; }
.sba-intro input, .sba-send textarea { font: 15px var(--sans); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--paper); color: var(--ink); width: 100%; box-sizing: border-box; }
.sba-fine { font-size: 12px !important; color: var(--muted) !important; text-align: center; margin: 4px 0 8px; }
.sba-fine a { color: var(--accent); font-weight: 600; }
.sba-chat { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.sba-chat[hidden] { display: none; }
.sba-log { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.sba-msg { max-width: 88%; font-size: 14.5px; line-height: 1.5; padding: 9px 13px; border-radius: 14px; }
.sba-msg.ai { background: var(--paper-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.sba-msg.me { background: var(--navy); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.sba-msg a { color: var(--accent); font-weight: 600; text-decoration: underline; } .sba-msg ul { margin: 6px 0; padding-inline-start: 18px; }
.sba-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 8px; }
.sba-quick button { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 6px 11px; font: 13px var(--sans); cursor: pointer; }
.sba-quick button:hover { border-color: var(--accent); }
.sba-send { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.sba-send textarea { resize: none; }
@media (max-width: 620px) { .sba { right: 12px; bottom: 12px; } .sba-fab span { display: none; } .sba-fab { padding: 6px; } }

/* ---------- colour & shine ---------- */
.backdrop { position: fixed; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 33.4vh; gap: 0;
  opacity: .07; filter: saturate(1.15) contrast(1.05); pointer-events: none; overflow: hidden;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 20%, #000 40%, transparent 100%); mask-image: radial-gradient(120% 90% at 50% 20%, #000 40%, transparent 100%); }
.backdrop img { width: 100%; height: 100%; object-fit: cover; }
body { background: transparent; } html { background: var(--paper); }
.hero, .sec { background-color: transparent; }
.sec.alt { background: rgba(245,247,250,.82); backdrop-filter: blur(2px); }
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transition: left .6s ease; }
.btn:hover::after { left: 130%; }
.fn-card { --h: 25; position: relative; overflow: hidden; padding: 20px 20px 18px; border-radius: 18px;
  background: linear-gradient(160deg, hsl(var(--h) 90% 97%), #fff 55%); border: 1px solid hsl(var(--h) 60% 88%); }
.fn-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, hsl(var(--h) 85% 55%), hsl(calc(var(--h) + 40) 85% 55%)); }
.fn-card:hover { border-color: hsl(var(--h) 75% 60%); box-shadow: 0 16px 40px hsl(var(--h) 70% 40% / .18); transform: translateY(-3px); }
.fn-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; margin-bottom: 10px;
  background: linear-gradient(135deg, hsl(var(--h) 90% 92%), hsl(var(--h) 85% 84%)); box-shadow: inset 0 0 0 1px hsl(var(--h) 60% 80%); }
.fn-card span { color: hsl(var(--h) 75% 38%); }
.channels .step { position: relative; overflow: hidden; background: linear-gradient(165deg, #fff, #fbfcfe); }
.channels .step::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.channels .step:nth-child(2)::before { background: linear-gradient(90deg, #06b6d4, #3b82f6); }
.channels .step:nth-child(3)::before { background: linear-gradient(90deg, #8b5cf6, #ec4899); }
.channels .step:nth-child(4)::before { background: linear-gradient(90deg, #10b981, #06b6d4); }
.channels .step h3::before { margin-inline-end: 8px; }
.channels .step:nth-child(1) h3::before { content: "🌐"; } .channels .step:nth-child(2) h3::before { content: "🔗"; }
.channels .step:nth-child(3) h3::before { content: "🧑‍💼"; } .channels .step:nth-child(4) h3::before { content: "🧩"; }
.step { transition: transform .18s, box-shadow .18s; } .step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.sec h2 { position: relative; }
.sec > .wrap > h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; margin-top: 12px; background: var(--grad); }
.center > h2::after, .final h2::after { margin-inline: auto; }
.stats a { background: linear-gradient(160deg, #fff, #f8fafc); }
.stats a:nth-child(1) b { background: linear-gradient(135deg, #ff8a1f, #e8590c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats a:nth-child(2) b { background: linear-gradient(135deg, #6366f1, #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats a:nth-child(3) b { background: linear-gradient(135deg, #06b6d4, #3b82f6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats a:nth-child(4) b { background: linear-gradient(135deg, #10b981, #059669); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile-band { box-shadow: inset 0 -1px 0 rgba(255,255,255,.4); }
a.tile:hover .tile-icon { transform: rotate(-6deg) scale(1.06); } .tile-icon { transition: transform .25s; }

/* colourful slides: a rich gradient per agent, white copy, the chat card floats on top */
.showcase.wide .slide { --h: 25; border: 0; color: #fff;
  background: radial-gradient(600px 300px at 10% 0%, hsl(var(--h) 95% 65% / .45), transparent 60%),
              radial-gradient(500px 300px at 95% 100%, hsl(calc(var(--h) + 50) 90% 60% / .35), transparent 60%),
              linear-gradient(135deg, #0b1f3a 0%, hsl(var(--h) 65% 26%) 55%, hsl(calc(var(--h) + 30) 70% 38%) 100%);
  box-shadow: 0 30px 70px hsl(var(--h) 60% 20% / .35); }
.showcase.wide .slide::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.3px); background-size: 18px 18px; opacity: .6; }
.showcase.wide .slide { position: relative; }
.showcase.wide .slide > * { position: relative; }
.slide-info .eyebrow { color: hsl(var(--h) 95% 78%); }
.slide-info h3 { color: #fff; } .slide-info p { color: rgba(255,255,255,.82); } .slide-info .slide-meta { color: rgba(255,255,255,.6); }
.slide-info .btn { background: #fff; color: #0b1f3a; } .slide:hover .slide-info .btn { background: var(--grad); color: #fff; }
.slide-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; font-size: 32px; margin-bottom: 16px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); box-shadow: 0 10px 30px rgba(0,0,0,.2); backdrop-filter: blur(6px); }
.showcase.wide .chat { background: #fff; color: var(--ink); border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.showcase.wide .slide:hover { border: 0; transform: none; }
.nav-arrow { background: #fff; }

a.step-link { display: block; color: inherit; text-decoration: none; cursor: pointer; }
a.step-link:hover { border-color: var(--accent); }
.step-go { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 14px; color: var(--accent); }

/* hero carousel fits the first screen */
.hero { padding-top: 14px; padding-bottom: 28px; }
.showcase.wide .slide { height: clamp(430px, calc(100vh - 66px - 110px), 620px); padding: 26px 32px; }
.showcase.wide .chat { max-height: 100%; overflow: hidden; }
.showcase.wide .chat .card img { aspect-ratio: auto; height: clamp(120px, calc(100vh - 560px), 230px); }
.showcase.wide .chat .cards.c4 .card img { height: clamp(110px, calc(100vh - 590px), 200px); }
.showcase.wide .dots { margin-top: 12px; }
@media (max-height: 760px) { .slide-info p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .slide-icon { width: 48px; height: 48px; font-size: 24px; margin-bottom: 10px; } .showcase.wide .chat .bot { display: none; } }
@media (max-width: 900px) { .showcase.wide .slide { height: auto; } .showcase.wide .chat .card img { height: 150px; } }

/* demo pages: colour instead of white-on-white */
.agent-page.tinted { --h: 25; position: relative;
  background: radial-gradient(900px 420px at 0% 0%, hsl(var(--h) 90% 60% / .16), transparent 60%),
              radial-gradient(800px 420px at 100% 10%, hsl(calc(var(--h) + 60) 85% 60% / .14), transparent 60%),
              linear-gradient(180deg, hsl(var(--h) 60% 97% / .9), rgba(255,255,255,.75) 60%); }
.agent-page.tinted .eyebrow { color: hsl(var(--h) 75% 40%); }
.agent-page.tinted .agent-info .page-title { background: linear-gradient(135deg, #0b1f3a, hsl(var(--h) 70% 30%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.agent-page.tinted .note { background: linear-gradient(135deg, hsl(var(--h) 80% 96%), #fff); border: 1px solid hsl(var(--h) 60% 88%); }
.demo-chat { border: 0; border-radius: 22px; box-shadow: 0 30px 70px rgba(11,31,58,.18), 0 0 0 1px rgba(11,31,58,.06); }
.demo-chat .dc-bar { background: linear-gradient(135deg, #0b1f3a, #1b3a6b); color: #fff; padding: 14px 18px; border-bottom: 0; }
.demo-chat .dc-bar b { color: #fff; } .demo-chat .dc-bar label { color: rgba(255,255,255,.75); }
.demo-chat .dc-bar select { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.demo-chat .dc-bar select option { color: #0b1f3a; }
.demo-chat .dc-bar [data-handover] { background: var(--grad); color: #fff; }
.demo-chat .dchat .log { background:
  radial-gradient(500px 240px at 100% 0%, rgba(99,102,241,.07), transparent 60%),
  radial-gradient(500px 240px at 0% 100%, rgba(255,138,31,.08), transparent 60%), #f6f8fc; }
.demo-chat .bubble-u { background: linear-gradient(135deg, #0b1f3a, #1b3a6b); color: #fff; border: 0; }
.demo-chat .bubble-a .text { background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 4px 14px rgba(11,31,58,.07); }
.demo-chat .dc-prompts { background: #fff; border-top: 1px solid var(--line); }
.demo-chat .starters button { background: linear-gradient(135deg, #fff7ef, #fff); border-color: #ffd9bf; color: #7a3a0a; font-weight: 500; }
.demo-chat .starters button:hover { border-color: var(--accent); background: #fff1e4; }
.demo-chat .dc-prompts .follow { background: linear-gradient(135deg, #eef2ff, #fff); border-color: #c7d2fe; color: #3730a3; }
.demo-chat form { background: #fff; }
.demo-chat form .btn { background: var(--grad); }
.dc-hint { color: #64748b !important; }

.step .step-go { display: inline-block; width: auto; height: auto; background: none; color: var(--accent); font-style: normal;
  font-weight: 700; font-size: 14px; margin: 14px 0 0; border-radius: 0; }

/* aurora backdrop: soft, slowly drifting colour glows instead of the icon pattern */
.hero::before, .sec.alt::before { background: none !important; }
html { background: #f7f8fc; }
body::before { content: ""; position: fixed; inset: -20vmax; z-index: -3; pointer-events: none;
  background:
    radial-gradient(38vmax 30vmax at 12% 18%, rgba(255,138,31,.22), transparent 60%),
    radial-gradient(34vmax 28vmax at 88% 12%, rgba(124,58,237,.18), transparent 60%),
    radial-gradient(40vmax 30vmax at 80% 82%, rgba(6,182,212,.16), transparent 60%),
    radial-gradient(36vmax 28vmax at 18% 88%, rgba(236,72,153,.13), transparent 60%);
  filter: blur(20px); animation: aurora 26s ease-in-out infinite alternate; }
@keyframes aurora { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(2vmax,-1.5vmax,0) scale(1.05); }
  100% { transform: translate3d(-2vmax,1.5vmax,0) scale(1.02); } }
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }
.sec.alt { background: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.backdrop { opacity: .05 !important; }

.related-sec { padding-top: 10px; } .related-sec .rail { margin-top: 0; }

/* blog: agent and article carousels */
.blog-rails { margin-top: 30px; }
.rail-track.posts-track { grid-auto-columns: minmax(300px, 32%); }
.rail-track .post-card { scroll-snap-align: start; height: 100%; }
@media (max-width: 1000px) { .rail-track.posts-track { grid-auto-columns: minmax(260px, 48%); } }
@media (max-width: 620px) { .rail-track.posts-track { grid-auto-columns: 82%; } }

.custom-cta { display: flex; align-items: center; gap: 14px; margin: 26px 0 8px; padding: 16px 20px; border-radius: 18px; color: inherit; text-decoration: none;
  background: linear-gradient(120deg, #fff4ea, #f3f0ff); border: 1px solid #ffd9bf; box-shadow: var(--shadow); }
.custom-cta > span:first-child { font-size: 26px; } .custom-cta em { margin-inline-start: auto; font-style: normal; font-weight: 700; color: var(--accent); white-space: nowrap; }
.custom-cta:hover { border-color: var(--accent); }
@media (max-width: 620px) { .custom-cta { flex-wrap: wrap; } .custom-cta em { margin-inline-start: 0; } }

.sba-intro[hidden], .sba-quick[hidden] { display: none !important; }

/* store demo */
.connected-count { margin: 18px 0 10px; } .connected-count a { color: var(--accent); font-weight: 600; }
/* article screenshot slider */
.shot-slider { position: relative; overflow: hidden; border-radius: 22px; margin: 26px 0; background: linear-gradient(135deg, #0b1f3a, #1b3a6b);
  box-shadow: var(--shadow-lg); }
.ss-track { display: flex; transition: transform .45s ease; }
.ss-slide { flex: 0 0 100%; margin: 0; padding: 22px 22px 54px; display: grid; gap: 12px; justify-items: center; }
.ss-slide img { max-width: 100%; max-height: 560px; border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.35); background: #fff; }
.ss-slide figcaption { color: #e6ebf7; font-size: 15px; text-align: center; max-width: 640px; }
.ss-slide figcaption em { color: #fff; }
.ss-btn { position: absolute; top: 45%; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #0b1f3a;
  font-size: 26px; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.ss-btn.prev { left: 14px; } .ss-btn.next { right: 14px; }
.ss-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; }
.ss-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.ss-dots button.on { width: 24px; border-radius: 6px; background: var(--saffron); }

/* unique article covers */
.pc-cover { --h: 24; position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(220px 160px at 15% 10%, hsl(calc(var(--h) + 40) 95% 70% / .55), transparent 70%),
              radial-gradient(260px 180px at 90% 90%, hsl(calc(var(--h) - 30) 90% 55% / .5), transparent 70%),
              linear-gradient(135deg, hsl(var(--h) 75% 45%), hsl(calc(var(--h) + 25) 80% 32%)); }
.pc-cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.2) 1.2px, transparent 1.5px); background-size: 16px 16px; }
.pc-cover::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -70px; top: -90px; border: 34px solid rgba(255,255,255,.12); }
.pc-icon { position: relative; z-index: 1; width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; font-size: 48px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); box-shadow: 0 14px 30px rgba(0,0,0,.18);
  transition: transform .3s; }
.post-card:hover .pc-icon { transform: rotate(-6deg) scale(1.06); }
.pc-tag { position: absolute; z-index: 1; left: 14px; top: 14px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(11,31,58,.3);
  border-radius: 999px; padding: 4px 10px; letter-spacing: .03em; }
.pc-cover .brand-mark { position: absolute; z-index: 1; right: 14px; bottom: 14px; width: 30px; height: 30px; opacity: .9; }
.pc-media { position: relative; }

.shot-slider { margin: 6px 0 30px; }
.ss-slide { padding: 26px 26px 58px; }
.ss-slide img { max-height: min(78vh, 760px); width: auto; }
.ss-slide figcaption { font-size: 16.5px; }
.catalogue-rails .rail { margin-top: 26px; }
a.step.step-link .step-go { margin-top: 12px; }

/* spotlight: rows with fewer than 3 items show wide horizontal cards instead of a carousel */
.spotlight-grid { display: grid; gap: 18px; }
.spotlight-grid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spotlight-grid.n1 { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.spotlight-grid .tile { flex-direction: row; min-height: 220px; }
.spotlight-grid .tile-band { width: 38%; min-width: 200px; height: auto; display: grid; place-items: center; }
.spotlight-grid .tile-icon { position: relative; left: auto; bottom: auto; width: 96px; height: 96px; font-size: 48px; border-radius: 26px; }
.spotlight-grid .tile-status { top: 14px; right: auto; left: 14px; }
.spotlight-grid .tile-body { padding: 22px 24px 8px; justify-content: center; }
.spotlight-grid .tile-name { font-size: 22px; }
.spotlight-grid .tile-desc { -webkit-line-clamp: 4; font-size: 15px; }
.spotlight-grid .tile-foot { position: absolute; right: 18px; bottom: 16px; padding: 0; }
.spotlight-grid .tile { position: relative; padding-bottom: 0; }
.spotlight-grid .tile-body { padding-bottom: 64px; }
.spotlight-grid .post-card { display: grid; grid-template-columns: 42% 1fr; }
.spotlight-grid .post-card .pc-media { aspect-ratio: auto; min-height: 220px; }
@media (max-width: 760px) {
  .spotlight-grid.n2 { grid-template-columns: 1fr; }
  .spotlight-grid .tile { flex-direction: column; } .spotlight-grid .tile-band { width: 100%; height: 130px; }
  .spotlight-grid .post-card { grid-template-columns: 1fr; } }

/* marketplace pagination + polish */
.pager-mkt { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 30px 0 10px; }
.pager-mkt button { min-width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: 700 15px var(--sans); cursor: pointer; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.pager-mkt button:hover:not([disabled]) { transform: translateY(-2px); border-color: var(--accent); }
.pager-mkt button.on { background: var(--grad); color: #fff; border-color: transparent; }
.pager-mkt button[disabled] { opacity: .4; cursor: default; }
.pager-mkt span { color: var(--muted); padding: 0 4px; } .pager-mkt em { font-style: normal; color: var(--muted); font-size: 13.5px; margin-inline-start: 10px; }
.mkt-count { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; margin-bottom: 16px; }
.mkt-filters { background: linear-gradient(170deg, #fff, #f8fafc); }
.mkt-grid { gap: 20px; }

/* colour-coded marketplace filters */
.mkt-filters { border: 0; box-shadow: 0 18px 44px rgba(11,31,58,.12), 0 0 0 1px rgba(11,31,58,.06); }
.mf-head { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; color: var(--ink); }
.mf-active { background: var(--grad); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 800; padding: 0 6px; }
.mkt-filters label { --c: 24 90% 55%; position: relative; padding-inline-start: 12px; color: hsl(var(--c)); }
.mkt-filters label::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; border-radius: 4px; background: hsl(var(--c)); }
.mkt-filters label:has(.f-status) { --c: 142 70% 38%; } .mkt-filters label:has(.f-kind) { --c: 262 70% 55%; }
.mkt-filters label:has(.f-lang) { --c: 199 85% 42%; } .mkt-filters label:has(.f-seg) { --c: 330 75% 50%; }
.mkt-filters label:has(.f-dom) { --c: 24 90% 50%; } .mkt-filters label:has(.f-aud) { --c: 172 70% 35%; }
.mkt-filters select { border: 1.5px solid hsl(var(--c) / .35); background: hsl(var(--c) / .05); color: var(--ink); font-weight: 600; }
.mkt-filters select:focus { outline: none; border-color: hsl(var(--c)); box-shadow: 0 0 0 3px hsl(var(--c) / .18); }
.mkt-filters select.on { background: hsl(var(--c) / .14); border-color: hsl(var(--c)); color: hsl(var(--c)); box-shadow: 0 6px 16px hsl(var(--c) / .2); }
.mkt-filters input[type=search] { border: 1.5px solid #ffd9bf; background: #fffaf5; font-weight: 500; }
.mkt-filters input[type=search].on { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,89,12,.15); }
.mkt-filters [data-reset] { background: linear-gradient(135deg, #0b1f3a, #1b3a6b); color: #fff; border: 0; }
.pager-mkt + .custom-cta { margin-top: 22px; }

/* lifestyle photo band */
.photo-band { padding-top: 10px; }
.pb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pb-card { position: relative; display: block; border-radius: 26px; overflow: hidden; min-height: 380px; color: #fff; text-decoration: none; box-shadow: var(--shadow-lg); }
.pb-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pb-card:hover img { transform: scale(1.05); }
.pb-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,58,0) 30%, rgba(11,31,58,.88) 100%); }
.pb-copy { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; display: grid; gap: 6px; }
.pb-copy em { font-style: normal; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ffb37a; }
.pb-copy b { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; }
.pb-copy span { color: rgba(255,255,255,.85); font-size: 15.5px; max-width: 440px; }
.pb-copy i { font-style: normal; font-weight: 700; margin-top: 6px; }
@media (max-width: 860px) { .pb-grid { grid-template-columns: 1fr; } .pb-card { min-height: 300px; } }

.bubble-a .retry { margin-inline-start: 8px; border: 0; border-radius: 999px; padding: 4px 12px; background: var(--grad); color: #fff; font-weight: 700; cursor: pointer; }

/* segments carousel */
.seg-track { grid-auto-columns: minmax(320px, 40%); }
.seg-track .pb-card { scroll-snap-align: start; min-height: 400px; }
.pb-live { position: absolute; z-index: 1; top: 16px; left: 16px; background: rgba(255,255,255,.92); color: #15803d; font-weight: 700; font-size: 12.5px;
  border-radius: 999px; padding: 5px 11px; }
@media (max-width: 900px) { .seg-track { grid-auto-columns: 82%; } .seg-track .pb-card { min-height: 320px; } }
