/* Страницы сайта: размеры; прокрутка и переполнение. */
body.multipage {
  min-width: 0;
  overflow-x: clip;
}

.multipage {
  & main {
    outline: none;
  }
  & [hidden] {
    display: none !important;
  }
  & h1,
  & h2,
  & h3 {
    text-wrap: balance;
  }
  & h2 {
    margin: 0;
    font-size: clamp(32px, 2.8vw, 46px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0;
  }
}

.multipage h2 em,
.page-hero h1 em {
  color: var(--ray);
  font-style: normal;
}

.multipage {
  & h3 {
    margin: 0;
    font-weight: 550;
    line-height: 1.2;
    letter-spacing: -0.025em;
  }
  & p {
    color: var(--steel);
    line-height: 1.75;
  }
  & .button {
    white-space: normal;
    text-align: center;
    min-height: 46px;
  }
  & a,
  & button {
    -webkit-tap-highlight-color: transparent;
  }
  & .glass {
    background:
      radial-gradient(
        ellipse at var(--mx, 8%) var(--my, 0%),
        rgba(0, 102, 255, 0.34),
        transparent 62%
      ),
      linear-gradient(140deg, rgba(10, 16, 28, 0.87), rgba(4, 7, 13, 0.92));
  }
  & .glass::before {
    opacity: 0.045;
    background-size: 240px 240px;
    filter: blur(0.25px);
  }
  & .header-shell {
    grid-template-columns: minmax(130px, 1fr) auto minmax(130px, 1fr);
  }
  & .desktop-nav :is(a, :where(.portal-header-tab)) {
    padding-inline: 10px;
    font-size: 12px;
  }
  & .desktop-nav :is(a, :where(.portal-header-tab))[aria-current] {
    color: var(--color-white, #fff);
    background: rgba(0, 102, 255, 0.1);
    border-radius: 20px;
  }
  & .mobile-menu a[aria-current] {
    color: var(--ray);
  }
  & .header-phone span {
    display: none;
  }
  & .header-cta {
    font-size: 12px;
    padding-inline: 18px;
  }
  & .mobile-menu {
    max-height: calc(100dvh - var(--header-h) - 40px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  & .mobile-direct a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 4px 8px;
  }
  & .hero-actions {
    gap: 12px;
    flex-wrap: wrap;
  }
  & .hero-proof {
    max-width: 560px;
  }
  & .hero-stage {
    backdrop-filter: blur(24px) saturate(150%);
  }
}

.home-page .hero h1 em {
  display: block;
}

.footer-caption,
.caption {
  display: block;
  color: var(--steel);
  font: 500 10px/1.6 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-caption {
  margin-top: 24px;
}

.text-link {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  padding: 14px 0;
  color: var(--color-white, #fff);
  font-size: 14px;
  line-height: 1.4;
  & > span {
    color: var(--ray);
    transition: transform 0.25s;
  }
  &:hover {
    color: var(--ray);
  }
  &:hover > span {
    transform: translate(3px, -3px);
  }
}

.tag-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  & span {
    border: 1px solid rgba(0, 102, 255, 0.2);
    background: rgba(0, 102, 255, 0.055);
    border-radius: 7px;
    padding: 7px 10px;
    color: var(--steel);
    font: 10px/1.4 var(--mono);
  }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0;
  & li {
    position: relative;
    padding: 14px 0 14px 24px;
    color: var(--ice);
    font-size: 15px;
    line-height: 1.55;
    border-bottom: 1px solid var(--line-soft);
  }
  & li::before {
    content: '↗';
    position: absolute;
    left: 0;
    color: var(--ray);
  }
}

.editorial-section {
  padding-block: clamp(76px, 8vw, 140px);
  &::before {
    background: radial-gradient(
      ellipse at 100% 28%,
      rgba(0, 71, 179, 0.11),
      transparent 62%
    );
    width: 100%;
    height: 100%;
    inset: 0;
  }
  &:nth-child(3n)::before {
    background: radial-gradient(
      ellipse at 0% 65%,
      rgba(0, 102, 255, 0.085),
      transparent 60%
    );
  }
}

/* Первый экран: декоративный слой без дополнительной разметки. */
.editorial-section::before,
.multipage .lead-section::before,
.page-hero::before,
.home-page .hero::before,
.home-page .hero::after {
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 0, 0, 0.15) 8%,
    #000 30%,
    #000 65%,
    rgba(0, 0, 0, 0.15) 92%,
    transparent
  );
  mask-image: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 0, 0, 0.15) 8%,
    #000 30%,
    #000 65%,
    rgba(0, 0, 0, 0.15) 92%,
    transparent
  );
}

.home-page {
  & .hero::before,
  & .hero::after {
    inset: 0;
    width: 100%;
    height: 100%;
  }
  & .hero::before {
    background: radial-gradient(
      ellipse at 90% 30%,
      rgba(0, 102, 255, 0.18),
      rgba(0, 71, 179, 0.06) 40%,
      transparent 72%
    );
  }
  & .hero::after {
    background: radial-gradient(
      ellipse at 5% 20%,
      rgba(0, 71, 179, 0.09),
      transparent 60%
    );
  }
}
/* Секция страницы: декоративный слой без дополнительной разметки. */
.multipage .lead-section::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at 100% 45%,
    rgba(0, 102, 255, 0.14),
    transparent 65%
  );
}

.editor-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.65fr;
  gap: 8%;
  align-items: end;
  margin-bottom: clamp(38px, 4vw, 70px);
}

.editor-heading .eyebrow,
.section-intro .eyebrow {
  margin-bottom: 26px;
}

.editor-heading p {
  margin: 0;
  max-width: 420px;
  font-size: 15px;
}

.section-intro p {
  max-width: 390px;
  margin: 24px 0 10px;
  font-size: 16px;
}

/* #reliability, #solutions: переменные оформления. */
#reliability,
#solutions {
  --feature-gap: clamp(40px, 6vw, 100px);
  --index-width: 2.8rem;
  --row-gap: 18px;
}
/* #reliability: переменные оформления. */
#reliability {
  --index-width: 20px;
}

#reliability .editor-heading,
#solutions .editor-heading,
#reliability .service-showcase,
#solutions .service-showcase {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--feature-gap);
}

#reliability .editor-heading > p,
#solutions .editor-heading > p {
  margin-left: calc(var(--index-width) + var(--row-gap));
  max-width: none;
  padding-right: calc(24px + var(--row-gap));
}

.responsibility-layout {
  align-items: stretch;
}

#solutions .editor-heading > p {
  margin-left: 0;
  padding-right: 0;
}

.responsibility-copy {
  min-width: 0;
}

.responsibility-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

#reliability .responsibility-points li,
#solutions .service-index > a:not(.all-services) {
  display: grid;
  grid-template-columns: var(--index-width) minmax(0, 1fr) 24px;
  column-gap: var(--row-gap);
  align-items: start;
}

.responsibility-points li {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  &:first-child {
    border-top: 1px solid var(--line);
  }
  & > .responsibility-dot {
    justify-self: center;
    width: 7px;
    height: 7px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--ray);
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.5);
  }
}

.responsibility-points h3 {
  margin: 0;
  font-weight: 550;
  line-height: 1.2;
}

.responsibility-points p {
  margin: 10px 0 0;
  line-height: 1.75;
}

.responsibility-copy > .text-link {
  margin-top: 22px;
}
/* Адаптация для (width >= 801px). */
@media (width >= 801px) {
  #reliability .responsibility-copy {
    display: flex;
    flex-direction: column;
  }
  #reliability .responsibility-points {
    flex: 1;
    display: grid;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    & li {
      align-content: center;
    }
  }
  #reliability .responsibility-copy > .text-link {
    margin-top: 0;
    align-self: flex-start;
  }
}

.ownership-board {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: clamp(22px, 2.6vw, 38px);
  overflow: hidden;
  isolation: isolate;
  border-radius: 30px;
  container-type: inline-size;
  & > :not(.edge-light) {
    position: relative;
    z-index: 1;
  }
}

.ownership-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  color: var(--steel);
  font: 10px/1.6 var(--mono);
  letter-spacing: 0.08em;
  & > span:last-child {
    color: var(--ray);
    letter-spacing: 0;
  }
}

.layer-stack {
  flex: 1;
  display: grid;
  grid-template-rows: repeat(4, minmax(102px, 1fr));
  list-style: none;
  margin: 0;
  padding: clamp(22px, 5cqi, 44px) 0;
}

.layer {
  display: grid;
  grid-template-columns: 22px minmax(90px, 1fr) minmax(100px, 1fr);
  gap: clamp(10px, 3cqi, 32px);
  align-items: center;
}

.layer-index {
  justify-self: center;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(26, 117, 255, 0.72);
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.24);
}

.layer-primary .layer-index {
  background: var(--ray);
}

.layer-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 100%;
  min-width: 0;
  &::before {
    content: '';
    position: absolute;
    z-index: 0;
    left: 50%;
    top: calc(100% - 10px);
    width: 1px;
    height: 20px;
    background: linear-gradient(
      rgba(0, 102, 255, 0.42),
      rgba(0, 102, 255, 0.14)
    );
    pointer-events: none;
  }
}

.layer-gem,
.layer-well {
  z-index: 1;
}
/* Знак логотипа: декоративный слой без дополнительной разметки. */
.layer:last-child .layer-mark::before {
  display: none;
}

.layer-gem {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 340px);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.3));
}

.layer-depth {
  fill: #050c18;
  stroke: rgba(0, 102, 255, 0.16);
  stroke-width: 1;
}

.layer-surface {
  fill: #09172b;
  stroke: rgba(0, 102, 255, 0.48);
  stroke-width: 1.25;
}

.layer-facet {
  fill: #0c203d;
  stroke: rgba(255, 255, 255, 0.045);
  stroke-width: 1;
}

.layer-primary .layer-surface {
  fill: #0b2040;
  stroke: var(--blue, #0066ff);
}

.layer-primary .layer-facet {
  fill: #102d55;
}

.layer-well {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -62%);
  display: grid;
  place-items: center;
  width: clamp(28px, 7cqi, 52px);
  aspect-ratio: 1;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #070e19;
  color: var(--steel);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.layer-primary .layer-well {
  color: var(--ray);
  border-color: rgba(0, 102, 255, 0.28);
}

.layer-well svg {
  width: 55%;
  height: 55%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.layer-caption {
  min-width: 0;
  & strong {
    display: block;
    color: var(--color-white, #fff);
    font-size: clamp(14px, 2.8cqi, 22px);
    font-weight: 550;
    line-height: 1.35;
  }
  & small {
    display: block;
    margin-top: 6px;
    color: var(--steel);
    font-size: clamp(11px, 2cqi, 15px);
    line-height: 1.5;
  }
}

.ownership-foot {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  & svg {
    flex: 0 0 auto;
    color: var(--ray);
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  & strong {
    display: block;
    font-size: clamp(13px, 2cqi, 16px);
    line-height: 1.6;
    font-weight: 500;
    color: var(--color-white, #fff);
  }
  & span {
    display: block;
    margin-top: 4px;
    font-size: clamp(11px, 1.6cqi, 13px);
    line-height: 1.6;
    color: var(--steel);
  }
}
/* Адаптация для (width >= 2200px). */
@media (width >= 2200px) {
  .responsibility-points li {
    padding-block: 34px;
  }
}
/* Адаптация для (width <= 1200px). */
@media (width <= 1200px) {
  #reliability,
  #solutions {
    --feature-gap: 36px;
  }
  .responsibility-points li {
    padding-block: 24px;
  }
}
/* Адаптация для (width <= 800px). */
@media (width <= 800px) {
  #reliability,
  #solutions {
    --feature-gap: 44px;
  }
  #reliability .editor-heading,
  #solutions .editor-heading,
  #reliability .service-showcase,
  #solutions .service-showcase {
    grid-template-columns: minmax(0, 1fr);
  }
  #reliability .editor-heading > p,
  #solutions .editor-heading > p {
    margin-left: 0;
    padding-right: 0;
  }
  .responsibility-points li {
    padding-block: 25px;
  }
}
/* Адаптация для (width <= 639px). */
@media (width <= 639px) {
  #reliability,
  #solutions {
    --row-gap: 12px;
  }
  .ownership-board {
    padding: 24px 18px;
    border-radius: 22px;
  }
  .ownership-head {
    font-size: 8px;
  }
  .layer {
    grid-template-columns: 16px minmax(74px, 0.9fr) minmax(100px, 1fr);
    gap: 8px;
  }
  .layer-stack {
    padding-block: 18px;
  }
  .layer-caption strong {
    font-size: 13px;
  }
}

.responsibility-seal {
  margin-top: 66px;
  display: flex;
  gap: 24px;
  align-items: center;
  color: var(--dim);
  & > span {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 22px;
    color: var(--ray);
    background: linear-gradient(145deg, rgba(0, 102, 255, 0.15), transparent);
    border-top: 1px solid rgba(0, 102, 255, 0.3);
    font-size: 44px;
    font-weight: 700;
  }
  & small {
    font: 10px/1.9 var(--mono);
    letter-spacing: 0.15em;
  }
}

.editorial-rows article {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 20px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  &:last-child {
    border-bottom: 1px solid var(--line);
  }
  &:first-child {
    padding-top: 24px;
  }
}

.row-index {
  color: var(--ray);
  font: 11px/1.7 var(--mono);
  padding-top: 3px;
}

.editorial-rows h3 {
  font-size: 23px;
}

.editorial-rows p {
  margin: 12px 0 0;
  font-size: 14px;
  max-width: 600px;
}

.wide-rows article {
  grid-template-columns: 80px 1fr;
  padding-block: 30px;
  & > div {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    align-items: start;
    gap: 10%;
  }
}

.wide-rows p {
  margin: 0;
}

.service-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
}

.service-feature {
  display: flex;
  flex-direction: column;
  padding: 38px;
  border-radius: 30px;
  & h3 {
    font-size: clamp(30px, 3vw, 48px);
    margin: 24px 0 16px;
  }
  & p {
    max-width: 390px;
    font-size: 14px;
  }
  & .product-art {
    flex: 1;
    min-height: 330px;
    margin-inline: -20px;
  }
  & > .text-link {
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
}

.service-index > a {
  display: grid;
  grid-template-columns: 30px 1fr 24px;
  gap: 18px;
  padding: 28px 0;
  align-items: start;
  border-bottom: 1px solid var(--line);
  &:first-child {
    border-top: 1px solid var(--line);
  }
  & > span {
    font: 11px/1.7 var(--mono);
    color: var(--ray);
  }
  & > span:last-child {
    font-size: 24px;
  }
}
/* Услуги: типографика; движение и переходы. */
.service-index h3 {
  font-size: 23px;
  transition: color 0.2s;
}

.service-index p {
  margin: 10px 0 0;
  font-size: 14px;
}
/* Услуги: состояние при наведении. */
.service-index a:hover h3 {
  color: var(--ray);
}

.service-index .all-services {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--steel);
}

.case-feature-layout {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 7%;
  align-items: stretch;
}

.case-feature {
  border-radius: 28px;
  & .product-art {
    height: clamp(420px, 42vw, 600px);
  }
}

.case-feature-copy {
  padding: 12px 38px 32px;
}

.case-feature h3 {
  font-size: clamp(28px, 3vw, 42px);
  margin: 18px 0;
}

.case-feature p {
  font-size: 15px;
  max-width: 550px;
}

.case-side > a:not(.text-link) {
  display: block;
  border-top: 1px solid var(--line);
  padding-block: 26px;
}

.case-side h3 {
  margin-top: 20px;
  font-size: 27px;
}

.case-side p {
  margin-top: 12px;
  font-size: 14px;
}

.case-side > .text-link {
  margin-top: 20px;
}
/* Адаптация для (width >= 901px). */
@media (width >= 901px) {
  .case-side {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    & > a:not(.text-link) {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    & > .text-link {
      margin-top: auto;
    }
  }
}

/* Адаптация для (hover: hover) and (pointer: fine). */
@media (hover: hover) and (pointer: fine) {
  .multipage {
    & main .glass:not([data-spotlight]):not(.catalog-case) {
      transition:
        --mx 0.25s ease-out,
        --my 0.25s ease-out;
    }
    & main .catalog-case {
      transition:
        transform 0.3s,
        --mx 0.25s ease-out,
        --my 0.25s ease-out;
    }
  }
}

.journey {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  & li {
    position: relative;
    padding: 26px 0;
    border-top: 1px solid var(--line-blue);
  }
  & li::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--ray);
    border-radius: 50%;
    top: -3px;
    box-shadow: 0 0 16px rgba(0, 102, 255, 0.6);
  }
  & li > span {
    color: var(--ray);
    font: 12px var(--mono);
  }
  & h3 {
    margin: 40px 0 18px;
    font-size: 22px;
  }
  & p {
    font-size: 14px;
  }
}

.document-feature {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 12%;
  align-items: center;
  & p {
    max-width: 570px;
    margin-top: 24px;
  }
}

.document-art {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  isolation: isolate;
  &::before {
    content: '';
    position: absolute;
    inset: 10%;
    background: radial-gradient(
      ellipse,
      rgba(0, 102, 255, 0.18),
      transparent 68%
    );
    transform: scale(1.4);
    z-index: -1;
  }
}

.document-sheet {
  width: 75%;
  max-width: 350px;
  aspect-ratio: 0.76;
  border-radius: 18px;
  padding: 30px;
  background: linear-gradient(
    150deg,
    rgba(13, 36, 72, 0.84),
    rgba(6, 9, 16, 0.9)
  );
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-top-color: rgba(0, 102, 255, 0.35);
  transform: rotate(-6deg);
  box-shadow: 0 30px 80px #0008;
  & span,
  & b {
    display: block;
    font: 10px/1.5 var(--mono);
    color: var(--steel);
  }
  & strong {
    display: block;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin: 65px 0 30px;
  }
  & i {
    display: block;
    height: 3px;
    background: #ffffff10;
    margin-top: 12px;
    width: 100%;
  }
  & i:nth-of-type(2) {
    width: 75%;
  }
  & i:nth-of-type(3) {
    width: 55%;
  }
  & b {
    margin-top: 40px;
    font-size: 8px;
    color: var(--ray);
  }
}

.sheet-back {
  position: absolute;
  transform: rotate(7deg) translate(16px, -12px);
  background: #080f1a;
  z-index: -1;
}

.page-hero {
  position: relative;
  padding: 140px 0 72px;
  overflow: clip;
  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
      ellipse at 85% 35%,
      rgba(0, 71, 179, 0.18),
      transparent 60%
    );
    pointer-events: none;
  }
  & > .container {
    position: relative;
  }
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  color: var(--dim);
  margin-bottom: 60px;
  & a {
    color: var(--steel);
  }
  & a:hover {
    color: white;
  }
}

.page-hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
}

.has-art .page-hero-layout {
  grid-template-columns: 1fr 1fr;
}

.page-hero-copy {
  min-width: 0;
}

.page-hero h1 {
  margin: 26px 0 24px;
  font-size: clamp(36px, 3.2vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 700;
  max-width: 920px;
}

.has-art h1 {
  font-size: clamp(34px, 2.8vw, 48px);
}

.page-hero-copy > p {
  max-width: 670px;
  font-size: 17px;
  margin-bottom: 32px;
}
/* Первый экран: цвет и поверхность; прокрутка и переполнение. */
.page-hero-art {
  border-radius: 28px;
  overflow: hidden;
  & .product-art {
    min-height: 470px;
  }
}

.anchor-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
  & a {
    display: flex;
    gap: 18px;
    padding: 12px 16px;
    border-radius: 24px;
    border: 1px solid var(--line);
    color: var(--steel);
    font-size: 12px;
    transition:
      border-color 0.2s,
      color 0.2s;
  }
  & a:hover {
    border-color: var(--cobalt);
    color: var(--color-white, #fff);
  }
  & span {
    color: var(--ray);
  }
}
/* .comparison-wrap: прокрутка и переполнение. */
.comparison-wrap {
  overflow-x: auto;
  scrollbar-width: thin;
}

.comparison {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
  & th,
  & td {
    padding: 24px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    line-height: 1.7;
  }
  & td {
    color: var(--steel);
    width: 38%;
  }
  & thead th {
    font-size: 20px;
    font-weight: 550;
    border-top: 1px solid var(--line);
  }
  & th:first-child {
    padding-left: 0;
    width: 24%;
  }
  & th:last-child,
  & td:last-child {
    background: linear-gradient(90deg, rgba(0, 102, 255, 0.055), transparent);
  }
}

.stack-directory > div {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 32px;
  padding-block: 25px;
  border-top: 1px solid var(--line);
  align-items: center;
}

.stack-directory h3 {
  font-size: 19px;
}

.stack-directory .tag-line {
  margin: 0;
  & span {
    padding: 10px 14px;
  }
}

.service-chapter {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: 44px;
  padding: 70px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 120px;
}

.chapter-number {
  font: 500 36px var(--mono);
  color: var(--ray);
}

.service-chapter h3 {
  font-size: 32px;
  margin: 18px 0;
}

.service-chapter p {
  font-size: 14px;
  max-width: 450px;
}

.service-chapter .check-list {
  margin: 0;
}

.pipeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  padding: 0;
  margin: 40px 0;
  border-radius: 18px;
  overflow: hidden;
  & li {
    padding: 32px 28px;
    background: linear-gradient(150deg, rgba(0, 102, 255, 0.09), #060a12);
  }
  & li > span {
    color: var(--ray);
    font: 11px var(--mono);
  }
  & h3 {
    margin-top: 32px;
    font-size: 22px;
  }
  & p {
    margin-bottom: 0;
    font-size: 13px;
  }
}

.review-console {
  border-radius: 24px;
  padding: 30px;
}

.console-top,
.console-foot {
  font: 10px/1.8 var(--mono);
  color: var(--steel);
}

.console-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.review-branches {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  align-items: center;
  gap: 24px;
  padding: 48px 0;
  & > div {
    padding: 24px;
  }
  & small {
    font: 10px var(--mono);
    color: var(--ray);
  }
  & strong {
    display: block;
    font-size: 24px;
    margin-top: 18px;
    font-weight: 550;
  }
  & p {
    font-size: 13px;
    margin-bottom: 0;
  }
  & > span {
    color: var(--ray);
  }
}

.review-gate {
  border: 1px solid rgba(0, 102, 255, 0.25);
  border-radius: 16px;
  background: rgba(0, 102, 255, 0.07);
}

.console-foot {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.role-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 70px;
  & article {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 26px;
    align-items: start;
  }
}

.role-monogram {
  display: grid;
  place-items: center;
  width: 74px;
  height: 90px;
  border-radius: 16px;
  font: 24px var(--mono);
  color: var(--ray);
  background: linear-gradient(145deg, rgba(0, 102, 255, 0.15), #05080e);
  border-top: 1px solid rgba(0, 102, 255, 0.3);
}

.role-directory h3 {
  font-size: 24px;
  margin-top: 12px;
}

.role-directory p {
  font-size: 14px;
}

.split-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
  & .eyebrow {
    margin-bottom: 28px;
  }
  & p {
    font-size: 16px;
    margin-top: 24px;
  }
  & .check-list {
    max-width: 570px;
  }
}

.kanban {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  min-height: 320px;
  & > div > span {
    color: var(--steel);
    font: 10px var(--mono);
    display: block;
    margin: 10px 0 24px;
  }
  & article {
    border-radius: 10px;
    padding: 16px 12px;
    background: #0b1423;
    border-top: 1px solid var(--line);
    font-size: 12px;
    margin-bottom: 12px;
  }
  & small {
    display: block;
    color: var(--dim);
    margin-top: 10px;
    font-size: 10px;
  }
}

.risk-accordion details {
  border-top: 1px solid var(--line);
  &:last-child {
    border-bottom: 1px solid var(--line);
  }
}

.risk-accordion summary {
  display: grid;
  grid-template-columns: 60px 1fr 24px;
  gap: 20px;
  padding: 28px 0;
  list-style: none;
  font-size: 22px;
  cursor: pointer;
  &::-webkit-details-marker {
    display: none;
  }
  & > span {
    font: 11px var(--mono);
    color: var(--ray);
    padding-top: 6px;
  }
  & b {
    color: var(--ray);
    font-weight: 400;
  }
}
/* .risk-accordion details[open] summary b: движение и переходы. */
.risk-accordion details[open] summary b {
  transform: rotate(45deg);
}

.risk-accordion p {
  max-width: 760px;
  margin: 0 0 28px 80px;
  font-size: 15px;
}

.legal-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  padding: 48px;
  border-radius: 24px;
  margin-top: 70px;
  & h3 {
    font-size: 32px;
    margin: 24px 0;
  }
  & h2 {
    font-size: clamp(30px, 3vw, 48px);
    margin-top: 24px;
  }
  & p {
    max-width: 640px;
    margin-bottom: 0;
  }
  & > .button {
    flex-shrink: 0;
  }
}

.product-art {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 350px;
  overflow: hidden;
  isolation: isolate;
  &::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(
      ellipse at 50% 50%,
      rgba(0, 102, 255, 0.17),
      transparent 67%
    );
  }
}

.art-caption {
  position: absolute;
  left: 26px;
  top: 24px;
  color: var(--dim);
  font: 8px var(--mono);
  letter-spacing: 0.13em;
  z-index: 3;
}

.browser-mock {
  width: 88%;
  border-radius: 14px;
  border: 1px solid #ffffff12;
  background: linear-gradient(140deg, #0b1423, #05080e);
  box-shadow: 0 25px 80px #0007;
  transform: perspective(1200px) rotateY(-5deg) rotateX(4deg);
  margin-top: 24px;
}

.mock-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  border-bottom: 1px solid var(--line);
  color: var(--steel);
  font: 8px var(--mono);
  & i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ray);
    box-shadow:
      10px 0 0 #1e293b,
      20px 0 0 #1e293b;
    margin-right: 24px;
  }
  & b {
    color: var(--ray);
    margin-left: auto;
  }
}

.mock-body {
  display: grid;
  grid-template-columns: 45px 1fr;
}

.mock-nav {
  border-right: 1px solid var(--line);
  padding: 16px 12px;
}

.mini-brand {
  color: var(--ray);
  font-size: 19px;
  font-weight: 800;
}

.mock-nav i {
  width: 14px;
  height: 14px;
  display: block;
  margin: 20px 0;
  border: 1px solid #ffffff10;
  border-radius: 3px;
}

.mock-main {
  min-width: 0;
  padding: 24px 20px;
}

.mock-title {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  & strong {
    font-size: 14px;
    font-weight: 500;
  }
  & > span {
    font-size: 7px;
    color: var(--steel);
  }
}

.mock-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 26px 0;
  & > div {
    padding: 15px;
    border: 1px solid #ffffff08;
    border-radius: 9px;
    background: rgba(0, 102, 255, 0.04);
  }
  & small {
    display: block;
    font-size: 8px;
    color: var(--steel);
  }
  & b {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin: 8px 0;
  }
  & em {
    display: block;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), transparent);
  }
}

.mock-table > div {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.4fr;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid #ffffff06;
  align-items: center;
  font-size: 8px;
  color: var(--steel);
}

.mock-table strong {
  font-weight: 400;
  color: var(--ice);
}

.mock-table i {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ray);
  margin-right: 4px;
}

.network-orbit {
  position: absolute;
  border: 1px solid rgba(0, 102, 255, 0.16);
  border-radius: 50%;
  width: 270px;
  height: 270px;
  transform: rotate(-25deg) scaleY(0.65);
}
/* .orbit-b: размеры; движение и переходы. */
.orbit-b {
  width: 420px;
  height: 420px;
  transform: rotate(30deg) scaleY(0.55);
}

.network-hub {
  width: 106px;
  height: 106px;
  background: linear-gradient(145deg, #0a2b5c, #050b15);
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(0, 102, 255, 0.5);
  box-shadow: 0 0 80px #0066ff20;
  z-index: 2;
  & > span {
    font-size: 40px;
    font-weight: 750;
    color: var(--ray);
  }
  & small {
    font: 7px var(--mono);
    color: var(--steel);
    margin-top: 5px;
  }
}

.network-node {
  position: absolute;
  padding: 14px 20px;
  background: linear-gradient(130deg, #0d1728, #060a12);
  border: 1px solid #ffffff09;
  border-radius: 9px;
  color: var(--steel);
  font-size: 11px;
}

.node-a {
  left: 8%;
  top: 24%;
}

.node-b {
  right: 8%;
  top: 25%;
}

.node-c {
  left: 12%;
  bottom: 16%;
}

.node-d {
  right: 10%;
  bottom: 16%;
}

.phone-device {
  position: relative;
  width: 220px;
  padding: 32px 16px 18px;
  border: 3px solid #1b2433;
  border-radius: 30px;
  background: linear-gradient(160deg, #0c192c, #04060c);
  box-shadow: 20px 30px 70px #0008;
  transform: rotate(-7deg);
  margin: 55px 0 30px;
}

.phone-notch {
  position: absolute;
  top: 7px;
  left: 34%;
  width: 32%;
  height: 13px;
  background: #03050a;
  border-radius: 10px;
}

.phone-device > small {
  color: var(--dim);
  font: 7px var(--mono);
}

.phone-device > strong {
  display: block;
  font-size: 16px;
  margin-top: 10px;
}

.phone-map {
  height: 110px;
  position: relative;
  margin: 18px 0;
  border-radius: 8px;
  background:
    repeating-linear-gradient(35deg, transparent 0 21px, #0066ff0b 22px 24px),
    repeating-linear-gradient(-35deg, #0066ff05 0 30px, #0066ff15 31px 33px);
  & i {
    position: absolute;
    left: 30%;
    top: 30%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 5px #0066ff16;
  }
  & i:nth-child(2) {
    left: 70%;
    top: 65%;
  }
  & i:nth-child(3) {
    left: 55%;
    top: 15%;
  }
}

.phone-task {
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 13px 0;
  font-size: 9px;
  & > span {
    color: var(--ray);
  }
  & small {
    color: var(--dim);
    display: block;
    margin-top: 5px;
    font-size: 7px;
  }
}

.phone-bottom {
  display: block;
  font: 7px var(--mono);
  color: var(--ray);
  margin-top: 15px;
  text-align: center;
}

.floating-note {
  position: absolute;
  right: 5%;
  bottom: 14%;
  padding: 17px;
  background: #091527e8;
  border-radius: 12px;
  backdrop-filter: blur(12px);
  border: 1px solid #0066ff20;
  font-size: 12px;
  box-shadow: 0 12px 35px #0008;
  & span {
    display: block;
    color: var(--steel);
    margin-top: 6px;
    font-size: 8px;
  }
}

.monitor-shell {
  width: 85%;
  margin-top: 20px;
  border: 1px solid #ffffff0e;
  border-radius: 15px;
  background: linear-gradient(145deg, #0b1729, #05070c);
  box-shadow: 0 20px 70px #0008;
}

.signal-heading {
  padding: 28px 24px;
  & small {
    display: block;
    font: 8px var(--mono);
    color: var(--steel);
  }
  & strong {
    display: block;
    font-size: 30px;
    font-weight: 550;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-top: 14px;
  }
}

.signal-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 120px;
  padding: 0 24px;
  border-bottom: 1px solid #0066ff20;
  & i {
    flex: 1;
    height: var(--bar);
    border-radius: 4px 4px 0 0;
    background: linear-gradient(var(--blue), #0066ff06);
  }
}

.mock-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 24px;
  font: 8px var(--mono);
  color: var(--dim);
}

.editor-note {
  padding: 18px 22px;
  border-left: 1px solid var(--cobalt);
  color: var(--steel);
  background: linear-gradient(90deg, #0066ff08, transparent);
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 36px;
}

.filter-bar {
  padding: 26px 0;
  border-block: 1px solid var(--line);
}

.filter-group {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  &:last-child {
    margin-bottom: 0;
  }
  & legend {
    font: 10px var(--mono);
    color: var(--dim);
    margin-bottom: 14px;
  }
  & button {
    min-height: 42px;
    border-radius: 23px;
    border: 1px solid var(--line);
    padding: 10px 17px;
    background: transparent;
    color: var(--steel);
    font-size: 12px;
  }
  & button[aria-pressed='true'] {
    border-color: var(--cobalt);
    background: #0066ff12;
    color: white;
  }
  & button:hover {
    color: white;
  }
}

.filter-count {
  font: 10px var(--mono);
  color: var(--dim);
  padding-block: 20px;
}

.case-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
/* Пример проекта: цвет и поверхность; движение и переходы. */
.catalog-case {
  border-radius: 24px;
  transition: transform 0.3s;
  &:hover {
    transform: translateY(-5px);
  }
  &:first-child {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  &:first-child .product-art {
    min-height: 460px;
  }
  & .product-art {
    min-height: 340px;
  }
}

.catalog-case-copy {
  padding: 30px 38px;
}

.catalog-case h2 {
  font-size: clamp(28px, 2.5vw, 42px);
  margin-top: 20px;
}

.catalog-case p {
  font-size: 14px;
}

.catalog-case .tag-line {
  margin-bottom: 18px;
}

.empty-state {
  padding: 60px 24px;
  text-align: center;
  & h3 {
    font-size: 26px;
  }
  & p {
    margin-bottom: 28px;
  }
}

.nda-feature {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 8%;
  align-items: center;
  padding: 64px;
  border-radius: 26px;
}

.nda-mark {
  font: 500 clamp(40px, 7vw, 100px) var(--mono);
  letter-spacing: -0.1em;
  color: #0066ff50;
  transform: rotate(-10deg);
  text-align: center;
  text-shadow: 0 0 80px #0066ff30;
}

.nda-feature .eyebrow {
  margin-bottom: 26px;
}

.nda-feature p {
  max-width: 620px;
  margin-block: 24px;
}

.case-detail-layout {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 12%;
  align-items: start;
  & aside {
    border-top: 1px solid var(--line);
    padding-top: 28px;
    position: sticky;
    top: 120px;
  }
  & aside > p {
    font-size: 13px;
  }
  & aside h3 {
    font-size: 16px;
    margin-top: 35px;
  }
}

.case-story-block {
  margin-bottom: 80px;
  & h2 {
    font-size: clamp(28px, 3vw, 44px);
    margin-top: 28px;
  }
  & .check-list {
    margin-top: 36px;
  }
  & .check-list li {
    padding-block: 24px;
    font-size: 16px;
  }
}

.case-result {
  padding: 40px;
  border-radius: 24px;
  & h2 {
    font-size: 36px;
    margin-top: 24px;
  }
  & p {
    font-size: 17px;
    margin-bottom: 0;
  }
}

.related-link {
  margin-top: 30px;
}

.manifesto {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 8%;
  align-items: center;
  padding-block: 24px;
}

.manifesto-letter {
  font-size: clamp(170px, 22vw, 340px);
  font-weight: 750;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 102, 255, 0.35);
  text-shadow: 0 0 100px #0066ff12;
  text-align: center;
}

.manifesto h2 {
  margin: 26px 0;
}

.manifesto p {
  max-width: 580px;
  font-size: 18px;
}

.model-layout {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 9%;
  align-items: center;
}

.model-core {
  border-radius: 26px;
  padding: 50px;
  text-align: center;
  & > span {
    display: inline-grid;
    place-items: center;
    width: 110px;
    height: 110px;
    border-radius: 28px;
    font-size: 55px;
    font-weight: 700;
    color: var(--ray);
    background: radial-gradient(ellipse, #0066ff18, transparent);
    border-top: 1px solid #0066ff40;
    margin: 28px 0 42px;
  }
  & h3 {
    font-size: 34px;
  }
  & small {
    display: block;
    color: var(--dim);
    font: 8px var(--mono);
    margin-top: 30px;
  }
}

.operating-lines > div {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 40px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  & > span {
    font: 11px var(--mono);
    color: var(--ray);
    padding-top: 5px;
  }
}

.operating-lines strong {
  font-size: clamp(22px, 2.5vw, 35px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.document-list article {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 35px;
  border-top: 1px solid var(--line);
  padding: 35px 0;
}

.document-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 75px;
  border-radius: 5px 15px 5px 5px;
  border: 1px solid #0066ff30;
  background: #0066ff09;
  font: 11px var(--mono);
  color: var(--ray);
}

.document-list h3 {
  font-size: 26px;
}

.document-list p {
  font-size: 14px;
  max-width: 680px;
  margin-bottom: 0;
}

.deliverables {
  padding: 36px 40px;
  border-radius: 24px;
  & .check-list {
    margin: 0;
  }
  & .check-list li:last-child {
    border-bottom: 0;
  }
}

.lead-section .section-heading {
  margin-bottom: 44px;
}

.lead-section .privacy-note {
  line-height: 1.8;
}

.lead-section a:not(.button),
.standalone-form small a {
  text-decoration-color: var(--dim);
}

.privacy-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-page {
  & #contact .section-heading {
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: 18px;
  }
  & #contact .section-heading > p {
    padding-inline: 38px;
  }
}
/* Общие правила полей не должны растягивать флажок NDA. */
.multipage {
  & .lead-form-card form > label.check-control {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    align-self: flex-start;
    gap: 12px;
    min-height: 44px;
    margin: 12px 0;
    padding: 6px 0;
    cursor: pointer;
  }
  & .lead-form-card .check-control input[type='checkbox'] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    border-radius: 3px;
    accent-color: var(--blue);
  }
}

body.multipage .lead-form-card form > label.check-control span {
  color: var(--steel);
  font-size: 13px;
}

.multipage :is(.lead-form-card, .modal-card) :is(input, textarea)::placeholder {
  color: var(--dim);
}
/* Адаптация для (width <= 899px). */
@media (width <= 899px) {
  .home-page {
    & #contact .section-heading {
      display: block;
    }
    & #contact .section-heading > p {
      padding-inline: 0;
    }
  }
}

.choice-group,
.stack-choices {
  border: 0;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-group legend,
.stack-choices legend {
  color: var(--steel);
  font-size: 12px;
  margin-bottom: 14px;
}

.choice-group label,
.stack-choices label {
  position: relative;
  margin: 0 !important;
  display: flex;
  cursor: pointer;
}

.choice-group input,
.stack-choices input {
  position: absolute;
  opacity: 0;
  width: 1px !important;
  height: 1px !important;
}

.choice-group label > span,
.stack-choices label > span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--steel);
  font-size: 12px;
}

.choice-group input:checked + span,
.stack-choices input:checked + span {
  border-color: var(--cobalt);
  color: white;
  background: #0066ff10;
}

.choice-group input:focus-visible + span,
.stack-choices input:focus-visible + span {
  outline: 2px solid var(--ray);
  outline-offset: 3px;
}

.multipage {
  & .check-control {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    font-size: 12px;
    color: var(--steel);
    margin: 22px 0;
    cursor: pointer;
  }
  & .check-control input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--blue);
    flex-shrink: 0;
  }
}

.check-control span {
  line-height: 1.6;
}

.brief-wizard {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.wizard-progress {
  display: flex;
  gap: 18px;
  margin-bottom: 30px;
  & > span {
    flex: 1;
    color: var(--dim);
    padding-top: 14px;
    border-top: 2px solid var(--line);
    font: 12px var(--mono);
  }
  & > span.current {
    color: var(--ray);
    border-top-color: var(--blue);
  }
  & small {
    display: block;
    font: 10px/1.5 var(--font);
    margin-top: 8px;
  }
}

.wizard-step {
  padding: 0;
  border: 0;
  margin: 0 0 28px;
  & legend {
    font-size: 24px;
    letter-spacing: -0.03em;
    font-weight: 500;
    margin-bottom: 20px;
  }
}

.wizard-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  & label {
    position: relative;
    margin: 0 !important;
    cursor: pointer;
  }
  & input {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    opacity: 0;
  }
  & label > span {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    padding: 17px 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--steel);
    font-size: 13px;
    line-height: 1.5;
  }
  & input:checked + span {
    color: var(--color-white, #fff);
    border-color: var(--cobalt);
    background: rgba(0, 102, 255, 0.08);
  }
  & input:focus-visible + span {
    outline: 2px solid var(--ray);
    outline-offset: 3px;
  }
  & b {
    color: var(--ray);
    font-weight: 400;
  }
}

.wizard-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  & .button {
    padding: 12px 18px;
    font-size: 12px;
  }
}

.wizard-counter {
  color: var(--dim);
  font: 10px var(--mono);
}

.wizard-summary {
  margin: 24px 0 0;
  font-size: 12px;
}

.meeting-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.meeting-panel {
  padding: 44px;
  border-radius: 24px;
  & h3 {
    font-size: 34px;
    margin-top: 30px;
  }
  & p {
    max-width: 470px;
    font-size: 15px;
    margin-block: 24px;
  }
}

.partnership-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  & article {
    padding: 44px;
    border-radius: 24px;
    scroll-margin-top: 120px;
  }
  & h2 {
    margin-top: 28px;
  }
  & p {
    margin-top: 24px;
  }
}

.standards-note {
  max-width: 800px;
  font-size: 15px;
}

.partner-form-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.65fr;
  gap: 10%;
  align-items: start;
}

.standalone-form {
  padding: 40px;
  border-radius: 24px;
  & > label,
  & .form-row > label {
    display: block;
    color: var(--steel);
    font-size: 12px;
    margin-bottom: 22px;
  }
  & input:not([type='radio']):not([type='checkbox']),
  & select {
    width: 100%;
    display: block;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #040810;
    color: white;
    margin-top: 10px;
    min-height: 48px;
    font: 14px var(--font);
  }
  & select {
    color-scheme: dark;
  }
  & input.field-invalid,
  & select.field-invalid {
    border-color: var(--danger);
  }
  & > small {
    display: block;
    color: var(--dim);
    font-size: 11px;
    line-height: 1.7;
    margin-top: 20px;
  }
  & .form-row {
    gap: 20px;
  }
}

.application-aside {
  padding-top: 25px;
  & h3 {
    font-size: 34px;
    line-height: 1.3;
    margin-top: 28px;
  }
  & p {
    font-size: 14px;
    margin-top: 25px;
  }
}

.partner-success {
  font-size: 13px;
  color: var(--ice);
}

.prose {
  max-width: 820px;
  margin-inline: auto;
  & h2 {
    font-size: 30px;
    margin: 48px 0 22px;
  }
  & p {
    font-size: 16px;
  }
  & a {
    color: var(--ray);
  }
  & .editor-note {
    margin-top: 45px;
  }
}

/* Адаптация для (width >= 1800px). */
@media (width >= 1800px) {
  .multipage .header-phone span {
    display: inline;
  }
  .page-hero {
    padding-top: 180px;
    & h1 {
      font-size: clamp(48px, 2.4vw, 60px);
      max-width: 1100px;
    }
  }
  .has-art h1 {
    font-size: clamp(44px, 2.1vw, 54px);
  }
  .page-hero-copy > p {
    font-size: 20px;
    max-width: 820px;
  }
  .page-hero-art .product-art {
    min-height: 650px;
  }
  .page-hero-art .browser-mock {
    max-width: 850px;
  }
  .page-hero-art .monitor-shell {
    max-width: 850px;
  }
  .page-hero-art .network-orbit {
    width: 400px;
    height: 400px;
  }
  .page-hero-art .orbit-b {
    width: 600px;
    height: 600px;
  }
  .page-hero-art .network-hub {
    width: 150px;
    height: 150px;
  }
  .page-hero-art .phone-device {
    width: 270px;
  }
  .page-hero-art .phone-map {
    height: 160px;
  }
  .editor-heading p,
  .section-intro p {
    font-size: 18px;
    max-width: 650px;
  }
  .service-feature h3 {
    font-size: 54px;
  }
  .service-feature p {
    font-size: 17px;
    max-width: 600px;
  }
  .service-feature .product-art {
    min-height: 420px;
  }
  .service-index h3 {
    font-size: 29px;
  }
  .service-index p {
    font-size: 17px;
  }
  .service-index > a {
    padding-block: 34px;
  }
  .multipage h2 {
    font-size: clamp(38px, 2vw, 48px);
  }
  .catalog-case h2,
  .case-result h2 {
    font-size: 48px;
  }
  .case-feature-copy h3 {
    font-size: 48px;
  }
  .case-feature-copy p {
    font-size: 18px;
  }
  .product-art .browser-mock {
    max-width: 900px;
  }
  .catalog-case .product-art {
    min-height: 450px;
  }
  .role-directory p,
  .editorial-rows p {
    font-size: 17px;
    max-width: 760px;
  }
  .editorial-rows h3 {
    font-size: 30px;
  }
  .editorial-rows article {
    padding-block: 40px;
  }
  .journey h3 {
    font-size: 28px;
  }
  .journey p {
    font-size: 17px;
  }
  .document-art {
    min-height: 660px;
  }
  .document-sheet {
    max-width: 450px;
    & strong {
      font-size: 54px;
    }
  }
  .tag-line span {
    font-size: 12px;
  }
  .case-story-block h2 {
    font-size: 50px;
  }
  .case-detail-layout aside > p {
    font-size: 16px;
  }
  .prose h2 {
    font-size: 34px;
  }
  .standalone-form,
  .lead-form-card {
    max-width: 1250px;
  }
}
/* Адаптация для (width <= 1279px). */
@media (width <= 1279px) {
  .multipage {
    & .header-shell {
      grid-template-columns: 1fr auto;
    }
    & .desktop-nav {
      display: none;
    }
    & .menu-button {
      display: grid;
    }
  }
}
/* Адаптация для (width <= 1100px). */
@media (width <= 1100px) {
  .has-art .page-hero-layout {
    grid-template-columns: 1fr;
  }
  .page-hero-copy {
    max-width: 820px;
  }
  .page-hero-art {
    max-width: 820px;
    width: 100%;
    & .product-art {
      min-height: 430px;
    }
    & .browser-mock {
      max-width: 630px;
    }
    & .monitor-shell {
      max-width: 600px;
    }
  }
  .page-hero h1,
  .has-art h1 {
    font-size: clamp(36px, 4.6vw, 48px);
  }
  .service-showcase {
    gap: 36px;
  }
  .service-feature {
    padding: 28px;
    & h3 {
      font-size: 34px;
    }
  }
  .service-index h3 {
    font-size: 20px;
  }
  .service-index p {
    font-size: 13px;
  }
  .service-feature .product-art {
    min-height: 330px;
  }
  .service-index > a {
    padding-block: 24px;
  }
  .case-feature-layout {
    gap: 40px;
    grid-template-columns: 1.25fr 0.8fr;
  }
  .case-feature .product-art {
    min-height: 320px;
  }
  .case-feature-copy {
    padding: 20px 28px 28px;
  }
  .case-side h3 {
    font-size: 24px;
  }
  .document-feature {
    gap: 7%;
  }
  .document-art {
    min-height: 380px;
  }
  .document-sheet {
    width: 85%;
    padding: 24px;
    & strong {
      margin-top: 45px;
    }
    & b {
      margin-top: 25px;
    }
  }
  .role-directory {
    gap: 38px;
    & article {
      grid-template-columns: 60px 1fr;
      gap: 18px;
    }
  }
  .role-monogram {
    width: 60px;
    height: 76px;
  }
  .role-directory h3 {
    font-size: 22px;
  }
  .service-chapter {
    grid-template-columns: 45px 1fr 1fr;
    gap: 24px;
  }
  .review-branches {
    gap: 10px;
    & > div {
      padding: 20px 12px;
    }
    & strong {
      font-size: 20px;
    }
  }
  .pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split-story {
    gap: 5%;
  }
  .kanban {
    gap: 8px;
    padding: 18px;
    & article {
      padding: 14px 9px;
    }
  }
  .legal-strip {
    padding: 34px;
    gap: 30px;
  }
  .case-detail-layout {
    gap: 7%;
  }
  .partner-form-layout {
    gap: 6%;
  }
  .standalone-form {
    padding: 30px;
  }
  .journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Адаптация для (width <= 800px). */
@media (width <= 800px) {
  .editor-heading {
    grid-template-columns: 1fr;
    gap: 25px;
    & p {
      max-width: 600px;
    }
  }
  .responsibility-layout,
  .service-showcase,
  .case-feature-layout,
  .document-feature,
  .split-story,
  .model-layout,
  .partner-form-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .responsibility-seal {
    display: none;
  }
  .section-intro p {
    max-width: 540px;
  }
  .service-feature {
    max-width: none;
    & .product-art {
      min-height: 330px;
    }
  }
  .service-index > a {
    padding-block: 25px;
  }
  .service-index h3 {
    font-size: 23px;
  }
  .case-feature .product-art {
    height: 390px;
  }
  .case-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    & > .text-link {
      grid-column: 1/-1;
      margin-top: 0;
    }
  }
  .document-art {
    min-height: 440px;
    max-width: 480px;
    width: 100%;
    margin: auto;
  }
  .document-sheet {
    max-width: 310px;
    & strong {
      margin-top: 60px;
    }
    & b {
      margin-top: 35px;
    }
  }
  .service-chapter {
    grid-template-columns: 40px 1fr;
    gap: 20px;
    padding-block: 48px;
    & > div:last-child {
      grid-column: 2;
    }
    & h3 {
      font-size: 28px;
    }
  }
  .wide-rows article > div {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .wide-rows article {
    grid-template-columns: 40px 1fr;
  }
  .review-branches {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 28px;
    & > span {
      transform: rotate(90deg);
      justify-self: center;
    }
    & > div {
      padding: 22px;
    }
  }
  .review-console {
    padding: 24px;
  }
  .role-directory {
    grid-template-columns: 1fr;
    & article {
      max-width: 650px;
    }
  }
  .kanban {
    min-height: 320px;
  }
  .risk-accordion summary {
    font-size: 20px;
    grid-template-columns: 30px 1fr 22px;
    gap: 15px;
  }
  .risk-accordion p {
    margin-left: 45px;
  }
  .legal-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .case-catalog {
    gap: 20px;
  }
  .catalog-case:first-child {
    display: block;
    grid-column: 1/-1;
    & .product-art {
      min-height: 380px;
    }
  }
  .catalog-case .product-art {
    min-height: 300px;
  }
  .catalog-case-copy {
    padding: 24px;
  }
  .catalog-case h2 {
    font-size: 29px;
  }
  .catalog-case .browser-mock {
    width: 92%;
  }
  .nda-feature {
    grid-template-columns: 1fr;
    padding: 36px;
    gap: 24px;
  }
  .nda-mark {
    font-size: 60px;
    text-align: left;
    transform: none;
  }
  .case-detail-layout {
    grid-template-columns: 1fr;
    gap: 55px;
    & aside {
      position: static;
    }
    & aside .tag-line {
      margin-top: 18px;
    }
  }
  .case-story-block {
    margin-bottom: 55px;
  }
  .case-result {
    padding: 30px;
  }
  .manifesto {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .manifesto-letter {
    display: none;
  }
  .model-core {
    padding: 35px;
    max-width: 600px;
  }
  .operating-lines > div {
    grid-template-columns: 120px 1fr;
    gap: 20px;
  }
  .meeting-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .meeting-panel {
    padding: 34px;
  }
  .partnership-split {
    grid-template-columns: 1fr;
    gap: 25px;
    & article {
      padding: 34px;
    }
  }
  .document-list article {
    grid-template-columns: 55px 1fr;
    gap: 24px;
  }
  .document-list .text-link {
    grid-column: 2;
  }
  .application-aside {
    padding-top: 0;
  }
  .comparison {
    min-width: 650px;
    & th,
    & td {
      padding: 18px;
    }
  }
  .page-hero {
    padding-top: 120px;
  }
  .breadcrumbs {
    margin-bottom: 38px;
  }
  .product-art .mock-title > span {
    display: none;
  }
}
/* Адаптация для (width >= 640px) and (width <= 800px). */
@media (width >= 640px) and (width <= 800px) {
  #cases .case-side {
    grid-template-columns: 1fr;
    gap: 6px;
    & > .text-link {
      grid-column: auto;
    }
  }
}
/* Адаптация для (width <= 639px). */
@media (width <= 639px) {
  .multipage {
    & .header-telegram {
      display: grid;
      width: 36px;
      height: 36px;
    }
    & .header-actions {
      gap: 10px;
    }
    & .header-shell {
      padding-inline: 12px;
    }
    & h2 {
      font-size: 32px;
    }
  }
  .editorial-section {
    padding-block: 68px;
  }
  .editor-heading {
    margin-bottom: 36px;
  }
  .editor-heading p,
  .section-intro p {
    font-size: 14px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 0.08em;
  }
  .page-hero {
    padding: 110px 0 42px;
  }
  .page-hero h1,
  .has-art h1 {
    font-size: 36px;
  }
  .page-hero-copy > p {
    font-size: 15px;
  }
  .page-hero-art .product-art {
    min-height: 360px;
  }
  .breadcrumbs {
    font-size: 10px;
    gap: 8px;
  }
  .editorial-rows article {
    grid-template-columns: 24px 1fr;
    gap: 16px;
    padding-block: 26px;
  }
  .editorial-rows h3 {
    font-size: 21px;
  }
  .editorial-rows p {
    font-size: 14px;
  }
  .service-feature {
    padding: 28px 24px;
    border-radius: 22px;
    & h3 {
      font-size: 33px;
    }
    & .product-art {
      min-height: 300px;
      margin-inline: -12px;
    }
  }
  .network-hub {
    width: 90px;
    height: 90px;
    border-radius: 22px;
  }
  .network-node {
    font-size: 9px;
    padding: 11px 13px;
  }
  .node-a {
    left: 2%;
  }
  .node-b {
    right: 2%;
  }
  .node-c {
    left: 4%;
  }
  .node-d {
    right: 4%;
  }
  .network-orbit {
    width: 220px;
    height: 220px;
  }
  .orbit-b {
    width: 310px;
    height: 310px;
  }
  .service-index > a {
    grid-template-columns: 24px 1fr 18px;
    gap: 12px;
  }
  .service-index h3 {
    font-size: 21px;
  }
  .case-feature .product-art {
    height: 330px;
    min-height: 300px;
  }
  .case-feature h3 {
    font-size: 29px;
  }
  .case-feature-copy {
    padding: 10px 24px 25px;
  }
  .case-side {
    grid-template-columns: 1fr;
    gap: 6px;
    & > a:not(.text-link) {
      padding-block: 28px;
    }
    & h3 {
      font-size: 26px;
    }
    & > .text-link {
      grid-column: auto;
    }
  }
  .journey {
    gap: 16px 24px;
    & h3 {
      font-size: 21px;
      margin-top: 28px;
    }
    & p {
      font-size: 13px;
    }
  }
  .document-sheet {
    max-width: 280px;
  }
  .document-art {
    min-height: 410px;
  }
  .document-sheet strong {
    font-size: 34px;
  }
  .document-sheet b {
    font-size: 7px;
  }
  .document-feature {
    gap: 25px;
    & .check-list li {
      font-size: 14px;
    }
  }
  .pipeline {
    grid-template-columns: 1fr;
    gap: 2px;
    & li {
      padding: 25px;
      display: grid;
      grid-template-columns: 30px 1fr;
      gap: 10px;
    }
    & h3 {
      margin: 0;
      font-size: 21px;
    }
    & p {
      grid-column: 2;
      margin-top: 0;
    }
  }
  .stack-directory > div {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-block: 23px;
  }
  .stack-directory h3 {
    font-size: 18px;
  }
  .stack-directory .tag-line span {
    padding: 8px 10px;
  }
  .anchor-pills {
    gap: 8px;
    & a {
      font-size: 11px;
      padding: 11px 13px;
    }
  }
  .service-chapter {
    grid-template-columns: 28px 1fr;
    gap: 16px;
  }
  .chapter-number {
    font-size: 22px;
  }
  .service-chapter h3 {
    font-size: 25px;
  }
  .service-chapter .check-list li {
    font-size: 13px;
  }
  .service-chapter .tag-line {
    gap: 6px;
    & span {
      font-size: 9px;
    }
  }
  .review-console {
    padding: 20px;
  }
  .console-top {
    font-size: 8px;
  }
  .role-directory article {
    grid-template-columns: 50px 1fr;
  }
  .role-monogram {
    width: 50px;
    height: 65px;
    font-size: 20px;
  }
  .role-directory h3 {
    font-size: 22px;
  }
  .role-directory .caption {
    font-size: 9px;
  }
  .kanban {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 20px;
    & > div > span {
      margin: 8px 0 16px;
    }
    & article {
      padding: 16px;
    }
  }
  .risk-accordion summary {
    font-size: 18px;
    padding-block: 23px;
  }
  .risk-accordion p {
    font-size: 14px;
  }
  .legal-strip {
    padding: 28px 24px;
    border-radius: 20px;
    margin-top: 42px;
    & h3 {
      font-size: 28px;
    }
    & h2 {
      font-size: 33px;
    }
    & p {
      font-size: 14px;
    }
  }
  .case-catalog {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .catalog-case:first-child {
    grid-column: auto;
  }
  .catalog-case:first-child .product-art,
  .catalog-case .product-art {
    min-height: 320px;
  }
  .catalog-case-copy {
    padding: 20px 24px 26px;
  }
  .catalog-case h2 {
    font-size: 29px;
  }
  .filter-group button {
    padding: 10px 13px;
    font-size: 11px;
  }
  .filter-group {
    gap: 7px;
  }
  .editor-note {
    padding: 15px 18px;
    font-size: 12px;
  }
  .nda-feature {
    padding: 30px 24px;
    & h2 {
      font-size: 33px;
    }
    & p {
      font-size: 14px;
    }
  }
  .case-story-block h2 {
    font-size: 28px;
  }
  .case-story-block .check-list li {
    font-size: 15px;
  }
  .case-result {
    padding: 28px 24px;
    & h2 {
      font-size: 30px;
    }
    & p {
      font-size: 15px;
    }
  }
  .model-core h3 {
    font-size: 30px;
  }
  .manifesto p {
    font-size: 16px;
  }
  .operating-lines > div {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .operating-lines strong {
    font-size: 23px;
  }
  .document-list h3 {
    font-size: 23px;
  }
  .deliverables {
    padding: 25px;
  }
  .meeting-panel {
    padding: 30px 24px;
    & h3 {
      font-size: 30px;
    }
  }
  .partnership-split article {
    padding: 30px 24px;
  }
  .standalone-form {
    padding: 26px 20px;
    & .form-row {
      grid-template-columns: 1fr;
      gap: 0;
    }
  }
  .application-aside h3 {
    font-size: 30px;
  }
  .wizard-step legend {
    font-size: 22px;
  }
  .wizard-progress {
    gap: 10px;
    & small {
      font-size: 9px;
    }
  }
  .wizard-options label > span {
    padding: 14px;
    font-size: 12px;
  }
  .wizard-controls .button {
    font-size: 11px;
    padding: 10px 14px;
  }
  .wizard-counter {
    font-size: 9px;
  }
  .brief-wizard {
    padding-bottom: 24px;
  }
  .phone-device {
    width: 190px;
  }
  .phone-map {
    height: 90px;
  }
  .floating-note {
    right: 3%;
    padding: 12px;
    font-size: 10px;
    & span {
      font-size: 7px;
    }
  }
  .browser-mock {
    width: 94%;
  }
  .mock-body {
    grid-template-columns: 32px 1fr;
  }
  .mock-nav {
    padding: 12px 9px;
  }
  .mock-main {
    padding: 18px 12px;
  }
  .mock-summary {
    gap: 8px;
    margin-block: 20px;
    & > div {
      padding: 12px 9px;
    }
    & b {
      font-size: 13px;
    }
  }
  .mock-title strong {
    font-size: 12px;
  }
  .mock-table > div {
    font-size: 7px;
    gap: 6px;
  }
  .signal-heading strong {
    font-size: 27px;
  }
  .signal-chart {
    gap: 6px;
  }
  .mock-foot {
    font-size: 7px;
    padding: 16px;
  }
  .art-caption {
    left: 20px;
    top: 18px;
    font-size: 7px;
  }
  .multipage {
    & .form-row {
      grid-template-columns: 1fr;
    }
    & .site-footer {
      padding-top: 60px;
    }
  }
  .prose h2 {
    font-size: 27px;
  }
  .prose p {
    font-size: 15px;
  }
}
/* Адаптация для (width <= 359px). */
@media (width <= 359px) {
  .page-hero h1,
  .has-art h1 {
    font-size: 36px;
  }
  .multipage {
    & h2 {
      font-size: 31px;
    }
    & .hero h1 {
      font-size: 30px;
    }
  }
  .journey {
    grid-template-columns: 1fr;
  }
  .case-feature-copy h3 {
    font-size: 26px;
  }
  .wizard-counter {
    display: none;
  }
  .service-feature h3 {
    font-size: 29px;
  }
  .role-directory h3 {
    font-size: 20px;
  }
  .document-sheet strong {
    font-size: 30px;
  }
}
/* Сокращение движения по настройке пользователя. */
@media (prefers-reduced-motion: reduce) {
  .multipage * {
    scroll-behavior: auto !important;
  }
  .catalog-case:hover {
    transform: none;
  }
}

body[data-page='services'] {
  &
    :is(
      .services-architecture,
      .services-catalog-feature,
      .services-format-featured
    ).glass::before {
    display: none;
  }
  & :is(#directions, #formats, #stack, #delivery) {
    scroll-margin-top: 105px;
  }
  & .services-hero {
    padding-bottom: clamp(74px, 7vw, 120px);
  }
}

.services-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(50px, 6vw, 110px);
  align-items: center;
}

body[data-page='services'] {
  & .services-hero h1 {
    max-width: 820px;
    font-size: clamp(42px, 3.7vw, 70px);
    line-height: 1.08;
  }
  & .services-hero .page-hero-copy > p {
    max-width: 570px;
  }
}

.services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
}

.services-architecture {
  min-width: 0;
  padding: clamp(22px, 2.2vw, 36px);
  border: 1px solid var(--line);
  border-top-color: var(--line-blue);
  border-radius: 28px;
  overflow: hidden;
}

.services-architecture-head,
.services-architecture-foot {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--steel);
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.09em;
}

.services-architecture-head > span:last-child {
  color: var(--ray);
}

.services-architecture-body {
  position: relative;
  display: grid;
  gap: 8px;
  padding: clamp(24px, 2.4vw, 40px) 5%;
  isolation: isolate;
  &::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 12%;
    bottom: 12%;
    left: 50%;
    width: 1px;
    background: linear-gradient(
      transparent,
      rgba(0, 102, 255, 0.72),
      transparent
    );
    box-shadow: 0 0 18px rgba(0, 102, 255, 0.55);
  }
}

.services-architecture-layer {
  position: relative;
  min-width: 0;
  padding: clamp(15px, 1.5vw, 24px);
  border: 1px solid var(--line);
  border-left-color: rgba(0, 102, 255, 0.56);
  border-radius: 13px;
  background: rgba(4, 6, 12, 0.87);
  &::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 12%;
    right: 38%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(0, 102, 255, 0.6),
      transparent
    );
  }
}

.services-architecture-interface {
  width: 83%;
}

.services-architecture-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-left: 9%;
}

.services-architecture-foundation {
  width: 83%;
  margin-left: auto;
}

.services-architecture-code {
  display: block;
  margin-bottom: 7px;
  color: var(--ray);
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.06em;
}

.services-architecture-layer strong {
  display: block;
  color: var(--color-white, #fff);
  font-size: clamp(18px, 1.45vw, 25px);
  font-weight: 550;
  line-height: 1.2;
}

.services-architecture-layer small {
  display: block;
  margin-top: 5px;
  color: var(--steel);
  font-size: 12px;
  line-height: 1.5;
}

.services-architecture-layer i {
  position: absolute;
  right: 24px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ray);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.65);
}

.services-architecture-foundation i {
  display: none;
}

.services-architecture-foot {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  letter-spacing: 0;
}

.services-quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 26px;
  margin: 0 0 clamp(42px, 5vw, 70px);
  border-top: 1px solid var(--line);
  & a {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr) 16px;
    gap: 10px;
    align-items: center;
    min-height: 64px;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--color-white, #fff);
    font-size: 14px;
    transition:
      color 0.2s,
      background 0.2s;
  }
  & a:hover,
  & a:focus-visible {
    color: var(--ray);
    background: rgba(0, 102, 255, 0.045);
  }
  & a > span {
    color: var(--ray);
    font: 11px var(--mono);
  }
  & a > span:last-child {
    justify-self: end;
    font-size: 17px;
  }
}

.services-catalog {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: stretch;
}

.services-catalog-feature {
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  overflow: hidden;
}

.services-catalog-feature-copy {
  padding: clamp(26px, 3vw, 44px);
}

.services-catalog-feature h3 {
  margin: 16px 0;
  font-size: clamp(28px, 2.7vw, 45px);
}

.services-catalog-feature p {
  max-width: 570px;
  font-size: 15px;
}

.services-feature-outputs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 8px;
  & span {
    padding: 8px 10px;
    border: 1px solid var(--line-blue);
    border-radius: 7px;
    color: var(--steel);
    font-size: 11px;
    line-height: 1.4;
  }
}

.services-catalog-feature .product-art {
  flex: 1;
  min-height: clamp(280px, 23vw, 420px);
}

.services-catalog-list {
  border-top: 1px solid var(--line);
}

.services-catalog-list-label {
  display: block;
  padding: 10px 0 0;
  color: var(--steel);
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.1em;
}
/* Элемент списка: цвет и поверхность; прокрутка и переполнение. */
.services-catalog-item {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
  & summary {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 25px;
    gap: 18px;
    align-items: start;
    padding: clamp(22px, 2.3vw, 36px) 0;
    cursor: pointer;
    list-style: none;
  }
  & summary::-webkit-details-marker {
    display: none;
  }
}

.services-catalog-number {
  color: var(--ray);
  font: 12px/1.6 var(--mono);
}

.services-catalog-name strong {
  display: block;
  color: var(--color-white, #fff);
  font-size: clamp(20px, 1.7vw, 27px);
  font-weight: 550;
  line-height: 1.25;
  transition: color 0.2s;
}

.services-catalog-name small {
  display: block;
  margin-top: 10px;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.6;
}

.services-catalog-toggle {
  color: var(--ray);
  font-size: 23px;
  line-height: 1;
  transition: transform 0.2s;
}
/* .services-catalog-item[open] .services-catalog-toggle: движение и переходы. */
.services-catalog-item[open] .services-catalog-toggle {
  transform: rotate(45deg);
}

.services-catalog-item summary:hover .services-catalog-name strong,
.services-catalog-item summary:focus-visible .services-catalog-name strong,
.services-catalog-item[open] .services-catalog-name strong {
  color: var(--ray);
}

.services-catalog-detail {
  padding: 0 30px 26px 48px;
  & > p {
    max-width: 590px;
    margin: 0 0 16px;
    font-size: 14px;
  }
  & ul {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
  }
  & li {
    position: relative;
    padding: 6px 0 6px 15px;
    color: var(--ice);
    font-size: 13px;
    line-height: 1.55;
  }
  & li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ray);
  }
}

.services-format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  align-items: stretch;
}

.services-format {
  padding: clamp(28px, 3vw, 45px);
  border-top: 1px solid var(--line-blue);
}

.services-format-featured {
  border: 1px solid var(--line);
  border-top-color: var(--ray);
  border-radius: 25px;
}

.services-format-index {
  color: var(--ray);
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.1em;
}

.services-format h3 {
  margin: 20px 0 12px;
  font-size: clamp(27px, 2.6vw, 39px);
}

.services-format > p {
  min-height: 54px;
  max-width: 510px;
  margin-bottom: 28px;
  font-size: 14px;
}

.services-format dl {
  margin: 0;
  & > div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    padding: 15px 0;
    border-top: 1px solid var(--line);
  }
}

.services-format dt {
  color: var(--ray);
  font-size: 12px;
}

.services-format dd {
  margin: 0;
  color: var(--ice);
  font-size: 13px;
  line-height: 1.6;
}

.services-format > .text-link {
  margin-top: 18px;
}

body[data-page='services'] {
  & .services-format > .button {
    min-width: 210px;
    margin-top: 28px;
  }
  & .services-format > .button-secondary {
    border-color: var(--blue);
    background: rgba(0, 102, 255, 0.09);
    color: var(--color-white, #fff);
  }
}

.services-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-blue);
}

.services-tech-column {
  min-width: 0;
  padding: clamp(25px, 3vw, 44px);
  &:nth-child(2) {
    background: radial-gradient(
      ellipse at 50% 8%,
      rgba(0, 102, 255, 0.1),
      transparent 68%
    );
  }
  & + .services-tech-column {
    border-left: 1px solid var(--line);
  }
}

.services-tech-heading {
  min-height: 170px;
  & > span {
    color: var(--ray);
    font: 11px/1.4 var(--mono);
  }
  & h3 {
    margin: 18px 0 12px;
    font-size: clamp(28px, 2.3vw, 39px);
  }
  & p {
    max-width: 300px;
    font-size: 14px;
  }
}

.services-tech-category {
  position: relative;
  min-height: 200px;
  padding: 25px 0 32px;
  border-top: 1px solid var(--line);
  & h4 {
    margin: 0 0 20px;
    color: var(--color-white, #fff);
    font-size: 17px;
    font-weight: 550;
    transition: color 0.25s;
  }
  & ul {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 17px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  & li {
    color: var(--steel);
    font-size: 14px;
    line-height: 1.5;
  }
  & li:not(:last-child)::after {
    content: '·';
    margin-left: 17px;
    color: var(--ray);
  }
}

body[data-page='services'] #delivery .pipeline {
  margin-bottom: 32px;
}
/* Адаптация для (hover: hover) and (pointer: fine). */
@media (hover: hover) and (pointer: fine) {
  .services-catalog-item summary,
  .services-quick-links a,
  .services-tech-category {
    position: relative;
  }
  .services-catalog-item summary::before,
  .services-quick-links a::before,
  .services-tech-category::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(
      ellipse at 88% 50%,
      rgba(0, 102, 255, 0.23),
      transparent 52%
    );
    transition: opacity 0.28s ease-out;
  }
  .services-catalog-item summary::after,
  .services-quick-links a::after,
  .services-tech-category::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 2px;
    pointer-events: none;
    opacity: 0;
    transform: scaleX(0.16);
    transform-origin: right;
    background: linear-gradient(
      90deg,
      transparent 3%,
      rgba(0, 102, 255, 0.55) 42%,
      var(--ray) 85%,
      transparent
    );
    box-shadow: 0 0 23px rgba(0, 102, 255, 0.9);
    transition:
      opacity 0.25s,
      transform 0.38s var(--ease);
  }
  .services-tech-category::after {
    top: 0;
    bottom: auto;
  }
  :is(
      .services-catalog-item summary,
      .services-quick-links a,
      .services-tech-category
    ):is(:hover, :focus-visible, :focus-within)::before,
  :is(
      .services-catalog-item summary,
      .services-quick-links a,
      .services-tech-category
    ):is(:hover, :focus-visible, :focus-within)::after {
    opacity: 1;
    transform: scaleX(1);
  }
  .services-tech-category:hover h4 {
    color: var(--ray);
  }
}
/* Сокращение движения по настройке пользователя. */
@media (prefers-reduced-motion: reduce) {
  :is(
    .services-catalog-item summary,
    .services-quick-links a,
    .services-tech-category
  )::before,
  :is(
    .services-catalog-item summary,
    .services-quick-links a,
    .services-tech-category
  )::after {
    transition: none;
  }
}
/* Адаптация для (width >= 1800px). */
@media (width >= 1800px) {
  .services-architecture-head,
  .services-architecture-foot {
    font-size: 12px;
  }
  .services-architecture-body {
    gap: 18px;
  }
  .services-architecture-split {
    gap: 18px;
  }
  .services-architecture-layer {
    padding: 34px;
    & strong {
      font-size: 29px;
    }
    & small {
      font-size: 16px;
    }
  }
  .services-quick-links a {
    min-height: 76px;
    font-size: 17px;
  }
  .services-catalog-feature h3 {
    font-size: 52px;
  }
  .services-catalog-feature p {
    font-size: 18px;
  }
  .services-feature-outputs span {
    font-size: 13px;
  }
  .services-catalog-name strong {
    font-size: 31px;
  }
  .services-catalog-name small,
  .services-catalog-detail > p {
    font-size: 17px;
  }
  .services-catalog-detail li {
    font-size: 16px;
  }
  .services-format h3 {
    font-size: 44px;
  }
  .services-format > p {
    font-size: 17px;
  }
  .services-format dl > div {
    grid-template-columns: 150px minmax(0, 1fr);
    padding-block: 20px;
  }
  .services-format dt {
    font-size: 14px;
  }
  .services-format dd {
    font-size: 16px;
  }
  .services-tech-heading {
    min-height: 220px;
  }
  .services-tech-category {
    min-height: 250px;
    & h4 {
      font-size: 22px;
    }
    & li {
      font-size: 17px;
    }
  }
}
/* Адаптация для (width <= 1100px). */
@media (width <= 1100px) {
  .services-hero-layout,
  .services-catalog {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .services-architecture {
    max-width: 850px;
  }
  .services-quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .services-tech-grid {
    grid-template-columns: 1fr;
  }
  .services-tech-column {
    padding: 28px 0;
    & + .services-tech-column {
      border-left: 0;
      border-top: 1px solid var(--line-blue);
    }
  }
  .services-tech-heading {
    min-height: 0;
    margin-bottom: 30px;
  }
  .services-tech-column {
    display: grid;
    grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 25px;
  }
  .services-tech-category {
    min-height: 0;
  }
}
/* Адаптация для (width <= 700px). */
@media (width <= 700px) {
  body[data-page='services'] .services-hero h1 {
    font-size: clamp(36px, 8vw, 50px);
  }
  .services-quick-links {
    grid-template-columns: 1fr;
  }
  .services-format-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .services-format {
    padding: 28px 4px;
  }
  .services-format-featured {
    padding: 28px 22px;
  }
  .services-format > p {
    min-height: 0;
  }
  .services-tech-column {
    display: block;
  }
  .services-tech-heading {
    margin-bottom: 22px;
  }
  .services-tech-category {
    padding-block: 22px;
  }
}
/* Адаптация для (width <= 480px). */
@media (width <= 480px) {
  .services-architecture {
    padding: 22px 18px;
    border-radius: 21px;
  }
  .services-architecture-head,
  .services-architecture-foot {
    font-size: 9px;
  }
  .services-architecture-body {
    gap: 8px;
    padding: 28px 0;
  }
  .services-architecture-interface,
  .services-architecture-foundation {
    width: 94%;
  }
  .services-architecture-split {
    gap: 8px;
    margin-left: 0;
  }
  .services-architecture-layer {
    padding: 14px 12px;
    & strong {
      font-size: 15px;
    }
    & small {
      font-size: 11px;
    }
  }
  .services-architecture-code {
    font-size: 9px;
  }
  .services-architecture-layer i {
    display: none;
  }
  .services-catalog-item summary {
    grid-template-columns: 25px minmax(0, 1fr) 20px;
    gap: 12px;
  }
  .services-catalog-name strong {
    font-size: 20px;
  }
  .services-catalog-name small {
    font-size: 12px;
  }
  .services-catalog-detail {
    padding-left: 37px;
  }
  .services-format dl > div {
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 12px;
  }
  .services-format dd {
    font-size: 12px;
  }
}

/* Общие размеры текста находятся в src/styles/typography.css. */
body.multipage {
  & .hero h1 {
    font-size: var(--type-hero);
  }
  & .page-hero h1,
  & .has-art h1 {
    font-size: var(--type-h1);
  }
  & h2,
  & .section-heading h2,
  & .legal-strip h2,
  & .prose h2,
  & .case-story-block h2,
  & .case-result h2,
  & .nda-feature h2,
  & .modal-card h2 {
    font-size: var(--type-h2);
  }
  & .service-feature h3,
  & .case-feature h3,
  & .case-feature-copy h3,
  & .catalog-case h2,
  & .document-sheet strong,
  & .signal-heading strong,
  & .legal-strip h3,
  & .model-core h3,
  & .meeting-panel h3,
  & .application-aside h3,
  & .service-chapter h3 {
    font-size: var(--type-feature);
  }
  & .responsibility-points h3,
  & .editorial-rows h3,
  & .service-index h3,
  & .case-side h3,
  & .journey h3,
  & .pipeline h3,
  & .role-directory h3,
  & .review-branches strong,
  & .operating-lines strong,
  & .risk-accordion summary,
  & .wizard-step legend,
  & .comparison thead th,
  & .stack-directory h3,
  & .document-list h3,
  & .empty-state h3,
  & .chapter-number {
    font-size: var(--type-h3);
  }

  & .hero-lead,
  & .page-hero-copy > p,
  & .editor-heading p,
  & .section-intro p,
  & .section-heading > p,
  & .prose p,
  & .manifesto p,
  & .split-story p {
    font-size: var(--type-body);
  }
  & p,
  & .check-list li,
  & .responsibility-points p,
  & .editorial-rows p,
  & .service-feature p,
  & .service-index p,
  & .case-feature p,
  & .case-side p,
  & .journey p,
  & .pipeline p,
  & .role-directory p,
  & .review-branches p,
  & .editor-note,
  & .footer-grid > div:first-child p,
  & .case-detail-layout aside > p {
    font-size: var(--type-small);
  }

  & .desktop-nav :is(a, :where(.portal-header-tab)),
  & .header-cta,
  & .button,
  & .button-large,
  & .hero-proof,
  & .footer-grid nav a,
  & .text-link,
  & .anchor-pills a,
  & .filter-group button,
  & .stage-metrics strong,
  & .flow-step strong,
  & .manager strong,
  & .direct-actions b,
  & .file-trigger strong,
  & .form-row label,
  & .lead-form-card form > label,
  & .standalone-form > label,
  & .standalone-form .form-row > label,
  & input,
  & textarea,
  & select {
    font-size: var(--type-label);
  }

  & .header-phone,
  & .breadcrumbs,
  & .tag-line span,
  & .row-index,
  & .privacy-note,
  & .form-error,
  & .manager small,
  & .direct-actions small,
  & .file-trigger small,
  & .lead-form-card form > label span,
  & .standalone-form > small,
  & .wizard-options label > span,
  & .wizard-summary,
  & .choice-group label > span,
  & .stack-choices label > span,
  & .comparison,
  & .kanban article,
  & .flow-step small {
    font-size: var(--type-meta);
  }

  & .eyebrow,
  & .caption,
  & .footer-caption,
  & .wordmark-copy small,
  & .footer-grid nav strong,
  & .filter-group legend,
  & .filter-count,
  & .responsibility-seal small,
  & .model-core small,
  & .wizard-progress > span,
  & .wizard-progress small,
  & .wizard-counter,
  & .role-directory .caption,
  & .stage-metrics small,
  & .stage-metrics article > span,
  & .system-toolbar strong {
    font-size: var(--type-label);
  }
  & .system-toolbar small,
  & .live-indicator,
  & .flow-step-num,
  & .flow-control span,
  & .system-status,
  & .response-note,
  & .mobile-menu nav a span {
    font-size: var(--type-kicker);
  }
  & .mobile-menu nav a {
    font-size: var(--type-body);
  }

  & .hero-proof {
    color: var(--steel);
  }
  & .wordmark-copy small {
    letter-spacing: 0.08em;
  }
  & .manager em,
  & .footer-bottom,
  & .service-index > a > span:first-child,
  & .journey li > span,
  & .pipeline li > span,
  & .risk-accordion summary > span {
    font-size: var(--type-kicker);
  }
  & .specialist-link {
    color: var(--steel);
  }
}
/* Адаптация для (width <= 639px). */
@media (width <= 639px) {
  body.multipage input,
  body.multipage textarea,
  body.multipage select {
    font-size: 16px;
  }
}

body.multipage {
  & .nda-mark {
    font-size: var(--type-hero);
  }
  & .manifesto-letter {
    font-size: clamp(120px, 10vw, 180px);
  }

  & .art-caption,
  & .mock-toolbar,
  & .mock-table > div,
  & .mock-foot,
  & .mock-summary small,
  & .mock-title > span,
  & .network-hub small,
  & .network-node,
  & .phone-device > small,
  & .phone-task,
  & .phone-task small,
  & .phone-bottom,
  & .floating-note,
  & .floating-note span,
  & .signal-heading small,
  & .document-sheet span,
  & .document-sheet b,
  & .console-top,
  & .console-foot,
  & .kanban > div > span,
  & .kanban small {
    font-size: var(--type-mock);
  }
  & .console-top,
  & .console-foot,
  & .review-branches small,
  & .kanban > div > span,
  & .wizard-options label > span,
  & .choice-group label > span,
  & .stack-choices label > span {
    font-size: var(--type-kicker);
  }
  & .wizard-options label > span,
  & .choice-group label > span,
  & .stack-choices label > span {
    font-size: var(--type-label);
  }
  & .kanban small {
    font-size: var(--type-kicker);
  }

  & .row-index,
  & .journey li > span,
  & .pipeline li > span,
  & .operating-lines > div > span,
  & .service-index > a > span:first-child,
  & .risk-accordion summary > span,
  & .flow-step-num,
  & .stage-metrics article > span {
    font-family: var(--mono);
    font-size: var(--type-index);
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.2;
  }
  & .operating-lines > div {
    grid-template-columns: 3.2em 1fr;
    gap: 20px;
    align-items: baseline;
  }
  & .operating-lines > div > span {
    padding-top: 0;
  }
  & .editorial-rows article {
    grid-template-columns: 2.8em 1fr;
  }
  & .wide-rows article {
    grid-template-columns: 3.2em 1fr;
  }
  & .service-index > a {
    grid-template-columns: 2.8em 1fr 24px;
  }
  & .journey h3 {
    margin-top: 18px;
  }
  & .stage-metrics article > span {
    width: 44px;
    height: 44px;
  }

  & .eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: rgba(214, 224, 236, 0.84);
    font-family: var(--font);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
    -webkit-text-fill-color: rgba(214, 224, 236, 0.84);
    text-shadow: none;
  }
  & .eyebrow > span {
    flex: 0 0 auto;
    width: 22px;
    height: 1px;
    border-radius: 1px;
    background: rgba(70, 130, 255, 0.8);
    box-shadow: none;
    animation: none;
  }
  & .caption {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: rgba(183, 196, 214, 0.72);
    -webkit-text-fill-color: rgba(183, 196, 214, 0.72);
    font-family: var(--font);
    font-size: max(12px, calc(var(--type-category) - 2px));
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
  }
  & .editor-heading .eyebrow,
  & .section-intro .eyebrow,
  & .split-story .eyebrow,
  & .nda-feature .eyebrow {
    margin-bottom: 22px;
  }
}

.home-page {
  & .ecosystem {
    container-type: inline-size;
    scroll-margin-top: 110px;
    position: relative;
    display: block;
    width: min(100%, 640px);
    justify-self: end;
    min-height: 0;
    margin: 0 0 0 auto;
    padding: 0;
    transform: none;
    isolation: isolate;
  }

  & .hero .container {
    width: min(var(--container), calc(100% - 2 * var(--gutter)));
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
  }
}
/* Адаптация для (width >= 960px). */
@media (width >= 960px) {
  .home-page {
    & .hero .container {
      grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
      align-items: center;
      column-gap: clamp(48px, 5vw, 78px);
    }

    & .hero-copy {
      width: 100%;
      justify-self: start;
    }

    & .ecosystem {
      justify-self: end;
      margin: 0;
      width: min(100%, 620px);
    }
  }
}
/* Адаптация для (width >= 1600px). */
@media (width >= 1600px) {
  .home-page {
    & .hero .container {
      grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
      column-gap: clamp(80px, 5vw, 110px);
    }
    & .ecosystem {
      width: min(100%, clamp(760px, 35vw, 1040px));
    }
  }
}
/* Адаптация для (width >= 2200px). */
@media (width >= 2200px) {
  .home-page {
    & .hero .container {
      grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
      column-gap: clamp(90px, 4vw, 120px);
      align-items: start;
    }
    & .hero-copy,
    & .hero h1 {
      max-width: none;
    }
    & .hero-copy {
      display: flex;
      flex-direction: column;
      align-self: stretch;
    }
    /* При масштабировании браузера экран 4K может иметь ширину 2500–2800 CSS-пикселей. */
    & .ecosystem {
      justify-self: center;
    }
  }
}

.home-page {
  & .editorial-section {
    padding-block: clamp(50px, 6vw, 104px);
  }
  & #contact {
    padding-top: 50px;
  }
  & .hero {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    padding-bottom: clamp(20px, 3svh, 36px);
  }
  & .hero-scroll-cue {
    display: none;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: end;
    gap: clamp(14px, 2vw, 28px);
    width: min(var(--container), calc(100% - 2 * var(--gutter)));
    margin: auto auto 0;
    padding-top: clamp(28px, 4svh, 52px);
    color: #9aadc6;
    font: 500 10px/1.5 var(--mono);
    letter-spacing: 0.1em;
  }
  & .hero-scroll-wave {
    display: block;
    width: 100%;
    height: clamp(56px, 3vw, 80px);
    pointer-events: none;
  }
  & .hero-scroll-wave path {
    vector-effect: non-scaling-stroke;
    stroke-width: 1;
  }
  & .hero-scroll-wave-right {
    transform: scaleX(-1);
  }
  & .hero-scroll-center {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    min-height: 44px;
    padding: 6px 10px;
    border-radius: 12px;
    white-space: nowrap;
    transition:
      color 0.2s ease,
      background 0.2s ease;
  }
  & .hero-scroll-center svg {
    width: 32px;
    height: 32px;
    padding: 5px;
    border: 1px solid #6486b65c;
    border-radius: 50%;
    color: #8daaca;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition:
      border-color 0.2s ease,
      color 0.2s ease;
  }
  & .hero-scroll-center:is(:hover, :focus-visible) {
    color: #d4e4f8;
    background: #19355540;
  }
  & .hero-scroll-center:is(:hover, :focus-visible) svg {
    color: #b4d5fb;
    border-color: #8fbbf0;
  }
  & .hero-scroll-center:focus-visible {
    outline: 2px solid #8fbbf0;
    outline-offset: 4px;
  }
}
/* Адаптация для (width >= 1400px) and (min-aspect-ratio: 8/5). */
@media (width >= 1400px) and (min-aspect-ratio: 8/5) {
  .home-page .hero-scroll-cue {
    display: grid;
  }
}
/* Адаптация для (orientation: portrait). */
@media (orientation: portrait) {
  .home-page .hero {
    min-height: 0;
  }
}
/* Адаптация для (width <= 639px). */
@media (width <= 639px) {
  .home-page .hero-scroll-center > span {
    display: none;
  }
}
/* Сокращение движения по настройке пользователя. */
@media (prefers-reduced-motion: reduce) {
  .home-page .hero-scroll-center,
  .home-page .hero-scroll-center svg {
    transition: none;
  }
}
/* Адаптация для (forced-colors: active). */
@media (forced-colors: active) {
  .home-page {
    & .hero-scroll-wave {
      display: none;
    }
    & .hero-scroll-center svg {
      border-color: ButtonText;
    }
  }
}

.home-page .hero-next {
  display: none;
}
/* Адаптация для (width >= 2200px). */
@media (width >= 2200px) {
  .home-page {
    & .hero-next {
      display: block;
      max-width: 700px;
      margin-top: auto;
      padding-top: 30px;
      border-top: 1px solid var(--line);
    }
    & .hero-next > span {
      display: block;
      color: var(--ray);
      font: 500 12px/1.5 var(--mono);
      letter-spacing: 0.08em;
    }
    & .hero-next p {
      max-width: 660px;
      margin: 14px 0 20px;
      color: var(--steel);
      font-size: 17px;
      line-height: 1.65;
    }
    & .hero-next a {
      display: inline-flex;
      gap: 16px;
      align-items: center;
      color: var(--white);
      font-size: 15px;
    }
    & .hero-next a span {
      color: var(--ray);
    }
    & .hero-next a:hover {
      color: var(--ray);
    }
  }
}
/* Адаптация для (width >= 960px) and (width <= 1279px). */
@media (width >= 960px) and (width <= 1279px) {
  .home-page {
    & .hero h1 {
      font-size: clamp(38px, 4vw, 48px);
    }
    & .hero-lead {
      font-size: clamp(15px, 1.35vw, 16px);
    }
    & .hero-proof {
      margin-top: 26px;
    }
    & .hero-actions {
      margin-top: 26px;
    }
  }
}
/* Адаптация для (width <= 959px). */
@media (width <= 959px) {
  .home-page {
    & .hero .container {
      grid-template-columns: minmax(0, 1fr);
      gap: clamp(34px, 5vw, 60px);
    }
    & .hero-copy,
    & .ecosystem {
      width: 100%;
      max-width: none;
      justify-self: stretch;
    }
    & .ecosystem {
      margin: 0;
    }
  }
}
/* Адаптация для (width <= 639px). */
@media (width <= 639px) {
  .home-page {
    & .hero {
      padding-top: 96px;
    }
    & .hero .container {
      gap: 26px;
    }
    & .hero h1 {
      margin: 18px 0 20px;
    }
    & .hero-lead {
      line-height: 1.55;
    }
    & .hero-actions {
      margin-top: 24px;
      gap: 10px;
    }
    & .hero-proof {
      margin-top: 22px;
      gap: 7px;
    }
  }
}

/* .anchor-pills a:hover, .filter-group button[aria-pressed='true'], .cho: состояние при наведении. */
.anchor-pills a:hover,
.filter-group button[aria-pressed='true'],
.choice-group input:checked + span,
.stack-choices input:checked + span,
.wizard-options input:checked + span {
  border-color: var(--blue);
  background-color: var(--tint);
}

/* Подсветка закреплена на краю строки и не смещается за указателем. */
@media (hover: hover) and (pointer: fine) {
  :is(
    .responsibility-points li,
    .service-index > a:not(.all-services),
    .case-side > a:not(.text-link),
    .journey li,
    .editorial-rows article,
    .check-list li,
    .stack-directory > div,
    .service-chapter,
    .role-directory article,
    .operating-lines > div,
    .document-list article,
    .pipeline li,
    .risk-accordion summary
  ) {
    position: relative;

    &::after {
      content: '';
      position: absolute;
      inset-inline: 0;
      bottom: 0;
      height: 2px;
      pointer-events: none;
      opacity: 0;
      transform: scaleX(0.15);
      transform-origin: left center;
      background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 102, 255, 0.8) 18%,
        var(--ray) 58%,
        rgba(0, 102, 255, 0.7) 86%,
        transparent
      );
      filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.9));
      transition:
        transform 0.4s var(--ease),
        opacity 0.24s ease-out;
    }
  }

  :is(
    .case-side > a:not(.text-link),
    .journey li,
    .editorial-rows article,
    .stack-directory > div,
    .service-chapter,
    .operating-lines > div,
    .document-list article
  )::after {
    top: 0;
    bottom: auto;
  }

  :is(
      .responsibility-points li,
      .service-index > a:not(.all-services),
      .case-side > a:not(.text-link),
      .journey li,
      .editorial-rows article,
      .check-list li,
      .stack-directory > div,
      .service-chapter,
      .role-directory article,
      .operating-lines > div,
      .document-list article,
      .pipeline li,
      .risk-accordion summary
    ):is(:hover, :focus-within)::after {
    opacity: 1;
    transform: scaleX(1);
  }

  :is(
    .responsibility-points h3,
    .service-index h3,
    .case-side h3,
    .journey h3,
    .editorial-rows h3,
    .stack-directory h3,
    .service-chapter h3,
    .role-directory h3,
    .document-list h3,
    .pipeline h3,
    .operating-lines strong,
    .risk-accordion summary,
    .check-list li
  ) {
    transition: color 0.24s ease-out;
  }

  :is(
    .responsibility-points li:hover h3,
    .service-index > a:hover h3,
    .case-side > a:hover h3,
    .journey li:hover h3,
    .editorial-rows article:hover h3,
    .stack-directory > div:hover h3,
    .service-chapter:hover h3,
    .role-directory article:hover h3,
    .document-list article:hover h3,
    .pipeline li:hover h3,
    .operating-lines > div:hover strong,
    .risk-accordion summary:hover,
    .check-list li:hover,
    .service-index > a:focus-visible h3,
    .case-side > a:focus-visible h3,
    .risk-accordion summary:focus-visible
  ) {
    color: var(--ray);
    text-shadow: 0 0 16px rgba(0, 102, 255, 0.3);
  }
}

/* Сокращение движения по настройке пользователя. */
@media (prefers-reduced-motion: reduce) {
  :is(
    .responsibility-points li,
    .service-index > a,
    .case-side > a,
    .journey li,
    .editorial-rows article,
    .check-list li,
    .stack-directory > div,
    .service-chapter,
    .role-directory article,
    .operating-lines > div,
    .document-list article,
    .pipeline li,
    .risk-accordion summary
  )::after {
    transition: none;
  }
}
