/* YYTECH × Nexura (Framer) — дизайн-система шаблона: шкала, цвета, сетка, компоненты, движение.
   Шрифт шаблона Inter заменён на Manrope по просьбе владельца; размеры и трекинг — как в шаблоне. */
:root {
  --black: #000;
  --t2: #605f5f;
  --t3: #999;
  --t4: #bdbdbd;
  --line: #dadada;
  --line2: #e6e6e6;
  --line3: #eee;
  --bg2: #fafafa;
  --bg3: #f4f4f4;
  --blue: #517ffc;
  --blue2: #79a9fc;
  --bluebg: #f1f6ff;
  --yellow: #f2ac13;
  --yellowbg: #f2ac131a;
  --purple: #a17afc;
  --ease: cubic-bezier(.2, 0, .2, 1);
  --spring: cubic-bezier(.22, 1, .36, 1);
  --font: 'Manrope', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 73px; }
body { background: #fff; color: var(--black); font-family: var(--font); font-size: 15px; line-height: 1.4; letter-spacing: -.01em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; letter-spacing: inherit; }

/* ---------- типографика (шкала шаблона) ---------- */
.h1 { font-size: 64px; line-height: 1.2; font-weight: 500; letter-spacing: -.035em; }
.h2 { font-size: 40px; line-height: 1.2; font-weight: 500; letter-spacing: -.035em; }
.h3 { font-size: 44px; line-height: 1.2; font-weight: 500; letter-spacing: -.035em; }
.h4 { font-size: 28px; line-height: 1.4; font-weight: 500; letter-spacing: -.025em; }
.h5 { font-size: 22px; line-height: 1.4; font-weight: 500; letter-spacing: -.025em; }
.h6 { font-size: 20px; line-height: 1.4; font-weight: 500; letter-spacing: -.025em; }
.lead { font-size: 18px; line-height: 1.4; color: var(--t2); }
.p { font-size: 15px; line-height: 1.4; color: var(--t2); }
.sm { font-size: 14px; line-height: 1.4; color: var(--t2); }
.xs { font-size: 13px; line-height: 1.4; color: var(--t2); }
.num { font-size: 44px; line-height: 1.1; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* ---------- каркас: рамка 1400 с пунктирными границами ---------- */
.sec { padding: 0 20px; }
.frame { max-width: 1400px; margin: 0 auto; border-left: 1px dashed var(--line); border-right: 1px dashed var(--line); border-bottom: 1px dashed var(--line); padding: 100px 64px; position: relative; }
.frame.flush { padding: 0; }
.frame.nb { border-bottom: 0; }
.center { text-align: center; }
.head-c { max-width: 560px; margin: 0 auto 64px; text-align: center; display: grid; gap: 16px; }
.dots { background-image: radial-gradient(circle, rgba(0,0,0,.13) 1px, transparent 1.4px); background-size: 12px 12px; }
.grid-bg { background-image: linear-gradient(var(--line3) 1px, transparent 1px), linear-gradient(90deg, var(--line3) 1px, transparent 1px); background-size: 40px 40px; background-position: -1px -1px; }

/* ---------- навигация ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; padding: 0 20px; }
.nav .frame { padding: 16px 64px; display: flex; align-items: center; justify-content: space-between; height: 73px; }
.nav .logo img { height: 22px; width: auto; }
.nav .links { display: flex; gap: 36px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav .links a { font-size: 15px; font-weight: 500; transition: opacity .2s; }
.nav .links a:hover { opacity: .55; }
.nav .burger { display: none; width: 40px; height: 40px; place-items: center; }
.nav .burger span { display: block; width: 20px; height: 1.5px; background: #000; margin: 4px 0; transition: transform .3s var(--ease), opacity .2s; }
.nav.open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mmenu { display: none; }

/* ---------- кнопки: пилюля, «прокрутка» текста и кольцо при наведении ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 10px 20px; border-radius: 100px; font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; isolation: isolate; white-space: nowrap; }
.btn::before { content: ''; position: absolute; inset: 0; border-radius: 100px; z-index: -2; transition: inset .35s var(--spring), background .3s; }
.btn::after { content: ''; position: absolute; inset: 0; border-radius: 100px; z-index: -1; }
.btn-dark { color: #fff; }
.btn-dark::after { background: #000; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.btn-dark::before { background: var(--line); }
.btn-light { color: #000; }
.btn-light::after { background: #fff; box-shadow: inset 0 0 0 1px var(--line2); }
.btn-light::before { background: var(--bg3); }
.btn:hover::before { inset: -4px; }
.btn .roll { display: block; height: 1.3em; overflow: hidden; position: relative; }
.btn .roll > span { display: block; transition: transform .45s var(--spring); }
.btn .roll > span + span { position: absolute; left: 0; top: 0; transform: translateY(120%); }
.btn:hover .roll > span:first-child { transform: translateY(-120%); }
.btn:hover .roll > span + span { transform: translateY(0); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 12px; text-align: center; border-radius: 100px; font-size: 13px; color: var(--t2); box-shadow: inset 0 0 0 1px var(--line2); background: #fff; }
.tag { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 100px; background: var(--bluebg); color: var(--blue); font-size: 13px; line-height: 1.4; }

/* ---------- появление (framer appear): fade + translateY, tween .8s и spring ---------- */
[data-a] { opacity: 0; transform: translate3d(var(--ax, 0), var(--ay, 40px), 0); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--ad, 0s); will-change: opacity, transform; }
[data-a="spring"] { --ay: 60px; transition-duration: .9s, 1.1s; transition-timing-function: var(--ease), var(--spring); }
[data-a="up80"] { --ay: 80px; transition-duration: .9s, 1.1s; transition-timing-function: var(--ease), var(--spring); }
[data-a="fade"] { --ay: 0px; }
[data-a].in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero .frame { padding: 0; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - 73px); }
.hero-c { padding: 64px; align-self: center; display: grid; justify-items: start; gap: 0; position: relative; z-index: 2; }

.hero-c .h1 { margin-bottom: 20px; }
.hero-c .h1 em { font-style: normal; text-decoration: underline; text-decoration-color: var(--blue2); text-decoration-thickness: .06em; text-underline-offset: .12em; }
.hero-c .lead { max-width: 520px; margin-bottom: 32px; }
.hero-art { position: relative; min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 40px 32px; overflow: hidden; }
.hero-art .ph { position: absolute; inset: 0; background: url(img/hero-desk.webp) 58% 50%/cover no-repeat; }
.hero-bot { position: relative; z-index: 2; display: none; }
.btn-bot { gap: 8px; }
.btn-bot svg { flex: none; }
.prompt { position: relative; z-index: 2; width: 460px; max-width: 100%; }
.prompt .box { position: relative; background: #fff; border-radius: 12px; box-shadow: 0 15px 30px 5px rgba(0,0,0,.2); padding: 16px 16px 14px; min-height: 180px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.prompt .mail { background: var(--bg2); border-radius: 8px; padding: 10px 12px; box-shadow: inset 0 0 0 1px var(--line3); }
.prompt .mh { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--t2); margin-bottom: 4px; }
.prompt .mh b { font-weight: 600; color: #000; }
.prompt .mb { font-size: 13px; line-height: 1.45; color: var(--t2); }
.prompt .typed { font-size: 15px; line-height: 1.4; min-height: 42px; padding: 0 4px; }
.prompt .typed::after { content: ''; display: inline-block; width: 1px; height: 1.1em; background: #000; margin-left: 1px; vertical-align: -2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.prompt .send { align-self: flex-end; margin-top: auto; width: 36px; height: 36px; border-radius: 50%; background: #000; color: #fff; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
/* метка на телефоне с фото: как пин навигатора, открывает окно агента. Положение рассчитано на фото 58% 50% */
.pin { position: absolute; z-index: 3; left: 48.5%; bottom: 14.5%; width: 44px; height: 56px; display: block; color: #000; }
.pin svg { display: block; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); animation: pinbob 2.2s var(--ease) infinite; }
.pin::after { content: ''; position: absolute; left: 50%; bottom: -3px; width: 14px; height: 6px; margin-left: -7px; border-radius: 50%; background: rgba(0,0,0,.35); animation: pinshadow 2.2s var(--ease) infinite; }
.pin::before { content: ''; position: absolute; left: 50%; bottom: -6px; width: 28px; height: 12px; margin-left: -14px; border-radius: 50%; border: 1px solid #fff; opacity: 0; animation: pinring 2.2s var(--ease) infinite; }
.pin .tip { position: absolute; left: 50%; top: 64px; transform: translateX(-50%); white-space: nowrap; background: #fff; border-radius: 100px; padding: 5px 10px; font-size: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.14); }
.pin:focus-visible { outline: none; }
.pin:focus-visible .tip { outline: 2px solid #000; outline-offset: 2px; }
@keyframes pinbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pinshadow { 0%, 100% { transform: scale(1); opacity: .35; } 50% { transform: scale(.7); opacity: .2; } }
@keyframes pinring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- полоса индустрий: бегущий ряд пилюль ---------- */
.logos .frame { padding: 64px 0; overflow: hidden; }
.logos .cap { text-align: center; margin-bottom: 28px; padding: 0 64px; }
.ribbon { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ribbon .row { display: flex; width: max-content; animation: rib 80s linear infinite; }
.ribbon:hover .row, .ribbon:focus-within .row { animation-play-state: paused; }
.ribbon .set { display: flex; gap: 12px; padding-right: 12px; }
.ribbon .pill { gap: 6px; padding: 8px 14px; font-size: 14px; white-space: nowrap; transition: background .2s; }
.ribbon .pill b { font-weight: 500; color: #000; }
.ribbon .pill:hover { background: var(--bg3); }
.ribbon .pill:focus-visible { outline: 2px solid #000; outline-offset: -2px; }
@keyframes rib { to { transform: translateX(-50%); } }

/* ---------- статичный текст, проявляющийся по скроллу ---------- */
.statement { max-width: 650px; font-size: 28px; line-height: 1.4; letter-spacing: -.025em; margin-bottom: 64px; }
.statement .w { color: #000; transition: color .25s linear; }
.statement .w.off { color: #ccc; }

/* ---------- функции: аккордеон-вкладки + картинка ---------- */
.feat { display: grid; grid-template-columns: 650px 1fr; gap: 64px; align-items: center; }
.feat-media { position: relative; height: 450px; background: var(--bg3); overflow: hidden; }
.feat-media figure { position: absolute; left: 32px; top: 32px; opacity: 0; transform: translateY(16px) scale(.985); transition: opacity .55s var(--ease), transform .7s var(--spring); }
.feat-media figure.on { opacity: 1; transform: none; }
.feat-media img { border-radius: 12px 0 0 0; box-shadow: -2px 5px 10px rgba(0,0,0,.08); max-width: none; background: #fff; }
.feat-media figure.card-fit { inset: 0; }
.feat-media figure.card-fit { display: grid; place-items: center; padding: 24px; }
.feat-media figure.card-fit img { width: 100%; height: auto; aspect-ratio: 1600 / 1000; border-radius: 0; box-shadow: none; background: none; max-width: 100%; }
.yt-t-framer-nexura .feat-media .card-fit > .yt-ov { inset: 0; }
.yt-t-framer-nexura .feat-media .card-fit > .yt-ov .yt-box { inset: 20px; }
.acc { display: grid; }
.acc-i { border-bottom: 1px dashed var(--line); padding: 18px 0; cursor: pointer; }
.acc-i:first-child { padding-top: 0; }
.acc-i:last-child { border-bottom: 0; }
.acc-i .t { display: flex; align-items: center; gap: 12px; color: var(--t3); transition: color .3s; }
.acc-i .t svg { flex: none; }
.acc-i.on .t { color: #000; }
.acc-i .b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--spring); }
.acc-i .b > div { overflow: hidden; }
.acc-i .b p { padding-top: 8px; max-width: 420px; }
.acc-i.on .b { grid-template-rows: 1fr; }
.acc-i .tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; }
.acc-i .tags span { font-size: 13px; padding: 3px 10px; border-radius: 100px; background: var(--bg3); color: var(--t2); }

/* ---------- демо-окно (кейсы) на фото-фоне ---------- */
.demo .frame { padding: 64px; overflow: hidden; }
/* светлое «небо» демо-секции шаблона: голубой → персиковый → золотистый */
.demo-bg { position: absolute; inset: 0; background: radial-gradient(60% 45% at 18% 18%, rgba(255,255,255,.9), transparent 70%), radial-gradient(45% 35% at 82% 12%, rgba(255,255,255,.8), transparent 70%), linear-gradient(180deg, #a9cdf3 0%, #d3e5f7 38%, #f5d8cb 72%, #efd29a 100%); }
.app { position: relative; z-index: 1; background: #fff; border-radius: 16px; box-shadow: 4px 4px 30px rgba(0,0,0,.08); display: grid; grid-template-columns: 236px 1fr; height: 720px; overflow: hidden; }
.app-side { border-right: 1px solid var(--line3); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.app-side .ws { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px 12px; font-size: 14px; font-weight: 600; }
.app-side button { text-align: left; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: var(--t2); transition: background .2s, color .2s; display: flex; justify-content: space-between; gap: 6px; }
.app-side button small { color: var(--t3); font-size: 11.5px; }
.app-side button:hover { background: var(--bg2); }
.app-side button.on { background: var(--bg3); color: #000; font-weight: 500; }
.app-main { display: flex; flex-direction: column; min-width: 0; }
.app-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 24px 14px; }
.app-top .h5 { font-size: 22px; }
.app-top .xs { margin-top: 2px; }
.app-top .acts { display: flex; gap: 8px; flex: none; }
.app-top .acts a { height: 30px; padding: 0 12px; border-radius: 8px; font-size: 13px; display: inline-flex; align-items: center; }
.app-top .acts .k { background: #000; color: #fff; }
.app-top .acts .o { box-shadow: inset 0 0 0 1px var(--line2); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 0 24px 14px; }
.kpi { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line3); padding: 10px 12px; min-width: 0; }
.kpi .xs { font-size: 11.5px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.03em; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi .st { font-size: 11px; color: var(--t3); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-shot { flex: 1; margin: 0 24px 20px; overflow: hidden; position: relative; min-height: 0; }
.app-shot img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; aspect-ratio: 1600 / 1000; opacity: 0; transition: opacity .5s var(--ease), transform .7s var(--spring); transform: translateY(10px); }
.app-shot img.on { opacity: 1; transform: none; }

/* ---------- цифры ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 0 32px; border-left: 1px dashed var(--line); display: grid; gap: 12px; align-content: start; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-size: 40px; }
.note { margin-top: 40px; font-size: 13px; color: var(--t3); }

/* ---------- орбита (интеграции → контур данных) ---------- */
.orbit-sec { display: grid; grid-template-columns: 1fr 649px; gap: 40px; align-items: center; }
.orbit-text { padding: 0 24px 0 42px; max-width: 540px; display: grid; gap: 16px; }
.steps { margin-top: 24px; padding-top: 24px; border-top: 1px dashed var(--line); display: grid; gap: 14px; }
.steps div { display: flex; gap: 12px; align-items: baseline; }
.steps i { flex: none; font-style: normal; width: 22px; height: 22px; border-radius: 6px; background: var(--bluebg); color: var(--blue); display: grid; place-items: center; font-size: 13px; }
.steps b { display: block; font-weight: 500; color: #000; font-size: 15px; }
.canvas { position: relative; height: 649px; background: var(--bg2); overflow: hidden; }
.canvas.grid-bg { background-color: var(--bg2); }
.ringw { position: absolute; inset: 0; }
.ring { position: absolute; left: 50%; top: 50%; width: 454px; height: 454px; margin: -227px 0 0 -227px; animation: spin 80s linear infinite; }
.ring .node { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; transform: rotate(var(--r)) translateY(-227px) rotate(calc(var(--r) * -1)); }
.ring .node > div { width: 100%; height: 100%; border-radius: 50%; background: #fff; box-shadow: 0 5px 20px rgba(0,0,0,.08); display: grid; place-items: center; text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; padding: 6px; animation: spin 80s linear infinite reverse; }
.ring .node > div > span { display: block; transform: scale(.4); opacity: 0; transition: transform .8s var(--spring), opacity .5s var(--ease); transition-delay: var(--d); }
.canvas.in .ring .node > div > span { transform: none; opacity: 1; }
.ring .node > div { transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.canvas .mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; }

/* ---------- решения: sticky-вкладки и три ряда ---------- */
.sol { display: grid; grid-template-columns: 200px 1fr; gap: 48px; }
.sol-nav { position: sticky; top: 140px; align-self: start; display: grid; gap: 10px; }
.sol-nav a { font-size: 15px; color: var(--t2); width: fit-content; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.sol-nav a.on { color: #000; border-color: #000; }
.sol-rows { display: grid; gap: 40px; }
.sol-row { display: grid; grid-template-columns: 1fr 466px; gap: 40px; align-items: center; }
.sol-row .txt { display: grid; gap: 12px; max-width: 360px; }
.sol-row .txt .tag { display: none; width: max-content; }
.sol-vis { height: 320px; background: var(--bg2); position: relative; overflow: hidden; }
/* ряд 1: вертикальная бегущая лента карточек */
.vmarq { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); }
.vmarq .track { position: absolute; left: 50%; top: 0; width: 377px; margin-left: -188px; display: grid; gap: 14px; animation: vup 22s linear infinite; }
.mcard { background: #fff; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,.08); padding: 12px 14px; display: flex; gap: 12px; align-items: center; }
.mcard i { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; }
.mcard b { display: block; font-weight: 500; font-size: 15px; }
.mcard .sm { font-size: 13.5px; }
@keyframes vup { to { transform: translateY(-50%); } }
.vmarq .focus { position: absolute; left: 50%; top: 50%; width: 418px; transform: translate(-50%, -50%); z-index: 2; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
/* ряд 2: схема процесса */
.flow { position: absolute; inset: 0; display: grid; place-items: center; }
.flow .col { display: grid; justify-items: center; }
.fnode { background: #fff; border-radius: 12px; box-shadow: 0 1px 20px rgba(0,0,0,.05); padding: 8px 10px 8px 12px; display: flex; align-items: center; gap: 10px; font-size: 15px; white-space: nowrap; outline: 1px solid transparent; transition: outline-color .4s; }
.fnode em { font-style: normal; font-size: 13px; color: var(--t2); background: var(--bg3); padding: 2px 8px; border-radius: 100px; }
.fnode.hot { outline-color: var(--blue2); }
.fline { width: 1px; height: 46px; background: linear-gradient(var(--blue2) 50%, transparent 50%) 0 0/1px 8px; animation: flowdash 1s linear infinite; }
@keyframes flowdash { to { background-position: 0 8px; } }
.fhub { width: 62px; height: 62px; border-radius: 50%; background: #000; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); position: relative; }
.fhub::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--blue2); opacity: 0; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.8); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.fhub img { width: 38px; filter: invert(1); }
/* ряд 3: наклонённые карточки */
.tilt { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 28px; padding: 0 24px; }
.tcard { background: #fff; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,.1); padding: 16px 18px; flex: 0 1 190px; min-width: 0; transition: transform 1.1s var(--spring), opacity .8s var(--ease); opacity: 0; }
.tcard .h6 { font-size: 18px; font-weight: 400; }
.tcard .sm { margin-bottom: 12px; }
.tcard.a { order: 2; margin-top: -24px; transform: rotate(10deg) translateY(60px); }
.tcard.b { margin-top: 24px; transform: rotate(-8deg) translateY(80px); }
.in .tcard.a { transform: rotate(5deg); opacity: 1; transition-delay: .15s; }
.in .tcard.b { transform: rotate(-4deg); opacity: 1; }
.tcard ul { list-style: none; display: grid; gap: 8px; }
.tcard li { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--t2); }
.tcard li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); flex: none; }
.tcard.b li::before { background: var(--blue2); }

/* ---------- отзывы: раскрывающаяся лента фото ---------- */
.tst { display: flex; gap: 10px; height: 320px; }
.tst-i { flex: 0 0 126px; position: relative; overflow: hidden; display: flex; background: var(--bg2); cursor: pointer; transition: flex-basis .8s var(--spring), flex-grow .8s var(--spring); }
.tst-i .ph { flex: 0 0 126px; height: 100%; background-size: cover; background-position: center; filter: grayscale(1); transition: filter .6s, flex-basis .8s var(--spring); }
.tst-i .q { flex: 1; min-width: 0; padding: 28px 32px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; transform: translateX(16px); transition: opacity .4s, transform .6s var(--spring); }
.tst-i.on { flex: 1 1 auto; cursor: default; }
.tst-i.on .ph { flex-basis: 190px; filter: none; }
.tst-i.on .q { opacity: 1; transform: none; transition-delay: .25s; }
.tst-i .q .who { font-size: 15px; color: var(--t2); }
.tst-i .q .lbl { font-size: 15px; font-weight: 700; letter-spacing: -.03em; display: flex; gap: 8px; align-items: center; }
.tst-i .q .h6 { max-width: 640px; }
.tst-i .q .h6.long { font-size: 17px; line-height: 1.45; }
.tst-i .q a { color: var(--blue); }
/* пять карточек: на средних ширинах свёрнутые уже, чтобы отзыв помещался целиком */
@media (min-width: 1200px) and (max-width: 1399px) {
  .tst-i, .tst-i .ph { flex-basis: 84px; }
  .tst-i.on .ph { flex-basis: 170px; }
}
@media (min-width: 1000px) and (max-width: 1199px) {
  .tst { height: 380px; }
  .tst-i, .tst-i .ph { flex-basis: 56px; }
  .tst-i.on .ph { flex-basis: 150px; }
}
@media (min-width: 810px) and (max-width: 999px) {
  .tst { flex-direction: column; height: auto; }
  .tst-i { flex: 0 0 72px; }
  .tst-i .ph { flex-basis: 96px; }
  .tst-i.on { flex: 0 0 auto; }
  .tst-i.on .ph { height: 280px; }
  .tst-i:not(.on) .q { display: none; }
}

/* ---------- тарифы → этапы работы ---------- */
.price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pcard { background: var(--bg2); padding: 24px; display: flex; flex-direction: column; gap: 0; }
.pcard .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.pcard .top .tag { padding: 3px 10px; }
.pcard .num { margin-bottom: 4px; }
.pcard .btn { width: 100%; margin: 24px 0 32px; }
.pcard ul { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.pcard li { display: flex; gap: 10px; font-size: 15px; color: var(--t2); line-height: 1.4; }
.pcard li::before { content: ''; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px; margin-top: 2px; }
.pcard.pop li::before { background-color: var(--blue2); }
.pcard .for { font-weight: 500; color: #000; }

/* ---------- сплит-ряд (О компании) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-vis { position: relative; background: var(--bg2); padding: 24px; }
/* команда: две равноправные карточки поверх фото, как карточка-оверлей шаблона */
.split-vis .team { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split-vis .fcard { background: #fff; padding: 12px 12px 18px; display: grid; gap: 14px; min-width: 0; }
.split-vis .fcard img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 20%; }
.split-vis .fcard .h6 { font-size: 17px; line-height: 1.3; }
.split-vis .fcard .sm b { font-weight: 600; color: #000; }
.split-txt { display: grid; gap: 16px; max-width: 520px; }
.split-txt .pill { width: max-content; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; padding-top: 28px; border-top: 1px dashed var(--line); }
.facts b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.04em; margin-bottom: 4px; }


/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.faq-l { display: grid; gap: 16px; max-width: 420px; }
.faq-l .btn { width: max-content; margin-top: 16px; }
.faq-r { background: var(--bg2); padding: 12px; display: grid; gap: 10px; }
.q-i { background: #fff; border-radius: 12px; box-shadow: 0 1px 20px rgba(0,0,0,.05); }
.q-i button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; padding: 18px 20px; font-size: 15px; font-weight: 500; }
.q-i button i { flex: none; width: 14px; height: 14px; position: relative; transition: transform .45s var(--spring); }
.q-i button i::before, .q-i button i::after { content: ''; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px; background: var(--t3); }
.q-i button i::after { transform: rotate(90deg); }
.q-i.on button i { transform: rotate(45deg); }
.q-i .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--spring); }
.q-i .a > div { overflow: hidden; }
.q-i .a p { padding: 0 20px 20px; max-width: 440px; }
.q-i.on .a { grid-template-rows: 1fr; }

/* ---------- финальный CTA ---------- */
.cta .frame { padding: 100px 64px; overflow: hidden; }
.cta-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 480px; gap: 56px; align-items: start; }
.cta-c { position: relative; z-index: 2; max-width: 520px; display: grid; gap: 16px; }
.cta-c .btn-row { margin-top: 16px; }
.cta-art { position: absolute; right: 0; bottom: 0; width: 66%; height: 100%; background: url(img/hero-desk.webp) 100% 20%/175% auto no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%), linear-gradient(transparent, #000 16%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 32%), linear-gradient(transparent, #000 16%); mask-composite: intersect; }
.cta-dots { position: absolute; inset: 0; -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 70% 20%, #000, transparent 70%); }
.contacts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 8px; font-size: 14px; color: var(--t2); }
.contacts a { border-bottom: 1px solid var(--line); }
.contacts a:hover { color: #000; border-color: #000; }

/* ---------- подвал ---------- */
.foot-sp { padding: 0 20px; }
.foot-sp .frame { height: 100px; padding: 0; border-bottom: 0; }
.foot { background: #000; color: #fff; padding: 0 20px; }
.foot .in { max-width: 1400px; margin: 0 auto; padding: 80px 64px 48px; }
.foot .row { display: flex; justify-content: space-between; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot .logo img { height: 22px; filter: invert(1); margin-bottom: 16px; }
.foot .h4 { color: rgba(255,255,255,.8); max-width: 380px; }
.foot .soc { display: flex; gap: 8px; margin-top: 40px; }
.foot .soc a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; transition: background .25s; }
.foot .soc a:hover { background: rgba(255,255,255,.2); }
.foot .cols { display: flex; gap: 56px; }
.foot .cols div { display: grid; gap: 10px; align-content: start; min-width: 120px; }
.foot .cols .xs { color: rgba(255,255,255,.6); font-size: 14px; margin-bottom: 4px; }
.foot .cols a { font-size: 15px; color: #fff; transition: opacity .2s; }
.foot .cols a:hover { opacity: .6; }
.foot .bot { padding-top: 32px; font-size: 14px; color: rgba(255,255,255,.6); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- блог → галерея кейсов ---------- */
.ph-hero .frame { padding: 140px 64px 120px; text-align: center; overflow: hidden; }
.ph-hero .dots { position: absolute; inset: 0; -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 10%, transparent 75%); }
.ph-hero .h1 { position: relative; max-width: 760px; margin: 0 auto; }
.ph-hero .lead { position: relative; max-width: 560px; margin: 20px auto 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filters button { height: 30px; padding: 0 12px; border-radius: 100px; font-size: 13px; background: var(--bg3); color: var(--t2); transition: background .25s, color .25s; }
.filters button:hover { background: var(--line2); }
.filters button.on { background: #000; color: #fff; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { position: relative; padding: 16px; background: var(--bg2); display: flex; flex-direction: column; gap: 20px; transition: background .35s var(--ease), opacity .4s, transform .5s var(--spring); }
.card:hover { background: var(--bg3); }
.card .th { aspect-ratio: 1600 / 1000; }
.card .th img { width: 100%; height: auto; aspect-ratio: 1600 / 1000; transition: transform .6s var(--spring); }
.card:hover .th img { transform: translateY(-4px); }
.card .info { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card .info .sm { font-weight: 500; text-align: right; }
.card hr { border: 0; border-top: 1px dashed var(--line); }
.card .txt { display: grid; gap: 8px; }
.card .by { font-size: 14px; color: var(--t2); font-weight: 500; }
.card .by b { color: #000; font-weight: 600; }
.card.hide { display: none; }

/* ---------- статья → страница кейса ---------- */
.post-hero .frame { padding: 80px 64px 64px; overflow: hidden; }
.post-hero .dots { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); mask-image: linear-gradient(90deg, transparent 30%, #000 100%); }
.crumbs { position: relative; display: flex; gap: 8px; font-size: 14px; color: var(--t2); margin-bottom: 40px; }
.crumbs a:hover { color: #000; }
.post-hero .h3 { position: relative; max-width: 860px; margin-bottom: 20px; }
.post-hero .lead { position: relative; max-width: 800px; }
.post { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; }
.post-hero-img { margin-bottom: 56px; }
.cover img { width: 100%; height: auto; aspect-ratio: 1600 / 1000; }
.shot { background: var(--bg2); padding: 16px; }
.shot img { margin: 0 auto; height: auto; }
.shot figcaption, .fig figcaption { font-size: 14px; color: var(--t2); margin-top: 12px; }
.prose { min-width: 0; }
.prose section > :not(.fig) { max-width: 650px; }
.prose section { padding: 40px 0; border-bottom: 1px dashed var(--line); }
.prose section:first-child { padding-top: 0; }
.prose section:last-child { border-bottom: 0; }
.prose .h4 { margin-bottom: 18px; }
.prose p, .prose li { font-size: 15px; line-height: 1.5; color: var(--t2); }
.prose p + p, .prose p + ul, .prose ul + p, .prose .tbl + p, .prose p + .tbl, .prose ul + .tbl { margin-top: 14px; }
.prose strong { color: #000; font-weight: 600; }
.prose ul { list-style: none; display: grid; gap: 8px; }
.prose li { padding-left: 18px; position: relative; }
.prose li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue2); }
.tbl { overflow-x: auto; background: var(--bg2); padding: 4px 16px; }
.tbl table { border-collapse: collapse; width: 100%; font-size: 14px; }
.tbl th { text-align: left; font-weight: 500; color: #000; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line2); white-space: nowrap; }
.tbl td { padding: 10px 12px 10px 0; color: var(--t2); border-bottom: 1px dashed var(--line2); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.fig { margin-top: 32px; background: var(--bg2); padding: 16px; overflow-x: auto; }
.fig img { margin: 0 auto; height: auto; }
.side { position: sticky; top: 100px; display: grid; gap: 12px; }
.side-box { background: var(--bg2); padding: 20px; display: grid; gap: 16px; }
.side-box .btn { width: 100%; }
.side-box .k { font-size: 14px; font-weight: 500; color: var(--t2); }
.side-box .v { font-size: 15px; color: #000; margin-top: 2px; }
.side-box.st .v { display: inline-flex; align-items: center; gap: 6px; }
.side-box.st .v::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #3aa65a; }
.mets { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 56px; }
.met { background: var(--bg2); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.met .num { font-size: 28px; }
.met .p { color: #000; font-size: 14px; }
.met .xs { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--t3); }
.more-h { margin-bottom: 32px; }

/* ---------- адаптив: планшет ---------- */
@media (max-width: 1199px) {
  .frame { padding: 80px 40px; }
  .nav .frame { padding: 16px 40px; }
  .hero-c { padding: 56px 40px; }

  .demo .frame { padding: 48px 40px; }
  .logos .frame { padding: 48px 0; }
  .logos .cap { padding: 0 40px; }
  .hero-bot { display: block; }
  .pin { display: none; }
  .feat { grid-template-columns: 1fr 1fr; gap: 40px; }
  .orbit-sec { grid-template-columns: 1fr; }
  .orbit-text { padding: 0; }
  .canvas { height: 560px; }
  .sol { grid-template-columns: 1fr; }
  .sol-nav { display: none; }
  .sol-row .txt .tag { display: inline-flex; }
  .sol-row { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .app { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .app-side button { align-self: center; }
  .app-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line3); padding: 10px 12px; scrollbar-width: none; }
  .app-side .ws, .app-side button small { display: none; }
  .app-side button { flex: none; }
  .split { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 40px; }
  .post { grid-template-columns: 1fr; }
  .side { position: static; grid-row: 1; }
  .foot .in { padding: 64px 40px 40px; }
  .post-hero .frame, .ph-hero .frame { padding-left: 40px; padding-right: 40px; }
}

/* ---------- адаптив: телефон ---------- */
@media (max-width: 809px) {
  .sec, .nav, .foot-sp { padding: 0 6px; }
  .frame { padding: 64px 20px; }
  .nav .frame { padding: 16px 20px; height: 64px; }
  .nav .links, .nav .cta-top { display: none; }
  .nav .burger { display: grid; }
  .mmenu { display: grid; position: absolute; left: 6px; right: 6px; top: 64px; background: #fff; border: 1px dashed var(--line); border-top: 0; padding: 8px 20px 24px; gap: 4px; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .3s var(--ease), transform .4s var(--spring); }
  .mmenu a { font-size: 20px; font-weight: 500; letter-spacing: -.04em; padding: 10px 0; border-bottom: 1px dashed var(--line); }
  .mmenu .btn { margin-top: 16px; width: 100%; }
  .nav.open .mmenu { opacity: 1; transform: none; pointer-events: auto; }
  .h1 { font-size: 34px; }
  .h2 { font-size: 28px; }
  .h3 { font-size: 32px; }
  .h4, .statement { font-size: 22px; }
  .lead { font-size: 16px; }
  .head-c { margin-bottom: 40px; }
  .hero .frame { grid-template-columns: 1fr; min-height: 0; }
  .hero-c { padding: 48px 20px; }
  .hero-c .btn-row { width: 100%; flex-direction: column; }
  .hero-c .btn-row .btn { width: 100%; }
  .hero-art { min-height: 480px; padding: 32px 16px; }

  .logos .frame { padding: 48px 0; }
  .logos .cap { padding: 0 20px; }
  .feat { grid-template-columns: 1fr; }
  .feat-media { height: 300px; order: 2; }
  .feat-media figure { left: 20px; top: 20px; }
  .demo .frame { padding: 40px 16px; }
  .app { height: auto; }
  .app-shot { flex: none; aspect-ratio: 1600 / 1000; margin-bottom: 16px; }
  .app-top { padding: 16px; flex-direction: column; }
  .kpis { grid-template-columns: 1fr 1fr; padding: 0 16px 12px; }
  .app-shot { margin: 0 16px; }
  .stats { grid-template-columns: 1fr; row-gap: 28px; }
  .stat { border-left: 0; padding: 0 0 28px; border-bottom: 1px dashed var(--line); }
  .stat:last-child { border-bottom: 0; padding-bottom: 0; }
  .canvas { height: 380px; }
  .ringw { transform: scale(.62); }
  .sol-row { grid-template-columns: 1fr; }
  .sol-vis { height: 300px; }
  .vmarq .track { width: 300px; margin-left: -150px; }
  .vmarq .focus { width: 320px; }
  .tilt { gap: 16px; padding: 0 16px; }
  .tst { flex-direction: column; height: auto; }
  .tst-i { flex: 0 0 72px; transition: flex-basis .8s var(--spring); }
  .tst-i .ph { flex-basis: 96px; }
  .tst-i.on { flex: 0 0 auto; flex-direction: column; }
  .tst-i.on .ph { flex-basis: 260px; height: 260px; }
  .tst-i .q { padding: 20px; }
  .tst-i:not(.on) .q { display: none; }
  .price { grid-template-columns: 1fr; }

  .split-vis { padding: 12px; }
  .split-vis .team { gap: 8px; }
  .facts { grid-template-columns: 1fr; gap: 16px; }
  .cta .frame { padding: 64px 20px 0; min-height: 0; display: flex; flex-direction: column; }
  .cta-grid { order: 1; grid-template-columns: 1fr; gap: 32px; }
  .cta-art { order: 2; position: relative; width: auto; height: 280px; margin: 24px -20px 0; -webkit-mask-image: linear-gradient(transparent, #000 18%); mask-image: linear-gradient(transparent, #000 18%); }
  .cta-c .btn-row { flex-direction: column; }
  .cta-c .btn-row .btn { width: 100%; }
  .foot { padding: 0 6px; }
  .foot .in { padding: 56px 20px 32px; }
  .foot .row { flex-direction: column; }
  .foot .cols { flex-wrap: wrap; gap: 32px; }
  .ph-hero .frame { padding: 88px 20px 72px; }
  .post-hero .frame { padding: 48px 20px 40px; }
  .cards { grid-template-columns: 1fr; }
  .mets { grid-template-columns: 1fr 1fr; }
  .met .num { font-size: 26px; }
  .shot, .fig { padding: 10px; }
}

/* ---------- уменьшение движения ---------- */
/* ---------- финальная версия: окно кейсов, форма, агент, диалог ---------- */
.acc-i .b p.pain { color: #000; font-weight: 500; }
.demo-head { position: relative; z-index: 1; margin-bottom: 40px; max-width: 720px; }
.app-shot > img.on + .yt-ov { animation: drift 11s ease-in-out infinite alternate; }
.app-shot .yt-ov img { position: static; inset: auto; margin: 0; max-width: 100%; max-height: none; aspect-ratio: auto; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.035) translateY(-5px); } }
.app-side button { position: relative; overflow: hidden; }
.app.auto .app-side button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #000; transform-origin: left; animation: prog 6s linear; }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.kpi { animation: kpi-in .5s var(--spring); }
@keyframes kpi-in { from { opacity: 0; transform: translateY(6px); } }
.mouse { position: absolute; z-index: 2; left: 24%; top: 30%; pointer-events: none; animation: mouse 13s ease-in-out infinite; }
@keyframes mouse { 0%, 100% { left: 24%; top: 30%; } 28% { left: 62%; top: 44%; } 52% { left: 44%; top: 68%; } 76% { left: 72%; top: 26%; } }
.live { position: absolute; z-index: 2; left: 50%; bottom: 14px; transform: translateX(-50%); max-width: calc(100% - 24px); min-height: 34px; display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 100px; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.16); font-size: 13px; white-space: nowrap; overflow: hidden; }
.live i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #3aa65a; animation: live-dot 1.6s ease-in-out infinite; }
@keyframes live-dot { 50% { opacity: .35; } }
.live span { overflow: hidden; text-overflow: ellipsis; }
.kpis:has(.kpi:only-child) { grid-template-columns: 1fr; }
.kpi .xs, .kpi b { white-space: normal; }

.cform { position: relative; background: #fff; border-radius: 16px; box-shadow: 0 15px 40px rgba(0,0,0,.14); padding: 24px; display: grid; gap: 14px; }
.cform-h { display: grid; gap: 2px; margin-bottom: 4px; }
.cform label { display: grid; gap: 6px; font-size: 13px; color: var(--t2); min-width: 0; }
.cform small { color: var(--t3); font-size: 12px; }
.cform input, .cform textarea { width: 100%; font: inherit; font-size: 15px; color: #000; background: var(--bg2); border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line2); padding: 10px 12px; transition: box-shadow .2s; }
.cform input:focus, .cform textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px #000; }
.cform textarea { resize: vertical; min-height: 84px; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cform-send { width: 100%; }
.cform-send:disabled { opacity: .6; cursor: default; }
.cform-status { font-size: 14px; color: #b3261e; }
.cform-status:empty { display: none; }
.cform-status.ok { color: #1f7a3d; }
.cform-note { color: var(--t3); }

.botdlg { margin: auto; width: min(560px, calc(100vw - 24px)); height: min(720px, calc(100dvh - 24px)); border: 0; border-radius: 16px; padding: 12px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.botdlg[open] { display: flex; flex-direction: column; gap: 10px; }
.botdlg::backdrop { background: rgba(0,0,0,.55); backdrop-filter: blur(4px); }
.botdlg-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 6px; }
.botdlg-bar form button { width: 32px; height: 32px; border-radius: 50%; background: var(--bg3); font-size: 18px; line-height: 1; }
.botdlg iframe { flex: 1; min-height: 0; width: 100%; border: 0; border-radius: 10px; background: var(--bg2); }
.botdlg-note { padding: 0 6px 2px; color: var(--t3); }

.prose section > .chat { max-width: 650px; margin-top: 24px; }
.chat-bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--bg3); border-radius: 12px 12px 0 0; font-size: 14px; }
.chat-bar b { font-weight: 500; }
.chat-log { display: grid; gap: 8px; padding: 16px; background: var(--bg2); border-radius: 0 0 12px 12px; }
.prose .chat-log .msg { justify-self: start; max-width: 82%; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line2); color: #000; font-size: 14px; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .45s var(--spring); }
.prose .chat-log .msg.bot { justify-self: end; background: #000; color: #fff; box-shadow: none; }
.prose .chat-log .msg.on { opacity: 1; transform: none; }
.chat figcaption { font-size: 14px; color: var(--t2); margin-top: 12px; }
.chat figcaption button { text-decoration: underline; color: #000; }

@media (max-width: 1199px) {
  .cta-grid { grid-template-columns: 1fr 420px; gap: 32px; }
}
@media (max-width: 999px) {
  .cta-grid { grid-template-columns: 1fr; }
  .cta-art { background-size: cover; background-position: 70% 20%; }
}
@media (max-width: 809px) {
  .cta-art { background-size: auto 130%; background-position: 100% 60%; }
  .cform { padding: 18px; }
  .cform-row { grid-template-columns: 1fr; }
  .live { font-size: 12px; bottom: 8px; min-height: 28px; padding: 4px 10px; }
  .mouse { display: none; }
  .btn-bot { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .mouse { display: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-a] { opacity: 1; transform: none; }
  .statement .w.off { color: #000; }
  .ribbon { -webkit-mask-image: none; mask-image: none; }
  .ribbon .row { width: auto; }
  .ribbon .set { flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 20px; }
  .ribbon .set[aria-hidden] { display: none; }
  .ribbon .pill { padding: 6px 12px; font-size: 13px; }
  .tcard { opacity: 1; }
  .ring .node > div > span { transform: none; opacity: 1; }
}
