@font-face {
  font-family: "Google Sans";
  src: url("assets/fonts/google-sans-bold-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Handjet";
  src: url("assets/fonts/handjet-regular-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116;
}

@font-face {
  font-family: "Handjet";
  src: url("assets/fonts/handjet-regular-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00ff, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc,
    U+0304, U+0308, U+0329, U+2000-206f, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+feff, U+fffd;
}

:root {
  --color-ink: #15171c;
  --color-ink-muted: #6e6e73;
  --color-surface: #ffffff;
  --color-surface-soft: #f5f5f7;
  --color-line: rgba(0, 0, 0, 0.1);
  --color-accent: #3155f5;
  --color-accent-hover: #2446d9;
  --color-on-accent: #ffffff;
  --contacts-background: #d3e7ff;
  --header-surface: rgba(255, 255, 255, 0.95);
  --header-border: rgba(255, 255, 255, 0.75);
  --header-shadow: rgba(45, 72, 124, 0.08);
  --quest-surface: #f3f7fc;
  --quest-ink: #0e4a6c;
  --quest-shadow: #00cfea;
  --menu-surface: rgba(202, 205, 218, 0.5);
  --menu-border: rgba(228, 231, 244, 0.8);
  --menu-ink: #374957;
  --menu-overlay: rgba(21, 23, 28, 0.45);
  --menu-panel-surface: #ffffff;
  --menu-panel-muted: #646b78;
  --menu-quiz-surface: #6ed6ff;
  --retro-blue: #075cca;
  --retro-blue-light: #28b4f5;
  --retro-surface: #ece9d8;
  --retro-ink: #101828;
  --retro-line-dark: #6f7c91;
  --retro-line-light: #ffffff;
  --font-brand: "Google Sans", Arial, sans-serif;
  --font-quest: "Handjet", "Arial Narrow", sans-serif;
  --font-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content-width: 1240px;
  --contacts-content-width: 1334px;
  --site-stage-width: 1710px;
  --page-gutter: clamp(16px, 4vw, 48px);
  --section-space: clamp(80px, 10vw, 160px);
  --content-section-gap: clamp(95px, 6.7vw, 111px);
  --header-height: 60px;
  --hero-desktop-min-height: 640px;
  --hero-art-top-gap: 24px;
  --hero-art-bottom-gap: 18px;
  --motion-duration: 200ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--color-surface);
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  margin: 0;
  padding-top: calc(var(--header-height) + 16px);
  overflow-x: clip;
  color: var(--color-ink);
  background-color: var(--color-surface);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-color: var(--color-surface);
  background-image: url("assets/background/site-background.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  content: "";
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 84%, transparent 100%);
}

body.menu-open {
  overflow: hidden;
}

body.story-dialog-open,
body.privacy-dialog-open {
  overflow: hidden;
}

button {
  color: inherit;
  font: inherit;
}

button:not(:disabled) {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--quest-shadow);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 16px;
  left: 50%;
  width: min(calc(100% - 48px), var(--site-stage-width));
  height: var(--header-height);
  margin: 0;
  border: 1px solid var(--header-border);
  border-radius: 20px;
  background: var(--header-surface);
  box-shadow: 0 10px 35px var(--header-shadow);
  transform: translateX(-50%);
}

.site-brand {
  position: absolute;
  top: -4px;
  left: 18px;
  width: 416px;
  height: 68px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.site-brand__mark {
  position: absolute;
  top: 3px;
  left: 0;
  width: 68px;
  height: 68px;
  object-fit: cover;
  pointer-events: none;
}

.site-brand__title {
  position: absolute;
  top: 24px;
  left: 78px;
  color: var(--color-ink);
  font-family: var(--font-brand);
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.7125px;
  white-space: nowrap;
}

.site-brand__mobile-title {
  display: none;
}

.quest-button {
  position: absolute;
  top: 8px;
  right: 100px;
  width: 197px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--color-accent);
  border-radius: 4px;
  background: var(--quest-surface);
  box-shadow: 3px 3px 0 var(--quest-shadow);
  transition:
    border-color var(--motion-duration) ease,
    box-shadow var(--motion-duration) ease,
    transform var(--motion-duration) var(--motion-ease);
}

.quest-button__label {
  position: absolute;
  top: 8px;
  left: 11px;
  width: 93px;
  height: 20px;
  color: var(--quest-ink);
  font-family: var(--font-quest);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
}

.quest-button__logo {
  position: absolute;
  top: -1px;
  left: 118px;
  width: 56px;
  height: 42px;
  object-fit: cover;
  pointer-events: none;
}

.quest-button:hover {
  border-color: var(--color-accent-hover);
  box-shadow: 4px 4px 0 var(--quest-shadow);
  transform: translate(-1px, -1px);
}

.quest-button:active {
  box-shadow: 1px 1px 0 var(--quest-shadow);
  transform: translate(2px, 2px);
}

.menu-button {
  position: absolute;
  top: 7px;
  right: 23px;
  display: grid;
  width: 49px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--menu-border);
  border-radius: 10px;
  background: var(--menu-surface);
  transition:
    background var(--motion-duration) ease,
    transform var(--motion-duration) var(--motion-ease);
}

.menu-button img {
  display: block;
  width: 24px;
  height: 17px;
  pointer-events: none;
}

.menu-button:hover,
.menu-button[aria-expanded="true"] {
  background: rgba(202, 205, 218, 0.78);
}

.menu-button:active {
  transform: scale(0.96);
}

.menu-button:focus-visible {
  border-color: rgba(21, 23, 28, 0.28);
  outline: none;
  background: rgba(202, 205, 218, 0.78);
}

.site-menu {
  position: fixed;
  z-index: 40;
  inset: 0;
  overflow: hidden;
  background: var(--menu-overlay);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 320ms ease,
    visibility 0s linear 320ms;
}

.site-menu[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.site-menu__panel {
  display: flex;
  width: min(440px, 100vw);
  height: 100dvh;
  margin-left: auto;
  min-height: 100svh;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex-direction: column;
  gap: 41px;
  padding: 24px 32px 32px;
  border-left: 1px solid rgba(49, 85, 245, 0.12);
  border-radius: 0;
  background: var(--menu-panel-surface);
  box-shadow: -10px 0 40px rgba(21, 23, 28, 0.15);
  opacity: 0.96;
  transform: translateX(100%);
  transition:
    opacity 320ms ease,
    transform 360ms var(--motion-ease);
  -webkit-overflow-scrolling: touch;
}

.site-menu[aria-hidden="false"] .site-menu__panel {
  opacity: 1;
  transform: translateX(0);
}

.site-menu__header {
  position: relative;
  flex: 0 0 40px;
  width: 100%;
  height: 40px;
  transform: translateY(8px);
}

.site-menu__brand {
  position: absolute;
  top: -14px;
  left: -11px;
  display: flex;
  align-items: center;
  width: min(300px, calc(100% - 46px));
  height: 68px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.site-menu__brand-mark {
  display: block;
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  object-fit: cover;
  pointer-events: none;
}

.site-menu__brand-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.site-menu__brand-title,
.site-menu__brand-subtitle {
  overflow: hidden;
  line-height: normal;
  letter-spacing: -0.7125px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-menu__brand-title {
  color: var(--color-ink);
  font-family: var(--font-brand);
  font-size: 16px;
  font-weight: 700;
}

.site-menu__brand-subtitle {
  color: #717171;
  font-family: var(--font-quest);
  font-size: 16px;
  font-weight: 700;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
}

.site-menu__close {
  position: absolute;
  top: 2px;
  right: 0;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(21, 23, 28, 0.11);
  border-radius: 50%;
  background: #f3f7fc;
  transition:
    background var(--motion-duration) ease,
    transform var(--motion-duration) var(--motion-ease);
}

.site-menu__close img {
  display: block;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.site-menu__close:hover {
  background: #e9eef7;
}

.site-menu__close:active {
  transform: scale(0.94);
}

.site-menu__close:focus-visible {
  border-color: rgba(21, 23, 28, 0.42);
  outline: none;
  background: #e9eef7;
}

.site-menu__divider {
  flex: 0 0 1px;
  width: 100%;
  height: 1px;
  background: rgba(49, 85, 245, 0.12);
}

.site-menu__nav {
  display: flex;
  flex: 0 0 auto;
  width: 100%;
  flex-direction: column;
  gap: 6px;
}

.site-menu__item {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--color-ink);
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.4px;
  text-align: left;
  text-decoration: none;
  transition:
    background var(--motion-duration) ease,
    color var(--motion-duration) ease,
    transform var(--motion-duration) var(--motion-ease);
}

.site-menu__item[hidden] {
  display: none;
}

.site-menu__item > span:not(.site-menu__active-mark) {
  min-width: 0;
  flex: 1 1 auto;
}

.site-menu__item > img {
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.site-menu__item:hover {
  background: rgba(49, 85, 245, 0.04);
}

.site-menu__item:active {
  transform: scale(0.99);
}

.site-menu__item.is-active {
  background: rgba(49, 85, 245, 0.04);
  color: var(--color-accent);
}

.site-menu__active-mark {
  display: none;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin: 0 1.657px;
  background: var(--quest-shadow);
  transform: rotate(45deg);
}

.site-menu__item.is-active .site-menu__active-mark {
  display: block;
}

.site-menu__quest {
  flex: 0 0 85px;
  width: 100%;
  height: 85px;
}

.site-menu__quest-button {
  display: flex;
  width: 100%;
  height: 55px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border: 2px solid var(--color-ink);
  border-radius: 16px;
  background: var(--menu-quiz-surface);
  box-shadow: 3px 3px 0 var(--quest-shadow);
  color: var(--color-ink);
  font-family: var(--font-quest);
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  transition:
    box-shadow var(--motion-duration) ease,
    transform var(--motion-duration) var(--motion-ease);
}

.site-menu__quest-button img {
  display: block;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.site-menu__quest-button:hover {
  box-shadow: 4px 4px 0 var(--quest-shadow);
  transform: translate(-1px, -1px);
}

.site-menu__quest-button:active {
  box-shadow: 1px 1px 0 var(--quest-shadow);
  transform: translate(2px, 2px);
}

.site-menu__quest p {
  margin: 8px 0 0;
  color: var(--menu-panel-muted);
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 18px;
  white-space: nowrap;
}

.site-menu__footer {
  flex: 0 0 104px;
  width: 100%;
  min-height: 104px;
}

.site-menu__social-label {
  margin: 0;
  color: var(--menu-panel-muted);
  font-family: var(--font-quest);
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
}

.site-menu__socials {
  display: flex;
  height: 40px;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
}

.site-menu__social {
  display: inline-flex;
  height: 40px;
  align-items: center;
  padding: 8px 16px 10px;
  border: 1.5px solid var(--color-ink);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-quest);
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  transition:
    filter var(--motion-duration) ease,
    transform var(--motion-duration) var(--motion-ease);
}

.site-menu__social:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.site-menu__social:active {
  transform: translateY(1px);
}

.site-menu__social--telegram {
  background: #08c;
}

.site-menu__social--vk {
  background: #07f;
}

.site-menu__social--ok {
  background: #f70;
}

.site-menu__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
  color: var(--menu-panel-muted);
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 14px;
  white-space: nowrap;
}

.site-menu__meta button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-accent);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 1px;
}

#app {
  position: relative;
  overflow: clip;
}

.hero-stage {
  position: relative;
  overflow: clip;
  min-height: calc(100svh - var(--header-height) - 16px);
}

.hero-stage__canvas {
  position: absolute;
  inset: 0 auto 0 50%;
  width: min(100%, var(--site-stage-width));
  overflow: hidden;
  transform: translateX(-50%);
}

/* Size the desktop artwork to both axes, including short laptop windows. */
@media (min-width: 1440px) {
  .hero-stage {
    min-height: var(--hero-desktop-min-height);
    min-height: max(
      var(--hero-desktop-min-height),
      calc(100svh - var(--header-height) - 16px)
    );
  }

  .hero-stage__canvas {
    --hero-art-preferred-width: min(
      42vw, 640px,
      calc(min(100vw, var(--site-stage-width)) - clamp(40px, 10vw, 172px) - min(40vw, 684px) - clamp(24px, 6vw, 112px) - 32px),
      calc((max(var(--hero-desktop-min-height), calc(100vh - var(--header-height) - 16px)) - var(--hero-art-top-gap) - var(--hero-art-bottom-gap)) * 981 / 1041)
    );
    --hero-art-width: var(--hero-art-preferred-width);
    --hero-core-right: calc(
      clamp(24px, 6vw, 112px) + var(--hero-art-width) * 0.74
    );
    --hero-core-width: min(14vw, 214px, calc(var(--hero-art-width) * 0.315));
    --hero-core-top: max(84px, calc(100% - var(--hero-art-bottom-gap) - var(--hero-art-width) * 1041 / 981 - var(--hero-core-width) * 0.2));
    --hero-core-start-x: -32px;
    container-type: size;
  }

  @supports (height: 1cqh) {
    .hero-stage__canvas {
      --hero-art-width: min(
        var(--hero-art-preferred-width),
        calc((100cqh - var(--hero-art-top-gap) - var(--hero-art-bottom-gap)) * 981 / 1041)
      );
    }
  }
}

@media (min-width: 1711px) {
  .hero-stage {
    height: min(calc(100svh - var(--header-height) - 16px), 890px);
    min-height: var(--hero-desktop-min-height);
  }
}

.hero-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 67px - 2.1vw),
    0 calc(100% - 67px)
  );
  pointer-events: none;
}

.hero-scene__bogatyr,
.hero-scene__core-flight,
.hero-scene__copy {
  position: absolute;
  user-select: none;
}

.hero-scene__bogatyr,
.hero-scene__core,
.hero-scene__headline {
  display: block;
  height: auto;
  user-select: none;
}

.hero-scene__mobile-bogatyr,
.hero-scene__tablet-bogatyr,
.hero-scene__mobile-text-block,
.hero-action__tablet-label,
.hero-action__mobile-label {
  display: none;
}

.hero-scene__copy {
  z-index: 1;
  top: clamp(76px, 13.7svh, 108px);
  left: clamp(40px, 10vw, 172px);
  width: min(40vw, 684px);
  pointer-events: none;
}

.hero-scene__headline {
  width: 100%;
}

.hero-scene__text-block {
  display: flex;
  align-items: center;
  width: 92.5%;
  min-height: 92px;
  margin: calc(-4% + 3px) 0 0;
  padding: 13px 20px;
  border: 1px solid rgba(55, 62, 67, 0.42);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 3px rgba(24, 31, 35, 0.38);
  color: #374047;
  font-family: var(--font-quest);
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.05px;
  text-align: left;
}

.hero-scene__actions {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 12px;
  width: 82%;
  margin-top: 32px;
  pointer-events: auto;
}

.hero-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border-radius: 20px;
  font-family: var(--font-brand);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.25px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--motion-duration) ease,
    border-color var(--motion-duration) ease,
    box-shadow var(--motion-duration) ease,
    color var(--motion-duration) ease,
    transform var(--motion-duration) var(--motion-ease);
}

.hero-action--primary {
  border: 1px solid #04a9de;
  background: #04a9de;
  box-shadow: 0 12px 20px rgba(24, 70, 91, 0.28);
  color: #ffffff;
}

.hero-action--primary:hover {
  border-color: #008fc4;
  background: #008fc4;
  box-shadow: 0 14px 24px rgba(24, 70, 91, 0.32);
  transform: translateY(-1px);
}

.hero-action--secondary {
  gap: 14px;
  border: 1px solid rgba(55, 62, 67, 0.18);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 3px rgba(24, 31, 35, 0.34);
  color: var(--color-ink);
}

.hero-action--secondary:hover {
  border-color: rgba(49, 85, 245, 0.42);
  background: #f8fbff;
  box-shadow: 0 5px 5px rgba(24, 31, 35, 0.28);
  transform: translateY(-1px);
}

.hero-action:active {
  box-shadow: 0 2px 2px rgba(24, 31, 35, 0.24);
  transform: translateY(2px);
}

.hero-action__arrow {
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.hero-scene__bogatyr {
  right: clamp(24px, 6vw, 112px);
  bottom: var(--hero-art-bottom-gap);
  width: var(--hero-art-width, min(46vw, 680px));
  filter: drop-shadow(0 26px 30px rgba(91, 45, 12, 0.14));
}

.signal-strip {
  position: absolute;
  z-index: 4;
  bottom: 32px;
  left: -48px;
  width: calc(100% + 96px);
  height: 34px;
  overflow: hidden;
  border-top: 1px solid rgba(49, 85, 245, 0.25);
  border-bottom: 1px solid rgba(49, 85, 245, 0.25);
  background: #ffffff;
  pointer-events: none;
  transform: rotate(-1.2deg);
  transform-origin: left center;
}

.signal-strip__track {
  position: absolute;
  top: 0;
  left: -15.13px;
  display: flex;
  align-items: center;
  width: max-content;
  height: 33px;
  transform: translate3d(-644px, 0, 0);
  will-change: transform;
}

.signal-strip__track[data-marquee-ready="true"] {
  animation: signal-marquee 14s linear infinite;
}

.signal-strip__sequence {
  display: flex;
  flex: 0 0 644px;
  align-items: center;
  width: 644px;
  height: 33px;
}

.signal-strip__label {
  flex: 0 0 auto;
  color: var(--color-accent);
  font-family: var(--font-quest);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 1.54px;
  white-space: nowrap;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
}

.signal-strip__label--pause {
  width: 66px;
}

.signal-strip__label--check {
  width: 90px;
}

.signal-strip__label--protect {
  width: 74px;
}

.signal-strip__marker {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-right: 26px;
  background: var(--quest-shadow);
  transform: rotate(45deg);
}

.signal-strip__marker--last {
  margin-right: 0;
}

.hero-gradient-transition {
  position: relative;
  z-index: 3;
  height: clamp(180px, 19vw, 280px);
  margin-top: clamp(-100px, -7vw, -64px);
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.08) 34%,
      rgba(255, 255, 255, 0.72) 76%,
      #ffffff 100%
    ),
    url("assets/background/site-transition.webp") center top / cover no-repeat;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 100%);
}

.masks-section {
  position: relative;
  z-index: 5;
  overflow: visible;
  padding: clamp(72px, 6.7vw, 96px) var(--page-gutter) clamp(88px, 8vw, 116px);
  background: var(--color-surface);
}

.masks-section__inner {
  position: relative;
  width: min(100%, var(--content-width));
  min-height: 530px;
  margin: clamp(-250px, -17vw, -180px) auto 0;
}

.masks-section__title {
  position: absolute;
  z-index: 1;
  top: 36px;
  left: 0;
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 700;
}

.masks-section__title-main,
.masks-section__title-accent {
  display: block;
}

.masks-section__title-main {
  color: var(--color-ink);
  font-size: clamp(58px, 7.26vw, 90px);
  line-height: 0.976;
  letter-spacing: -0.0597em;
}

.masks-section__title-accent {
  margin-top: 3px;
  color: #6ed6ff;
  font-size: clamp(84px, 10.49vw, 130px);
  line-height: 1.115;
  letter-spacing: -0.0414em;
}

.masks-section__scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.masks-section__character {
  position: absolute;
  z-index: 2;
  top: 173px;
  left: 59.11%;
  display: block;
  width: 27.74%;
  max-width: 344px;
  height: auto;
  transform: translateY(10px) scaleX(-1);
  user-select: none;
}

.masks-section__bubble {
  position: absolute;
  z-index: 3;
  top: -9px;
  left: 72.98%;
  width: 25.4%;
  max-width: 315px;
  aspect-ratio: 1;
  color: var(--color-ink);
}

.masks-section__bubble img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}

.masks-section__bubble p {
  position: absolute;
  z-index: 1;
  top: 25.7%;
  left: 16.9%;
  width: 67%;
  margin: 0;
  font-family: var(--font-quest);
  font-size: clamp(15px, 1.68vw, 20.8px);
  font-weight: 400;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  line-height: 1.55;
  text-align: center;
}

.recognition-section {
  position: relative;
  z-index: 5;
  padding: 0 var(--page-gutter);
  background: var(--color-surface);
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.recognition-section__inner {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.recognition-section__eyebrow {
  position: relative;
  left: 50%;
  width: min(1370px, calc(100vw - 32px));
  margin: 0 0 6px;
  color: var(--color-accent);
  font-family: var(--font-quest);
  font-size: 20px;
  font-weight: 400;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  line-height: 1.15;
  letter-spacing: 1.08px;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.recognition-section__panel {
  position: relative;
  left: 50%;
  width: min(1370px, calc(100vw - 32px));
  min-height: 540px;
  border: 3px solid #000000;
  background: #f5ff70;
  transform: translateX(-50%);
}

.recognition-section__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  min-height: 524px;
  padding: 36px 29px 100px;
}

.recognition-card {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.recognition-card__image {
  display: block;
  width: min(220px, 100%);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  user-select: none;
}

.recognition-card__image--income {
  width: min(204px, 100%);
  height: 220px;
}

.recognition-card__copy {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  flex-direction: column;
}

.recognition-card__title {
  display: grid;
  min-height: 54px;
  margin: 0;
  padding: 7px 8px 0;
  place-items: center;
  color: var(--color-ink);
  font-family: var(--font-brand);
  font-size: 17.92px;
  font-weight: 700;
  line-height: 1.2;
}

.recognition-card__mobile-break {
  display: none;
}

.recognition-card__description {
  min-height: 67px;
  margin: 0;
  padding: 0 14px;
  color: #6c7e9e;
  font-family: var(--font-body);
  font-size: 15.04px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.2374px;
}

.recognition-card__signal {
  margin: 3px 0 0;
  color: #ff654d;
  font-family: var(--font-quest);
  font-size: 15px;
  font-weight: 400;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  line-height: 1;
  text-transform: uppercase;
}

.recognition-card__warning {
  max-width: 190px;
  margin: 5px 0 0;
  color: var(--color-ink);
  font-family: var(--font-brand);
  font-size: 14.08px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.1567px;
}

.about-section {
  position: relative;
  z-index: 5;
  overflow: hidden;
  padding: var(--content-section-gap) var(--page-gutter) 0;
  background: var(--color-surface);
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.about-section::before {
  position: absolute;
  top: -430px;
  left: calc(50% + 84px);
  width: 1028px;
  height: 1028px;
  border: 1px solid rgba(49, 85, 245, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.about-section__inner {
  position: relative;
  z-index: 1;
  width: min(1368px, calc(100vw - 32px));
  margin: 0 auto;
}

.about-section__eyebrow {
  margin: 0 0 5px;
  color: var(--color-accent);
  font-family: var(--font-quest);
  font-size: 20px;
  font-weight: 400;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  line-height: 1.15;
  letter-spacing: 1.08px;
  text-transform: uppercase;
}

.about-section__panel {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1368 / 582;
  border: 2px solid #000000;
  background: #6ed6ff;
}

.about-section__title {
  position: absolute;
  z-index: 2;
  top: 9.9%;
  left: 6.43%;
  width: 47%;
  margin: 0;
  color: #000000;
  font-family: var(--font-brand);
  font-size: clamp(26px, 1.9vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.428px;
  text-transform: uppercase;
}

.about-section__media {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 36.04%;
  pointer-events: none;
}

.about-section__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}

.about-section__quote {
  position: absolute;
  z-index: 2;
  top: 36.08%;
  left: 6.58%;
  display: flex;
  width: 42%;
  min-height: 234px;
  margin: 0;
  padding-left: 22px;
  flex-direction: column;
  border-left: 5px solid #000000;
  color: #000000;
  font-family: var(--font-body);
  font-size: clamp(13px, 0.95vw, 16px);
  line-height: 1.22;
  letter-spacing: 1.08px;
}

.about-section__quote p,
.about-section__quote footer,
.about-section__support p {
  margin: 0;
}

.about-section__quote p {
  font-style: italic;
}

.about-section__quote .about-section__mission {
  margin-top: 14px;
  font-style: normal;
}

.about-section__quote footer {
  margin-top: auto;
  padding-top: 18px;
  font-style: normal;
  line-height: 1.28;
}

.about-section__mobile-break {
  display: none;
}

.about-section__mobile-quote {
  display: none;
}

.about-section__support {
  position: absolute;
  z-index: 2;
  bottom: 5.5%;
  left: 6.43%;
  display: flex;
  align-items: center;
  gap: 28px;
  color: #000000;
}

.about-section__support p {
  font-family: var(--font-brand);
  font-size: clamp(24px, 1.78vw, 30px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.428px;
  white-space: nowrap;
}

.about-section__support img {
  display: block;
  width: clamp(184px, 13.48vw, 230px);
  height: auto;
  user-select: none;
}

@media (max-width: 1100px) {
  .about-section__panel {
    height: 520px;
    aspect-ratio: auto;
  }

  .about-section__title {
    top: 42px;
    left: 44px;
    width: 52%;
    font-size: 27px;
  }

  .about-section__media {
    left: 31%;
  }

  .about-section__quote {
    top: 174px;
    left: 44px;
    width: 44%;
    min-height: 208px;
    font-size: 13.5px;
    line-height: 1.25;
    letter-spacing: 0.65px;
  }

  .about-section__quote footer {
    padding-top: 14px;
  }

  .about-section__support {
    bottom: 34px;
    left: 44px;
  }
}

@media (max-width: 820px) {
  .about-section {
    padding-right: clamp(16px, 4vw, 32px);
    padding-left: clamp(16px, 4vw, 32px);
  }

  .about-section::before {
    top: -310px;
    left: 35%;
    width: 720px;
    height: 720px;
  }

  .about-section__inner {
    width: 100%;
  }

  .about-section__panel {
    display: flex;
    height: auto;
    min-height: 0;
    padding: 32px 24px 30px;
    flex-direction: column;
  }

  .about-section__title,
  .about-section__media,
  .about-section__quote,
  .about-section__support {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .about-section__title {
    order: 1;
    font-size: clamp(30px, 6vw, 38px);
    line-height: 1.15;
  }

  .about-section__media {
    overflow: hidden;
    width: calc(100% + 48px);
    height: clamp(270px, 61vw, 420px);
    margin: 24px -24px 0;
    order: 2;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
  }

  .about-section__media img {
    position: absolute;
    top: 0;
    left: 50%;
    width: auto;
    max-width: none;
    height: 100%;
    transform: translateX(-50%);
  }

  .about-section__quote {
    min-height: 0;
    margin-top: 26px;
    padding-left: 16px;
    order: 3;
    font-size: 15px;
    line-height: 1.36;
    letter-spacing: 0.45px;
  }

  .about-section__support {
    align-items: flex-start;
    margin-top: 30px;
    flex-direction: column;
    gap: 14px;
    order: 4;
  }

  .about-section__support p {
    font-size: 27px;
  }

  .about-section__support img {
    width: min(230px, 74%);
  }
}

@media (max-width: 520px) {
  .about-section {
    padding-top: var(--content-section-gap);
    padding-bottom: 0;
  }

  .about-section__eyebrow {
    margin-bottom: 8px;
    font-size: 17px;
    letter-spacing: 0.9px;
  }

  .about-section__panel {
    padding: 26px 18px 26px;
  }

  .about-section__title {
    font-size: clamp(27px, 8.15vw, 34px);
    letter-spacing: -1px;
  }

  .about-section__media {
    width: calc(100% + 36px);
    height: clamp(250px, 72vw, 310px);
    margin-right: -18px;
    margin-left: -18px;
  }

  .about-section__quote {
    font-size: 14px;
  }
}

.protection-section {
  position: relative;
  z-index: 5;
  overflow: hidden;
  padding: var(--content-section-gap) var(--page-gutter) clamp(88px, 7vw, 112px);
  background: var(--color-surface);
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.protection-section__inner {
  width: min(1364px, calc(100vw - 32px));
  margin: 0 auto;
}

.protection-section__eyebrow {
  margin: 0 0 6px;
  color: var(--color-accent);
  font-family: var(--font-quest);
  font-size: 20px;
  font-weight: 400;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  line-height: 1.15;
  letter-spacing: 1.08px;
  text-transform: uppercase;
}

.protection-scene {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1364 / 608;
}

.protection-scene__background {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
}

.protection-cards {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.protection-cards img {
  position: absolute;
  display: block;
  user-select: none;
}

.protection-deck {
  position: absolute;
  z-index: 1;
  inset: 0;
  clip-path: inset(0 55% 0 0);
}

.protection-cards__back {
  width: 27.64%;
  height: 88.65%;
  object-fit: contain;
}

.protection-cards__back--far {
  z-index: 1;
  top: 1.64%;
  left: 12.68%;
}

.protection-cards__back--near {
  z-index: 2;
  top: 6.74%;
  left: 9.97%;
}

.protection-card {
  position: absolute;
  z-index: 3;
  top: 13.49%;
  left: 1.03%;
  width: 36.58%;
  aspect-ratio: 1;
  perspective: 1100px;
  transform-origin: 50% 52%;
}

.protection-card__rotor,
.protection-card__face {
  position: absolute;
  inset: 0;
}

.protection-card__rotor {
  transform-style: preserve-3d;
}

.protection-card__face {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.protection-card__face--back {
  z-index: 1;
  opacity: 0;
  transform: rotateY(180deg);
  visibility: hidden;
}

.protection-card__face--front {
  z-index: 2;
  opacity: 1;
  visibility: visible;
}

.protection-card.is-back-visible .protection-card__face--front {
  z-index: 1;
  opacity: 0 !important;
  visibility: hidden;
}

.protection-card.is-back-visible .protection-card__face--back {
  z-index: 3;
  opacity: 1 !important;
  visibility: visible;
}

.protection-card__front-art {
  inset: 0;
  width: 100%;
  height: 100%;
}

.protection-card__back-art {
  top: 0;
  left: 50%;
  width: auto;
  height: 100%;
  transform: translateX(-50%);
}

.protection-card__title {
  position: absolute;
  z-index: 4;
  top: 32.47%;
  left: 24.85%;
  width: 50.3%;
  margin: 0;
  color: #000000;
  font-family: var(--font-quest);
  font-size: clamp(26px, 3.3vw, 50px);
  font-weight: 700;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  line-height: 1.08;
  letter-spacing: 1.08px;
  text-align: center;
  text-transform: uppercase;
}

.protection-card__description {
  position: absolute;
  z-index: 4;
  top: 50.72%;
  left: 27.26%;
  width: 45.7%;
  margin: 0;
  color: #646b78;
  font-family: var(--font-body);
  font-size: clamp(12px, 1.08vw, 16px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.3125px;
  text-align: center;
}

.protection-controls {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
}

.protection-control {
  position: absolute;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  transition:
    transform var(--motion-duration) var(--motion-ease),
    filter var(--motion-duration) var(--motion-ease);
  pointer-events: auto;
}

.protection-control--previous {
  left: 4.03%;
}

.protection-control--next {
  left: 40.76%;
}

.protection-control__circle {
  position: absolute;
  display: block;
  width: 40px;
  height: 40px;
  pointer-events: none;
  user-select: none;
}

.protection-control__arrow {
  position: relative;
  z-index: 1;
  display: block;
  width: 15px;
  height: 13px;
  pointer-events: none;
  user-select: none;
}

.protection-control__arrow--previous {
  transform: rotate(180deg);
}

.protection-control:hover {
  filter: brightness(0.96);
  transform: translate(-50%, -50%) scale(1.05);
}

.protection-control:active {
  transform: translate(-50%, -50%) scale(0.94);
}

.protection-cards.is-switching .protection-control {
  opacity: 0.72;
  pointer-events: none;
}

.protection-card.is-switching--next,
.protection-card.is-switching--previous,
.protection-card.is-switching--next .protection-card__rotor,
.protection-card.is-switching--previous .protection-card__rotor {
  animation-duration: 1050ms;
  animation-timing-function: cubic-bezier(0.44, 0.05, 0.2, 1);
  animation-fill-mode: both;
  will-change: transform, opacity;
}

.protection-card.is-switching--next {
  animation-name: protection-card-next;
}

.protection-card.is-switching--previous {
  animation-name: protection-card-previous;
}

.protection-card.is-switching--next .protection-card__rotor {
  animation-name: protection-card-flip-next;
}

.protection-card.is-switching--previous .protection-card__rotor {
  animation-name: protection-card-flip-previous;
}

@keyframes protection-card-next {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateZ(0deg);
  }

  16% {
    transform: translate3d(-18%, -2%, 0) rotateZ(-2deg);
  }

  38% {
    transform: translate3d(-55%, -5%, 0) rotateZ(-6deg);
  }

  48% {
    opacity: 1;
    transform: translate3d(-130%, -8%, 0) rotateZ(-10deg);
  }

  49.9% {
    opacity: 0;
    transform: translate3d(-130%, -8%, 0) rotateZ(-10deg);
  }

  50% {
    opacity: 0;
    transform: translate3d(130%, 8%, 0) rotateZ(10deg);
  }

  52% {
    opacity: 1;
  }

  62% {
    transform: translate3d(55%, 5%, 0) rotateZ(6deg);
  }

  84% {
    transform: translate3d(18%, 2%, 0) rotateZ(2deg);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateZ(0deg);
  }
}

@keyframes protection-card-previous {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateZ(0deg);
  }

  16% {
    transform: translate3d(18%, -2%, 0) rotateZ(2deg);
  }

  38% {
    transform: translate3d(55%, -5%, 0) rotateZ(6deg);
  }

  48% {
    opacity: 1;
    transform: translate3d(130%, -8%, 0) rotateZ(10deg);
  }

  49.9% {
    opacity: 0;
    transform: translate3d(130%, -8%, 0) rotateZ(10deg);
  }

  50% {
    opacity: 0;
    transform: translate3d(-130%, 8%, 0) rotateZ(-10deg);
  }

  52% {
    opacity: 1;
  }

  62% {
    transform: translate3d(-55%, 5%, 0) rotateZ(-6deg);
  }

  84% {
    transform: translate3d(-18%, 2%, 0) rotateZ(-2deg);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateZ(0deg);
  }
}

@keyframes protection-card-flip-next {
  0% {
    transform: rotateY(0deg);
  }

  38%,
  62% {
    transform: rotateY(-180deg);
  }

  100% {
    transform: rotateY(-360deg);
  }
}

@keyframes protection-card-flip-previous {
  0% {
    transform: rotateY(0deg);
  }

  38%,
  62% {
    transform: rotateY(180deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}

.protection-scene__copy {
  position: absolute;
  z-index: 2;
  top: 16.94%;
  left: 48.83%;
  width: 49.05%;
}

.protection-scene__copy h3,
.protection-scene__copy p {
  margin: 0;
}

.protection-scene__copy h3 {
  color: var(--color-ink);
  font-family: var(--font-brand);
  font-size: clamp(40px, 6.25vw, 89.6px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.protection-scene__copy p {
  max-width: 650px;
  margin-top: clamp(14px, 1.8vw, 26px);
  color: #646b78;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.45vw, 20.8px);
  line-height: 1.55;
  letter-spacing: -0.3778px;
}

.protection-copy__mobile-only {
  display: none;
}

.protection-guitarist {
  position: absolute;
  z-index: 3;
  right: 2%;
  bottom: -60px;
  width: clamp(170px, 15%, 210px);
  height: 260px;
  opacity: 0;
  transform: translate3d(0, calc(100% + 24px), 0);
  transition:
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease-out;
  pointer-events: none;
  will-change: transform, opacity;
}

.protection-guitarist.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.protection-guitarist__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: contain;
  object-position: center bottom;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: opacity;
}

.protection-guitarist__frame.is-active {
  opacity: 1;
}

.protection-alert {
  display: grid;
  min-height: 248px;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 41px;
  align-items: start;
  margin-top: 59px;
  padding: 48px 55px;
  border-radius: 32px;
  background: var(--color-ink);
}

.protection-alert__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 17px;
  background: #ff654d;
  color: var(--color-ink);
  font-family: Menlo, Monaco, monospace;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.protection-alert__copy {
  min-width: 0;
}

.protection-alert__eyebrow,
.protection-alert__copy h3,
.protection-alert__description {
  margin: 0;
}

.protection-alert__eyebrow {
  color: var(--quest-shadow);
  font-family: var(--font-quest);
  font-size: 16px;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  line-height: 1.15;
  letter-spacing: 1.08px;
  text-transform: uppercase;
}

.protection-alert__copy h3 {
  margin-top: 2px;
  color: #ffffff;
  font-family: var(--font-brand);
  font-size: clamp(32px, 3vw, 43.2px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.728px;
}

.protection-alert__description {
  max-width: 800px;
  margin-top: 10px;
  color: #c9ccd4;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.3125px;
}

.protection-impact {
  display: grid;
  grid-template-columns: minmax(0, 548px) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 100px);
  margin-top: 94px;
  padding: 0 39px;
  color: #000000;
  text-transform: uppercase;
}

.protection-impact h3,
.protection-impact p {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 700;
  letter-spacing: 1.08px;
}

.protection-impact__tablet-copy {
  display: none;
}

.protection-impact h3 {
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.28;
}

.protection-impact p {
  padding-bottom: 38px;
  border-bottom: 11px solid #000000;
  font-size: clamp(19px, 1.67vw, 24px);
  line-height: 1.2;
}

@media (max-width: 900px) {
  .protection-section {
    padding-right: clamp(24px, 5vw, 40px);
    padding-left: clamp(24px, 5vw, 40px);
  }

  .protection-section__inner {
    width: 100%;
  }

  .protection-alert {
    gap: 28px;
    padding-right: 40px;
    padding-left: 40px;
  }

  .protection-impact {
    gap: 36px;
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 700px) {
  :root {
    --content-section-gap: 88px;
  }

  .protection-section {
    padding: var(--content-section-gap) 16px 80px;
  }

  .protection-section__eyebrow {
    margin-bottom: 8px;
    font-size: 17px;
    letter-spacing: 0.9px;
  }

  .protection-scene {
    display: flex;
    min-height: 820px;
    padding: 28px 20px 20px;
    flex-direction: column;
  }

  .protection-scene__copy {
    position: relative;
    inset: auto;
    width: 100%;
    order: 1;
  }

  .protection-scene__copy h3 {
    font-size: clamp(38px, 11.2vw, 48px);
    line-height: 1;
  }

  .protection-scene__copy p {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.48;
  }

  .protection-cards {
    position: relative;
    inset: auto;
    width: 100%;
    height: 450px;
    margin-top: 22px;
    order: 2;
  }

  .protection-deck {
    clip-path: inset(0);
  }

  .protection-cards__back {
    width: 49%;
    height: auto;
  }

  .protection-cards__back--far {
    top: 0;
    left: 38%;
  }

  .protection-cards__back--near {
    top: 22px;
    left: 29%;
  }

  .protection-card {
    top: 65px;
    left: -10%;
    width: 108%;
  }

  .protection-card__title {
    top: 160px;
    left: 24.1%;
    width: 63%;
    font-size: clamp(31px, 9vw, 38px);
  }

  .protection-card__description {
    top: 225px;
    left: 29.7%;
    width: 52%;
    font-size: 14px;
    line-height: 1.4;
  }

  .protection-control--previous {
    left: 4%;
  }

  .protection-control--next {
    right: 4%;
    left: auto;
    transform: translate(50%, -50%);
  }

  .protection-control--next:hover {
    transform: translate(50%, -50%) scale(1.05);
  }

  .protection-control--next:active {
    transform: translate(50%, -50%) scale(0.94);
  }

  .protection-guitarist {
    right: -6px;
    bottom: -40px;
    width: 140px;
    height: 175px;
  }

  .protection-alert {
    min-height: 0;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 18px;
    margin-top: 32px;
    padding: 24px 20px 28px;
    border-radius: 24px;
  }

  .protection-alert__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 20px;
  }

  .protection-alert__eyebrow {
    font-size: 14px;
  }

  .protection-alert__copy h3 {
    margin-top: 6px;
    font-size: 28px;
    line-height: 1.12;
    letter-spacing: -1px;
  }

  .protection-alert__description {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.48;
  }

  .protection-impact {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 52px;
    padding: 0 4px;
  }

  .protection-impact h3 {
    font-size: 27px;
  }

  .protection-impact p {
    padding-bottom: 24px;
    border-bottom-width: 7px;
    font-size: 18px;
    line-height: 1.28;
  }
}

@media (max-width: 400px) {
  .protection-scene {
    min-height: 790px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .protection-scene__copy h3 {
    font-size: 38px;
  }

  .protection-cards {
    height: 420px;
  }

  .protection-card__title {
    top: 148px;
    font-size: 31px;
  }

  .protection-card__description {
    top: 207px;
  }

  .protection-alert {
    grid-template-columns: 1fr;
  }
}

.news-section {
  --news-card-gap: 20px;
  position: relative;
  z-index: 5;
  min-height: 900px;
  margin-bottom: 0;
  overflow: hidden;
  padding: 46px var(--page-gutter) 120px;
  background:
    radial-gradient(
      ellipse 220px 232px at calc(100% - 24px) 70.5%,
      rgba(252, 198, 240, 0.35) 0%,
      rgba(254, 124, 235, 0) 100%
    ),
    linear-gradient(180deg, #ffffff 0%, #d3e7ff 59.667%);
  box-shadow: none;
  scroll-margin-top: calc(var(--header-height) + 32px);
}

@media (min-width: 821px) {
  .news-section {
    display: none;
  }
}

.news-section__inner {
  position: relative;
  width: min(1334px, 100%);
  margin: 0 auto;
}

.news-section__eyebrow {
  margin: 0;
  color: var(--color-accent);
  font-family: var(--font-quest);
  font-size: 20px;
  font-weight: 400;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  line-height: 1.15;
  letter-spacing: 1.08px;
  text-transform: uppercase;
}

.news-section__header {
  width: min(1010px, 100%);
  margin: 33px auto 0;
  text-align: center;
}

.news-section__title,
.news-section__subtitle,
.news-card__title {
  font-family: var(--font-brand);
  font-weight: 700;
}

.news-section__title {
  margin: 0;
  color: #ffffff;
  font-size: 44px;
  line-height: 0.92;
  letter-spacing: -0.3778px;
  text-transform: uppercase;
  -webkit-text-stroke: 1.4px rgba(62, 62, 62, 0.8);
  paint-order: stroke fill;
}

.news-section__subtitle {
  margin: 9px 0 0;
  color: #3e3e3e;
  font-size: 34px;
  line-height: 0.95;
  letter-spacing: -0.3778px;
}

.news-section__controls {
  position: absolute;
  z-index: 4;
  top: 117px;
  right: 106px;
  display: flex;
  gap: 14px;
}

.news-section__control {
  position: relative;
  display: grid;
  width: 55px;
  height: 55px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transition:
    filter var(--motion-duration) ease,
    transform var(--motion-duration) var(--motion-ease);
}

.news-section__control-circle {
  position: absolute;
  inset: 0;
  display: block;
  width: 55px;
  height: 55px;
  pointer-events: none;
}

.news-section__control-arrow {
  position: relative;
  z-index: 1;
  display: block;
  width: 15px;
  height: 13px;
  pointer-events: none;
}

.news-section__control--next .news-section__control-arrow {
  transform: rotate(180deg);
}

.news-section__control:hover {
  filter: brightness(0.96);
  transform: translateY(-2px);
}

.news-section__control:active {
  filter: brightness(0.92);
  transform: translateY(1px) scale(0.94);
}

.news-section__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--news-card-gap);
  margin-top: 72px;
}

.news-card {
  position: relative;
  display: grid;
  min-width: 0;
  height: 441px;
  grid-template-rows: 129px 51px;
  gap: 26px;
  align-content: end;
  padding: 0 54px 49px;
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  background: #ffffff;
}

.news-card__paperclip {
  position: absolute;
  z-index: 2;
  top: -35px;
  right: 8px;
  display: block;
  width: 70px;
  height: 70px;
  object-fit: contain;
  transform: rotate(-23.48deg);
  transform-origin: center;
  pointer-events: none;
  user-select: none;
}

.news-card__title {
  display: grid;
  place-items: center;
  margin: 0;
  color: #000000;
  font-size: 24px;
  line-height: 1.3433;
  letter-spacing: -0.3778px;
  text-align: center;
  text-wrap: balance;
}

.news-card__action {
  display: grid;
  width: 100%;
  min-height: 51px;
  padding: 3px 12px 0;
  place-items: center;
  border: 1.6px solid #000000;
  border-radius: 0;
  color: #000000;
  background: #6ed6ff;
  box-shadow: none;
  font-family: var(--font-quest);
  font-size: 34px;
  font-weight: 700;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  line-height: 0.95;
  letter-spacing: -0.3778px;
  text-align: center;
  text-transform: uppercase;
  transition:
    background var(--motion-duration) ease,
    box-shadow var(--motion-duration) ease,
    transform var(--motion-duration) var(--motion-ease);
}

.news-card__action:hover {
  background: #55caef;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.78);
  transform: translate(-1px, -1px);
}

.news-card__action:active {
  background: #45bee4;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.78);
  transform: translate(2px, 2px);
}

@media (max-width: 1300px) {
  .news-section__header {
    width: min(820px, calc(100% - 150px));
  }

  .news-section__title {
    font-size: clamp(34px, 4vw, 44px);
  }

  .news-section__subtitle {
    font-size: clamp(27px, 3vw, 34px);
  }

  .news-section__controls {
    right: 24px;
  }

  .news-card {
    height: 420px;
    grid-template-rows: 161px 51px;
    gap: 20px;
    padding-right: 28px;
    padding-bottom: 38px;
    padding-left: 28px;
  }

  .news-card__title {
    font-size: clamp(19px, 2.15vw, 24px);
  }

  .news-card__action {
    font-size: clamp(27px, 3vw, 34px);
  }
}

@media (max-width: 820px) {
  .news-section {
    min-height: 0;
    padding: 72px 0 100px;
    background:
      radial-gradient(
        ellipse 190px 210px at 100% 74%,
        rgba(252, 198, 240, 0.35) 0%,
        rgba(254, 124, 235, 0) 100%
      ),
      linear-gradient(180deg, #ffffff 0%, #d3e7ff 52%);
  }

  .news-section__inner {
    width: 100%;
  }

  .news-section__eyebrow {
    margin: 0 20px;
    font-size: 17px;
    letter-spacing: 0.9px;
  }

  .news-section__header {
    width: auto;
    margin: 28px 20px 0;
    text-align: left;
  }

  .news-section__title {
    font-size: clamp(34px, 8vw, 54px);
    line-height: 0.98;
  }

  .news-section__subtitle {
    max-width: 620px;
    margin-top: 14px;
    font-size: clamp(25px, 5vw, 34px);
    line-height: 1.04;
  }

  .news-section__controls {
    position: static;
    margin: 28px 20px 0;
    justify-content: flex-end;
  }

  .news-section__cards {
    display: flex;
    gap: 16px;
    margin-top: 56px;
    padding: 0 20px 16px;
    overflow-x: auto;
    scroll-padding-left: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(49, 85, 245, 0.45) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .news-card {
    width: min(82vw, 431px);
    height: 420px;
    flex: 0 0 min(82vw, 431px);
    grid-template-rows: 142px 51px;
    padding: 0 34px 42px;
    scroll-snap-align: start;
  }

  .news-card__title {
    font-size: clamp(20px, 4.4vw, 24px);
  }
}

@media (max-width: 420px) {
  .news-section {
    padding-top: 64px;
    padding-bottom: 80px;
  }

  .news-section__title {
    font-size: 33px;
    -webkit-text-stroke-width: 1px;
  }

  .news-section__subtitle {
    font-size: 25px;
  }

  .news-section__controls {
    margin-top: 24px;
  }

  .news-section__control,
  .news-section__control-circle {
    width: 48px;
    height: 48px;
  }

  .news-section__cards {
    margin-top: 50px;
  }

  .news-card {
    width: calc(100vw - 40px);
    height: 404px;
    flex-basis: calc(100vw - 40px);
    grid-template-rows: 142px 51px;
    gap: 20px;
    padding-right: 24px;
    padding-bottom: 36px;
    padding-left: 24px;
  }

  .news-card__paperclip {
    top: -31px;
    right: 5px;
    width: 64px;
    height: 64px;
  }

  .news-card__title {
    font-size: 20px;
    line-height: 1.32;
  }

  .news-card__action {
    font-size: 28px;
  }
}

.contacts-section {
  --contacts-muted: #646b78;
  position: relative;
  z-index: 5;
  min-height: 781px;
  padding: 10px var(--page-gutter) 77px;
  overflow: hidden;
  background-color: var(--contacts-background);
  background-image:
    linear-gradient(
      180deg,
      #ffffff 0,
      rgba(255, 255, 255, 0.92) 28px,
      rgba(255, 255, 255, 0.56) 104px,
      rgba(255, 255, 255, 0) 224px
    ),
    url("assets/background/contacts-footer-gradient.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.contacts-section__inner,
.contacts-footer {
  width: min(var(--contacts-content-width), 100%);
  margin: 0 auto;
}

.contacts-section__inner {
  min-height: 584px;
}

.contacts-section__eyebrow {
  margin: 0;
  color: var(--color-accent);
  font-family: var(--font-quest);
  font-size: 20px;
  font-weight: 400;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  line-height: 22px;
  letter-spacing: 1.08px;
  text-transform: uppercase;
}

.contacts-section__title {
  width: min(1000px, 100%);
  margin: 22px 0 0;
  color: var(--color-ink);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 89.6px;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -5.376px;
}

.contacts-section__title span {
  display: block;
}

.contacts-section__title span:last-child {
  color: var(--color-accent);
}

.contacts-section__socials {
  display: flex;
  width: min(755px, 100%);
  gap: 29px;
  margin-top: 58px;
}

.contact-social {
  position: relative;
  display: grid;
  width: 228px;
  height: 56px;
  flex: 0 0 228px;
  padding: 0;
  place-items: center;
  border: 1.5px solid #000000;
  border-radius: 0;
  color: #ffffff;
  font-family: var(--font-quest);
  font-size: 32px;
  font-weight: 400;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  line-height: 1;
  letter-spacing: -0.1076px;
  text-decoration: none;
  transition:
    filter var(--motion-duration) ease,
    box-shadow var(--motion-duration) ease,
    transform var(--motion-duration) var(--motion-ease);
}

.contact-social--telegram {
  background: #0088cc;
}

.contact-social--ok {
  background: #ff7700;
}

.contact-social--vk {
  background: #0077ff;
}

.contact-social img {
  position: absolute;
  left: 13px;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.contact-social--telegram img {
  width: 29px;
  height: 29px;
}

.contact-social--ok img {
  width: 31px;
  height: 31px;
}

.contact-social--vk img {
  left: 12px;
  width: 36px;
  height: 36px;
}

.contact-social:hover {
  filter: brightness(1.06) saturate(1.04);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.8);
  transform: translate(-1px, -1px);
}

.contact-social:active {
  filter: brightness(0.94);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.8);
  transform: translate(2px, 2px);
}

.contacts-section__warning {
  width: min(780px, 100%);
  min-height: 25px;
  margin: 36px 0 0;
  padding-left: 18px;
  border-left: 3px solid #ff654d;
  color: #515969;
  font-size: 16px;
  font-weight: 400;
  line-height: 24.8px;
  letter-spacing: -0.3125px;
}

.contacts-footer {
  position: relative;
  height: 110px;
  border-top: 1px solid rgba(49, 85, 245, 0.17);
  color: var(--contacts-muted);
  font-size: 13.44px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.1076px;
}

.contacts-footer__logo {
  position: absolute;
  top: 22px;
  left: 29px;
  display: block;
  width: 205px;
  height: 61px;
  object-fit: contain;
}

.contacts-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.contacts-footer__logo:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}

.contacts-footer__meta {
  position: absolute;
  top: 50px;
  left: 50%;
  margin: 0;
  text-align: center;
  transform: translateX(-50%);
  white-space: nowrap;
}

.contacts-footer__privacy {
  position: absolute;
  top: 36px;
  right: 0;
  display: grid;
  width: 268.4px;
  min-height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  color: inherit;
  background: transparent;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  transition:
    color var(--motion-duration) ease,
    transform var(--motion-duration) var(--motion-ease);
}

.contacts-footer__privacy:hover {
  color: var(--color-accent);
}

.contacts-footer__privacy:active {
  transform: translateY(2px);
}

@media (max-width: 1300px) {
  .contacts-section__title {
    font-size: clamp(66px, 6.65vw, 89.6px);
    letter-spacing: -0.06em;
  }

}

@media (max-width: 820px) {
  .contacts-section {
    min-height: 0;
    padding-top: 64px;
    padding-bottom: 48px;
    background-size: auto 100%;
  }

  .contacts-section__inner {
    min-height: 0;
  }

  .contacts-section__eyebrow {
    font-size: 17px;
    line-height: 20px;
    letter-spacing: 0.9px;
  }

  .contacts-section__title {
    margin-top: 20px;
    font-size: clamp(48px, 9.1vw, 70px);
    line-height: 0.98;
  }

  .contacts-section__socials {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 48px;
  }

  .contact-social {
    width: 100%;
    min-width: 0;
    height: 54px;
    flex-basis: auto;
    font-size: 27px;
  }

  .contact-social--vk {
    margin-left: 0;
  }

  .contact-social img,
  .contact-social--vk img {
    left: 10px;
    width: 28px;
    height: 28px;
  }

  .contacts-section__warning {
    margin-top: 32px;
    font-size: 15px;
  }

  .contacts-footer {
    display: grid;
    height: auto;
    min-height: 110px;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin-top: 72px;
    padding: 22px 0;
  }

  .contacts-footer__logo,
  .contacts-footer__meta,
  .contacts-footer__privacy {
    position: static;
  }

  .contacts-footer__logo {
    width: min(180px, 100%);
    height: auto;
    justify-self: start;
  }

  .contacts-footer__meta {
    text-align: center;
    transform: none;
  }

  .contacts-footer__privacy {
    width: auto;
    justify-self: end;
    text-align: right;
  }
}

@media (max-width: 600px) {
  .contacts-section {
    padding-top: 56px;
  }

  .contacts-section__title {
    font-size: clamp(42px, 12.2vw, 60px);
    letter-spacing: -0.055em;
  }

  .contacts-section__socials {
    grid-template-columns: 1fr;
  }

  .contacts-section__socials {
    gap: 10px;
    margin-top: 40px;
  }

  .contact-social {
    font-size: 30px;
  }

  .contacts-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 18px;
    margin-top: 56px;
  }

  .contacts-footer__logo {
    width: 185px;
  }

  .contacts-footer__meta {
    justify-self: center;
    text-align: center;
  }

  .contacts-footer__privacy {
    min-height: 44px;
    justify-self: stretch;
    place-items: center start;
    text-align: left;
  }
}

@keyframes signal-marquee {
  from {
    transform: translate3d(-644px, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

.hero-scene__core-flight {
  --core-start-x: var(--hero-core-start-x, -76px);
  --core-start-y: -46px;
  --core-impact-x: 18px;
  --core-impact-y: 18px;
  z-index: 2;
  top: var(--hero-core-top, clamp(42px, 8vh, 82px));
  right: var(--hero-core-right, min(42vw, 610px));
  width: var(--hero-core-width, clamp(138px, 14vw, 214px));
  animation: core-ricochet 2.8s linear infinite;
  transform-origin: center;
  will-change: transform;
}

.hero-scene__core-flight::before {
  position: absolute;
  z-index: 3;
  right: -4%;
  bottom: 14%;
  width: 4px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fffbe0;
  box-shadow:
    -28px -27px 0 0 #ff9d16,
    -12px -42px 0 1px #fff4a8,
    9px -48px 0 0 #ffbe24,
    30px -39px 0 -1px #fffceb,
    46px -22px 0 1px #ff8b0c,
    54px 0 0 -1px #ffd852,
    48px 22px 0 0 #fff7bb,
    31px 39px 0 1px #ffa30f,
    8px 47px 0 -1px #ffcf35,
    -14px 39px 0 0 #fff8c6,
    -31px 24px 0 -1px #ff9411,
    -38px 1px 0 0 #ffc72e;
  content: "";
  filter: drop-shadow(0 0 4px rgba(255, 153, 18, 0.95));
  opacity: 0;
  transform: scale(0.12) rotate(-12deg);
  transform-origin: center;
  animation: core-spark-shower 2.8s linear infinite;
}

.hero-scene__core-flight::after {
  position: absolute;
  z-index: 2;
  right: -15%;
  bottom: 8%;
  width: 48%;
  aspect-ratio: 1;
  background: conic-gradient(
    from 12deg,
    transparent 0 8%,
    #fff6b8 9% 14%,
    transparent 15% 24%,
    #ffb31a 25% 31%,
    transparent 32% 46%,
    #ffffff 47% 52%,
    transparent 53% 65%,
    #ffca35 66% 72%,
    transparent 73% 100%
  );
  clip-path: polygon(50% 0, 60% 34%, 88% 12%, 70% 42%, 100% 50%, 68% 60%, 88% 88%, 58% 70%, 50% 100%, 40% 69%, 12% 88%, 31% 59%, 0 50%, 33% 41%, 12% 12%, 42% 32%);
  content: "";
  filter: drop-shadow(0 0 8px rgba(255, 178, 28, 0.9));
  opacity: 0;
  transform: scale(0.35) rotate(-20deg);
  animation: core-impact-flash 2.8s linear infinite;
}

.hero-scene__core {
  position: relative;
  z-index: 1;
  width: 100%;
  filter: drop-shadow(-14px 15px 13px rgba(61, 41, 26, 0.22));
  transform-origin: 82% 78%;
  animation: core-compression 2.8s linear infinite;
  will-change: transform;
}

.game-dialog {
  width: min(1500px, calc(100% - 32px));
  max-width: none;
  height: min(900px, calc(100dvh - 32px));
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  background: #11253a;
  box-shadow: 0 38px 110px rgba(3, 9, 27, 0.48);
}

.game-dialog::backdrop {
  background: rgba(4, 10, 27, 0.72);
  backdrop-filter: blur(10px) saturate(0.8);
}

.game-dialog[open] {
  animation: game-dialog-enter 320ms var(--motion-ease) both;
}

@keyframes game-dialog-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.game-dialog__frame {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 2px solid rgba(53, 217, 255, 0.72);
  border-radius: inherit;
  background: #11253a;
}

.game-dialog__topbar {
  position: relative;
  z-index: 3;
  display: flex;
  height: 60px;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 20px;
  border-bottom: 1px solid rgba(49, 85, 245, 0.2);
  background: rgba(248, 251, 255, 0.98);
}

.game-dialog__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--quest-ink);
  font-family: var(--font-quest);
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.game-dialog__brand img {
  display: block;
  width: 46px;
  height: 35px;
  object-fit: contain;
}

.game-dialog__close {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0 0 3px;
  place-items: center;
  border: 1px solid rgba(49, 85, 245, 0.2);
  border-radius: 12px;
  color: var(--color-ink);
  background: #ffffff;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  transition:
    border-color var(--motion-duration) ease,
    color var(--motion-duration) ease,
    transform var(--motion-duration) var(--motion-ease);
}

.game-dialog__close:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: rotate(4deg);
}

.game-dialog__viewport {
  position: relative;
  display: grid;
  height: calc(100% - 60px);
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(35, 126, 148, 0.26), transparent 50%),
    #11253a;
}

.game-dialog__canvas {
  position: relative;
  width: 100%;
  height: 100%;
}

.game-dialog__game {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity 220ms ease;
}

.game-dialog__viewport.is-loaded .game-dialog__game {
  opacity: 1;
}

.game-dialog__loader {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-family: var(--font-quest);
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}

.game-dialog__loader span {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: var(--quest-shadow);
  border-radius: 50%;
  animation: game-loader-spin 720ms linear infinite;
}

.game-dialog__viewport.is-loaded .game-dialog__loader {
  opacity: 0;
  pointer-events: none;
}

.share-popup {
  position: fixed;
  z-index: 20;
  right: clamp(8px, 1.6vw, 28px);
  bottom: clamp(28px, 3vw, 48px);
  width: min(440px, calc(100vw - 24px));
  aspect-ratio: 494 / 184;
  overflow: hidden;
  container-type: inline-size;
  opacity: 0;
  transform: translateX(calc(100% + 48px));
  visibility: hidden;
  transition:
    transform 680ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 360ms ease,
    visibility 0s linear 680ms;
}

@media (min-width: 1711px) {
  .share-popup {
    right: calc((100vw - var(--site-stage-width)) / 2 + 28px);
  }
}

.share-popup[hidden] {
  display: none;
}

.share-popup.is-visible {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  transition-delay: 0s;
}

.share-popup__window {
  position: absolute;
  top: -78.8%;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.share-popup__character {
  position: absolute;
  top: 32.1%;
  left: 4.86%;
  display: block;
  width: 24.1%;
  height: 77.7%;
  object-fit: contain;
  pointer-events: none;
}

.share-popup__message {
  position: absolute;
  top: 34.2%;
  left: 25.5%;
  width: 64%;
  margin: 0;
  color: #080b13;
  font-family: var(--font-quest);
  font-size: clamp(17px, 5.06cqw, 25px);
  font-weight: 400;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  letter-spacing: -0.0043em;
  line-height: 1.02;
  pointer-events: none;
}

.share-popup__close,
.share-popup__action {
  position: absolute;
  z-index: 2;
  margin: 0;
  border: 0;
  color: #080b13;
  background: transparent;
  font-family: var(--font-quest);
  font-weight: 400;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
}

.share-popup__close {
  top: 6.5%;
  left: 86%;
  width: 7.4%;
  height: 18%;
  padding: 0;
}

.share-popup__action {
  top: 76%;
  left: 71.5%;
  display: grid;
  width: 17.5%;
  height: 17%;
  padding: 0;
  place-items: center;
  font-size: clamp(10px, 2.83cqw, 14px);
  letter-spacing: -0.0077em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 120ms ease, filter 120ms ease;
}

.share-popup__action:hover {
  filter: brightness(0.82);
}

.share-popup__action:active {
  transform: translateY(2px);
}

.share-popup__close:focus-visible,
.share-popup__action:focus-visible {
  outline-width: 2px;
  outline-offset: -2px;
}

.story-dialog {
  width: min(720px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  color: var(--retro-ink);
  background: transparent;
}

.story-dialog::backdrop {
  background: rgba(9, 17, 39, 0.68);
  backdrop-filter: blur(3px);
}

.story-dialog[open] {
  animation: story-dialog-enter 260ms var(--motion-ease) both;
}

.story-dialog__window {
  overflow: hidden;
  border: 3px solid var(--retro-blue);
  border-radius: 10px 10px 4px 4px;
  background: var(--retro-surface);
  box-shadow:
    0 0 0 1px #003c9b,
    0 22px 64px rgba(3, 14, 43, 0.42),
    inset 1px 1px 0 var(--retro-line-light);
}

.story-dialog__topbar {
  position: relative;
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 4px 5px 4px 14px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0 5%, transparent 6% 86%, rgba(0, 24, 118, 0.4) 87%),
    linear-gradient(90deg, #0757c8 0%, var(--retro-blue-light) 48%, #0757c8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -2px 0 rgba(0, 34, 126, 0.62);
}

.story-dialog__topbar::after {
  position: absolute;
  right: 50px;
  bottom: 5px;
  left: 10px;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
  content: "";
}

.story-dialog__title {
  overflow: hidden;
  font-family: var(--font-quest);
  font-size: clamp(22px, 3vw, 28px);
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  letter-spacing: 0.015em;
  line-height: 1;
  text-overflow: ellipsis;
  text-shadow: 1px 2px 0 rgba(0, 41, 135, 0.8);
  white-space: nowrap;
}

.story-dialog__close {
  position: relative;
  z-index: 1;
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  padding: 0;
  border: 2px solid #ffffff;
  border-radius: 5px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #ef8c72 0%, #d72c18 50%, #9e120a 100%);
  box-shadow:
    inset 1px 1px 2px rgba(255, 255, 255, 0.58),
    inset -2px -2px 1px rgba(101, 12, 3, 0.55),
    1px 1px 0 rgba(0, 37, 121, 0.6);
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 1px 1px 0 #751006;
}

.story-dialog__close:hover {
  filter: brightness(1.08);
}

.story-dialog__close:active {
  filter: brightness(0.88);
  transform: translateY(1px);
}

.story-dialog__body {
  padding: 20px 24px 24px;
  border-top: 3px solid #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), transparent 32%),
    var(--retro-surface);
  box-shadow: inset 0 0 0 1px #a9a69a;
}

.story-dialog__intro {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 88px;
  margin-bottom: 18px;
  padding: 8px 16px 8px 8px;
  border-top: 2px solid #8c9aad;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  border-left: 2px solid #8c9aad;
  background: rgba(255, 255, 255, 0.48);
}

.story-dialog__shield {
  display: block;
  width: 78px;
  height: 78px;
  align-self: center;
  justify-self: center;
  object-fit: contain;
  filter: drop-shadow(0 7px 5px rgba(83, 45, 8, 0.24));
  transform-origin: center;
  animation: story-shield-float 3.4s ease-in-out infinite;
  will-change: transform;
}

.story-dialog__heading,
.story-dialog__description,
.story-dialog__success p,
.story-dialog__success span {
  margin: 0;
}

.story-dialog__heading {
  margin-bottom: 4px;
  font-family: var(--font-quest);
  font-size: clamp(24px, 4vw, 34px);
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  line-height: 0.95;
}

.story-dialog__description {
  max-width: 54ch;
  color: #3b4659;
  font-size: 14px;
  line-height: 1.35;
}

.story-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.story-form[hidden],
.story-dialog__success[hidden] {
  display: none;
}

.story-form__field {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  color: #172033;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.story-form__field--story,
.story-form__field--name {
  grid-column: 1 / -1;
}

.story-form__field input,
.story-form__field textarea {
  width: 100%;
  border: 2px solid;
  border-color: var(--retro-line-dark) var(--retro-line-light) var(--retro-line-light) var(--retro-line-dark);
  border-radius: 0;
  color: #101522;
  background: #ffffff;
  box-shadow: inset 1px 1px 1px rgba(13, 32, 67, 0.22);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
}

.story-form__field input {
  min-height: 44px;
  padding: 9px 10px;
}

.story-form__field textarea {
  min-height: 132px;
  padding: 10px;
  resize: vertical;
}

.story-form__field input:focus-visible,
.story-form__field textarea:focus-visible {
  border-color: var(--retro-blue);
  outline: 2px solid #7dccff;
  outline-offset: 1px;
}

.story-form__error {
  grid-column: 1 / -1;
  min-height: 1.4em;
  color: #9f1239;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.story-form__error[hidden] {
  display: none;
}

.story-form__actions {
  display: flex;
  grid-column: 1 / -1;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.story-button:disabled {
  cursor: wait;
  filter: grayscale(0.2);
  opacity: 0.72;
}

.story-button {
  min-width: 118px;
  min-height: 44px;
  padding: 8px 18px;
  border: 2px solid;
  border-color: #ffffff #53627a #53627a #ffffff;
  border-radius: 2px;
  color: #111827;
  background: linear-gradient(180deg, #ffffff 0%, #ece9d8 52%, #d7d3c3 100%);
  box-shadow:
    inset -1px -1px 0 #9f9b8f,
    inset 1px 1px 0 #ffffff,
    1px 1px 0 #767f8d;
  font-family: var(--font-quest);
  font-size: 18px;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  letter-spacing: 0.03em;
  line-height: 1;
}

.story-button--primary {
  border-color: #b8e7ff #003e9e #003e9e #b8e7ff;
  color: #ffffff;
  background: linear-gradient(180deg, #28b4f5 0%, #0877de 48%, #0756c7 100%);
  box-shadow:
    inset -1px -1px 0 #00347f,
    inset 1px 1px 0 #8cddff,
    1px 1px 0 #767f8d;
  text-shadow: 1px 1px 0 #003d94;
}

.story-button:hover {
  filter: brightness(1.06);
}

.story-button:active {
  box-shadow: inset 2px 2px 2px rgba(10, 23, 43, 0.48);
  transform: translateY(1px);
}

.story-dialog__close:focus-visible,
.story-button:focus-visible {
  outline: 3px solid #f4e04d;
  outline-offset: 2px;
}

.story-dialog__success {
  display: grid;
  min-height: 330px;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 28px;
  border-top: 2px solid #8794a8;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  border-left: 2px solid #8794a8;
  background: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.story-dialog__success p {
  font-family: var(--font-quest);
  font-size: clamp(28px, 5vw, 40px);
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  line-height: 1;
}

.story-dialog__success > span {
  max-width: 44ch;
  color: #3b4659;
  font-size: 15px;
  line-height: 1.4;
}

.story-dialog__success .story-button {
  margin-top: 10px;
}

@keyframes story-dialog-enter {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes story-shield-float {
  0%,
  100% {
    transform: translateY(3px) rotate(-1deg);
  }

  50% {
    transform: translateY(-4px) rotate(1deg);
  }
}

@media (max-width: 640px) {
  .story-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
  }

  .story-dialog__window {
    max-height: calc(100dvh - 16px);
    overflow: auto;
  }

  .story-dialog__topbar {
    position: sticky;
    z-index: 2;
    top: 0;
    min-height: 42px;
    padding-left: 10px;
  }

  .story-dialog__title {
    font-size: 21px;
  }

  .story-dialog__close {
    width: 34px;
    height: 34px;
  }

  .story-dialog__body {
    padding: 14px 12px 16px;
  }

  .story-dialog__intro {
    grid-template-columns: 64px 1fr;
    gap: 10px;
    margin-bottom: 14px;
    padding: 6px 9px 6px 4px;
  }

  .story-dialog__shield {
    width: 58px;
    height: 58px;
  }

  .story-dialog__heading {
    font-size: 26px;
  }

  .story-dialog__description {
    font-size: 12px;
  }

  .story-form {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .story-form__field--story,
  .story-form__field--name,
  .story-form__actions {
    grid-column: auto;
  }

  .story-form__field textarea {
    min-height: 116px;
  }

  .story-form__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .story-button {
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 16px;
  }

  .story-dialog__success {
    min-height: 360px;
    padding: 22px 16px;
  }
}

@keyframes game-loader-spin {
  to {
    transform: rotate(1turn);
  }
}
.noscript-note {
  position: fixed;
  z-index: 50;
  right: 16px;
  bottom: 16px;
  left: 16px;
  margin: 0;
  padding: 14px 18px;
  border-radius: 14px;
  color: #ffffff;
  background: var(--game-night);
  text-align: center;
}

@keyframes core-ricochet {
  0%,
  68%,
  100% {
    transform: translate(var(--core-start-x), var(--core-start-y)) rotate(-20deg);
  }

  12% {
    transform: translate(var(--core-start-x), var(--core-start-y)) rotate(-20deg);
    animation-timing-function: cubic-bezier(0.32, 0.02, 0.82, 0.72);
  }

  39.6% {
    transform: translate(var(--core-impact-x), var(--core-impact-y)) rotate(-4deg);
    animation-timing-function: cubic-bezier(0.18, 0.28, 0.42, 1);
  }
}

@keyframes core-compression {
  0%,
  39%,
  44%,
  100% {
    transform: scale(1);
  }

  39.8% {
    transform: scaleX(0.91) scaleY(1.055);
  }

  41.2% {
    transform: scaleX(1.045) scaleY(0.975);
  }
}

@keyframes core-impact-flash {
  0%,
  38.8%,
  45%,
  100% {
    opacity: 0;
    transform: scale(0.35) rotate(-20deg);
  }

  39.6% {
    opacity: 1;
    transform: scale(1.08) rotate(5deg);
  }

  42% {
    opacity: 0.52;
    transform: scale(1.42) rotate(18deg);
  }
}

@keyframes core-spark-shower {
  0%,
  39%,
  47%,
  100% {
    opacity: 0;
    transform: scale(0.12) rotate(-12deg);
  }

  39.7% {
    opacity: 1;
    transform: scale(0.48) rotate(-3deg);
  }

  43% {
    opacity: 0.92;
    transform: scale(1.12) rotate(8deg);
  }

  46% {
    opacity: 0;
    transform: scale(1.34) rotate(13deg);
  }
}

@media (max-width: 820px) {
  .site-header {
    width: calc(100% - 32px);
  }

  .site-brand {
    left: 8px;
    width: 68px;
  }

  .site-brand__title {
    display: none;
  }

  .quest-button {
    right: 85px;
  }

  .menu-button {
    right: 8px;
  }

  .hero-scene__bogatyr {
    right: -8vw;
    width: min(76vw, 580px);
  }

  .hero-scene__copy {
    top: clamp(118px, 19svh, 150px);
    left: clamp(20px, 5vw, 40px);
    width: min(58vw, 470px);
  }

  .hero-scene__text-block {
    padding: 12px 16px;
    font-size: 18px;
    line-height: 27px;
  }

  .hero-scene__actions {
    width: 100%;
    margin-top: 24px;
  }

  .hero-action {
    padding: 0 12px;
    font-size: 14px;
  }

  .hero-scene__core-flight {
    --core-start-x: -62px;
    --core-start-y: -38px;
    --core-impact-x: 18px;
    --core-impact-y: 20px;
    top: 9%;
    right: 50vw;
    width: clamp(112px, 20vw, 154px);
  }
}

@media (max-width: 900px) {
  .masks-section {
    padding: 72px clamp(24px, 5vw, 40px) 80px;
  }

  .masks-section__inner {
    min-height: 720px;
    margin-top: -160px;
  }

  .masks-section__title {
    position: relative;
    top: auto;
    left: auto;
  }

  .masks-section__title-main {
    font-size: clamp(54px, 8.5vw, 68px);
  }

  .masks-section__title-accent {
    font-size: clamp(78px, 12vw, 96px);
  }

  .masks-section__scene {
    top: auto;
    bottom: 0;
    height: 390px;
  }

  .masks-section__character {
    top: auto;
    bottom: 0;
    left: 25%;
    width: min(43vw, 300px);
    max-width: none;
  }

  .masks-section__bubble {
    top: 0;
    right: 0;
    left: auto;
    width: min(35vw, 240px);
    max-width: none;
  }

  .masks-section__bubble p {
    font-size: clamp(15px, 2.6vw, 18px);
  }
}

@media (max-width: 1040px) {
  .recognition-section {
    padding-right: clamp(24px, 5vw, 40px);
    padding-left: clamp(24px, 5vw, 40px);
  }

  .recognition-section__panel {
    left: auto;
    width: 100%;
    min-height: 0;
    transform: none;
  }

  .recognition-section__eyebrow {
    left: auto;
    width: auto;
    transform: none;
  }

  .recognition-section__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 56px 16px;
    min-height: 0;
    padding: 32px 24px 48px;
  }

  .recognition-card {
    grid-column: span 2;
  }

  .recognition-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .recognition-card:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .recognition-card__image {
    width: min(200px, 100%);
  }

  .recognition-card__image--income {
    width: min(186px, 100%);
    height: 200px;
  }
}

@media (max-width: 700px) {
  .recognition-section__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 12px;
  }

  .recognition-card,
  .recognition-card:nth-child(4) {
    grid-column: auto;
  }

  .recognition-card:nth-child(5) {
    grid-column: 1 / -1;
    width: 50%;
    justify-self: center;
  }
}

@media (max-width: 520px) {
  .site-header {
    width: calc(100% - 16px);
    border-radius: 18px;
  }

  .site-brand {
    left: 2px;
    width: 62px;
  }

  .site-brand__mark {
    top: 6px;
    width: 62px;
    height: 62px;
  }

  .quest-button {
    right: 66px;
    width: 166px;
  }

  .quest-button__label {
    left: 9px;
    font-size: 18px;
  }

  .quest-button__logo {
    left: auto;
    right: 6px;
    width: 51px;
  }

  .menu-button {
    right: 6px;
    width: 48px;
  }

  .hero-scene__bogatyr {
    right: -40vw;
    width: min(128vw, 500px);
  }

  .hero-scene__copy {
    z-index: 3;
    top: clamp(142px, 22svh, 184px);
    left: 16px;
    width: min(88vw, 344px);
  }

  .hero-scene__text-block {
    width: 100%;
    min-height: 0;
    padding: 10px 12px;
    font-size: 16px;
    line-height: 21px;
  }

  .hero-scene__text-block br {
    display: none;
  }

  .hero-scene__actions {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .hero-action {
    height: 48px;
    font-size: 15px;
  }

  .hero-scene__core-flight {
    --core-start-x: -48px;
    --core-start-y: -32px;
    --core-impact-x: 28px;
    --core-impact-y: 42px;
    top: 11%;
    right: 58vw;
    width: clamp(104px, 31vw, 132px);
  }

  .hero-gradient-transition {
    height: 170px;
    margin-top: -54px;
    background-position: 58% top;
  }

  .masks-section {
    padding: 56px 16px 64px;
  }

  .masks-section__inner {
    min-height: 600px;
    margin-top: -126px;
  }

  .masks-section__title-main {
    font-size: clamp(38px, 12vw, 48px);
    letter-spacing: -0.055em;
  }

  .masks-section__title-accent {
    margin-top: 8px;
    font-size: clamp(56px, 17vw, 68px);
    line-height: 1.02;
  }

  .masks-section__scene {
    height: 310px;
  }

  .masks-section__character {
    left: 2%;
    width: min(61vw, 230px);
  }

  .masks-section__bubble {
    top: 4px;
    right: -2px;
    width: min(48vw, 180px);
  }

  .masks-section__bubble p {
    font-size: clamp(12px, 3.65vw, 14px);
    line-height: 1.42;
  }

  .recognition-section {
    padding: 0 16px;
  }

  .recognition-section__eyebrow {
    margin-bottom: 8px;
    font-size: 17px;
    letter-spacing: 0.9px;
  }

  .recognition-section__grid {
    display: flex;
    padding: 8px 16px 24px;
    flex-direction: column;
    gap: 0;
  }

  .recognition-card,
  .recognition-card:nth-child(5) {
    display: grid;
    width: 100%;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 10px;
    padding: 18px 0;
    text-align: left;
  }

  .recognition-card + .recognition-card {
    border-top: 2px solid rgba(21, 23, 28, 0.18);
  }

  .recognition-card__image,
  .recognition-card__image--income {
    width: 132px;
    height: 132px;
  }

  .recognition-card__copy {
    align-items: flex-start;
  }

  .recognition-card__title {
    display: block;
    min-height: 0;
    padding: 0;
    font-size: 17px;
    text-align: left;
  }

  .recognition-card__mobile-break {
    display: inline;
  }

  .recognition-card__description {
    min-height: 0;
    margin-top: 7px;
    padding: 0;
    font-size: 14px;
    line-height: 1.38;
    text-align: left;
  }

  .recognition-card__signal {
    margin-top: 11px;
    font-size: 14px;
  }

  .recognition-card__warning {
    max-width: none;
    margin-top: 4px;
    font-size: 13.5px;
    line-height: 1.32;
    text-align: left;
  }

  .recognition-card:nth-child(5) .recognition-card__description {
    position: relative;
    left: -2px;
    margin-top: 15px;
  }

  .recognition-card:nth-child(5) .recognition-card__signal {
    margin-top: 14px;
  }

  .recognition-card:nth-child(3) .recognition-card__description {
    margin-top: 2px;
  }

  .recognition-card:nth-child(3) .recognition-card__signal {
    margin-top: 5px;
  }

  .recognition-card:nth-child(4) .recognition-card__description {
    margin-top: 3px;
  }

  .recognition-card:nth-child(4) .recognition-card__signal {
    margin-top: 4px;
  }
}

@media (max-width: 380px) {
  .recognition-section__grid {
    padding-right: 12px;
    padding-left: 12px;
  }

  .recognition-card,
  .recognition-card:nth-child(5) {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 8px;
  }

  .recognition-card__image,
  .recognition-card__image--income {
    width: 108px;
    height: 108px;
  }
}

@media (max-width: 350px) {
  .quest-button {
    width: 72px;
  }

  .quest-button__label {
    display: none;
  }

  .quest-button__logo {
    right: 7px;
    width: 56px;
  }
}

@media (max-width: 760px) {
  .game-dialog {
    width: calc(100% - 16px);
    height: calc(100dvh - 16px);
    border-radius: 20px;
  }

  .game-dialog__frame {
    border-width: 1px;
  }

  .game-dialog__topbar {
    height: 58px;
    padding: 0 7px 0 12px;
  }

  .game-dialog__brand {
    gap: 5px;
    font-size: 13px;
  }

  .game-dialog__brand img {
    width: 38px;
    height: 29px;
  }

  .game-dialog__viewport {
    height: calc(100% - 58px);
  }
}

@media (max-width: 420px) {
  .site-menu__meta {
    font-size: 10px;
  }
}

@media (max-width: 360px) {
  .site-menu__header {
    transform: translateY(4px);
  }

  .site-menu__panel {
    gap: 32px;
    padding: 20px;
    border-radius: 0;
  }

  .site-menu__brand {
    top: -10px;
    left: -4px;
  }

  .site-menu__brand-title,
  .site-menu__brand-subtitle {
    font-size: 14px;
  }

  .site-menu__item {
    padding-right: 12px;
    padding-left: 12px;
    font-size: 18px;
  }

  .site-menu__quest-button {
    padding-right: 18px;
    padding-left: 18px;
    font-size: 22px;
  }

  .site-menu__meta {
    gap: 6px;
    font-size: 9px;
  }
}

@media (max-width: 520px) {
  body {
    padding-top: 0;
  }

  .site-header {
    top: 16px;
    left: 16px;
    width: calc(100% - 32px);
    height: 56px;
    border: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transform: none;
  }

  .site-brand {
    top: 10px;
    left: 8px;
    width: min(250px, calc(100% - 58px));
    height: 36px;
  }

  .site-brand__mark {
    top: 0;
    left: 0;
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .site-brand__title {
    display: none;
  }

  .site-brand__mobile-title {
    position: absolute;
    top: 5px;
    left: 44px;
    display: flex;
    height: 26px;
    flex-direction: column;
    color: var(--color-ink);
    font-family: var(--font-quest);
    font-size: 11px;
    font-weight: 700;
    font-variation-settings: "ELGR" 1, "ELSH" 2;
    line-height: 13px;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .quest-button {
    display: none;
  }

  .menu-button {
    top: 6px;
    right: 6px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: #f3f7fc;
  }

  .menu-button img {
    width: 20px;
    height: 20px;
  }

  .hero-stage {
    height: 716px;
    min-height: 716px;
    background: url("assets/hero/mobile-background.webp") center / cover no-repeat;
  }

  .hero-scene {
    clip-path: none;
  }

  .hero-scene__copy {
    z-index: 3;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .hero-scene__headline {
    position: absolute;
    top: 80px;
    left: 16px;
    width: calc(100% - 32px);
  }

  .hero-scene__text-block {
    display: none;
  }

  .hero-scene__mobile-text-block {
    position: absolute;
    top: 600px;
    left: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 32px);
    height: 81px;
    margin: 0;
    padding: 12px 22px;
    border: 1px solid rgba(21, 23, 28, 0.4);
    background: #ffffff;
    box-shadow: 0 4px 2px rgba(0, 0, 0, 0.4);
    color: #374957;
    font-family: var(--font-quest);
    font-size: 16px;
    font-weight: 400;
    font-variation-settings: "ELGR" 1, "ELSH" 2;
    line-height: 23px;
    text-align: center;
  }

  .hero-scene__actions {
    position: absolute;
    top: 527px;
    left: 16px;
    display: block;
    width: calc(100% - 32px);
    height: 52px;
    margin: 0;
  }

  .hero-action--primary {
    width: 100%;
    height: 52px;
    border-color: #00a7e4;
    border-radius: 18px;
    background: #00a7e4;
    box-shadow: 0 8px 18px rgba(0, 148, 209, 0.22);
    font-family: var(--font-quest);
    font-size: 16px;
    font-weight: 700;
    font-variation-settings: "ELGR" 1, "ELSH" 2;
    line-height: 20px;
    text-transform: uppercase;
  }

  .hero-action--secondary,
  .hero-action__desktop-label {
    display: none;
  }

  .hero-action__mobile-label {
    display: inline;
  }

  .hero-scene__mobile-bogatyr {
    position: absolute;
    z-index: 2;
    top: 170px;
    left: 16px;
    display: block;
    width: min(334px, calc(100% - 32px));
    height: auto;
    user-select: none;
    pointer-events: none;
  }

  .hero-scene__bogatyr,
  .hero-scene__core-flight {
    display: none;
  }

  .signal-strip {
    top: 469px;
    bottom: auto;
    left: -54px;
    width: calc(100% + 108px);
    height: 35px;
  }
}

/* Mobile / Homepage — 375 (Figma node 169:11). */
@media (max-width: 520px) {
  html {
    --page-edge-background: var(--color-surface);
  }

  html.is-at-contacts {
    --page-edge-background: var(--contacts-background);
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    /* Safari also uses this canvas behind its toolbars: blue only at contacts. */
    background-color: var(--page-edge-background);
  }

  #app {
    background-color: var(--color-surface);
  }

  body::before {
    display: none;
  }

  .hero-gradient-transition {
    display: none;
  }

  .masks-section {
    height: 426px;
    padding: 0;
    overflow: hidden;
  }

  .masks-section__inner {
    width: 100%;
    height: 426px;
    min-height: 0;
    margin: 0;
  }

  .masks-section__title {
    position: absolute;
    top: 5px;
    left: 16px;
    width: calc(100% - 32px);
  }

  .masks-section__title-main {
    font-size: 34px;
    line-height: 35px;
    letter-spacing: -1.7px;
  }

  .masks-section__title-accent {
    margin-top: 10px;
    font-size: 32px;
    line-height: 35px;
    letter-spacing: -1.3px;
  }

  .masks-section__scene {
    position: absolute;
    inset: 0;
    height: 426px;
  }

  .masks-section__character {
    top: 165px;
    bottom: auto;
    left: 16px;
    width: 217px;
    max-width: none;
  }

  .masks-section__bubble {
    top: 85px;
    right: auto;
    left: 188px;
    width: 166px;
    max-width: none;
  }

  .masks-section__bubble p {
    top: 28.3%;
    left: 10.8%;
    width: 84.9%;
    font-size: 12px;
    line-height: 16px;
  }

  .recognition-section {
    height: 1046px;
    padding: 0;
    overflow: hidden;
  }

  .recognition-section__inner {
    position: relative;
    width: 100%;
    height: 1046px;
    margin: 0;
  }

  .recognition-section__eyebrow {
    position: absolute;
    top: 0;
    left: 16px;
    width: calc(100% - 32px);
    height: 18px;
    margin: 0;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.8px;
    transform: none;
  }

  .recognition-section__panel {
    position: absolute;
    top: 28px;
    left: 16px;
    width: calc(100% - 32px);
    height: 977px;
    min-height: 0;
    border-width: 3px;
    transform: none;
  }

  .recognition-section__grid {
    display: block;
    min-height: 0;
    height: 100%;
    padding: 16px 0 15px;
  }

  .recognition-card,
  .recognition-card:nth-child(4),
  .recognition-card:nth-child(5) {
    position: relative;
    display: block;
    width: 100%;
    height: 186px;
    padding: 0;
    text-align: left;
  }

  .recognition-card + .recognition-card {
    border: 0;
  }

  .recognition-card:not(:last-child)::after {
    position: absolute;
    right: 36px;
    bottom: 0;
    left: 36px;
    height: 2px;
    background: rgba(21, 23, 28, 0.36);
    content: "";
  }

  .recognition-card__image,
  .recognition-card__image--income {
    position: absolute;
    top: 23px;
    left: 11px;
    width: 120px;
    height: 120px;
  }

  .recognition-card:nth-child(2) .recognition-card__image {
    top: 20px;
  }

  .recognition-card:nth-child(3) .recognition-card__image {
    top: 32px;
  }

  .recognition-card:nth-child(4) .recognition-card__image {
    top: 23px;
  }

  .recognition-card:nth-child(5) .recognition-card__image {
    top: 28px;
  }

  .recognition-card__copy {
    position: absolute;
    top: 14px;
    right: 17px;
    left: 136px;
    display: block;
    width: auto;
  }

  .recognition-card__title {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 21.504px;
    text-align: left;
  }

  .recognition-card__description {
    min-height: 0;
    margin: 1px 0 0;
    padding: 0;
    font-size: 12px;
    line-height: 22.56px;
    letter-spacing: -0.2374px;
    text-align: left;
  }

  .recognition-card__signal {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 15px;
  }

  .recognition-card__warning {
    max-width: 179px;
    margin: 0;
    font-size: 12px;
    line-height: 19.712px;
    letter-spacing: -0.1567px;
    text-align: left;
  }

  .about-section {
    height: 956px;
    padding: 0;
    overflow: hidden;
  }

  .about-section::before {
    display: none;
  }

  .about-section__inner {
    position: relative;
    width: 100%;
    height: 956px;
    margin: 0;
  }

  .about-section__eyebrow {
    position: absolute;
    top: 0;
    left: 16px;
    width: calc(100% - 32px);
    height: 18px;
    margin: 0;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0.8px;
  }

  .about-section__panel {
    position: absolute;
    top: 32px;
    left: 16px;
    display: block;
    width: calc(100% - 32px);
    height: 871px;
    min-height: 0;
    padding: 0;
    border: 3px solid #000000;
  }

  .about-section__panel::after {
    position: absolute;
    z-index: 2;
    top: 107px;
    left: -1px;
    width: 76px;
    height: 245px;
    border: 2px solid #000000;
    background: #6ed6ff;
    content: "";
    pointer-events: none;
  }

  .about-section__title {
    position: absolute;
    z-index: 3;
    top: 18px;
    left: 9px;
    width: 304px;
    margin: 0;
    font-size: 17px;
    line-height: 22px;
    letter-spacing: -1.428px;
  }

  .about-section__media {
    position: absolute;
    z-index: 1;
    top: 107px;
    left: -28px;
    overflow: hidden;
    width: 368px;
    height: 245px;
    margin: 0;
    border: 0;
  }

  .about-section__media img {
    position: static;
    width: 368px;
    max-width: none;
    height: 245px;
    object-fit: cover;
    transform: none;
  }

  .about-section__quote {
    position: absolute;
    z-index: 3;
    top: 365px;
    left: 32px;
    width: 295px;
    height: 278px;
    min-height: 0;
    margin: 0;
    padding: 9px 0 0 5px;
    border-left: 4px solid #000000;
    font-size: 12px;
    line-height: normal;
    letter-spacing: 1.08px;
  }

  .about-section__quote footer {
    width: 201px;
    margin-top: auto;
    padding-top: 22px;
    font-size: 12px;
    line-height: 14.5px;
    letter-spacing: 1.08px;
  }

  .about-section__quote p {
    line-height: 14.3px;
  }

  .about-section__mobile-break {
    display: inline;
  }

  .about-section__desktop-quote {
    display: none;
  }

  .about-section__mobile-quote {
    display: inline;
  }

  .about-section__support {
    position: absolute;
    z-index: 3;
    top: 672px;
    left: 38px;
    display: block;
    width: 261px;
    margin: 0;
  }

  .about-section__support p {
    font-size: 34px;
    line-height: 51px;
    letter-spacing: -1.428px;
  }

  .about-section__support img {
    display: block;
    width: 245px;
    height: 73px;
    margin: 6px 0 0 -4px;
    object-fit: contain;
  }

  .protection-section {
    height: 1285px;
    padding: 0;
    overflow: hidden;
  }

  .protection-section__inner {
    position: relative;
    width: 100%;
    height: 1285px;
    margin: 0;
  }

  .protection-section__eyebrow {
    position: absolute;
    top: 0;
    left: 16px;
    width: calc(100% - 32px);
    height: 18px;
    margin: 0;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0.8px;
  }

  .protection-scene {
    position: absolute;
    top: 31px;
    left: 16px;
    display: block;
    width: calc(100% - 32px);
    height: 603px;
    min-height: 0;
    padding: 0;
    border: 0;
    background: #fcc6e9;
    box-shadow: inset 0 0 0 3px #000000;
    aspect-ratio: auto;
  }

  .protection-scene__background {
    display: none;
  }

  .protection-scene__copy {
    position: absolute;
    z-index: 4;
    top: 48px;
    left: 21px;
    width: 304px;
  }

  .protection-scene__copy h3 {
    width: 304px;
    font-size: 24px;
    line-height: 35px;
    letter-spacing: -1.428px;
    text-transform: uppercase;
  }

  .protection-copy__mobile-only {
    display: inline;
  }

  .protection-scene__copy p {
    position: absolute;
    top: 429px;
    left: 8px;
    width: 286px;
    margin: 0;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: -0.3778px;
    text-align: center;
  }

  .protection-cards {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .protection-deck {
    position: absolute;
    inset: 0;
    clip-path: none;
  }

  .protection-cards__back,
  .protection-cards__back--far,
  .protection-cards__back--near {
    width: 210px;
    height: 301px;
  }

  .protection-cards__back--far {
    top: 126px;
    left: 91px;
  }

  .protection-cards__back--near {
    top: 143px;
    left: 70px;
  }

  .protection-card {
    top: 173px;
    left: 2px;
    width: 278px;
    height: 278px;
  }

  .protection-card__title {
    top: 32.4%;
    left: 24.8%;
    width: 50.4%;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: 1.08px;
  }

  .protection-card__description {
    top: 46.4%;
    left: 27%;
    width: 46%;
    font-size: 12px;
    line-height: 17px;
    letter-spacing: -0.3125px;
  }

  .protection-control {
    top: 290px;
    width: 44px;
    height: 44px;
  }

  .protection-control--previous {
    left: 24.86px;
  }

  .protection-control--next {
    right: auto;
    left: calc(100% - 38.75px);
    transform: translate(-50%, -50%);
  }

  .protection-control--next:hover {
    transform: translate(-50%, -50%) scale(1.05);
  }

  .protection-control--next:active {
    transform: translate(-50%, -50%) scale(0.94);
  }

  .protection-control__circle {
    width: 22.306px;
    height: 22.306px;
  }

  .protection-control__arrow {
    width: 8.13px;
    height: 7.25px;
  }

  .protection-guitarist {
    display: none;
  }

  .protection-alert {
    position: absolute;
    top: 660px;
    left: 16px;
    display: block;
    width: calc(100% - 32px);
    height: 222px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border-radius: 32px;
  }

  .protection-alert__icon {
    position: absolute;
    top: 15px;
    left: 21px;
    width: 32px;
    height: 32px;
    border-radius: 11px;
    font-size: 20px;
  }

  .protection-alert__copy {
    position: absolute;
    top: 15px;
    left: 64px;
    width: 261px;
  }

  .protection-alert__eyebrow {
    font-size: 8px;
    line-height: 10px;
    letter-spacing: 0.5px;
  }

  .protection-alert__copy h3 {
    width: 249px;
    margin-top: 8px;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: -1px;
  }

  .protection-alert__description {
    width: 261px;
    margin-top: 7px;
    font-size: 12px;
    line-height: 17.6px;
    letter-spacing: -0.1px;
  }

  .protection-impact {
    position: absolute;
    top: 911px;
    left: 25px;
    display: block;
    width: 336px;
    margin: 0;
    padding: 0;
  }

  .protection-impact h3 {
    width: 336px;
    font-size: 21px;
    line-height: 26px;
    letter-spacing: 1.08px;
  }

  .protection-impact p {
    position: relative;
    width: 290px;
    margin: 30px 0 0 1px;
    padding: 0 0 40px;
    border: 0;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.5px;
  }

  .protection-impact p::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 265px;
    height: 8px;
    background: #000000;
    content: "";
  }

  .news-section {
    display: none;
  }

  .contacts-section {
    position: relative;
    height: 656px;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background-color: #ffffff;
    background-image: url("assets/background/mobile-contacts.svg");
    background-position: center 47px;
    background-size: 100% 609px;
  }

  .contacts-section__inner {
    position: relative;
    width: 100%;
    height: 656px;
    min-height: 0;
    margin: 0;
  }

  .contacts-section__eyebrow {
    position: absolute;
    top: 0;
    left: 16px;
    width: calc(100% - 32px);
    height: 18px;
    margin: 0;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0.8px;
  }

  .contacts-section__title {
    position: absolute;
    top: 34px;
    left: 16px;
    width: calc(100% - 34px);
    height: 90px;
    margin: 0;
    font-family: var(--font-brand);
    font-size: 32px;
    line-height: 30px;
    letter-spacing: -1.5px;
  }

  .contacts-section__socials {
    position: absolute;
    top: 189px;
    left: 38px;
    display: grid;
    width: calc(100% - 76px);
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 0;
  }

  .contact-social,
  .contact-social--vk {
    width: 100%;
    height: 56px;
    min-width: 0;
    margin: 0;
    flex-basis: auto;
    font-size: 32px;
    line-height: 35px;
  }

  .contact-social img,
  .contact-social--telegram img,
  .contact-social--ok img,
  .contact-social--vk img {
    left: 19px;
    width: 34px;
    height: 34px;
  }

  .contact-social--vk img {
    left: 18px;
    width: 42px;
    height: 42px;
  }

  .contacts-section__warning {
    position: absolute;
    top: 365px;
    left: 38px;
    width: calc(100% - 76px);
    min-height: 36px;
    margin: 0;
    padding-left: 20px;
    border-left-width: 5px;
    font-size: 9px;
    line-height: 12px;
    letter-spacing: -0.1px;
  }

  .contacts-footer {
    position: absolute;
    top: 438px;
    left: 38px;
    display: block;
    width: calc(100% - 76px);
    height: 208px;
    min-height: 0;
    margin: 0;
    padding: 0;
  }

  .contacts-footer__logo {
    position: absolute;
    top: 25px;
    left: 47px;
    width: 205px;
    height: 61px;
  }

  .contacts-footer__meta {
    position: absolute;
    top: 104px;
    left: 50%;
    width: 213px;
    margin: 0;
    font-size: 13px;
    line-height: 16px;
    text-align: center;
    transform: translateX(-50%);
  }

  .contacts-footer__privacy {
    position: absolute;
    top: 155px;
    left: 16px;
    display: grid;
    width: 268px;
    min-height: 18px;
    place-items: center;
    font-size: 13px;
    line-height: 16px;
    text-align: center;
  }

  .share-popup {
    right: 0;
    bottom: 12px;
    width: 240px;
    aspect-ratio: 1;
  }

  .share-popup__window {
    top: 0;
    left: 0;
    width: 240px;
    height: 240px;
  }

  .share-popup__character {
    top: 41.3%;
    left: 4.9%;
    width: 24%;
    height: 29%;
  }

  .share-popup__message {
    top: 42%;
    left: 25.5%;
    width: 64%;
    font-size: 13px;
  }

  .share-popup__close {
    top: calc(35% - 22px);
    left: calc(89.5% - 22px);
    width: 44px;
    height: 44px;
  }

  .share-popup__action {
    top: calc(60.5% - 22px);
    left: calc(80.25% - 22px);
    width: 44px;
    height: 44px;
    font-size: 7px;
  }
}

/* Tablet / Homepage — iPad mini 8.3 (Figma node 183:397, 744 × 3597). */
@media (min-width: 720px) and (max-width: 820px) {
  :root {
    --header-height: 62px;
    --page-gutter: 22px;
    --tablet-canvas-shift: calc((100vw - 744px) / 2);
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    padding-top: 0;
    background: #ffffff;
  }

  body::before {
    display: none;
  }

  #app {
    background-color: #ffffff;
    background-image: url("assets/site/tablet-background-1710.webp");
    background-repeat: no-repeat;
    background-position: calc(50% + 105px) -8px;
    background-size: 1710px 962px;
  }

  .site-header {
    position: absolute;
    top: 20px;
    left: calc(22px + var(--tablet-canvas-shift));
    width: 700px;
    height: 62px;
    transform: none;
  }

  .site-brand {
    top: -4px;
    left: 18px;
    width: 416px;
    height: 68px;
  }

  .site-brand__mark {
    top: 3px;
    width: 68px;
    height: 68px;
  }

  .site-brand__title {
    top: 24px;
    left: 78px;
    display: block;
    font-size: 16px;
  }

  .site-brand__mobile-title,
  .quest-button {
    display: none;
  }

  .menu-button {
    top: 8px;
    right: 14px;
    width: 49px;
    height: 44px;
  }

  .hero-stage {
    height: 519px;
    min-height: 519px;
    background: transparent;
  }

  .hero-scene {
    clip-path: none;
  }

  .hero-scene__copy {
    z-index: 3;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-scene__headline {
    position: absolute;
    top: 161px;
    left: calc(22px + var(--tablet-canvas-shift));
    width: 350px;
  }

  .hero-scene__text-block {
    display: none;
  }

  .hero-scene__mobile-text-block {
    position: absolute;
    top: 291px;
    left: calc(22px + var(--tablet-canvas-shift));
    display: flex;
    align-items: center;
    justify-content: center;
    width: 335px;
    height: 68px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid rgba(21, 23, 28, 0.4);
    background: #ffffff;
    box-shadow: 0 4px 2px rgba(0, 0, 0, 0.4);
    color: #374957;
    font-family: var(--font-quest);
    font-size: 14px;
    font-weight: 400;
    font-variation-settings: "ELGR" 1, "ELSH" 2;
    line-height: 23px;
    text-align: center;
  }

  .hero-scene__actions {
    position: absolute;
    top: 373px;
    left: calc(22px + var(--tablet-canvas-shift));
    display: grid;
    width: 299px;
    height: 29px;
    grid-template-columns: 181px 107px;
    gap: 11px;
    margin: 0;
  }

  .hero-action {
    height: 29px;
    padding: 0 8px;
    border-radius: 20px;
    font-family: var(--font-brand);
    font-size: 8px;
    letter-spacing: -0.31px;
  }

  .hero-action--primary {
    border-color: #00a7e4;
    background: #00a7e4;
    box-shadow: 0 9px 12.5px rgba(0, 0, 0, 0.4);
    font-family: var(--font-quest);
    font-size: 10px;
    font-variation-settings: "ELGR" 1, "ELSH" 2;
  }

  .hero-action--secondary {
    gap: 4px;
    box-shadow: 0 4px 2px rgba(0, 0, 0, 0.4);
  }

  .hero-action__arrow {
    font-size: 10px;
  }

  .hero-action__desktop-label {
    display: none;
  }

  .hero-action__tablet-label {
    display: inline;
  }

  .hero-action__mobile-label,
  .hero-scene__mobile-bogatyr {
    display: none;
  }

  .hero-scene__bogatyr,
  .hero-scene__core-flight {
    display: none;
  }

  .hero-scene__tablet-bogatyr {
    position: absolute;
    z-index: 2;
    top: 66px;
    left: calc(321px + var(--tablet-canvas-shift));
    display: block;
    width: 397px;
    height: 496px;
    object-fit: fill;
    pointer-events: none;
    user-select: none;
  }

  .signal-strip {
    top: 484px;
    bottom: auto;
    left: -1px;
    width: calc(100% + 1px);
    height: 35px;
  }

  .signal-strip__track,
  .signal-strip__track[data-marquee-ready="true"] {
    animation: none;
    transform: none;
    will-change: auto;
  }

  .hero-gradient-transition {
    display: none;
  }

  .masks-section {
    height: 353px;
    padding: 0;
    overflow: hidden;
    background: transparent;
  }

  .masks-section__inner {
    width: 100%;
    height: 353px;
    min-height: 0;
    margin: 0;
  }

  .masks-section__title {
    position: absolute;
    top: 43px;
    left: calc(49px + var(--tablet-canvas-shift));
    width: 360px;
  }

  .masks-section__title-main {
    font-size: 44px;
    line-height: 51px;
    letter-spacing: -2px;
  }

  .masks-section__title-accent {
    margin-top: 8px;
    font-size: 60px;
    line-height: 56px;
    letter-spacing: -4px;
  }

  .masks-section__scene {
    position: absolute;
    inset: 0;
    height: 353px;
  }

  .masks-section__character {
    top: 83px;
    bottom: auto;
    left: calc(347px + var(--tablet-canvas-shift));
    width: 220px;
    max-width: none;
  }

  .masks-section__bubble {
    top: 19px;
    right: auto;
    left: calc(503px + var(--tablet-canvas-shift));
    width: 157px;
    max-width: none;
  }

  .masks-section__bubble p {
    top: 27.4%;
    left: 13.4%;
    width: 73.9%;
    font-size: 10px;
    line-height: 15px;
  }

  .recognition-section {
    height: 353px;
    padding: 0;
    overflow: hidden;
    background: transparent;
  }

  .recognition-section__inner {
    position: relative;
    width: 100%;
    height: 353px;
    margin: 0;
  }

  .recognition-section__eyebrow {
    position: absolute;
    top: 0;
    left: calc(41px + var(--tablet-canvas-shift));
    width: 233px;
    height: 23px;
    margin: 0;
    font-size: 20px;
    line-height: 23px;
    letter-spacing: 1.08px;
    transform: none;
  }

  .recognition-section__panel {
    position: absolute;
    top: 31px;
    left: calc(41px + var(--tablet-canvas-shift));
    width: 677px;
    height: 281px;
    min-height: 0;
    border-width: 3px;
    transform: none;
  }

  .recognition-section__grid {
    display: grid;
    height: 100%;
    min-height: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 18px 12px 10px;
  }

  .recognition-card,
  .recognition-card:nth-child(4),
  .recognition-card:nth-child(5) {
    display: flex;
    width: auto;
    min-width: 0;
    grid-column: auto;
    align-items: center;
    flex-direction: column;
    padding: 0;
    text-align: center;
  }

  .recognition-card + .recognition-card {
    border: 0;
  }

  .recognition-card__image,
  .recognition-card__image--income {
    width: 111px;
    height: 111px;
  }

  .recognition-card__title {
    display: grid;
    min-height: 30px;
    margin-top: 19px;
    padding: 0 3px;
    place-items: center;
    font-size: 12px;
    line-height: 15px;
    text-align: center;
  }

  .recognition-card__description {
    min-height: 26px;
    margin: 4px 0 0;
    padding: 0 5px;
    font-size: 8px;
    line-height: 13px;
    letter-spacing: -0.24px;
    text-align: center;
  }

  .recognition-card__signal {
    margin-top: 8px;
    font-size: 12px;
    line-height: 17px;
  }

  .recognition-card__warning {
    max-width: 116px;
    margin-top: 0;
    font-size: 8px;
    line-height: 11px;
    text-align: center;
  }

  .about-section {
    height: 402px;
    padding: 0;
    overflow: hidden;
  }

  .about-section::before {
    display: none;
  }

  .about-section__inner {
    position: relative;
    width: 100%;
    height: 402px;
    margin: 0;
  }

  .about-section__eyebrow {
    position: absolute;
    top: 0;
    left: calc(41px + var(--tablet-canvas-shift));
    width: 233px;
    height: 23px;
    margin: 0;
    font-size: 20px;
    line-height: 23px;
    letter-spacing: 1.08px;
  }

  .about-section__panel {
    position: absolute;
    top: 31px;
    left: calc(41px + var(--tablet-canvas-shift));
    display: block;
    width: 677px;
    height: 330px;
    min-height: 0;
    aspect-ratio: auto;
    border: 3px solid #000000;
  }

  .about-section__panel::after {
    display: none;
  }

  .about-section__title {
    position: absolute;
    z-index: 3;
    top: 18px;
    left: 23px;
    width: 593px;
    margin: 0;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: -1.43px;
  }

  .about-section__media {
    position: absolute;
    z-index: 1;
    top: -5px;
    right: auto;
    bottom: auto;
    left: 253px;
    width: 421px;
    height: 280px;
    margin: 0;
    overflow: hidden;
  }

  .about-section__media img {
    position: static;
    top: auto;
    left: auto;
    width: 421px;
    max-width: none;
    height: 280px;
    object-fit: cover;
    transform: none;
  }

  .about-section__quote {
    position: absolute;
    z-index: 3;
    top: 89px;
    left: 23px;
    width: 302px;
    min-height: 158px;
    margin: 0;
    padding-left: 14px;
    border-left: 5px solid #000000;
    font-size: 10px;
    line-height: 12px;
    letter-spacing: 0.4px;
  }

  .about-section__quote footer {
    width: 282px;
    margin-top: auto;
    padding-top: 13px;
    font-size: 10px;
    line-height: 12px;
  }

  .about-section__support {
    position: absolute;
    z-index: 3;
    top: 257px;
    bottom: auto;
    left: 23px;
    display: flex;
    width: 300px;
    height: 43px;
    align-items: center;
    flex-direction: row;
    gap: 19px;
    margin: 0;
  }

  .about-section__support p {
    width: 134px;
    flex: 0 0 134px;
    font-size: 20px;
    line-height: 43px;
    letter-spacing: -1.43px;
  }

  .about-section__support img {
    width: 143px;
    height: 43px;
    margin: 0;
    transform: translateY(5px);
  }

  .protection-section {
    height: 751px;
    padding: 0;
    overflow: hidden;
  }

  .protection-section__inner {
    position: relative;
    width: 100%;
    height: 751px;
    margin: 0;
  }

  .protection-section__eyebrow {
    position: absolute;
    top: 0;
    left: calc(41px + var(--tablet-canvas-shift));
    width: 233px;
    height: 23px;
    margin: 0;
    font-size: 20px;
    line-height: 23px;
    letter-spacing: 1.08px;
  }

  .protection-scene {
    position: absolute;
    top: 31px;
    left: calc(41px + var(--tablet-canvas-shift));
    display: block;
    width: 677px;
    height: 330px;
    min-height: 0;
    padding: 0;
    aspect-ratio: auto;
  }

  .protection-scene__background {
    width: 100%;
    height: 100%;
  }

  .protection-cards {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .protection-deck {
    position: absolute;
    inset: 0;
    clip-path: none;
  }

  .protection-cards__back,
  .protection-cards__back--far,
  .protection-cards__back--near {
    width: 187px;
    height: 267px;
  }

  .protection-cards__back--far {
    top: 4px;
    left: 86px;
  }

  .protection-cards__back--near {
    top: 21px;
    left: 67px;
  }

  .protection-card {
    top: 45px;
    left: 7px;
    width: 248px;
    height: 248px;
  }

  .protection-card__title {
    top: 32.4%;
    left: 24.8%;
    width: 50.4%;
    font-size: 22px;
    line-height: 24px;
    letter-spacing: 1.08px;
  }

  .protection-card__description {
    top: 46.5%;
    left: 27%;
    width: 46%;
    font-size: 10px;
    line-height: 15px;
    letter-spacing: -0.31px;
  }

  .protection-control {
    top: 50%;
    width: 32px;
    height: 32px;
  }

  .protection-control--previous {
    left: 4.03%;
  }

  .protection-control--next {
    right: auto;
    left: 40.76%;
    transform: translate(-50%, -50%);
  }

  .protection-control--next:hover {
    transform: translate(-50%, -50%) scale(1.05);
  }

  .protection-control--next:active {
    transform: translate(-50%, -50%) scale(0.94);
  }

  .protection-control__circle {
    width: 20px;
    height: 20px;
  }

  .protection-control__arrow {
    width: 12px;
    height: 12px;
  }

  .protection-scene__copy {
    position: absolute;
    z-index: 4;
    top: 40px;
    left: 315px;
    width: 321px;
  }

  .protection-scene__copy h3 {
    width: 321px;
    font-size: 40px;
    line-height: 40px;
    letter-spacing: -1px;
  }

  .protection-scene__copy p {
    width: 291px;
    max-width: none;
    margin-top: 22px;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: -0.38px;
  }

  .protection-guitarist {
    display: none;
  }

  .protection-alert {
    position: absolute;
    top: 415px;
    left: calc(41px + var(--tablet-canvas-shift));
    display: block;
    width: 677px;
    height: 188px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border-radius: 32px;
  }

  .protection-alert__icon {
    position: absolute;
    top: 38px;
    left: 37px;
    width: 52px;
    height: 52px;
    border-radius: 17px;
    font-size: 22px;
  }

  .protection-alert__copy {
    position: absolute;
    top: 42px;
    left: 121px;
    width: 511px;
  }

  .protection-alert__eyebrow {
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 1.08px;
  }

  .protection-alert__copy h3 {
    width: 511px;
    margin-top: 1px;
    font-size: 24px;
    line-height: 29px;
    letter-spacing: -1.73px;
  }

  .protection-alert__description {
    width: 511px;
    max-width: none;
    margin-top: 7px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 25.6px;
    letter-spacing: -0.31px;
  }

  .protection-impact {
    position: absolute;
    top: 638px;
    left: calc(50px + var(--tablet-canvas-shift));
    display: block;
    width: 664px;
    height: 103px;
    margin: 0;
    padding: 0;
  }

  .protection-impact h3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 366px;
    font-size: 22px;
    line-height: normal;
    letter-spacing: 1.08px;
  }

  .protection-impact p {
    position: absolute;
    top: 0;
    left: 361px;
    width: 303px;
    margin: 0;
    padding: 0 0 34px;
    border-bottom: 8px solid #000000;
    font-size: 12px;
    line-height: normal;
    letter-spacing: 1.08px;
  }

  .protection-impact__desktop-copy {
    display: none;
  }

  .protection-impact__tablet-copy {
    display: inline;
  }

  .news-section {
    display: none;
  }

  .contacts-section {
    position: relative;
    height: 650px;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background-color: #ffffff;
    background-image: url("assets/background/tablet-contacts.svg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 650px;
  }

  .contacts-section__inner {
    position: relative;
    width: 100%;
    height: 619px;
    min-height: 0;
    margin: 0;
  }

  .contacts-section__eyebrow {
    position: absolute;
    top: 49px;
    left: calc(40px + var(--tablet-canvas-shift));
    width: 233px;
    height: 23px;
    margin: 0;
    font-size: 20px;
    line-height: 23px;
    letter-spacing: 1.08px;
  }

  .contacts-section__title {
    position: absolute;
    top: 93px;
    left: calc(40px + var(--tablet-canvas-shift));
    width: 604px;
    height: 177px;
    margin: 0;
    font-family: var(--font-brand);
    font-size: 60px;
    line-height: 59px;
    letter-spacing: -5.38px;
  }

  .contacts-section__socials {
    position: absolute;
    top: 329px;
    left: calc(40px + var(--tablet-canvas-shift));
    display: grid;
    width: 622px;
    grid-template-columns: repeat(3, 200px);
    gap: 31px;
    margin: 0;
  }

  .contact-social,
  .contact-social--vk {
    width: 200px;
    height: 56px;
    min-width: 0;
    margin: 0;
    flex-basis: auto;
    font-size: 32px;
    line-height: 35px;
  }

  .contact-social img,
  .contact-social--telegram img,
  .contact-social--ok img,
  .contact-social--vk img {
    left: 13px;
  }

  .contact-social--telegram img {
    width: 29px;
    height: 29px;
  }

  .contact-social--ok img {
    width: 31px;
    height: 31px;
  }

  .contact-social--vk img {
    width: 36px;
    height: 36px;
  }

  .contacts-section__warning {
    position: absolute;
    top: 424px;
    left: calc(40px + var(--tablet-canvas-shift));
    width: 665px;
    min-height: 25px;
    margin: 0;
    padding-left: 18px;
    border-left-width: 3px;
    font-size: 14px;
    line-height: 24.8px;
    letter-spacing: -0.31px;
  }

  .contacts-footer {
    position: absolute;
    top: 490px;
    left: calc(40px + var(--tablet-canvas-shift));
    display: block;
    width: 665px;
    height: 110px;
    min-height: 0;
    margin: 0;
    padding: 0;
  }

  .contacts-footer__logo {
    position: absolute;
    top: 19px;
    left: 1px;
    width: 205px;
    height: 61px;
  }

  .contacts-footer__meta {
    position: absolute;
    top: 41px;
    left: 50%;
    width: 213px;
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    transform: translateX(-50%);
  }

  .contacts-footer__privacy {
    position: absolute;
    top: 27px;
    right: 0;
    left: auto;
    display: grid;
    width: 268px;
    min-height: 44px;
    place-items: center;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
  }

  .share-popup {
    position: fixed;
    top: auto;
    right: clamp(8px, 1.6vw, 28px);
    bottom: clamp(28px, 3vw, 48px);
    left: auto;
    width: min(440px, calc(100vw - 24px));
    height: 164px;
    aspect-ratio: auto;
  }

  .share-popup__window {
    top: -129px;
    left: 0;
    width: 100%;
    height: auto;
  }

  .share-popup__character {
    top: 32.1%;
    left: 4.86%;
    width: 24.1%;
    height: 77.7%;
  }

  .share-popup__message {
    top: 34.2%;
    left: 25.5%;
    width: 64%;
    font-size: clamp(17px, 5.06cqw, 25px);
  }

  .share-popup__close {
    top: 6.5%;
    left: 86%;
    height: 18%;
  }

  .share-popup__action {
    top: 76%;
    left: 71.5%;
    font-size: clamp(10px, 2.83cqw, 14px);
  }

}

/* Fluid tablet system: compact tablets through iPad Pro landscape. */
@media (min-width: 600px) and (max-width: 1439px) {
  :root {
    --tablet-edge: clamp(20px, 3.125vw, 40px);
    --tablet-content: min(1240px, calc(100vw - (2 * var(--tablet-edge))));
    --tablet-left: calc((100vw - var(--tablet-content)) / 2);
    --tablet-panel: min(100%, var(--tablet-content));
    --tablet-canvas-shift: 0px;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body {
    padding-top: 0;
    background: #ffffff;
  }

  body::before {
    display: none;
  }

  #app {
    background-color: #ffffff;
    background-image: url("assets/site/tablet-background-1710.webp");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: max(1360px, 145vw) auto;
  }

  .site-header {
    position: fixed;
    top: 20px;
    left: var(--tablet-left);
    width: var(--tablet-content);
    height: 62px;
    transform: none;
  }

  .site-brand {
    top: -4px;
    left: 18px;
    width: min(416px, calc(100% - 88px));
    height: 68px;
  }

  .site-brand__mark {
    top: 3px;
    width: 68px;
    height: 68px;
  }

  .site-brand__title {
    top: 24px;
    left: 78px;
    display: block;
    overflow: hidden;
    max-width: calc(100% - 78px);
    font-size: clamp(13px, 1.7vw, 16px);
    text-overflow: ellipsis;
  }

  .site-brand__mobile-title,
  .quest-button {
    display: none;
  }

  .menu-button {
    top: 8px;
    right: 14px;
    width: 49px;
    height: 44px;
  }

  .hero-stage {
    height: clamp(500px, 66vw, 620px);
    min-height: 500px;
    background: transparent;
  }

  .hero-scene {
    clip-path: none;
  }

  .hero-scene__copy {
    z-index: 3;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-scene__headline {
    position: absolute;
    top: clamp(142px, 18vw, 180px);
    left: var(--tablet-left);
    width: clamp(275px, 44vw, 440px);
  }

  .hero-scene__text-block {
    display: none;
  }

  .hero-scene__mobile-text-block {
    position: absolute;
    top: clamp(276px, 36vw, 355px);
    left: var(--tablet-left);
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(275px, 44vw, 440px);
    min-height: 68px;
    margin: 0;
    padding: 9px clamp(12px, 2vw, 22px);
    border: 1px solid rgba(21, 23, 28, 0.4);
    background: #ffffff;
    box-shadow: 0 4px 2px rgba(0, 0, 0, 0.32);
    color: #374957;
    font-family: var(--font-quest);
    font-size: clamp(12px, 1.55vw, 16px);
    font-weight: 400;
    font-variation-settings: "ELGR" 1, "ELSH" 2;
    line-height: 1.55;
    text-align: center;
  }

  .hero-scene__actions {
    position: absolute;
    top: clamp(358px, 46vw, 448px);
    left: var(--tablet-left);
    display: grid;
    width: clamp(275px, 40vw, 400px);
    height: 36px;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: clamp(8px, 1.2vw, 14px);
    margin: 0;
  }

  .hero-action {
    width: 100%;
    height: 36px;
    min-width: 0;
    padding: 0 10px;
    border-radius: 20px;
    font-size: clamp(8px, 1.05vw, 11px);
    letter-spacing: -0.2px;
    white-space: nowrap;
  }

  .hero-action--primary {
    border-color: #00a7e4;
    background: #00a7e4;
    box-shadow: 0 7px 12px rgba(0, 0, 0, 0.28);
    font-family: var(--font-quest);
    font-size: clamp(9px, 1.15vw, 12px);
    font-variation-settings: "ELGR" 1, "ELSH" 2;
  }

  .hero-action--secondary {
    gap: 4px;
    box-shadow: 0 4px 2px rgba(0, 0, 0, 0.3);
  }

  .hero-action__desktop-label,
  .hero-action__mobile-label,
  .hero-scene__mobile-bogatyr {
    display: none;
  }

  .hero-action__tablet-label {
    display: inline;
  }

  .hero-scene__tablet-bogatyr {
    display: none;
  }

  .hero-scene__bogatyr {
    position: absolute;
    z-index: 2;
    top: auto;
    right: var(--tablet-left);
    bottom: 0;
    left: auto;
    display: block;
    width: clamp(330px, 44vw, 440px);
    height: auto;
    clip-path: polygon(
      0 0,
      100% 0,
      100% calc(100% - 48px),
      0 calc(100% - 38px)
    );
    object-fit: contain;
    pointer-events: none;
    user-select: none;
  }

  .hero-scene__core-flight {
    --core-start-x: clamp(-104px, -8vw, -62px);
    --core-start-y: clamp(-58px, -4vw, -34px);
    --core-impact-x: 18px;
    --core-impact-y: 18px;
    position: absolute;
    z-index: 4;
    top: clamp(118px, 15vw, 160px);
    right: calc(var(--tablet-left) + clamp(265px, 35vw, 350px));
    display: block;
    width: clamp(82px, 11vw, 112px);
  }

  .signal-strip {
    top: auto;
    bottom: 0;
    left: -1px;
    width: calc(100% + 2px);
    height: 35px;
  }

  .signal-strip__track {
    transform: translate3d(-644px, 0, 0);
    will-change: transform;
  }

  .signal-strip__track[data-marquee-ready="true"] {
    animation: signal-marquee 14s linear infinite;
  }

  .hero-gradient-transition {
    display: none;
  }

  .masks-section {
    height: clamp(340px, 42vw, 430px);
    padding: 0;
    overflow: hidden;
    background: transparent;
  }

  .masks-section__inner {
    width: var(--tablet-content);
    height: 100%;
    min-height: 0;
    margin: 0 auto;
  }

  .masks-section__title {
    position: absolute;
    top: clamp(40px, 5.5vw, 58px);
    left: clamp(8px, 2vw, 24px);
    width: min(54%, 510px);
  }

  .masks-section__title-main {
    font-size: clamp(38px, 5.7vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.045em;
  }

  .masks-section__title-accent {
    margin-top: 8px;
    font-size: clamp(50px, 7.4vw, 76px);
    line-height: 0.94;
    letter-spacing: -0.065em;
  }

  .masks-section__scene {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .masks-section__character {
    top: clamp(82px, 10vw, 112px);
    bottom: auto;
    left: 47%;
    width: clamp(205px, 29vw, 300px);
    max-width: none;
  }

  .masks-section__bubble {
    top: clamp(18px, 3vw, 34px);
    right: 4%;
    left: auto;
    width: clamp(145px, 20vw, 205px);
    max-width: none;
  }

  .masks-section__bubble p {
    top: 27.4%;
    left: 13.4%;
    width: 73.9%;
    font-size: clamp(9px, 1.15vw, 12px);
    line-height: 1.5;
  }

  .recognition-section {
    height: clamp(350px, 43vw, 440px);
    padding: 0;
    overflow: hidden;
    background: transparent;
  }

  .recognition-section__inner,
  .about-section__inner,
  .protection-section__inner {
    position: relative;
    width: var(--tablet-content);
    height: 100%;
    margin: 0 auto;
  }

  .recognition-section__eyebrow,
  .about-section__eyebrow,
  .protection-section__eyebrow {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: 23px;
    margin: 0;
    font-size: clamp(17px, 2vw, 20px);
    line-height: 23px;
    letter-spacing: 1.08px;
    transform: none;
  }

  .recognition-section__panel,
  .about-section__panel,
  .protection-scene {
    position: absolute;
    top: 31px;
    left: 0;
    width: var(--tablet-panel);
    min-height: 0;
    border-width: 3px;
    transform: none;
  }

  .recognition-section__panel {
    height: calc(100% - 72px);
  }

  .recognition-section__grid {
    display: grid;
    height: 100%;
    min-height: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: clamp(16px, 2.2vw, 24px) clamp(8px, 1.6vw, 18px) 12px;
  }

  .recognition-card,
  .recognition-card:nth-child(4),
  .recognition-card:nth-child(5) {
    display: flex;
    width: auto;
    min-width: 0;
    grid-column: auto;
    align-items: center;
    flex-direction: column;
    padding: 0;
    text-align: center;
  }

  .recognition-card + .recognition-card {
    border: 0;
  }

  .recognition-card__image,
  .recognition-card__image--income {
    width: clamp(88px, 14vw, 148px);
    height: clamp(88px, 14vw, 148px);
  }

  .recognition-card__title {
    display: grid;
    min-height: 30px;
    margin-top: clamp(10px, 1.6vw, 18px);
    padding: 0 3px;
    place-items: center;
    font-size: clamp(10px, 1.35vw, 14px);
    line-height: 1.25;
    text-align: center;
  }

  .recognition-card__description {
    min-height: 26px;
    margin: 4px 0 0;
    padding: 0 5px;
    font-size: clamp(7px, 0.9vw, 10px);
    line-height: 1.45;
    letter-spacing: -0.02em;
    text-align: center;
  }

  .recognition-card__signal {
    margin-top: clamp(5px, 0.9vw, 9px);
    font-size: clamp(10px, 1.3vw, 13px);
    line-height: 1.3;
  }

  .recognition-card__warning {
    max-width: 92%;
    margin-top: 0;
    font-size: clamp(7px, 0.9vw, 10px);
    line-height: 1.3;
    text-align: center;
  }

  .about-section {
    height: clamp(400px, 47vw, 485px);
    padding: 0;
    overflow: hidden;
  }

  .about-section::before,
  .about-section__panel::after {
    display: none;
  }

  .about-section__panel {
    display: block;
    height: calc(100% - 72px);
    aspect-ratio: auto;
    border: 3px solid #000000;
  }

  .about-section__title {
    position: absolute;
    z-index: 3;
    top: clamp(18px, 2.4vw, 26px);
    left: clamp(20px, 3vw, 34px);
    width: 62%;
    margin: 0;
    font-size: clamp(20px, 2.5vw, 28px);
    line-height: 1.22;
    letter-spacing: -0.05em;
  }

  .about-section__media {
    position: absolute;
    z-index: 1;
    top: -3px;
    right: -3px;
    bottom: auto;
    left: 56.2%;
    width: auto;
    height: 85%;
    margin: 0;
    overflow: hidden;
  }

  .about-section__media img {
    position: static;
    width: 141.5%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translateX(-29.3%);
  }

  .about-section__quote {
    position: absolute;
    z-index: 3;
    top: 34%;
    left: clamp(20px, 3vw, 34px);
    width: 43%;
    min-height: 44%;
    margin: 0;
    padding-left: clamp(12px, 1.6vw, 18px);
    border-left: 5px solid #000000;
    font-size: clamp(9px, 1.1vw, 12px);
    line-height: 1.35;
    letter-spacing: 0.03em;
  }

  .about-section__quote footer {
    width: 100%;
    margin-top: auto;
    padding-top: clamp(8px, 1.2vw, 14px);
    font-size: inherit;
    line-height: 1.35;
  }

  .about-section__support {
    position: absolute;
    z-index: 3;
    bottom: clamp(12px, 2vw, 22px);
    left: clamp(20px, 3vw, 34px);
    display: flex;
    width: min(44%, 360px);
    height: clamp(38px, 5vw, 52px);
    align-items: center;
    flex-direction: row;
    gap: clamp(12px, 2vw, 24px);
    margin: 0;
  }

  .about-section__support p {
    width: auto;
    flex: 0 0 auto;
    font-size: clamp(17px, 2.2vw, 23px);
    line-height: 1.1;
    letter-spacing: -0.05em;
    white-space: nowrap;
  }

  .about-section__support img {
    width: clamp(120px, 18vw, 170px);
    height: auto;
    margin: 0;
    transform: none;
  }

  .protection-section {
    height: clamp(800px, 88vw, 900px);
    padding: 0;
    overflow: hidden;
  }

  .protection-scene {
    display: block;
    height: clamp(330px, 40vw, 410px);
    padding: 0;
    aspect-ratio: auto;
  }

  .protection-scene__background {
    width: 100%;
    height: 100%;
  }

  .protection-cards {
    position: absolute;
    inset: 0;
    width: 46%;
    height: 100%;
    margin: 0;
  }

  .protection-deck {
    position: absolute;
    inset: 0;
    clip-path: none;
  }

  .protection-cards__back,
  .protection-cards__back--far,
  .protection-cards__back--near {
    width: clamp(168px, 24vw, 240px);
    height: auto;
  }

  .protection-cards__back--far {
    top: 1%;
    left: 25%;
  }

  .protection-cards__back--near {
    top: 6%;
    left: 18%;
  }

  .protection-card {
    top: 13%;
    left: 1%;
    width: clamp(225px, 32vw, 320px);
    height: clamp(225px, 32vw, 320px);
  }

  .protection-card__title {
    top: 32.4%;
    left: 24.8%;
    width: 50.4%;
    font-size: clamp(19px, 2.7vw, 27px);
    line-height: 1.1;
    letter-spacing: 0.04em;
  }

  .protection-card__description {
    top: 46.5%;
    left: 27%;
    width: 46%;
    font-size: clamp(9px, 1.25vw, 12px);
    line-height: 1.45;
    letter-spacing: -0.02em;
  }

  .protection-control {
    top: 50%;
    width: 44px;
    height: 44px;
  }

  .protection-control--previous {
    left: 4%;
  }

  .protection-control--next {
    right: 2%;
    left: auto;
    transform: translateY(-50%);
  }

  .protection-control--next:hover {
    transform: translateY(-50%) scale(1.05);
  }

  .protection-control--next:active {
    transform: translateY(-50%) scale(0.94);
  }

  .protection-control__circle {
    width: clamp(20px, 2.8vw, 28px);
    height: clamp(20px, 2.8vw, 28px);
  }

  .protection-control__arrow {
    width: clamp(12px, 1.7vw, 17px);
    height: clamp(12px, 1.7vw, 17px);
  }

  .protection-scene__copy {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 48%;
    width: 47%;
    transform: translateY(-50%);
  }

  .protection-scene__copy h3 {
    width: 100%;
    font-size: clamp(34px, 4.8vw, 49px);
    line-height: 1;
    letter-spacing: -0.035em;
  }

  .protection-scene__copy p {
    width: min(100%, 420px);
    max-width: none;
    margin-top: clamp(15px, 2vw, 24px);
    font-size: clamp(13px, 1.6vw, 16px);
    line-height: 1.55;
    letter-spacing: -0.02em;
  }

  .protection-guitarist {
    display: none;
  }

  .protection-alert {
    position: absolute;
    top: clamp(430px, 44vw, 466px);
    left: 0;
    display: grid;
    width: 100%;
    height: clamp(180px, 20vw, 205px);
    min-height: 0;
    margin: 0;
    padding: clamp(34px, 4vw, 46px);
    grid-template-columns: clamp(52px, 6vw, 64px) 1fr;
    gap: clamp(24px, 3.2vw, 38px);
    border-radius: 32px;
  }

  .protection-alert__icon {
    position: static;
    width: clamp(52px, 6vw, 64px);
    height: clamp(52px, 6vw, 64px);
    border-radius: 17px;
    font-size: clamp(22px, 2.6vw, 28px);
  }

  .protection-alert__copy {
    position: static;
    width: auto;
  }

  .protection-alert__eyebrow {
    font-size: clamp(14px, 1.8vw, 18px);
    line-height: 1.15;
  }

  .protection-alert__copy h3 {
    width: auto;
    margin-top: 1px;
    font-size: clamp(21px, 3vw, 31px);
    line-height: 1.2;
    letter-spacing: -0.06em;
    white-space: normal;
  }

  .protection-alert__description {
    width: auto;
    max-width: none;
    margin-top: clamp(5px, 0.8vw, 9px);
    font-family: Arial, sans-serif;
    font-size: clamp(11px, 1.3vw, 14px);
    line-height: 1.55;
    letter-spacing: -0.02em;
  }

  .protection-impact {
    position: absolute;
    top: clamp(640px, 68vw, 696px);
    left: clamp(8px, 1.4vw, 16px);
    display: grid;
    width: calc(100% - clamp(16px, 2.8vw, 32px));
    height: auto;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(24px, 4vw, 48px);
    margin: 0;
    padding: 0;
  }

  .protection-impact h3,
  .protection-impact p {
    position: static;
    width: auto;
    margin: 0;
    font-size: clamp(15px, 2vw, 22px);
    line-height: 1.2;
    letter-spacing: 0.05em;
  }

  .protection-impact p {
    padding: 0 0 clamp(18px, 2.5vw, 30px);
    border-bottom: 8px solid #000000;
    font-size: clamp(10px, 1.3vw, 13px);
  }

  .protection-impact__desktop-copy {
    display: none;
  }

  .protection-impact__tablet-copy {
    display: inline;
  }

  .news-section {
    display: none;
  }

  .contacts-section {
    position: relative;
    height: clamp(615px, 68vw, 685px);
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background-color: #ffffff;
    background-image: url("assets/background/tablet-contacts.svg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
  }

  .contacts-section__inner {
    position: relative;
    width: var(--tablet-content);
    height: calc(100% - 31px);
    min-height: 0;
    margin: 0 auto;
  }

  .contacts-section__eyebrow {
    position: absolute;
    top: clamp(42px, 5vw, 54px);
    left: 0;
    width: auto;
    height: 23px;
    margin: 0;
    font-size: clamp(17px, 2vw, 20px);
    line-height: 23px;
    letter-spacing: 1.08px;
  }

  .contacts-section__title {
    position: absolute;
    top: clamp(84px, 10vw, 104px);
    left: 0;
    width: min(85%, 820px);
    height: auto;
    margin: 0;
    font-family: var(--font-brand);
    font-size: clamp(48px, 7.2vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.075em;
    padding-bottom: 12px;
  }

  .contacts-section__socials {
    position: absolute;
    top: clamp(310px, 34vw, 352px);
    left: 0;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 32px);
    margin: 0;
  }

  .contact-social,
  .contact-social--vk {
    width: 100%;
    height: 56px;
    min-width: 0;
    margin: 0;
    flex-basis: auto;
    font-size: clamp(25px, 3.4vw, 34px);
    line-height: 35px;
  }

  .contacts-section__warning {
    position: absolute;
    top: clamp(402px, 44vw, 446px);
    left: 0;
    width: 100%;
    min-height: 25px;
    margin: 0;
    padding-left: 18px;
    border-left-width: 3px;
    font-size: clamp(12px, 1.5vw, 15px);
    line-height: 1.55;
    letter-spacing: -0.02em;
  }

  .contacts-footer {
    position: absolute;
    top: clamp(470px, 52vw, 523px);
    left: var(--tablet-left);
    display: grid;
    width: var(--tablet-content);
    height: 110px;
    min-height: 0;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: clamp(18px, 3vw, 36px);
    margin: 0;
    padding: 15px 0;
  }

  .contacts-footer__logo,
  .contacts-footer__meta,
  .contacts-footer__privacy {
    position: static;
  }

  .contacts-footer__logo {
    width: clamp(165px, 22vw, 205px);
    height: auto;
  }

  .contacts-footer__meta,
  .contacts-footer__privacy {
    width: auto;
    min-height: 44px;
    margin: 0;
    font-size: clamp(10px, 1.25vw, 13px);
    line-height: 16px;
    text-align: center;
  }

  .contacts-footer__meta {
    display: grid;
    place-items: center;
    justify-self: center;
    transform: none;
  }

  .contacts-footer__privacy {
    justify-self: end;
  }

  .share-popup {
    right: clamp(8px, 1.6vw, 28px);
    bottom: clamp(20px, 3vw, 40px);
    width: min(440px, calc(100vw - 24px));
  }
}

@media (min-width: 600px) and (max-width: 720px) {
  .site-brand__title {
    font-size: 12px;
  }

  .hero-scene__headline,
  .hero-scene__mobile-text-block {
    width: 47vw;
  }

  .hero-scene__tablet-bogatyr {
    right: -10px;
    width: 54vw;
  }

  .recognition-card__image,
  .recognition-card__image--income {
    width: 82px;
    height: 82px;
  }

  .about-section__quote {
    font-size: 8px;
  }

  .about-section__support {
    width: 46%;
    gap: 8px;
  }

  .about-section__support img {
    width: clamp(110px, 17vw, 130px);
  }

  .contacts-section__title {
    width: 94%;
    font-size: 46px;
  }
}

/* Keep fixed 375px mobile compositions centered on wider phones. */
@media (min-width: 376px) and (max-width: 520px) {
  .masks-section__inner {
    width: 375px;
    margin-inline: auto;
  }

  .protection-scene__copy {
    left: 50%;
    transform: translateX(-50%);
  }

  .protection-deck {
    inset: 0 auto 0 50%;
    width: 343px;
    transform: translateX(-50%);
  }

  .contacts-footer {
    left: 50%;
    width: 299px;
    transform: translateX(-50%);
  }
}

/* Six-card protection deck from Figma node 249:62. */
.protection-deck {
  pointer-events: auto;
  touch-action: pan-y;
}

.protection-card {
  top: 10%;
  left: 5.2%;
  width: 26%;
  height: auto;
  aspect-ratio: 2 / 3;
  container-type: inline-size;
}

.protection-card__slide {
  position: absolute;
  inset: 0;
}

.protection-card__slide[hidden] {
  display: none;
}

.protection-card__front-art {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.protection-card__title,
.protection-card__description {
  left: 50%;
  display: flex;
  margin: 0;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
}

.protection-card__title {
  top: 26%;
  width: 66.75%;
  height: 23.25%;
  font-size: max(20px, 11.1cqw);
  line-height: 1.05;
  letter-spacing: 0.24cqw;
}

.protection-card__description {
  top: 50.8%;
  width: 55%;
  height: 27.25%;
  align-items: flex-start;
  font-size: max(8px, 3.55cqw);
  line-height: 1.55;
  letter-spacing: -0.07cqw;
}

.protection-card__slide[data-protection-card-number="3"] .protection-card__description {
  width: 60.75%;
}

.protection-card__slide[data-protection-card-number="4"] .protection-card__title,
.protection-card__slide[data-protection-card-number="5"] .protection-card__title,
.protection-card__slide[data-protection-card-number="6"] .protection-card__title {
  width: 83.4%;
}

.protection-card__slide[data-protection-card-number="4"] .protection-card__description {
  width: 62.3%;
}

.protection-card__slide[data-protection-card-number="5"] .protection-card__description,
.protection-card__slide[data-protection-card-number="6"] .protection-card__description {
  width: 71.4%;
}

.protection-control--next {
  left: 35.5%;
}

@media (max-width: 520px) {
  .protection-card {
    top: 172px;
    left: calc(50% - 105px);
    width: 194px;
    height: auto;
  }

  .protection-card__description {
    font-size: max(7px, 3.55cqw);
  }

  .protection-control {
    top: 318px;
  }

  .protection-scene__copy p {
    top: 453px;
  }

  .protection-control--next {
    right: auto;
    left: calc(100% - 38.75px);
    transform: translate(-50%, -50%);
  }

  .protection-control--next:hover {
    transform: translate(-50%, -50%) scale(1.05);
  }

  .protection-control--next:active {
    transform: translate(-50%, -50%) scale(0.94);
  }
}

@media (min-width: 521px) and (max-width: 599px) {
  .protection-card {
    top: 56px;
    left: calc(50% - 129px);
    width: 258px;
    height: auto;
  }

  .protection-control--next {
    right: 4%;
    left: auto;
    transform: translate(50%, -50%);
  }

  .protection-control--next:hover {
    transform: translate(50%, -50%) scale(1.05);
  }

  .protection-control--next:active {
    transform: translate(50%, -50%) scale(0.94);
  }
}

@media (min-width: 600px) and (max-width: 1439px) {
  .protection-scene {
    height: clamp(338px, 41vw, 418px);
  }

  .protection-deck {
    transform: translateX(clamp(36px, 4vw, 56px));
  }

  .protection-card {
    top: 10%;
    left: 8.7%;
    width: clamp(158px, 22.5vw, 225px);
    height: auto;
  }

  .protection-control--next {
    right: 2%;
    left: auto;
    transform: translateY(-50%);
  }

  .protection-control--next:hover {
    transform: translateY(-50%) scale(1.05);
  }

  .protection-control--next:active {
    transform: translateY(-50%) scale(0.94);
  }
}

/* Homepage effects stay enabled independently of OS motion preferences. */

/* Error 404 — Figma group 236:119. */
body.is-error-page {
  padding-top: 0;
  overflow: hidden;
}

body.is-error-page::before {
  display: none;
}

body.is-error-page .share-popup {
  display: none;
}

.error-page[hidden] {
  display: none;
}

.error-page {
  position: fixed;
  z-index: 1;
  inset: 0;
  min-width: 320px;
  min-height: 100svh;
  overflow: hidden;
  background-color: #ffffff;
  background-image: url("assets/site/tablet-background-1710.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.error-page__composition {
  --error-composition-top: clamp(126px, 20svh, 176px);
  position: absolute;
  top: var(--error-composition-top);
  left: 50%;
  width: min(78.25vw, 1338px);
  aspect-ratio: 2.88 / 1;
  container-type: inline-size;
  transform: translateX(-50%);
}

.error-page__word {
  position: absolute;
  top: 18%;
  left: 0;
  display: block;
  width: 62.2%;
  height: auto;
  z-index: 1;
}

.error-page__digit {
  position: absolute;
  z-index: 2;
  margin: 0;
  color: var(--color-accent);
  font-family: var(--font-quest);
  font-size: 22.45cqw;
  font-weight: 400;
  line-height: 0.68;
  letter-spacing: 0.005em;
  -webkit-text-stroke: clamp(1px, 0.12vw, 2px) #080b12;
  paint-order: stroke fill;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
}

.error-page__digit--blue {
  top: 0;
  left: 58%;
  color: #2200ff;
}

.error-page__digit--red {
  top: 25%;
  left: 69.2%;
  color: #ef0000;
}

.error-page__digit--green {
  top: 55%;
  left: 80.5%;
  color: #2fff00;
}

.error-page__runner {
  position: absolute;
  z-index: 4;
  top: calc(60px - var(--error-composition-top));
  left: 59%;
  width: clamp(90px, 12cqw, 170px);
  height: clamp(120px, 48%, 200px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -100%);
  transform-origin: 50% 100%;
  animation: error-runner-route 7.5s var(--motion-ease) infinite;
  will-change: top, left, opacity, transform;
}

.error-page__runner-frame {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: block;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0;
  filter: drop-shadow(0 6px 8px rgba(54, 35, 17, 0.16));
  transform: translateX(-50%);
  animation-duration: 7.5s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}

.error-page__runner-frame--jump {
  width: 100%;
  animation-name: error-runner-frame-jump;
}

.error-page__runner-frame--run-a,
.error-page__runner-frame--run-b {
  width: 74%;
}

.error-page__runner-frame--run-a {
  animation-name: error-runner-frame-run-a;
}

.error-page__runner-frame--run-b {
  animation-name: error-runner-frame-run-b;
}

.error-page__runner-frame--fall {
  width: 82%;
  animation-name: error-runner-frame-fall;
}

@keyframes error-runner-route {
  0% {
    top: calc(60px - var(--error-composition-top));
    left: 59%;
    opacity: 0;
    transform: translate(-50%, -100%) rotate(-8deg) scale(0.78);
  }

  4% {
    top: calc(76px - var(--error-composition-top));
    left: 59%;
    opacity: 1;
    transform: translate(-50%, -100%) rotate(-8deg) scale(0.82);
  }

  12% {
    top: -15%;
    left: 60%;
    opacity: 1;
    transform: translate(-50%, -100%) rotate(-5deg) scale(0.94);
  }

  20% {
    top: 3%;
    left: 61%;
    transform: translate(-50%, -100%) rotate(0) scale(1);
  }

  22% {
    top: 4%;
    left: 61.5%;
    transform: translate(-50%, -100%) rotate(0) scale(1.05, 0.92);
  }

  27% {
    top: 3%;
    left: 63%;
    transform: translate(-50%, -100%) rotate(0) scale(1);
  }

  34% {
    top: -4%;
    left: 67%;
    transform: translate(-50%, -100%) rotate(4deg) scale(0.98);
  }

  42% {
    top: 29%;
    left: 71%;
    transform: translate(-50%, -100%) rotate(0) scale(1);
  }

  44% {
    top: 30%;
    left: 71.5%;
    transform: translate(-50%, -100%) rotate(0) scale(1.05, 0.92);
  }

  49% {
    top: 28%;
    left: 73%;
    transform: translate(-50%, -100%) rotate(0) scale(1);
  }

  56% {
    top: 20%;
    left: 77%;
    transform: translate(-50%, -100%) rotate(5deg) scale(0.98);
  }

  66% {
    top: 58%;
    left: 83%;
    transform: translate(-50%, -100%) rotate(0) scale(1);
  }

  69% {
    top: 59%;
    left: 83.5%;
    transform: translate(-50%, -100%) rotate(0) scale(1.05, 0.92);
  }

  73% {
    top: 57%;
    left: 87%;
    transform: translate(-50%, -100%) rotate(3deg) scale(1);
  }

  78% {
    top: 47%;
    left: 87%;
    opacity: 1;
    transform: translate(-50%, -100%) rotate(10deg) scale(0.98);
  }

  84% {
    top: 98%;
    left: 88%;
    opacity: 1;
    transform: translate(-50%, -100%) rotate(18deg) scale(0.96);
  }

  96% {
    top: calc(100svh - var(--error-composition-top) + 30%);
    left: 86%;
    opacity: 1;
    transform: translate(-50%, -100%) rotate(48deg) scale(0.86);
  }

  100% {
    top: calc(100svh - var(--error-composition-top) + 60%);
    left: 84%;
    opacity: 0;
    transform: translate(-50%, -100%) rotate(62deg) scale(0.78);
  }
}

@keyframes error-runner-frame-jump {
  0%, 19.99%, 24%, 63.99%, 76%, 100% {
    opacity: 0;
  }

  20%, 23.99%, 64%, 75.99% {
    opacity: 1;
  }

}

@keyframes error-runner-frame-run-a {
  0%, 23.99%, 32%, 39.99%, 48%, 55.99%, 64%, 100% {
    opacity: 0;
  }

  24%, 31.99%, 40%, 47.99%, 56%, 63.99% {
    opacity: 1;
  }
}

@keyframes error-runner-frame-run-b {
  0%, 31.99%, 40%, 47.99%, 56%, 100% {
    opacity: 0;
  }

  32%, 39.99%, 48%, 55.99% {
    opacity: 1;
  }
}

@keyframes error-runner-frame-fall {
  0%, 19.99%, 76%, 100% {
    opacity: 1;
  }

  20%, 75.99% {
    opacity: 0;
  }
}

.error-page__strip {
  position: absolute;
  top: 78.4svh;
  left: 50%;
  width: calc(100% + 28px);
  height: 36px;
  overflow: hidden;
  border-top: 1px solid rgba(49, 85, 245, 0.25);
  border-bottom: 1px solid rgba(49, 85, 245, 0.25);
  background: rgba(255, 255, 255, 0.96);
  transform: translateX(-50%) rotate(-1.2deg);
}

.error-page__strip-track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  color: var(--color-accent);
  font-family: var(--font-quest);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1.54px;
  white-space: nowrap;
  animation: error-strip-marquee 24s linear infinite;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
}

.error-page__strip-sequence {
  display: flex;
  height: 100%;
  flex: 0 0 auto;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
}

.error-page__strip-sequence i {
  display: block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: var(--quest-shadow);
  transform: rotate(45deg);
}

@keyframes error-strip-marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 600px) and (max-width: 1024px) {
  .error-page__composition {
    --error-composition-top: clamp(142px, 22svh, 190px);
    width: min(91vw, 900px);
  }

  .error-page__strip {
    top: 55svh;
  }
}

@media (max-width: 599px) {
  .error-page {
    background-position: 46% center;
    background-size: auto 100%;
  }

  .error-page__composition {
    --error-composition-top: clamp(176px, 27svh, 238px);
    width: calc(100vw - 24px);
    aspect-ratio: 1.72 / 1;
  }

  .error-page__word {
    top: 18%;
    width: 63%;
  }

  .error-page__digit {
    font-size: 28cqw;
    -webkit-text-stroke-width: 1px;
  }

  .error-page__digit--blue {
    left: 57%;
  }

  .error-page__digit--red {
    top: 30%;
    left: 69%;
  }

  .error-page__digit--green {
    top: 61%;
    left: 81%;
  }

  .error-page__runner {
    width: 72px;
    height: 96px;
  }

  .error-page__strip {
    top: auto;
    bottom: 32svh;
    height: 34px;
  }

  .error-page__strip-track {
    font-size: 12px;
  }

  .error-page__strip-sequence {
    gap: 24px;
    padding-right: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .error-page__strip-track {
    animation: none;
    transform: none;
  }

  .error-page__runner,
  .error-page__runner-frame {
    display: none;
    animation: none;
  }
}

@media (forced-colors: active) {
  .site-header,
  .quest-button,
  .menu-button,
  .site-menu,
  .site-menu__panel,
  .game-dialog__frame {
    border: 2px solid currentColor;
  }
}

/* Privacy policy — Windows XP document window */
.privacy-dialog {
  width: min(980px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  color: var(--retro-ink);
  background: transparent;
  font-family: var(--font-brand);
}

.privacy-dialog::backdrop {
  background: rgba(9, 17, 39, 0.72);
  backdrop-filter: blur(3px) saturate(0.82);
}

.privacy-dialog[open] {
  animation: privacy-dialog-enter 280ms var(--motion-ease) both;
}

.privacy-dialog__window {
  display: grid;
  height: min(820px, calc(100dvh - 32px));
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 3px solid var(--retro-blue);
  border-radius: 10px 10px 4px 4px;
  background: var(--retro-surface);
  box-shadow:
    0 0 0 1px #003c9b,
    0 24px 72px rgba(3, 14, 43, 0.48),
    inset 1px 1px 0 var(--retro-line-light);
}

.privacy-dialog__topbar {
  position: relative;
  display: grid;
  min-height: 50px;
  grid-template-columns: 24px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 7px;
  padding: 4px 5px 4px 9px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0 5%, transparent 6% 86%, rgba(0, 24, 118, 0.4) 87%),
    linear-gradient(90deg, #0757c8 0%, var(--retro-blue-light) 48%, #0757c8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -2px 0 rgba(0, 34, 126, 0.62);
}

.privacy-dialog__app-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 3px;
  background: #ffffff;
  box-shadow: 1px 1px 0 rgba(0, 41, 135, 0.62);
}

.privacy-dialog__app-icon img {
  display: block;
  width: 20px;
  height: 20px;
}

.privacy-dialog__title {
  overflow: hidden;
  font-family: var(--font-quest);
  font-size: 22px;
  font-weight: 400;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  line-height: 1;
  text-overflow: ellipsis;
  text-shadow: 1px 2px 0 rgba(0, 41, 135, 0.8);
  white-space: nowrap;
}

.privacy-dialog__close {
  position: relative;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid #ffffff;
  border-radius: 5px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #ef8c72 0%, #d72c18 50%, #9e120a 100%);
  box-shadow:
    inset 1px 1px 2px rgba(255, 255, 255, 0.58),
    inset -2px -2px 1px rgba(101, 12, 3, 0.55),
    1px 1px 0 rgba(0, 37, 121, 0.6);
  font-family: var(--font-quest);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 1px 1px 0 #751006;
}

.privacy-dialog__close:hover {
  filter: brightness(1.08);
}

.privacy-dialog__close:active {
  filter: brightness(0.88);
  transform: translateY(1px);
}

.privacy-dialog__menubar {
  display: flex;
  min-height: 30px;
  align-items: center;
  gap: 22px;
  padding: 4px 12px 5px;
  border-bottom: 1px solid #aca899;
  color: #171717;
  background: var(--retro-surface);
  box-shadow: inset 0 1px 0 #ffffff;
  font-family: var(--font-quest);
  font-size: 17px;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  line-height: 1;
  user-select: none;
}

.privacy-dialog__viewport {
  min-height: 0;
  margin: 3px 4px 0;
  overflow: auto;
  border: 2px solid;
  border-color: #716f64 #ffffff #ffffff #716f64;
  background: #ffffff;
  box-shadow: inset 1px 1px 1px rgba(13, 32, 67, 0.2);
  overscroll-behavior: contain;
  scrollbar-color: #b9b7aa #f2f0e7;
  scrollbar-width: auto;
}

.privacy-dialog__viewport:focus-visible {
  outline: 3px solid #f4e04d;
  outline-offset: -5px;
}

.privacy-dialog__viewport::-webkit-scrollbar {
  width: 17px;
  height: 17px;
}

.privacy-dialog__viewport::-webkit-scrollbar-track {
  border-left: 1px solid #aaa89c;
  background: repeating-linear-gradient(45deg, #f4f2e9 0 2px, #dedcd1 2px 4px);
}

.privacy-dialog__viewport::-webkit-scrollbar-thumb {
  border: 2px solid;
  border-color: #ffffff #6f6d64 #6f6d64 #ffffff;
  background: #c8c5b6;
  box-shadow: inset 1px 1px 0 #eceadd;
}

.privacy-policy {
  width: min(780px, 100%);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 76px) clamp(28px, 7vw, 72px) 72px;
  color: #16191f;
  font-family: var(--font-brand);
  font-size: 16px;
  line-height: 1.58;
}

.privacy-policy__header {
  padding-bottom: 30px;
  border-bottom: 1px solid #d6d8dd;
}

.privacy-policy__operator,
.privacy-policy__site,
.privacy-policy__edition,
.privacy-policy__lead {
  margin: 0;
}

.privacy-policy__operator {
  max-width: 62ch;
  color: #5e636c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.35;
  text-transform: uppercase;
}

.privacy-policy h1 {
  max-width: none;
  margin: 24px 0 16px;
  color: #090b10;
  font-family: var(--font-brand);
  font-size: clamp(17px, 5.4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.privacy-policy h1 span {
  display: block;
  white-space: nowrap;
}

.privacy-policy__site {
  font-weight: 700;
}

.privacy-policy__edition {
  margin-top: 4px;
  color: #6b6f77;
  font-size: 14px;
}

.privacy-policy__lead {
  margin-top: 28px;
  padding: 16px 18px;
  border-left: 4px solid var(--color-accent);
  color: #202632;
  background: #f2f5ff;
  font-weight: 700;
}

.privacy-policy section {
  padding-top: 34px;
  scroll-margin-top: 16px;
}

.privacy-policy h2 {
  margin: 0 0 18px;
  color: #0d1420;
  font-family: var(--font-brand);
  font-size: clamp(22px, 3vw, 29px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.privacy-policy__clauses {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: privacy-clause;
}

.privacy-policy section:nth-of-type(1) {
  counter-reset: privacy-section 1;
}

.privacy-policy section:nth-of-type(2) {
  counter-reset: privacy-section 2;
}

.privacy-policy section:nth-of-type(3) {
  counter-reset: privacy-section 3;
}

.privacy-policy section:nth-of-type(4) {
  counter-reset: privacy-section 4;
}

.privacy-policy section:nth-of-type(5) {
  counter-reset: privacy-section 5;
}

.privacy-policy section:nth-of-type(6) {
  counter-reset: privacy-section 6;
}

.privacy-policy section:nth-of-type(7) {
  counter-reset: privacy-section 7;
}

.privacy-policy section:nth-of-type(8) {
  counter-reset: privacy-section 8;
}

.privacy-policy section:nth-of-type(9) {
  counter-reset: privacy-section 9;
}

.privacy-policy section:nth-of-type(10) {
  counter-reset: privacy-section 10;
}

.privacy-policy__clauses > li {
  position: relative;
  margin-top: 13px;
  padding-left: 42px;
  counter-increment: privacy-clause;
}

.privacy-policy__clauses > li:first-child {
  margin-top: 0;
}

.privacy-policy__clauses > li::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  color: #4e5562;
  content: counter(privacy-section) "." counter(privacy-clause) ".";
  font-variant-numeric: tabular-nums;
}

.privacy-policy__clauses ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 4px;
  padding-left: 22px;
}

.privacy-policy a {
  color: #0645ad;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

.privacy-policy a:hover {
  color: #b0281b;
}

.privacy-dialog__statusbar {
  display: grid;
  min-height: 28px;
  grid-template-columns: 1fr auto;
  gap: 4px;
  padding: 3px 4px 4px;
  color: #272727;
  background: var(--retro-surface);
  box-shadow: inset 0 1px 0 #ffffff;
  font-family: var(--font-quest);
  font-size: 14px;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  line-height: 1;
}

.privacy-dialog__statusbar span {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 4px 8px;
  overflow: hidden;
  border: 1px solid;
  border-color: #aca899 #ffffff #ffffff #aca899;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.privacy-dialog__close:focus-visible {
  outline: 3px solid #f4e04d;
  outline-offset: 2px;
}

@keyframes privacy-dialog-enter {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .privacy-dialog {
    width: calc(100vw - 8px);
    max-height: calc(100dvh - 8px);
  }

  .privacy-dialog__window {
    height: calc(100dvh - 8px);
    border-radius: 8px 8px 3px 3px;
  }

  .privacy-dialog__topbar {
    min-height: 50px;
    grid-template-columns: 21px minmax(0, 1fr) 44px;
    gap: 5px;
    padding-left: 6px;
  }

  .privacy-dialog__app-icon {
    width: 21px;
    height: 21px;
  }

  .privacy-dialog__app-icon img {
    width: 17px;
    height: 17px;
  }

  .privacy-dialog__title {
    font-size: 18px;
  }

  .privacy-dialog__close {
    width: 44px;
    height: 44px;
    font-size: 25px;
  }

  .privacy-dialog__menubar {
    min-height: 28px;
    gap: 16px;
    padding-inline: 8px;
    font-size: 16px;
  }

  .privacy-dialog__viewport {
    margin: 2px 3px 0;
  }

  .privacy-policy {
    padding: 30px 16px 48px;
    font-size: 15px;
    line-height: 1.55;
  }

  .privacy-policy__header {
    padding-bottom: 24px;
  }

  .privacy-policy__operator {
    font-size: 11px;
  }

  .privacy-policy h1 {
    margin-top: 20px;
    font-size: clamp(17px, 5.4vw, 42px);
  }

  .privacy-policy__lead {
    margin-top: 22px;
    padding: 13px 14px;
  }

  .privacy-policy section {
    padding-top: 28px;
  }

  .privacy-policy h2 {
    font-size: 22px;
  }

  .privacy-policy__clauses > li {
    padding-left: 36px;
  }

  .privacy-policy__clauses > li::before {
    width: 32px;
  }

  .privacy-dialog__statusbar {
    grid-template-columns: 1fr;
  }

  .privacy-dialog__statusbar span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-dialog[open] {
    animation: none;
  }
}

@media (forced-colors: active) {
  .privacy-dialog__window,
  .privacy-dialog__app-icon,
  .privacy-dialog__close,
  .privacy-dialog__viewport,
  .privacy-dialog__statusbar span {
    border: 2px solid currentColor;
  }
}

/* News / Homepage concept — XP paperclip (Figma 274:25, 282:50) */
.news-section {
  position: relative;
  z-index: 5;
  display: block;
  min-height: 1120px;
  margin: 0;
  padding: 88px var(--page-gutter) 154px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 56%, #d3e7ff 100%);
  box-shadow: none;
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.news-section[hidden] {
  display: none !important;
}

.news-section__inner {
  position: relative;
  width: min(1334px, 100%);
  margin: 0 auto;
}

.news-section__heading {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
}

.news-section__eyebrow,
.news-section__title,
.news-section__subtitle,
.news-window__title,
.news-window__menu,
.news-window__content-title,
.news-card__meta,
.news-card__title {
  margin: 0;
}

.news-section__eyebrow,
.news-section__title,
.news-window__title,
.news-card__meta {
  font-family: var(--font-quest);
  font-variation-settings: "ELGR" 1, "ELSH" 2;
}

.news-section__eyebrow {
  color: var(--color-accent);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.16px;
  text-transform: uppercase;
}

.news-section__title {
  width: 100%;
  color: var(--color-ink);
  font-size: 56px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: 0.56px;
  text-transform: uppercase;
}

.news-section__subtitle {
  width: min(760px, 100%);
  color: var(--color-ink-muted);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: 0;
}

.news-section__subtitle-mobile,
.news-window__title-mobile,
.news-window__menu-mobile,
.news-window__content-title-mobile {
  display: none;
}

.news-window {
  width: 100%;
  margin-top: 40px;
  overflow: hidden;
  border: 3px solid var(--retro-blue);
  border-radius: 10px;
  background: var(--retro-surface);
  box-shadow: 0 18px 36px rgba(5, 31, 82, 0.24);
}

.news-window__titlebar {
  display: flex;
  width: 100%;
  height: 50px;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 16px;
  color: var(--color-surface);
  background: linear-gradient(90deg, #0540b8 0%, #149cf2 55%, #054dd1 100%);
}

.news-window__title {
  overflow: hidden;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.2px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-window__controls {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
}

.news-window__controls span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  background: #388cf0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}

.news-window__controls .news-window__close {
  background: #e3331f;
}

.news-window__toolbar {
  display: flex;
  width: 100%;
  height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px 0 17px;
  border-top: 1px solid var(--retro-line-light);
  border-bottom: 1px solid var(--retro-line-light);
  background: var(--retro-surface);
}

.news-window__menu {
  color: var(--color-ink);
  font-family: var(--font-quest);
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  font-size: 17px;
  font-weight: 400;
  line-height: 25px;
  white-space: nowrap;
}

.news-window__catalog,
.news-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
  transition:
    background-color var(--motion-duration) ease,
    box-shadow var(--motion-duration) ease,
    transform var(--motion-duration) var(--motion-ease);
}

.news-window__catalog {
  text-decoration: none;
  width: 214px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--retro-line-dark);
  background: var(--menu-quiz-surface);
}

.news-window__catalog:hover {
  background: #55caef;
  box-shadow: 2px 2px 0 rgba(16, 24, 40, 0.35);
  transform: translate(-1px, -1px);
}

.news-window__catalog:active,
.news-card__action:active {
  box-shadow: none;
  transform: translate(1px, 1px);
}

.news-window__content {
  min-height: 619px;
  padding: 28px;
  background: var(--color-surface);
}

.news-window__content-title,
.news-card__title {
  color: var(--color-ink);
  font-family: var(--font-brand);
  font-weight: 700;
}

.news-window__content-title {
  font-size: 44px;
  line-height: 48px;
  letter-spacing: -0.44px;
}

.news-section__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 22px 0 0;
  padding: 0;
  overflow: visible;
}

.news-card {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  height: 452px;
  flex-direction: column;
  gap: 12px;
  padding: 16px 16px 18px;
  border: 1px solid var(--retro-line-dark);
  border-radius: 18px;
  background: var(--color-surface);
  box-shadow: 0 8px 18px rgba(5, 20, 46, 0.16);
}

.news-card__media {
  position: relative;
  width: 100%;
  height: 214px;
  flex: 0 0 214px;
  border: 1px solid var(--retro-line-dark);
  border-radius: 6px;
  background: var(--quest-surface);
}

.news-card__photo-frame {
  position: absolute;
  inset: 9px;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--retro-line-dark);
  border-radius: 3px;
  background: var(--quest-surface);
}

.news-card__media--portrait {
  border-color: transparent;
  background: transparent;
}

.news-card__media--portrait .news-card__photo-frame {
  left: auto;
  width: auto;
  height: calc(100% - 18px);
  max-width: calc(100% - 18px);
  aspect-ratio: var(--news-cover-ratio);
}

.news-card__photo {
  display: block;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.news-card__photo-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.news-card__paperclip {
  position: absolute;
  z-index: 2;
  top: -17px;
  right: 4px;
  display: block;
  width: 60px;
  height: 86px;
  object-fit: contain;
  transform: rotate(-5deg);
  transform-origin: center;
  pointer-events: none;
  user-select: none;
}

.news-card__paperclip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.news-card__meta {
  width: 100%;
  color: var(--color-accent);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.16px;
  text-transform: uppercase;
}

.news-card__title {
  display: block;
  width: 100%;
  height: 84px;
  overflow: hidden;
  font-size: 23px;
  line-height: 28px;
  letter-spacing: -0.115px;
  text-align: left;
  text-overflow: ellipsis;
  text-wrap: wrap;
}

.news-card__action {
  width: max-content;
  min-height: 36px;
  margin-top: auto;
  padding: 8px 12px;
  border: 1px solid var(--retro-line-light);
  background: var(--retro-surface);
  box-shadow: none;
  text-transform: none;
}

.news-card__action:hover {
  background: #dfdccb;
  box-shadow: 2px 2px 0 rgba(16, 24, 40, 0.28);
  transform: translate(-1px, -1px);
}

/* Continue the news section's blue edge through the full contacts area. */
.contacts-section {
  background-color: var(--contacts-background);
  background-image: none;
}

@media (max-width: 1099px) {
  .news-section {
    min-height: 0;
    padding: 72px 32px 104px;
  }

  .news-section__title {
    font-size: clamp(46px, 6vw, 56px);
    line-height: 1;
  }

  .news-window__content {
    min-height: 0;
    padding: 24px;
  }

  .news-section__cards {
    grid-template-columns: repeat(2, minmax(0, 408px));
    justify-content: center;
    gap: 24px 20px;
  }

  .news-card:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(408px, 100%);
  }
}

@media (max-width: 679px) {
  .news-section {
    min-height: 0;
    padding: 48px 20px 56px;
    background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 56%, #d3e7ff 100%);
  }

  .news-section__heading {
    gap: 6px;
  }

  .news-section__title {
    font-size: clamp(38px, 11.2vw, 42px);
    line-height: 1;
    letter-spacing: 0.42px;
  }

  .news-section__subtitle {
    min-height: 50px;
  }

  .news-section__subtitle-desktop,
  .news-window__title-desktop,
  .news-window__menu-desktop,
  .news-window__content-title-desktop {
    display: none;
  }

  .news-section__subtitle-mobile,
  .news-window__title-mobile,
  .news-window__menu-mobile,
  .news-window__content-title-mobile {
    display: inline;
  }

  .news-window {
    margin-top: 28px;
    border-radius: 0;
  }

  .news-window__titlebar {
    height: 44px;
    padding: 0 8px 0 12px;
  }

  .news-window__controls {
    gap: 3px;
  }

  .news-window__controls span {
    width: 25px;
    height: 25px;
  }

  .news-window__toolbar {
    height: 48px;
    padding: 0 7px 0 9px;
  }

  .news-window__menu {
    font-family: var(--font-quest);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.16px;
  }

  .news-window__catalog {
    width: 146px;
    height: 34px;
    padding: 0 10px;
  }

  .news-window__content {
    padding: 16px 13px 17px;
  }

  .news-window__content-title {
    padding-left: 0;
    font-size: 23px;
    line-height: 28px;
    letter-spacing: -0.115px;
  }

  .news-section__cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 16px;
  }

  .news-card,
  .news-card:nth-child(3) {
    width: min(100%, 408px);
    height: 430px;
    grid-column: auto;
    justify-self: center;
    padding: 16px 16px 18px;
  }

  .news-card__media {
    height: 182px;
    flex-basis: 182px;
  }

  .news-card__paperclip {
    top: -14px;
    right: 0;
    width: 44px;
    height: 64px;
  }

  .news-card__title {
    height: 100px;
  }

  .contacts-section {
    background-color: var(--contacts-background);
  }
}

@media (max-width: 370px) {
  .news-section {
    padding-inline: 16px;
  }

  .news-window__catalog {
    width: 138px;
    font-size: 15px;
  }

  .news-card__title {
    font-size: 21px;
    line-height: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-window__catalog,
  .news-card__action {
    transition: none;
  }
}

@media (forced-colors: active) {
  .news-window,
  .news-window__controls span,
  .news-window__catalog,
  .news-card,
  .news-card__media,
  .news-card__photo-frame,
  .news-card__action {
    border: 2px solid currentColor;
  }
}

/* Partners: native scrolling remains available without JavaScript. */
.partners-section {
  --partners-visible: 1;
  --partners-gap: 24px;
  --partners-logo-height: 144px;
  position: relative;
  z-index: 5;
  padding: 32px 16px 48px;
  background: var(--color-surface);
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.partners-section__inner {
  width: min(1364px, 100%);
  margin: 0 auto;
}

.partners-section__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  margin-bottom: 24px;
}

.partners-section__title {
  margin: 0;
  color: var(--color-accent);
  font-family: var(--font-quest);
  font-size: 14px;
  font-weight: 400;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  line-height: 18px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.partners-section__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.partners-section__controls[hidden] {
  display: none;
}

.partners-section__arrow {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--color-accent);
  background: var(--color-surface);
  transition: transform var(--motion-duration) var(--motion-ease);
}

@media (hover: hover) {
  .partners-section__arrow:hover:not(:disabled) {
    color: var(--color-on-accent);
    background: var(--color-accent);
  }
}

.partners-section__arrow:active:not(:disabled) {
  transform: scale(0.94);
}

.partners-section__arrow:disabled {
  color: var(--color-ink-muted);
  opacity: 0.4;
  cursor: default;
}

.partners-section__arrow:focus-visible,
.partners-section__list:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.partners-section__list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--partners-visible) - 1) * var(--partners-gap)) / var(--partners-visible));
  gap: var(--partners-gap);
  margin: 0;
  padding: 0 0 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  list-style: none;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) var(--color-surface-soft);
}

.partners-section__item {
  min-width: 0;
  scroll-snap-align: start;
}

.partner {
  display: grid;
  grid-template-rows: var(--partners-logo-height) auto;
  gap: 24px;
  margin: 0;
  text-align: center;
}

.partner__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.partner__logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 280px);
  max-height: 100%;
  object-fit: contain;
}

.partner__name {
  width: min(100%, 34ch);
  margin: 0 auto;
  color: var(--color-ink);
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

@media (min-width: 600px) {
  .partners-section {
    --partners-visible: 3;
    --partners-gap: clamp(24px, 3vw, 48px);
    --partners-logo-height: clamp(112px, 12vw, 144px);
    padding: 40px var(--tablet-edge, var(--page-gutter)) 56px;
  }

  .partners-section__inner {
    width: var(--tablet-content, min(1364px, 100%));
  }

  .partners-section__title {
    font-size: clamp(17px, 2vw, 20px);
    line-height: 23px;
    letter-spacing: 1.08px;
  }

  .partners-section__heading {
    margin-bottom: 32px;
  }

  .partner__name {
    font-size: clamp(14px, 1.4vw, 16px);
  }
}

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

.news-home-state { grid-column: 1 / -1; padding: 32px 24px; color: var(--color-ink-muted); font: 400 18px/1.6 var(--font-body); }
.news-home-state a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-accent); }
.news-section__cards .news-card__action { margin-top: auto; text-decoration: none; }
.news-section__cards .news-card__photo-frame > img { width: 100%; height: 100%; object-fit: contain; }
.news-section__cards .news-card { height: auto; min-height: 430px; }
.news-section__cards .news-card__title { height: auto; overflow-wrap: anywhere; }
