
:root {
  --bg: #0d1b2a;
  --bg-card: #1b2838;
  --text: #e0fbfc;
  --text-muted: rgba(255,255,255,0.5);
  --accent: #00b4d8;
  --accent-rgb: 0,180,216;
  --accent2: #6c00d8;
  --accent2-rgb: 108,0,216;
  --accent3: #00f251;
  --accent3-rgb: 0,242,81;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --font: 'Poppins', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --bodyBG: #0d1b2a;
  --textColor1: #e0fbfc;
  --textColor2: #111111;
  --textSecondary: #abc3c8;
  --textMuted: #778b93;
  --secondStyleColor: #00b4d8;
  --bgCard: #1b2838;
  --bgAlt: #1e2d3b;
  --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 v5 — Glass floating bar + centered nav pill ===== */

  .hd5 {
    position: relative;
    z-index: 100;
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--bodyBG) 85%, transparent),
      color-mix(in srgb, var(--bodyBG) 70%, transparent)
    );

    border-bottom: 1px solid
      color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
  }

  .hd5__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 20px;
  }

  /* Logo */
  .hd5__logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--textColor1);
    text-decoration: none;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    z-index: 110;
  }

  /* Desktop nav — centered pill */
  .hd5__nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .hd5__nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 5px 6px;
    border-radius: 100px;
    border: 1px solid
      color-mix(in srgb, var(--secondStyleColor) 14%, transparent);
    background: color-mix(in srgb, var(--secondStyleColor) 5%, transparent);
  }

  .hd5__nav .hd5__link {
    display: block;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: color-mix(in srgb, var(--textColor1) 70%, transparent);
    text-decoration: none;
    border-radius: 100px;
    transition:
      color 0.2s ease,
      background 0.2s ease;
  }

  .hd5__nav .hd5__link:hover {
    color: var(--textColor1);
    background: color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
  }

  /* CTA button */
  .hd5__cta {
    padding: 10px 22px;
    border-radius: var(--borderRadius);
    background: var(--secondStyleColor);
    color: var(--bodyBG);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    flex-shrink: 0;
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }

  .hd5__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px
      color-mix(in srgb, var(--secondStyleColor) 30%, transparent);
  }

  /* Burger — hidden on desktop */
  .hd5__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 36px;
    height: 36px;
    padding: 8px;
    background: none;
    border: 1px solid
      color-mix(in srgb, var(--secondStyleColor) 20%, transparent);
    border-radius: 10px;
    cursor: pointer;
    z-index: 110;
    transition: border-color 0.25s ease;
  }

  .hd5__burger:hover {
    border-color: color-mix(in srgb, var(--secondStyleColor) 50%, transparent);
  }

  .hd5__burger-line {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--textColor1);
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
    transform-origin: center;
  }

  /* Burger active state */
  .hd5__burger.active .hd5__burger-line:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .hd5__burger.active .hd5__burger-line:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  /* Mobile overlay — hidden by default */
  .hd5__mobile {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    background: var(--bodyBG);
    z-index: 105;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    transform: translateY(-100%);
    opacity: 0;
    transition:
      transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
      opacity 0.3s ease;
    pointer-events: none;
  }

  .hd5__mobile.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hd5__mobile ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .hd5__mobile .hd5__link {
    font-size: 22px;
    font-weight: 600;
    color: var(--textColor1);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .hd5__mobile .hd5__link:hover {
    color: var(--secondStyleColor);
  }

  .hd5__mobile-cta {
    padding: 14px 32px;
    border-radius: var(--borderRadius);
    background: var(--secondStyleColor);
    color: var(--bodyBG);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
  }

  .stopScroll {
    overflow: hidden;
  }

  /* Responsive */
  @media (max-width: 800px) {
    .hd5__nav {
      display: none;
    }

    .hd5__cta {
      display: none;
    }

    .hd5__burger {
      display: flex;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hd5__mobile,
    .hd5__burger-line,
    .hd5__burger,
    .hd5__cta,
    .hd5__nav .hd5__link {
      transition: none;
    }
  }



  /* ===== hero shell ===== */
  .z9q-heroBox {
    min-height: 700px;
    position: relative;
    overflow: hidden;
    padding: clamp(16px, 2.2vw, 24px);
    background:
      radial-gradient(
        900px 450px at 20% 20%,
        color-mix(in srgb, var(--secondStyleColor) 35%, transparent),
        transparent 55%
      ),
      radial-gradient(
        700px 380px at 75% 30%,
        color-mix(in srgb, var(--secondStyleColor) 30%, transparent),
        transparent 55%
      ),
      radial-gradient(
        500px 380px at 55% 95%,
        color-mix(in srgb, var(--secondStyleColor) 20%, transparent),
        transparent 60%
      ),
      linear-gradient(
        180deg,
        color-mix(in srgb, var(--bodyBG) 10%, transparent),
        color-mix(in srgb, var(--textColor2) 10%, transparent) 15%,
        color-mix(in srgb, var(--secondStyleColor) 10%, transparent)
      );

    display: flex;
    align-items: center;
    width: 100%;
    isolation: isolate;
    & img {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 15%;
      opacity: 0.1;
      z-index: -1;
      inset: 0;
    }
  }

  .z9q-heroBox::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--borderRadius);
    pointer-events: none;
  }

  /* left/right striped “curtains” */
  .k2p-curtain,
  .k2p-curtain2 {
    position: absolute;
    top: -40px;
    bottom: -60px;
    width: 34%;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
  }

  .k2p-curtain {
    left: -8%;
    transform: skewX(-12deg);
    background: repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.12) 0 10px,
      rgba(255, 255, 255, 0.02) 10px 26px
    );
    mask-image: radial-gradient(60% 70% at 65% 50%, #000 60%, transparent 100%);
  }

  .k2p-curtain2 {
    right: -10%;
    transform: skewX(12deg);
    background: repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.12) 0 10px,
      rgba(255, 255, 255, 0.02) 10px 26px
    );
    mask-image: radial-gradient(65% 70% at 35% 55%, #000 60%, transparent 100%);
  }

  /* subtle diagonal lines behind */
  .p7x-gridwash {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(115deg, rgba(255, 255, 255, 0.06), transparent 45%),
      repeating-linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.045) 0 1px,
        transparent 1px 18px
      );
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
  }

  /* ===== main layout ===== */
  .n0v-stage {
    position: relative;
    z-index: 2;
  }

  .t5q-centerCopy {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .x8h-title {
    color: var(--textColor1);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
  }

  .g7p-sub {
    color: var(--textColor1);
    line-height: 1.55;
    max-width: 600px;
    margin: 0 auto;
  }

  .j3c-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--textColor1);
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: 0.2s all linear;
    width: fit-content;
    &:hover {
      transform: translateY(-5px);
    }
  }

  /* ===== responsive rules ===== */
  @media (max-width: 780px) {
    .z9q-heroBox {
      min-height: 550px;
    }
    .t5q-centerCopy {
      position: relative;
      left: auto;
      top: auto;
      transform: none;
      margin: 10px auto 12px;
      padding: 0 6px;
    }

    .k2p-curtain,
    .k2p-curtain2 {
      opacity: 0.55;
      width: 46%;
    }
  }



  :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 a {
    position: relative;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    white-space: nowrap;
    color: color-mix(in srgb, var(--textColor1) 65%, transparent);
    padding: 10px 24px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    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::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 24px;
    right: 24px;
    height: 2px;
    background: var(--secondStyleColor);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -ms-transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

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

  .toc a:hover::after,
  .toc a:focus::after {
    transform: scaleX(1);
  }

  .toc .swiper-wrapper {
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .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::after {
      transition: none;
      -webkit-transition: none;
      -moz-transition: none;
      -ms-transition: none;
      -o-transition: none;
    }
  }



  .rm19 {
    padding: clamp(70px, 8vw, 110px) 0;
    color: var(--textColor1);
  }

  .rm19__head {
    text-align: center;
    max-width: 580px;
    margin: 0 auto 55px;
  }

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

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

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

  /* ---- Timeline ---- */
  .rm19__timeline {
    max-width: 960px;
    margin: 0 auto;
  }

  /* ---- Card rows ---- */
  .rm19__row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .rm19__row--top .rm19__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
  }

  .rm19__row--bottom .rm19__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .rm19__cell--empty {
    visibility: hidden;
    pointer-events: none;
  }

  /* ---- Stem ---- */
  .rm19__stem {
    width: 2px;
    height: 24px;
    background: color-mix(in srgb, var(--secondStyleColor) 22%, transparent);
    flex-shrink: 0;
  }

  .rm19__stem--active {
    background: linear-gradient(
      to bottom,
      var(--accent2, var(--secondStyleColor)),
      color-mix(in srgb, var(--accent2, var(--secondStyleColor)) 18%, transparent)
    );
  }

  /* ---- Rail row ---- */
  .rm19__rail-row {
    position: relative;
    height: 52px;
    display: flex;
    align-items: center;
  }

  .rm19__rail {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
    border-radius: 2px;
  }

  .rm19__rail-fill {
    height: 100%;
    width: 62%;
    background: linear-gradient(90deg, var(--secondStyleColor), var(--accent2, var(--secondStyleColor)));
    border-radius: 2px;
    box-shadow: 0 0 14px color-mix(in srgb, var(--secondStyleColor) 20%, transparent);
  }

  .rm19__dots {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  /* ---- Dot ---- */
  .rm19__dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bodyBG);
    border: 3px solid color-mix(in srgb, var(--secondStyleColor) 25%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    font-size: 13px;
    font-weight: 700;
    color: color-mix(in srgb, var(--textColor1) 40%, transparent);
    transition: transform 0.3s ease;
  }

  .rm19__dot:hover {
    transform: scale(1.15);
  }

  .rm19__dot i { font-size: 13px; }

  .rm19__dot--done {
    background: var(--secondStyleColor);
    border-color: var(--secondStyleColor);
    color: var(--bodyBG);
  }

  .rm19__dot--glow {
    border-color: var(--accent2, var(--secondStyleColor));
    color: var(--accent2, var(--secondStyleColor));
    box-shadow: 0 0 20px color-mix(in srgb, var(--accent2, var(--secondStyleColor)) 35%, transparent);
    animation: rm19Pulse 2s ease-in-out infinite;
  }

  @keyframes rm19Pulse {
    0%, 100% { box-shadow: 0 0 20px color-mix(in srgb, var(--accent2, var(--secondStyleColor)) 35%, transparent); }
    50% { box-shadow: 0 0 32px color-mix(in srgb, var(--accent2, var(--secondStyleColor)) 10%, transparent); }
  }

  .rm19__dot--empty {
    border-color: color-mix(in srgb, var(--secondStyleColor) 20%, transparent);
    color: color-mix(in srgb, var(--textColor1) 30%, transparent);
  }

  /* ---- Card ---- */
  .rm19__card {
    padding: 22px 18px;
    border-radius: var(--borderRadius);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
    width: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease;
  }

  .rm19__card:hover {
    border-color: color-mix(in srgb, var(--secondStyleColor) 25%, transparent);
  }

  .rm19__row--top .rm19__card:hover {
    transform: translateY(-4px);
  }

  .rm19__row--bottom .rm19__card:hover {
    transform: translateY(4px);
  }

  .rm19__card--active {
    border-color: color-mix(in srgb, var(--accent2, var(--secondStyleColor)) 28%, transparent);
    background: color-mix(in srgb, var(--accent2, var(--secondStyleColor)) 4%, transparent);
  }

  .rm19__phase {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--secondStyleColor);
    margin-bottom: 6px;
  }

  .rm19__card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
  }

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

  /* ---- Responsive ---- */
  @media (max-width: 850px) {
    .rm19__row { grid-template-columns: 1fr 1fr; }
    .rm19__dots { grid-template-columns: 1fr 1fr; }
    .rm19__rail { display: none; }

    /* Stack: all cards above, all dots, all cards below */
    .rm19__row--top .rm19__cell:nth-child(1) { order: 1; }
    .rm19__row--top .rm19__cell:nth-child(2) { display: none; }
    .rm19__row--top .rm19__cell:nth-child(3) { order: 2; }
    .rm19__row--top .rm19__cell:nth-child(4) { display: none; }

    .rm19__row--bottom .rm19__cell:nth-child(1) { display: none; }
    .rm19__row--bottom .rm19__cell:nth-child(2) { order: 1; }
    .rm19__row--bottom .rm19__cell:nth-child(3) { display: none; }
    .rm19__row--bottom .rm19__cell:nth-child(4) { order: 2; }

    .rm19__cell--empty { display: none; }
    .rm19__rail-row { height: 44px; }
  }

  @media (max-width: 600px) {
    .rm19 { padding: 50px 0; }
    .rm19__head { margin-bottom: 36px; }
    .rm19__head h2 { font-size: 24px; }

    /* Collapse to vertical list */
    .rm19__timeline { display: flex; flex-direction: column; gap: 16px; }
    .rm19__row { display: flex; flex-direction: column; gap: 14px; }
    .rm19__row--top .rm19__cell,
    .rm19__row--bottom .rm19__cell { flex-direction: row; gap: 14px; }
    .rm19__cell--empty,
    .rm19__row--top .rm19__cell:nth-child(2),
    .rm19__row--top .rm19__cell:nth-child(4),
    .rm19__row--bottom .rm19__cell:nth-child(1),
    .rm19__row--bottom .rm19__cell:nth-child(3) { display: none; }
    .rm19__stem { display: none; }
    .rm19__rail-row { display: none; }
    .rm19__card { text-align: left; padding: 18px 16px; }
    .rm19__card h3 { font-size: 15px; }
    .rm19__card p { font-size: 12px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .rm19__dot--glow { animation: none; }
    .rm19__card, .rm19__dot { transition: none; }
  }



  /* ===== PARTNERS v8 — Glassmorphism card + info ===== */

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

  .pt8__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(30px, 5vw, 60px);
    align-items: center;
  }

  /* Glass card */
  .pt8__card {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 400px;
    border-radius: calc(var(--borderRadius) * 1.3);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 20%, transparent);
    background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.02)
    );
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .pt8__card:hover {
    transform: translateY(-5px);
    box-shadow:
      0 30px 70px rgba(0, 0, 0, 0.3),
      0 0 40px color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
  }

  /* Shimmer */
  .pt8__shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
      105deg,
      transparent 30%,
      rgba(255, 255, 255, 0.06) 50%,
      transparent 70%
    );
    pointer-events: none;
  }

  .pt8__card:hover .pt8__shimmer {
    animation: pt8Sweep 0.9s ease forwards;
  }

  @keyframes pt8Sweep {
    to { left: 140%; }
  }

  .pt8__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }

  .pt8__logo-wrap:hover {
    transform: scale(1.05);
  }

  .pt8__logo-wrap img {
    max-width: min(200px, 60%);
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
  }

  /* Info */
  .pt8__info {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .pt8__kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    font-weight: 700;
    color: var(--secondStyleColor);
  }

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

  .pt8__desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: color-mix(in srgb, var(--textColor1) 72%, transparent);
  }

  .pt8__list {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .pt8__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: color-mix(in srgb, var(--textColor1) 80%, transparent);
  }

  .pt8__bullet {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--secondStyleColor);
    box-shadow: 0 0 8px color-mix(in srgb, var(--secondStyleColor) 40%, transparent);
  }

  /* Responsive */
  @media (max-width: 950px) {
    .pt8__card {
      max-width: 340px;
    }
  }

  @media (max-width: 800px) {
    .pt8__layout {
      grid-template-columns: 1fr;
      justify-items: center;
      text-align: center;
    }

    .pt8__info {
      align-items: center;
    }

    .pt8__card {
      max-width: 300px;
    }

    .pt8__list li {
      justify-content: center;
    }
  }

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

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

    .pt8__desc {
      font-size: 14px;
    }

    .pt8__card {
      max-width: 260px;
    }

    .pt8__list li {
      font-size: 13px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .pt8__card:hover .pt8__shimmer {
      animation: none;
    }
    .pt8__card,
    .pt8__logo-wrap {
      transition: none;
    }
  }



  .rv9 {
    padding: clamp(56px, 7vw, 100px) 0;
    color: var(--textColor1);
  }

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

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

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

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

  /* Bento grid */
  .rv9__bento {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
  }

  .rv9__card--featured { grid-row: 1 / 3; }

  .rv9__card {
    padding: clamp(22px, 3vw, 32px);
    border-radius: var(--borderRadius);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.25s ease, border-color 0.25s ease;
  }

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

  .rv9__card--featured {
    background: linear-gradient(160deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.01));
    border-color: color-mix(in srgb, var(--secondStyleColor) 16%, transparent);
  }

  .rv9__quote-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .rv9__quote-mark i {
    font-size: 18px;
    color: var(--secondStyleColor);
  }

  .rv9__stars {
    display: flex;
    gap: 3px;
    font-size: 13px;
  }

  .rv9__stars i { color: var(--secondStyleColor); }

  .rv9__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: color-mix(in srgb, var(--textColor1) 80%, transparent);
    flex: 1;
  }

  .rv9__text--lg {
    font-size: clamp(16px, 1.8vw, 19px);
    font-weight: 500;
    line-height: 1.65;
    color: color-mix(in srgb, var(--textColor1) 88%, transparent);
  }

  .rv9__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 8px;
  }

  .rv9__avatar {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg,
      color-mix(in srgb, var(--secondStyleColor) 18%, transparent),
      color-mix(in srgb, var(--secondStyleColor) 8%, transparent));
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 25%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--secondStyleColor);
  }

  .rv9__avatar--lg {
    width: 52px;
    height: 52px;
    font-size: 15px;
  }

  .rv9__name {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
  }

  .rv9__role {
    margin: 0;
    font-size: 12px;
    color: color-mix(in srgb, var(--textColor1) 50%, transparent);
  }

  @media (max-width: 900px) {
    .rv9__bento {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
    }
    .rv9__card--featured { grid-row: auto; }
  }

  @media (max-width: 600px) {
    .rv9 { padding: 48px 0; }
    .rv9__head { margin-bottom: 32px; }
    .rv9__card { padding: 22px 18px 20px; }
  }



  /* ===== HOW v12 — Horizontal stepper ===== */

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

  .hw12__head {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 60px;
  }

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

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

  .hw12__stepper {
    position: relative;
  }

  /* Horizontal connecting line */
  .hw12__line {
    position: absolute;
    top: 28px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: color-mix(in srgb, var(--secondStyleColor) 15%, transparent);
    z-index: 0;
  }

  .hw12__progress {
    width: 75%;
    height: 100%;
    background: linear-gradient(
      90deg,
      var(--secondStyleColor),
      color-mix(in srgb, var(--secondStyleColor) 40%, transparent)
    );
    border-radius: 2px;
  }

  .hw12__steps {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .hw12__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hw12__node {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: var(--bodyBG);
    border: 2px solid var(--secondStyleColor);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .hw12__node::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 1px dashed
      color-mix(in srgb, var(--secondStyleColor) 30%, transparent);
    animation: hw12Spin 12s linear infinite;
  }

  @keyframes hw12Spin {
    to {
      transform: rotate(360deg);
    }
  }

  .hw12__node span {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondStyleColor);
  }

  .hw12__step:hover .hw12__node {
    transform: scale(1.1);
    box-shadow: 0 0 24px
      color-mix(in srgb, var(--secondStyleColor) 35%, transparent);
  }

  .hw12__content {
    max-width: 260px;
  }

  .hw12__content h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 600;
  }

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

  /* Responsive */
  @media (max-width: 950px) {
    .hw12__steps {
      grid-template-columns: repeat(2, 1fr);
      gap: 40px 20px;
    }

    .hw12__line {
      display: none;
    }
  }

  @media (max-width: 800px) {
    .hw12__content h3 {
      font-size: 16px;
    }

    .hw12__content p {
      font-size: 13px;
    }

    .hw12__node {
      width: 50px;
      height: 50px;
      margin-bottom: 18px;
    }

    .hw12__node span {
      font-size: 14px;
    }
  }

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

    .hw12__head {
      margin-bottom: 36px;
    }

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

    .hw12__steps {
      grid-template-columns: 1fr;
      gap: 32px;
    }

    .hw12__node {
      width: 46px;
      height: 46px;
      margin-bottom: 14px;
    }

    .hw12__node span {
      font-size: 13px;
    }

    .hw12__node::after {
      inset: -5px;
    }

    .hw12__content h3 {
      font-size: 16px;
    }

    .hw12__content p {
      font-size: 13px;
    }
  }

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



  :root {
    --images-amount: 6;
    --highlight: var(--secondStyleColor);
    --border-a: rgba(247, 176, 91, 0.16);
    --border-b: rgba(247, 147, 76, 0.16);
    --transition-duration: 620ms;
    --ease: cubic-bezier(0.65, 0, 0.35, 1);
  }

  .gallery {
    position: relative;
    width: 80%;
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5em;
    padding: 10px;
    overflow: hidden;
    user-select: none;
  }

  #gallery .container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .gallery-header {
    text-align: center;
    margin-bottom: 40px;
    & p {
      text-align: center;
      margin: 0 auto;
      text-wrap: balance;
    }
  }

  .gallery__image-wrapper {
    position: relative;
    cursor: pointer;
    padding-top: 75%;
    width: 100%;
    height: 0;
    transform-origin: 0 0;
    overflow: hidden;
    grid-row: span 2;
    grid-column: span 2;
    box-sizing: content-box;
    backface-visibility: hidden;
    perspective: 1px;
    transform: translate3d(0, 0, 1px);
    border-radius: var(--borderRadius);

    & img {
      object-fit: cover;
      width: 100%;
      height: 100%;
      object-position: 50% 20%;
    }
  }

  .gallery__image-wrapper::before,
  .gallery__image-wrapper::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .gallery__image-wrapper::after {
    background: #000;
    opacity: 0.33;
    z-index: 1;
    transform: translate(0, 0);
    transition: all 500ms ease-out;
  }

  .gallery__image-wrapper::before {
    opacity: 0;
    z-index: 2;
    background: var(--secondStyleColor);
    transition: all 160ms ease-in;
    mix-blend-mode: hard-light;
  }

  .gallery__image-wrapper:hover:not(.gallery__image-wrapper--selected)::before {
    opacity: 0.32;
  }

  .gallery__image-wrapper:nth-child(1) {
    order: 2;
  }
  .gallery__image-wrapper:nth-child(2) {
    order: 4;
  }
  .gallery__image-wrapper:nth-child(3) {
    order: 6;
  }
  .gallery__image-wrapper:nth-child(4) {
    order: 8;
  }
  .gallery__image-wrapper:nth-child(5) {
    order: 10;
  }
  .gallery__image-wrapper:nth-child(6) {
    order: 12;
  }

  .gallery__image {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100%;
    border-radius: var(--borderRadius);
    width: auto;
    transform: translate(-50%, -50%);
    transition: all 320ms ease;
  }

  .gallery__image-wrapper.gallery__image-wrapper--selected {
    grid-row: span 4;
    grid-column: span 4;
    z-index: 1;
  }

  .gallery__image-wrapper.gallery__image-wrapper--selected:nth-child(
      odd
    )::after {
    transform: translate(0, 100%);
  }

  .gallery__image-wrapper.gallery__image-wrapper--selected:nth-child(
      even
    )::after {
    transform: translate(100%, 0);
  }

  /* SCSS: &:nth-child(images-amount / 2) => 3 */
  .gallery__image-wrapper.gallery__image-wrapper--selected:nth-child(3) {
    order: 3;
  }

  /* SCSS: &:nth-child(images-amount) => 6 */
  .gallery__image-wrapper.gallery__image-wrapper--selected:nth-child(6) {
    order: 9;
  }

  /* ===== Mobile adaptive (paste at the end of your CSS) ===== */
  @media (max-width: 640px) {
    .gallery {
      width: 100%;
      max-width: 560px;
      gap: 0.35em;
      padding: 0.35em;
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: none;
      grid-auto-rows: 1fr;
    }
    .gallery-header {
      margin-bottom: 20px;
    }

    .gallery__image-wrapper {
      grid-column: span 1;
      pointer-events: none;
      grid-row: span 1;
      padding-top: 78%;
    }

    /* выбранный элемент — на всю ширину */
    .gallery__image-wrapper.gallery__image-wrapper--selected {
      grid-column: 1 / -1;
      grid-row: span 2;
    }

    /* На мобиле лучше не мудрить с order — стабильно и предсказуемо */
    .gallery__image-wrapper {
      order: initial !important;
    }
    .gallery__image-wrapper.gallery__image-wrapper--selected {
      order: -1 !important; /* выбранная уедет вверх */
    }
  }

  /* Extra-small phones: 1 колонка */
  @media (max-width: 420px) {
    .gallery {
      grid-template-columns: 1fr;
    }

    .gallery__image-wrapper {
      grid-column: span 1;
      grid-row: span 1;
      padding-top: 75%;
    }

    .gallery__image-wrapper.gallery__image-wrapper--selected {
      grid-column: span 1;
      grid-row: span 1; /* чтобы не занимала слишком много */
    }
  }



  /* ===== FEATURES v20 — Vertical timeline with SVG connector + mixed cards ===== */

  .ft20 {
    padding: clamp(70px, 8vw, 110px) 0;
    color: var(--textColor1);
  }

  .ft20__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
  }

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

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

  /* Timeline */
  .ft20__timeline {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  /* SVG dashed line */
  .ft20__line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 4px;
    z-index: 0;
  }

  .ft20__line-svg {
    width: 100%;
    height: 100%;
    color: color-mix(in srgb, var(--secondStyleColor) 18%, transparent);
  }

  .ft20__line-glow {
    position: absolute;
    top: 0;
    left: 50%;
    width: 6px;
    height: 60px;
    margin-left: -3px;
    background: var(--secondStyleColor);
    border-radius: 6px;
    filter: blur(6px);
    opacity: 0.5;
    animation: ft20Travel 4s ease-in-out infinite;
  }

  @keyframes ft20Travel {
    0% { top: 0; opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { top: calc(100% - 60px); opacity: 0; }
  }

  /* Items */
  .ft20__item {
    position: relative;
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 20px;
    z-index: 1;
  }

  .ft20__marker {
    display: flex;
    justify-content: center;
    padding-top: 22px;
  }

  .ft20__dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    border: 2px solid color-mix(in srgb, var(--secondStyleColor) 25%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
  }

  .ft20__item:hover .ft20__dot {
    transform: scale(1.12);
    border-color: var(--secondStyleColor);
  }

  .ft20__dot i {
    font-size: 16px;
    color: var(--secondStyleColor);
  }

  /* Content cards */
  .ft20__content {
    border-radius: var(--borderRadius);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 10%, transparent);
    background: rgba(255, 255, 255, 0.025);
    padding: 24px 22px;
    transition: transform 0.3s ease, border-color 0.3s ease;
  }

  .ft20__item:hover .ft20__content {
    transform: translateX(4px);
    border-color: color-mix(in srgb, var(--secondStyleColor) 35%, transparent);
  }

  /* Image variant */
  .ft20__content--img {
    padding: 0;
    overflow: hidden;
  }

  .ft20__thumb {
    aspect-ratio: 16 / 8;
    overflow: hidden;
  }

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

  .ft20__item:hover .ft20__thumb img {
    transform: scale(1.04);
  }

  .ft20__body {
    padding: 20px 22px 24px;
  }

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

  .ft20__content h3,
  .ft20__body h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
  }

  .ft20__content > p,
  .ft20__body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: color-mix(in srgb, var(--textColor1) 68%, transparent);
  }

  .ft20__checks {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .ft20__checks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
  }

  .ft20__checks i {
    font-size: 11px;
    color: var(--secondStyleColor);
  }

  /* Responsive */
  @media (max-width: 950px) {
    .ft20__timeline {
      max-width: 600px;
    }
  }

  @media (max-width: 800px) {
    .ft20__content h3,
    .ft20__body h3 {
      font-size: 16px;
    }

    .ft20__content > p,
    .ft20__body p {
      font-size: 13px;
    }

    .ft20__dot {
      width: 42px;
      height: 42px;
    }

    .ft20__dot i {
      font-size: 14px;
    }

    .ft20__item {
      grid-template-columns: 44px 1fr;
      gap: 16px;
    }

    .ft20__line {
      left: 20px;
    }
  }

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

    .ft20__head {
      margin-bottom: 40px;
    }

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

    .ft20__timeline {
      gap: 24px;
    }

    .ft20__content {
      padding: 20px 16px;
    }

    .ft20__body {
      padding: 16px 16px 20px;
    }

    .ft20__dot {
      width: 38px;
      height: 38px;
    }

    .ft20__item {
      grid-template-columns: 40px 1fr;
      gap: 12px;
    }

    .ft20__line {
      left: 18px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .ft20__line-glow {
      animation: none;
    }

    .ft20__content,
    .ft20__dot,
    .ft20__thumb img {
      transition: none;
    }
  }



.about21{
  position:relative;
  padding:8rem 2rem;
  overflow:hidden;
  background:var(--bodyBG);
}

.about21__mesh{
  position:absolute;inset:0;z-index:0;
  pointer-events:none;
  filter:blur(100px);
  opacity:.35;
}
.about21__mesh span{
  position:absolute;border-radius:50%;
  animation:about21drift 20s ease-in-out infinite alternate;
}
.about21__mesh span:nth-child(1){
  width:45vw;height:45vw;top:-10%;left:-5%;
  background:radial-gradient(circle,var(--secondStyleColor),transparent 70%);
}
.about21__mesh span:nth-child(2){
  width:35vw;height:35vw;bottom:-5%;right:5%;
  background:radial-gradient(circle,var(--accent2),transparent 70%);
  animation-delay:-7s;animation-duration:25s;
}
.about21__mesh span:nth-child(3){
  width:25vw;height:25vw;top:40%;right:25%;
  background:radial-gradient(circle,var(--accent3),transparent 70%);
  animation-delay:-14s;animation-duration:22s;
}
@keyframes about21drift{
  0%{transform:translate(0,0) scale(1)}
  50%{transform:translate(5vw,-5vh) scale(1.2)}
  100%{transform:translate(-3vw,4vh) scale(.95)}
}

.about21__container{position:relative;z-index:1;max-width:1100px}

.about21__header{text-align:center;margin-bottom:5rem}
.about21__tag{
  display:inline-block;
  padding:.35rem 1rem;
  border:1px solid var(--secondStyleColor);
  border-radius:4px;
  font-size:.65rem;font-weight:700;
  letter-spacing:.2em;text-transform:uppercase;
  color:var(--secondStyleColor);
  margin-bottom:1.5rem;
  opacity:.7;
}
.about21 h2{color:var(--textColor1);margin-bottom:1.2rem}
.about21 h2 em{font-style:italic;color:var(--secondStyleColor)}
.about21__subtitle{
  font-size:.85rem;
  color:var(--textMuted);
  max-width:500px;margin:0 auto;
  line-height:1.7;
}

.about21__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
}

.about21__card{
  position:relative;
  background:rgba(255,255,255,.03);
  backdrop-filter:blur(20px);
  border:1px solid var(--borderSubtle);
  border-radius:var(--borderRadius);
  padding:2.5rem 2rem;
  overflow:hidden;
  transition:all .4s cubic-bezier(.4,0,.2,1);
  opacity:0;transform:translateY(30px);
}
.about21__card.visible{opacity:1;transform:translateY(0)}
.about21__card:hover{
  transform:translateY(-6px);
  border-color:var(--secondStyleColor);
  box-shadow:0 20px 60px rgba(0,0,0,.15);
}
.about21__card::before{
  content:'';position:absolute;
  top:0;left:0;right:0;height:2px;
  opacity:0;transition:opacity .3s;
}
.about21__card:hover::before{opacity:1}
.about21__card:nth-child(1)::before{background:linear-gradient(90deg,var(--secondStyleColor),transparent)}
.about21__card:nth-child(2)::before{background:linear-gradient(90deg,var(--accent2),transparent)}
.about21__card:nth-child(3)::before{background:linear-gradient(90deg,var(--accent3),transparent)}

.about21__card-icon{
  width:48px;height:48px;
  display:flex;align-items:center;justify-content:center;
  border-radius:12px;
  font-size:1.2rem;
  margin-bottom:1.5rem;
}
.about21__card-icon--1{background:rgba(var(--accent-rgb),.12);color:var(--secondStyleColor)}
.about21__card-icon--2{background:rgba(var(--accent2-rgb),.12);color:var(--accent2)}
.about21__card-icon--3{background:rgba(var(--accent3-rgb),.12);color:var(--accent3)}

.about21__card h3{color:var(--textColor1);margin-bottom:.8rem}
.about21__card > p{
  font-size:.85rem;
  line-height:1.8;
  color:var(--textSecondary);
  margin-bottom:1.5rem;
}

.about21__card-stat{
  display:flex;align-items:baseline;gap:.5rem;
  padding-top:1rem;
  border-top:1px solid var(--borderSubtle);
}
.about21__card-stat-value{
  font-size:1.8rem;font-weight:700;
  color:var(--textColor1);
}
.about21__card-stat-label{
  font-size:.65rem;
  letter-spacing:.1em;text-transform:uppercase;
  color:var(--textMuted);
}

.about21__bottom{
  text-align:center;
  margin-top:4rem;
}
.about21__bottom > p{
  font-size:.85rem;
  color:var(--textMuted);
  margin-bottom:1.5rem;
}
.about21__cta-btn{
  display:inline-flex;align-items:center;gap:.6rem;
  padding:.8rem 2rem;
  font-size:.8rem;font-weight:700;
  text-decoration:none;cursor:pointer;border:none;
  background:var(--secondStyleColor);color:var(--textColor2);
  border-radius:8px;
  transition:all .3s ease;
}
.about21__cta-btn:hover{
  box-shadow:0 8px 30px rgba(0,0,0,.2);
  transform:translateY(-2px);
  filter:brightness(1.1);
}

@media(max-width:768px){
  .about21__grid{grid-template-columns:1fr}
  .about21{padding:5rem 1.5rem}
}

@media(prefers-reduced-motion:reduce){
  .about21__mesh span,
  .about21__card{animation:none!important;opacity:1;transform:none}
}



  /*  */
  .faq--builder {
    padding: var(--sectionPadding);
    border-radius: var(--borderRadius);
  }

  .faq--builder .container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 1.2fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: stretch;
  }

  .faqContent {
    width: 100%;
  }

  .faqContent h2 {
    margin: 0 0 12px 0;
  }

  .faqLead {
    margin: 0 0 28px 0;
    color: var(--textColor1);
    opacity: 0.9;
    max-width: 70ch;
  }

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

  .accord__item {
    border: 1px dotted
      color-mix(in srgb, var(--secondStyleColor) 55%, transparent);
    border-radius: calc(var(--borderRadius) * 0.75);
    overflow: clip;
    transition:
      border-color 0.25s ease,
      background-color 0.25s ease,
      transform 0.25s ease;
  }

  .accord__item:hover {
    border-color: var(--secondStyleColor);
    transform: translateY(-1px);
  }

  .accord__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    color: var(--textColor1);
  }

  .accord__trigger:focus-visible {
    outline: 2px solid var(--secondStyleColor);
    outline-offset: 2px;
    border-radius: calc(var(--borderRadius) * 0.6);
  }

  .accord__title {
    font-size: clamp(16px, 1.6vw, 19px);
    font-weight: 700;
    line-height: 1.35;
  }

  .accord__icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    font-weight: 900;
    font-size: 20px;
    color: var(--secondStyleColor);
    background: color-mix(in srgb, var(--secondStyleColor) 14%, transparent);
    border: 1px solid
      color-mix(in srgb, var(--secondStyleColor) 35%, transparent);
  }

  .accord__panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition:
      max-height 0.35s ease,
      opacity 0.25s ease,
      padding 0.25s ease;
    padding: 0 20px;
  }

  .accord__panel p {
    margin: 0;
    padding: 0 0 18px 0;
    color: var(--textColor1);
    opacity: 0.95;
  }

  .accord__panel.show {
    opacity: 1;
    padding-top: 2px;
  }

  .faqImageWrap {
    display: block;
    height: 100%;
  }

  .faqImagePlaceholder {
    width: 100%;
    height: 785px;
    min-height: 320px;
    border-radius: var(--borderRadius);
    border: 1px dashed
      color-mix(in srgb, var(--secondStyleColor) 65%, transparent);
    background:
      radial-gradient(
        120% 120% at 100% 0%,
        color-mix(in srgb, var(--secondStyleColor) 18%, transparent) 0%,
        transparent 55%
      ),
      linear-gradient(
        135deg,
        color-mix(in srgb, var(--mainStyleColor) 12%, transparent),
        transparent 60%
      );
    padding: 12px;
  }

  .faqImagePlaceholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    border-radius: var(--borderRadius);
  }

  @media (max-width: 980px) {
    .faq--builder .container {
      grid-template-columns: 1fr;
      & h2 {
        text-align: center;
      }
    }

    .faqImageWrap {
      order: -1;
    }
  }

  @media (max-width: 640px) {
    .accord__trigger {
      padding: 16px 16px;
    }

    .accord__panel {
      padding: 0 16px;
    }

    .faqLead {
      margin-bottom: 22px;
    }

    .faqImageWrap {
      display: none;
    }
  }



  .site-footer {
    color: var(--textColor1);
    margin-top: 60px;
    padding: 28px 0 22px;
    background-color: var(--bodyBG);
    border-top: 0.3px solid var(--secondStyleColor);
    color: var(--footer-muted);
    position: relative;
    backdrop-filter: blur(18px);
  }

  /* Layout */

  .footer-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 22px;
  }

  /* Brand */

  .footer-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .footer-main .logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: var(--textColor1);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
  }

  /* Links & Address */

  .site-footer a,
  .site-footer address {
    position: relative;
    color: var(--textColor1);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.16em;
    padding: 2px 0;
    text-transform: uppercase;
    transition:
      color 0.22s ease,
      transform 0.22s ease,
      text-shadow 0.22s ease,
      opacity 0.22s ease;
  }

  .site-footer address {
    font-style: normal;
    color: rgba(209, 213, 219, 0.8);
  }

  /* ≡ ХОВЕР БЕЗ ЛИНИИ — МЯГКОЕ НЕОНОВОЕ СВЕЧЕНИЕ */

  .site-footer a:hover {
    transform: translateY(-2px);
  }

  /* Social */

  .footer-social {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    i {
      color: var(--secondStyleColor);
      font-size: 24px;
    }
  }

  .footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--textSecondary);
    transition:
      background 0.18s ease,
      color 0.18s ease,
      border-color 0.18s ease,
      transform 0.12s ease,
      box-shadow 0.18s ease;
  }

  .footer-social a:hover {
    transform: translateY(-1px);
  }

  /* Contacts */

  .footer-contacts address {
    font-style: normal;
  }

  /* Links */

  .footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2 120px;
    column-gap: 24px;
    font-size: 13px;
  }

  .footer-links li {
    break-inside: avoid;
    margin-bottom: 8px;
  }

  .footer-links a:hover {
    color: var(--secondStyleColor);
  }

  /* Bottom */

  .footer-bottom {
    padding-top: 14px;
    color: var(--textColor1);
  }

  .footer-bottom p {
    margin: 0;
  }

  .footer-bottom p span {
    color: var(--footer-accent);
    font-weight: 700;
  }

  @media (max-width: 900px) {
    .footer-row {
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }
  }

  @media (max-width: 640px) {
    .footer-row {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 18px;
    }

    .footer-main {
      align-items: center;
    }

    .footer-social {
      justify-content: center;
    }

    .footer-contacts,
    .footer-links {
      columns: 1;
      text-align: center;
    }

    .site-footer {
      margin-top: 40px;
      padding: 22px 0 18px;
    }
  }



[data-aos]{opacity:0;transition:opacity 0.6s ease,transform 0.6s ease}
[data-aos="fade-up"]{transform:translateY(30px)}
[data-aos="fade-in"]{transform:none}
[data-aos="slide-left"]{transform:translateX(-30px)}
[data-aos="slide-right"]{transform:translateX(30px)}
[data-aos].aos-visible{opacity:1;transform:none}