@import url('https://fonts.googleapis.com/css2?family=Handjet:wght@700&display=swap');

/* Foxels — фон-сетка для блоков главной страницы */
#rec5252068201 .t396__artboard,
#rec5252070401 .t396__artboard,
#rec5252080301 .t396__artboard,
#rec5340086101 .t396__artboard,
#rec5340101101 .t396__artboard,
#rec5252082901 .t396__artboard,
#rec5340103301 {
  background-image: linear-gradient(#E8EAF0 1px, transparent 1px), linear-gradient(90deg, #E8EAF0 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center -1px;
}
#rec5252076301 .t396__artboard {
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center -1px;
}

/* Плавный переход по якорям (дублирует блок T270 — в т.ч. для системного якоря #price) */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Мобильные: кнопки первого экрана и меню на всю ширину */
@media (max-width: 479px) {
  .tn-elem.zc-btn-fill, .tn-elem.zc-btn-fill .tn-atom { width: 100% !important; }
  .tn-elem.zc-btn-fill .tn-atom { justify-content: center; }
}

/* Лента CRM/CMS: плавное затухание по краям */
#rec5252080301 .tn-group__52520803011793193600000000004 {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}

/* FAQ: плашка-кикер как в остальных разделах, меньший разрыв до описания */
#rec5340103301 .t1119__title::before {
  content: "Вопросы";
  display: table;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #EEF0FF;
  color: #4342B8;
  font: 600 13px/1.2 'Inter', sans-serif;
  letter-spacing: 0;
}
#rec5340103301 .t1119__title { letter-spacing: -1.4px; }
#rec5340103301 .t1119__title + .t1119__descr { margin-top: 0 !important; padding-top: 18px !important; }
#rec5340103301 .t1119__accordion { background: transparent; }

/* Рукописное подчёркивание «под ключ.» в заголовке первого экрана */
.zc-h1 u {
  text-decoration: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 70 4, 150 4, 297 11' fill='none' stroke='%235B5BD6' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% .28em;
  padding-bottom: .06em;
  animation: zc-draw 1.2s .6s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes zc-draw { to { background-size: 100% .28em; } }
@media (prefers-reduced-motion: reduce) {
  .zc-h1 u { animation: none; background-size: 100% .28em; }
}

/* Ссылки в согласии форм — фирменный цвет */
.t-checkbox__labeltext a, .t-checkbox__control a { color: #4B4ACF !important; }

/* v1.1 (пиксель-арт, страница 344031609) */
#rec5269711001 .t396__artboard {
  background-image: linear-gradient(#E8EAF0 1px, transparent 1px), linear-gradient(90deg, #E8EAF0 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center -1px;
}
#rec5269711001 .px-bob .tn-atom, #rec5269711001 .px-bob2 .tn-atom { image-rendering: pixelated; }
#rec5269711001 .px-bob { animation: zc-px-bob 2.4s steps(2) infinite; }
#rec5269711001 .px-bob2 { animation: zc-px-bob 1.8s steps(2) infinite; }
@keyframes zc-px-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  #rec5269711001 .px-bob, #rec5269711001 .px-bob2 { animation: none; }
}
#rec5269711001 .tn-elem__52697110011793193600000000013,
#rec5269711001 .tn-elem__52697110011793193600000000013 .tn-atom { height: 60px !important; }
.zc .zc-word { white-space: nowrap; }
@media (max-width: 480px) {
  .zc .zc-nav { gap: 8px; padding: 8px 8px 8px 12px; }
  .zc .zc-nav .zc-word { font-size: 17px; }
  .zc .zc-nav .zc-brand { gap: 6px; }
  .zc .zc-nav .px-btn { padding: 0 12px; font-size: 13px; min-height: 40px; }
}
.zc .zc-h1 { font-family: 'Handjet', Inter, sans-serif; font-weight: 700; font-size: clamp(60px, 6.8vw, 100px); line-height: .92; letter-spacing: 0; }
.zc .zc-h2 { font-family: 'Handjet', Inter, sans-serif; font-weight: 700; font-size: clamp(46px, 4.8vw, 70px); line-height: .95; letter-spacing: 0; max-width: 18em; }
.zc .px-card h3, .zc .px-st h3 { font-family: 'Handjet', Inter, sans-serif; font-weight: 700; font-size: 30px; line-height: 1; letter-spacing: 0; }
.zc .px-under i { bottom: -.14em; }
#rec5269711001 .tn-elem__52697110011793193600000000004 .tn-atom { font-family: 'Handjet', Inter, sans-serif !important; font-weight: 700 !important; font-size: 60px !important; line-height: .95 !important; letter-spacing: 0 !important; }
@media (max-width: 640px) {
  #rec5269711001 .tn-elem__52697110011793193600000000004 .tn-atom { font-size: 46px !important; }
}
