/* Sync2Sys site v2: раздел «Платформа». Только классы .plat-*; общие компоненты в pages.css. */

/* Окна в первом экране уже стандартных 940px */
.hero__stage .ui.plat-m { max-width: 760px; }
.hero__stage .ui.plat-s { max-width: 600px; }

/* Строка окна без сетки первого экрана (в .hero__stage у .ui__r жёсткая сетка из 5 колонок) */
.plat-r { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--line); min-width: 0; }
.plat-r:last-child { border-bottom: 0; }
.plat-r > div { min-width: 0; }
.plat-r b { font-weight: 500; }
.plat-r small { display: block; font-size: 13px; color: var(--ink-3); }
.plat-r .sp { margin-left: auto; }
.plat-r img.lg { height: 20px; width: auto; max-width: 96px; object-fit: contain; }
.plat-r .plat-w { flex: 0 0 150px; }
.plat-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--th)); }

/* Код поля из файла поставщика, формула */
.plat-code { display: inline-block; max-width: 100%; padding: 3px 8px; border-radius: 6px; background: var(--fill); font-family: var(--mono); font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }

/* Правило: условие -> действие */
.plat-rule { display: grid; gap: 14px; padding: 22px; border-bottom: 1px solid var(--line); }
.plat-rule > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.plat-rule small { flex: 0 0 44px; font-size: 13px; color: var(--ink-3); }
.plat-pill { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.plat-pill b { font-weight: 500; color: var(--ink); }
.plat-pill--on { border-color: color-mix(in srgb, var(--c, var(--th)) 34%, #fff); background: color-mix(in srgb, var(--c, var(--th)) 8%, #fff); color: color-mix(in srgb, var(--c, var(--th)) 78%, #000); font-weight: 500; }

/* Итог расчёта: было -> стало */
.plat-calc { display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap; padding: 22px; }
.plat-calc div { min-width: 0; }
.plat-calc span { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 6px; }
.plat-calc b { display: block; font-size: 40px; line-height: 1; font-weight: 500; letter-spacing: -0.03em; }
.plat-calc .plat-calc__from b { color: var(--ink-3); font-weight: 400; }
.plat-calc em { align-self: center; font-style: normal; font-size: 22px; color: var(--ink-3); }

/* Текст до и после */
.plat-ba { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.plat-ba--col { grid-template-columns: minmax(0, 1fr); }
.plat-ba > div { padding: 22px; border-right: 1px solid var(--line); }
.plat-ba > div:last-child { border-right: 0; }
.plat-ba--col > div { border-right: 0; border-bottom: 1px solid var(--line); }
.plat-ba--col > div:last-child { border-bottom: 0; }
.plat-ba small { display: block; margin-bottom: 10px; font-size: 13px; color: var(--ink-3); }
.plat-ba h4 { font-size: 18px; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
.plat-ba p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.plat-ba .plat-raw { font-family: var(--mono); font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink-2); word-break: break-word; }
.plat-ba .plat-none { color: var(--ink-3); font-style: italic; }
.plat-ba__new { background: color-mix(in srgb, var(--c, var(--th)) 5%, #fff); }
.plat-ba__new small { color: color-mix(in srgb, var(--c, var(--th)) 78%, #000); font-weight: 500; }

/* Показатели дашборда */
.plat-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plat-kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plat-kpis > div { padding: 24px 22px 26px; border-right: 1px solid var(--line); }
.plat-kpis > div:last-child { border-right: 0; }
.plat-kpis span { display: block; font-size: 13px; color: var(--ink-3); }
.plat-kpis b { display: block; margin-top: 10px; font-size: 36px; line-height: 1; font-weight: 500; letter-spacing: -0.03em; }

/* Горизонтальные полосы: сравнение поставщиков, состояние остатков */
.plat-hb { display: grid; grid-template-columns: 112px minmax(0, 1fr) 64px; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 15px; }
.plat-hb:last-child { border-bottom: 0; }
.plat-hb b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plat-hb u { display: block; height: 8px; border-radius: 99px; background: var(--fill); overflow: hidden; text-decoration: none; }
.plat-hb u i { display: block; height: 100%; border-radius: 99px; background: var(--c, var(--th)); }
.plat-hb .num { text-align: right; }

/* Полоса «выбрано N товаров» в массовом редактировании */
.plat-sel { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 22px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; }
.plat-sel span { margin-left: auto; font-weight: 400; color: rgba(255, 255, 255, 0.72); }

/* Вкладки языков в карточке товара */
.plat-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.plat-tabs span { min-width: 38px; padding: 5px 0; border-radius: 7px; background: var(--fill); font-family: var(--mono); font-size: 12px; text-align: center; color: var(--ink-2); }
.plat-tabs span.on { background: var(--c, var(--th)); color: #fff; }

/* Переключатель в настройках */
.plat-tog { flex: none; position: relative; width: 36px; height: 22px; border-radius: 99px; background: #d5d9d2; }
.plat-tog::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.plat-tog.on { background: var(--green); }
.plat-tog.on::after { left: 17px; }

/* Обзор платформы: путь одного товара через пять шагов */
.plat-path { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.plat-st { position: relative; display: flex; flex-direction: column; padding: 20px 20px 18px; border-radius: 16px; background: var(--white); border-top: 3px solid var(--c); box-shadow: 0 18px 36px -22px rgba(0, 0, 0, 0.3); transition: transform 0.15s; }
a.plat-st:hover { transform: translateY(-2px); }
.plat-st::after { content: ""; position: absolute; left: 100%; top: 50%; width: 28px; height: 4px; margin-top: -2px; --rl: 28px; --rib-c: var(--c); --rib-t: color-mix(in srgb, var(--c) 32%, white); background: linear-gradient(to right, rgba(255,255,255,0), var(--rib-c)) -22px 0 / 22px 100% no-repeat, var(--rib-t); }
.plat-st:last-child::after { display: none; }
.plat-st { padding-top: 0; border-top: 0; background: color-mix(in srgb, var(--c) 6%, var(--white)); }
.plat-st small { display: flex; align-items: center; gap: 8px; margin: 0 -20px; padding: 13px 20px; border-radius: 16px 16px 0 0; background: color-mix(in srgb, var(--c) 88%, #000); font-size: 14px; font-weight: 600; color: #fff; }
.plat-st small svg { flex: none; width: 18px; height: 18px; }
.plat-st small b { font-family: var(--mono); font-weight: 500; opacity: 0.7; }
.plat-free { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.plat-st__do { margin: 16px 0 12px; font-size: 15px; line-height: 1.35; font-weight: 500; color: var(--ink); }
.plat-st__prod { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; padding: 7px 10px 7px 7px; border: 1px solid color-mix(in srgb, var(--c) 30%, var(--white)); border-radius: 10px; background: var(--white); font-size: 14px; font-weight: 600; line-height: 1.2; }
.plat-st__prod svg { flex: none; width: 28px; height: 28px; padding: 5px; border-radius: 7px; background: color-mix(in srgb, var(--c) 14%, var(--white)); color: color-mix(in srgb, var(--c) 82%, #000); }
.plat-st__ghost { display: block; padding: 3px 10px 3px 44px; font-size: 13px; text-align: left; color: var(--ink-3); }
.plat-st__ghost:last-of-type { margin-bottom: 8px; }
@media (min-width: 1181px) { .plat-st__do { min-height: 2.7em; } }
/* Стрелки между карточками шагов */
@media (min-width: 861px) {
  .plat-flow > .tile:not(:nth-child(3n))::before { content: ""; position: absolute; left: 100%; top: 50%; width: 20px; height: 4px; margin: -2px 0 0 1px; --rl: 20px; --rib-c: var(--c); --rib-t: color-mix(in srgb, var(--c) 32%, white); background: linear-gradient(to right, rgba(255,255,255,0), var(--rib-c)) -22px 0 / 22px 100% no-repeat, var(--rib-t); pointer-events: none; }
}
/* AI-инструменты на цветном фоне */
.plat-aiband { margin-top: var(--sec, 152px); padding: 104px 0; background: radial-gradient(150% 130% at 100% 100%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 60%), #5648aa; }
.plat-aiband .sec__head { margin-bottom: 40px; }
.plat-aiband .h2 { color: #fff; }
.plat-aiband .lede { color: rgba(255, 255, 255, 0.82); }
.plat-aiband .btn--soft { background: rgba(255, 255, 255, 0.14); border-color: transparent; color: #fff; }
.plat-aiband .tile { border-color: transparent; }
@media (max-width: 860px) { .plat-aiband { padding: 64px 0; } }
.plat-vidplay { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 24px; background: var(--dark); object-fit: cover; }
@media (max-width: 860px) { .plat-vidplay { border-radius: 16px; } }
/* Видео обзора на всю ширину */
.plat-vidhead { margin-bottom: 40px; }
.plat-vidhead .tag { margin-bottom: 18px; }
.plat-vid { aspect-ratio: 2.2 / 1; }
.plat-vid__steps { position: absolute; left: 28px; right: 28px; top: 26px; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.plat-vid__steps li { display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-size: 13px; color: rgba(255, 255, 255, 0.9); }
.plat-vid__steps li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--c) 55%, #fff); }
@media (max-width: 700px) { .plat-vid { aspect-ratio: 16 / 9; } .plat-vid__steps { left: 20px; right: 20px; top: 18px; } }
@media (max-width: 560px) { .plat-vid__steps { display: none; } }
.plat-st h3 { margin: 16px 0 14px; font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; }
.plat-st div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.plat-st div span { color: var(--ink-3); }
.plat-st div b { font-weight: 500; text-align: right; }
.plat-path__cap { margin: 0 auto 22px; text-align: center; font-size: 13px; color: var(--ink-3); }

/* Тур: видео и подпись главы */
.plat-tour { max-width: 1040px; margin: 0 auto; }
.plat-time { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }

/* Строка тарифа модуля под карточками */
.plat-fine { margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.plat-fine a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1180px) {
  .plat-path { grid-template-columns: minmax(0, 1fr); gap: 26px; max-width: 520px; margin: 0 auto; }
  .plat-st::after { left: 50%; top: 100%; width: 4px; height: 26px; margin: 0 0 0 -2px; --rl: 26px; background: linear-gradient(to bottom, rgba(255,255,255,0), var(--rib-c)) 0 -26px / 100% 26px no-repeat, var(--rib-t); }
}
@media (max-width: 860px) {
  .plat-r { padding: 14px 16px; gap: 10px; }
  .plat-r .plat-w { flex-basis: 96px; }
  .plat-hm { display: none !important; }
  .plat-rule, .plat-calc, .plat-ba > div { padding: 18px 16px; }
  .plat-calc { gap: 16px; }
  .plat-calc b { font-size: 30px; }
  .plat-ba { grid-template-columns: minmax(0, 1fr); }
  .plat-ba > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .plat-ba > div:last-child { border-bottom: 0; }
  .plat-kpis, .plat-kpis--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plat-kpis > div { padding: 18px 16px 20px; border-bottom: 1px solid var(--line); }
  .plat-kpis > div:nth-child(2n) { border-right: 0; }
  .plat-kpis b { font-size: 28px; }
  .plat-hb { grid-template-columns: 88px minmax(0, 1fr) 56px; padding: 14px 16px; gap: 10px; }
  .plat-sel, .plat-tabs { padding-left: 16px; padding-right: 16px; }
  .plat-pill { height: 32px; padding: 0 10px; font-size: 13px; }
}

/* Мелкие правки общих блоков внутри раздела */
.plat-tile .btn { align-self: flex-start; margin-top: auto; }
.plat-tile ul { margin-bottom: 12px; }
.ui__r .plat-code { min-width: 0; flex-shrink: 1; }
.plat-end { padding-bottom: 120px; }
@media (max-width: 860px) { .plat-end { padding-bottom: 64px; } }
.plat-r .num { white-space: nowrap; }
.plat-r .mlogo { height: 21px !important; }
@media (max-width: 860px) { .ui__big.plat-big b { font-size: 32px; } }
@media (max-width: 860px) { .ui__r.plat-wrap { flex-wrap: wrap; row-gap: 6px; } }
/* На телефоне код поля не обрезается: мельче шрифт, название поля рядом переносится */
@media (max-width: 860px) { .ui__r .plat-code { flex-shrink: 0; overflow: visible; padding: 3px 6px; font-size: 12px; } }

/* Схема перевода в сцене: на широком экране панель узкая, схема идёт сверху вниз (в строку она шире панели) */
@media (min-width: 861px) {
  .scene__vis .ui.fx2.plat-fxcol { flex-direction: column; align-items: stretch; max-width: 400px; min-width: 0; }
  .ui.fx2.plat-fxcol .fx2__src { flex: none; }
  .ui.fx2.plat-fxcol .fx2__link { flex: none; width: 4px; height: 18px; align-self: center; }
  .ui.fx2.plat-fxcol .fx2__node { align-self: center; display: flex; align-items: center; gap: 10px; }
  .ui.fx2.plat-fxcol .fx2__node small { position: static; transform: none; }
  .ui.fx2.plat-fxcol .fx2__cards { gap: 12px; padding-left: 0; }
  .ui.fx2.plat-fxcol .fx2__cards::before, .ui.fx2.plat-fxcol .fx2__card::before { display: none; }
  .ui.fx2.plat-fxcol .fx2__card { height: 68px; }
}

/* Движение и выделения (правило 13.11): главная цифра окна в цвете направления, статус первого экрана пульсирует,
   полосы заполняются при появлении окна, стрелки пути товара на обзоре бегут по очереди. Только transform и opacity. */
.ui__big.plat-big b, .plat-calc > div:last-child b, .plat-kpis > div:first-child b { color: color-mix(in srgb, var(--c, var(--th, #0f8a4b)) 82%, #000); }
.plat-hb .num { font-weight: 500; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .plat-live::before { animation: plat-pulse 1.8s ease-in-out infinite; }
  .ui.sc > .plat-hb u i { transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.9s ease 0.25s; }
  .ui.sc > .plat-hb.on u i { transform: none; }
  .ui.sc > .plat-calc.on > div:last-child b { animation: plat-pop 0.55s cubic-bezier(0.3, 1.5, 0.5, 1) 0.3s both; transform-origin: 0 100%; }
  .plat-st::after { animation: hub-r 2.4s linear infinite; }
  .plat-flow > .tile::before { animation: hub-r 2.4s linear infinite; }
  .plat-flow > .tile:nth-child(3n+2)::before { animation-delay: 0.6s; }
  .plat-st:nth-child(2)::after { animation-delay: 0.6s; }
  .plat-st:nth-child(3)::after { animation-delay: 1.2s; }
  .plat-st:nth-child(4)::after { animation-delay: 1.8s; }
}
@keyframes plat-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.7); opacity: 0.4; } }
@keyframes plat-pop { from { transform: scale(0.8); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes plat-step { 0%, 60%, 100% { opacity: 0.25; } 20% { opacity: 1; } }

/* Движение в покое в окнах рядов .split и сцен (правило 13.11): активная строка идёт сверху вниз,
   точка статуса в подвале окна пульсирует, включённое условие правила и новый текст отмечены кольцом и точкой.
   Только transform и opacity; в спокойном режиме ничего не движется и не подсвечивается. */
@media (prefers-reduced-motion: no-preference) {
  .split__vis .ui > :is(.ui__r, .plat-r, .plat-hb):not(.ui__r--h), .scene__vis .ui > :is(.ui__r, .plat-r, .plat-hb):not(.ui__r--h) { position: relative; z-index: 0; }
  .split__vis .ui > :is(.ui__r, .plat-r, .plat-hb):not(.ui__r--h)::after, .scene__vis .ui > :is(.ui__r, .plat-r, .plat-hb):not(.ui__r--h)::after { content: ""; position: absolute; inset: 0; z-index: -1; border-left: 3px solid var(--c, var(--th)); background: color-mix(in srgb, var(--c, var(--th)) 8%, transparent); opacity: 0; pointer-events: none; animation: plat-row 8s ease-in-out infinite; }
  .split__vis .ui > :nth-child(3)::after, .scene__vis .ui > :nth-child(3)::after { animation-delay: 2s; }
  .split__vis .ui > :nth-child(4)::after, .scene__vis .ui > :nth-child(4)::after { animation-delay: 4s; }
  .split__vis .ui > :nth-child(5)::after, .scene__vis .ui > :nth-child(5)::after { animation-delay: 6s; }
  .split__vis .ui > :nth-child(n+6)::after, .scene__vis .ui > :nth-child(n+6)::after { animation: none; }
  .split__vis .ui__foot .chip::before, .scene__vis .ui__foot .chip::before, .hero__stage .ui__foot .chip::before { animation: plat-pulse 1.8s ease-in-out infinite; }
  .plat-pill--on { position: relative; }
  .plat-pill--on::after { content: ""; position: absolute; inset: -4px; border-radius: 13px; border: 2px solid var(--c, var(--th)); opacity: 0; pointer-events: none; animation: plat-ring 2.4s ease-out infinite; }
  .plat-ba__new small::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: currentColor; vertical-align: 2px; animation: plat-pulse 1.8s ease-in-out infinite; }
  .plat-tour .video span::after, .plat-vid span::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; pointer-events: none; animation: plat-ring 2.4s ease-out infinite; }
}
@keyframes plat-row { 0%, 30%, 100% { opacity: 0; } 5%, 22% { opacity: 1; } }
@keyframes plat-ring { from { transform: scale(0.94); opacity: 0.55; } to { transform: scale(1.18); opacity: 0; } }

/* Движение в покое на первом экране и в блоках карточек: активная строка в окне первого экрана, точка у «Last sync»,
   метка вверху карточки загорается по очереди, значок карточки чуть приподнимается. */
@media (prefers-reduced-motion: no-preference) {
  .hero__stage .ui.plat-m > .plat-r { position: relative; z-index: 0; }
  .hero__stage .ui.plat-m > .plat-r::after { content: ""; position: absolute; inset: 0; z-index: -1; border-left: 3px solid var(--th); background: color-mix(in srgb, var(--th) 8%, transparent); opacity: 0; pointer-events: none; animation: plat-row 8s ease-in-out infinite; }
  .hero__stage .ui.plat-m > .plat-r:nth-child(3)::after { animation-delay: 2s; }
  .hero__stage .ui.plat-m > .plat-r:nth-child(4)::after { animation-delay: 4s; }
  .hero__stage .ui.plat-m > .plat-r:nth-child(5)::after { animation-delay: 6s; }
  .hero__stage .ui__bar [data-sync]::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--green); vertical-align: 2px; animation: plat-pulse 1.8s ease-in-out infinite; }
  .tiles > .tile::after { content: ""; position: absolute; left: 32px; top: -1px; width: 32px; height: 3px; border-radius: 0 0 3px 3px; background: var(--c, var(--th)); opacity: 0; pointer-events: none; animation: plat-row 8s ease-in-out infinite; }
  .tiles > .tile .tile__ic svg { animation: plat-bob 8s ease-in-out infinite; }
  .tiles > .tile:nth-child(2)::after, .tiles > .tile:nth-child(2) .tile__ic svg { animation-delay: 1.3s; }
  .tiles > .tile:nth-child(3)::after, .tiles > .tile:nth-child(3) .tile__ic svg { animation-delay: 2.6s; }
  .tiles > .tile:nth-child(4)::after, .tiles > .tile:nth-child(4) .tile__ic svg { animation-delay: 3.9s; }
  .tiles > .tile:nth-child(5)::after, .tiles > .tile:nth-child(5) .tile__ic svg { animation-delay: 5.2s; }
  .tiles > .tile:nth-child(6)::after, .tiles > .tile:nth-child(6) .tile__ic svg { animation-delay: 6.5s; }
}
@keyframes plat-bob { 0%, 30%, 100% { transform: none; } 12% { transform: translateY(-3px); } }

/* второй абзац в сцене (минимальный остаток по каналу) */
.scene__text .body + .body { margin-top: 12px; }

/* Импорт поставщиков, первый экран: крупные плашки типов фида справа, от них линии вниз к окну (пины 355, 364) */
.plat-hubx .hub__in { grid-template-columns: repeat(5, 1fr); column-gap: 12px; }
.plat-hubx .hub__in div { gap: 8px; }
.plat-hubx .hub__in b { flex-direction: column; justify-content: center; gap: 8px; width: 100%; max-width: 96px; height: auto; aspect-ratio: 1; padding: 0; border-radius: 20px; font-size: 20px; font-weight: 600; letter-spacing: 0.02em; color: color-mix(in srgb, var(--th) 78%, #000); box-shadow: 0 14px 28px -20px rgba(0, 0, 0, 0.3); }
.plat-hubx .hub__in b svg { width: 22px; height: 26px; color: var(--th); }
.plat-s2s { width: 22px; height: 18px; flex: none; }
@media (min-width: 1320px) {
  .plat-hubx { position: relative; max-width: 1100px; }
  .plat-hubx .ui { max-width: 1100px; }
  .plat-hubx .hub__cap { display: none; }
  .plat-hubx .hub__in { position: absolute; right: 0; bottom: 100%; grid-template-columns: repeat(5, 96px); max-width: none; margin: 0; }
  .hub.hub.plat-hubx .hub__in i { height: 220px; --rl: 220px; }
  .hub.hub.plat-hubx .hub__in i::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 220' preserveAspectRatio='none'%3E%3Cpath d='M6 0V104L14.5 112.5Q18 116 18 119.5V220' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 220' preserveAspectRatio='none'%3E%3Cpath d='M6 0V104L14.5 112.5Q18 116 18 119.5V220' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); }
  .hub.hub.plat-hubx .hub__in i::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 220' preserveAspectRatio='none'%3E%3Cpath d='M13 0V101.1L21.5 109.6Q25 113.1 25 116.6V220' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 220' preserveAspectRatio='none'%3E%3Cpath d='M13 0V101.1L21.5 109.6Q25 113.1 25 116.6V220' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='miter' stroke-miterlimit='10'/%3E%3C/svg%3E"); }
}
@media (max-width: 860px) {
  .plat-hubx .hub__in { column-gap: 6px; }
  .plat-hubx .hub__in b { gap: 4px; border-radius: 12px; font-size: 13px; }
  .plat-hubx .hub__in b svg { width: 14px; height: 16px; }
}
/* Полоса про бесплатный старт (пин 368) */
.plat-next-sec { padding-bottom: 96px; }
@media (max-width: 1180px) {
      .plat-next-sec { padding-bottom: 64px; }
}
@media (max-width: 1180px) and (prefers-reduced-motion: no-preference) { .plat-st::after { animation-name: hub-dn; } }
/* Блок «что дальше» после сцен: номер шага в плитке */
.plat-next__n { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px; border-radius: 50%; background: color-mix(in srgb, var(--c) 12%, var(--white)); color: var(--c); font-size: 15px; font-weight: 600; }
.sec__head > .tag + .h2 { margin-top: 14px; }

/* Сверка с согласованными страницами интеграций (Саша 20.11: «поправь везде»).
   Полоса Early start: не тёмная плашка со скруглением внутри страницы, а полоса цвета страницы во всю ширину, как .int-how-band--th */
.plat-early-band { margin-top: 96px; padding: 56px 0; color: #fff; background: radial-gradient(150% 130% at 100% 100%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 60%), color-mix(in srgb, var(--th, #0e6f7c) 88%, #000); }
@media (max-width: 1180px) { .plat-early-band { margin-top: 64px; padding: 48px 0; } }
/* Блок переноса: белый, цвет только в рамке (как .tile--tint в 4052843) */
.pg .mig { background: var(--white); }
/* Заголовок раздела над сценами (страницы, где ряды стали сценами) */
.plat-filmhead { padding-bottom: 0; }

/* Пин 373 (Саша 19.11): полоса Early start от края до края, шрифты как на других страницах (метка, заголовок h2, лид), без логотипов; пин 374: заголовок главный */
.plat-early-band { padding: 88px 0; }
.plat-early-band .plat-early { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.plat-early-band .sec__head { margin: 0; }
.plat-early-band .tag { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.34); color: #fff; }
.plat-early-band .h2 { color: #fff; }
.plat-early-band .lede { color: rgba(255, 255, 255, 0.86); }
@media (max-width: 860px) { .plat-early-band { padding: 64px 0; } .plat-early-band .plat-early { flex-direction: column; align-items: flex-start; gap: 28px; } }
/* Пин 372 (Саша 19.11): плашки типов фида не в одну линию: разная высота линий и разный размер плашек */
.plat-hubx .hub__in > div:nth-child(1) b { max-width: 92px; }
.plat-hubx .hub__in > div:nth-child(2) b { max-width: 80px; }
.plat-hubx .hub__in > div:nth-child(3) b { max-width: 104px; }
.plat-hubx .hub__in > div:nth-child(4) b { max-width: 84px; }
.plat-hubx .hub__in > div:nth-child(5) b { max-width: 96px; }
.hub.hub.plat-hubx .hub__in > div:nth-child(1) i { height: 56px; --rl: 56px; }
.hub.hub.plat-hubx .hub__in > div:nth-child(2) i { height: 84px; --rl: 84px; }
.hub.hub.plat-hubx .hub__in > div:nth-child(3) i { height: 40px; --rl: 40px; }
.hub.hub.plat-hubx .hub__in > div:nth-child(4) i { height: 72px; --rl: 72px; }
.hub.hub.plat-hubx .hub__in > div:nth-child(5) i { height: 48px; --rl: 48px; }
.plat-hubx .hub__in { align-items: end; }
@media (max-width: 860px) {
  .hub.hub.plat-hubx .hub__in > div:nth-child(1) i { height: 30px; --rl: 30px; }
  .hub.hub.plat-hubx .hub__in > div:nth-child(2) i { height: 48px; --rl: 48px; }
  .hub.hub.plat-hubx .hub__in > div:nth-child(3) i { height: 22px; --rl: 22px; }
  .hub.hub.plat-hubx .hub__in > div:nth-child(4) i { height: 40px; --rl: 40px; }
  .hub.hub.plat-hubx .hub__in > div:nth-child(5) i { height: 26px; --rl: 26px; }
}
@media (min-width: 1320px) {
  .hub.hub.plat-hubx .hub__in > div:nth-child(1) i { height: 200px; --rl: 200px; }
  .hub.hub.plat-hubx .hub__in > div:nth-child(2) i { height: 290px; --rl: 290px; }
  .hub.hub.plat-hubx .hub__in > div:nth-child(3) i { height: 150px; --rl: 150px; }
  .hub.hub.plat-hubx .hub__in > div:nth-child(4) i { height: 250px; --rl: 250px; }
  .hub.hub.plat-hubx .hub__in > div:nth-child(5) i { height: 180px; --rl: 180px; }
}

/* Видео: скругление 16, как у карточек и окон эталона */
.plat-vidplay, .plat-tour .video { border-radius: 16px; }

/* ===== Image Studio, пины 384-392 (20.11) ===== */
/* Первый экран: текст слева, 4 крупных фото справа, без окна интерфейса */
.is-hero { padding-top: 72px; }
.is-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.is-hero .hero__stage { margin: 0; padding: 0 0 72px; }
.is-hero .h1 { font-size: clamp(40px, 4.4vw, 64px); }
.ish { position: relative; }
.ish__t { position: relative; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.ish__t img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.6s ease; }
.ish .is-a { opacity: 0; }
.ish.is-after .is-a { opacity: 1; }
.ish.is-after .is-b { opacity: 0; }
.ish__note { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: 15px; color: var(--ink-3); }
.ish__note span:first-child { color: var(--ink); font-weight: 500; }
/* A: сетка 2×2, все четыре сразу */
.ish--a { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 560px; margin-left: auto; }
/* B: коллаж, одна крупная и три поменьше вразброс */
.ish--b { height: 560px; max-width: 600px; margin-left: auto; }
.ish--b .ish__t { position: absolute; }
.ish--b .ish__t:nth-child(1) { left: 0; top: 40px; width: 58%; z-index: 2; }
.ish--b .ish__t:nth-child(2) { right: 0; top: 0; width: 38%; }
.ish--b .ish__t:nth-child(3) { right: 4%; top: 46%; width: 40%; z-index: 3; }
.ish--b .ish__t:nth-child(4) { left: 14%; bottom: 0; width: 30%; z-index: 1; }
.ish--b .ish__t:nth-child(2) img { transition-delay: 0.15s; } .ish--b .ish__t:nth-child(3) img { transition-delay: 0.3s; } .ish--b .ish__t:nth-child(4) img { transition-delay: 0.45s; }
/* C: пары до → после, без смены */
.ish--c { display: grid; grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr); gap: 12px 8px; align-items: center; max-width: 600px; margin-left: auto; }
.ish--c .ish__h { font-size: 15px; font-weight: 500; color: var(--ink-3); }
.ish--c .ish__ar { text-align: center; font-size: 20px; color: var(--th); }
@media (max-width: 1180px) { .is-hero .wrap { grid-template-columns: 1fr; gap: 48px; } .ish--a, .ish--b, .ish--c { margin: 0 auto; } }
@media (max-width: 860px) {
  .is-hero { padding-top: 40px; }
  .is-hero .hero__stage { padding-bottom: 48px; }
  .ish--a { gap: 10px; }
  .ish--b { height: 92vw; max-height: 520px; }
}

/* Боли поставщиков: белые карточки с рамкой, фото сверху (с живого лендинга) */
.isp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.isp__card { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 20px 20px 28px; }
.isp__imgs { position: relative; display: flex; gap: 8px; height: 150px; margin-bottom: 24px; }
.isp__imgs img { flex: 1; min-width: 0; height: 100%; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.isp__warn { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid #f1b4b4; color: #b42318; font-style: normal; font-size: 14px; font-weight: 500; }
.isp__card h3 { font-size: 20px; margin-bottom: 8px; }
.isp__card p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .isp { grid-template-columns: 1fr; gap: 12px; } }

/* Сцены: крупное фото, «до» само сменяется на «после» при показе сцены, подписи текстом */
.isx { width: 100%; max-width: 440px; margin: 0; }
.isx__img { position: relative; aspect-ratio: 1; border-radius: 16px; background: #fff; overflow: hidden; }
.isx__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.isx__img .is-a { opacity: 0; }
.isx__lbl { position: absolute; left: 14px; top: 14px; font-style: normal; font-size: 14px; font-weight: 500; }
.isx__lbl i { position: absolute; left: 0; top: 0; padding: 4px 10px; border-radius: 999px; font-style: normal; white-space: nowrap; background: rgba(16, 22, 19, 0.72); color: #fff; }
.isx__lbl i + i { background: #6a3fe0; opacity: 0; }
.isx__caps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; }
.isx__caps li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.24); font-size: 16px; color: rgba(255, 255, 255, 0.78); }
.isx__caps b { color: #fff; font-weight: 500; text-align: right; }
@keyframes isx-a { 0%, 30% { opacity: 0; } 40%, 85% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes isx-b { 0%, 30% { opacity: 1; } 40%, 85% { opacity: 0; } 95%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .scene.is-on .isx__img .is-a, .scene.is-on .isx__lbl i + i { animation: isx-a 5s ease-in-out 0.6s infinite both; }
  .scene.is-on .isx__img .is-b, .scene.is-on .isx__lbl i:first-child { animation: isx-b 5s ease-in-out 0.6s infinite both; }
}
@media (max-width: 860px) {
  /* на телефоне сцены идут списком: смена по таймеру у каждой */
  .isx__img .is-a, .isx__lbl i + i { animation: isx-a 5s ease-in-out infinite both; }
  .isx__img .is-b, .isx__lbl i:first-child { animation: isx-b 5s ease-in-out infinite both; }
  .isx { max-width: 100%; }
  .isx__caps li { font-size: 15px; }
}

/* Цена: зелёная кнопка и рядом ссылка на тарифы другим стилем */
.is-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.is-link { font-size: 17px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.is-link:hover { text-decoration-color: currentColor; }

/* По запросу: белые карточки с рамкой и фото до → после */
.isr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.isr__card { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 16px 16px 24px; }
.isr__imgs { display: grid; grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr); align-items: center; gap: 6px; margin-bottom: 20px; }
.isr__imgs > img, .isr__after img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #f4f4f2; display: block; }
.isr__imgs > span { text-align: center; color: var(--ink-3); }
.isr__after { display: grid; gap: 4px; }
.isr__after:has(img:nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.isr__after:has(img:nth-child(2)) img:first-child { grid-column: 1 / -1; }
.isr__card h3 { font-size: 19px; margin-bottom: 8px; }
.isr__card p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 1180px) { .isr { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .isr { grid-template-columns: 1fr; gap: 12px; } }

/* Полоса «откуда и куда» цвета страницы */
.plat-aiband.is-band { background: radial-gradient(150% 130% at 100% 100%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 60%), color-mix(in srgb, var(--th) 88%, #000); }
/* Срок переноса в блоке миграции: снова на цветном фоне страницы (пин 470, Саша 20.11) */

/* ===== Image Studio, пины 393-402 (20.11) ===== */
/* 397: сцена форматов инфографикой: одно фото из фида -> WebP в магазин и JPG на маркетплейсы */
.isf { width: 100%; max-width: 460px; margin: 0; }
.isf__src, .isf__out { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: 16px; background: #fff; color: var(--ink); }
.isf__src img, .isf__out img { flex: none; width: 96px; height: 96px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; }
.isf small { display: block; font-size: 14px; color: var(--ink-3); }
.isf b { display: block; font-size: 18px; font-weight: 500; }
.isf__src { max-width: 300px; margin: 0 auto; }
.isf__fork { position: relative; height: 56px; }
.isf__fork::before { content: ""; position: absolute; left: 50%; top: 0; height: 28px; border-left: 2px solid rgba(255, 255, 255, 0.7); }
.isf__fork::after { content: ""; position: absolute; left: 25%; right: 25%; top: 28px; height: 28px; border: 2px solid rgba(255, 255, 255, 0.7); border-bottom: 0; border-radius: 12px 12px 0 0; }
.isf__outs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.isf__out { flex-direction: column; align-items: flex-start; gap: 12px; }
.isf__out img { width: 100%; height: auto; aspect-ratio: 1; }
@media (prefers-reduced-motion: no-preference) {
  .scene.is-on .isf__out { animation: isf-in 0.6s ease-out both; }
  .scene.is-on .isf__out + .isf__out { animation-delay: 0.25s; }
}
@keyframes isf-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .isf { max-width: 100%; } .isf b { font-size: 16px; } }

/* 399: цена на цветной полосе */
.is-price .stats { border-color: transparent; }
.is-price .is-link { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.5); }

/* 402: куда идут фото: логотипы магазинов и маркетплейсов белыми плашками */
.isw { display: flex; flex-wrap: wrap; gap: 10px; margin: -8px 0 32px; }
.isw span { display: flex; align-items: center; justify-content: center; height: 56px; padding: 0 20px; border-radius: 12px; background: #fff; }
.isw img { height: 26px; max-width: 110px; width: auto; object-fit: contain; filter: brightness(0); opacity: 0.8; }
.isw .isw__more { color: var(--ink-2); font-size: 15px; font-weight: 500; }
@media (max-width: 860px) { .isw span { height: 48px; padding: 0 14px; } .isw img { height: 22px; max-width: 84px; } }

/* ===== Общие правки раздела по пинам 20.11 (403-470) ===== */
/* «In short» после первого экрана, как на страницах интеграций (пин 441): абзац для AI и Markdown-копии */
.int-short { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px 40px; padding-top: 56px; padding-bottom: 48px; }
.int-short h2 { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); padding-top: 5px; }
.int-short p { max-width: 860px; font-size: 19px; line-height: 1.55; color: var(--ink); }
.int-short a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.int-short a:hover { text-decoration-color: currentColor; }
@media (max-width: 860px) { .int-short { grid-template-columns: 1fr; gap: 8px; padding-top: 36px; } .int-short p { font-size: 17px; } }
/* Знак Sync2Sys в схемах вертикально: значок сверху, название под ним (пин 418, «везде в таких местах») */
.mig__end.mig__end--to { flex-direction: column; justify-content: center; gap: 6px; padding: 14px 16px; text-align: center; }
.mig__end.mig__end--to img { width: 26px; }
.plat-v { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 600; text-align: center; }
.plat-v img { width: 28px; height: auto; }
/* Полоса «связь с остальным» цвета страницы (пины 417, 429, 438, 453): плитки белые, без рамки */
.plat-aiband.is-band .tile { background: #fff; }
.plat-aiband.is-band .sec__head { margin-bottom: 40px; }
/* Цена модуля: карточки цен над кнопками, две кнопки Explore pricing и Compare pricing (пины 447, 448) */
.plat-price-cta { margin-top: 32px; }

/* ===== Блок миграции, пин 516 (Саша 20.11): цветная панель, справа сетка знаков площадок с Sync2Sys в центре (как в примере Mixpanel) ===== */
.mig-sec { padding-top: 96px; }
.pg .mig.mig--x { position: relative; overflow: hidden; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: 32px; min-height: 520px; padding: 72px 0 72px 72px; border: 0; border-radius: 16px; color: #fff;
  background: radial-gradient(70% 90% at 78% 50%, color-mix(in srgb, var(--th) 60%, transparent) 0%, transparent 70%), color-mix(in srgb, var(--th) 38%, #06120d); }
.mig--x .tag { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.mig--x .h2 { color: #fff; }
.mig--x .lede { color: rgba(255, 255, 255, 0.8); max-width: 520px; }
.pg .mig--x .mig__time { display: flex; align-items: baseline; gap: 12px; margin-top: 28px; padding: 0; border: 0; border-radius: 0; background: none; color: #fff; }
.pg .mig--x .mig__time small { font-size: 16px; color: rgba(255, 255, 255, 0.7); opacity: 1; }
.pg .mig--x .mig__time b { margin: 0; font-size: 44px; color: #fff; }
.mig--x .hero__cta { margin-top: 28px; }
.mig--x .btn--light { background: #fff; color: var(--ink); }
.mig--x .btn--ghost-w { background: rgba(255, 255, 255, 0.1); color: #fff; }
.mig--x .btn--ghost-w:hover { background: rgba(255, 255, 255, 0.18); }
.mig__orb { position: relative; align-self: stretch; min-height: 420px; margin: -72px 0; }
.mig__grid { position: absolute; inset: -20px -40px -20px 0; display: grid; grid-template-columns: repeat(7, 72px); grid-auto-rows: 72px; gap: 18px; align-content: center; justify-content: center;
  -webkit-mask: radial-gradient(closest-side, #000 45%, transparent 100%); mask: radial-gradient(closest-side, #000 45%, transparent 100%); }
.mig__grid i { display: grid; place-items: center; border-radius: 16px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); }
.mig__grid img { width: 30px; height: 30px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.55; }
.mig__core { position: absolute; left: 50%; top: 50%; width: 236px; height: 236px; margin: -118px 0 0 -118px; display: grid; place-items: center; }
.mig__core span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.22); background: radial-gradient(circle, color-mix(in srgb, var(--th) 40%, transparent), transparent 70%); }
.mig__core span + span { inset: 22px; border-color: rgba(255, 255, 255, 0.3); }
.mig__core b { position: relative; width: 150px; height: 150px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 22%, #fff 0%, color-mix(in srgb, var(--th) 45%, #fff) 30%, color-mix(in srgb, var(--th) 55%, #000) 75%, #0b1410 100%);
  box-shadow: 0 0 60px color-mix(in srgb, var(--th) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.mig__core img { width: 70px; height: auto; filter: brightness(0) invert(1); }
@media (prefers-reduced-motion: no-preference) {
  .mig__grid i { animation: mig-tile 4.4s ease-in-out var(--d) infinite; }
  .mig__core span { animation: mig-ring 3.2s ease-in-out infinite; }
  .mig__core span + span { animation-delay: 0.8s; }
}
@keyframes mig-tile { 0%, 100% { background: rgba(255, 255, 255, 0.07); } 50% { background: rgba(255, 255, 255, 0.14); } }
@keyframes mig-ring { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: 0.6; } }
@media (max-width: 1180px) { .pg .mig.mig--x { padding-left: 48px; } .mig__grid { grid-template-columns: repeat(7, 60px); grid-auto-rows: 60px; gap: 14px; } }
@media (max-width: 860px) {
  .mig-sec { padding-top: 64px; }
  .pg .mig.mig--x { grid-template-columns: 1fr; gap: 0; min-height: 0; padding: 36px 22px 0; }
  .mig__orb { min-height: 300px; margin: 8px -22px 0; }
  .mig__grid { inset: 0; grid-template-columns: repeat(7, 52px); grid-auto-rows: 52px; gap: 10px; }
  .mig__grid img { width: 22px; height: 22px; }
  .mig__core { width: 170px; height: 170px; margin: -85px 0 0 -85px; }
  .mig__core span + span { inset: 16px; }
  .mig__core b { width: 108px; height: 108px; }
  .mig__core img { width: 50px; }
  .pg .mig--x .mig__time b { font-size: 36px; }
}

/* ===== Блок миграции, пины 544 и 552 (Саша 20.11): вариант C: тёмная полоса во всю ширину, крупно «1 week», три шага по линии, полупрозрачный знак Sync2Sys на фоне */
.migc { position: relative; overflow: hidden; margin-top: 0; padding: 96px 0; color: #fff;
  background: radial-gradient(60% 120% at 85% 0%, color-mix(in srgb, var(--th) 55%, transparent), transparent 70%), color-mix(in srgb, var(--th) 26%, #061a1d); }
/* 568-570 (Саша 20.11): без знака на фоне, без зазора сверху и без зазора с линией перед FAQ, на всех страницах */
.migc + .sec--rule { margin-top: 0; }
.migc + .sec--rule::before { display: none; }
.migc__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.migc .tag { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.migc .h2 { margin-top: 18px; color: #fff; }
.migc .lede { margin-top: 16px; max-width: 520px; color: rgba(255, 255, 255, 0.8); }
.migc .hero__cta { margin-top: 28px; }
.migc .btn--light { background: #fff; color: var(--ink); }
.migc .btn--ghost-w { background: rgba(255, 255, 255, 0.1); color: #fff; }
.migc .btn--ghost-w:hover { background: rgba(255, 255, 255, 0.18); }
.migc__big { margin: 0; text-align: right; font-size: clamp(88px, 11vw, 160px); line-height: 0.9; font-weight: 500; letter-spacing: -0.05em; }
.migc__big small { display: block; margin-bottom: 10px; font-size: 18px; letter-spacing: 0; color: rgba(255, 255, 255, 0.6); }
.migc__steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.migc__steps li { position: relative; padding: 28px 28px 0 0; }
.migc__steps li::before { content: ""; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.14); }
.migc__steps b { display: block; font-size: 19px; font-weight: 500; }
.migc__steps span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.72); }
@media (max-width: 860px) {
  .migc { padding: 56px 0; }
  .migc__in { grid-template-columns: 1fr; gap: 24px; }
  .migc__big { text-align: left; }
  .migc__steps { grid-template-columns: 1fr; margin-left: 6px; border-top: 0; border-left: 1px solid rgba(255, 255, 255, 0.2); }
  .migc__steps li { padding: 0 0 24px 24px; }
  .migc__steps li::before { left: -6px; top: 4px; }
}


/* Платформа, общие правки 21.11 (перенос правок Product catalog и Supplier import на все страницы раздела) */
/* Сцены: окна как на Supplier import: колонка текста 440px, окно до 540px, zoom 1.08 (Саша 21.11).
   Колонки меняем только там, где сцены на тёмной зоне во всю ширину (Product data, AI); на светлых страницах
   цветная колонка справа заданная градиентом, там окно крупнее в 1.08 раза без смены колонок. */
@media (min-width: 1320px) {
  html:is(:has(link[href*="plat-sales-channels.css"]), :has(link[href*="plat-ai-content.css"])) .lay-b .scene { grid-template-columns: 440px minmax(0, 1fr); }
  html:is(:has(link[href*="plat-sales-channels.css"]), :has(link[href*="plat-ai-content.css"])) .lay-b .scene__text { padding-right: 40px; }
  html:is(:has(link[href*="plat-sales-channels.css"]), :has(link[href*="plat-ai-content.css"])) .lay-b .scene__vis { padding: 0 0 0 24px; }
  html:is(:has(link[href*="plat-sales-channels.css"]), :has(link[href*="plat-ai-content.css"])) .film .scene__vis .ui { max-width: 540px; zoom: 1.08; }
  .film .scene__vis .ui { max-width: 500px; zoom: 1.08; }
  .film .scene__vis .isx, .film .scene__vis .isf { max-width: 500px; }
}
/* Карточки без обводки, едва заметная тень (Саша 21.11) */
.pis-tiles .tile, .plat-ai-tiles .tile { border-color: transparent; box-shadow: 0 1px 2px rgba(16, 22, 19, 0.06), 0 12px 32px -18px rgba(16, 22, 19, 0.28); }
/* Product tour: видео наезжает на низ первого экрана, «In short» под видео (пины 627, 628) */
.phero--center:has(+ .plat-tour-sec) { padding-bottom: 150px; border-bottom: 0; }
.plat-tour-sec { position: relative; z-index: 2; margin-top: -110px; padding-top: 0; }
.plat-tour-sec + .int-short { padding-top: 56px; }
@media (max-width: 720px) {
  .phero--center:has(+ .plat-tour-sec) { padding-bottom: 90px; }
  .plat-tour-sec { margin-top: -60px; }
}

/* Блок сцен (.film) на страницах платформы: тонкая линия сверху и снизу (Саша 22.11.2026).
   Сверху её уже рисует grad.css на тёмных страницах; здесь добавлена нижняя и верхняя для Image Studio. */
html body.pg .film::after { content: ""; position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 1px; background: rgb(255 255 255 / .16); pointer-events: none; }
html body.pg .film.home-film::before { content: ""; position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 1px; background: rgb(255 255 255 / .16); pointer-events: none; }
