
:root {
  --bg: #1e1516;
  --bg-card: #221b1c;
  --text: #e4ddde;
  --text-muted: rgba(255,255,255,0.5);
  --accent: #2238dd;
  --accent-rgb: 34,56,221;
  --accent2: #dd22b5;
  --accent2-rgb: 221,34,181;
  --accent3: #38d8e0;
  --accent3-rgb: 56,216,224;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --font: 'Inter', sans-serif;
  --font-heading: 'Inter', sans-serif;
  --bodyBG: #1e1516;
  --textColor1: #e4ddde;
  --textColor2: #ffffff;
  --textSecondary: #b3abac;
  --textMuted: #81797a;
  --secondStyleColor: #2238dd;
  --bgCard: #221b1c;
  --bgAlt: #2e2526;
  --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 */
  .header {
    background-color: var(--secondStyleColor);
    color: var(--textColor2);
  }
  .headerWrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
  }

  .headerButton {
    transition: 0.2s all linear;
    padding: 10px 20px;
    border: none;
    text-transform: uppercase;
    background-color: var(--textColor2);
    color: var(--secondStyleColor);
    cursor: pointer;
    border-radius: var(--borderRadius);
  }
  .headerButton:hover {
    transform: translateY(-2px);
  }
  .ham {
    display: none;
  }

  .nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-left: 0;
    margin: 0;
  }

  .nav li {
    list-style: none;
  }

  .nav a {
    color: var(--textColor2);
    text-decoration: none;
    transition: 0.2s all linear;
    -webkit-transition: 0.2s all linear;
    -moz-transition: 0.2s all linear;
    -ms-transition: 0.2s all linear;
    -o-transition: 0.2s all linear;
    position: relative;
    font-weight: 600;
  }

  .nav a::after {
    position: absolute;
    content: "";
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background-color: var(--textColor2);
    transition: 0.2s all linear;
  }

  .nav a:hover::after {
    width: 100%;
  }

  .stopScroll {
    overflow: hidden;
  }
  .logo {
    position: relative;
    z-index: 1000;
    font-weight: 800;
    font-size: 24px;
    color: var(--textColor2);
    text-decoration: none;
  }

  @media (max-width: 800px) {
    .headerWrapper {
      padding: 0 20px;
    }
    .headerButton {
      display: none;
    }
    .nav {
      position: fixed;
      inset: 0;
      background-color: var(--textColor2);
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100vw;
      height: 100vh;
      z-index: 999;
      transform: translateX(100%);
      -webkit-transform: translateX(100%);
      -moz-transform: translateX(100%);
      -ms-transform: translateX(100%);
      -o-transform: translateX(100%);
      transition: 0.3s all cubic-bezier(0.23, 1, 0.32, 1);
      -webkit-transition: 0.3s all cubic-bezier(0.23, 1, 0.32, 1);
      -moz-transition: 0.3s all cubic-bezier(0.23, 1, 0.32, 1);
      -ms-transition: 0.3s all cubic-bezier(0.23, 1, 0.32, 1);
      -o-transition: 0.3s all cubic-bezier(0.23, 1, 0.32, 1);
    }
    .nav.active {
      transform: translateX(0);
      -webkit-transform: translateX(0);
      -moz-transform: translateX(0);
      -ms-transform: translateX(0);
      -o-transform: translateX(0);
    }
    .header:has(.nav.active) .logo {
      color: var(--textColor1);
    }
    .header:has(.nav.active) .nav a {
      color: var(--textColor1);
    }
    .nav ul {
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .ham {
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      transition: transform 400ms;
      -moz-user-select: none;
      -webkit-user-select: none;
      -ms-user-select: none;
      user-select: none;
      display: flex;
      z-index: 1000;
    }
    .hamRotate.active {
      transform: rotate(45deg);
    }
    .hamRotate180.active {
      transform: rotate(180deg);
    }
    .line {
      fill: none;
      transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
      stroke: var(--textColor2);
      stroke-width: 5.5;
      stroke-linecap: round;
    }
    .header:has(.nav.active) .line {
      stroke: var(--textColor1);
    }
    .ham7 .top {
      stroke-dasharray: 40 82;
    }
    .ham7 .middle {
      stroke-dasharray: 40 111;
    }
    .ham7 .bottom {
      stroke-dasharray: 40 161;
    }
    .ham7.active .top {
      stroke-dasharray: 17 82;
      stroke-dashoffset: -62px;
    }
    .ham7.active .middle {
      stroke-dashoffset: 23px;
    }
    .ham7.active .bottom {
      stroke-dashoffset: -83px;
    }
    .ham8 .top {
      stroke-dasharray: 40 160;
    }
  }



  /*  */
  .homeuyydgb {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    & img {
      position: absolute;
      width: 100%;
      height: 100%;
      z-index: -2;
      object-fit: cover;
      object-position: 50% 20%;
      opacity: 0.1;
    }

    & h1 {
      text-transform: uppercase;
      max-width: 900px;
    }

    & a {
      font-size: 18px;
      padding: 15px 52px;
      border-radius: var(--borderRadius);
      background-color: var(--secondStyleColor);
      width: fit-content;
      color: var(--textColor2);
      text-transform: uppercase;
      transition: 0.2s all cubic-bezier(0.23, 1, 0.32, 1);
      &:hover {
        filter: brightness(1.15);
      }
    }
  }

  .homeuyydgb .container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    & .hrr {
      display: flex;
      flex-direction: column;
      gap: 20px;
      justify-content: center;
    }
    .hll {
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 30px;
      background-color: rgba(17, 17, 17, 0.4);
      position: relative;
      max-width: 500px;
      border-radius: var(--borderRadius);
      & span:first-child {
        font-size: clamp(64px, 8vw, 96px);
        font-weight: 900;
        line-height: 1;
        color: var(--secondStyleColor);
      }
      & p {
        font-style: italic;
        color: var(--textColor1);
      }

      & .khvaejklj {
        font-size: 24px;
      }
    }
  }

  @media (max-width: 800px) {
    h1 {
      font-size: 44px;
    }
    .homeuyydgb .container {
      flex-direction: column;
      & .hrr {
        align-items: center;
        & h1 {
          text-align: center;
        }
        & p {
          text-align: center;
        }
      }
      & .hll {
        gap: 10px;
        padding: 10px;
        & span:first-child {
          font-size: 56px;
        }
      }
    }
  }



  :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: var(--textColor1);
    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: 1.5px solid color-mix(in srgb, var(--textColor1) 12%, transparent);
    overflow: hidden;
    z-index: 0;
    transition: color 0.35s ease, border-color 0.35s ease;
    -webkit-transition: color 0.35s ease, border-color 0.35s ease;
    -moz-transition: color 0.35s ease, border-color 0.35s ease;
    -ms-transition: color 0.35s ease, border-color 0.35s ease;
    -o-transition: color 0.35s ease, border-color 0.35s ease;
  }

  .toc a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--secondStyleColor);
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    -webkit-transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    -moz-transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    -ms-transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    -o-transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  }

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

  .toc a:hover,
  .toc a:focus {
    color: var(--textColor2);
    border-color: var(--secondStyleColor);
  }

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



  /* ===== HOW v13 — Bento grid ===== */

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

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

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

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

  /* Bento grid */
  .hw13__bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 18px;
    max-width: 960px;
    margin: 0 auto;
  }

  .hw13__card--lg {
    grid-row: 1 / 3;
  }

  .hw13__card--wide {
    grid-column: 1 / -1;
  }

  /* Card */
  .hw13__card {
    position: relative;
    border-radius: var(--borderRadius);
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 18%, transparent);
    padding: 30px 26px;
    overflow: hidden;
    background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.01)
    );
    transition: transform 0.25s ease, border-color 0.25s ease;
  }

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

  /* Left accent stripe */
  .hw13__stripe {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(
      180deg,
      var(--secondStyleColor),
      color-mix(in srgb, var(--secondStyleColor) 15%, transparent)
    );
    border-radius: 0 2px 2px 0;
  }

  .hw13__tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--secondStyleColor) 12%, transparent);
    color: var(--secondStyleColor);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }

  .hw13__card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 600;
  }

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

  /* Responsive */
  @media (max-width: 950px) {
    .hw13__bento {
      max-width: 100%;
    }

    .hw13__card {
      padding: 26px 22px;
    }

    .hw13__card h3 {
      font-size: 18px;
    }
  }

  @media (max-width: 800px) {
    .hw13__bento {
      grid-template-columns: 1fr;
    }

    .hw13__card--lg {
      grid-row: auto;
    }

    .hw13__card--wide {
      grid-column: auto;
    }

    .hw13__card {
      padding: 24px 20px;
    }
  }

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

    .hw13__head {
      margin-bottom: 32px;
    }

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

    .hw13__card {
      padding: 20px 18px;
    }

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

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

    .hw13__tag {
      font-size: 11px;
      padding: 4px 10px;
      margin-bottom: 12px;
    }
  }

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



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

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

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

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

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

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

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

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

  .gl1__img {
    aspect-ratio: 16/10;
    overflow: hidden;
  }

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

  .gl1__item:hover .gl1__img img {
    transform: scale(1.06);
  }

  .gl1__info {
    padding: 16px 18px;
  }

  .gl1__info h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
  }

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

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

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

  @media (prefers-reduced-motion: reduce) {
    .gl1__item, .gl1__img img { 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; }
  }



  #top { padding: 80px 0; }
  .tp8-head { text-align: center; margin-bottom: 50px; }
  .tp8-head h2 { margin-bottom: 12px; }
  .tp8-head p { color: var(--textSecondary); max-width: 600px; margin: 0 auto; }
  .tp8-alt { display: flex; flex-direction: column; gap: 20px; }
  .tp8-alt .top-card {
    display: grid; grid-template-columns: 56px 1fr; gap: 0;
    background: var(--cardBG); border-radius: var(--borderRadius); overflow: hidden;
    border: 1px solid var(--borderSubtle); transition: transform 0.3s, box-shadow 0.3s;
  }
  .tp8-alt .top-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
  .tp8-alt .top-card__rank-col {
    background: var(--accentColor); color: var(--textColor2);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 900;
  }
  .tp8-alt .top-card__content {
    display: flex; align-items: center; gap: 20px; padding: 18px 24px;
  }
  .tp8-alt .top-card__logo {
    flex-shrink: 0; width: 110px; height: 52px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
  }
  .tp8-alt .top-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
  .tp8-alt .top-card__logo svg { max-width: 100%; max-height: 100%; }
  .tp8-alt .top-card__body { flex: 1; min-width: 0; }
  .tp8-alt .top-card__body h3 { margin-bottom: 2px; }
  .tp8-alt .top-card__body p { color: var(--textSecondary); font-size: 14px; }
  .tp8-alt .top-card__right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
  .tp8-alt .top-card__rating {
    padding: 6px 14px; border-radius: 8px;
    background: rgba(var(--accent-rgb), 0.12); color: var(--accentColor);
    font-weight: 700; font-size: 15px;
  }
  .tp8-alt .top-card__badge {
    padding: 4px 10px; border-radius: 20px; font-size: 10px; font-weight: 700;
    background: rgba(var(--accent-rgb), 0.2); color: var(--accentColor); text-transform: uppercase;
  }
  .tp8-alt .top-card__badge:empty { display: none; }
  @media (max-width: 768px) {
    .tp8-alt .top-card__content { flex-wrap: wrap; gap: 12px; padding: 14px 16px; }
    .tp8-alt .top-card__right { width: 100%; }
  }



  .hiwWrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .him-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 60%;
    h2,
    p {
      color: var(--textColor1);
    }
  }
  .hiw_image {
    border-radius: var(--borderRadius);
    width: 400px;
    height: 500px;
    img {
      border-radius: inherit;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  @media (max-width: 800px) {
    .hiwWrapper {
      flex-direction: column;
    }
    .him-left {
      width: 100%;
    }
    .hiw_image {
      margin-top: 20px;
      width: 100%;
      height: auto;
    }
  }



  /* ===== FEATURES v16 — Magazine editorial with SVG wave dividers ===== */

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

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

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

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

  /* Blocks */
  .ft16__block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 60px);
    align-items: center;
  }

  .ft16__block--rev {
    direction: rtl;
  }

  .ft16__block--rev > * {
    direction: ltr;
  }

  /* Media */
  .ft16__media {
    border-radius: calc(var(--borderRadius) * 1.2);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 15%, transparent);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  }

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

  .ft16__block:hover .ft16__media img {
    transform: scale(1.04);
  }

  /* Text */
  .ft16__text {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .ft16__label {
    display: inline-block;
    width: fit-content;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondStyleColor);
    padding: 5px 14px;
    border-radius: 100px;
    border: 1px solid color-mix(in srgb, var(--secondStyleColor) 25%, transparent);
  }

  .ft16__text h3 {
    margin: 0;
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    letter-spacing: -0.01em;
  }

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

  .ft16__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
  }

  .ft16__tags span {
    padding: 6px 14px;
    border-radius: var(--borderRadius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 500;
    color: color-mix(in srgb, var(--textColor1) 75%, transparent);
    transition: border-color 0.25s ease, color 0.25s ease;
  }

  .ft16__block:hover .ft16__tags span {
    border-color: color-mix(in srgb, var(--secondStyleColor) 30%, transparent);
    color: var(--textColor1);
  }

  /* SVG wave divider */
  .ft16__wave {
    display: block;
    width: 100%;
    height: 40px;
    margin: 50px 0;
    color: color-mix(in srgb, var(--secondStyleColor) 20%, transparent);
  }

  /* Responsive */
  @media (max-width: 950px) {
    .ft16__block {
      gap: 30px;
    }

    .ft16__text h3 {
      font-size: 20px;
    }
  }

  @media (max-width: 800px) {
    .ft16__block,
    .ft16__block--rev {
      grid-template-columns: 1fr;
      direction: ltr;
    }

    .ft16__media {
      aspect-ratio: 16 / 9;
    }

    .ft16__wave {
      margin: 36px 0;
    }

    .ft16__text > p {
      font-size: 14px;
    }
  }

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

    .ft16__head {
      margin-bottom: 40px;
    }

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

    .ft16__wave {
      margin: 28px 0;
      height: 30px;
    }

    .ft16__tags span {
      font-size: 11px;
      padding: 5px 12px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .ft16__media img,
    .ft16__tags span {
      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;
    }
  }



  /* ===== FOOTER ===== */

  .footer {
    background: var(--bgAlt);
    color: var(--textColor1);
    padding: 40px 0 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footerWrapper {
    max-width: var(--maxWidthContainer);
    margin: 0 auto;
  }

  /* Верхняя часть */
  .footerTop {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    padding-bottom: 24px;
  }

  /* Бренд */
  .footerBrand {
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }

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

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

  .footerBrandName {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
  }

  .footerBrandTagline {
    font-size: 14px;
    color: var(--textMuted);
    padding-top: 10px;
  }

  /* Навигация и контакты */
  .footerNavLabel {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondStyleColor);
    margin-bottom: 10px;
    font-weight: 600;
  }

  .footerNav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2 140px;
    column-gap: 24px;
  }

  .footerNav li {
    break-inside: avoid;
  }

  .footerNav li + li {
    margin-top: 6px;
  }

  .footerNav a {
    font-size: 14px;
    color: var(--textSecondary);
    text-decoration: none;
    transition: 0.15s ease;
  }

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

  /* Контакты */
  .footerContactLine {
    font-size: 14px;
    color: var(--textSecondary);
    margin-bottom: 4px;
  }

  .footerSocial {
    margin-top: 10px;
    display: flex;
    gap: 10px;
  }

  .footerSocial a {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--textSecondary);
    font-size: 14px;
    transition: 0.15s ease;
  }

  .footerSocial a:hover {
    border-color: var(--secondStyleColor);
    color: var(--secondStyleColor);
  }

  /* Нижняя полоска */
  .footerBottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    color: var(--textMuted);
  }

  .footerMeta {
    text-align: right;
  }

  /* Адаптив */
  @media (max-width: 900px) {
    .footerTop {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (max-width: 650px) {
    .footerTop {
      grid-template-columns: 1fr;
    }

    .footerBottom {
      flex-direction: column;
      align-items: flex-start;
    }

    .footerMeta {
      text-align: left;
    }
  }



[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}