/* chatbots.bg — light page, dark hero panels (the owner's concept of 01.11.2026). System fonts: no font files, no third-party requests. Mobile first. */
:root {
  --navy-950: #031a2f;
  --navy-900: #04233f;
  --navy-800: #06304f;
  --navy-700: #0a4166;
  --cyan: #22d3ee;
  --accent: #0a6f91;
  --ink: #071b30;
  --ink-2: #2b3d53;
  --muted: #5e7087;
  --line: #e2e8ef;
  --paper: #fcfcfa;
  --soft: #f2f6f9;
  --ok: #0f766e;
  --no: #b42318;
  --orange-text: #c2410c;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(7, 27, 48, .06), 0 18px 48px -24px rgba(7, 27, 48, .3);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --gutter: 16px;
  color-scheme: light;
}

@media (min-width: 720px) {
  :root { --gutter: 28px; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 88px; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--font);
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: #08566f; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 800px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { font-size: .88rem; color: var(--muted); }
.note { color: var(--muted); font-size: .95rem; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon.fill { fill: currentColor; stroke: none; }
.icon.flip { transform: scaleX(-1); }

/* ── header ───────────────────────────────────────────── */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(252, 252, 250, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy-900); font-weight: 800; font-size: 1.4rem; letter-spacing: -.025em; text-decoration: none; }
.brand:hover { color: var(--navy-900); }
.glyph { width: 38px; height: 38px; flex: none; }
.brand-by { padding-left: 14px; border-left: 1px solid var(--line); color: var(--muted); font-size: .9rem; white-space: nowrap; }
.head-nav { display: none; margin-left: auto; gap: 28px; }
.head-nav a { position: relative; padding: 6px 0; color: var(--ink); font-size: 1rem; font-weight: 600; text-decoration: none; }
.head-nav a:hover { color: var(--accent); }
.head-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 2px; background: var(--cyan); }
.head-cta { margin-left: auto; }
@media (max-width: 600px) {
  .brand-by { display: none; }
}
@media (min-width: 900px) {
  .head-nav { display: flex; }
  .head-cta { margin-left: 0; }
}

/* ── buttons ──────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .75em 1.25em; border: 1px solid transparent; border-radius: 12px; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .12s ease, background-color .15s, box-shadow .15s; }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: #0a3158; color: #fff; transform: translateY(-1px); }
.btn-cyan { background: linear-gradient(135deg, #44e6f0, #16c3dc); color: #03243b; box-shadow: 0 12px 30px -14px rgba(34, 211, 238, .85); }
.btn-cyan:hover { background: linear-gradient(135deg, #5eeaf3, #22cce3); color: #03243b; transform: translateY(-1px); }
.btn-sm { padding: .6em 1.05em; font-size: .95rem; border-radius: 10px; }
.btn-lg { padding: .95em 1.5em; font-size: 1.08rem; border-radius: 14px; }

/* ── dark hero panels ─────────────────────────────────── */
.hero-wrap { padding: 8px 8px 0; }
@media (min-width: 900px) {
  .hero-wrap { padding: 12px 14px 0; }
}
.hero-dark { position: relative; overflow: hidden; border-radius: 24px; color: #d3e6f4; background: radial-gradient(900px 520px at 82% 18%, rgba(34, 211, 238, .2), transparent 62%), radial-gradient(700px 420px at 0 112%, rgba(10, 111, 145, .5), transparent 62%), linear-gradient(135deg, #031a2f 0%, #04233f 52%, #06365a 100%); }
.hero-dark .wrap { position: relative; z-index: 1; }
.hero-dark h1 { color: #fff; }
.orbits { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.orbits ellipse { fill: none; stroke: rgba(52, 211, 238, .34); stroke-width: 1.4; stroke-dasharray: 2 8; stroke-linecap: round; }
.orbits .node { fill: #22d3ee; filter: drop-shadow(0 0 7px #22d3ee); }
@media (max-width: 959px) {
  /* stacked panels are tall: a box that tall blows the orbits up 2–3× (huge nodes, almost all of the orbit outside the panel), so it stays the size of the top of the panel */
  .orbits { bottom: auto; height: min(100%, 520px); }
}

.eyebrow { margin: 0 0 12px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.eyebrow-cyan { color: #38e1ee; }
.lead { margin: 18px 0 0; max-width: 62ch; font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); line-height: 1.5; color: var(--ink-2); }
.lead-light { color: #dcecf7; }

.hero-grid { display: grid; gap: 30px; align-items: center; padding-block: 40px; }
.hero-copy { min-width: 0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 28px; }
.link-light { padding-bottom: 3px; border-bottom: 2px solid var(--cyan); color: #fff; font-weight: 600; text-decoration: none; }
.link-light:hover { color: #fff; border-color: #fff; }
.hero-note-light { margin: 22px 0 0; color: #a9cde0; }
@media (max-width: 480px) {
  .hero-cta .btn { flex: 1 1 100%; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 48px; padding-block: 64px; }
}

/* banner (selector, guides, 404) */
.banner-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 34px; }
.hero-dark--banner h1 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.3rem); }
.hero-dark--banner .lead { margin-top: 10px; }
.pill-outline { padding: .55em 1.2em; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; color: #fff; font-size: .9rem; }

/* ── the «Примерен разговор» card (an illustration, never a control) ── */
.sample { margin: 0; overflow: hidden; border-radius: 20px; background: #fff; color: var(--ink-2); box-shadow: 0 30px 70px -26px rgba(0, 0, 0, .7); }
.sample-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.sample-head > div { flex: 1 1 150px; min-width: 0; }
.sample-head .spark { width: 30px; height: 30px; color: #17c3dc; }
.sample-head strong { display: block; color: var(--ink); font-size: 1.05rem; line-height: 1.2; }
.sample-head div span { display: block; color: var(--muted); font-size: .88rem; }
.sample-tag { margin-left: auto; padding: .4em .9em; border-radius: 999px; background: #e9f1f7; color: #4a6179; font-size: .74rem; white-space: nowrap; }
.sample-body { display: grid; gap: 12px; padding: 18px 20px; }
.msg { display: flex; align-items: flex-start; gap: 10px; max-width: 94%; }
.msg p { margin: 0; padding: 11px 15px; border-radius: 14px; font-size: .96rem; line-height: 1.45; }
.msg-bot p { background: #eef2f6; color: var(--ink-2); border-top-left-radius: 6px; }
.msg-user { justify-self: end; }
.msg-user p { background: #dbeefa; color: var(--ink); border-top-right-radius: 6px; }
.mi { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #e1f9fc; color: #12bdd6; }
.mi .icon { width: 16px; height: 16px; }
.sample-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 0 40px; padding: 0; list-style: none; }
.sample-chips li { padding: .4em .95em; border: 1px solid #3cc4d9; border-radius: 999px; background: #fff; color: #0a7f99; font-size: .88rem; font-weight: 600; }
.sample-input { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 20px 10px; padding: 7px 7px 7px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: .96rem; text-decoration: none; }
a.sample-input:hover { border-color: #3cc4d9; color: var(--ink); }
.sample-input i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #33dcec, #10b9d3); color: #03243b; }
.sample-input i .icon { width: 19px; height: 19px; }
.sample-input.is-static { opacity: .8; }
.sample figcaption { padding: 0 20px 14px; text-align: center; color: var(--muted); font-size: .78rem; }
.sample-lg .sample-body { gap: 14px; padding: 22px; }
.sample-lg .msg p { font-size: 1rem; }
.sample-mini .sample-body { padding: 16px; }

/* ── sections ─────────────────────────────────────────── */
.section { padding: 48px 0; }
.section-tight { padding: 30px 0; }
.section-soft { background: var(--soft); }
.section h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 800; letter-spacing: -.025em; }
.section-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.prose { max-width: 68ch; font-size: 1.08rem; }
.section h2 + .prose { margin-top: 14px; }
.lead-dark { margin: 0 0 28px; font-size: 1.2rem; color: var(--ink); }
.h2-gap { margin-top: 36px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow .icon { width: 1.1em; height: 1.1em; }
@media (min-width: 900px) {
  .section { padding: 68px 0; }
  .section-tight { padding: 40px 0; }
}

/* tiles (home, other demos, 404) */
.tiles { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr)); }
.tile a { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; padding: 22px 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-align: center; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.tile a:hover { transform: translateY(-2px); border-color: #6fd3e2; box-shadow: var(--shadow); color: var(--ink); }
.tile.is-featured a { border-color: #34cde0; background: linear-gradient(#f2fdff, #e6f9fc); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .35); }
.tile-ic { display: grid; place-items: center; width: 46px; height: 46px; color: var(--navy-700); }
.tile-ic .icon { width: 36px; height: 36px; stroke-width: 1.6; }
.tile strong { font-size: 1.03rem; line-height: 1.25; }
.tile-go { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: .93rem; font-weight: 600; }
.tile-go .icon { width: 1em; height: 1em; }

/* «Полезно» strip */
.useful { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 26px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.useful strong { padding-right: 28px; border-right: 1px solid var(--line); color: var(--ink); }
.useful a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; text-decoration: none; }
.useful a span { border-bottom: 1px solid #9fb2c6; }
.useful a:hover span { border-color: var(--accent); color: var(--accent); }
.useful .icon { width: 22px; height: 22px; }
@media (max-width: 700px) {
  .useful strong { width: 100%; padding: 0; border: 0; }
}

/* steps (the mechanism) */
.steps { display: grid; gap: 16px; margin: 26px 0 0; padding: 0; list-style: none; }
.steps li { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step-n { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%; background: var(--navy-900); color: #fff; font-weight: 800; }
.steps h3 { font-size: 1.15rem; }
.steps p { margin: 8px 0 0; color: var(--muted); }
.steps + .center { margin: 26px 0 0; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* is / is not */
.two-col { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 820px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.panel { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.section .panel h2, .panel h3 { margin-bottom: 14px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; }
.panel-yes { border-color: #cfe9e4; background: #f5fbf9; }
.panel-no { border-color: #f0d9d6; background: #fdf7f6; }
.ticks, .crosses { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ticks li, .crosses li { display: flex; align-items: flex-start; gap: 12px; }
.ticks .icon, .crosses .icon { width: 22px; height: 22px; margin-top: 2px; padding: 3px; border-radius: 50%; color: #fff; stroke-width: 2.6; }
.ticks .icon { background: var(--ok); }
.crosses .icon { background: var(--no); }

/* call to action card */
.cta-card { display: grid; gap: 18px; align-items: center; padding: 24px 26px; border: 1px solid #cfe3ea; border-radius: var(--radius); background: #fff; }
.cta-ic { display: grid; place-items: center; width: 60px; height: 60px; color: var(--navy-700); }
.cta-ic .icon { width: 54px; height: 54px; stroke-width: 1.3; }
.cta-card h2 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.75rem); font-weight: 800; }
.cta-card p { max-width: 70ch; margin: 6px 0 0; color: var(--muted); }
@media (min-width: 860px) {
  .cta-card { grid-template-columns: auto 1fr auto; gap: 26px; padding: 26px 34px; }
}

/* ── selector page ────────────────────────────────────── */
.pcards { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) {
  .pcards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .pcards { grid-template-columns: repeat(3, 1fr); }
}
.pcard > a { display: flex; flex-direction: column; height: 100%; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.pcard > a:hover { transform: translateY(-2px); border-color: #6fd3e2; box-shadow: var(--shadow); color: inherit; }
.pcard-photo { display: block; overflow: hidden; border-radius: 10px; aspect-ratio: 2.6 / 1; background: #e8eef4; }
.pcard-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pcard-photo--icon { display: grid; place-items: center; background: linear-gradient(135deg, #04233f, #0a4f78); color: #2fe0ee; }
.pcard-photo--icon .icon { width: 56px; height: 56px; stroke-width: 1.4; }
.pcard-body { display: flex; gap: 16px; padding: 16px 12px 12px; }
.pcard-ic { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border: 1px solid #cfeaf0; border-radius: 12px; background: #f0fcfe; color: var(--navy-700); }
.pcard-ic .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.pcard-text { display: grid; gap: 6px; align-content: start; }
.pcard-text strong { color: var(--ink); font-size: 1.25rem; line-height: 1.2; letter-spacing: -.015em; }
.pcard-text span { color: var(--muted); font-size: 1rem; line-height: 1.4; }
.pcard-text em { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--accent); font-style: normal; font-weight: 700; }
.cta-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%; min-height: 260px; padding: 28px; border-radius: var(--radius); color: #d3e6f4; background: radial-gradient(420px 260px at 90% 20%, rgba(34, 211, 238, .25), transparent 62%), linear-gradient(135deg, #031a2f, #06365a); }
.cta-tile strong { color: #fff; font-size: 1.5rem; }
.cta-tile-ic { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 12px; color: #fff; }
.cta-tile .btn { margin-top: auto; }
.pcards-note { margin-top: 18px; }

/* ── demo page ────────────────────────────────────────── */
/* On a phone the order is headline → chat → photo and chips (the chat is what the page is for); from 960px the headline and the photo sit in the left
   column and the chat spans both rows on the right. */
.demo-grid { display: grid; gap: 26px; padding-block: 26px 34px; }
.demo-head, .demo-more { min-width: 0; }
.demo-more > :first-child { margin-top: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; color: #a9cde0; font-size: .95rem; }
.crumbs a { color: #d6e9f5; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.badge-cyan { display: inline-block; padding: .45em 1.1em; border-radius: 999px; background: linear-gradient(135deg, #44e6f0, #12bdd6); color: #03243b; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.demo-head h1 { margin-top: 16px; font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
.demo-photo { display: block; width: 100%; aspect-ratio: 2.4 / 1; margin-top: 22px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 14px; object-fit: cover; }
.cap-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.cap-chips li { display: inline-flex; align-items: center; gap: 10px; padding: .65em 1.05em; border: 1px solid rgba(255, 255, 255, .3); border-radius: 12px; background: rgba(255, 255, 255, .07); color: #fff; font-weight: 600; }
.cap-chips .icon { width: 20px; height: 20px; color: #7be8f2; }
.back { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; }
/* The live chat is drawn INTO this block by the platform's in-page mode (data-iska-mount="#iska-chat"); the sample card is its placeholder until the
   chat says it is ready (data-iska-state), and stays if the chat is unavailable. The block keeps the chat's height so the page does not jump, and on a
   wide screen sits at the top of the hero and follows the scroll under the sticky header, so the whole chat is in view next to the headline. */
.demo-chat { --iska-assistant-height: min(620px, 86vh); align-self: start; position: sticky; top: 92px; min-width: 0; min-height: var(--iska-assistant-height); }
.demo-chat iframe { border-radius: 20px; box-shadow: 0 30px 70px -26px rgba(0, 0, 0, .7); animation: chat-in .3s ease-out both; }
@keyframes chat-in { from { opacity: 0; } to { opacity: 1; } }
.demo-chat[data-iska-state="ready"] .demo-chat__sample { display: none; }
.demo-chat [data-iska-status] { margin: 0; padding: 18px; color: #cfe6f2; text-align: center; font-size: .9rem; }
/* With scripts on, the sample conversation does not flash up and get swapped for the live chat: a calm card-shaped placeholder (no animation) holds the place,
   the chat fades in over it, and the sample comes back only if the chat does not (data-iska-state="unavailable", or data-chat-failed from site.js). A visitor
   without scripts, or a browser that cannot tell, simply sees the sample. */
@media (scripting: enabled) {
  .demo-chat:not([data-iska-state="ready"]):not([data-iska-state="unavailable"]):not([data-chat-failed]) { border-radius: 20px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
  .demo-chat:not([data-iska-state="unavailable"]):not([data-chat-failed]) .demo-chat__sample { display: none; }
}
@media (min-width: 960px) {
  .demo-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: auto 1fr; grid-template-areas: "head chat" "more chat"; gap: 22px 40px; padding-block: 36px 44px; }
  .demo-head { grid-area: head; }
  .demo-more { grid-area: more; }
  .demo-chat { grid-area: chat; }
}

.try-grid { display: grid; gap: 20px; }
.try-card, .ask-card { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.section .try-card h2 { margin: 4px 0 6px; font-size: 1.6rem; font-weight: 800; }
.tag { display: inline-block; margin-left: 6px; padding: .18em .6em; border-radius: 999px; background: #e0f7fb; color: var(--accent); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.how-to { display: grid; gap: 14px; margin: 20px 0 0; padding: 0; list-style: none; }
.how-to li { display: flex; align-items: flex-start; gap: 14px; }
.how-to .n { display: grid; place-items: center; flex: none; width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; background: var(--navy-900); color: #fff; font-size: .85rem; font-weight: 800; }
.how-to .icon.inline { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -.2em; color: var(--accent); }
.try-card .fine { margin: 18px 0 0; }
.dev-note { margin: 16px 0 0; padding: 10px 12px; border: 1px dashed #e0a15a; border-radius: 10px; background: #fff8ef; color: #8a4b08; font-size: .9rem; }
@media (min-width: 900px) {
  .try-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: start; }
}
.ask-card h3 { margin: 0 0 12px; font-size: 1.05rem; }
.ask-card .ask-h { margin-top: 22px; }
.asks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ask { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); color: var(--ink); font: inherit; font-size: .98rem; text-align: left; cursor: pointer; transition: border-color .15s, background-color .15s; }
.ask:hover { border-color: #8fd9e6; background: #fff; }
.ask .icon { width: 18px; height: 18px; color: var(--muted); }
.ask-unknown { border-style: dashed; background: #fff; }
.ask.is-copied { border-color: var(--ok); background: #f1faf7; }
.copied { margin: 14px 0 0; color: var(--ok); font-weight: 600; }

/* ── how it works ─────────────────────────────────────── */
.how-grid { display: grid; gap: 30px; align-items: center; padding-block: 40px; }
.h1-lines { font-size: clamp(2.1rem, 1.1rem + 3.8vw, 4.1rem); line-height: 1.04; letter-spacing: -.035em; }
.how-copy { min-width: 0; }
.knowledge { display: grid; align-items: center; gap: 16px; }
.kcards { display: grid; gap: 12px; }
.kcard { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px; background: #fff; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .65); }
.kcard strong { display: block; color: var(--ink); font-size: .98rem; }
.kcard b { display: block; width: 80%; height: 5px; margin-top: 7px; border-radius: 3px; background: #e3eaf1; }
.kcard b + b { width: 55%; }
.kdoc { position: relative; display: block; flex: none; width: 34px; height: 40px; border-radius: 6px; }
.kdoc i { position: absolute; left: 8px; right: 8px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .92); }
.kdoc i:nth-child(1) { top: 14px; }
.kdoc i:nth-child(2) { top: 21px; }
.kdoc i:nth-child(3) { top: 28px; right: 14px; }
.kcard-blue .kdoc { background: linear-gradient(#5b8def, #3b6fe0); }
.kcard-green .kdoc { background: linear-gradient(#34d399, #12a37b); }
.kcard-violet .kdoc { background: linear-gradient(#9d7bf0, #7a54dc); }
.kwires { display: none; width: 100%; height: 200px; fill: none; stroke: rgba(52, 211, 238, .75); stroke-width: 1.5; stroke-dasharray: 2 6; }
.kwires circle { fill: #22d3ee; stroke: none; filter: drop-shadow(0 0 6px #22d3ee); }
@media (min-width: 1000px) {
  .how-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; padding-block: 54px; }
  .knowledge { grid-template-columns: minmax(0, .78fr) 46px minmax(0, 1.22fr); gap: 0; }
  .kwires { display: block; }
}

.process { display: grid; gap: 16px; margin: 22px 0 0; padding: 0; list-style: none; }
.process li { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.p-n { padding-right: 16px; border-right: 1px solid var(--line); color: var(--navy-900); font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.p-ic { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: #e8fafd; color: var(--accent); }
.p-ic .icon { width: 26px; height: 26px; }
.process strong { display: block; color: var(--ink); font-size: 1.1rem; }
.process li > span:last-child { color: var(--muted); line-height: 1.45; }
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .p-n { font-size: 1.8rem; padding-right: 12px; }
  .p-ic { display: none; }
}

.talk { display: grid; gap: 24px; align-items: center; margin-top: 22px; padding: 28px; border: 1px solid #cfe3ea; border-radius: 18px; background: #fff; }
.section .talk h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.talk > div:first-child p { margin: 10px 0 0; color: var(--ink-2); font-size: 1.15rem; }
.talk > div:first-child .fine { position: relative; margin-top: 18px; padding-top: 14px; font-size: .95rem; }
.talk > div:first-child .fine::before { content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 3px; border-radius: 2px; background: var(--cyan); }
.talk-act { display: grid; gap: 10px; justify-items: start; }
.talk-act .fine { margin: 0; }
@media (min-width: 860px) {
  .talk { grid-template-columns: 1.1fr .9fr; gap: 40px; padding: 34px 40px; }
}

/* ── guides ───────────────────────────────────────────── */
.cards { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card a:hover { transform: translateY(-3px); border-color: #6fd3e2; box-shadow: var(--shadow); color: inherit; }
.card-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #e8fafd; color: var(--accent); }
.card-ic .icon { width: 26px; height: 26px; }
.card h3 { margin-top: 6px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.card-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; color: var(--accent); font-weight: 700; }
.card-go .icon { width: 1.05em; height: 1.05em; }
.article h2 { margin: 36px 0 12px; font-size: 1.5rem; }
.article h2:first-child { margin-top: 0; }
.article .prose { margin: 0 0 14px; }
.ticks.plain { margin: 6px 0 8px; }
.next { margin-top: 30px; }

/* FAQ */
.faq { margin: 12px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary { position: relative; padding: 16px 48px 16px 18px; color: var(--ink); font-weight: 700; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 1.4rem; font-weight: 500; line-height: 1; }
.faq[open] summary::after { content: "\2013"; }
.faq p { margin: 0; padding: 0 18px 18px; }
.section h2 + .faq, .article h2 + .faq { margin-top: 18px; }

/* ── footer ───────────────────────────────────────────── */
/* generous bottom space: the floating chat button of the demo pages must never sit on top of a link */
.site-foot { margin-top: 40px; padding: 26px 0 150px; border-top: 1px solid var(--line); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; font-size: .95rem; }
.foot-row p { margin: 0; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-row a { color: var(--ink-2); text-decoration: none; }
.foot-row a:hover { color: var(--accent); }
.foot-brand { color: var(--ink); font-weight: 700; }
.foot-iska { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.foot-iska .icon { width: 1.05em; height: 1.05em; }
.foot-fine { max-width: 90ch; margin: 14px 0 0; color: var(--muted); font-size: .85rem; }
.iska { color: var(--orange-text); font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .demo-chat iframe { animation: none; }
  .btn, .tile a, .pcard > a, .card a { transition: none; }
}
