.main-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  padding: 12px 0;
  background: var(--styles);
}

.header__co__de__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__co__de__title {
}

.header__co__de__title:hover,
.header__co__de__title:focus {
}

.page-nav {
  display: none;
}

.navr__co__de__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.navr__co__de__link {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--txt-secondary);
  padding: 8px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, opacity 0.3s ease;
}

.navr__co__de__link:hover {
  border-color: var(--blue);
  opacity: 1;
}

.menu__co__de__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: background-color 0.4s ease;
}

.menu__co__de__btn:hover,
.menu__co__de__btn:focus {
  svg {
    stroke: var(--accent2);
  }
}

.menu__co__de__svg {
  fill: none;
  stroke: var(--blue);
  transition: stroke 0.4s ease;
}

@media screen and (min-width: 1436px) {
  .main-section {
    padding: 30px 0;
  }

  .header__co__de__title {
    font-size: 26px;
  }

  .page-nav {
    display: block;
  }

  .navr__co__de__link {
    font-size: 12px;
    opacity: 0.6;
  }
  .navr__co__de__list {
    gap: 36px;
  }

  .menu__co__de__btn {
    display: none;
  }
}

/* modal  */

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  padding-top: 70px;
  z-index: 8;
  background: linear-gradient(180deg, #040404 0%, #161616 100%);
  transform: translateX(100%);
  transition: transform 1s ease;
}

.menu__co__de__nav-list {
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  padding: 20px;
  transition: transform 0.4s ease;
  background: var(--secondary);
}

.popup__co__de__text {
  font-family: var(--second-family);
  font-weight: 300;
  font-size: 14px;
  line-height: 130%;
  text-align: center;
  color: var(--txt-secondary);
  margin-bottom: 26px;

  a {
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #6e7191;
    transition: color 0.3s ease;
  }

  a:hover {
    color: var(--styles);
  }
}

.popup__co__de__btn {
  font-family: var(--second-family);
  font-weight: 300;
  font-size: 14px;
  text-align: center;
  color: var(--txt-tertiary);

  border-bottom: 2px solid var(--accent2);
  border-radius: 4px;
  padding: 10px;
  text-align: center;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.popup__co__de__btn:hover {
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: var(--accent2);
}

.popup__co__de__wrap {
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media screen and (min-width: 1436px) {
  .popup__co__de__text {
    font-size: 14px;
    margin-bottom: 40px;
  }

  .popup__co__de__wrap {
    gap: 80px;
  }
}

/* hero  */

.dashboard {
  padding-top: 68px;
  padding-bottom: 248px;
  position: relative;
  overflow: hidden;
  perspective: 800px;
}

.hero__co__de__title {
  font-family: var(--second-family);
  font-weight: 300;
  font-size: 32px;
  line-height: 150%;
  color: var(--text-main);
  margin-bottom: 20px;

  .highlight {
    text-transform: uppercase;
    color: var(--accent2);
  }
}

.hero__co__de__text {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 16px;
  line-height: 140%;
  color: var(--text-main);
  margin-bottom: 16px;
}

.hero-code-title {
  border-left: 1px solid var(--tertiary);
  border-right: 1px solid var(--tertiary);
  border-top: 1px solid var(--tertiary);
  border-radius: 12px 12px 0 0;
  padding: 8px;

  h4 {
    font-family: var(--second-family);
    font-weight: 300;
    font-size: 10px;
    line-height: 150%;
    color: var(--blue);
    opacity: 0.6;
    margin-bottom: 16px;
  }

  p {
    font-family: var(--second-family);
    font-weight: 300;
    font-size: 8px;
    line-height: 150%;
    color: var(--txt-secondary);
  }
}

.hero__co__de__title .caret::after {
  content: "│"; /* курсор */
  margin-left: 2px;
  animation: blink 0.9s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

.pre {
  border: 1px solid var(--tertiary);
  border-radius: 0 0 12px 12px;
  padding: 8px;
  margin: 0;
  background: var(--base);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere; /* ломать очень длинные токены */
  word-break: break-word;
  margin: 0;

  code {
    display: block;
    white-space: pre-wrap; /* сохраняет отступы/переводы, но разрешает переносы */
    tab-size: 2;
    opacity: 0.8;
  }
}

.code-title {
  font-family: var(--second-family);
  font-weight: 300;
  font-size: 12px;
  line-height: 150%;
  color: var(--blue);
  margin-bottom: 16px;
  opacity: 0.6;
}

#snippet {
  font-size: 8px;
}

.hero__co__de__link {
  display: block;
  border: 1px solid var(--accent2);
  border-radius: 4px;
  width: 280px;
  max-width: 100%;
  margin: 0 auto;
  margin-top: 32px;
  box-shadow: 1px 2px 2px 0 rgba(133, 133, 133, 0.4);
  background: var(--base);
  padding: 12px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-transform: uppercase;
  color: var(--text-main);
  text-align: center;
  transition: background-color 0.4s ease;
}

.hero__co__de__link:hover,
.hero__co__de__link:focus {
  background-color: var(--blue);
}

.hero-image {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  z-index: -1;

  --tx: 0px; /* смещение по X от мыши */
  --ty: 0px; /* смещение по Y от мыши */
  --rotX: 0deg; /* наклон по X */
  --rotY: 0deg; /* наклон по Y */
  --scale: 1; /* «дыхание» */
  --bob: 0px; /* лёгкое покачивание по Y */

  transform-origin: center bottom;
  transform: translateX(-50%)
    translate3d(var(--tx), calc(var(--ty) + var(--bob)), 0) rotateX(var(--rotX))
    rotateY(var(--rotY)) scale(var(--scale));
  will-change: transform;

  image-rendering: pixelated; /* опционально для пиксель-артов */
}

@media (prefers-reduced-motion: reduce) {
  .hero-image {
    transform: translateX(-50%);
  }
}

/* если у пользователя включено “уменьшение анимации” */
@media (prefers-reduced-motion: reduce) {
  .hero-image {
    animation: none;
    transition: none;
  }
}

@media screen and (min-width: 768px) {
  .hero-code-title {
    h4 {
      font-size: 12px;
    }

    p {
      font-size: 10px;
    }
  }

  #snippet {
    font-size: 10px;
  }

  .code-title {
    font-size: 14px;
  }
}

@media screen and (min-width: 1436px) {
  .dashboard {
    padding-top: 168px;
    padding-bottom: 700px;
  }

  .pre {
    border-radius: 12px;
    padding: 16px;
  }

  .hero__co__de__title {
    font-size: 56px;
    text-align: center;
    margin-bottom: 65px;
  }

  .hero-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 78px;
  }

  .hero-code-wrap {
    width: 410px;
    flex-shrink: 0;
  }

  .hero__co__de__text {
    font-size: 24px;
    max-width: 391px;
    margin-bottom: 80px;
  }

  .hero__co__de__link {
    margin: 0;
  }
}

/* build */

.build__co__de__content {
  border-radius: 8px;
  padding: 16px;
  background: var(--secondary);
  max-width: 100%;
}

.code-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;

  button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 8px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
  }

  button:hover {
    background: none;
  }

  p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #676767;
    display: none;
    transition: color 0.3s ease;
  }

  svg {
    fill: #676767;
    transition: fill 0.3s ease;
  }

  .active-btn {
    border-color: #3daaca;

    svg {
      fill: #f2f2f2;
    }

    p {
      display: block;
      color: #f2f2f2;
    }
  }
}

.build__co__de__slide {
  h5 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    color: var(--blue);
    margin-bottom: 24px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 16px;
    line-height: 150%;
    color: var(--txt-secondary);
    margin-bottom: 24px;
  }
}

@media screen and (min-width: 1436px) {
  .build__co__de__content {
    border-radius: 8px;
    padding: 16px;
    width: 1062px;
    margin: 0 auto;
  }

  .code-toolbar {
    gap: 208px;
    margin-bottom: 48px;

    button {
      justify-content: flex-start;
    }

    p {
      display: block;
    }
  }
}

/* language  */

#language {
  background: linear-gradient(
    180deg,
    #040404 0%,
    rgba(4, 4, 4, 0) 30%,
    rgba(4, 4, 4, 0.5) 70%,
    #040404 100%
  );
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.language__co__de__text {
  font-family: var(--second-family);
  font-weight: 200;
  font-size: 36px;
  line-height: 150%;
  text-transform: uppercase;
  color: var(--text-main);

  span {
    font-weight: 700;
    color: var(--blue);
  }
}

.language__co__de__text .caret::after {
  content: "│"; /* курсор */
  margin-left: 2px;
  animation: blink 0.9s steps(1) infinite;
}

.laptop {
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translateX(-350px);
  width: 1100px;
  max-width: max-content;
  z-index: -1;
  /* плавная прозрачность к краям */
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    #000 10%,
    transparent 100%
  );
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 100%);
}
.language__co__de__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 320px;
}
.language__co__de__list > li {
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: scaleX(1);
  overflow: hidden;
  padding: 16px;
  cursor: pointer;
}

.language__co__de__list > li.is-flipped {
  transform: scaleX(-1);
}

.language__co__de__list > li [id^="language"] {
  transform: none;
}

.language__co__de__list > li.is-flipped [id^="language"] {
  transform: scaleX(-1); /* компенсируем зеркальность li */
}

.language__co__de__wrap {
  /* inset: 0; */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  /* backface-visibility: hidden;
  -webkit-backface-visibility: hidden; */
  border-radius: 12px;
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 20px;
  line-height: 150%;
  color: var(--text-main);
  border-radius: 12px;
  padding: 16px;
  min-height: 200px;
  background: var(--secondary);
}

.language__co__de__back {
  border: 1px solid var(--blue);
  border-radius: 10px;
  padding: 16px;
  background: var(--tertiary);
  font-size: 12px;
  opacity: 0.8;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language__co__de__list > li.is-flipped .inner {
  transform: scaleX(-1);
}

@media screen and (min-width: 768px) {
  .laptop {
    top: 160px;
  }
  .language__co__de__list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 24px) / 2);
    }
  }
}

@media screen and (min-width: 1436px) {
  .language__co__de__content {
    margin-left: auto;
    width: 954px;
  }
  .language__co__de__list {
    margin: 0;

    li {
      width: calc((100% - 48px) / 3);
    }

    .language__co__de__item {
      width: calc((100% - 24px) / 2);
    }
  }

  .laptop {
    top: 130px;
    left: -600px;
    transform: translateX(0);
    width: auto;
  }
}

/* teams  */

.teams__co__de__text {
  font-family: var(--second-family);
  font-weight: 200;
  font-size: 32px;
  line-height: 150%;
  color: var(--text-main);
  margin-bottom: 40px;

  span {
    font-weight: 700;
    color: var(--blue);
  }
}

.teams__co__de__text .caret::after {
  content: "│"; /* курсор */
  margin-left: 2px;
  animation: blink 0.9s steps(1) infinite;
}

.teams__co__de__desc {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 141%;
  letter-spacing: 0.4em;
  text-align: center;
  font-weight: 300;
  color: var(--text-main);

  span {
    color: var(--accent2);
    font-weight: 700;
  }
}

.teams__co__de__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;

  li {
    width: 280px;
    max-width: 100%;
    border: 2px dashed var(--txt-tertiary);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
  }

  li:hover,
  .hero__co__de__link:focus {
    img {
      filter: grayscale(0%); /* или просто: filter: none; */
    }
  }

  div {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;

    font-family: var(--font-family);
    font-weight: 300;
    font-size: 20px;
    line-height: 150%;
    color: var(--text-main);

    img {
      width: 24px;
      flex-shrink: 0;
      filter: grayscale(0%); /* или просто: filter: none; */
    }
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 10px;
    line-height: 150%;
    color: var(--txt-secondary);
  }

  img {
    filter: grayscale(100%);
    transition: filter 0.35s ease;
    will-change: filter; /* чуть плавнее на мобильных */
  }
}

@media screen and (min-width: 768px) {
  .teams__co__de__list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: normal;
    gap: 32px;
  }
}

@media screen and (min-width: 1436px) {
  .teams__co__de__list {
    gap: 52px;
    margin-bottom: 48px;
  }

  .teams__co__de__desc {
    text-align: end;
  }

  .teams__co__de__text {
    font-size: 48px;
    margin-bottom: 48px;
    text-align: center;
  }
}

/* export */

.export__co__de__list {
  display: flex;
  flex-direction: column;
  gap: 24px;

  li {
    border-radius: 12px;
    padding: 24px;
    background: var(--secondary);
  }

  div {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    color: var(--text-main);
  }

  img {
    width: 32px;
    flex-shrink: 0;
  }

  p {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 14px;
    line-height: 150%;
    color: var(--txt-secondary);
  }
}

@media screen and (min-width: 768px) {
  .export__co__de__list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 24px) / 2);
    }
  }
}

@media screen and (min-width: 1436px) {
  .export__co__de__list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

    li {
      width: 247px;
      padding: 55px 24px;
    }
  }
}

/* pricing  */

#pricing {
  padding-bottom: 320px;
  position: relative;
  overflow: hidden;
  perspective: 800px;
}

.pricing__co__de__image {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  z-index: -1;
  opacity: 0.5;
  --tx: 0px; /* смещение по X от мыши */
  --ty: 0px; /* смещение по Y от мыши */
  --rotX: 0deg; /* наклон по X */
  --rotY: 0deg; /* наклон по Y */
  --scale: 1; /* «дыхание» */
  --bob: 0px; /* лёгкое покачивание по Y */

  transform-origin: center bottom;
  transform: translateX(-50%)
    translate3d(var(--tx), calc(var(--ty) + var(--bob)), 0) rotateX(var(--rotX))
    rotateY(var(--rotY)) scale(var(--scale));
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .pricing__co__de__image {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing__co__de__image {
    animation: none;
    transition: none;
  }
}

.pricing__co__de__table {
  border: 1px solid var(--txt-tertiary);
  border-radius: 4px;
}

.pricing__co__de__table table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  color: #fff;
}

.pricing__co__de__table th,
.pricing__co__de__table td {
  padding: 10px;
  border: 1px solid var(--txt-tertiary);
}

.pricing__co__de__table thead th {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  text-transform: uppercase;
  text-align: center;
  background: #363636;
  color: var(--text-main);
}

.pricing__co__de__table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: #aaa;
}

.pricing__co__de__table .yes {
  color: #0080d0;
  font-weight: bold;
}
.pricing__co__de__table .no {
  color: #ff4d4d;
  font-weight: bold;
}

@media (max-width: 768px) {
  .pricing__co__de__table table {
    font-size: 14px;
  }
  .pricing__co__de__table th,
  .pricing__co__de__table td {
    padding: 10px;
  }
}

@media screen and (min-width: 1436px) {
  #pricing {
    padding-bottom: 700px;
  }
  .pricing__co__de__link {
    margin: 0 auto;
    margin-top: 80px;
  }
}

/* Подсветка активного заголовка */
.pricing__co__de__table thead th.is-active {
  position: relative;
}
.pricing__co__de__table thead th.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background: #00b7ff;
}

/* ===== MOBILE (<=767.98px) ===== */
@media (max-width: 767.98px) {
  .pricing__co__de__table {
    overflow: hidden;
  }

  /* Шапка остаётся таблицей (видны все вкладки) */
  .pricing__co__de__table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
  }
  .pricing__co__de__table thead th {
    display: table-cell;
    cursor: pointer;
  }
  .pricing__co__de__table thead th.c1 {
    cursor: default;
  }

  /* Подсветка активной вкладки */
  .pricing__co__de__table thead th.is-active {
    position: relative;
  }
  .pricing__co__de__table thead th.is-active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -1px;
    height: 2px;
    background: #00b7ff;
  }

  /* --- Главное: tbody как блок, каждая строка — grid из 2 колонок --- */
  .pricing__co__de__table tbody {
    display: block;
    width: 100%;
  }
  .pricing__co__de__table tbody tr {
    display: grid;
    grid-template-columns: max-content 1fr; /* левый лейбл по контенту, правый — весь остаток */
    align-items: center;
  }

  /* По умолчанию всё скрыто */
  .pricing__co__de__table tbody th,
  .pricing__co__de__table tbody td {
    display: none;
  }

  /* Показываем левый столбец (лейблы фич) */
  .pricing__co__de__table tbody .c1 {
    display: block;
    white-space: nowrap;
    text-align: left; /* можно поменять на right, если нужно */
  }

  /* Показываем выбранный план (занимает всю правую колонку grid) */
  .pricing__co__de__table table[data-show="2"] tbody .c2,
  .pricing__co__de__table table[data-show="3"] tbody .c3,
  .pricing__co__de__table table[data-show="4"] tbody .c4 {
    display: block;
  }

  /* Границы и отступы, чтобы вид оставался «табличным» */
  .pricing__co__de__table tbody tr > * {
    padding: 10px;
    border-top: 1px solid var(--txt-tertiary);
    border-left: 1px solid var(--txt-tertiary);
    border-right: 1px solid var(--txt-tertiary);
  }
  .pricing__co__de__table tbody tr:last-child > * {
    border-bottom: 1px solid var(--txt-tertiary);
  }
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
  .pricing__co__de__table th,
  .pricing__co__de__table td {
    display: table-cell;
  }
  .pricing__co__de__table thead th {
    cursor: default;
  }
}

/* Показывать нужную версию */
@media (max-width: 767.98px) {
  .pricing__co__de__table {
    display: none;
  }
  .pricing__co__de__mobile {
    display: block;
  }
}
@media (min-width: 768px) {
  .pricing__co__de__mobile {
    display: none;
  }
}

/* --- Мобильный столбец --- */
/* Включение нужной версии */
@media (max-width: 767.98px) {
  .pricing__co__de__table {
    display: none;
  }
  .pricing__co__de__mobile {
    display: block;
  }
}
@media (min-width: 768px) {
  .pricing__co__de__mobile {
    display: none;
  }
}

/* ---- Мобильный столбец в стиле десктопа ---- */
.pricing__co__de__mobile {
  border: 1px solid var(--txt-tertiary);
  border-radius: 4px;
  color: #fff;
  background: transparent;
  overflow: hidden;
}

/* Шапка (фон как у thead) */
.pricing__co__de__mobile .pm-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
  background: #363636;
  border-bottom: 1px solid var(--txt-tertiary);
}
.pricing__co__de__mobile .pm-title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  text-transform: uppercase;
  color: var(--text-main);
  white-space: nowrap;
}

/* Табы (как заголовки столбцов) */
.pm-tabs {
  display: flex;
  gap: 8px;
  overflow: auto;
}
.pm-tab {
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid var(--txt-tertiary);
  color: var(--text-main);
  border-radius: 4px;
  padding: 6px 10px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}
.pm-tab[aria-selected="true"] {
  position: relative;
  background: rgba(0, 0, 0, 0.18);
}
.pm-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -1px;
  height: 2px;
  background: #00b7ff;
}

/* Строки – сетка из двух «ячеек» */
.pm-rows {
  display: block;
}
.pm-row {
  display: grid;
  grid-template-columns: minmax(120px, 42%) 1fr; /* левый столбец ≈ как c1, правый тянется */
  align-items: stretch;
  border-top: 1px solid var(--txt-tertiary);
}
.pm-row:first-child {
  border-top: 0;
}

/* Левый «ключ» — как tbody td:first-child на десктопе */
.pm-key {
  padding: 10px;
  color: #aaa;
  font-weight: 500;
  text-align: left;
  border-right: 1px solid var(--txt-tertiary);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
}

/* Правый «значение» — как обычная ячейка */
.pm-val {
  padding: 10px;
  text-align: left;
  background: rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
}

/* Цвета ✓/✗ */
.pm-val.yes {
  color: #0080d0;
  font-weight: 700;
}
.pm-val.no {
  color: #ff4d4d;
  font-weight: 700;
}

/* Внутренние границы справа/слева как в таблице */
.pricing__co__de__mobile .pm-row > * {
  border-left: 1px solid var(--txt-tertiary);
}
.pricing__co__de__mobile .pm-row > *:first-child {
  border-left: 0; /* уже есть рамка контейнера */
}

/* live  */

.form-wrap {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 28px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.label {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  color: var(--blue);
}
.field input[type="text"] {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 10px;
  line-height: 120%;
  color: var(--txt-secondary);
  background: none;
  border: 1px solid var(--txt-tertiary);
  border-radius: 8px;
  padding: 20px 14px;
  outline: none;
}
.field input[type="text"]::placeholder {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 10px;
  line-height: 120%;
  color: var(--txt-secondary);
}

.field button {
  display: block;
  border: 1px solid var(--accent2);
  border-radius: 4px;
  width: 100%;
  box-shadow: 1px 2px 2px 0 rgba(133, 133, 133, 0.4);
  background: var(--base);
  padding: 12px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-transform: uppercase;
  color: var(--text-main);
  text-align: center;
  transition: background-color 0.4s ease;
  margin-bottom: 20px;
  margin-top: 20px;
}
.field button:active,
button:hover {
  background-color: var(--blue);
}
.preview {
  border: 1px solid var(--txt-tertiary);
  border-radius: 8px;
  padding: 20px 14px;
  overflow: auto;
}
pre {
  margin: 0;
  font: 13.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #d1f4ff;
}
.kw {
  color: #7dd3fc;
}
.str {
  color: #c7f36b;
}
.cm {
  color: #6e7f8a;
}

@media screen and (min-width: 1436px) {
  #generate {
    width: 1060px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 24px;
  }

  .react-demo-form {
    width: 411px;
    flex-shrink: 0;
  }

  .field {
    width: 100%;
  }
}

/* voices */

.voices__co__de__list {
  display: flex;
  flex-direction: column;
  gap: 32px;

  li {
    border: 2px dashed var(--txt-tertiary);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
  }

  p {
    font-family: var(--second-family);
    font-weight: 200;
    font-size: 20px;
    line-height: 140%;
    color: #f5f5f5;
    opacity: 0.9;
    margin-bottom: 24px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 12px;
    line-height: 130%;
    letter-spacing: 0.02em;
    text-align: right;
    color: #f5f5f5;
    opacity: 0.9;
  }

  img {
    filter: grayscale(100%); /* или просто: filter: none; */
  }
}

@media screen and (min-width: 1436px) {
  .voices__co__de__list {
    flex-direction: row;
    width: 1062px;
    margin: 0 auto;

    li {
      width: calc((100% - 48px) / 3);
    }
  }
}

/* ready  */

#ready {
  position: relative;
  overflow: hidden;
  perspective: 800px;
}

.pic-join {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  z-index: -1;

  --tx: 0px; /* смещение по X от мыши */
  --ty: 0px; /* смещение по Y от мыши */
  --rotX: 0deg; /* наклон по X */
  --rotY: 0deg; /* наклон по Y */
  --scale: 1; /* «дыхание» */
  --bob: 0px; /* лёгкое покачивание по Y */

  transform-origin: center bottom;
  transform: translateX(-50%)
    translate3d(var(--tx), calc(var(--ty) + var(--bob)), 0) rotateX(var(--rotX))
    rotateY(var(--rotY)) scale(var(--scale));
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .pic-join {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pic-join {
    animation: none;
    transition: none;
  }
}

.ready__co__de__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;

  li {
    width: 254px;
  }

  a {
    display: flex;
    align-items: center;
    gap: 24px;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--txt-secondary);
    transition: color 0.3s ease;
  }

  a:hover,
  a:focus {
    color: var(--blue);
  }
}

@media screen and (min-width: 1436px) {
  #ready {
    padding-bottom: 500px;
  }

  .ready__co__de__list {
    flex-direction: row;
    justify-content: center;
    gap: 120px;
    margin-bottom: 48px;
  }

  .ready__co__de__link {
    margin: 0 auto;
  }
}

/* footer */

.footer {
  padding: 44px 0;
  background: #282828;
}

.footer__co__de__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;

  img {
    width: 89px;
  }

  h5 {
    font-family: var(--second-family);
    font-weight: 300;
    font-size: 40px;
    line-height: 150%;
    color: var(--txt-secondary);
  }
}

.footer__co__de__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;

  font-family: var(--font-family);
  font-weight: 300;
  font-size: 14px;
  line-height: 150%;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: var(--text-main);

  a:hover {
    color: var(--blue);
  }
}

.footer__co__de__text {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 14px;
  line-height: 150%;
  color: var(--text-main);
  text-align: center;
}

@media screen and (min-width: 1436px) {
  .footer {
    padding: 98px 0;
  }

  .footer__co__de__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    position: relative;
  }

  .footer__co__de__title {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
  }

  .footer__co__de__text {
    font-size: 14px;
  }

  .footer__co__de__list {
    font-size: 14px;
    margin: 0;
  }
}

/* loader */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(94, 95, 147, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #ccc;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* scroll */

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  border: 1px solid var(--blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  z-index: 7;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease box-shadow 0.4s ease;

  svg {
    stroke: var(--blue);
  }
}
#scrollTopBtn:hover,
#scrollTopBtn:focus {
  box-shadow: 0 4px 22px 3px var(--blue);
}
#scrollTopBtn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ********************* */

.hidden {
  display: none !important;
}

.menu__co__de__transform {
  transform: translateX(0);
}

.click {
  transform: rotate(135deg);
}

.popup__co__de__click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
