
:root {
  --bg: #161213;
  --bg-card: #221c1d;
  --text: #fed7e2;
  --text-muted: rgba(255,255,255,0.5);
  --accent: #fb7185;
  --accent-rgb: 251,113,133;
  --accent2: #e1fb71;
  --accent2-rgb: 225,251,113;
  --accent3: #fc8af9;
  --accent3-rgb: 252,138,249;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --font: 'Inter', sans-serif;
  --font-heading: 'Inter', sans-serif;
  --bodyBG: #161213;
  --textColor1: #fed7e2;
  --textColor2: #111111;
  --textSecondary: #c4a6ae;
  --textMuted: #8a757b;
  --secondStyleColor: #fb7185;
  --bgCard: #221c1d;
  --bgAlt: #292224;
  --borderSubtle: rgba(255,255,255,0.08);
  --borderRadius: 12px;
  --maxWidthContainer: 1200px;
  --scrollbarBg: rgba(255,255,255,0.1);
  --itemBgColor: transparent;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 100vw; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 100vw; }
::-webkit-scrollbar-thumb:hover { background: var(--secondStyleColor); filter: brightness(1.2); }
::-webkit-scrollbar-thumb:active { background: #fff; }
* { scrollbar-width: thin; scrollbar-color: var(--accent) rgba(255,255,255,0.05); }

body {
  font-family: var(--font);
  background: var(--bodyBG);
  color: var(--textColor1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--maxWidthContainer);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; object-position: 50% 20%; }
ul { list-style: none; }
html { scroll-behavior: smooth; }

/* Standardized typography */
section h1 {
  font-size: 48px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
}
section h2 {
  font-size: 36px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}
section h3 {
  font-size: 20px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}
section h4 {
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}
section p,
section li {
  font-size: 16px !important;
  line-height: 1.7 !important;
}
footer p,
footer li,
footer a {
  font-size: 14px !important;
  line-height: 1.6 !important;
}
footer h3 {
  font-size: 16px !important;
}
/* Auto-wrap markers from scripts/wrap-orphan-text.js — these <p> tags
   were inserted to make orphan text AI-editable. They live inside
   badge/tag/card-stat divs that previously held bare text, so the default
   browser <p> margin (1em) would inflate their height. Zero it. */
p.ai-wrap {
  margin: 0 !important;
}
@media (max-width: 900px) {
  section h1 {
    font-size: 36px !important;
  }
  section h2 {
    font-size: 28px !important;
  }
}
@media (max-width: 600px) {
  section h1 {
    font-size: 30px !important;
  }
  section h2 {
    font-size: 24px !important;
  }
  section h3 {
    font-size: 18px !important;
  }
  section p,
  section li {
    font-size: 15px !important;
  }
}

/* Heading font */
section h1, section h2, section h3, section h4,
header h1, header h2, header h3, header h4,
footer h3 {
  font-family: var(--font-heading) !important;
}

/* Standardized section spacing */
section {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}
header, nav { padding-top: 0 !important; padding-bottom: 0 !important; }
footer {
  padding-top: 40px !important;
  padding-bottom: 24px !important;
}
section.toc {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
.site-disclaimer {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid var(--border);
  padding: 16px 0;
  text-align: center;
}
.site-disclaimer p {
  font-size: 14px !important;
  font-style: italic;
  line-height: 1.5 !important;
  color: var(--textMuted);
  max-width: 800px;
  margin: 0 auto;
}
.toc .swiper-wrapper {
}
@media (max-width: 768px) {
  body > section,
  body > div > section,
  body > section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
}

/* Secondary pages */
.sec-page { padding: 80px 0; min-height: 60vh; }
.page-content { max-width: var(--maxWidthContainer); }
.page-content h1 { font-size: 2rem; font-weight: 700; margin-bottom: 24px; }
.page-content h2 { font-size: 1.3rem; font-weight: 600; margin: 36px 0 12px; color: var(--textColor1); }
.page-content p { margin-bottom: 16px; color: var(--textSecondary); line-height: 1.8; font-size: 0.95rem; }
.page-content a { color: var(--secondStyleColor); text-decoration: underline; }
.page-content a:hover { opacity: 0.8; }

/* Overflow protection — word wrap only, no clipping */
section p,
section li,
section summary {
  overflow-wrap: break-word;
}


  /* ===========================
          HEADER
        =========================== */

  .site-header {
    position: relative;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: var(--bodyBG);
    border-bottom: 1px solid var(--secondStyleColor);
  }
  .site-headerA {
    font-size: 24px;
    font-weight: 900;
    color: var(--textColor1);
  }

  .header-cta {
    padding: 12px 20px;
    color: var(--textColor2);
    font-weight: 500;
    border-radius: var(--borderRadius);
    background-color: var(--secondStyleColor);
  }

  /* layout */

  .site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    gap: 18px;
  }

  /* ===========================
   LOGO
=========================== */

  .logo {
    font-family:
      system-ui,
      -apple-system,
      "SF Pro Text",
      "Segoe UI",
      sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: 0.16em;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    color: var(--text-main);
  }

  .logo span:first-child {
    background: linear-gradient(120deg, var(--accent-2), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .logo span:last-child {
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  /* ===========================
   NAV DESKTOP
=========================== */

  .nav {
    display: flex;
    gap: 22px;
    align-items: center;
  }

  .header__nav > ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  /* ссылки */

  .nav a,
  .header__nav > ul a {
    position: relative;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.16em;
    padding: 6px 4px;
    text-transform: uppercase;
    transition:
      color 0.2s ease,
      transform 0.15s ease,
      opacity 0.2s ease;
  }

  /* подчёркивание — неоновая линия */

  .nav a::before,
  .header__nav > ul a::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-2), var(--accent));
    transform-origin: center;
    transform: scaleX(0);
    transition: transform 0.22s ease;
  }

  .nav a:hover,
  .header__nav > ul a:hover {
    color: var(--text-main);
    transform: translateY(-1px);
  }

  .nav a:hover::before,
  .header__nav > ul a:hover::before {
    transform: scaleX(1);
  }

  /* ===========================
   BURGER BUTTON
=========================== */

  .burger {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid var(--secondStyleColor);
    background: radial-gradient(
      circle at 0 0,
      rgba(77, 243, 255, 0.22),
      transparent 65%
    );
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
  }

  /* три полоски */

  .burger::before,
  .burger::after,
  .burger .icon-left {
    content: "";
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--textColor1);
    transition: all 0.25s ease;
  }

  .burger::before {
    top: 13px;
    transform: translateX(-50%);
  }

  .burger::after {
    bottom: 13px;
    transform: translateX(-50%);
  }

  .burger .icon-left {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .burger.open::before {
    top: 50%;
    transform: translateX(-50%) rotate(45deg);
  }

  .burger.open::after {
    top: 50%;
    bottom: auto;
    transform: translateX(-50%) rotate(-45deg);
  }

  .burger.open .icon-left {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }

  /* icon-right не используется, оставляем выключенным */
  .burger .icon-right {
    display: none;
  }

  /* ===========================
   MOBILE MENU
=========================== */

  .mobile__menu {
    display: none;
  }

  /* off-canvas навигация */

  @media (max-width: 1024px) {
    .header-cta {
      display: none;
    }
    .nav {
      display: none;
    }

    .burger {
      display: flex;
      align-items: center;
      justify-content: center;
      -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    }

    .mobile__menu {
      display: block;
      -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    }

    .header__nav {
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100dvh;
      background: var(--bodyBG);
      backdrop-filter: blur(22px);
      -webkit-backdrop-filter: blur(22px);
      z-index: 50;
      transform: translateX(-120%);
      transition: transform 0.35s ease;
      display: flex;
      flex-direction: column;
    }

    .header__nav > ul {
      margin-top: 90px;
      margin-left: 24px;
      flex-direction: column;
      align-items: flex-start;
      gap: 26px;
      height: 80vh;
      overflow-y: auto;
      overflow-x: hidden;
    }

    .header__nav > ul a {
      font-size: 18px;
      color: var(--text-main);
    }

    /* CTA-кнопка в моб.меню */
    .header__nav > a {
      display: inline-block !important;
      margin: auto 24px 36px;
      max-width: 90%;
      text-align: center;
      color: var(--textColor2) !important;
      background: var(--secondStyleColor);
      border-radius: 999px;
      padding: 12px 18px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.18em;
    }

    .navOpen {
      transform: translateX(0%);
    }

    header .btn {
      display: none;
    }
  }

  /* ===========================
   ACCESSIBILITY & MOTION
=========================== */

  .header__nav > ul a:focus-visible,
  .burger:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 4px;
  }

  @media (prefers-reduced-motion: reduce) {
    .burger,
    .burger * {
      transition: none !important;
    }
    .header__nav {
      transition: none !important;
    }
  }



  /* ===== HERO v26 — Aurora waves + hex grid + orbiting particles ===== */

  .hr27 {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: clamp(100px, 12vw, 160px) 0;
    color: var(--textColor1);
    overflow: hidden;
  }

  /* Background image */
  .hr27__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }

  .hr27__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
  }

  /* Aurora SVG */
  .hr27__aurora {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--secondStyleColor);
    pointer-events: none;
    z-index: 1;
  }

  .hr27__wave1 {
    animation: hr27Drift1 8s ease-in-out infinite alternate;
  }

  .hr27__wave2 {
    animation: hr27Drift2 10s ease-in-out infinite alternate;
  }

  @keyframes hr27Drift1 {
    0% {
      transform: translateY(0) translateX(0);
    }
    100% {
      transform: translateY(-40px) translateX(30px);
    }
  }

  @keyframes hr27Drift2 {
    0% {
      transform: translateY(0) translateX(0);
    }
    100% {
      transform: translateY(30px) translateX(-40px);
    }
  }

  .hr27 .container {
    position: relative;
    z-index: 2;
  }

  /* Content */
  .hr27__content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }

  .hr27__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 100px;
    background: color-mix(in srgb, var(--secondStyleColor) 8%, transparent);
    border: 1px solid
      color-mix(in srgb, var(--secondStyleColor) 14%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 700;
    color: var(--secondStyleColor);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .hr27__live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondStyleColor);
    box-shadow: 0 0 8px var(--secondStyleColor);
    animation: hr27Blink 2s ease-in-out infinite;
  }

  @keyframes hr27Blink {
    0%,
    100% {
      opacity: 1;
    }
    50% {
      opacity: 0.3;
    }
  }

  .hr27__content h1 {
    margin: 0;
    font-size: clamp(40px, 7vw, 78px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
  }

  .hr27__content > p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: color-mix(in srgb, var(--textColor1) 65%, transparent);
    max-width: 540px;
  }

  /* Actions */
  .hr27__actions {
    display: flex;
    gap: 12px;
    margin-top: 4px;
  }

  .hr27__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    border-radius: var(--borderRadius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease;
  }

  .partner-logo-img {
    max-width: 22px;
    height: auto;
    vertical-align: middle;
    margin-right: 8px;
  }

  .hr27__btn--fill {
    background: var(--secondStyleColor);
    color: var(--bodyBG);
  }

  .hr27__btn--fill i {
    font-size: 12px;
    transition: transform 0.25s ease;
  }

  .hr27__btn--fill:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px
      color-mix(in srgb, var(--secondStyleColor) 35%, transparent);
  }

  .hr27__btn--fill:hover i {
    transform: translateX(3px);
  }

  .hr27__btn--glass {
    border: 1px solid
      color-mix(in srgb, var(--secondStyleColor) 22%, transparent);
    color: var(--textColor1);
    background: color-mix(in srgb, var(--bodyBG) 30%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .hr27__btn--glass:hover {
    background: color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    border-color: color-mix(in srgb, var(--secondStyleColor) 45%, transparent);
    transform: translateY(-2px);
  }

  /* Metrics */
  .hr27__metrics {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 12px;
    padding: 16px 28px;
    border-radius: var(--borderRadius);
    background: color-mix(in srgb, var(--bodyBG) 40%, transparent);
    border: 1px solid
      color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .hr27__metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .hr27__metric strong {
    font-size: 20px;
    font-weight: 800;
    color: var(--secondStyleColor);
  }

  .hr27__metric span {
    font-size: 11px;
    color: color-mix(in srgb, var(--textColor1) 45%, transparent);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .hr27__sep {
    width: 1px;
    height: 28px;
    background: color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
  }

  /* Responsive */
  @media (max-width: 800px) {
    .hr27 {
      min-height: 500px;
    }

    .hr27__content h1 {
      font-size: 36px;
    }
  }

  @media (max-width: 600px) {
    .hr27 {
      padding: 80px 0;
      min-height: 420px;
    }

    .hr27__content h1 {
      font-size: 28px;
    }

    .hr27__content > p {
      font-size: 15px;
    }

    .hr27__actions {
      flex-direction: column;
      width: 100%;
    }

    .hr27__btn {
      justify-content: center;
    }

    .hr27__metrics {
      gap: 16px;
      padding: 14px 20px;
    }

    .hr27__metric strong {
      font-size: 17px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hr27__live,
    .hr27__wave1,
    .hr27__wave2 {
      animation: none;
    }

    .hr27__btn,
    .hr27__btn--fill i {
      transition: none;
    }

    .hr27__aurora * {
      animation: none !important;
    }
  }



  :root {
    --scrollbarBg: rgba(255, 255, 255, 0.1);
    --itemBgColor: transparent;
  }

  .swiper {
    padding-bottom: 10px !important;
  }

  .toc .swiper-slide {
    width: fit-content;
  }

  .toc h2 {
    margin: 0 !important;
    text-align: center;
    color: var(--textColor1);
  }

  .toc {
    background-color: transparent;
  }

  .toc .swiper-wrapper {
    padding-top: 36px;
    padding-bottom: 24px;
    position: relative;
  }

  .toc .swiper-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
      transparent,
      color-mix(in srgb, var(--secondStyleColor) 30%, transparent) 10%,
      color-mix(in srgb, var(--secondStyleColor) 30%, transparent) 90%,
      transparent
    );
    transform: translateY(-50%);
    pointer-events: none;
  }

  .toc a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    white-space: nowrap;
    color: color-mix(in srgb, var(--textColor1) 65%, transparent);
    padding: 28px 24px 10px;
    border-radius: 0;
    background-color: var(--itemBgColor);
    border: none;
    transition: color 0.3s ease;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -ms-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
  }

  .toc a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(1);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    background: color-mix(in srgb, var(--secondStyleColor) 60%, transparent);
    border: 2px solid var(--secondStyleColor);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    -moz-transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    -ms-transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    -o-transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  }

  .toc a::after {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 8px;
    background: color-mix(in srgb, var(--secondStyleColor) 40%, transparent);
    transition: background-color 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -ms-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
  }

  .toc a:hover,
  .toc a:focus {
    color: var(--textColor1);
  }

  .toc a:hover::before,
  .toc a:focus::before {
    transform: translateX(-50%) scale(1.35);
    background: var(--secondStyleColor);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--secondStyleColor) 20%, transparent),
                0 0 16px color-mix(in srgb, var(--secondStyleColor) 30%, transparent);
  }

  .toc a:hover::after,
  .toc a:focus::after {
    background: var(--secondStyleColor);
  }

  .toc-swiper .swiper-scrollbar {
    background: var(--scrollbarBg);
    height: 4px;
    border-radius: 2px;
  }

  .toc-swiper .swiper-scrollbar-drag {
    background: var(--secondStyleColor);
    border-radius: 2px;
    width: 20%;
  }

  .toc.wrapper {
    margin: 0 auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .toc-swiper {
    max-width: calc(var(--maxWidthContainer) - 40px);
    margin: 0 auto;
  }

  .swiper-horizontal > .swiper-scrollbar,
  .swiper-scrollbar.swiper-scrollbar-horizontal {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }

  @media screen and (max-width: 750px) {
    .toc.wrapper {
      margin-left: auto;
    }
    .swiper-horizontal > .swiper-scrollbar,
    .swiper-scrollbar.swiper-scrollbar-horizontal {
      width: 90% !important;
      margin: 0 auto;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .toc a,
    .toc a::before,
    .toc a::after {
      transition: none;
      -webkit-transition: none;
      -moz-transition: none;
      -ms-transition: none;
      -o-transition: none;
    }

    .toc a:hover::before {
      transform: translateX(-50%) scale(1);
    }
  }



  .tst {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 48px 20px;
  }

  .tst .container {
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    & p {
      text-align: center;
    }
  }

  .tst__card {
    max-width: var(--maxWidthContainer);
    border: 1px solid var(--secondStyleColor);
    border-radius: var(--borderRadius);
    padding: 48px 32px 28px;
  }

  /* ===== items ===== */
  .tst__item {
    display: none;
    text-align: center;
    color: var(--textColor1);
    font-weight: 500;
    font-style: italic;
    line-height: 1.2;
    margin: 0 auto;
    max-width: var(--maxWidthContainer);
    text-wrap: balance;
  }
  .tst__item.is-active {
    display: block;
  }

  .tst__mark {
    color: var(--secondStyleColor);
  }

  /* ===== avatars ===== */
  .tst__avatars {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
  }

  .tst__avatarBtn {
    width: 62px;
    height: 62px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 14px;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    outline: none;
  }

  .tst__avatarBtn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .tst__avatarBtn.is-active {
    border-color: var(--secondStyleColor);
  }

  /* ===== meta ===== */
  .tst__meta {
    text-align: center;
    padding-top: 18px;
  }
  .tst__name {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
  }
  .tst__role {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--textColor1);
    text-decoration: none;
  }
  .tst__role:hover {
    text-decoration: underline;
  }

  @media (max-width: 800px) {
    .tst__item {
      min-height: 200px;
    }
    .tst .container {
      margin-bottom: 20px;
    }
    .tst__card {
      width: 100%;
      max-width: 90%;
    }
  }



  .rm5 {
    padding: clamp(60px, 8vw, 100px) 0;
    color: var(--textColor1);
  }

  .rm5__head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
  }

  .rm5__kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondStyleColor);
    margin-bottom: 12px;
  }

  .rm5__head h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 700;
  }

  .rm5__head p {
    margin: 0;
    font-size: 15px;
    color: color-mix(in srgb, var(--textColor1) 60%, transparent);
  }

  .rm5__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 780px;
    margin: 0 auto;
  }

  .rm5__card {
    position: relative;
    padding: 24px 22px 28px;
    border-radius: var(--borderRadius);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    background: rgba(255,255,255,0.02);
    transition: transform 0.25s ease, border-color 0.25s ease;
  }

  .rm5__card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--secondStyleColor) 25%, transparent);
  }

  .rm5__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondStyleColor);
    margin-bottom: 14px;
  }

  .rm5__dot--outline {
    background: transparent;
    border: 2px solid var(--secondStyleColor);
  }

  .rm5__badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--secondStyleColor);
    background: color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    margin-bottom: 12px;
  }

  .rm5__badge--done {
    color: color-mix(in srgb, var(--textColor1) 50%, transparent);
    background: color-mix(in srgb, var(--textColor1) 6%, transparent);
  }

  .rm5__badge--active {
    background: color-mix(in srgb, var(--secondStyleColor) 15%, transparent);
  }

  .rm5__card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
  }

  .rm5__card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: color-mix(in srgb, var(--textColor1) 60%, transparent);
  }

  @media (max-width: 700px) {
    .rm5__grid { grid-template-columns: 1fr; max-width: 420px; }
  }

  @media (max-width: 600px) {
    .rm5 { padding: 48px 0; }
    .rm5__head { margin-bottom: 36px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .rm5__card { transition: none; }
  }



  /*  */
  .cefjhead {
    margin-bottom: 40px;
  }

  .kdm42 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
  }

  /* base */
  .p1a7e {
    padding: 28px;
    color: #222;
    border: 1px solid var(--secondStyleColor);
  }

  .p1a7e h3 {
    margin: 0 0 10px;
    font-size: 18px;
  }

  .p1a7e p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
  }

  /* row 1 */
  .g3 {
    grid-column: span 4;
    color: var(--textColor1);
    /* background: #e6e6e6;s */
  }
  .g4 {
    grid-column: span 4;
    /* background: #bdbdbd; */
    color: var(--textColor1);
  }
  .g5 {
    grid-column: span 4;
    /* background: #6d6d6d; */
    color: var(--textColor1);
  }

  /* row 2 */
  .g6 {
    grid-column: span 6;
    color: var(--textColor1);
  }
  .g7 {
    grid-column: span 6;
    color: var(--textColor1);
  }

  /* row 3 */
  .g8 {
    grid-column: span 3;
    /* background: #b5651d; */
    color: var(--textColor1);
  }
  .g9 {
    grid-column: span 3;
    /* background: #1f87b4; */
    color: var(--textColor1);
  }
  .g10 {
    grid-column: span 3;
    color: var(--textColor1);
  }
  .g11 {
    grid-column: span 3;
    /* background: #9aa22f; */
    color: var(--textColor1);
  }

  /* buttons */
  .g6 a,
  .g7 a {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 20px;
    font-size: 16px;
    text-decoration: none;
    border-radius: var(--borderRadius);
  }

  .g6 a {
    background: var(--secondStyleColor);
    color: var(--textColor1);
  }
  .g7 a {
    background: var(--secondStyleColor);
    color: var(--textColor1);
  }

  /* mobile */
  @media (max-width: 900px) {
    .cefjhead {
      margin-bottom: 20px;
    }
    .kdm42 {
      grid-template-columns: 1fr;
    }
    .g3,
    .g4,
    .g5,
    .g6,
    .g7,
    .g8,
    .g9,
    .g10,
    .g11 {
      grid-column: span 1;
    }
  }



  /* ===== HOW v21 — Pipeline Steps with animated connectors ===== */

  .hw21 {
    position: relative;
    padding: clamp(60px, 7vw, 100px) 0;
    color: var(--textColor1);
    overflow: hidden;
  }

  /* Blueprint grid background */
  .hw21__blueprint {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(var(--accent-rgb), 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(var(--accent-rgb), 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
  }

  .hw21__blueprint-accent {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(var(--accent-rgb), 0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(var(--accent-rgb), 0.08) 1px, transparent 1px);
    background-size: 300px 300px;
  }

  .hw21__grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  }

  /* Header */
  .hw21__head {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 55px;
    position: relative;
    z-index: 2;
  }

  .hw21__head h2 {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .hw21__head p {
    margin: 0;
    line-height: 1.65;
    color: color-mix(in srgb, var(--textColor1) 70%, transparent);
  }

  /* Pipeline layout */
  .hw21__pipeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: var(--maxWidthContainer);
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  /* Step */
  .hw21__step {
    flex: 1;
    max-width: 250px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .hw21__step.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .hw21__num {
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(var(--accent-rgb), 0.08);
    margin-bottom: 8px;
    line-height: 1;
  }

  .hw21__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--borderRadius);
    background: rgba(var(--accent-rgb), 0.04);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.3rem;
    color: var(--secondStyleColor);
    position: relative;
    transition: all 0.35s ease;
  }

  .hw21__icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: calc(var(--borderRadius) + 2px);
    border: 1px solid var(--secondStyleColor);
    opacity: 0;
    animation: hw21Pulse 3s ease-in-out infinite;
  }

  .hw21__step:hover .hw21__icon {
    background: rgba(var(--accent-rgb), 0.1);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.15);
  }

  .hw21__step:hover .hw21__icon::after {
    opacity: 0.4;
  }

  @keyframes hw21Pulse {
    0%, 100% { transform: scale(1); opacity: 0; }
    50% { transform: scale(1.15); opacity: 0.3; }
  }

  .hw21__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
  }

  .hw21__desc {
    font-size: 14px;
    line-height: 1.65;
    color: color-mix(in srgb, var(--textColor1) 60%, transparent);
    margin: 0;
  }

  /* Connector */
  .hw21__connector {
    flex: 0 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    position: relative;
  }

  .hw21__connector svg {
    width: 60px;
    height: 2px;
    overflow: visible;
  }

  .hw21__connector line {
    stroke: var(--secondStyleColor);
    stroke-width: 2;
    stroke-dasharray: 6 4;
    opacity: 0.3;
  }

  /* Particles on connector */
  .hw21__particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent2);
    animation: hw21Flow 2.5s linear infinite;
    opacity: 0;
  }

  .hw21__particle:nth-child(3) {
    animation-delay: -0.8s;
  }

  .hw21__particle:nth-child(4) {
    animation-delay: -1.6s;
  }

  @keyframes hw21Flow {
    0% { left: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 56px; opacity: 0; }
  }

  /* Responsive */
  @media (max-width: 900px) {
    .hw21__pipeline {
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }

    .hw21__step {
      max-width: 100%;
      display: flex;
      align-items: center;
      text-align: left;
      gap: 18px;
    }

    .hw21__num {
      font-size: 2.5rem;
      min-width: 50px;
    }

    .hw21__icon {
      margin: 0;
      flex-shrink: 0;
    }

    .hw21__info {
      flex: 1;
    }

    .hw21__connector {
      flex: 0 0 40px;
      transform: rotate(90deg);
    }
  }

  @media (max-width: 600px) {
    .hw21 {
      padding: 50px 0;
    }

    .hw21__head {
      margin-bottom: 36px;
    }

    .hw21__head h2 {
      font-size: 24px;
    }

    .hw21__num {
      font-size: 2rem;
      min-width: 40px;
    }

    .hw21__icon {
      width: 48px;
      height: 48px;
      font-size: 1.1rem;
    }

    .hw21__title {
      font-size: 16px;
    }

    .hw21__desc {
      font-size: 13px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hw21__step,
    .hw21__icon,
    .hw21__particle {
      transition: none;
      animation: none;
    }

    .hw21__icon::after {
      animation: none;
    }

    .hw21__step {
      opacity: 1;
      transform: none;
    }
  }



  /* центрирование блока по высоте */
  #features {
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
  }
  #features .container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .hufla {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
  }
  .hufla h2,
  .hufla p {
    text-align: center;
  }
  .hufla > span {
    display: flex;
    width: 30%;
    margin: 0 auto;
    border-radius: var(--borderRadius);
    height: 2px;
    background-color: var(--secondStyleColor);
  }

  .trunox {
    width: 100%;
    height: 50vh;
    display: grid;
    grid-column-gap: 10px;
    grid-row-gap: 12px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }

  .mivra {
    position: relative;
    --x-px: calc(var(--x) * 1px);
    --y-px: calc(var(--y) * 1px);
    --border: 2px;
    background: color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
    border-radius: var(--borderRadius);
    overflow: hidden;
  }

  .mivra::before,
  .mivra::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
      800px circle at var(--x-px) var(--y-px),
      var(--secondStyleColor),
      transparent 40%
    );
    pointer-events: none;
  }

  .mivra::before {
    z-index: 1;
  }

  .mivra::after {
    opacity: 0;
    z-index: 2;
    transition: opacity 0.4s ease;
  }

  .mivra:hover::after {
    opacity: 1;
  }

  .praxu {
    background: var(--bgCard);
    border-radius: inherit;
    color: var(--textColor1);
    text-decoration: none;
    position: absolute;
    inset: var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 3;
    & p {
      text-align: center;
      text-wrap: balance;
    }
    & h3 {
      text-align: center;
      margin-bottom: 10px;
    }
  }

  .praxu > p {
    opacity: 0.7;
  }
  @media (max-width: 800px) {
    .trunox {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      height: auto;
      gap: 12px;
    }

    .mivra {
      min-height: 240px;
    }
    .hufla {
      margin-bottom: 20px;
    }
  }



  .bx7-cta-wrap {
    padding: 70px 0;
    color: var(--textColor1);
  }

  .bx7-cta-inner {
    max-width: var(--maxWidthContainer);
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
  }

  .bx7-title {
    font-size: 32px;
    margin-bottom: 12px;
    font-weight: 700;
  }

  .bx7-text {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--textSecondary);
  }

  .bx7-btn {
    display: inline-block;
    background: var(--secondStyleColor);
    color: #111;
    padding: 12px 26px;
    font-weight: 600;
    border-radius: var(--borderRadius);
    transition: 0.2s ease;
  }

  .bx7-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
  }



  .gl5 {
    padding: clamp(60px, 8vw, 100px) 0;
    color: var(--textColor1);
  }

  .gl5__head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
  }

  .gl5__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--secondStyleColor);
    margin-bottom: 12px;
  }

  .gl5__head h2 {
    margin: 0 0 14px;
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 700;
  }

  .gl5__head p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: color-mix(in srgb, var(--textColor1) 60%, transparent);
  }

  .gl5__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .gl5__card {
    border-radius: var(--borderRadius);
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    transition: transform 0.3s ease, border-color 0.3s ease;
  }

  .gl5__card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--secondStyleColor) 30%, transparent);
  }

  .gl5__img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
  }

  .gl5__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .gl5__card:hover .gl5__img img {
    transform: scale(1.05);
  }

  .gl5__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--secondStyleColor);
    border-radius: 4px;
  }

  .gl5__body {
    padding: 18px 20px;
  }

  .gl5__body h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
  }

  .gl5__body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: color-mix(in srgb, var(--textColor1) 55%, transparent);
  }

  @media (max-width: 900px) {
    .gl5__grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 600px) {
    .gl5 { padding: 48px 0; }
    .gl5__grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .gl5__head { margin-bottom: 32px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .gl5__card, .gl5__img img { transition: none; }
  }



  .containerFAQ {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .faq h2 {
    text-align: center;
  }

  .faq > div {
    border-radius: var(--borderRadius);
  }

  #faq {
    border-radius: var(--borderRadius);
    padding: var(--sectionPadding);
  }

  .accord__item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    padding: 32px;
    border: 4px solid var(--secondStyleColor);
    border-radius: var(--borderRadius);
  }

  .accord__item h3,
  .accord__item p {
    margin-bottom: 0;
    margin: 0;
    color: var(--textColor1);
  }

  .accord__item > div:first-child > p {
    font-weight: 900;
    color: var(--textColor1) !important;
    font-size: 24px !important;
    margin-bottom: 0;
  }

  .accord__item > div:first-child {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .accord__item > div:last-child {
    max-height: 0;
    visibility: hidden;
    transition: 0.3s all linear;
  }

  .accord__item > div:last-child p {
    color: var(--textColor1) !important;
    text-align: left;
  }

  .show {
    visibility: visible !important;
  }

  .accord__item div + div {
    transition: max-height 0.3s ease;
    overflow: hidden;
    /* padding: 20px; padding будет учтен в scrollHeight */
    box-sizing: border-box; /* важно! */
  }

  .accord__item div + div p {
    transition: margin-top 0.3s ease;
    visibility: hidden;
    margin: 0;
  }

  .accord__item div + div.show p {
    visibility: visible;
    opacity: 1;
  }

  div.show {
    margin-top: 28px;
  }

  @media (max-width: 768px) {
    .accord__item {
      padding: 32px 16px;
    }
  }



  .site-footer {
    border-top: 0.5px solid var(--secondStyleColor);
    padding: 20px 0;
  }
  .footerLogo {
    color: var(--textColor1);
  }

  .footer-inner {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .intoLinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 600px;
    text-align: center;
    span {
      width: 8px;
      height: 8px;
      background-color: var(--secondStyleColor);
      border-radius: 50%;
    }
    a {
      transition: 0.3s all linear;
      transform-origin: left;
      text-decoration: none;
      color: var(--textColor1);
    }
    a:hover {
      text-decoration: underline;
    }
  }
  @media screen and (max-width: 750px) {
    .intoLinks {
      flex-direction: column;
      span {
        display: none;
      }
    }
  }

  .f-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .f-social i {
    color: var(--secondStyleColor);
  }
  .copy {
    text-align: center;
    opacity: 0.5;
  }
  .footer-links {
    display: flex;
    gap: 1rem;
  }

  .footer-links a {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.75rem;
  }

  .footer-links a:hover {
    color: #fff;
  }


