/* Docs Figma Site — лендинг Docs Wizard (макет landing pages.fig, страница «docs wizard»:
   desktop 10:2 / mobile 81:1654 / табы ролей 83:1523 / 404 642:10335).
   Разметка — Flexbox-контейнеры и нативные виджеты Elementor; оформление только здесь, по CSS-классам.
   Анимации, которых нет в .fig, перенесены с прежней версии docs.mergifai.com.
   Все правила под body.docs-site: на остальной сайт не влияют. */

body.docs-site{
  --docs-grad:linear-gradient(90deg,#3C8BEB,#42B1B9,#49DA84);
  --docs-ink:#000;
  --docs-muted:#808080;
  --docs-dark:#024059;
  --docs-line:rgba(148,148,148,.3);
  --docs-shadow:0 4px 10px rgba(0,0,0,.08);
  --docs-soft:rgba(148,148,148,.1);
  --docs-arrow:url(../images/icons/arrow-right.svg);
  background:#fff !important;
  color:var(--docs-ink);
  font-family:'Manrope',sans-serif;
  overflow-x:clip;
}
html:has(body.docs-site){overflow-x:clip;scroll-behavior:smooth;}
body.docs-site [id^="docs-"]{scroll-margin-top:65px;}
body.docs-site *{box-sizing:border-box;}

/* ---------- сброс Elementor: отступы контейнеров и виджетов задаём сами ---------- */
body.docs-site .e-con{--padding-top:0px;--padding-right:0px;--padding-bottom:0px;--padding-left:0px;--gap:0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--min-height:0px;}
body.docs-site .elementor-widget{margin:0 !important;}
body.docs-site .elementor-heading-title{margin:0;padding:0;font-family:'Manrope',sans-serif;color:var(--docs-ink);line-height:1.35;}
body.docs-site .elementor-widget-text-editor{font-family:'Manrope',sans-serif;color:var(--docs-ink);}
body.docs-site .elementor-widget-text-editor p{margin:0;}
body.docs-site .elementor-heading-title a{color:inherit;text-decoration:none;}

/* градиентный текст */
body.docs-site :is(.docs-h1--gt,.docs-h2--gt,.docs-case-no,.docs-case-st.is-done,.docs-role-who,.docs-stat-v--gt,.docs-logo-word) .elementor-heading-title{background:var(--docs-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;}
body.docs-site :is(.docs-h2--gt,.docs-case-no,.docs-case-st,.docs-role-who){align-self:flex-start;}

/* ::before у контейнеров Elementor занят под фоновый оверлей (absolute, opacity, переход) — для своих псевдоэлементов сбрасываем */
body.docs-site :is(.docs-file,.docs-ai,.docs-ai-box,.docs-hero-visual,.docs-why,.docs-cases-sec,.docs-roles-sec,.docs-404)::before{opacity:1;mix-blend-mode:normal;border:0;transition:none;}
body.docs-site :is(.docs-file,.docs-ai)::before{position:relative;top:auto;left:auto;display:block;}

/* стрелка Phosphor ArrowRight (маской) — для пустых контейнеров-стрелок */
body.docs-site :is(.docs-cmp-arr,.docs-to,.docs-stats-arr){flex:none;background:#343330;-webkit-mask:var(--docs-arrow) center/contain no-repeat;mask:var(--docs-arrow) center/contain no-repeat;}

/* ---------- сетка: колонка 1300, вертикальный ритм как в макете ---------- */
body.docs-site .docs-sec{position:relative;display:flex;flex-direction:column;width:100%;max-width:1340px;margin:0 auto;padding:120px 20px 0;}
body.docs-site .docs-sec--header{position:sticky;top:0;z-index:50;max-width:none;padding:0;}
.admin-bar.docs-site .docs-sec--header{top:32px;}
body.docs-site .docs-sec--footer{max-width:none;padding:0;}
body.docs-site .docs-head{display:flex;flex-direction:column;gap:25px;}

/* ---------- типографика (Manrope) ---------- */
body.docs-site .docs-h1 .elementor-heading-title{font-size:64px;font-weight:500;line-height:1.36;text-align:center;}
body.docs-site .docs-label .elementor-heading-title{font-size:20px;font-weight:500;}
body.docs-site .docs-h2 .elementor-heading-title{font-size:36px;font-weight:600;}
body.docs-site .docs-p p{font-size:20px;font-weight:400;line-height:1.35;}
body.docs-site .docs-p p + p{margin-top:27px;}
body.docs-site .docs-medium p{font-weight:500;}
body.docs-site .docs-muted p{font-size:20px;font-weight:500;line-height:1.35;color:var(--docs-muted);}
body.docs-site .docs-card-h .elementor-heading-title{font-size:24px;font-weight:500;}

/* ---------- кнопки (компоненты 62:175 / 62:176 / 506:724) ---------- */
body.docs-site .docs-btnrow{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:20px;}
body.docs-site .docs-btn .elementor-button{display:inline-flex;align-items:center;justify-content:center;min-width:200px;height:40px;padding:0 16px;border-radius:12px;font:500 16px/1 'Manrope',sans-serif;text-decoration:none;white-space:nowrap;box-shadow:none;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;}
body.docs-site .docs-btn .elementor-button-content-wrapper{display:flex;align-items:center;gap:5px;}
body.docs-site .docs-btn--primary .elementor-button{background:var(--docs-grad);color:#fff;border:0;}
body.docs-site .docs-btn--primary .elementor-button:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(60,139,235,.3);color:#fff;}
body.docs-site .docs-btn--secondary .elementor-button{background:#fff;color:#000;border:1px solid rgba(85,85,85,.3);border-radius:10px;}
body.docs-site .docs-btn--secondary .elementor-button:hover{border-color:#42B1B9;transform:translateY(-2px);color:#000;}
body.docs-site .docs-btn--wide .elementor-button{min-width:250px;}
body.docs-site .docs-btn--arr .elementor-button-content-wrapper::after,
.docs-btn--arr.docs-btn::after{content:"";width:20px;height:20px;flex:none;background:currentColor;-webkit-mask:var(--docs-arrow) center/contain no-repeat;mask:var(--docs-arrow) center/contain no-repeat;}

/* ---------- шапка (шаблон docs_Шапка, компонент 506:729) ---------- */
body.docs-site .docs-header{display:block;background:#fff;border-bottom:1px solid var(--docs-line);}
body.docs-site .docs-shell{position:relative;display:flex;flex-direction:row;align-items:center;gap:40px;max-width:1340px;min-height:65px;margin:0 auto;padding:0 20px;}
body.docs-site .docs-logo{display:flex;flex-direction:row;align-items:center;gap:10px;width:auto;margin-right:auto;}
body.docs-site .docs-logo-mark img{display:block;width:40px;height:40px;}
body.docs-site .docs-logo-word .elementor-heading-title{font-size:20px;font-weight:700;line-height:1;}
body.docs-site .docs-nav{position:absolute;left:50%;transform:translateX(-50%);display:flex;flex-direction:row;gap:50px;width:auto;}
body.docs-site .docs-nav-link .elementor-heading-title{font-size:16px;font-weight:500;line-height:1.4;}
body.docs-site .docs-nav-link a{transition:color .4s ease;} /* hover — вариант 506:718, Smart animate */
body.docs-site .docs-nav-link a:hover{color:#40C458;}
body.docs-site .docs-headbtn .elementor-button{display:inline-flex;align-items:center;justify-content:center;width:200px;height:40px;padding:0;border:0;border-radius:10px;background:var(--docs-dark);color:#fff;font:500 16px/1 'Manrope',sans-serif;transition:transform .2s ease,background .2s ease;}
body.docs-site .docs-headbtn .elementor-button:hover{background:#03506f;transform:translateY(-2px);color:#fff;}
.docs-burger,.docs-mnav{display:none;}
body.docs-site .docs-burger,body.docs-site .docs-mnav-close{border:0 !important;box-shadow:none !important;background:none !important;color:#000 !important;padding:0 !important;}

/* ---------- размытые круги-подсветки (эллипсы с blur в .fig) ---------- */
body.docs-site .docs-hero-visual::before,body.docs-site .docs-hero-visual::after{content:"";position:absolute;border-radius:50%;z-index:0;pointer-events:none;}
body.docs-site .docs-hero-visual::before{width:294px;height:289px;left:-80px;top:-83px;background:#3C8BEB;filter:blur(120px);opacity:.45;}
body.docs-site .docs-hero-visual::after{width:160px;height:160px;right:30px;top:-322px;background:#49DA84;filter:blur(90px);opacity:.7;}
body.docs-site :is(.docs-why,.docs-cases-sec,.docs-roles-sec)::before{content:"";position:absolute;left:50%;transform:translateX(-50%);width:1210px;max-width:100%;height:471px;border-radius:50%;z-index:-1;pointer-events:none;filter:blur(130px);opacity:.18;}
body.docs-site .docs-why::before{top:160px;background:var(--docs-grad);}
body.docs-site .docs-cases-sec::before{top:160px;height:552px;background:#40C458;}
body.docs-site .docs-roles-sec::before{top:180px;background:#3C8BEB;}

/* ---------- hero ---------- */
body.docs-site .docs-hero{align-items:center;padding-top:99px;}
body.docs-site .docs-hero > .docs-h1{width:100%;}
body.docs-site .docs-hero > .docs-h1--gt{width:auto;}
body.docs-site .docs-hero > .docs-btnrow{margin-top:34px;}
body.docs-site .docs-tags{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:20px;margin-top:34px;width:auto;}
body.docs-site .docs-tag .elementor-heading-title{display:inline-block;padding:3px 4px;border-radius:4px;background:#e5e5e5;font:500 14px/17px 'Manrope',sans-serif;color:#555;}
body.docs-site .docs-hero-visual{position:relative;width:100%;max-width:1040px;margin-top:52px;}
body.docs-site .docs-flowcard{position:relative;z-index:1;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:60px;min-height:360px;padding:20px;border-radius:20px;background:#fff;box-shadow:var(--docs-shadow);}
body.docs-site .docs-files{display:flex;flex-direction:column;gap:25px;width:280px;flex:none;}
body.docs-site .docs-files--out{width:283px;}
body.docs-site .docs-files-title .elementor-heading-title{font-size:20px;font-weight:500;color:var(--docs-dark);}

/* строка файла: значок (CSS), название, тип */
body.docs-site .docs-file{position:relative;overflow:hidden;display:flex;flex-direction:row;align-items:center;gap:28px;height:50px;padding:0 14px;border-radius:10px;background:#fff;border:1px solid #e2e2e2;animation:docs-feed 7.8s ease-in-out infinite;will-change:transform,opacity;}
body.docs-site .docs-file::before{content:"";flex:none;width:24px;height:22px;border-radius:4px;background:url(../images/icons/doc-blue.svg) center/16px no-repeat,rgba(0,133,255,.1);}
body.docs-site .docs-file-name{flex:1;min-width:0;}
body.docs-site .docs-file-name .elementor-heading-title{font-size:14px;font-weight:500;line-height:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body.docs-site .docs-file.is-dim .docs-file-name .elementor-heading-title,
body.docs-site .docs-file-type .elementor-heading-title{font-size:14px;font-weight:500;line-height:19px;color:#747474;}
body.docs-site .docs-file.is-ok{background:rgba(73,218,132,.05);border-color:rgba(73,218,132,.1);animation-name:docs-feed-done;}
body.docs-site .docs-file.is-ok::before{background:url(../images/icons/doc-green.svg) center/16px no-repeat,rgba(73,218,132,.1);}
/* Анимация строк «Поток документов» — как на docs.mergifai.com: строки по очереди всплывают, подсвечиваются и «бликуют» */
body.docs-site .docs-file::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent 12%,rgba(255,255,255,.78) 48%,transparent 82%);opacity:0;transform:translateX(-115%);animation:docs-shine 7.8s ease-in-out infinite;}
body.docs-site .docs-file.is-ok::after{background:linear-gradient(100deg,transparent 12%,rgba(73,218,132,.18) 48%,transparent 82%);}
body.docs-site .docs-files > .docs-file:nth-child(3),body.docs-site .docs-files > .docs-file:nth-child(3)::after{animation-delay:1.35s;}
body.docs-site .docs-files > .docs-file:nth-child(4),body.docs-site .docs-files > .docs-file:nth-child(4)::after{animation-delay:2.7s;}
@keyframes docs-feed{0%,62%,100%{opacity:1;transform:none;border-color:#e2e2e2;box-shadow:none;}8%{opacity:0;transform:translateY(8px);}18%{opacity:1;transform:none;border-color:rgba(60,139,235,.55);box-shadow:0 8px 18px rgba(60,139,235,.1);}34%{border-color:#e2e2e2;box-shadow:none;}}
@keyframes docs-feed-done{0%,62%,100%{opacity:1;transform:none;border-color:rgba(73,218,132,.1);box-shadow:none;}8%{opacity:0;transform:translateY(8px);}18%{opacity:1;transform:none;border-color:rgba(73,218,132,.45);box-shadow:0 8px 18px rgba(73,218,132,.1);}34%{border-color:rgba(73,218,132,.1);box-shadow:none;}}
@keyframes docs-shine{0%,16%,100%{opacity:0;transform:translateX(-115%);}20%{opacity:1;}34%{opacity:0;transform:translateX(115%);}}

/* «в реальном времени»: пульсирующая точка с волной */
body.docs-site .docs-live{align-self:flex-end;}
body.docs-site .docs-live .elementor-heading-title{position:relative;display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:500;line-height:22px;color:#40C458;}
body.docs-site .docs-live .elementor-heading-title::before{content:"";flex:none;width:20px;height:20px;border-radius:50%;background:#49DA84;animation:docs-live-pulse 1.6s ease-out infinite;}
body.docs-site .docs-live .elementor-heading-title::after{content:"";position:absolute;left:-8px;top:calc(50% - 18px);width:36px;height:36px;border-radius:50%;background:rgba(73,218,132,.26);z-index:-1;animation:docs-live-wave 1.6s ease-out infinite;}
@keyframes docs-live-pulse{0%,100%{transform:scale(1);}50%{transform:scale(.86);}}
@keyframes docs-live-wave{0%{opacity:.65;transform:scale(.45);}100%{opacity:0;transform:scale(1.35);}}

/* AI: стрелки сверху/снизу, вращающаяся пунктирная рамка, карточка */
body.docs-site .docs-ai{display:flex;flex-direction:column;align-items:center;width:258px;flex:none;}
body.docs-site .docs-ai::before,body.docs-site .docs-ai::after{content:"";width:36px;height:36px;flex:none;background:#343330;-webkit-mask:var(--docs-arrow) center/contain no-repeat;mask:var(--docs-arrow) center/contain no-repeat;}
body.docs-site .docs-ai-box{position:relative;display:grid;place-items:center;width:220px;height:220px;margin:9px 0 30px;}
body.docs-site .docs-ai-box::before{content:"";position:absolute;inset:0;width:auto;height:auto;border-radius:40px;border:1px dashed #49DA84;background:rgba(73,218,132,.1);animation:docs-orbit 10s linear infinite;}
@keyframes docs-orbit{from{transform:rotate(-5.06deg);}to{transform:rotate(354.94deg);}}
body.docs-site .docs-ai-card{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:200px;height:200px;border-radius:40px;background:linear-gradient(180deg,#3C8BEB,#42B1B9 45%,#49DA84 97%);box-shadow:0 4px 10px rgba(73,218,132,.2);text-align:center;}
body.docs-site .docs-ai-t .elementor-heading-title{font-size:64px;font-weight:500;line-height:87px;color:#fff;}
body.docs-site .docs-ai-s .elementor-heading-title{max-width:160px;margin:0 auto;font-size:20px;font-weight:500;line-height:27px;color:#fff;}

/* ---------- появление секций при прокрутке (как на docs.mergifai.com): +20px → 0, 0.5 с ---------- */
.docs-reveal-ready{opacity:0;transform:translateY(20px);transition:opacity .5s ease-out,transform .5s ease-out;}
.docs-reveal-ready.is-visible{opacity:1;transform:none;}

/* ---------- «Зачем это нужно» (Frame 59): текст 447 + сравнение 794 ---------- */
body.docs-site .docs-why{gap:25px;}
body.docs-site .docs-why-row{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;gap:33px;}
body.docs-site .docs-why-text{flex:0 1 447px;}
body.docs-site .docs-why-cmp{display:flex;flex-direction:column;align-items:center;gap:50px;flex:0 1 794px;width:auto;}
body.docs-site .docs-cmp-note{max-width:673px;text-align:center;}
body.docs-site .docs-cmp{display:flex;flex-direction:row;align-items:stretch;justify-content:center;gap:40px;}
body.docs-site .docs-cmp-col{display:flex;flex-direction:column;justify-content:center;gap:20px;flex:0 1 330px;width:330px;min-height:270px;padding:25px;border-radius:20px;background:#fff;border:1px solid var(--docs-line);box-shadow:var(--docs-shadow);}
body.docs-site .docs-cmp-head{display:flex;flex-direction:row;align-items:center;gap:10px;}
body.docs-site .docs-badge{flex:none;}
body.docs-site .docs-badge .elementor-heading-title{display:inline-block;padding:3px 4px;border-radius:4px;font:500 14px/17px 'Inter','Manrope',sans-serif;}
body.docs-site .docs-badge.is-was .elementor-heading-title{background:rgba(255,150,27,.1);color:#FF9F2D;}
body.docs-site .docs-badge.is-now .elementor-heading-title{background:#D2E5D9;color:#009F37;}
body.docs-site .docs-cmp-title .elementor-heading-title{font-size:14px;font-weight:500;line-height:18px;}
body.docs-site .docs-cmp-time .elementor-heading-title{font-size:24px;font-weight:600;line-height:33px;}
body.docs-site .docs-cmp-list ul{list-style:none;margin:0;padding:0;font:500 14px/1.7 'Manrope',sans-serif;}
body.docs-site .docs-cmp-list li{margin:0;}
body.docs-site .docs-cmp-arr{width:54px;height:54px;align-self:center;}

/* ---------- «Как это работает» (Frame 49): 5 карточек 240×240 ---------- */
body.docs-site .docs-steps-sec{padding-top:155px;gap:25px;}
body.docs-site .docs-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:25px;}
body.docs-site .docs-step{display:flex;flex-direction:column;justify-content:flex-start;gap:12px;min-height:240px;padding:30px 20px 20px;border-radius:20px;background:#fff;border:1px solid var(--docs-line);box-shadow:var(--docs-shadow);transition:transform .3s ease,box-shadow .3s ease;}
body.docs-site .docs-step:hover{transform:translateY(-4px);box-shadow:0 4px 10px rgba(73,218,132,.2);}
body.docs-site .docs-step-no .elementor-heading-title{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:var(--docs-grad);color:#fff;font-size:28px;font-weight:500;line-height:1;}
body.docs-site .docs-step-t .elementor-heading-title{font-size:24px;font-weight:500;line-height:33px;}
body.docs-site .docs-step-d p{font:500 16px/1.4 'Manrope',sans-serif;color:var(--docs-muted);}

/* ---------- «Что умеет» (Frame 50): иконка 68, заголовок, описание ---------- */
body.docs-site .docs-caps-sec{padding-top:97px;gap:25px;}
body.docs-site .docs-caps{display:flex;flex-direction:column;gap:50px;max-width:1210px;}
body.docs-site .docs-cap{display:grid;grid-template-columns:68px 310px 1fr;align-items:center;gap:30px;}
body.docs-site .docs-dot68{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:#fff;box-shadow:0 2.7px 13.6px rgba(0,0,0,.08);}
body.docs-site .docs-dot68 img{display:block;width:50px;height:50px;}
body.docs-site .docs-cap-t .elementor-heading-title{font-size:24px;font-weight:600;}
body.docs-site .docs-cap-d p{max-width:826px;font:400 20px/1.35 'Manrope',sans-serif;}

/* ---------- карточки с градиентной рамкой (сценарии, ИИ, роли) ---------- */
body.docs-site .docs-card{position:relative;background:#fff;border-radius:20px;box-shadow:var(--docs-shadow);transition:transform .3s ease,box-shadow .3s ease;}
body.docs-site .docs-card::after{content:"";position:absolute;inset:0;border-radius:20px;padding:1px;background:var(--docs-grad);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;}
body.docs-site :is(.docs-case,.docs-aicard):hover{transform:translateY(-4px);box-shadow:0 4px 10px rgba(73,218,132,.2);}

/* «Готовые сценарии» (Frame 51): 2×2 */
body.docs-site .docs-cases-sec{padding-top:102px;gap:25px;}
body.docs-site .docs-cases{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
body.docs-site .docs-case{display:flex;flex-direction:column;justify-content:flex-start;gap:12px;min-height:264px;padding:30px 20px 20px;}
body.docs-site .docs-case-no .elementor-heading-title,body.docs-site .docs-case-st .elementor-heading-title{font-size:20px;font-weight:500;line-height:27px;}
body.docs-site .docs-case-st .elementor-heading-title{color:var(--docs-dark);}

/* «Как помогает ИИ» (Frame 52): текст 1080 + 3 карточки 420×340 */
body.docs-site .docs-ai-sec{padding-top:64px;gap:25px;}
body.docs-site .docs-lead p{max-width:1080px;}
body.docs-site .docs-aicards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
body.docs-site .docs-aicard{display:flex;flex-direction:column;justify-content:flex-start;gap:15px;min-height:340px;padding:40px 20px 20px;}
body.docs-site .docs-demo{border-radius:5px;background:var(--docs-soft);padding:15px;}
body.docs-site .docs-pair{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:10px;text-align:center;}
body.docs-site .docs-pair-col{display:flex;flex-direction:column;gap:10px;flex:1 1 0;}
body.docs-site .docs-pair-t .elementor-heading-title{font-size:16px;font-weight:500;line-height:1.4;}
body.docs-site .docs-pair-s .elementor-heading-title{font-size:14px;font-weight:400;line-height:19px;}
body.docs-site .docs-to{width:20px;height:20px;}
body.docs-site .docs-models{display:flex;flex-direction:column;gap:10px;padding:15px 10px;}
body.docs-site .docs-model{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:10px;}
body.docs-site .docs-model + .docs-model{padding-top:10px;border-top:1px solid var(--docs-line);}
body.docs-site .docs-model .elementor-heading-title{font-size:14px;font-weight:500;line-height:19px;}
body.docs-site .docs-model-v.is-fast .elementor-heading-title{color:#40C458;}
body.docs-site .docs-model-v.is-pro .elementor-heading-title{color:#3C8BEB;}

/* «Эффект — для каждой роли свой» (Frame 53 + Section 1): кнопки-табы + панели */
body.docs-site .docs-roles-sec{padding-top:94px;gap:25px;}
body.docs-site .docs-roles{display:flex;flex-direction:column;gap:25px;}
body.docs-site .docs-tabs{display:flex;flex-direction:row;flex-wrap:wrap;gap:20px;}
body.docs-site .docs-tab .elementor-button{display:inline-flex;align-items:center;height:40px;padding:0 10px;min-width:116px;justify-content:center;border-radius:30px;border:1px solid var(--docs-line);background:#fff;color:#747474;font:500 16px/1 'Manrope',sans-serif;box-shadow:none;transition:background .2s ease,color .2s ease,border-color .2s ease;}
body.docs-site .docs-tab .elementor-button:hover{color:#000;border-color:#42B1B9;}
body.docs-site .docs-tab.is-active .elementor-button{background:var(--docs-dark);border-color:var(--docs-dark);color:#fff;padding:0 18px;}
body.docs-site .docs-tab .elementor-button:focus-visible{outline:2px solid #42B1B9;outline-offset:2px;}
body.docs-site .docs-role{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:60px;min-height:330px;padding:25px 55px;}
body.docs-site .docs-role.is-off{display:none;}
body.docs-site .docs-role:not(.is-off){animation:docs-in .35s ease both;}
@keyframes docs-in{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:none;}}
body.docs-site .docs-role-text{display:flex;flex-direction:column;gap:20px;max-width:527px;}
body.docs-site .docs-role-who .elementor-heading-title{font-size:24px;font-weight:600;line-height:33px;}
body.docs-site .docs-role-t .elementor-heading-title{font-size:28px;font-weight:600;line-height:38px;}
body.docs-site .docs-role-d p{max-width:418px;font:400 20px/1.35 'Manrope',sans-serif;}
body.docs-site .docs-stats{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:50px;flex:0 0 500px;width:500px;min-height:200px;padding:30px;border-radius:10px;background:var(--docs-soft);}
body.docs-site .docs-stat{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:143px;width:auto;text-align:center;}
body.docs-site .docs-stat-l .elementor-heading-title{font-size:16px;font-weight:500;line-height:22px;}
body.docs-site .docs-stat-v .elementor-heading-title{font-size:46px;font-weight:600;line-height:63px;white-space:nowrap;}
body.docs-site .docs-stats-arr{width:40px;height:40px;}

/* ---------- контакт + форма (Frame 60) ---------- */
body.docs-site .docs-contact{flex-direction:row;justify-content:space-between;align-items:flex-start;gap:51px;padding-top:102px;padding-bottom:135px;}
body.docs-site .docs-contact-text{display:flex;flex-direction:column;gap:40px;flex:0 1 609px;width:auto;}
body.docs-site .docs-contact-text .docs-lead p{max-width:550px;}
body.docs-site .docs-checks .elementor-icon-list-items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:40px;}
body.docs-site .docs-checks .elementor-icon-list-item{display:flex;align-items:center;gap:20px;margin:0;padding:0;}
body.docs-site .docs-checks .elementor-icon-list-item::before{content:"";flex:none;width:27px;height:27px;border-radius:50%;background:url(../images/icons/check-white.svg) center/16px no-repeat,var(--docs-grad);}
body.docs-site .docs-checks .elementor-icon-list-icon{display:none;}
body.docs-site .docs-checks .elementor-icon-list-text{padding:0;font:600 20px/1.35 'Manrope',sans-serif;color:#000;}
body.docs-site .docs-formcard{display:flex;flex-direction:column;gap:25px;flex:0 1 640px;width:auto;padding:30px 20px;border-radius:20px;background:#fff;box-shadow:0 2px 20px rgba(0,0,0,.1);}
body.docs-site .docs-form-title .elementor-heading-title{font-size:24px;font-weight:600;}
body.docs-site .docs-formbox .wpforms-container{margin:0 !important;}
body.docs-site .docs-formbox .wpforms-field{padding:0 0 25px !important;}
body.docs-site .docs-formbox .wpforms-field-label{-webkit-hyphens:none;hyphens:none;font:400 20px/1.35 'Manrope',sans-serif !important;color:#000 !important;margin:0 0 15px !important;}
body.docs-site .docs-formbox .wpforms-required-label{color:#3C8BEB !important;}
body.docs-site .docs-formbox input[type=text],body.docs-site .docs-formbox input[type=email],body.docs-site .docs-formbox textarea{width:100% !important;max-width:none !important;height:50px !important;padding:0 10px !important;border:1px solid var(--docs-line) !important;border-radius:10px !important;background:#fff !important;box-shadow:none !important;font:400 16px/1.35 'Manrope',sans-serif !important;color:#000 !important;}
body.docs-site .docs-formbox textarea{height:100px !important;padding:10px !important;resize:vertical;}
body.docs-site .docs-formbox input::placeholder,body.docs-site .docs-formbox textarea::placeholder{color:#808080;}
body.docs-site .docs-formbox input:focus,body.docs-site .docs-formbox textarea:focus{border-color:#42B1B9 !important;outline:none;}
body.docs-site .docs-formbox input.wpforms-error,body.docs-site .docs-formbox textarea.wpforms-error{border-color:#d63638 !important;}
body.docs-site .docs-formbox .wpforms-field-gdpr-checkbox li{display:flex !important;align-items:center;gap:10px;}
body.docs-site .docs-formbox .wpforms-field-gdpr-checkbox input[type=checkbox]{-webkit-appearance:auto !important;appearance:auto !important;opacity:1 !important;position:static !important;width:24px !important;height:24px !important;margin:0 !important;flex:none;accent-color:#3C8BEB;}
body.docs-site .docs-formbox .wpforms-field-gdpr-checkbox li label{padding:0 !important;-webkit-hyphens:none;hyphens:none;font:500 16px/1.35 'Manrope',sans-serif !important;color:#000 !important;}
body.docs-site .docs-formbox .wpforms-field-gdpr-checkbox li label::before,body.docs-site .docs-formbox .wpforms-field-gdpr-checkbox li label::after,
body.docs-site .docs-formbox .wpforms-field-gdpr-checkbox input::before,body.docs-site .docs-formbox .wpforms-field-gdpr-checkbox input::after{display:none !important;content:none !important;}
body.docs-site .docs-formbox .wpforms-field-gdpr-checkbox a{color:#3C8BEB;}
body.docs-site .docs-formbox .wpforms-field-limit-text{font-size:12px;color:#808080;}
body.docs-site .docs-formbox .wpforms-submit-container{padding:0 !important;margin:0 !important;}
body.docs-site .docs-formbox button[type=submit]{width:100% !important;height:40px !important;border:0 !important;border-radius:12px !important;background:var(--docs-grad) !important;color:#fff !important;font:500 16px/1 'Manrope',sans-serif !important;cursor:pointer;}
body.docs-site .docs-formbox button[type=submit]:hover{box-shadow:0 10px 22px rgba(60,139,235,.3) !important;}

/* ---------- результат отправки: «Спасибо» (548:5768, текст WPForms) и «Ошибка» (548:5770, виджеты) ---------- */
body.docs-site .docs-formbox .wpforms-confirmation-container-full{background:none !important;border:0 !important;padding:0 !important;margin:0 !important;}
body.docs-site .docs-done,body.docs-site .docs-fail{min-height:410px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px;text-align:center;animation:docs-in .5s ease both;}
body.docs-site .docs-done img{display:block;width:173px !important;max-width:100%;height:auto !important;margin:0 !important;}
body.docs-site .docs-done .docs-done-t{max-width:368px;margin:0 !important;font:600 24px/1.35 'Manrope',sans-serif !important;color:#000 !important;}
body.docs-site .docs-fail .docs-done-t .elementor-heading-title{max-width:368px;font-size:24px;font-weight:600;}
body.docs-site .docs-done .docs-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:250px;height:40px !important;margin:0;padding:0 16px !important;border:0 !important;border-radius:12px !important;background:var(--docs-grad) !important;color:#fff !important;text-decoration:none !important;font:500 16px/1 'Manrope',sans-serif !important;}
body.docs-site .docs-fail-code .elementor-heading-title{font-size:176px;font-weight:500;line-height:1.1;color:#3C8BEB;}
body.docs-site .docs-fail{display:none;}
body.docs-site .is-failed > .docs-fail{display:flex;}
body.docs-site .is-failed > :is(.docs-form-title,.docs-formbox){display:none;}
body.docs-site :is(.docs-modal-body,.docs-formcard):has(.docs-done) > .docs-form-title{display:none;}
/* в редакторе Elementor карточку ошибки видно — её тексты тоже правятся */
body.elementor-editor-active .docs-fail{display:flex;min-height:0;padding-top:20px;border-top:1px dashed var(--docs-line);}

/* ---------- форма во всплывающем окне (overlay 541:1599: Move from bottom, Gentle spring ~1 с) ---------- */
.docs-modal{position:fixed;inset:0;z-index:10001;display:flex;align-items:center;justify-content:center;padding:16px;visibility:hidden;pointer-events:none;transition:visibility 0s linear .5s;}
.docs-modal-shade{position:absolute;inset:0;background:rgba(0,0,0,.35);opacity:0;transition:opacity .4s ease;}
.docs-modal-panel{position:relative;width:640px;max-width:100%;max-height:calc(100vh - 32px);overflow:auto;padding:30px 20px;border-radius:20px;background:#fff;box-shadow:0 2px 20px rgba(0,0,0,.1);opacity:0;transform:translateY(100vh);transition:transform 1s cubic-bezier(.22,1.12,.36,1),opacity .3s ease;}
.docs-modal-body{display:flex;flex-direction:column;gap:25px;}
body.docs-site .docs-modal-close{position:absolute;right:16px;top:22px;z-index:1;width:40px;height:40px;padding:0 !important;border:0 !important;border-radius:50% !important;background:none !important;color:#000 !important;box-shadow:none !important;display:grid;place-items:center;cursor:pointer;}
body.docs-site .docs-modal-close:hover{color:#3C8BEB !important;}
body.docs-modal-open{overflow:hidden;}
body.docs-modal-open .docs-modal{visibility:visible;pointer-events:auto;transition:none;}
body.docs-modal-open .docs-modal-shade{opacity:1;}
body.docs-modal-open .docs-modal-panel{opacity:1;transform:none;}

/* ---------- подвал (шаблон docs_Подвал, компонент 758:2326) ---------- */
body.docs-site .docs-footer{display:block;background:var(--docs-dark);}
body.docs-site .docs-fwrap{display:flex;flex-direction:column;max-width:1200px;margin:0 auto;padding:43px 20px;}
body.docs-site .docs-fcols{display:flex;flex-direction:row;gap:100px;}
body.docs-site .docs-fbrand{display:flex;flex-direction:column;gap:20px;flex:0 1 446px;margin-right:auto;}
body.docs-site .docs-fcol{display:flex;flex-direction:column;gap:20px;width:auto;}
body.docs-site .docs-footer .elementor-heading-title,body.docs-site .docs-footer .elementor-widget-text-editor{color:#fff;}
body.docs-site .docs-fname .elementor-heading-title{font-size:24px;font-weight:600;}
body.docs-site .docs-fhead .elementor-heading-title{font-size:20px;font-weight:600;}
body.docs-site .docs-ftext p{font-size:16px;line-height:1.35;}
body.docs-site .docs-footer .docs-freq{color:#cecdcd;}
body.docs-site .docs-flink .elementor-heading-title{font-size:16px;font-weight:400;}
body.docs-site .docs-flink a:hover{color:#49DA84;}
body.docs-site .docs-fbar{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin-top:30px;padding-top:30px;border-top:.5px solid #a5a5a5;}
body.docs-site .docs-footer .docs-fcopy .elementor-heading-title{font-size:16px;font-weight:400;color:#cecdcd;}
body.docs-site .docs-flegal{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px 20px;width:auto;}
body.docs-site .docs-footer .docs-flegal .elementor-heading-title{color:#cecdcd;}
body.docs-site .docs-flegal a:hover{color:#fff;}

/* ---------- 404 (шаблон docs_404, фрейм 642:10335) ---------- */
body.docs-site .docs-404{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;min-height:714px;padding:129px 20px 120px;text-align:center;}
body.docs-site .docs-404::before,body.docs-site .docs-404::after{content:"";position:absolute;border-radius:50%;filter:blur(120px);opacity:.45;}
body.docs-site .docs-404::before{width:348px;height:348px;left:calc(50% - 730px);top:263px;background:#3C8BEB;}
body.docs-site .docs-404::after{width:267px;height:267px;left:calc(50% + 363px);top:114px;background:#49DA84;}
body.docs-site .docs-404 > *{position:relative;z-index:1;}
body.docs-site .docs-404-code .elementor-heading-title{font-size:176px;font-weight:500;line-height:1.36;color:#3C8BEB;}
body.docs-site .docs-404-title{margin:12px 0 34px !important;}
body.docs-site .docs-404-title .elementor-heading-title{font-size:48px;font-weight:500;}

/* ---------- cookie-баннер (шаблон docs_Cookie) ---------- */
.docs-cookie{position:fixed;right:24px;bottom:24px;z-index:9999;width:min(440px,calc(100vw - 32px));background:#fff;border-radius:20px;box-shadow:0 10px 40px rgba(0,0,0,.15);padding:24px;font-family:'Manrope',sans-serif;}
.docs-cookie[hidden]{display:none;}
body.docs-site .docs-cookie-box{display:flex;flex-direction:column;gap:12px;}
body.docs-site .docs-cookie-title .elementor-heading-title{font-size:20px;font-weight:600;}
body.docs-site .docs-cookie-text p{font-size:14px;line-height:1.45;color:#3a4653;}
body.docs-site .docs-cookie-prefs .elementor-icon-list-items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:14px;}
body.docs-site .docs-cookie-prefs label{display:flex;align-items:center;gap:6px;}
body.docs-site .docs-cookie-actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;margin-top:4px;}
body.docs-site .docs-cookie-actions .docs-btn{flex:1 1 0;}
body.docs-site .docs-cookie-actions .docs-btn .elementor-button{min-width:0;width:100%;}
body.docs-site .docs-cookie-more .elementor-heading-title{font-size:14px;color:#3C8BEB;}
.docs-cookie:not(.is-setup) :is(.docs-cookie-prefs,.docs-cookie-save),.docs-cookie.is-setup .docs-cookie-setup{display:none;}

/* ---------- адаптив ---------- */
@media(max-width:1200px){
  body.docs-site .docs-why-row{flex-direction:column;align-items:stretch;gap:50px;}
  body.docs-site .docs-why-text,body.docs-site .docs-why-cmp{flex:none;width:100%;}
  body.docs-site .docs-steps{grid-template-columns:repeat(3,1fr);}
  body.docs-site .docs-role{padding:25px 30px;gap:30px;}
  body.docs-site .docs-stats{flex-basis:440px;width:440px;gap:30px;}
}
@media(max-width:1100px){
  /* «Поток документов» — столбиком, как в мобильном макете */
  body.docs-site .docs-flowcard{flex-direction:column;gap:40px;padding:40px 20px;}
  body.docs-site .docs-ai::before,body.docs-site .docs-ai::after{transform:rotate(90deg);}
}
@media(max-width:1024px){
  body.docs-site .docs-h1 .elementor-heading-title{font-size:52px;}
  body.docs-site .docs-cap{grid-template-columns:68px 1fr;}
  body.docs-site .docs-cap-d{grid-column:2;}
  body.docs-site .docs-aicards{grid-template-columns:1fr;}
  body.docs-site .docs-role{flex-direction:column;align-items:stretch;}
  body.docs-site .docs-stats{flex:none;width:100%;}
  body.docs-site .docs-contact{flex-direction:column;align-items:stretch;gap:50px;}
  body.docs-site .docs-contact-text,body.docs-site .docs-formcard{flex:none;width:100%;}
  body.docs-site .docs-nav{gap:30px;}
}
/* мобильная версия (402: поля 16, заголовок 36, текст 16–20) — фрейм 81:1654 */
@media(max-width:767px){
  body.docs-site .docs-sec{padding:84px 16px 0;}
  body.docs-site .docs-sec--header,body.docs-site .docs-sec--footer{padding:0;}
  body.docs-site .docs-hero{padding-top:39px;}
  body.docs-site .docs-h1 .elementor-heading-title{font-size:36px;line-height:1.36;}
  body.docs-site .docs-hero > .docs-btnrow{flex-direction:column;align-items:center;width:100%;margin-top:30px;}
  body.docs-site .docs-btnrow .docs-btn{width:100%;max-width:320px;}
  body.docs-site .docs-btnrow .docs-btn .elementor-button{width:100%;}
  body.docs-site .docs-tags{display:none;}
  body.docs-site .docs-hero-visual{margin-top:35px;}
  body.docs-site .docs-hero-visual::after{right:-40px;top:-260px;}
  body.docs-site .docs-hero-visual::before{left:-60px;top:120px;}
  body.docs-site .docs-flowcard{gap:60px;padding:55px 20px;}
  body.docs-site .docs-files,body.docs-site .docs-files--out{width:100%;max-width:283px;}
  body.docs-site .docs-h2 .elementor-heading-title{font-size:32px;}
  body.docs-site .docs-p p{font-size:18px;}
  /* сравнение — столбиком, стрелка вниз */
  body.docs-site .docs-cmp{flex-direction:column;gap:20px;}
  body.docs-site .docs-cmp-col{flex:none;width:100%;}
  body.docs-site .docs-cmp-arr{width:40px;height:40px;transform:rotate(90deg);}
  body.docs-site .docs-steps-sec{padding-top:110px;}
  body.docs-site .docs-steps{grid-template-columns:1fr;}
  body.docs-site .docs-cap{grid-template-columns:1fr;gap:30px;}
  body.docs-site .docs-cap-d{grid-column:auto;}
  body.docs-site .docs-cases{grid-template-columns:1fr;gap:23px;}
  body.docs-site .docs-case{min-height:362px;}
  body.docs-site :is(.docs-case,.docs-aicard) .docs-muted p{font-size:18px;}
  body.docs-site :is(.docs-ai-sec,.docs-caps-sec,.docs-cases-sec,.docs-roles-sec){padding-top:84px;}
  body.docs-site .docs-tabs{gap:10px;}
  body.docs-site .docs-tab .elementor-button{min-width:0;}
  body.docs-site .docs-role{padding:28px 25px;gap:20px;}
  body.docs-site .docs-role-t .elementor-heading-title{font-size:24px;line-height:1.35;}
  body.docs-site .docs-role-d p{font-size:18px;}
  body.docs-site .docs-stats{flex-direction:column;gap:20px;padding:30px;}
  body.docs-site .docs-stats-arr{transform:rotate(90deg);}
  body.docs-site .docs-contact{padding-top:84px;padding-bottom:84px;}
  body.docs-site .docs-contact-text{gap:30px;}
  /* шапка + выезжающее меню */
  body.docs-site .docs-shell{padding:0 16px;gap:16px;}
  body.docs-site .docs-shell > :is(.docs-nav,.docs-headbtn){display:none;}
  body.docs-site .docs-burger{display:grid;place-items:center;width:32px;height:32px;cursor:pointer;}
  .docs-mnav{display:block;position:fixed;inset:0;z-index:10000;visibility:hidden;pointer-events:none;transition:visibility 0s linear .6s;}
  .docs-mnav-shade{position:absolute;inset:0;background:rgba(0,0,0,.2);opacity:0;transition:opacity .4s ease;}
  .docs-mnav-panel{position:relative;background:#fff;border-bottom:1px solid var(--docs-line);padding:10px 16px 40px;display:flex;flex-direction:column;align-items:flex-end;gap:40px;transform:translateY(-100%);transition:transform .6s cubic-bezier(.22,1.12,.36,1);}
  .docs-mnav-top{align-self:stretch;display:flex;align-items:center;justify-content:space-between;min-height:45px;}
  body.docs-site .docs-mnav-close{display:grid;place-items:center;width:32px;height:32px;cursor:pointer;}
  body.docs-site .docs-mnav .docs-logo{margin:0;}
  body.docs-site .docs-mnav .docs-nav{position:static;transform:none;flex-direction:column;align-items:flex-end;gap:30px;}
  body.docs-mnav-open{overflow:hidden;}
  body.docs-mnav-open .docs-mnav{visibility:visible;pointer-events:auto;transition:none;}
  body.docs-mnav-open .docs-mnav-shade{opacity:1;}
  body.docs-mnav-open .docs-mnav-panel{transform:none;}
  /* подвал */
  body.docs-site .docs-fwrap{padding:32px 24px 70px;}
  body.docs-site .docs-ftext p,body.docs-site .docs-fcopy .elementor-heading-title{line-height:1.5;}
  body.docs-site .docs-fcols{flex-direction:column;gap:32px;}
  body.docs-site .docs-fcol{gap:12px;padding-top:32px;border-top:.5px solid #a5a5a5;}
  body.docs-site .docs-fbrand{flex:none;gap:12px;}
  body.docs-site .docs-fbar{flex-direction:column;gap:12px;margin-top:32px;padding-top:32px;}
  body.docs-site .docs-flegal{flex-direction:column;gap:8px;}
  /* 404 */
  body.docs-site .docs-404{min-height:1023px;padding:136px 16px 0;}
  body.docs-site .docs-404-title{max-width:348px;margin:0 0 36px !important;}
  body.docs-site .docs-404-title .elementor-heading-title{font-size:40px;}
  body.docs-site .docs-404 .docs-btn .elementor-button{min-width:220px;}
  body.docs-site .docs-404::before,body.docs-site .docs-404::after{width:160px;height:160px;filter:blur(70px);}
  body.docs-site .docs-404::before{left:-26px;top:646px;}
  body.docs-site .docs-404::after{left:267px;top:96px;}
}
@media(max-width:767px) and (prefers-reduced-motion:reduce){.docs-mnav-panel,.docs-mnav-shade{transition:none;}}
@media(prefers-reduced-motion:reduce){
  body.docs-site :is(.docs-file,.docs-role,.docs-done,.docs-fail),body.docs-site .docs-file::after,body.docs-site .docs-ai-box::before,
  body.docs-site .docs-live .elementor-heading-title::before,body.docs-site .docs-live .elementor-heading-title::after{animation:none;}
  .docs-modal-panel,.docs-modal-shade,.docs-reveal-ready{transition:none;}
  .docs-reveal-ready{opacity:1;transform:none;}
}
