html[data-theme="dark"] body.home-page .contacts-page-card,
body.home-page[data-theme="dark"] .contacts-page-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] body.home-page .contacts-page-card-icon,
body.home-page[data-theme="dark"] .contacts-page-card-icon {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] body.home-page .contacts-page-card-link,
body.home-page[data-theme="dark"] .contacts-page-card-link {
  background: #fff;
  color: #101010;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] body.home-page .features-model-item:has(.features-model-item-stretched-link):hover,
body.home-page[data-theme="dark"] .features-model-item:has(.features-model-item-stretched-link):hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 88px rgba(0, 0, 0, 0.36);
}

html[data-theme="dark"] body.home-page .features-model-item,
body.home-page[data-theme="dark"] .features-model-item {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] body.home-page a.features-model-item:hover,
body.home-page[data-theme="dark"] a.features-model-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 88px rgba(0, 0, 0, 0.36);
}

html[data-theme="dark"] body.home-page a.features-model-tag,
body.home-page[data-theme="dark"] a.features-model-tag {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] body.home-page a.features-model-tag:hover,
body.home-page[data-theme="dark"] a.features-model-tag:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] body.home-page .features-model-image--placeholder,
body.home-page[data-theme="dark"] .features-model-image--placeholder {
  background: rgba(255, 255, 255, 0.08);
}

.features-page-content {
  padding-top: clamp(13px, 1.8cqw, 24px);
}

.features-page-content > h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(42px, 4.2cqw, 56px);
  font-weight: 500;
  line-height: 1.08;
}

.features-page-subtitle {
  margin: 16px 0 0;
  color: inherit;
  font-size: clamp(18px, 1.55cqw, 20px);
  font-weight: 400;
  line-height: 1.35;
  opacity: 0.7;
}

.offer-page-body {
  margin-top: clamp(32px, 4cqw, 48px);
  max-width: 820px;
}

.legal-document-layout {
  display: grid;
  grid-template-columns: minmax(148px, 196px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 2.8cqw, 40px);
  margin-top: clamp(32px, 4cqw, 48px);
}

.legal-document-layout .offer-page-body {
  margin-top: 0;
}

.legal-document-nav {
  min-height: 0;
}

.legal-document-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  scrollbar-color: rgba(16, 16, 16, 0.22) transparent;
  scrollbar-width: thin;
}

.legal-document-nav-inner::-webkit-scrollbar {
  width: 4px;
}

.legal-document-nav-inner::-webkit-scrollbar-track {
  background: transparent;
}

.legal-document-nav-inner::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.2);
}

.legal-document-nav-inner::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 16, 16, 0.34);
}

.legal-document-nav-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.legal-document-nav-heading {
  margin: 0 0 6px;
  padding: 0 10px 0 12px;
  color: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.legal-document-nav-link {
  display: block;
  margin: 0;
  padding: 7px 10px 7px 12px;
  border-left: 2px solid transparent;
  border-radius: 0 8px 8px 0;
  color: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  opacity: 0.58;
  text-decoration: none;
  transition: opacity 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.legal-document-nav-link.is-active {
  border-left-color: currentColor;
  font-weight: 500;
  opacity: 1;
}

html[data-theme="dark"] body.home-page .legal-document-nav-link.is-active,
body.home-page[data-theme="dark"] .legal-document-nav-link.is-active {
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] body.home-page .legal-document-nav-inner,
body.home-page[data-theme="dark"] .legal-document-nav-inner {
  scrollbar-color: rgba(255, 255, 255, 0.24) transparent;
}

html[data-theme="dark"] body.home-page .legal-document-nav-inner::-webkit-scrollbar-thumb,
body.home-page[data-theme="dark"] .legal-document-nav-inner::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
}

html[data-theme="dark"] body.home-page .legal-document-nav-inner::-webkit-scrollbar-thumb:hover,
body.home-page[data-theme="dark"] .legal-document-nav-inner::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.36);
}

html:not([data-theme="dark"]) body.home-page .legal-document-nav-link.is-active,
body.home-page:not([data-theme="dark"]) .legal-document-nav-link.is-active {
  background: rgba(16, 16, 16, 0.04);
}

@media (hover: hover) {
  .legal-document-nav-link:hover,
  .legal-document-nav-link:focus-visible {
    opacity: 0.82;
  }

  .legal-document-nav-link.is-active:hover,
  .legal-document-nav-link.is-active:focus-visible {
    opacity: 1;
  }
}

@media (min-width: 1081px) {
  .legal-document-nav {
    align-self: stretch;
  }

  .legal-document-nav-inner {
    position: sticky;
    top: 88px;
    z-index: 5;
    max-height: calc(100vh - 104px);
    overflow: auto;
    padding: 4px 0 12px;
  }
}

@media (max-width: 1080px) {
  .legal-document-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* На мобильных legal-документы читаются сплошным потоком, как docs-блоки операций. */
  .legal-document-nav {
    display: none;
  }
}

.offer-page-edition {
  margin: 0 0 clamp(24px, 3cqw, 32px);
  color: inherit;
  font-size: clamp(15px, 1.35cqw, 18px);
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.68;
}

.legal-document {
  color: inherit;
}

.legal-document p {
  margin: 0 0 0.95rem;
  font-size: clamp(15px, 1.35cqw, 17px);
  font-weight: 400;
  line-height: 1.62;
  opacity: 0.82;
}

.legal-document .offer-section-title {
  margin: clamp(28px, 3.2cqw, 40px) 0 14px;
  color: inherit;
  font-size: clamp(20px, 1.9cqw, 26px);
  font-weight: 500;
  line-height: 1.2;
  scroll-margin-top: 96px;
}

.legal-document .offer-section-title:first-child {
  margin-top: 0;
}

.legal-document a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-document a:hover {
  opacity: 0.72;
}

.contacts-page-body {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 5cqw, 64px);
}

.contacts-page-card {
  display: flex;
  width: min(100%, 460px);
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  border: 1px solid rgba(16, 16, 16, 0.08);
  border-radius: 22px;
  padding: clamp(32px, 4cqw, 44px) clamp(28px, 3.5cqw, 40px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 80px rgba(16, 16, 16, 0.08);
  text-align: center;
}

.contacts-page-card-icon {
  display: flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(16, 16, 16, 0.06);
  color: inherit;
  opacity: 0.72;
}

.contacts-page-card-title {
  margin: 22px 0 0;
  color: inherit;
  font-size: clamp(22px, 2.1cqw, 28px);
  font-weight: 500;
  line-height: 1.15;
}

.contacts-page-card-text {
  margin: 14px 0 0;
  max-width: 34ch;
  color: inherit;
  font-size: clamp(15px, 1.35cqw, 17px);
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.68;
}

.contacts-page-card-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  border-radius: 999px;
  padding: 0 24px;
  background: #101010;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease,
    box-shadow 0.15s ease;
  box-shadow: 0 12px 32px rgba(16, 16, 16, 0.16);
}

.contacts-page-card-link:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.contacts-page-card-link-icon {
  flex: 0 0 auto;
}

.features-model-section {
  margin-top: clamp(43px, 4.7cqw, 64px);
}

.features-model-section h2 {
  margin: 0 0 26px;
  color: inherit;
  font-size: clamp(24px, 2.3cqw, 32px);
  font-weight: 500;
  line-height: 1.1;
}

.features-model-list {
  display: grid;
  gap: 14px;
}

.features-model-item {
  position: relative;
  display: grid;
  grid-template-columns: clamp(112px, 13cqw, 168px) minmax(0, 1fr);
  gap: clamp(18px, 2.6cqw, 34px);
  align-items: center;
  border: 1px solid rgba(16, 16, 16, 0.08);
  border-radius: 18px;
  padding: clamp(14px, 1.55cqw, 20px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 80px rgba(16, 16, 16, 0.08);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.features-model-item-stretched-link {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
}

.features-model-item:has(.features-model-item-stretched-link):hover {
  border-color: rgba(16, 16, 16, 0.16);
  box-shadow: 0 28px 88px rgba(16, 16, 16, 0.11);
}

.features-model-image,
.features-model-copy {
  position: relative;
  z-index: 1;
}

.features-model-tags {
  position: relative;
  z-index: 2;
}

.features-model-section-link {
  color: inherit;
  text-decoration: none;
}

.features-model-title-link {
  color: inherit;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
.features-model-section-link:hover,
  .features-model-section-link:focus-visible,
  .features-model-title-link:hover,
  .features-model-title-link:focus-visible {
    opacity: 0.72;
  }
}

a.features-model-item {
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

a.features-model-item:hover {
  border-color: rgba(16, 16, 16, 0.16);
  box-shadow: 0 28px 88px rgba(16, 16, 16, 0.11);
}

.features-model-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  object-fit: cover;
  object-position: top center;
}

.features-model-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(112px, auto);
  column-gap: clamp(18px, 3cqw, 44px);
  align-items: center;
  min-width: 0;
}

.features-model-heading {
  display: flex;
  grid-column: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.features-model-brand-icon {
  display: block;
  width: clamp(24px, 2.2cqw, 30px);
  height: clamp(24px, 2.2cqw, 30px);
  flex: 0 0 auto;
  background: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.features-model-copy h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(20px, 2cqw, 28px);
  font-weight: 500;
  line-height: 1.14;
}

.features-model-copy p {
  grid-column: 1;
  max-width: 620px;
  margin: 10px 0 0;
  color: inherit;
  font-size: clamp(15px, 1.35cqw, 18px);
  font-weight: 400;
  line-height: 1.38;
  opacity: 0.68;
}

.features-model-description--empty {
  display: none;
}

.features-model-tags {
  display: flex;
  grid-column: 1;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

a.features-model-tag {
  display: inline-block;
  border: 1px solid rgba(16, 16, 16, 0.14);
  border-radius: 999px;
  padding: 5px 12px;
  background: rgba(16, 16, 16, 0.05);
  color: inherit;
  font-size: clamp(12px, 1.05cqw, 14px);
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

a.features-model-tag:hover {
  border-color: rgba(16, 16, 16, 0.28);
  background: rgba(16, 16, 16, 0.1);
  box-shadow: 0 1px 4px rgba(16, 16, 16, 0.08);
}

a.features-model-tag strong {
  font-weight: 600;
}

.features-model-image--placeholder {
  background: rgba(16, 16, 16, 0.08);
}

.features-model-list-message {
  margin: 0;
  color: inherit;
  font-size: clamp(15px, 1.35cqw, 18px);
  line-height: 1.38;
  opacity: 0.68;
}

.features-model-price {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 3;
  grid-template-columns: auto auto;
  column-gap: 6px;
  align-items: baseline;
  justify-content: center;
  color: inherit;
  padding-right: clamp(10px, 1.8cqw, 28px);
  text-align: right;
}

.features-model-price-prefix {
  font-size: clamp(13px, 1.1cqw, 16px);
  font-weight: 400;
  line-height: 1.1;
  opacity: 0.48;
}

.features-model-price-amount {
  font-size: clamp(19px, 2cqw, 27px);
  font-weight: 500;
  line-height: 0.95;
}

@media (max-width: 760px) {
.features-page-content {
    padding-top: 17px;
  }

.features-model-section {
    margin-top: 36px;
  }

.features-model-item {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
.features-page-content > h1 {
    font-size: 38px;
  }

.features-model-section h2 {
    margin-bottom: 20px;
    font-size: 24px;
  }

.features-model-item {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    padding: 10px;
  }

.features-model-heading {
    gap: 8px;
  }

.features-model-copy h3 {
    font-size: 19px;
    line-height: 1.12;
  }

.features-model-copy {
    grid-template-columns: 1fr;
    row-gap: 8px;
    align-self: center;
  }

.features-model-copy p {
    margin-top: 1px;
    font-size: 14px;
    line-height: 1.34;
  }

.features-model-tags {
    margin-top: 8px;
    gap: 6px;
  }

.features-model-tag {
    padding: 4px 10px;
    font-size: 12px;
  }

.features-model-price {
    grid-column: 1;
    grid-row: auto;
    column-gap: 4px;
    justify-content: start;
    padding-right: 0;
    text-align: left;
  }

.features-model-price-prefix {
    font-size: 12px;
  }

.features-model-price-amount {
    font-size: 16px;
    line-height: 1;
  }
}
