/* Локальные шрифты. Файлы лежат в assets/fonts/. */
@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-regular.ttf") format("truetype");
  font-weight: 400 500;
  font-display: swap;
}

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

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

/* Палитра и общая ширина контента. */
:root {
  --bg: #151617;
  --surface: #202123;
  --muted: #a9aaad;
  --yellow: #ffcd1f;
  --ink: #151617;
  --paper: #f6f6f3;
  --line: #ffffff20;
  --max: 1240px;
  --page-gutter: clamp(16px, 3vw, 40px);
}

/* Базовые правила, доступность и контейнер. */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: #fff;
  background: var(--bg);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

button,
a {
  touch-action: manipulation;
}

img {
  display: block;
  max-width: 100%;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #d49c00;
  outline-offset: 5px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(var(--max), calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 12px 20px;
  background: var(--yellow);
  color: var(--ink);
  z-index: 100;
}

.skip-link:focus {
  top: 10px;
}

/* Шапка и навигация. */
.site-header {
  position: sticky;
  top: 0;
  background: #151617f2;
  backdrop-filter: blur(20px);
  z-index: 30;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 11px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}

.brand-dot {
  color: var(--yellow);
}

.desktop-nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: #d1d1d2;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--yellow);
}

/* Общие кнопки; оформление скачивания уточняется в download.css. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 60px;
  padding: 17px 26px;
  border: 0;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 800;
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 0 #0002;
}

.button-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.button-yellow:hover {
  background: #ffdb54;
}

.button-small {
  min-height: 44px;
  padding: 12px 18px;
  font-size: 13px;
}

.button > span:last-child:not(.windows-icon) {
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
}

.menu-toggle {
  display: none;
  flex-shrink: 0;
}

.mobile-nav {
  display: none;
}

/* Первый экран и его элементы. */
.hero {
  overflow: hidden;
  position: relative;
}

.hero-grid {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding-top: 42px;
  padding-bottom: 36px;
}

.hero-copy {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: var(--yellow);
}

.windows-icon {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.windows-icon i {
  display: block;
  background: currentColor;
}

h1 {
  font-size: clamp(56px, 5.65vw, 80px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -3.8px;
  margin: 26px 0 25px;
}

h1 > span {
  color: var(--yellow);
}

.hero-description {
  margin: 0 0 30px;
  font-size: 16px;
  line-height: 1.85;
  color: #b8b9bc;
}

.hero-actions {
  display: flex;
  gap: 22px;
  align-items: center;
}

.watch-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #777;
  height: 33px;
  width: 33px;
  border-radius: 50%;
  font-size: 10px;
  padding-left: 2px;
}

.watch-link:hover .play-icon {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

.download-note {
  color: #9d9ea1;
  font-size: 12px;
  margin-top: 15px;
}

.hero-art {
  position: relative;
  min-width: 0;
  height: clamp(420px, 42vw, 550px);
}

.hero-characters {
  position: absolute;
  width: 100%;
  max-width: 100%;
  top: 8px;
  right: 0;
  z-index: 1;
  filter: drop-shadow(0 22px 40px #0005);
  animation: float-art 8s ease-in-out infinite;
}

.art-orbit {
  position: absolute;
  width: 80%;
  height: auto;
  aspect-ratio: 1;
  left: 10%;
  top: 45px;
  border-radius: 50%;
  border: 1px solid #ffcd1f40;
  background: radial-gradient(circle, #ffcd1f15 0%, transparent 68%);
}

.art-orbit::after {
  content: "";
  position: absolute;
  inset: -32px;
  border: 1px dashed #ffffff17;
  border-radius: 50%;
}

.art-label {
  position: absolute;
  right: -28px;
  top: 63px;
  writing-mode: vertical-rl;
  font-size: 10px;
  color: #77797c;
  font-weight: 700;
  letter-spacing: 4px;
  z-index: 2;
}

.floating-keyboard {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 35px;
  transform: rotate(-9deg);
  background: #232426ef;
  backdrop-filter: blur(12px);
  padding: 15px 18px 18px;
  border: 1px solid #ffffff26;
  border-radius: 15px;
  box-shadow: 0 14px 45px #0005;
}

.key-label {
  display: block;
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #bdbec0;
  margin-bottom: 9px;
}

.key-row {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-top: 5px;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 28px;
  border: 1px solid #ffffff40;
  border-bottom-width: 3px;
  border-radius: 5px;
  background: #3b3c3d;
  color: #fff;
  font:
    700 12px Manrope,
    sans-serif;
}

.key-row:first-of-type kbd {
  color: var(--ink);
  background: var(--yellow);
  border-color: #e6aa17;
}

.platform-label {
  position: absolute;
  bottom: 12px;
  right: 8px;
  z-index: 4;
  display: flex;
  gap: 13px;
  align-items: center;
  background: #252628ed;
  border: 1px solid #ffffff30;
  border-radius: 12px;
  padding: 15px 25px 15px 15px;
  box-shadow: 0 10px 35px #0005;
  transform: rotate(-4deg);
}

.platform-symbol {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--yellow);
  border-radius: 9px;
  color: var(--ink);
  font-size: 27px;
}

.platform-label strong {
  display: block;
  font-size: 13px;
}

.platform-label div > span {
  display: block;
  font-size: 11px;
  color: #babbbd;
}

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 23px;
  border-top: 1px solid var(--line);
  color: #85878a;
  font-size: 10px;
  letter-spacing: 1.6px;
}

.hero-bottom a {
  font-size: 12px;
  letter-spacing: 0;
}

.hero-bottom a > span {
  margin-left: 15px;
  color: var(--yellow);
  font-size: 17px;
}

/* Полоса кратких преимуществ. */
.feature-ribbon {
  background: var(--yellow);
  color: var(--ink);
}

.ribbon-inner {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-block: 25px;
  font-weight: 800;
  font-size: 16px;
}

.ribbon-inner span {
  display: flex;
  align-items: center;
  gap: 22px;
}

.ribbon-inner b {
  font-size: 25px;
  font-weight: 400;
}

/* Базовая анимация иллюстрации. */
@keyframes float-art {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Адаптивность шапки и первого экрана. */
@media (min-width: 1500px) {
  .hero-grid {
    min-height: 740px;
  }
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 18px;
  }
  .hero-grid {
    min-height: 640px;
  }
  h1 {
    font-size: 64px;
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-art {
    height: 480px;
  }
  .hero-characters {
    top: 35px;
  }
  .platform-label {
    bottom: -15px;
  }
  .ribbon-inner {
    font-size: 13px;
  }
  .ribbon-inner span {
    gap: 8px;
  }
}

/* Компактная шапка и первый экран включаются до того, как колонкам станет тесно. */
@media (max-width: 960px) {
  .header-inner {
    height: 72px;
    gap: 14px;
  }
  .brand {
    font-size: 23px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .desktop-nav,
  .header-download {
    display: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 7px;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 7px;
  }
  .menu-toggle span {
    width: 20px;
    height: 2px;
    background: #fff;
  }
  .mobile-nav {
    padding: 15px 20px 24px;
    display: grid;
    gap: 16px;
    border-top: 1px solid var(--line);
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 43px;
    padding-bottom: 25px;
    gap: 10px;
  }
  h1 {
    font-size: clamp(52px, 12vw, 78px);
    letter-spacing: -2.8px;
  }
  .hero-copy {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-actions {
    gap: 19px;
  }
  .hero-art {
    width: 100%;
    max-width: 420px;
    height: clamp(300px, 85vw, 400px);
    margin: 0 auto;
  }
  .hero-characters {
    width: 100%;
    max-width: 100%;
    right: 0;
    top: 10px;
  }
  .art-orbit {
    width: 78%;
    height: auto;
    left: 12%;
    top: 42px;
  }
  .floating-keyboard {
    transform: scale(0.8) rotate(-9deg);
    transform-origin: top left;
    top: 25px;
  }
  .platform-label {
    bottom: -4px;
    right: 0;
    transform: scale(0.85) rotate(-4deg);
    transform-origin: bottom right;
  }
  .art-label {
    display: none;
  }
  .hero-bottom {
    padding-block: 20px;
  }
  .hero-bottom > span {
    display: none;
  }
  .hero-bottom a {
    margin: auto;
  }
  .ribbon-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 10px;
    padding-block: 20px;
    font-size: 12px;
  }
  .ribbon-inner b {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Общие отступы секций и заголовки. */
.section {
  padding-block: 104px;
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 54px;
}

.section-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  margin: 0 0 19px;
}

h2 {
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.9px;
  margin: 0;
}

.muted-heading {
  color: #929497;
}

.section-light .muted-heading {
  color: #85878a;
}

.section-intro {
  max-width: 360px;
  color: #aeb0b2;
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 4px;
}

.section-intro p {
  margin-top: 0;
}

.section-light .section-intro {
  color: #66696b;
}

/* Карточки возможностей. */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.feature-item {
  position: relative;
  border-top: 1px solid #d1d1ce;
  padding-top: 28px;
}

.feature-icon {
  height: 55px;
  width: 55px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--yellow);
}

.feature-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-icon svg rect {
  fill: var(--yellow);
}

.feature-number {
  position: absolute;
  right: 0;
  top: 34px;
  color: #a3a4a2;
  font-size: 13px;
}

.feature-item h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 22px 0 12px;
}

.feature-item p {
  color: #66696b;
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 25px;
  max-width: 340px;
}

.feature-item a {
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-item a span {
  font-size: 20px;
}

.feature-item a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Галерея скриншотов и её управление. */
.gallery-section {
  background: #1b1c1e;
}

.gallery-section .section-kicker {
  color: var(--yellow);
}

.gallery-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
}

.gallery-tabs button {
  color: #c1c2c5;
  border: 1px solid #ffffff28;
  background: none;
  border-radius: 7px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 700;
  transition:
    color 0.2s,
    background 0.2s;
}

.gallery-tabs button span {
  color: #888a8c;
  margin-right: 13px;
  font-size: 12px;
}

.gallery-tabs button[aria-selected="true"] {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

.gallery-tabs button[aria-selected="true"] span {
  color: #65520a;
}

.gallery-tabs button:hover {
  border-color: var(--yellow);
}

.gallery-stage {
  padding: 22px;
  background: #28292c;
  border: 1px solid #ffffff1e;
  border-radius: 14px;
}

.gallery-panel {
  animation: panel-enter 0.3s ease-out;
}

.screenshot-button {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: #131418;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.screenshot-button img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.84;
  object-fit: contain;
}

.zoom-hint {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 9px;
  align-items: center;
  border: 1px solid #ffffff35;
  padding: 9px 15px;
  border-radius: 7px;
  background: #151617e8;
  color: white;
  font-size: 12px;
}

.zoom-hint > span {
  font-size: 24px;
  line-height: 1;
}

.screenshot-button:hover .zoom-hint {
  color: var(--yellow);
  border-color: var(--yellow);
}

.gallery-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-top: 20px;
}

.gallery-caption p {
  color: #b8b9bd;
  font-size: 14px;
  margin: 0;
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 12px;
  white-space: nowrap;
}

.arrow-button {
  width: 43px;
  height: 43px;
  border: 1px solid #ffffff35;
  border-radius: 50%;
  background: transparent;
  color: white;
  font-size: 21px;
  transition:
    background 0.2s,
    color 0.2s;
}

.arrow-button:hover {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

.source-note {
  font-size: 12px;
  color: #919397;
  margin: 26px 0 0;
  line-height: 1.75;
}

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

.section-light .source-note {
  color: #747779;
}

.text-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Отзывы и сведения об авторах. */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.review-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #dcdedb;
  padding: 28px;
  border-radius: 10px;
  background: #fff;
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-top time {
  font-size: 11px;
  color: #73777a;
}

.review-stars {
  color: #947000;
  letter-spacing: 2px;
  font-size: 18px;
  white-space: nowrap;
}

.empty-stars {
  color: #d8dbdc;
}

.review-card h3 {
  font-size: 19px;
  letter-spacing: -0.5px;
  margin: 25px 0 12px;
}

.review-card > p {
  color: #626569;
  font-size: 14px;
  line-height: 1.85;
  margin: 0 0 28px;
  flex: 1;
}

.review-author {
  border-top: 1px solid #e9eae8;
  padding-top: 21px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: #f3eedc;
  font-size: 13px;
  font-weight: 800;
}

.review-author strong {
  display: block;
  font-size: 12px;
}

.review-author div > span {
  display: block;
  font-size: 10px;
  color: #7f8285;
}

.review-author a {
  margin-left: auto;
  padding: 7px;
  font-size: 24px;
}

/* Вопросы и ответы. */
.faq-section {
  padding-top: 0;
}

.faq-layout {
  border-top: 1px solid #deded9;
  padding-top: 85px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 80px;
}

.faq-intro {
  font-size: 15px;
  color: #66696b;
  margin: 22px 0;
}

.faq-list details {
  border-bottom: 1px solid #d7d9d5;
}

.faq-list details:first-child {
  border-top: 1px solid #d7d9d5;
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  list-style: none;
  font-size: 15px;
  font-weight: 800;
  padding: 25px 0;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  font-size: 25px;
  font-weight: 400;
  transition: transform 0.2s;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 25px 24px 0;
  font-size: 14px;
  color: #65696c;
  line-height: 1.9;
}

.faq-answer p {
  margin: 0 0 13px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faq-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

/* Финальный блок скачивания. */
.download-section {
  padding-block: 76px;
  background: var(--yellow);
  color: var(--ink);
}

.download-layout {
  display: flex;
  gap: 45px;
  align-items: center;
  justify-content: space-between;
}

.download-section h2 {
  font-size: 49px;
}

.download-section p:not(.section-kicker) {
  font-size: 14px;
  margin-top: 22px;
}

.download-final {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.button-dark {
  background: #161718;
  color: white;
}

.button-dark:hover {
  background: #303134;
}

.download-final > span {
  font-size: 12px;
  color: #65531a;
}

/* Подвал страницы. */
.site-footer {
  padding-block: 40px 30px;
}

.footer-top {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.footer-top > span {
  color: #9b9da1;
  font-size: 13px;
}

.back-to-top {
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 25px;
  color: #96989b;
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom > span {
  text-align: right;
}

/* Диалог увеличенного скриншота. */
.lightbox {
  width: min(1200px, calc(100% - 40px));
  max-height: 94vh;
  padding: 0;
  border: 1px solid #ffffff30;
  border-radius: 13px;
  background: #17181a;
  color: white;
}

.lightbox::backdrop {
  background: #000d;
  backdrop-filter: blur(9px);
}

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

.lightbox-toolbar p {
  font-size: 14px;
}

.dialog-close {
  color: white;
  background: #ffffff12;
  border: 0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.lightbox > img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
}

.lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  gap: 12px;
}

.lightbox-footer > span {
  font-size: 12px;
  color: #b2b4b9;
}

body.modal-open {
  overflow: hidden;
}

/* Появление секций при прокрутке. */
.reveal.is-ready {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.is-ready.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes panel-enter {
  from {
    opacity: 0.5;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .section-heading {
    gap: 35px;
  }
  .section-intro {
    max-width: 315px;
  }
  .review-card {
    padding: 20px;
  }
  .review-top {
    flex-wrap: wrap;
  }
  .faq-layout {
    gap: 40px;
  }
  .download-section h2 {
    font-size: 42px;
  }
}

@media (max-width: 760px) {
  .section {
    padding-block: 64px;
  }
  .section-heading {
    display: block;
    margin-bottom: 35px;
  }
  h2 {
    font-size: 35px;
    letter-spacing: -1.4px;
  }
  .section-kicker {
    font-size: 10px;
    margin-bottom: 15px;
  }
  .section-intro {
    max-width: none;
    margin-top: 25px;
    font-size: 14px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .feature-item {
    padding-top: 25px;
  }
  .feature-item h3 {
    margin-top: 18px;
  }
  .feature-item p {
    max-width: none;
    margin-bottom: 16px;
  }
  .gallery-tabs {
    gap: 8px;
  }
  .gallery-tabs button {
    flex: 1;
    padding: 12px 7px;
    font-size: 11px;
  }
  .gallery-tabs button span {
    display: none;
  }
  .gallery-stage {
    padding: 7px;
    border-radius: 8px;
  }
  .zoom-hint {
    bottom: 8px;
    right: 8px;
    font-size: 10px;
    padding: 5px 8px;
  }
  .zoom-hint > span {
    font-size: 18px;
  }
  .gallery-caption {
    flex-wrap: wrap;
    gap: 15px;
  }
  .gallery-caption p {
    font-size: 13px;
  }
  .gallery-controls {
    margin-left: auto;
  }
  .source-note {
    font-size: 11px;
    margin-top: 18px;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .review-card {
    padding: 25px;
  }
  .review-author strong {
    font-size: 13px;
  }
  .review-author div > span {
    font-size: 11px;
  }
  .faq-section {
    padding-top: 0;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 60px;
  }
  .faq-list summary {
    padding-block: 22px;
    font-size: 14px;
  }
  .faq-answer {
    padding-right: 0;
  }
  .download-section {
    padding-block: 55px;
  }
  .download-layout {
    display: block;
  }
  .download-section h2 {
    font-size: 36px;
  }
  .download-final {
    margin-top: 30px;
    align-items: flex-start;
  }
  .download-final > span {
    margin-left: 25px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 22px;
  }
  .footer-top > span {
    order: 3;
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }
  .footer-bottom > span {
    text-align: left;
  }
  .lightbox {
    width: calc(100% - 16px);
  }
  .lightbox-toolbar {
    padding-inline: 12px;
  }
  .lightbox-toolbar p {
    font-size: 12px;
  }
  .lightbox-footer > span {
    font-size: 10px;
  }
}

/* Локальное видео: воспроизведение только по действию пользователя. */
.video-section {
  padding-block: 70px;
  background: #111213 url("assets/images/official-background.webp") center 62% / cover;
  border-top: 1px solid #ffffff15;
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.video-copy .section-kicker {
  color: var(--yellow);
}

.video-copy > p:not(.section-kicker) {
  font-size: 15px;
  color: #bcbec1;
  margin: 24px 0 0;
  line-height: 1.8;
}

.video-copy > p.video-note {
  font-size: 12px;
  color: #92959a;
}

.video-copy,
.video-figure,
.faq-layout > *,
.review-card,
.feature-item {
  min-width: 0;
}

.video-figure {
  margin: 0;
}

.video-figure video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  background: #232428;
  border-radius: 12px;
  border: 1px solid #ffffff30;
  box-shadow: 0 25px 65px #0005;
}

.video-figure figcaption {
  margin-top: 15px;
  color: #94979b;
  font-size: 12px;
}

/* Уточнения размеров текста для удобного чтения. */
.section-intro,
.feature-item p,
.video-copy > p:not(.section-kicker):not(.video-note) {
  font-size: 16px;
}

.watch-link,
.button-small,
.feature-item a,
.text-link {
  font-size: 14px;
}

.review-author div > span {
  font-size: 12px;
}

@media (max-width: 760px) {
  .hero-description,
  .section-intro,
  .feature-item p {
    font-size: 16px;
  }
  .gallery-tabs button {
    font-size: 14px;
  }
  .video-section {
    padding-block: 58px;
  }
  .video-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .review-card > p,
  .faq-answer {
    font-size: 15px;
  }
}

/* Исходные пропорции прозрачной иллюстрации первого экрана. */
.hero-characters {
  height: auto;
}
