/* 1. Основа. Цвета и размеры удобно менять здесь. */
:root {
  --blue: #255af6;
  --blue-dark: #1644ce;
  --ink: #171a24;
  --muted: #646975;
  --paper: #f2f3f6;
  --line: #d8dce5;
  --page-width: 1280px;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
body.modal-open {
  overflow: hidden;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
img,
video {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 700;
}
h2 {
  font-size: clamp(40px, 4.2vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}
h3 {
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
::selection {
  background: #cbd8ff;
  color: #151c39;
}
:focus-visible {
  outline: 3px solid #fa8a44;
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.container {
  max-width: calc(var(--page-width) + 96px);
  margin: 0 auto;
  padding: 0 48px;
}
.section {
  padding: 106px 0;
}
.eyebrow {
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 15px;
  padding: 10px 20px;
  background: white;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 16px 25px;
  background: var(--blue);
  color: white;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  border-radius: 5px;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.button-primary {
  box-shadow: 0 6px 20px #255af626;
}
.button .icon {
  transition: transform 0.2s;
}
.button:hover .icon:last-child {
  transform: translateY(2px);
}
.button:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 9px 25px #255af622;
}
.button-small {
  min-height: 46px;
  padding: 10px 17px;
  font-size: 13px;
  gap: 12px;
}
.button-small .icon {
  width: 18px;
  height: 18px;
}
.button-white {
  background: white;
  color: var(--blue);
}
.button-white:hover {
  background: #e8eeff;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
  font-size: 14px;
}
.text-link:hover {
  color: var(--blue);
}

/* 2. Шапка и адаптивное меню. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fffffff2;
  border-bottom: 1px solid #e8eaf0;
  backdrop-filter: blur(18px);
}
.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -1.2px;
}
.brand-dot {
  color: var(--blue);
}
.brand-orbit {
  width: 29px;
  height: 29px;
  display: block;
  border: 7px solid var(--blue);
  border-radius: 50%;
  position: relative;
  transform: rotate(-20deg);
}
.brand-orbit::after {
  content: "";
  width: 11px;
  height: 11px;
  border: 3px solid white;
  background: var(--blue);
  position: absolute;
  top: -10px;
  right: -9px;
  border-radius: 50%;
}
.main-nav {
  display: flex;
  gap: 29px;
  align-items: center;
}
.main-nav a {
  font-size: 13px;
  padding: 10px 0;
  color: #494e59;
  transition: color 0.2s;
}
.main-nav a:hover {
  color: var(--blue);
}
.menu-toggle {
  display: none;
  background: transparent;
  width: 40px;
  height: 40px;
  padding: 10px 5px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 26px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform 0.2s;
}

/* 3. Первый экран: типографика, локальное видео и монитор. */
.hero {
  overflow: hidden;
  background: var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 680px;
  position: relative;
}
.hero-copy {
  padding: 64px 0 58px;
  z-index: 2;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #474e5c;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px #255af60b;
}
h1 {
  font-size: clamp(60px, 6.3vw, 91px);
  line-height: 0.99;
  letter-spacing: -0.065em;
  margin-top: 28px;
}
h1 span {
  color: var(--blue);
}
.hero-description {
  font-size: 16px;
  line-height: 1.65;
  color: #5c626e;
  margin: 28px 0;
}
.hero .button-primary {
  min-width: 340px;
  min-height: 66px;
  font-size: 17px;
}
.button-arrow {
  margin-left: 12px;
}
.download-note {
  font-size: 11px;
  color: #636a77;
  margin-top: 13px;
}
.download-note span {
  margin: 0 7px;
}
.transition-note {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 29px;
  max-width: 410px;
  padding-top: 19px;
  border-top: 1px solid #d9dde6;
}
.transition-icon {
  color: var(--blue);
  font-size: 25px;
  line-height: 1;
}
.transition-note p {
  font-size: 11px;
  color: #606775;
  line-height: 1.6;
}
.transition-note strong {
  color: var(--ink);
}
.hero-visual {
  height: 560px;
  position: relative;
  isolation: isolate;
  margin-right: -48px;
}
.hero-motion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  mix-blend-mode: multiply;
  opacity: 0.95;
  z-index: -2;
  mask-image: linear-gradient(to right, transparent, black 12%, black 90%, transparent);
}
.hero-orbit {
  position: absolute;
  width: 460px;
  height: 460px;
  border: 1px solid #255af631;
  border-radius: 50%;
  left: 4%;
  top: 35px;
  z-index: -1;
}
.hero-orbit-small {
  width: 360px;
  height: 360px;
  top: 85px;
  left: 12%;
}
.hero-monitor {
  position: absolute;
  width: 670px;
  max-width: none;
  height: auto;
  left: -42px;
  top: 78px;
  z-index: 1;
  filter: drop-shadow(0 20px 15px #1b286c16);
  animation: monitor-enter 1.1s ease both;
}
.hero-visual-label {
  position: absolute;
  top: 8px;
  right: 65px;
  font-size: 9px;
  letter-spacing: 0.17em;
  font-weight: 700;
  color: #4e576d;
  z-index: 2;
}
.tiny-cross {
  font-size: 18px;
  margin-right: 11px;
}
.app-badge {
  position: absolute;
  bottom: 50px;
  left: -8px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #ffffffef;
  border: 1px solid #fff;
  box-shadow: 0 20px 40px #1728580e;
  border-radius: 10px;
  z-index: 3;
  transform: rotate(-4deg);
}
.app-badge > span:first-of-type {
  font-size: 25px;
  font-weight: 700;
}
.app-badge img {
  object-fit: contain;
  width: 43px;
  height: 28px;
}
.badge-divider {
  width: 1px;
  height: 30px;
  background: var(--line);
  margin: 0 7px;
}
.badge-caption {
  color: #6a7180;
  font-size: 9px;
  line-height: 1.4;
}
.hero-video-link {
  position: absolute;
  right: 40px;
  bottom: 50px;
  display: flex;
  gap: 11px;
  align-items: center;
  background: transparent;
  font-size: 11px;
  text-align: left;
  z-index: 4;
}
.hero-video-link small {
  display: block;
  font-size: 9px;
  color: #737a87;
}
.play-circle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: white;
  border-radius: 50%;
  box-shadow: 0 5px 20px #0000000a;
}
.play-circle .icon {
  width: 18px;
  height: 18px;
}
.visual-coordinate {
  position: absolute;
  bottom: 5px;
  right: 50px;
  font-size: 8px;
  letter-spacing: 0.15em;
  color: #6b7488;
}
.hero-bottom {
  border-top: 1px solid #dde1e9;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: #727986;
}
.hero-bottom a {
  color: #4b5362;
}
.hero-bottom a span {
  color: var(--blue);
  margin-left: 20px;
  font-size: 20px;
}

/* 4. Возможности: три разные иллюстрации на CSS. */
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 70px;
  align-items: end;
}
.section-heading .eyebrow {
  grid-column: 1 / -1;
  color: var(--blue);
}
.section-heading > p:last-child {
  max-width: 360px;
  justify-self: end;
  color: var(--muted);
  font-size: 16px;
  padding-bottom: 5px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 52px;
}

/* Дополнительная кнопка после знакомства с возможностями. */
.inline-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 48px;
  padding: 28px 32px;
  border: 1px solid #d5dfff;
  border-left: 4px solid var(--blue);
  border-radius: 7px;
  background: #f3f6ff;
}
.inline-download-copy strong {
  font-size: 21px;
  letter-spacing: -0.03em;
}
.inline-download-copy p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.inline-download .button {
  flex-shrink: 0;
  min-width: 280px;
}
.feature {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.feature-number {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #6e7582;
}
.feature-art {
  height: 130px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 20px 18px;
  margin: 10px 0 6px;
}
.feature h3 {
  font-size: 23px;
}
.feature p {
  margin-top: 15px;
  color: var(--muted);
  max-width: 320px;
  font-size: 14px;
}
.art-library i {
  width: 56px;
  height: 75px;
  background: #dbe4ff;
  border: 1px solid #b8caff;
  transform: rotate(-12deg);
  border-radius: 6px;
  margin-right: -17px;
}
.art-library i:nth-child(2) {
  background: #8faaff;
  transform: rotate(0);
  height: 81px;
}
.art-library i:nth-child(3) {
  background: var(--blue);
  transform: rotate(12deg);
  box-shadow: 4px 10px 12px #255af61b;
}
.art-download svg {
  width: 60px;
  height: 60px;
  stroke: var(--blue);
  stroke-width: 1;
  fill: none;
}
.art-download span {
  width: 68px;
  height: 7px;
  background: #dce4ff;
  margin: 48px 0 0 14px;
  position: relative;
  border-radius: 5px;
}
.art-download span::after {
  content: "";
  width: 70%;
  height: 7px;
  position: absolute;
  left: 0;
  background: var(--blue);
  border-radius: 5px;
}
.art-friends i {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 22px 0 -7px #a9beff;
  margin-right: -3px;
  border: 3px solid white;
}
.art-friends i:nth-of-type(2) {
  background: #8ca9ff;
  transform: translateY(-14px);
}
.art-friends i:nth-of-type(3) {
  background: #d1ddff;
}
.art-friends > span {
  color: var(--blue);
  font-size: 25px;
  position: absolute;
  top: 10px;
  left: 146px;
}

/* 5. Скриншоты, вкладки и игровой баннер. */
.gallery-section {
  background: var(--paper);
}
.split-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin-bottom: 44px;
}
.split-heading .eyebrow {
  color: var(--blue);
  margin-bottom: 17px;
}
.split-heading > p {
  color: var(--muted);
  font-size: 14px;
  padding-bottom: 6px;
}
.gallery-tabs {
  display: flex;
  border-bottom: 1px solid #cdd3df;
}
.gallery-tab {
  flex: 1;
  padding: 18px 0;
  background: transparent;
  color: #848b99;
  text-align: left;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition:
    border 0.2s,
    color 0.2s;
}
.gallery-tab span {
  font-size: 15px;
  font-weight: 700;
}
.gallery-tab[aria-selected="true"] {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.gallery-image-button {
  width: 100%;
  position: relative;
  padding: 25px 0 0;
  background: #e2e7f0;
  overflow: hidden;
  margin-top: 25px;
  border-radius: 7px;
}
.gallery-image-button img {
  margin: 0 auto;
  width: 100%;
  height: 510px;
  object-fit: contain;
  transition: transform 0.35s;
}
.gallery-image-button:hover img {
  transform: scale(1.025);
}
.expand-button {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: white;
  box-shadow: 0 3px 20px #00000008;
}
.gallery-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 19px;
  color: #656d7c;
  font-size: 11px;
}
.gallery-caption > span {
  font-size: 10px;
}
#gallery-count {
  font-weight: 700;
  margin-left: 30px;
}
.games-section {
  padding: 90px 0 55px;
  background: #171a25;
  color: white;
  overflow: hidden;
}
.games-heading {
  text-align: center;
}
.games-heading .eyebrow {
  color: #91aaff;
  font-size: 9px;
  margin-bottom: 18px;
}
.games-heading h2 {
  font-size: clamp(32px, 3.4vw, 47px);
}
.games-heading > p:last-child {
  color: #a6adbe;
  margin-top: 15px;
  font-size: 14px;
}
.games-art {
  width: max(1200px, 112%);
  margin: 40px 0 20px;
  position: relative;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
}
.games-art img {
  width: 100%;
  height: auto;
}
.games-note {
  text-align: center;
  font-size: 9px;
  color: #adb4c6;
  padding: 0 24px;
}
.games-download {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 13px;
  margin: 35px 24px 25px;
}
.games-download .button {
  min-width: 300px;
}
.games-download p {
  color: #c2cbe0;
  font-size: 11px;
}

/* 6. Интерактивный чек-лист. */
.migration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.migration-copy .eyebrow {
  color: var(--blue);
  margin-bottom: 19px;
}
.migration-copy h2 span {
  color: var(--blue);
}
.migration-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  margin: 26px 0;
  max-width: 400px;
}
.brand-journey {
  display: flex;
  gap: 23px;
  align-items: center;
  padding: 12px 0 32px;
}
.brand-journey span {
  font-size: 29px;
  font-weight: 700;
  color: #979ba6;
  letter-spacing: -1px;
}
.brand-journey .icon {
  color: #a4abba;
}
.brand-journey strong {
  font-size: 28px;
  letter-spacing: -1px;
}
.setup-card {
  background: #f5f6f9;
  padding: 36px;
  border: 1px solid #e4e7ee;
  border-radius: 8px;
}
.setup-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
}
.setup-heading .eyebrow {
  color: #818898;
  font-size: 9px;
}
#checklist-count {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}
.setup-card h3 {
  font-size: 28px;
}
.setup-card > p {
  font-size: 12px;
  color: #737a88;
  margin-top: 8px;
}
.setup-progress {
  height: 3px;
  background: #dde3ef;
  margin: 23px 0 8px;
  overflow: hidden;
}
.setup-progress span {
  height: 100%;
  width: 0;
  display: block;
  background: var(--blue);
  transition: width 0.3s;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid #e0e4ec;
  cursor: pointer;
  position: relative;
}
.check-item input {
  position: absolute;
  opacity: 0;
  width: 24px;
  height: 24px;
  left: 0;
}
.custom-check {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  border: 1px solid #b7c1d4;
  border-radius: 4px;
  background: white;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.custom-check .icon {
  width: 17px;
  height: 17px;
  opacity: 0;
}
.check-item input:checked + .custom-check {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.check-item input:checked + .custom-check .icon {
  opacity: 1;
}
.check-item input:focus-visible + .custom-check {
  outline: 3px solid #fa8a44;
  outline-offset: 4px;
}
.check-item strong {
  display: block;
  font-size: 13px;
}
.check-item small {
  display: block;
  font-size: 10px;
  color: #7a8291;
  margin-top: 2px;
}
.setup-card .setup-status {
  margin: 20px 0 16px;
  color: #5c6884;
  font-size: 11px;
  min-height: 18px;
}
.setup-card .button {
  width: 100%;
  font-size: 13px;
  min-height: 49px;
}

/* 7. Отзывы и FAQ. */
.reviews-section {
  background: var(--paper);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  background: white;
  border-radius: 7px;
  padding: 29px;
  display: flex;
  flex-direction: column;
}
.review-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #7c8493;
  margin-bottom: 29px;
}
.review-source strong {
  font-size: 12px;
  color: #424b60;
}
.review-card h3 {
  font-size: 24px;
  line-height: 1.17;
  margin-bottom: 16px;
}
.review-card > p {
  font-size: 13px;
  color: #646d7e;
  line-height: 1.75;
  margin-bottom: 26px;
}
.review-author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid #e8eaf0;
}
.author-avatar {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eaf0ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}
.review-author > div {
  font-size: 11px;
  line-height: 1.5;
}
.review-author small {
  display: block;
  font-size: 9px;
  color: #7c8493;
}
.review-author a {
  margin-left: auto;
  padding: 8px;
  transition: color 0.2s;
}
.review-author a:hover {
  color: var(--blue);
}
.reviews-note {
  color: #818898;
  font-size: 10px;
  max-width: 730px;
  margin-top: 21px;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}
.faq-grid > div > .eyebrow {
  color: var(--blue);
  margin-bottom: 18px;
}
.faq-grid > div > p:last-child {
  color: var(--muted);
  font-size: 14px;
  margin-top: 23px;
}
.faq-list details {
  border-top: 1px solid var(--line);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  padding: 23px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary span {
  color: var(--blue);
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  transition: transform 0.2s;
}
.faq-list details[open] summary span {
  transform: rotate(45deg);
}
.faq-list details p {
  font-size: 13px;
  color: #657084;
  padding: 0 25px 24px 0;
}
.faq-list details a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 8. Финальный экран и подвал. */
.final-cta {
  background: var(--blue);
  color: white;
  overflow: hidden;
}
.final-inner {
  padding-top: 85px;
  padding-bottom: 86px;
  position: relative;
}
.final-inner .eyebrow {
  color: #c8d5ff;
  font-size: 10px;
  margin-bottom: 23px;
}
.final-inner h2 {
  font-size: clamp(60px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  position: relative;
  z-index: 2;
}
.final-inner > p:not(.eyebrow) {
  color: #d4dfff;
  font-size: 15px;
  margin-top: 26px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}
.final-inner .button {
  position: relative;
  z-index: 2;
}
.final-note {
  display: block;
  color: #cedaff;
  font-size: 10px;
  margin-top: 14px;
  position: relative;
  z-index: 2;
}
.final-orbit {
  position: absolute;
  width: 650px;
  height: 650px;
  border: 115px solid #4a77fc;
  border-radius: 50%;
  right: -20px;
  top: -60px;
  transform: rotate(-30deg);
}
.final-orbit::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  background: #9bb4ff;
  border-radius: 50%;
  right: -90px;
  top: 30px;
  border: 22px solid var(--blue);
}
.site-footer {
  padding: 45px 0 30px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-bottom: 33px;
}
.footer-top > p {
  color: #757d8a;
  font-size: 11px;
  line-height: 1.7;
}
.back-top {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
}
.back-top span {
  color: var(--blue);
  font-size: 22px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid #e7e9ee;
  padding-top: 23px;
}
.footer-bottom p {
  color: #88909d;
  font-size: 9px;
}
.footer-bottom > span {
  color: #8a92a0;
  font-size: 8px;
  letter-spacing: 0.14em;
}

/* 9. Закреплённая кнопка и полноэкранная галерея. */
.sticky-download {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%, 150%);
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  width: max-content;
  max-width: calc(100% - 32px);
  background: #fffffff5;
  border: 1px solid #e0e5f1;
  border-radius: 9px;
  padding: 12px 13px 12px 22px;
  box-shadow: 0 8px 40px #12245a26;
  backdrop-filter: blur(15px);
  transition:
    transform 0.3s,
    opacity 0.3s;
  opacity: 0;
}
.sticky-download.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}
.sticky-download strong {
  display: block;
  font-size: 12px;
}
.sticky-download > div > span {
  font-size: 10px;
  color: #7a8395;
  display: block;
}
.sticky-download .button {
  min-height: 48px;
  font-size: 14px;
}
.media-dialog {
  width: min(1150px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100svh - 40px);
  padding: 0;
  border: 1px solid #424a61;
  background: #171c29;
  color: white;
  border-radius: 10px;
  box-shadow: 0 20px 80px #0006;
}
.media-dialog::backdrop {
  background: #080d20d9;
  backdrop-filter: blur(8px);
}
.dialog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  font-size: 12px;
}
.dialog-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #ffffff14;
  color: white;
  border-radius: 50%;
}
.dialog-content {
  display: grid;
  place-items: center;
  background: #e1e5ed;
}
.dialog-content img,
.dialog-content video {
  width: 100%;
  max-height: 70svh;
  object-fit: contain;
}
.dialog-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  padding: 10px 20px;
  color: #a8b4cf;
}
.dialog-navigation button {
  padding: 8px 15px;
  background: #ffffff14;
  border-radius: 4px;
  color: white;
  font-size: 20px;
}

/* 10. Анимация — только при разрешении пользователя. */
@keyframes monitor-enter {
  from {
    opacity: 0;
    transform: translate(20px, 18px);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s,
    transform 0.65s;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 11. Планшеты и телефоны. */
@media (min-width: 1500px) {
  .hero-visual {
    margin-right: -80px;
  }
  .hero-monitor {
    width: 720px;
    left: -30px;
    top: 57px;
  }
}
@media (max-width: 1100px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
  .header-inner {
    gap: 20px;
  }
  .main-nav {
    gap: 19px;
  }
  .hero-grid {
    min-height: 640px;
  }
  h1 {
    font-size: 69px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-monitor {
    width: 580px;
    left: -25px;
    top: 105px;
  }
  .hero-visual {
    margin-right: -32px;
  }
  .hero-visual-label {
    right: 24px;
  }
  .hero-video-link {
    right: 20px;
    bottom: 30px;
  }
  .app-badge {
    left: 10px;
    bottom: 85px;
  }
  .feature-grid {
    gap: 27px;
  }
  .feature h3 {
    font-size: 21px;
  }
  .migration-grid {
    gap: 55px;
  }
  .setup-card {
    padding: 28px;
  }
  .review-card {
    padding: 23px;
  }
  .review-card h3 {
    font-size: 22px;
  }
  .review-source {
    flex-wrap: wrap;
    gap: 8px;
  }
  .final-orbit {
    right: -200px;
  }
}
@media (max-width: 800px) {
  html {
    scroll-padding-top: 84px;
  }
  .section {
    padding: 74px 0;
  }
  .header-inner {
    height: 72px;
  }
  .brand {
    font-size: 27px;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    padding: 20px 32px;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 20px #1622450a;
  }
  .main-nav.is-open {
    display: grid;
  }
  .main-nav a {
    font-size: 16px;
  }
  .header-download {
    margin-left: auto;
  }
  .menu-toggle {
    display: block;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 54px 0 20px;
  }
  h1 {
    font-size: 80px;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-visual {
    height: 470px;
    margin: 0 -32px;
  }
  .hero-monitor {
    width: 650px;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    animation: none;
  }
  .hero-motion {
    inset: 0;
    width: 100%;
    object-fit: cover;
  }
  .hero-orbit {
    top: 0;
    left: calc(50% - 230px);
  }
  .hero-orbit-small {
    top: 50px;
    left: calc(50% - 180px);
  }
  .hero-visual-label {
    top: 5px;
    right: 28px;
  }
  .app-badge {
    left: 40px;
    bottom: 35px;
  }
  .hero-video-link {
    right: 35px;
    bottom: 40px;
  }
  .visual-coordinate {
    display: none;
  }
  .hero-bottom > span {
    display: none;
  }
  .section-heading {
    gap: 18px 40px;
  }
  .section-heading > p:last-child {
    font-size: 14px;
  }
  .feature-grid {
    gap: 23px;
  }
  .inline-download {
    gap: 25px;
    padding: 25px;
  }
  .inline-download-copy strong {
    font-size: 19px;
  }
  .inline-download .button {
    min-width: 235px;
    font-size: 13px;
    padding: 16px 18px;
  }
  .feature h3 {
    font-size: 20px;
  }
  .feature p {
    font-size: 12px;
  }
  .split-heading {
    gap: 30px;
  }
  .split-heading > p {
    max-width: 240px;
    font-size: 13px;
  }
  .gallery-tab {
    gap: 8px;
  }
  .gallery-tab span {
    font-size: 13px;
  }
  .gallery-image-button img {
    height: 400px;
  }
  .gallery-caption {
    flex-direction: column;
    gap: 8px;
  }
  .gallery-caption > span {
    display: flex;
    justify-content: space-between;
  }
  .migration-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .migration-copy > p:not(.eyebrow) {
    max-width: 500px;
  }
  .setup-card {
    max-width: 600px;
    width: 100%;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .review-card {
    padding: 30px;
  }
  .review-source {
    margin-bottom: 20px;
  }
  .review-card h3 {
    font-size: 26px;
  }
  .review-card > p {
    font-size: 14px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .final-orbit {
    opacity: 0.5;
    right: -320px;
  }
  .footer-top {
    gap: 30px;
  }
}
@media (max-width: 520px) {
  .container {
    padding-left: 23px;
    padding-right: 23px;
  }
  .section {
    padding: 62px 0;
  }
  .header-inner {
    gap: 8px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .site-header .brand {
    font-size: 23px;
    gap: 6px;
  }
  .site-header .brand-orbit {
    width: 22px;
    height: 22px;
    border-width: 6px;
  }
  .header-download {
    font-size: 11px;
    line-height: 1.25;
    padding: 8px 10px;
    min-height: 44px;
    gap: 7px;
  }
  .header-download .download-label {
    max-width: 99px;
  }
  .header-download .icon {
    width: 16px;
    height: 16px;
  }
  .menu-toggle {
    width: 30px;
    padding: 10px 2px;
    flex-shrink: 0;
  }
  .hero-copy {
    padding-top: 43px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  h1 {
    font-size: clamp(54px, 13.7vw, 72px);
    letter-spacing: -0.06em;
    margin-top: 24px;
  }
  .hero-description {
    font-size: 14px;
    margin: 24px 0;
  }
  .desktop-break {
    display: none;
  }
  .hero .button-primary {
    width: 100%;
    min-width: 0;
    font-size: 15px;
    padding: 15px 18px;
  }
  .button-arrow {
    margin-left: auto;
  }
  .download-note {
    text-align: center;
    font-size: 9px;
  }
  .transition-note {
    margin-top: 23px;
  }
  .transition-note p {
    font-size: 10px;
  }
  .hero-visual {
    height: 330px;
    margin: 0 -23px;
  }
  .hero-monitor {
    width: 450px;
    top: 5px;
  }
  .hero-orbit {
    width: 300px;
    height: 300px;
    left: calc(50% - 150px);
    top: 0;
  }
  .hero-orbit-small {
    width: 230px;
    height: 230px;
    left: calc(50% - 115px);
    top: 35px;
  }
  .hero-visual-label {
    font-size: 7px;
    right: 22px;
    top: 0;
  }
  .app-badge {
    bottom: 20px;
    left: 23px;
    padding: 12px 15px;
    gap: 6px;
  }
  .app-badge img {
    width: 33px;
    height: 22px;
  }
  .app-badge > span:first-of-type {
    font-size: 21px;
  }
  .badge-divider,
  .badge-caption {
    display: none;
  }
  .hero-video-link {
    right: 23px;
    bottom: 20px;
    gap: 8px;
    font-size: 10px;
  }
  .hero-video-link small {
    font-size: 8px;
  }
  .play-circle {
    width: 33px;
    height: 33px;
  }
  .hero-bottom {
    min-height: 54px;
    font-size: 10px;
  }
  h2 {
    font-size: 42px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2 {
    margin-top: 17px;
  }
  .section-heading > p:last-child {
    margin-top: 23px;
    max-width: 290px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 29px;
    margin-top: 35px;
  }
  .inline-download {
    flex-direction: column;
    align-items: stretch;
    gap: 21px;
    padding: 23px 20px;
    margin-top: 35px;
  }
  .inline-download .button {
    width: 100%;
    min-width: 0;
    font-size: 13px;
    padding: 15px 12px;
    gap: 9px;
  }
  .feature {
    display: grid;
    grid-template-columns: 1fr 95px;
    column-gap: 10px;
    position: relative;
    padding-top: 20px;
  }
  .feature-number {
    grid-column: 1;
  }
  .feature-art {
    grid-column: 2;
    grid-row: 1 / 4;
    height: 105px;
    padding: 0;
    align-self: center;
    transform: scale(0.67);
    transform-origin: left center;
  }
  .feature h3 {
    grid-column: 1;
    margin-top: 15px;
    font-size: 22px;
  }
  .feature p {
    grid-column: 1;
    font-size: 13px;
    margin-top: 10px;
  }
  .split-heading {
    display: block;
    margin-bottom: 28px;
  }
  .split-heading > p {
    margin-top: 22px;
    max-width: none;
  }
  .gallery-tab {
    padding: 14px 5px;
    font-size: 9px;
    gap: 5px;
    flex-direction: column;
    align-items: flex-start;
  }
  .gallery-tab span {
    font-size: 11px;
  }
  .gallery-image-button {
    margin-top: 17px;
    padding-top: 0;
  }
  .gallery-image-button img {
    height: 260px;
  }
  .expand-button {
    width: 34px;
    height: 34px;
    right: 12px;
    bottom: 12px;
  }
  .expand-button .icon {
    width: 17px;
    height: 17px;
  }
  .gallery-caption {
    font-size: 10px;
  }
  .gallery-caption > span {
    font-size: 8px;
  }
  .games-section {
    padding: 58px 0 35px;
  }
  .games-heading h2 {
    font-size: 35px;
  }
  .games-heading .eyebrow {
    font-size: 8px;
  }
  .games-art {
    width: 930px;
    margin-top: 25px;
  }
  .games-note {
    font-size: 8px;
  }
  .games-download .button {
    min-width: 0;
    width: 100%;
    max-width: 350px;
    font-size: 14px;
  }
  .games-download p {
    font-size: 9px;
  }
  .setup-card {
    padding: 26px 22px;
  }
  .setup-card h3 {
    font-size: 25px;
  }
  .check-item small {
    font-size: 9px;
  }
  .review-card {
    padding: 25px;
  }
  .review-card h3 {
    font-size: 24px;
  }
  .faq-list summary {
    font-size: 13px;
    padding: 21px 0;
  }
  .faq-list details p {
    font-size: 12px;
  }
  .final-inner {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .final-inner h2 {
    font-size: 65px;
  }
  .final-inner > p:not(.eyebrow) {
    max-width: 260px;
    font-size: 14px;
  }
  .final-inner .button {
    width: 100%;
    font-size: 13px;
    padding: 15px 18px;
  }
  .final-note {
    font-size: 9px;
    text-align: center;
  }
  .final-orbit {
    width: 450px;
    height: 450px;
    border-width: 80px;
    right: -290px;
    top: 0;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 23px;
  }
  .footer-top > p {
    order: 3;
    width: 100%;
    font-size: 10px;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom p {
    font-size: 8px;
  }
  .footer-bottom > span {
    display: block;
    margin-top: 18px;
  }
  .sticky-download {
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    padding: 7px;
    width: calc(100% - 24px);
    max-width: 410px;
  }
  .sticky-download > div {
    display: none;
  }
  .sticky-download .button {
    width: 100%;
    min-height: 52px;
    font-size: 14px;
    padding: 13px 15px;
    gap: 12px;
  }
  .sticky-download .icon {
    width: 19px;
    height: 19px;
  }
  .media-dialog {
    width: calc(100% - 20px);
  }
  .dialog-content img {
    min-height: 230px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
