/* ================= Geologica (локальные woff2) ================= */
@font-face{font-family:'Geologica';src:url('../assets/fonts/geologica-light.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Geologica';src:url('../assets/fonts/geologica-regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Geologica';src:url('../assets/fonts/geologica-medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Geologica';src:url('../assets/fonts/geologica-semibold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Geologica';src:url('../assets/fonts/geologica-bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Geologica';src:url('../assets/fonts/geologica-extrabold.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap}

/* ================= Токены ================= */
:root{
  --bg:#F6F6F7;
  --white:#FFFFFF;
  --orange:#FF5029;
  --title:#091520;
  --dark:#091520;
  --text:rgba(9,21,32,.70);
  --text-40:rgba(9,21,32,.42);
  --light:#FFFFFF;
  --light-mute:rgba(255,255,255,.70);
  --twilight:#DAE2ED;
  --grey:#E8EAED;
  --radius-pill:999px;
  --radius-card:24px;
  --radius-card-32:32px;
  --radius-card-34:34px;
  --radius-panel:44px;
  --gradient-hero:radial-gradient(ellipse 90.52% 444.85% at 96.56% 64.25%, #FF8147 0%, rgba(255,80,41,0) 100%), linear-gradient(325deg, #FF5029 0%, #9A0101 100%);
  --content-max:1160px;
  --container:1400px;
}

/* ================= Reset ================= */
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
/* убираем синюю подсветку тапа по ссылкам/кнопкам/пилюлям на мобилке; выделение текста внутри контента сохраняем */
a,button,[role="button"],.switch-item,.section-tabs button,.case-link,.logo-dl,.side-dl,.hdl-btn{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}
html{-webkit-text-size-adjust:100%;scrollbar-gutter:stable}
body{font-family:'Geologica',system-ui,sans-serif;background:var(--bg);color:var(--title);font-weight:300;line-height:1.25;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer;border:none;background:none}
.sr-sprite{position:absolute;width:0;height:0;overflow:hidden}

/* ================= Логотип ================= */
/* база: плоский логотип = знак-логознак (_Icons) + текст, БЕЗ круга */
.brand-logo{display:inline-flex;align-items:center;gap:14px}
.brand-logo .mark{height:44px;width:auto;flex:none;fill:var(--orange)}          /* знак: оранжевый по умолчанию (баннеры) */
.brand-logo .word{height:27px;width:auto;flex:none;fill:var(--dark)}            /* текст «моё дело»: тёмный по умолчанию */
.brand-logo .mark-wrap{display:none}
.brand-logo.is-light .mark{fill:#fff}
.brand-logo.is-light .word{fill:#fff}
/* вариант со знаком в оранжевом круге (шапка/aside) */
.brand-logo.badge .mark-wrap{display:grid;place-items:center;background:var(--orange);border-radius:50%;flex:none}
.brand-logo.badge .mark{fill:#fff}
/* размер круга — задаётся модификаторами ниже */
.brand-logo.badge.lg .mark-wrap{width:64px;height:64px}
.brand-logo.badge.lg .mark{height:34px}
.brand-logo.badge.lg .word{height:26px}
.brand-logo.badge.sm .mark-wrap{width:44px;height:44px}
.brand-logo.badge.sm .mark{height:24px}
.brand-logo.badge.sm .word{height:18px}

/* ================= Каркас ================= */
.page{flex:1 0 auto}
.container{max-width:var(--content-max);margin:0 auto;padding:0 40px}

/* ================= ХЕДЕР (принесён из kontragenty-v4, 1:1) ================= */
/* БЕЗ backdrop-filter: blur размывал оранжевый hero за хедером → бандинг (полосы) + мерцание
   при движении мыши. Плотная полупрозрачная подложка без блюра = чисто, без полос. */
.site-header{position:sticky;top:0;z-index:1000;height:72px;background:rgba(255,255,255,.92);border-bottom:1px solid rgba(9,21,32,.06)}
.header-inner{height:72px;display:flex;align-items:center;justify-content:center;gap:28px;width:min(1400px,calc(100% - 48px));margin:0 auto}
.logo-link{order:0;flex:0 0 auto;display:inline-flex;pointer-events:none;cursor:default}
.header-logo,.logo-link img{width:129px;height:auto;display:block}
.header-year{color:var(--dark);font-size:20px;font-weight:600;line-height:24px}

/* ================= HERO (только «О бренде», под хедером) ================= */
/* высота срезана на высоту хедера (72px), чтобы hero целиком влезал на ноутбуках */
.hero{position:relative;width:100%;height:628px;background:var(--gradient-hero);overflow:hidden}
body:not([data-section="brand"]) .hero{display:none}
.hero-overlay{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;mix-blend-mode:overlay;opacity:.9}
/* внутренний контейнер центрирован → отступ слева (край→текст) = отступ справа (край→фото) */
.hero-inner{position:relative;z-index:2;height:100%;width:min(1400px,calc(100% - 96px));margin:0 auto}
.hero-title{position:absolute;left:0;top:50%;transform:translateY(-50%);max-width:600px;margin:0;color:#fff;font-size:80px;font-weight:500;line-height:88px;z-index:3;text-shadow:0 2px 14px rgba(9,21,32,.28)}
.hero-photo{position:absolute;right:-36px;bottom:0;height:100%;width:auto;object-fit:contain;z-index:1}

/* Тело: aside переключатель + контент */
.body-row{padding:48px 0 100px}
.body-grid{display:grid;grid-template-columns:203px minmax(0,860px);justify-content:space-between;gap:60px;align-items:start}
.aside{position:sticky;top:96px}

/* ================= Переключатель разделов ================= */
.switcher{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.switch-item{padding:8px 16px;background:var(--white);border-radius:var(--radius-pill);color:var(--title);font-size:16px;font-weight:300;line-height:20px;white-space:nowrap;transition:background .32s cubic-bezier(.22,.61,.36,1),color .32s cubic-bezier(.22,.61,.36,1)}
.switch-item:hover{background:var(--grey)}
.switch-item.is-active{background:var(--dark);color:#fff}
.switch-item.is-active:hover{background:var(--dark)}

/* ================= Контент секций ================= */
.section-pane{display:none;flex-direction:column;gap:80px}
.section-pane.is-active{display:flex;animation:paneIn .44s cubic-bezier(.22,.61,.36,1)}
/* плавное появление контента раздела при переключении */
@keyframes paneIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@media (prefers-reduced-motion: reduce){.section-pane.is-active{animation:none}}
.pane-h{font-size:40px;font-weight:500;line-height:44px;color:var(--title)}
.pane-lead{font-size:20px;font-weight:300;line-height:24px;color:var(--text)}
.block{display:flex;flex-direction:column;gap:40px}
.block-head{display:flex;flex-direction:column;gap:24px}

/* ================= Кнопки ================= */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:var(--radius-pill);font-family:inherit;transition:background .2s,color .2s}
.btn-primary{background:var(--orange);color:#fff;font-size:20px;font-weight:500;line-height:24px;padding:15px 55px}
.btn-primary:hover{background:var(--dark)}
.btn-dark{background:var(--dark);color:#fff;font-size:16px;font-weight:400;line-height:20px;padding:20px 28px}
.btn-round{width:64px;height:64px;padding:0;border-radius:99px;background:var(--orange);display:grid;place-items:center;flex:none}
.btn-round:hover{background:var(--dark)}
.btn-round svg{width:24px;height:24px;stroke:#fff;fill:none}
.btn-round.rev svg{transform:scaleX(-1)}

/* ================= Нижняя навигация ================= */
.pane-nav{display:flex;justify-content:space-between;align-items:center;margin-top:80px}
.pane-nav .nav-side{display:flex;align-items:center;gap:16px}
.pane-nav .nav-label{color:var(--title);font-size:16px;font-weight:400;line-height:20px}
.pane-nav .nav-prev{visibility:hidden}
.pane-nav .nav-next{margin-left:auto}

/* ================= Карточки «О бренде» ================= */
.card{position:relative;overflow:hidden;border-radius:var(--radius-card-32)}

/* большая карточка «Бухгалтерия — это наше дело» */
.card-buh{position:relative;height:471px;border-radius:var(--radius-panel);background:var(--gradient-hero);overflow:hidden}
.card-buh img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.card-buh .in{position:absolute;left:50px;top:57px;bottom:57px;width:405px;display:flex;flex-direction:column;justify-content:space-between;z-index:2}
.card-buh h3{color:#fff;font-size:40px;font-weight:600;line-height:48px}
.card-buh h3 .mute{color:var(--light-mute)}
.card-buh p{color:#fff;font-size:20px;font-weight:400;line-height:28px;margin-top:12px;max-width:335px}

/* окна-визуалы «О бренде» (размер как баннер card-buh): солнечный градиент + живой меш */
.brand-visual{position:relative;height:471px;border-radius:var(--radius-panel);overflow:hidden;background:var(--gradient-hero)}
/* флара-картинка воспроизводит рендер плитки «Цвета» (overlay поверх gradient-hero, увеличена — иначе флара обрезается/тусклая); % → масштабируется с карточкой на адаптивах */
.brand-visual--sun .bv-sun{position:absolute;inset:auto;left:-25%;top:-25%;width:150%;height:150%;max-width:none;object-fit:fill;mix-blend-mode:overlay}
.brand-visual--mesh{display:grid;place-items:center}
.brand-visual--mesh .lg-mesh{position:absolute;inset:0}
.brand-visual--mesh .brand-logo{position:relative;z-index:2}
.brand-visual--mesh .brand-logo .mark{height:74px}
.brand-visual--mesh .brand-logo .word{height:46px}
@media(max-width:1024px){
  .brand-visual{height:380px}
  .brand-visual--mesh .brand-logo .mark{height:60px}
  .brand-visual--mesh .brand-logo .word{height:38px}
}
@media(max-width:600px){
  .brand-visual{height:200px;border-radius:24px}
  .brand-visual--mesh .brand-logo .mark{height:44px}
  .brand-visual--mesh .brand-logo .word{height:27px}
}

/* сетка «визуальные приёмы» */
.tricks{display:flex;flex-direction:column;gap:10px}
.tricks-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tri-col{display:flex;flex-direction:column;gap:9px}
.tri-dark{height:230px;background:var(--dark);border-radius:var(--radius-card);display:grid;place-items:center;overflow:hidden}
.tri-dark .big-mark{height:150px;width:auto;fill:#fff}
.tri-illu{height:350px;background:var(--orange);border-radius:var(--radius-card);overflow:hidden}
.tri-illu img{width:100%;height:100%;object-fit:cover}

/* правая карточка «Передайте бухгалтерию» */
.tri-promo{position:relative;height:589px;border-radius:var(--radius-card-32);background:radial-gradient(ellipse 78% 82% at 95% 52%, #FFA85F 0%, rgba(255,150,80,0) 62%), linear-gradient(118deg, #D62B15 0%, #EE4E1E 52%, #FF7C37 100%);overflow:hidden}
.tri-promo .bg-shape{position:absolute;right:-160px;top:10px;height:620px;width:auto;fill:rgba(255,255,255,.10);transform:rotate(-4deg);pointer-events:none}
.tri-promo .in{position:absolute;left:34px;right:34px;top:34px;z-index:2;display:flex;flex-direction:column;gap:32px}
.tri-promo h3{color:#fff;font-size:28px;font-weight:500;line-height:33.6px;margin-top:8px}
.tri-promo p{color:#fff;font-size:16px;font-weight:300;line-height:19.2px;margin-top:16px}
.tri-promo .photo{position:absolute;left:0;right:0;bottom:0;width:100%;object-fit:contain;z-index:1}

/* нижняя широкая карточка «Всё что нужно для бизнеса» */
.card-all{position:relative;height:432px;border-radius:var(--radius-card-32);background:linear-gradient(160deg,#EBEFF5 0%,#D6DEEB 100%);overflow:hidden}
.card-all .bg-shape{position:absolute;right:-150px;top:50%;transform:translateY(-50%) rotate(-8deg);height:700px;width:auto;fill:rgba(255,255,255,.30);pointer-events:none;z-index:0}
.card-all .art{position:absolute;right:0;top:50%;transform:translateY(-50%);width:66%;object-fit:contain;z-index:1}
.card-all .in{position:absolute;left:44px;top:0;bottom:0;width:440px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:24px;z-index:2}
.card-all h3{color:var(--title);font-size:42px;font-weight:500;line-height:46px}
.card-all .sub{color:var(--title);font-size:20px;font-weight:400;line-height:28px;margin-top:14px}
.card-all .btn-primary{align-self:flex-start;font-size:18px;font-weight:500;padding:19px 42px}

/* ============================================================= */
/* ===================== РАЗДЕЛ «ЛОГОТИП» ===================== */
/* ============================================================= */
/* варианты цвета логотипа */
.brand-logo.is-dark .mark,.brand-logo.is-dark .word{fill:var(--dark)}

.lg-stack{display:flex;flex-direction:column;gap:10px}
.lg-row2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.lg-col{display:flex;flex-direction:column;gap:10px}

/* баннер-карточка: градиент + световая текстура (opacity .58) + крупный белый лого */
.lg-hero{position:relative;height:400px;border-radius:var(--radius-panel);background:var(--gradient-hero);display:grid;place-items:center;overflow:hidden}
.lg-hero-ov{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.58}
.lg-hero .brand-logo{position:relative;z-index:2}
.lg-hero .brand-logo .mark{height:74px}
.lg-hero .brand-logo .word{height:46px}

/* плашка с лого по центру */
.lg-plate{position:relative;background:#fff;border-radius:34px;display:grid;place-items:center;min-height:230px;padding:48px;overflow:hidden}
.lg-plate.dark{background:var(--dark)}
.lg-plate .brand-logo .mark{height:62px}
.lg-plate .brand-logo .word{height:39px}
.lg-plate .lg-mark-big{height:150px;width:auto}
.lg-mark-big{fill:var(--orange)}

/* подписи-разметка (оранжевые) */
.lg-cap{color:var(--orange);font-size:13px;font-weight:400;line-height:16px;text-align:center}
.lg-cap-side{color:var(--orange);font-size:15px;font-weight:400;line-height:19px}

/* композиция из слоёв SVG (из Figma), наложенных друг на друга */
.guard-layers,.layers{position:relative;width:100%;aspect-ratio:773/300}
.guard-layers img,.layers img{position:absolute;inset:0;width:100%;height:100%;display:block}
.layers{aspect-ratio:auto}
/* мокап телефона: оранжевая скруглённая карточка (layout), экран внутри с равными отступами сверху/слева/справа, снизу обрезается */
.phone-frame{position:relative;width:100%;aspect-ratio:1/1;border-radius:44px;overflow:hidden;background:var(--gradient-hero)}
.phone-frame img{position:absolute;top:7%;left:7%;width:86%;height:96%;object-fit:cover;object-position:top center}
/* правая колонка: два белых layout БЕЗ тени, вместе = высота телефона */
.fav-col{display:flex;flex-direction:column;gap:18px;height:100%}
/* верхний белый layout (без тени); SVG браузера на нём с отступом сверху/слева, тень У SVG, снизу/справа обрезается */
.browser-card{position:relative;flex:0 0 43%;background:#fff;border-radius:28px;overflow:hidden}
.browser-card img{position:absolute;bottom:0;left:24px;width:118%;max-width:none;filter:drop-shadow(0 4px 14px rgba(9,21,32,.10))}

/* ===== технические карточки логотипа: абсолютное позиционирование по Figma ===== */
.lg-fig{position:relative;background:#fff;border-radius:38px;overflow:hidden}
.lg-fig .work{position:absolute}
.fig-vline{position:absolute;width:0;border-left:1px solid var(--orange)}
.fig-hline{position:absolute;height:0;border-top:1px solid var(--orange)}
/* размерная скобка (отрезок с засечками на концах) */
.seg-h{position:absolute;height:0;border-top:1px solid var(--orange)}
.seg-h::before,.seg-h::after{content:"";position:absolute;top:-3px;width:0;height:7px;border-left:1px solid var(--orange)}
.seg-h::before{left:0}.seg-h::after{right:0}
.seg-v{position:absolute;width:0;border-left:1px solid var(--orange)}
.seg-v::before,.seg-v::after{content:"";position:absolute;left:-3px;height:0;width:7px;border-top:1px solid var(--orange)}
.seg-v::before{top:0}.seg-v::after{bottom:0}
/* Г-образный уголок (выноска буквы «о») */
.seg-corner{position:absolute;border-left:1px solid var(--orange);border-top:1px solid var(--orange)}
.fig-o{position:absolute;color:var(--orange);font-size:19px;line-height:23px}
.fig-cap{position:absolute;color:var(--orange);font-size:19px;line-height:23px;text-align:center;white-space:nowrap}
.fig-cap13{position:absolute;color:var(--orange);font-size:18px;line-height:21px}
.fig-ring{width:46px;height:46px;border:11px solid rgba(255,80,41,.28);border-radius:50%}
.fig-grey{background:rgba(217,217,217,.55)}
.fig-grey2{background:rgba(217,217,217,.28)}
.fig-band{position:absolute;background:rgba(255,255,255,.66);display:flex;align-items:center;justify-content:center}
.fig-logo{position:absolute;display:inline-flex;align-items:center;gap:16px}
.fig-logo .mark{width:auto;fill:var(--orange)}
.fig-logo .word{width:auto;fill:var(--dark)}
.lg-plate-label{color:var(--text);font-size:20px;font-weight:300;line-height:24px;text-align:center}

/* ===== секции 4-10: карточки-фоны, мокапы, дифференциация, недопустимое, скачивание ===== */
.lg-sub{font-size:32px;font-weight:500;line-height:36px;color:var(--title)}
/* карточка-фон с логотипом по центру */
.lg-bg{position:relative;border-radius:34px;min-height:230px;display:grid;place-items:center;overflow:hidden}
.lg-bg.white{background:#fff}
.lg-bg.orange{background:var(--gradient-hero)}
.lg-bg.grey{background:linear-gradient(160deg,#EBEFF5 0%,#D6DEEB 100%)}
.lg-bg.sun{background:radial-gradient(ellipse 80% 90% at 88% 60%,#FFA85F 0%,rgba(255,140,70,0) 62%),linear-gradient(118deg,#E5401C 0%,#FF7C37 100%)}
.lg-bg .lg-ph-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lg-bg .brand-logo{position:relative;z-index:2}
.lg-bg .brand-logo .mark{height:60px}.lg-bg .brand-logo .word{height:38px}
/* placeholder креатива: логотип в углу + серые уголки + диагонали X */
.lg-creative{position:relative;background:#fff;border-radius:34px;min-height:300px;overflow:hidden;padding:34px}
.lg-creative .brand-logo{position:relative;z-index:2}
.lg-creative .brand-logo .mark{height:36px}.lg-creative .brand-logo .word{height:23px}
.lg-creative .xbox{position:absolute;inset:70px 34px 34px 34px;border:0}
.lg-creative .xbox::before,.lg-creative .xbox::after{content:"";position:absolute;top:0;left:0;width:141%;height:1px;background:rgba(9,21,32,.14);transform-origin:left top}
.lg-creative .xbox::before{transform:rotate(35deg)}
.lg-creative .xbox::after{top:100%;transform:rotate(-35deg)}
.lg-creative .corner{position:absolute;width:16px;height:16px}
/* мокап телефона */
.lg-phone{position:relative;border-radius:44px;padding:0;overflow:hidden;background:var(--gradient-hero);min-height:520px}
.lg-phone-screen{position:absolute;inset:26px;border-radius:36px;padding:18px 20px}
.lg-status{display:flex;justify-content:space-between;align-items:center;color:#fff;font-size:15px;font-weight:500;padding:6px 6px 20px}
.lg-apps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px 14px}
.lg-app{display:flex;flex-direction:column;align-items:center;gap:6px}
.lg-app .ic{width:56px;height:56px;border-radius:14px;display:grid;place-items:center;overflow:hidden;background:#fff}
.lg-app .ic img{width:100%;height:100%;object-fit:cover}
.lg-app span{color:#fff;font-size:11px;line-height:13px}
.lg-app .ic.md{background:#fff}.lg-app .ic.md svg{width:34px;fill:var(--orange)}
/* браузер-мокап */
.lg-browser{background:#fff;border-radius:28px;overflow:hidden;padding:18px}
.lg-browser-tabs{display:flex;gap:8px;align-items:center;margin-bottom:14px}
.lg-dot{width:12px;height:12px;border-radius:50%}
.lg-tab{margin-left:14px;display:flex;align-items:center;gap:8px;background:#F0F1F3;border-radius:10px 10px 0 0;padding:8px 14px;font-size:14px;color:var(--title)}
.lg-tab svg{width:18px;fill:var(--orange)}
.lg-browser-bar{display:flex;align-items:center;gap:14px}
.lg-browser-bar .url{flex:1;background:#F0F1F3;border-radius:999px;padding:9px 16px;font-size:13px;color:var(--text)}
/* иконка/фавикон */
.lg-favicons{background:#fff;border-radius:28px;padding:28px;display:flex;justify-content:center;align-items:center;gap:40px;flex:1 1 auto}
.lg-fav{display:flex;flex-direction:column;align-items:center;gap:14px}
.lg-fav .box{width:96px;height:96px;background:var(--orange);display:grid;place-items:center}
.lg-fav .box.sq{border-radius:22px}.lg-fav .box.circle{border-radius:50%}
.lg-fav .box svg{width:52px;fill:#fff}
.lg-fav span{color:var(--title);font-size:16px}
/* дифференциация: логотип МД финансы/главучёт из ассетов (двухцветный) */
.lg-bg .md-logo-img{height:46px;width:auto;max-width:76%;position:relative;z-index:2}
.lg-bg.orange .md-logo-img{filter:brightness(0) invert(1)}
/* недопустимое использование */
.lg-dont-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px}
.lg-dont-cell{display:flex;flex-direction:column;gap:16px}
.lg-dont{position:relative;background:#fff;border-radius:34px;min-height:210px;display:grid;place-items:center;overflow:hidden}
.lg-dont.photo .lg-ph-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lg-dont .brand-logo{position:relative;z-index:2}
.lg-dont .brand-logo .mark{height:40px}.lg-dont .brand-logo .word{height:25px}
.lg-dont .x-badge{position:absolute;left:26px;bottom:26px;width:44px;height:44px;border-radius:50%;background:#E5321B;display:grid;place-items:center;z-index:3}
.lg-dont .x-badge::before{content:"×";color:#fff;font-size:26px;line-height:1;font-weight:300}
.lg-dont-cap{color:var(--text);font-size:16px;font-weight:400;line-height:22px;text-align:center}
/* скачивание */
.lg-download{background:#fff;border-radius:var(--radius-panel);padding:56px;display:flex;flex-direction:column;align-items:center;gap:28px}
.lg-download .eyebrow{color:var(--orange);font-size:14px;font-weight:500;line-height:18px}
.lg-download h3{color:var(--title);font-size:40px;font-weight:500;line-height:44px;text-align:center;margin:0}
.lg-seg{display:inline-flex;background:var(--grey);border-radius:999px;padding:5px}
.lg-seg button{border:0;background:none;border-radius:999px;padding:12px 22px;font-family:inherit;font-size:16px;font-weight:400;color:var(--title);cursor:pointer}
.lg-seg button.is-active{background:var(--dark);color:#fff}
.lg-dl-btns{display:flex;gap:16px}
.lg-dl-btns button{display:inline-flex;align-items:center;gap:10px;background:var(--grey);border:0;border-radius:20px;padding:22px 52px;font-family:inherit;font-size:16px;color:var(--text);cursor:pointer}
.lg-dl-btns button svg{width:20px;height:20px;stroke:var(--text);fill:none}

/* ================= Шрифты ================= */
.sans-cards{display:grid;grid-template-columns:380fr 470fr;gap:10px}
.sans-main{position:relative;background:var(--gradient-hero);border-radius:var(--radius-card-34);overflow:hidden;padding:34px;min-height:432px}
.sans-main .sm-label{color:var(--light-mute);font-size:20px;font-weight:300;line-height:24px}
.sans-main .sm-word{position:absolute;left:34px;bottom:34px;color:#fff;font-size:56px;font-weight:500;line-height:64px}
.sans-sample{background:var(--white);border-radius:var(--radius-card-34);overflow:hidden;padding:34px;min-height:432px}
.ss-label{font-weight:500}
.ss-label--m{color:var(--text);font-size:20px;line-height:24px}
.ss-label--l{color:#000;font-size:24px;font-weight:300;line-height:28px;margin-top:40px}
.ss-glyphs{color:#000;font-size:32px;line-height:36px;margin-top:16px}
.ss-glyphs--m{font-weight:500}
.ss-glyphs--l{font-weight:300}
.lg-download.is-sans{gap:32px;min-height:320px;justify-content:center}
.lg-download.is-sans .dl-head{display:flex;flex-direction:column;align-items:center;gap:16px}
.sans-dl-btn{background:var(--orange);color:#fff;border-radius:var(--radius-pill);padding:20px 28px;min-width:290px;font-family:inherit;font-size:16px;font-weight:400;line-height:20px;text-align:center;transition:background .28s cubic-bezier(.22,.61,.36,1)}
.sans-dl-btn:hover{background:var(--dark)}

/* ================= Цвета ================= */
/* блок 1 — палитра */
.clr-cards{display:grid;grid-template-columns:476fr 374fr;gap:10px;align-items:stretch}
.clr-card{position:relative;overflow:hidden;padding:34px;min-height:467px}
.clr-card .cc-info{font-size:20px;font-weight:300;line-height:24px}
.clr-card .cc-name{position:absolute;left:34px;bottom:34px;font-size:32px;font-weight:500;line-height:36px}
.clr-card--orange{background:var(--orange);border-radius:32px;color:#fff}
.clr-card--grey{background:#DAE2ED;border-radius:24px;color:var(--text)}
.clr-card--grey .cc-info,.clr-card--grey .cc-name{color:var(--text)}
/* блок 2 — основной градиент с пипетками */
.clr-gradient{position:relative;width:100%;height:432px;border-radius:var(--radius-panel);overflow:hidden;background:var(--gradient-hero)}
.cg-line{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.cg-dot{position:absolute;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.3);display:grid;place-items:center}
.cg-dot::after{content:"";width:12.25px;height:12.25px;border-radius:50%;background:rgba(255,255,255,.8)}
.clr-swatches{display:flex;justify-content:space-between;align-items:flex-start}
.cs-col{width:196px;display:flex;flex-direction:column;gap:16px}
.cs-col--right{align-items:flex-end;text-align:right}
.cs-dot{width:44px;height:44px;border-radius:50%}
.cs-lines{display:flex;flex-direction:column;gap:6px;font-size:20px;font-weight:300;line-height:24px;color:var(--text)}
/* блок 3 — доп. градиенты */
.clr-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.clr-tile{position:relative;height:277px;border-radius:28px;overflow:hidden;background:var(--grey)}
.blobset{position:absolute;inset:0}
.blobset .base{position:absolute;inset:0;background:#fff}
.blobset .blob{position:absolute;border-radius:9999px}
.blob-ov{position:absolute;inset:0;mix-blend-mode:overlay}
.tile-g2{background:radial-gradient(90% 95% at 100% 100%, #FC9C68 0%, rgba(252,156,104,0) 55%), linear-gradient(180deg, #6CB2D0 0%, #A38A8F 26%, #D1705E 50%, #EC6646 76%, #EF6643 100%)}
.tile-g5{background:linear-gradient(135deg,#F5F7FA 0%,#C3CFE2 100%)}
.tile-g6{background:radial-gradient(ellipse 224.11% 352.87% at 146.3% -16.12%, #452046 0%, #8C82AA 23%, #FF5029 66%, #8E000B 100%), radial-gradient(ellipse 102.19% 181.67% at 102.19% 0%, #8C1804 0%, #D73010 70%)}
/* блок 4 — блики */
.clr-tile.sun{background:var(--gradient-hero)}
.sun-img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;mix-blend-mode:overlay}
/* .pos — картинка накладывается СВОИМ размером/смещением (в % от плитки), а не cover */
.sun-img.pos{inset:auto;object-fit:fill}
/* плитка 4 — светлая база (бледный персик), поверх — крупные белые блики sun-4 */
.clr-tile.sun.tile4{background:linear-gradient(135deg,#FA8539 0%,#F79567 42%,#F6A88B 78%,#F5AE90 100%)}

/* ================= Иконки ================= */
.ic-stack{display:flex;flex-direction:column;gap:10px}
.ic-panel{background:var(--white);border-radius:var(--radius-panel);min-height:332px;display:flex;align-items:center;padding:40px 38px}
.ic-grid{display:grid;grid-template-columns:repeat(10,42px);justify-content:space-between;row-gap:41px;width:100%}
.ic-grid img{width:42px;height:42px}
.ic-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ic-card{background:var(--white);border-radius:var(--radius-panel);height:227px;display:grid;place-items:center}
.ic-card img{width:auto;height:150px}

/* ================= Иллюстрации ================= */
.il-stack{display:flex;flex-direction:column;gap:10px}
.il-figure{position:relative;height:480px;border-radius:var(--radius-panel);overflow:hidden;background:#EEF1F5}
.il-figure img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.il-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.il-donts{display:flex;flex-direction:column;gap:24px}
.il-dont{display:flex;flex-direction:column;gap:12px}
.il-dont .il-figure{height:432px}
.il-badge{position:absolute;left:24px;bottom:24px;width:64px;height:64px;border-radius:50%;background:#D8342A;display:grid;place-items:center}
.il-badge svg{width:24px;height:24px;fill:#fff}

/* ================= 3D графика ================= */
.td-hero{position:relative;height:480px;border-radius:var(--radius-panel);background:var(--gradient-hero)}
.td-big{position:absolute;left:345px;right:auto;top:44%;transform:translateY(-50%);height:566px;width:auto;max-width:none;z-index:2}
.td-swatches{position:absolute;left:50px;top:33px;display:flex;flex-direction:column;gap:21px}
.td-swatch{display:flex;align-items:center;gap:16px}
.td-swatch img{width:125px;height:125px;flex:none}
.td-swatch span{color:#fff;font-size:20px;font-weight:400;line-height:24px}
.td-figure{position:relative;height:432px;border-radius:var(--radius-panel);overflow:hidden;display:flex;align-items:center;justify-content:center}
.td-figure img{max-width:100%;max-height:100%;width:auto;height:auto;display:block}
.td-figure.light{background:linear-gradient(135deg,#F5F7FA 0%,#C3CFE2 100%)}
.td-figure.orange{background:var(--gradient-hero)}
.td-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.td-donts{display:flex;flex-direction:column;gap:24px}
.td-dont{display:flex;flex-direction:column;gap:12px}
.td-dont .td-figure{background:var(--white)}

/* ================= Фотостиль ================= */
.ph-figure{position:relative;height:480px;border-radius:var(--radius-panel);overflow:hidden;background:var(--gradient-hero)}
.ph-figure img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.ph-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ph-principles{display:flex;flex-direction:column;gap:40px}
.ph-sub,.ph-group,.ph-2paras{display:flex;flex-direction:column;gap:24px}
.ph-subh{font-size:20px;font-weight:500;line-height:24px;color:var(--text)}
.ph-donts{display:flex;flex-direction:column;gap:24px}
.ph-dont{display:flex;flex-direction:column;gap:24px}
.ph-dont .ph-figure{height:432px}

/* ================= Маскоты ================= */
.mc-stack{display:flex;flex-direction:column;gap:10px}
.mc-figure{position:relative;height:480px;border-radius:var(--radius-panel);overflow:hidden;display:flex;align-items:flex-end;justify-content:center;background:var(--grey)}
.mc-figure img{width:100%;height:100%;object-fit:cover;object-position:center bottom;display:block}
.mc-figure.contain img{width:auto;max-width:100%;height:100%;object-fit:contain}
.mc-figure.orange{background:var(--gradient-hero)}
.mc-figure.light{background:linear-gradient(180deg,#F5F7FA 0%,#C3CFE2 100%)}
.mc-figure.white{background:var(--white)}
.mc-figure.mc-hero{justify-content:flex-start;padding-left:42px}
.mc-watermark{position:absolute;top:46%;right:-30px;transform:translateY(-50%);height:165%;width:auto;opacity:.5;z-index:0;pointer-events:none}
.mc-overlay{position:absolute;inset:0;background:radial-gradient(ellipse 141.42% 338.90% at 100% 100%, #FF8147 0%, rgba(255,80,41,0) 100%), linear-gradient(18deg, #FF5029 0%, #9A0101 100%);opacity:.22;mix-blend-mode:screen;z-index:1;pointer-events:none}
.mc-figure.mc-hero>img{position:relative;z-index:2}
.mc-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mc-row .mc-figure{height:432px}
.mc-donts{display:flex;flex-direction:column;gap:24px}
.mc-dont{display:flex;flex-direction:column;gap:24px}
.mc-dont .mc-figure{height:432px}
/* последний донт (contain, пара) — сдвинуть чуть вправо (был не по центру); мобилка со своим center ниже */
/* последний донт (пара разного роста): кадр под aspect-ratio (высота масштабируется по ширине
   на ВСЕХ разрешениях), картинка cover + центрирование по ПАРЕ (фокус между головами/глазами),
   а не по краям кадра. Высокая специфичность — перебивает общие мобильные правила донтов ниже. */
.section-pane[data-pane="mascot"] .mc-dont .mc-figure.mc-dont-last{height:auto;aspect-ratio:3/2;max-height:432px;align-items:stretch}
.section-pane[data-pane="mascot"] .mc-dont .mc-figure.mc-dont-last img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 22%}

/* ================= Примеры использования ================= */
.ex-hero{position:relative;height:432px;border-radius:var(--radius-card-34);overflow:hidden;background:var(--gradient-hero)}
.ex-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.ex-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(160deg,rgba(0,0,0,.28) 0%,rgba(0,0,0,0) 32%);z-index:1}
.ex-hero .brand-logo{position:absolute;left:34px;top:34px;z-index:2}
.ex-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ex-card{position:relative;height:589px;border-radius:var(--radius-card-32);overflow:hidden}
.ex-card.orange{background:var(--gradient-hero)}
.ex-card.light{background:linear-gradient(136deg,#F5F7FA 0%,#C3CFE2 100%)}
.ex-card-img{position:absolute;display:block}
.ex-card-img.full{inset:0;width:100%;height:100%;object-fit:cover;object-position:right center}
.ex-card-img.bottom{left:0;bottom:0;width:100%;height:auto}
.ex-card-img.cbottom{left:50%;transform:translateX(-50%);bottom:0;height:377px;width:auto;max-width:none}
.ex-card-top{position:relative;z-index:2;padding:34px;display:flex;flex-direction:column;gap:28px}
.ex-card-txt{display:flex;flex-direction:column;gap:12px}
.ex-card-h{font-size:28px;font-weight:600;line-height:1.2}
.ex-card-sub{font-size:16px;font-weight:500;line-height:1.25}
.ex-card.orange .ex-card-h,.ex-card.orange .ex-card-sub{color:#fff}
.ex-card.light .ex-card-h,.ex-card.light .ex-card-sub{color:var(--title)}
.ex-card .brand-logo .mark{height:36px}
.ex-card .brand-logo .word{height:21px}


/* ================= Дизайн-система ================= */
.ds-pane{gap:64px!important}
.ds-sub{font-size:20px;font-weight:300;line-height:24px;color:var(--text)}
.ds-h2{font-size:32px;font-weight:500;line-height:36px;color:var(--title)}
.ds-h3{font-size:24px;font-weight:500;line-height:28px;color:var(--title)}
.ds-sect{display:flex;flex-direction:column;gap:24px}
.ds-body{display:flex;flex-direction:column;gap:40px}
.ds-bullets{display:flex;flex-direction:column;gap:12px}
.ds-bullet{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:300;line-height:20px;color:var(--text)}
.ds-bullet::before{content:"";flex:none;width:18px;height:18px;border-radius:50%;background:rgba(255,80,41,.20);position:relative}
.ds-bullet::after{content:"";position:absolute;width:6px;height:6px;left:6px;top:50%;transform:translateY(-50%);border-radius:50%;background:#FF5029}
.ds-bullet{position:relative}
.ds-panel{background:var(--white);border-radius:40px}
.ds-col-h{color:rgba(9,21,32,.70);font-size:11px;font-weight:400;text-transform:uppercase;letter-spacing:.55px;line-height:15px}
.ds-tbl{background:#fff;border-radius:32px;overflow:hidden}
.ds-tr{display:flex}
.ds-tr:not(.ds-th){align-items:center;border-bottom:1px solid #EEEFF0}
.ds-tr:last-child{border-bottom:0}
.ds-th{background:#091520}
.ds-tcell{flex:1 1 0;min-width:0;padding:15px 16px;font-size:14px;font-weight:300;color:rgba(9,21,32,.70);line-height:18px}
.ds-tcell.first{flex:none;width:200px;padding-left:24px;padding-right:24px}
.ds-tcell.first2{flex:none;width:140px;padding-left:24px;padding-right:24px}
.ds-tcell.w120{flex:none;width:120px}
.ds-th .ds-tcell{color:#fff;font-size:11px;font-weight:400;text-transform:uppercase;letter-spacing:.55px;line-height:15px;padding-top:14px;padding-bottom:14px}
.ds-tcell.lvl{color:#FF5029;font-size:12px;line-height:16px}
.ds-tcell.desk{color:#091520;font-weight:500}
.ds-ex-xs{font-size:12px;color:#091520}.ds-ex-sm{font-size:14px;color:#091520}.ds-ex-md{font-size:16px;color:#091520}.ds-ex-lg{font-size:20px;color:#091520}
.ds-grid-panel{padding:64px;display:flex;flex-direction:column;gap:40px;align-items:stretch}
.ds-grid-row{display:flex;gap:20px;align-items:flex-start;justify-content:center}
.ds-wire{flex:1 1 0;display:flex;flex-direction:column;align-items:center;gap:16px}
.ds-wire.center{flex:none;width:356px;margin:0 auto}
.ds-wire-cap{display:flex;flex-direction:column;align-items:center;gap:2px}
.ds-wire-cap b{color:var(--title);font-size:12px;font-weight:500;line-height:16px}
.ds-wire-cap span{color:rgba(9,21,32,.40);font-size:10px;font-weight:300}
.ds-wire-box{padding:6px;border-radius:4px;outline:1px solid #D1D5DB;outline-offset:-1px;display:flex;flex-direction:column;align-items:center;gap:6px;overflow:hidden}
.ds-wire-box.two{flex-direction:row;gap:2px}
.ds-wr{display:flex;gap:2px;flex:1 1 0;align-self:stretch}
.ds-wr>i{flex:1 1 0;align-self:stretch;background:#E8EAED;display:block}
.ds-wire-box.two>i{flex:1 1 0;align-self:stretch;background:#E8EAED}
.ds-round-panel{padding:48px;display:flex;flex-direction:column;gap:24px;align-items:flex-start}
.ds-round-row{display:flex;gap:24px;align-items:flex-start}
.ds-round{display:flex;flex-direction:column;align-items:center;gap:12px}
.ds-round-box{background:#E8EAED}
.ds-round-cap{display:flex;flex-direction:column;align-items:center;gap:2px}
.ds-round-cap b{color:var(--title);font-size:14px;font-weight:500;line-height:18px}
.ds-round-cap span{color:rgba(9,21,32,.40);font-size:11px;font-weight:400}
.ds-hasdots{position:relative;overflow:hidden}
.ds-hasdots>*{position:relative;z-index:1}
.ds-hasdots::before{content:"";position:absolute;inset:32px;opacity:.4;background-image:radial-gradient(#E8E0EB 1px,transparent 1.3px);background-size:41.8px 41.8px;background-position:0 0;z-index:0}
.ds-btn-panel{min-height:400px;padding:24px 48px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:48px}
.ds-btn-row{display:flex;flex-wrap:wrap;align-items:center}
.ds-btn{border:0;border-radius:999px;font-family:inherit;background:#FF5029;color:#fff;cursor:default;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.ds-btn.l{height:80px;padding:0 32px;font-size:20px;font-weight:400}
.ds-btn.m{height:64px;padding:0 28px;font-size:16px;font-weight:400}
.ds-btn.s{height:48px;padding:0 16px;font-size:14px;font-weight:500}
.ds-btn.xs{height:32px;padding:0 12px;font-size:14px;font-weight:500}
.ds-btn.secondary{background:#E8EAED;color:var(--title)}
.ds-btn.tertiary{background:#091520;color:#fff}
.ds-btn.text{background:none;color:var(--text)}
.ds-io-panel{padding:64px}
.ds-cols{display:flex;justify-content:space-between;align-items:flex-start;gap:40px}
.ds-fields{display:flex;flex-direction:column;gap:20px}
.ds-field{display:flex;flex-direction:column;gap:6px}
.ds-flabel{color:rgba(9,21,32,.40);font-size:12px;font-weight:300;line-height:16px}
.ds-input{width:335px;min-height:64px;padding:10px 16px;border-radius:16px;background:#E8EAED;display:flex;align-items:center;gap:8px}
.ds-input .in-body{flex:1 1 0;display:flex;flex-direction:column;justify-content:center;min-width:0}
.ds-input .in-float{font-size:12px;font-weight:300;line-height:16px;color:rgba(9,21,32,.40)}
.ds-input .in-val{font-size:16px;font-weight:300;line-height:20px;color:#091520}
.ds-input .in-ph{font-size:16px;font-weight:300;line-height:20px;color:rgba(9,21,32,.40)}
.ds-input.hover{background:#D5D8DD}
.ds-input.hover .in-val{color:rgba(9,21,32,.70)}
.ds-input.focus{outline:1px solid #88939E;outline-offset:-1px}
.ds-input.focus .in-val{color:rgba(9,21,32,.70)}
.ds-input.error{background:rgba(216,52,42,.10);outline:1px solid rgba(216,52,42,.20);outline-offset:-1px}
.ds-input.error .in-float{color:#D8342A}
.ds-input.valid{background:rgba(0,152,5,.10);outline:1px solid rgba(0,152,5,.20);outline-offset:-1px}
.ds-input.valid .in-float{color:#009805}
.ds-input.disabled{opacity:.5}
.ds-io-err{color:#D8342A;font-size:12px;font-weight:300;line-height:16px;padding-left:16px;margin-top:8px}
.ds-cross{flex:none;color:#88939E;font-size:15px;line-height:1}
.ds-dots-pw{display:flex;gap:2px;padding:7px 0}
.ds-dots-pw i{width:8px;height:8px;border-radius:50%;background:#091520}
.ds-ic{flex:none;color:#091520;display:flex}
.ds-sel-panel{min-height:400px;padding:48px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:40px}
.ds-tags{display:flex;justify-content:center;gap:10px}
.ds-tag{padding:8px 16px;border-radius:999px;background:#fff;color:var(--title);font-size:16px;font-weight:300;line-height:20px}
.ds-tag.active{background:#091520;color:#fff}
.ds-segment{display:inline-flex;gap:4px;padding:4px;background:#E8EAED;border-radius:999px}
.ds-segment button{border:0;font-family:inherit;padding:18px 24px;border-radius:44px;background:#E8EAED;color:var(--title);font-size:16px;font-weight:400;line-height:20px;cursor:default}
.ds-segment button.active{background:#091520;color:#fff}
.ds-cr-panel{min-height:520px;padding:64px;display:flex;flex-direction:column;justify-content:center;align-items:center}
.ds-cr-cols{display:flex;justify-content:center;gap:48px;align-self:stretch}
.ds-cr-col{display:flex;flex-direction:column;gap:20px}
.ds-cr-col.radios{width:406px}
.ds-cr-col.checks{flex:1 1 0}
.ds-cr-group{display:flex;flex-direction:column;gap:20px}
.ds-cr-group.checks{gap:32px}
.ds-field.gap8{gap:8px}
.ds-opt-pill{width:202px;height:64px;padding:0 16px;border-radius:16px;background:#E8EAED;display:flex;align-items:center;gap:12px}
.ds-opt-pill.hover{background:#D5D8DD}
.ds-opt-pill.on-green{background:rgba(0,152,5,.10);outline:1px solid rgba(0,152,5,.20);outline-offset:-1px}
.ds-opt-pill .lbl{color:#091520;font-size:16px;font-weight:400;line-height:20px}
.ds-opt-plain{display:flex;align-items:center;gap:12px}
.ds-opt-plain .lbl{color:rgba(9,21,32,.40);font-size:12px;font-weight:300;line-height:16px}
.ds-opt-plain .lbl.dark{color:#091520}
.ds-radio{flex:none;width:24px;height:24px;border-radius:50%;border:1px solid #88939E;box-sizing:border-box;display:grid;place-items:center}
.ds-radio.green,.ds-radio.orange{border:0}
.ds-radio.green{background:#009805}.ds-radio.orange{background:#FF5029}
.ds-radio.green::after,.ds-radio.orange::after{content:"";width:8px;height:8px;border-radius:50%;background:#fff}
.ds-checkbox{flex:none;width:24px;height:24px;border-radius:8px;border:1px solid #88939E;box-sizing:border-box;display:grid;place-items:center}
.ds-checkbox.on{border:0;background:#FF5029}
.ds-checkbox svg{display:block}

/* ================= Живой градиент ================= */
.lg-mesh{position:relative;overflow:hidden;background:var(--gradient-hero)}
.lg-mesh canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
/* CSS blob-mesh (лёгкий, GPU) — порт из скилла */
.lg-css-mesh{position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none;background:radial-gradient(120% 130% at 88% 42%,#FF8147 0%,rgba(255,80,41,0) 55%),linear-gradient(325deg,#9A0101 0%,#FF5029 100%)}
.lg-css-mesh::before,.lg-css-mesh::after{content:"";position:absolute;border-radius:50%;filter:blur(58px);will-change:transform;pointer-events:none}
.lg-css-mesh::before{width:78%;height:135%;left:-14%;top:-24%;background:radial-gradient(circle,#FF6A2E 0%,rgba(255,106,46,0) 70%);animation:lg-blob-a 4.2s ease-in-out infinite alternate}
.lg-css-mesh::after{width:64%;height:125%;right:-10%;bottom:-26%;background:radial-gradient(circle,#FFB347 0%,rgba(255,179,71,0) 70%);animation:lg-blob-b 5.2s ease-in-out infinite alternate}
@keyframes lg-blob-a{0%{transform:translate3d(-34%,-10%,0) scale(1)}50%{transform:translate3d(6%,16%,0) scale(1.2)}100%{transform:translate3d(46%,-6%,0) scale(1.34)}}
@keyframes lg-blob-b{0%{transform:translate3d(36%,10%,0) scale(1.26)}50%{transform:translate3d(-8%,-16%,0) scale(1)}100%{transform:translate3d(-46%,14%,0) scale(.86)}}
@media (prefers-reduced-motion: reduce){.lg-css-mesh::before,.lg-css-mesh::after{animation:none}}
/* hero-пример */
.lg-heroex{position:relative;height:432px;border-radius:var(--radius-panel);overflow:hidden}
.lg-heroex .lg-mesh{position:absolute;inset:0}
.lg-heroex .lg-heroex-in{position:relative;z-index:2;height:100%;padding:48px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start}
.lg-heroex h3{color:#fff;font-size:44px;font-weight:500;line-height:48px;max-width:560px;margin:0}
.lg-heroex p{color:rgba(255,255,255,.85);font-size:18px;font-weight:300;line-height:24px;max-width:520px;margin-top:12px}
/* два вида — плитки */
.lg-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.lg-card{display:flex;flex-direction:column;gap:16px}
.lg-tile{position:relative;height:300px;border-radius:var(--radius-card-32);overflow:hidden}
.lg-tile .lg-mesh{position:absolute;inset:0}
.lg-badge{position:absolute;left:20px;top:20px;z-index:3;padding:7px 14px;border-radius:999px;background:rgba(9,21,32,.55);backdrop-filter:blur(6px);color:#fff;font-size:13px;font-weight:500;line-height:16px}
.lg-cap b{display:block;color:var(--title);font-size:18px;font-weight:500;line-height:22px;margin-bottom:4px}
.lg-cap span{color:var(--text);font-size:15px;font-weight:300;line-height:20px}
/* «в закрытых блоках» — пример */
.lg-locked{position:relative;height:360px;border-radius:var(--radius-panel);overflow:hidden}
.lg-locked .lg-mesh{position:absolute;inset:0}
.lg-locked-content{position:relative;z-index:2;height:100%;display:grid;place-items:center;text-align:center;padding:32px}
.lg-locked-rows{position:absolute;inset:0;z-index:1;padding:40px;display:flex;flex-direction:column;gap:14px;filter:blur(7px);opacity:.5}
.lg-locked-rows i{display:block;height:16px;border-radius:6px;background:rgba(255,255,255,.55)}
.lg-lock-card{position:relative;z-index:3;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);border-radius:24px;padding:28px 32px;display:flex;flex-direction:column;align-items:center;gap:14px;max-width:360px}
.lg-lock-card .lg-lockic{width:56px;height:56px;border-radius:50%;background:var(--orange);display:grid;place-items:center}
.lg-lock-card h4{color:var(--title);font-size:20px;font-weight:500;line-height:24px;margin:0;text-align:center}
.lg-lock-card p{color:var(--text);font-size:15px;font-weight:300;line-height:20px;margin:0;text-align:center}

/* ===== Форма обратной связи (feedback-consult, перенесена из скилла v11) + живой градиент ===== */
.fbc{padding:0}
.fbc__panel{position:relative;overflow:hidden;width:100%;margin:0 auto;border-radius:44px;padding:56px;
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,400px);gap:40px;align-items:center;color:#fff;
  background:radial-gradient(ellipse 90.52% 444.85% at 96.56% 64.25%, #FF8147 0%, rgba(255,80,41,0) 100%),linear-gradient(325deg, #FF5029 0%, #9A0101 100%)}
/* живой canvas-mesh как фон панели (поверх статик-фолбэка) */
.fbc__panel .lg-mesh{position:absolute;inset:0;z-index:0;border-radius:inherit}
.fbc__panel::before{content:"";position:absolute;left:-188px;top:-85px;width:978px;height:1019px;pointer-events:none;z-index:1;
  background:radial-gradient(ellipse 141.42% 338.90% at 100% 100%, #FF8147 0%, rgba(255,80,41,0) 100%),linear-gradient(18deg, rgba(255,80,41,.72) 0%, rgba(154,1,1,.52) 100%);
  opacity:.32;-webkit-mask-image:radial-gradient(ellipse 70% 70% at 42% 50%, #000 0 48%, rgba(0,0,0,.55) 64%, transparent 100%);mask-image:radial-gradient(ellipse 70% 70% at 42% 50%, #000 0 48%, rgba(0,0,0,.55) 64%, transparent 100%)}
.fbc__panel::after{content:"";position:absolute;right:-90px;top:120px;width:580px;height:520px;border-radius:50%;pointer-events:none;z-index:1;
  background:radial-gradient(ellipse at center, rgba(255,255,255,.10) 0%, rgba(255,255,255,.04) 42%, transparent 72%);transform:rotate(-24deg)}
.fbc__vector{position:absolute;z-index:1;left:-160px;top:-70px;width:820px;height:auto;opacity:.42;mix-blend-mode:multiply;pointer-events:none}
.fbc__copy{position:relative;z-index:2}
.fbc__eyebrow{display:inline-flex;align-items:center;padding:8px 16px;border-radius:24px;background:rgba(255,255,255,.14);color:#fff;font-size:14px;font-weight:400;line-height:18px}
.fbc__title{margin:20px 0 0;color:#fff;font-size:40px;font-weight:500;line-height:46px;letter-spacing:-.03em}
.fbc__sub{margin:20px 0 0;max-width:440px;color:rgba(255,255,255,.70);font-size:16px;font-weight:300;line-height:20px}
.fbc__list{margin:18px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:400}
.fbc__list li::before{content:"";display:inline-block;width:6px;height:6px;border-radius:99px;background:#fff;margin-right:10px;vertical-align:middle}
.fbc__form{position:relative;z-index:2;background:#fff;color:#091520;border-radius:32px;padding:32px;display:flex;flex-direction:column;gap:20px}
.fbc__form-title{margin:0;text-align:center;color:#091520;font-size:22px;font-weight:500;line-height:26px}
.fbc__fields{display:flex;flex-direction:column;gap:16px}
.fbc .text-input{box-sizing:border-box;height:64px;width:100%;padding:2px 16px;border:0;outline:0;border-radius:16px;background:#E8EAED;color:#091520;font-size:16px;font-weight:300;line-height:20px;font-family:inherit}
.fbc .text-input::placeholder{color:rgba(9,21,32,.40);opacity:1}
.fbc .form-consents{display:flex;flex-direction:column;gap:10px;text-align:left}
.fbc .consent{display:flex;align-items:center;gap:12px;margin:0;cursor:pointer;color:rgba(9,21,32,.40);font-size:12px;line-height:16px;font-weight:300}
.fbc .consent input{appearance:none;-webkit-appearance:none;width:24px;height:24px;flex:0 0 24px;border:1px solid #88939E;border-radius:8px;background:#fff;position:relative;cursor:pointer;margin:0}
.fbc .consent input:checked{border-color:#FF5029;background:#FF5029}
.fbc .consent input:checked::after{content:"";position:absolute;left:8px;top:4px;width:6px;height:11px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.fbc .consent-link{color:inherit;text-decoration:underline;text-underline-offset:2px;background:none;border:0;padding:0;font:inherit;cursor:pointer}
.fbc__submit{width:100%;height:72px;justify-content:center;font-size:18px;line-height:22px;padding:0}
.fbc .btn[aria-disabled="true"]{background:#D2D6DC!important;cursor:not-allowed;pointer-events:none}
.fbc__submit[aria-disabled="false"]{background:#FF5029!important}
.fbc__submit[aria-disabled="false"]:hover{background:#091520!important}
.fbc .form-message{margin:0;text-align:center;color:#091520;font-size:12px;line-height:16px}
.fbc .form-message:empty{display:none}
/* адаптация под узкую колонку брендбука → стек в 1 колонку */
@media (max-width:1100px){.fbc__panel{grid-template-columns:1fr;gap:32px;padding:48px 44px}.fbc__sub{max-width:none}}

/* живой-градиент: форма обратной связи = СХЕМАТИЧНАЯ (наглядная, нерабочая) в блоке 432 как hero.
   Обе колонки центрируются по высоте (align-items:center); белый лейаут уменьшен пропорционально,
   чтобы вписывался с отступами со всех сторон (а не заполнял блок) */
.section-pane[data-pane="livegrad"] .fbc{padding:0}
.section-pane[data-pane="livegrad"] .fbc__panel{height:432px;padding:0 56px;align-items:center;grid-template-columns:minmax(0,1fr) minmax(0,340px);pointer-events:none}
.section-pane[data-pane="livegrad"] .fbc__copy{align-self:center}
.section-pane[data-pane="livegrad"] .fbc__eyebrow{font-size:13px;padding:7px 14px}
.section-pane[data-pane="livegrad"] .fbc__title{font-size:32px;line-height:38px}
.section-pane[data-pane="livegrad"] .fbc__sub{margin-top:14px;font-size:15px}
.section-pane[data-pane="livegrad"] .fbc__form{align-self:center;padding:22px;gap:12px;border-radius:22px}
.section-pane[data-pane="livegrad"] .fbc__form-title{font-size:16px;line-height:20px}
.section-pane[data-pane="livegrad"] .fbc__fields{gap:9px}
.section-pane[data-pane="livegrad"] .fbc .text-input{height:42px;display:flex;align-items:center;border-radius:12px}
.section-pane[data-pane="livegrad"] .fbc .text-input .ph{font-size:13px}
.section-pane[data-pane="livegrad"] .fbc .form-consents{gap:7px}
.section-pane[data-pane="livegrad"] .fbc .consent{font-size:10px;line-height:14px;gap:9px}
.section-pane[data-pane="livegrad"] .fbc .fbc-box{width:18px;height:18px;border-radius:6px}
.section-pane[data-pane="livegrad"] .fbc__submit{height:44px;font-size:14px}
.fbc .text-input .ph{color:rgba(9,21,32,.40);font-size:16px;font-weight:300;line-height:20px}
.fbc-box{flex:none;width:24px;height:24px;border:1px solid #88939E;border-radius:8px;background:#fff}

/* ================= Выбор логотипа: кнопка + поп-ап ================= */
.logo-pick-btn{background:var(--orange);color:#fff;border-radius:var(--radius-pill);padding:22px 54px;font-size:18px;font-weight:500;line-height:22px;transition:background .28s cubic-bezier(.22,.61,.36,1)}
.logo-pick-btn:hover{background:var(--dark)}

/* Кнопка «Скачать» в сайдбаре справа от пилюли (Логотип / Шрифты) — открывает попап напрямую */
.switch-row{display:flex;align-items:center;gap:8px}
.side-dl{display:inline-flex;align-items:center;gap:6px;background:var(--orange);color:#fff;border:0;border-radius:var(--radius-pill);padding:8px 14px;font-family:inherit;font-size:15px;font-weight:400;line-height:20px;white-space:nowrap;cursor:pointer;transition:background .28s cubic-bezier(.22,.61,.36,1)}
.side-dl svg{width:16px;height:16px;flex:none}
.side-dl:hover{background:var(--dark)}

/* Упрощённые иконки-кнопки в хедере (мобилка/планшет): скачать логотип / скачать шрифт */
.header-dl{display:none;align-items:center;gap:8px}
.hdl-btn{display:inline-flex;align-items:center;gap:3px;background:none;border:0;padding:6px 5px;color:var(--orange);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:color .2s}
.hdl-btn .hdl-ico svg{width:31px;height:31px;display:block}
.hdl-btn .hdl-dl svg{width:19px;height:19px;display:block}
.hdl-btn:hover,.hdl-btn:active{color:var(--dark)}

.logo-modal{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:32px;visibility:hidden;opacity:0;transition:opacity .28s,visibility .28s}
.logo-modal[aria-hidden="false"]{visibility:visible;opacity:1}
.logo-modal__backdrop{position:absolute;inset:0;background:rgba(9,21,32,.55)}
.logo-modal__panel{position:relative;z-index:1;width:min(1040px,100%);height:88vh;max-height:88vh;overflow:hidden;background:#fff;border-radius:var(--radius-card-32);padding:0;display:flex;flex-direction:column;transform:translateY(14px);transition:transform .28s cubic-bezier(.22,.61,.36,1)}
.logo-modal[aria-hidden="false"] .logo-modal__panel{transform:none}
.logo-modal__panel:focus{outline:none}
.logo-modal__close{position:absolute;top:22px;right:22px;z-index:4;width:44px;height:44px;border-radius:999px;display:flex;align-items:center;justify-content:center;color:var(--title);background:var(--grey);transition:background .2s,color .2s}
.logo-modal__close:hover{background:var(--dark);color:#fff}
/* фиксированная шапка попапа: слайдер наборов + формат + подзаголовок — при скролле не двигаются */
.logo-modal__head{flex:0 0 auto;position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:16px;padding:22px 48px 16px}
.logo-modal__sub{font-size:15px;color:var(--text);text-align:center;margin:0}
.logo-modal__sets{flex-wrap:wrap;justify-content:center;max-width:100%}

/* переключатель формата: две отдельные кнопки, активная/ховер — чёрные */
.logo-fmt{display:inline-flex;gap:10px}
.logo-fmt button{border:0;border-radius:999px;padding:11px 30px;font-family:inherit;font-size:15px;font-weight:400;background:var(--grey);color:var(--title);cursor:pointer;transition:background .2s,color .2s}
.logo-fmt button:not(.is-active):hover{background:#48545F;color:#fff}
.logo-fmt button.is-active{background:var(--dark);color:#fff}

/* скроллится только сетка логотипов; скроллбар — внутри попапа, аккуратный */
/* fade ТОЛЬКО сверху и ТОЛЬКО при скролле: маска тает сам верхний край контента длинной
   плавной зоной (без наложения на «стенку», без нижнего fade). Большой padding-top даёт
   запас, чтобы в покое первый ряд не притемнялся. */
.logo-grid{flex:1 1 auto;overflow-y:auto;width:100%;display:grid;grid-template-columns:repeat(auto-fill,minmax(216px,1fr));gap:22px;padding:40px 34px 44px 48px;scrollbar-width:thin;scrollbar-color:#d3d7dd transparent}
.logo-grid.is-scrolled{-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 72px);mask-image:linear-gradient(to bottom,transparent 0,#000 72px)}
.logo-grid::-webkit-scrollbar{width:10px}
.logo-grid::-webkit-scrollbar-track{background:transparent}
.logo-grid::-webkit-scrollbar-thumb{background:#d3d7dd;border-radius:999px;border:3px solid #fff;background-clip:padding-box}
.logo-grid::-webkit-scrollbar-thumb:hover{background:#b9bec6;background-clip:padding-box}
.logo-card{display:flex;flex-direction:column;align-items:center;gap:12px}
.logo-card__preview{width:100%;aspect-ratio:4/3;border-radius:20px;background:var(--bg);border:1px solid var(--grey);display:flex;align-items:center;justify-content:center;padding:24px;overflow:hidden}
.logo-card__preview.is-dark{background:var(--dark);border-color:var(--dark)}
.logo-card__preview img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.logo-card__label{font-size:14px;color:var(--text);text-align:center;line-height:18px}
.logo-dl{display:inline-flex;align-items:center;gap:8px;background:none;border:0;padding:5px 6px;font-family:inherit;font-size:14px;font-weight:500;color:var(--title);cursor:pointer;border-radius:10px;transition:color .2s}
.logo-dl svg{width:18px;height:18px;stroke:currentColor;fill:none}
.logo-dl:hover{color:var(--orange)}
.logo-dl.is-busy{opacity:.5;pointer-events:none}
.logo-dl.is-done{color:var(--orange)}
.logo-dl.is-done::after{content:"✓";margin-left:2px}

/* блокируем скролл на html (не body): вместе со scrollbar-gutter:stable место под скроллбар
   остаётся зарезервировано → при открытии попапа контент не «прыгает» вбок */
html.logo-modal-open{overflow:hidden}

/* ================= Поп-ап установки шрифта ================= */
/* шапка: слайдер ОС слева · кнопка «Скачать» по центру · крестик справа */
.finst-head{flex:0 0 auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding:22px 22px 16px}
.finst-os{justify-self:start}
.finst-dl{justify-self:center;display:inline-flex;align-items:center;gap:9px;background:var(--orange);color:#fff;border-radius:var(--radius-pill);padding:13px 34px;font-family:inherit;font-size:16px;font-weight:500;line-height:20px;transition:background .25s cubic-bezier(.22,.61,.36,1)}
.finst-dl:hover{background:var(--dark)}
.finst-dl svg{width:19px;height:19px;stroke:#fff;fill:none}
.finst-dl.is-busy{opacity:.55;pointer-events:none}
.finst-close{position:static;justify-self:end}

.finst-stage{flex:1 1 auto;position:relative;min-height:0;display:flex;flex-direction:column;padding:6px 100px 20px}
.finst-step{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;align-items:center;gap:18px;padding-top:4px}
.finst-desc{flex:0 0 auto;max-width:720px;text-align:center;font-size:17px;font-weight:400;line-height:24px;color:var(--title)}
.finst-shot{flex:1 1 auto;min-height:0;width:100%;position:relative}
.finst-shot img{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:14px;border:1px solid var(--grey);box-shadow:0 8px 30px rgba(9,21,32,.10)}
.finst-shot img[hidden]{display:none}
.finst-stepnum{flex:0 0 auto;text-align:center;font-size:15px;color:var(--text);padding-top:14px}
/* стрелки шагов — серый круг, чёрная стрелка, серый ховер */
.finst-arrow{position:absolute;top:calc(50% - 12px);transform:translateY(-50%);width:56px;height:56px;border-radius:999px;background:var(--grey);color:var(--title);display:flex;align-items:center;justify-content:center;z-index:2;transition:background .2s}
.finst-arrow:hover{background:#d7dbe0}
.finst-arrow svg{width:24px;height:24px;stroke:currentColor;fill:none}
.finst-arrow--prev{left:22px}
.finst-arrow--prev svg{transform:scaleX(-1)}
.finst-arrow--next{right:22px}
/* мобильный вертикальный список шагов, предупреждение и стрелка-индикатор — только ≤1024 */
.finst-warn,.finst-scroll,.finst-scrollhint{display:none}

/* ================= АДАПТИВ: верхний слайдер разделов ================= */
/* по умолчанию (десктоп/лаптоп) слайдер скрыт — переключатель живёт в левом aside */
.sectiontabs-wrap{display:none;position:sticky;top:72px;z-index:900;background:rgba(246,246,247,.96);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(9,21,32,.06)}
.sectiontabs-inner{width:min(var(--content-max),calc(100% - 48px));margin:0 auto;display:flex;align-items:center;gap:10px}
.section-tabs{flex:1;min-width:0;display:flex;gap:8px;overflow-x:auto;padding:12px 0;scroll-behavior:auto;scrollbar-width:none;-ms-overflow-style:none;--fl:0px;--fr:28px;-webkit-mask:linear-gradient(90deg,transparent 0,#000 var(--fl),#000 calc(100% - var(--fr)),transparent 100%);mask:linear-gradient(90deg,transparent 0,#000 var(--fl),#000 calc(100% - var(--fr)),transparent 100%)}
.section-tabs::-webkit-scrollbar{display:none;width:0;height:0}
.section-tabs button{flex:none;border:0;background:#fff;color:var(--text);border-radius:999px;padding:11px 18px;font-family:inherit;font-size:15px;white-space:nowrap;cursor:pointer;transition:background .18s,color .18s}
.section-tabs button.is-active{background:var(--dark);color:#fff}
.section-tabs button:hover:not(.is-active){background:var(--grey);color:var(--title)}
.tabs-arrow{flex:none;width:42px;height:42px;border:0;border-radius:99px;background:#fff;cursor:pointer;display:grid;place-items:center;transition:background .15s}
.tabs-arrow::before{content:"";width:18px;height:18px;background:var(--text);transition:background .15s;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M12%2020.4854L3.51472%2012.0001L12%203.51479M3.51472%2012.0001L19.7923%2011.9859%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%2F%3E%3C%2Fsvg%3E")center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M12%2020.4854L3.51472%2012.0001L12%203.51479M3.51472%2012.0001L19.7923%2011.9859%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%2F%3E%3C%2Fsvg%3E")center/contain no-repeat}
.tabs-arrow:hover{background:var(--grey)}
.tabs-arrow:hover::before{background:var(--dark)}
.tabs-arrow-right::before{transform:scaleX(-1)}

/* ---- Планшетный режим: aside → слайдер сверху, контент в одну колонку ---- */
@media(max-width:1024px){
  .sectiontabs-wrap{display:block}
  .aside{display:none}
  .body-grid{grid-template-columns:minmax(0,1fr);gap:0}
  .body-row{padding:28px 0 90px}
  /* хедер: логотип влево, справа упрощённые кнопки скачивания */
  .header-inner{justify-content:space-between;gap:12px}
  .header-dl{display:flex}
  /* Шрифты: карточки в одну колонку (сайдбар уже стал слайдером) */
  .sans-cards{grid-template-columns:1fr}
}
@media(max-width:820px){
  .tabs-arrow{display:none}
  .sectiontabs-inner{width:calc(100% - 32px)}
}

/* ---- Hero «О бренде» (планшет/мобилка ≤1024): фото по центру ЦЕЛИКОМ (не обрезается, contain),
   по бокам оранжевый фон hero; заголовок внизу слева ПОВЕРХ, без 2026. Высота hero ОГРАНИЧЕНА
   (не вылазит за экран). Десктоп >1024 остаётся как было (текст слева, фото справа, 628px). ---- */
@media(max-width:1024px){
  .hero{height:auto;min-height:0;max-height:88vh;overflow:hidden}
  .hero-inner{width:100%;height:auto;min-height:0;max-height:none;margin:0;display:flex;justify-content:center;align-items:flex-end;position:relative}
  .hero-photo{position:relative;display:block;left:auto;right:auto;top:auto;bottom:auto;transform:none;width:auto;height:auto;max-width:100%;max-height:88vh;object-fit:contain}
  /* затемнение снизу — чтобы белый заголовок читался поверх фото */
  .hero-inner::after{content:"";position:absolute;left:0;right:0;bottom:0;height:46%;background:linear-gradient(to top,rgba(9,21,32,.42),rgba(9,21,32,0));z-index:2;pointer-events:none}
  .hero-title{position:absolute;left:24px;right:24px;top:auto;bottom:38px;transform:none;max-width:none;font-size:44px;line-height:48px;z-index:3}
}

/* обёртка масштабируемого баннера: занимает высоту уменьшенного визуала, обрезает лишнее */
.fit-wrap{overflow:hidden}

/* ---- Планшет (≤760): «Визуальные приёмы» О бренде — держим 1 колонку на всю ширину.
   В 2 узкие колонки (600–740) баннеры (в т.ч. ФНС) смотрелись сжато и не адаптировались. ---- */
/* ТОЛЬКО планшет 601-760 (мобилку ≤600 НЕ трогаем — там своя раскладка в блоке ниже).
   Раньше было max-width:760 → правила текли в мобилку и ломали её (баннеры смещались/резались). */
@media(min-width:601px) and (max-width:760px){
  .section-pane[data-pane="brand"] .tricks-row{grid-template-columns:1fr}
  .section-pane[data-pane="brand"] .tri-col{display:contents}
  /* держим приёмы узкой центр-колонкой (~460), а не на всю ширину планшета — иначе баннеры
     (портретная композиция: текст сверху, фото снизу) растягиваются и фото перезумливается */
  .section-pane[data-pane="brand"] .tricks{max-width:460px;margin-left:auto;margin-right:auto}
}

/* ---- Мобилка: контент к краям, текст с небольшим отступом, масштаб заголовков ---- */
@media(max-width:600px){
  .container{padding:0}
  .body-row{padding:20px 0 72px}
  /* визуалы/баннеры — к краям; текст получает лёгкий отступ, чтобы не липнуть к кромке */
  .pane-h,.pane-lead,.block-head{padding-left:16px;padding-right:16px}
  .pane-h{font-size:29px;line-height:33px}
  .pane-lead{font-size:15px;line-height:21px}
  /* Hero мобилка: фото на всю ширину (по одобрению), заголовок компактнее и ближе к краю */
  .hero-photo{max-height:none;width:100%}
  .hero-title{left:16px;right:16px;bottom:26px;font-size:31px;line-height:35px}
  /* ---- Визуальные приёмы (О бренде): в 1 колонку, каждая плашка на всю ширину ---- */
  .section-pane[data-pane="brand"] .tricks-row{grid-template-columns:1fr}
  .section-pane[data-pane="brand"] .tri-col{display:contents}

  /* ---- Нижняя навигация: кнопка компактнее, с отступами от краёв, название ПОД кнопкой ---- */
  .pane-nav{margin-top:48px;padding:0 16px}
  /* одинаковая ширина сторон + центрированная кнопка → отступы кнопок симметричны */
  .pane-nav .nav-side{flex-direction:column;align-items:center;gap:8px;text-align:center;width:120px}
  .pane-nav .nav-next{flex-direction:column-reverse}
  .pane-nav .nav-label{font-size:14px;line-height:18px;max-width:120px}
  .btn-round{width:52px;height:52px}
  .btn-round svg{width:20px;height:20px}

  /* ================= ЛОГОТИП (мобилка) ================= */
  /* ряды в 1 колонку; «знак+знак с полем» — простой знак убираем, остаётся знак с полем */
  .section-pane[data-pane="logo"] .m1col{grid-template-columns:1fr}
  .section-pane[data-pane="logo"] .mzp>.lg-plate{display:none}
  /* заголовки Финансы/Главучёт — тот же отступ, что у текста */
  .section-pane[data-pane="logo"] .lg-sub{padding-left:16px;padding-right:16px;font-size:26px;line-height:30px}
  /* логотипы КРУПНЕЕ */
  .section-pane[data-pane="logo"] .lg-hero{height:270px}
  .section-pane[data-pane="logo"] .lg-hero .brand-logo .mark{height:58px}
  .section-pane[data-pane="logo"] .lg-hero .brand-logo .word{height:36px}
  .section-pane[data-pane="logo"] .lg-plate{padding:26px 18px}
  .section-pane[data-pane="logo"] .lg-plate .brand-logo .mark{height:54px}
  .section-pane[data-pane="logo"] .lg-plate .brand-logo .word{height:34px}
  .section-pane[data-pane="logo"] .lg-bg .brand-logo .mark{height:56px}
  .section-pane[data-pane="logo"] .lg-bg .brand-logo .word{height:35px}
  .section-pane[data-pane="logo"] .lg-bg .md-logo-img{height:58px;max-width:84%}
  /* минимальные размеры — знак сверху, логотип снизу, по центру, крупнее и виднее */
  .section-pane[data-pane="logo"] .mminsize-row{flex-direction:column;gap:34px}
  .section-pane[data-pane="logo"] .mminsize .layers[style*="272/197"]{width:280px!important}
  .section-pane[data-pane="logo"] .mminsize .layers[style*="455/197"]{width:320px!important;margin-top:0!important}
  .section-pane[data-pane="logo"] .lg-plate-label{font-size:17px;line-height:22px}
  /* фавикон — телефон сверху, браузер + фавиконы снизу, на всю ширину */
  .section-pane[data-pane="logo"] .mfav .fav-col{height:auto}
  .section-pane[data-pane="logo"] .mfav .browser-card{flex:none;aspect-ratio:16/9}
  .section-pane[data-pane="logo"] .mfav .lg-favicons{flex:none;padding:34px;min-height:150px}
  /* недопустимое — 1 колонка: картинка, под ней пояснение */
  .section-pane[data-pane="logo"] .mdont{grid-template-columns:1fr;gap:26px}
  /* «Скачать материалы»: заголовок и кнопка компактнее — кнопка в одну строку */
  .lg-download h3{font-size:26px;line-height:30px}
  .logo-pick-btn{padding:15px 34px;font-size:16px}
  /* крестик попапа ВЫБОРА логотипа — по центру на верхнем крае панели (не наезжает на слайдер);
     визуально КОМПАКТНЫЙ, но зона клика большая (::after) — чтобы легко закрывать «тыком вверх» */
  #logoModal .logo-modal__panel{overflow:visible}
  #logoModal .logo-modal__close{width:34px;height:34px;top:-16px;left:50%;right:auto;transform:translateX(-50%);box-shadow:0 4px 14px rgba(9,21,32,.16)}
  #logoModal .logo-modal__close svg{width:17px;height:17px}
  #logoModal .logo-modal__close::after{content:"";position:absolute;inset:-16px -22px}

  /* ---- Попапы на мобилке: панель шире, шапка компактная (наборы/ОС — в один ряд со скроллом) ---- */
  .logo-modal{padding:10px}
  /* ниже 92vh → появляется запас сверху/снизу, крестику над панелью не тесно у браузерного бара;
     dvh учитывает адресную строку мобильного браузера (вытесняла панель под чипы) */
  .logo-modal__panel{width:100%;height:84vh;height:84dvh;max-height:84vh;max-height:84dvh;border-radius:24px}
  .logo-modal__close{top:12px;right:12px;width:38px;height:38px}
  .logo-modal__head{padding:16px 14px 12px;gap:12px}
  .logo-modal__sets{flex-wrap:nowrap;justify-content:flex-start;width:100%;overflow-x:auto;scrollbar-width:none}
  .logo-modal__sets::-webkit-scrollbar{display:none}
  .logo-modal__sets button{flex:none}
  .logo-modal__sub{font-size:13px}
  .logo-fmt button{padding:9px 22px;font-size:14px}
  .logo-grid{padding:22px 16px 30px;gap:16px}
  /* шрифт-попап на мобилке: шапка = слайдер ОС слева + «Скачать» справа;
     крестик вынесен на ВЕРХНИЙ край панели по центру (как в попапе логотипа) */
  #fontModal .logo-modal__panel{overflow:visible}
  .finst-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:18px 14px 12px}
  .finst-os{flex:0 1 auto;min-width:0;justify-self:auto;overflow-x:auto;scrollbar-width:none}
  .finst-os::-webkit-scrollbar{display:none}
  .finst-os button{flex:none;padding:9px 16px;font-size:14px}
  .finst-dl{flex:none;justify-self:auto;padding:11px 22px;font-size:14px}
  .finst-close{position:absolute;top:-16px;left:50%;right:auto;transform:translateX(-50%);width:34px;height:34px;box-shadow:0 4px 14px rgba(9,21,32,.16);z-index:4}
  .finst-close svg{width:17px;height:17px}
  .finst-close::after{content:"";position:absolute;inset:-16px -22px}
  .finst-stage{padding:6px 6px 14px}
  .finst-arrow{width:40px;height:40px}
  .finst-arrow svg{width:20px;height:20px}
  .finst-arrow--prev{left:4px}
  .finst-arrow--next{right:4px}
  .finst-desc{font-size:14px;line-height:20px;padding:0 42px}
  .finst-step{gap:12px;padding-top:2px}
  .finst-shot img{border-radius:12px}
  .finst-stepnum{font-size:13px;padding-top:8px}

  /* Шрифты: карточки в ОДНУ колонку на всю ширину, размеры крупнее */
  .sans-cards{grid-template-columns:1fr;gap:12px}
  .sans-main{min-height:300px;padding:22px}
  .sans-main .sm-label{font-size:22px;line-height:26px}
  .sans-main .sm-word{left:22px;bottom:22px;font-size:56px;line-height:60px}
  .sans-sample{min-height:0;padding:22px}
  .ss-label--m{font-size:22px;line-height:26px}
  .ss-glyphs{font-size:29px;line-height:35px;margin-top:16px}
  .ss-label--l{font-size:24px;line-height:28px;margin-top:32px}
}

/* ===== Поп-ап установки шрифта на мобилке/планшете (≤1024, когда слайдер разделов сверху):
   вместо стрелок — ВЕРТИКАЛЬНЫЙ СПИСОК всех шагов со скроллом + предупреждение сверху +
   маленькая стрелка-индикатор снизу (тает, когда долистали до низа). Десктоп >1024 = как было. ===== */
@media(max-width:1024px){
  /* панель: крестик выходит наверх, тело скроллится внутри */
  #fontModal .logo-modal__panel{overflow:visible;height:88vh;max-height:88vh}
  /* шапка: слайдер ОС слева · «Скачать» справа · крестик наверху по центру */
  #fontModal .finst-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:18px 16px 12px;border-bottom:1px solid rgba(9,21,32,.08)}
  #fontModal .finst-os{flex:0 1 auto;min-width:0;overflow-x:auto;scrollbar-width:none}
  #fontModal .finst-os::-webkit-scrollbar{display:none}
  #fontModal .finst-os button{flex:none}
  #fontModal .finst-dl{flex:none}
  #fontModal .finst-close{position:absolute;top:-16px;left:50%;right:auto;transform:translateX(-50%);width:34px;height:34px;box-shadow:0 4px 14px rgba(9,21,32,.16);z-index:4}
  #fontModal .finst-close svg{width:17px;height:17px}
  #fontModal .finst-close::after{content:"";position:absolute;inset:-16px -22px}
  /* прячем десктопный одно-шаговый режим со стрелками */
  #fontModal .finst-stage{display:none}
  /* скролл-контейнер со всеми шагами; нижние углы скруглены под панель —
     контент клипается по дуге и НЕ вылезает за скруглённые края (отступ снизу 34) */
  #fontModal .finst-scroll{display:block;flex:1 1 auto;min-height:0;overflow-y:auto;padding:18px 16px 34px;border-bottom-left-radius:var(--radius-card-32);border-bottom-right-radius:var(--radius-card-32);scrollbar-width:thin;scrollbar-color:#d3d7dd transparent}
  #fontModal .finst-scroll::-webkit-scrollbar{width:8px}
  #fontModal .finst-scroll::-webkit-scrollbar-thumb{background:#d3d7dd;border-radius:999px;border:2px solid #fff;background-clip:padding-box}
  /* предупреждение (только тут — на десктопе/лаптопе шрифт ставится, оно не нужно) */
  #fontModal .finst-warn{display:block;background:#FFF1EC;color:#B23A17;border:1px solid #FBD5C7;border-radius:16px;padding:14px 16px;font-size:14px;line-height:19px;margin:0 0 22px}
  /* список шагов: заголовок + описание + скриншот, с отступом между шагами */
  #fontModal .finst-list{display:flex;flex-direction:column;gap:28px}
  #fontModal .finst-li{display:flex;flex-direction:column;gap:10px}
  #fontModal .finst-li-num{font-size:15px;font-weight:600;color:var(--orange);line-height:20px}
  #fontModal .finst-li-desc{margin:0;font-size:15px;line-height:21px;color:var(--title)}
  #fontModal .finst-li-shot{width:100%}
  #fontModal .finst-li-shot img{width:100%;height:auto;display:block;border-radius:12px;border:1px solid var(--grey);box-shadow:0 6px 22px rgba(9,21,32,.08)}
  /* стрелка-индикатор скролла: маленькая, без круглой подложки, лёгкое покачивание, тает у низа */
  #fontModal .finst-scrollhint{display:flex;align-items:center;justify-content:center;position:absolute;left:50%;bottom:10px;width:32px;height:32px;color:var(--title);opacity:.7;pointer-events:none;filter:drop-shadow(0 1px 3px rgba(255,255,255,.9));transition:opacity .25s;animation:hintBob 1.5s ease-in-out infinite}
  #fontModal .finst-scrollhint svg{width:22px;height:22px}
  #fontModal .finst-scrollhint.is-hidden{opacity:0}
}
@keyframes hintBob{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,5px)}}

/* ================= АДАПТИВ разделов (2026-07-23): визуалы С ТЕКСТОМ больше НЕ .fit —
   честный reflow вместо масштаба целиком (текст читаемый, картинки на всю ширину) ================= */
@media(max-width:1024px){
  /* --- 3D-графика hero: 3D-объект СВЕРХУ (КРУПНЫЙ, выходит за верхнюю рамку баннера),
     свотчи (матовая/свечение/бронза) СНИЗУ --- */
  .td-hero{height:auto;display:flex;flex-direction:column;align-items:center;gap:14px;padding:0 14px 30px;overflow:visible}
  .td-hero .td-big{position:relative;z-index:2;transform:none;left:auto;right:auto;top:auto;height:auto;width:min(104%,440px);max-width:none;margin-top:-44px}
  .td-hero .td-swatches{position:static;left:auto;top:auto;flex-direction:column;gap:18px;width:100%;max-width:360px}
  .td-swatch img{width:92px;height:92px}
  .td-swatch span{font-size:18px;line-height:22px}
  /* запас сверху под выступающий объект (чтобы не наезжал на абзац выше) */
  .section-pane[data-pane="style3d"] .block:nth-child(1) .td-hero{margin-top:34px}

  /* Маскоты: широкая оранжевая фигура (new-03) масштабируется по ширине через aspect-ratio,
     а НЕ фикс-высотой — иначе на широких телефонах/планшетах кадр становился слишком
     широким-низким и сильно резал персонажей. Cap 480px под десктопный размер. */
  .section-pane[data-pane="mascot"] .mc-stack-orange>.mc-figure.orange{height:auto;aspect-ratio:3/2;max-height:480px}

  /* --- Иконки: перестроить крупно (сетка меньше колонок, иконки больше) --- */
  .ic-panel{padding:30px 24px;min-height:0}
  .ic-grid{grid-template-columns:repeat(6,1fr);justify-content:normal;justify-items:center;column-gap:14px;row-gap:30px}
  .ic-grid img{width:54px;height:54px}
  .ic-card{height:200px}
  .ic-card img{height:128px}

  /* --- Фотостиль/иллюстрации/маскоты: подзаголовки-подписи выравниваем с текстом --- */
  .ph-subh{padding-left:16px;padding-right:16px}
  /* фото на фоне небоскрёба (img-07): женщина справа — сдвигаем кадр к ней, чтобы была по центру */
  .section-pane[data-pane="photostyle"] .ph-figure img[src*="img-07"]{object-position:74% center}
}

@media(max-width:600px){
  /* --- Цвета: палитра в ОДНУ колонку на всю ширину --- */
  .clr-cards{grid-template-columns:1fr}
  .clr-card{min-height:300px;padding:24px;border-radius:28px}
  .clr-card .cc-info{font-size:16px;line-height:21px}
  .clr-card .cc-name{left:24px;bottom:24px;font-size:28px;line-height:32px}
  /* основной цвет фона: градиент + подписи снизу — сделать читаемыми */
  .clr-gradient{height:230px;border-radius:32px}
  .clr-swatches{gap:12px;padding:0 8px}
  .cs-col{width:auto;flex:1 1 0;gap:10px}
  .cs-dot{width:34px;height:34px}
  .cs-lines{font-size:12.5px;line-height:16px;gap:4px}
  /* доп.градиенты и блики: 2 колонки сохраняем, размерность нормализуем (пониже, скругление меньше) */
  .clr-grid{gap:8px}
  .clr-tile{height:176px;border-radius:20px}
  /* иконки: сетка компактнее, но иконки крупные */
  .ic-panel{padding:24px 18px}
  .ic-grid{grid-template-columns:repeat(5,1fr);column-gap:10px;row-gap:26px}
  .ic-grid img{width:50px;height:50px}
  .ic-cards{gap:8px}
  .ic-card{height:158px}
  .ic-card img{height:108px}
  /* 3D свотчи чуть компактнее */
  .td-swatch img{width:84px;height:84px}

  /* --- Фотостиль: ряды фото в 1 колонку, подзаголовки читаемы --- */
  .ph-row{grid-template-columns:1fr;gap:12px}
  .ph-subh{font-size:19px;line-height:23px}

  /* --- Маскоты: 2 фото-колонки → 1 колонка (3 фото друг под другом); кадрирование под мобилку,
     чтобы маскоты помещались/были центром кадра (широкие 2-персонные фото — фреймы пониже) --- */
  .mc-row{grid-template-columns:1fr;gap:12px}
  .mc-row .mc-figure{height:320px}
  .mc-row .mc-figure img{object-position:center 28%}
  /* широкое фото (img-06, оба маскота) — landscape: ниже, чтобы помещались оба */
  .section-pane[data-pane="mascot"] .mc-stack>.mc-figure.light{height:236px}
  .section-pane[data-pane="mascot"] .mc-stack>.mc-figure.light img{object-position:center 30%}
  /* новый ряд на оранжевом (вырезки, contain): вырезки стоят на дне кадра.
     Высота широкой фигуры задаётся aspect-ratio в блоке ≤1024 (масштабируется с шириной,
     иначе на широких телефонах фикс-высота давала слишком широкий-низкий кадр → сильный кроп). */
  .section-pane[data-pane="mascot"] .mc-stack-orange .mc-figure.contain img{object-position:center bottom}
  /* недопустимое: фреймы пониже + маскоты выше в кадре (видны головы/лица) */
  .mc-dont .mc-figure{height:330px}
  .mc-dont .mc-figure img{object-position:center top}
  /* контейнер, подрезанный ПОД маскотов (img-01, contain): высота близка к аспекту фото
     → оба маскота помещаются по центру без обрезки (cover, центр) */
  .mc-dont .mc-figure.contain{height:214px;align-items:center}
  .mc-dont .mc-figure.contain img{width:100%;max-width:100%;height:100%;object-fit:cover;object-position:center}

  /* --- Примеры использования: 4 креатива в 1 сплошную колонку (высоту НЕ меняем —
     иначе текст наслаивается на изображение; оставляем десктопную 589) --- */
  .ex-grid{grid-template-columns:1fr;gap:12px}
}

/* ================= ЖИВОЙ ГРАДИЕНТ: адаптив (2026-07-23) ================= */
@media(max-width:1024px){
  /* заголовки секций (Как строится / В hero / Два вида / Не только hero) — с отступами */
  .ds-h2{padding-left:16px;padding-right:16px}
  .section-pane[data-pane="livegrad"] .ds-bullets{padding-left:16px;padding-right:16px}
  /* два вида градиента — в ОДНУ колонку, подписи видны */
  .lg-two{grid-template-columns:1fr;gap:22px}
  .lg-tile{height:280px}
  /* форма обратной связи (схематичная) — стек: описание сверху, белая форма снизу */
  .section-pane[data-pane="livegrad"] .fbc__panel{height:auto;display:flex;flex-direction:column;gap:28px;padding:38px 32px;align-items:stretch}
  .section-pane[data-pane="livegrad"] .fbc__copy{align-self:stretch}
  .section-pane[data-pane="livegrad"] .fbc__form{align-self:stretch;max-width:none;padding:26px;gap:16px}
  .section-pane[data-pane="livegrad"] .fbc__title{font-size:30px;line-height:34px}
  .section-pane[data-pane="livegrad"] .fbc__form-title{font-size:20px;line-height:24px}
  .section-pane[data-pane="livegrad"] .fbc .text-input{height:52px;border-radius:14px}
  .section-pane[data-pane="livegrad"] .fbc .text-input .ph{font-size:15px}
  .section-pane[data-pane="livegrad"] .fbc .consent{font-size:12px;line-height:16px}
  .section-pane[data-pane="livegrad"] .fbc .fbc-box{width:22px;height:22px;border-radius:7px}
  .section-pane[data-pane="livegrad"] .fbc__submit{height:56px;font-size:16px}
}
@media(max-width:600px){
  .ds-sub{font-size:15px;line-height:20px}
  .ds-h2{font-size:25px;line-height:29px}
  .ds-bullet{font-size:14px;line-height:19px}
  /* hero-пример: мобильный вид — фикс.высота (чтобы был ощутимый отступ логотип↔заголовок,
     как в настоящем hero), логотип КОМПАКТНЫЙ */
  .lg-heroex{height:400px;min-height:0}
  .lg-heroex .lg-heroex-in{padding:26px 22px}
  .lg-heroex .brand-logo .mark{height:30px}
  .lg-heroex .brand-logo .word{height:19px}
  .lg-heroex h3{font-size:26px;line-height:30px}
  .lg-heroex p{font-size:15px;line-height:20px;margin-top:10px}
  .lg-tile{height:220px}
  .lg-cap{padding:0 16px}
  /* форма — мобилка */
  .section-pane[data-pane="livegrad"] .fbc__panel{padding:28px 18px;gap:24px}
  .section-pane[data-pane="livegrad"] .fbc__title{font-size:25px;line-height:29px}
  .section-pane[data-pane="livegrad"] .fbc__sub{font-size:14px;margin-top:12px}
  .section-pane[data-pane="livegrad"] .fbc__form{padding:20px;gap:14px;border-radius:20px}
  .section-pane[data-pane="livegrad"] .fbc__form-title{font-size:17px;line-height:21px}
  .section-pane[data-pane="livegrad"] .fbc .text-input{height:48px}
  .section-pane[data-pane="livegrad"] .fbc__submit{height:52px}
}

/* ================= ДИЗАЙН-СИСТЕМА: адаптив (2026-07-23) ================= */
@media(max-width:1024px){
  /* подзаголовки и списки-буллиты — с отступами */
  .ds-h3{padding-left:16px;padding-right:16px}
  .ds-bullets{padding-left:16px;padding-right:16px}
  /* Типографика: таблицы полноразмерные + горизонтальный СВАЙП (часть скрыта, тянем пальцем) */
  .ds-tbl{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
  .ds-tbl .ds-tr{min-width:600px}
  /* вторая таблица (Основной текст): колонка «Пример» — в ОДНУ строку (таблица листается) */
  .ds-tbl-text .ds-tr{min-width:760px}
  .ds-tbl-text .ds-tcell:last-child{white-space:nowrap}
  /* Грид-система: по ОДНОМУ элементу в строку (все вниз) */
  .ds-grid-panel{padding:32px 20px;gap:34px}
  .ds-grid-row{flex-direction:column;gap:34px;align-items:center}
  .ds-wire{flex:none}
  .ds-wire.center{width:auto}
  /* Скругления: по ДВА элемента в строку */
  .ds-round-panel{padding:28px 18px;gap:28px;align-items:center}
  .ds-round-row{flex-wrap:wrap;justify-content:center;gap:22px 26px}
  /* Кнопки: адаптируем, все видны (перенос по строкам) */
  .ds-btn-panel{min-height:0;padding:34px 20px;gap:26px}
  .ds-btn-row{justify-content:center;gap:12px!important}
  /* Поля ввода: одна колонка, поля НЕ тянутся — натуральная ширина ПО ЦЕНТРУ (на мобилке = на всю) */
  .ds-io-panel{padding:30px 20px}
  .ds-cols{flex-direction:column;align-items:center;gap:34px}
  .ds-io-panel .ds-cols>div{width:335px;max-width:100%}
  .ds-io-panel .ds-input{width:100%}
  /* Селекторы: панель по высоте ПО КОНТЕНТУ; ОБА селектора (теги + сегмент) по ЦЕНТРУ */
  .ds-sel-panel{min-height:0;justify-content:flex-start;padding:26px 20px;gap:22px;align-items:center}
  .ds-tags{flex-wrap:nowrap}
  /* Чекбоксы/радио: 2 колонки ПО ЦЕНТРУ; обе группы (пилюли и plain-радио) на ОДНОЙ колоночной
     сетке (ширина пилюли 202px) → Default/Selected orange под левым краем пилюль, Selected green под Hover */
  .ds-cr-panel{min-height:0;padding:32px 20px;align-items:stretch}
  .ds-cr-cols{flex-direction:column;gap:36px}
  .ds-cr-col.radios{width:auto}
  .ds-cr-group{display:grid;grid-template-columns:202px 202px;justify-content:center;gap:22px 24px}
  .ds-cr-col.radios>div[style]{display:grid!important;grid-template-columns:1fr;gap:28px!important}
}
@media(max-width:600px){
  .ds-h3{font-size:20px;line-height:24px}
  /* Селекторы на мобилке — по 3 пункта (прячем 4-й тег и 4-ю кнопку сегмента) */
  .ds-tags .ds-tag:nth-child(4){display:none}
  .ds-tags .ds-tag{padding:7px 14px;font-size:15px;white-space:nowrap}
  .ds-segment button:nth-child(4){display:none}
  .ds-segment button{padding:13px 15px;font-size:14px;white-space:nowrap}
  /* На узкой мобилке пилюли НЕ помещаются натуральной шириной → тянем на 2 равные колонки */
  .ds-cr-group{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 12px}
  .ds-opt-pill,.ds-opt-plain{min-width:0}
  .ds-opt-pill{width:100%;height:auto;min-height:58px;padding:9px 14px}
  .ds-opt-pill .lbl{min-width:0;font-size:15px;line-height:19px}
  .ds-opt-plain .lbl{min-width:0}
}

/* ===== Кнопка-ссылка «Design Case»: выглядит как обычный пункт (тот же цвет/форма), но с ТОНКИМ
   анимированным оранжевым stroke, который ПЕРЕЛИВАЕТСЯ по периметру. Не раздел (ссылка на статью) —
   без стрелки в нижней навигации; встроена и в сайдбар, и в верхний слайдер, на всех адаптивах. ===== */
@property --cs-a{syntax:'<angle>';inherits:false;initial-value:0deg}
.case-link{position:relative;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:var(--title);border-radius:999px;font-family:inherit;white-space:nowrap;text-decoration:none;cursor:pointer;transition:background .2s,color .2s}
.case-link::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.6px;
  background:conic-gradient(from var(--cs-a), #FF5029 0deg, #FF7A4D 110deg, #FFC9A6 190deg, #FF7A4D 270deg, #FF5029 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;
  pointer-events:none;animation:caseStroke 3.4s linear infinite}
@keyframes caseStroke{to{--cs-a:360deg}}
@media(prefers-reduced-motion:reduce){.case-link::before{animation:none}}
/* сайдбар — как .switch-item; ховер — фирменный оранжевый + белый текст */
.switcher .case-link{padding:8px 16px;font-size:16px;font-weight:300;line-height:20px}
.switcher .case-link:hover{background:var(--orange);color:#fff}
/* верхний слайдер — как .section-tabs button; ховер — оранжевый + белый текст */
.section-tabs .case-link{flex:none;padding:11px 18px;font-size:15px;color:var(--text)}
.section-tabs .case-link:hover{background:var(--orange);color:#fff}

/* ===== Поп-ап перехода на «Дизайн-кейс» ===== */
.case-modal__panel{position:relative;z-index:1;width:min(440px,100%);background:#fff;border-radius:28px;padding:38px 32px 30px;display:flex;flex-direction:column;align-items:center;text-align:center;transform:translateY(14px);transition:transform .28s cubic-bezier(.22,.61,.36,1)}
.case-modal[aria-hidden="false"] .case-modal__panel{transform:none}
.case-modal__panel:focus{outline:none}
.case-modal__close{position:absolute;top:16px;right:16px;width:38px;height:38px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:var(--grey);color:var(--title);font-size:22px;line-height:1;transition:background .2s,color .2s}
.case-modal__close:hover{background:var(--dark);color:#fff}
.case-modal__icon{display:grid;place-items:center;margin-bottom:20px;color:var(--orange)}
.case-modal__icon svg{width:66px;height:66px;display:block}
.case-modal__title{margin:0;font-size:24px;font-weight:500;line-height:28px;color:var(--title)}
.case-modal__text{margin:12px 0 0;font-size:16px;font-weight:300;line-height:22px;color:var(--text);max-width:340px}
.case-modal__actions{margin-top:28px;display:flex;gap:12px;width:100%;justify-content:center}
.case-btn{flex:1 1 0;min-width:0;height:52px;display:inline-flex;align-items:center;justify-content:center;padding:0 20px;border:0;border-radius:999px;font-family:inherit;font-size:16px;font-weight:400;line-height:20px;cursor:pointer;text-decoration:none;white-space:nowrap;transition:background .22s,color .22s}
.case-btn--primary{background:var(--orange);color:#fff}
.case-btn--primary:hover{background:var(--dark)}
.case-btn--ghost{background:var(--grey);color:var(--title)}
.case-btn--ghost:hover{background:#d5d8dd}
@media(max-width:600px){
  .case-modal__panel{padding:32px 22px 26px;border-radius:24px}
  .case-modal__title{font-size:21px;line-height:25px}
  .case-modal__text{font-size:15px;line-height:21px}
  .case-modal__actions{flex-direction:column-reverse;gap:10px}
  .case-btn{width:100%;flex:none}
}
