@font-face {
  font-family: Golos;
  src: url('assets/golos-cyrillic.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Golos;
  src: url('assets/golos-latin.woff2') format('woff2');
  font-weight: 400 900;
  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 {
  --blue: #0669ed;
  --blue-deep: #064ab6;
  --ink: #122344;
  --night: #071429;
  --night-deep: #040c1b;
  --muted: #4a5e79;
  --ice: #eef5ff;
  --gutter: clamp(20px, 4vw, 72px);
  font-family: Golos, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 89px; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid #388cff; outline-offset: 5px; }
.wrap { width: min(1280px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 40;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.header-shell {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 94px;
  margin-bottom: -94px;
  padding-top: 17px;
  pointer-events: none;
}
.nav-bar {
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 6px 7px 6px 20px;
  border: 1px solid #fff9;
  border-radius: 24px;
  background: #f9fcffeb;
  box-shadow: 0 7px 35px #0f2d5a19, inset 0 0 0 1px #eff4fc;
  backdrop-filter: blur(18px) saturate(135%);
  pointer-events: auto;
}
.brand { width: fit-content; }
.brand img { height: auto; }
.site-nav { display: flex; padding: 3px; border-radius: 16px; background: #e7effa; }
.site-nav a {
  display: grid;
  place-items: center;
  min-height: 39px;
  padding-inline: clamp(12px, 1.65vw, 25px);
  border-radius: 13px;
  font-size: .875rem;
  font-weight: 640;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.site-nav a:is(:hover, [aria-current]) { color: var(--blue-deep); background: #fff; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding-inline: 23px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 660;
  line-height: 1.25;
  text-align: center;
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
}
.button:hover { transform: translateY(-2px); }
.nav-download, .button-primary { color: #fff; background: var(--blue); }
.nav-download:hover, .button-primary:hover { background: #0059d2; }
.nav-download { min-height: 46px; justify-self: end; padding-inline: 15px; border-radius: 17px; font-size: .875rem; white-space: nowrap; }
.nav-download svg { width: 17px; height: 17px; }
.button-primary { box-shadow: 0 10px 24px #0070ed38, inset 0 1px #ffffff45; }
.button-quiet { border-color: #9ab8e77d; background: #ffffff98; }
.button-quiet:hover { background: white; box-shadow: 0 5px 16px #2c5ca724; }

.hero {
  --pointer-x: 0px;
  --pointer-y: 0px;
  --art-scroll: 0px;
  --orbit-scroll: 0px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  min-height: clamp(590px, 53vw, 800px);
  display: grid;
  align-items: center;
  padding-block: 123px 65px;
  color: #071936;
  background: #e9f2ff;
}
.hero-surface {
  position: absolute;
  inset: -2% -2% -7%;
  z-index: -2;
  background: center / cover no-repeat url('assets/store-atmosphere.webp'), #e9f2ff;
  transform: translate3d(var(--pointer-x), calc(var(--pointer-y) + var(--art-scroll)), 0);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background: radial-gradient(ellipse at 50% 49%, #f6faff9e 0%, #f6faff46 40%, transparent 68%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; width: min(1080px, calc(100% - 64px)); text-align: center; }
.product-name { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-weight: 710; }
.product-name img { border-radius: 9px; box-shadow: 0 4px 12px #1639672b; }
.product-name span { color: #425f85; font-weight: 540; }
h1, h2, h3 { font-weight: 730; letter-spacing: -.055em; }
.hero h1 { font-size: clamp(3.35rem, 6.65vw, 6.25rem); line-height: .96; letter-spacing: -.064em; }
h1 em, h2 em { font-style: normal; }
.hero h1 em { color: var(--blue-deep); }
.hero-description { width: min(510px, 100%); margin: 25px auto 0; color: #324b70; font-size: clamp(1.02rem, 1.55vw, 1.23rem); line-height: 1.6; text-wrap: pretty; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.app-orbit {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: min(1650px, 100%);
  margin-inline: auto;
  transform: translate3d(calc(var(--pointer-x) * -1.5), calc(var(--pointer-y) * -1.5 + var(--orbit-scroll)), 0);
  transition: transform .44s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.orbit-tile {
  position: absolute;
  display: grid;
  place-items: center;
  width: var(--tile-size);
  aspect-ratio: 1;
  padding: calc(var(--tile-size) * .14);
  border: 1px solid #fff;
  border-radius: 27%;
  background: linear-gradient(155deg, #fff, #eaf3ff 55%, #c1d9ff);
  box-shadow: 0 calc(var(--tile-size) * .18) calc(var(--tile-size) * .33) -10px #003d9a55, inset 2px 2px 6px #fff, inset -2px -3px 6px #a5c9f96b;
  transform: perspective(560px) rotateZ(var(--angle)) rotateY(var(--tilt));
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
  pointer-events: auto;
}
.orbit-tile img { width: 100%; height: auto; border-radius: 24%; }
.orbit-tile:hover, .orbit-tile:focus-visible { z-index: 1; transform: perspective(560px) rotateZ(0) rotateY(0) translateY(-10px) scale(1.09); box-shadow: 0 26px 37px -10px #003d9a63; }
.tile-navigator { --tile-size: clamp(77px, 10.1vw, 144px); --angle: -15deg; --tilt: 13deg; top: 32%; left: 5.2%; }
.tile-music { --tile-size: clamp(61px, 7.8vw, 108px); --angle: 12deg; --tilt: -14deg; right: 7%; top: 27%; }
.tile-video { --tile-size: clamp(76px, 9.65vw, 130px); --angle: 13deg; --tilt: -14deg; right: 12%; bottom: 11%; }
.tile-widgets { --tile-size: clamp(55px, 6.8vw, 95px); --angle: 12deg; --tilt: 5deg; left: 16%; bottom: 12%; }

h2 { font-size: clamp(2.45rem, 5vw, 5rem); line-height: .98; text-wrap: balance; }
.showcase { padding-block: clamp(64px, 7vw, 105px) clamp(70px, 7vw, 110px); background: radial-gradient(ellipse at 28% 87%, #101f46 0%, transparent 66%), var(--night-deep); color: #f5f8ff; }
.showcase-intro, .apps-intro { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: clamp(20px, 4.5vw, 76px); }
.showcase h2 em { color: #91beff; }
.showcase-intro p, .apps-intro p { max-width: 39ch; font-size: clamp(1rem, 1.32vw, 1.1875rem); line-height: 1.62; text-wrap: pretty; }
.showcase-intro p { color: #becbec; }
.showcase-grid { display: grid; grid-template-columns: minmax(0, 3.28fr) minmax(216px, 1fr); align-items: center; gap: clamp(22px, 3.1vw, 42px); margin-top: 40px; }
.screen-case {
  min-width: 0;
  perspective: 1300px;
  transform: translateY(var(--screen-rise, 0px)) scale(var(--screen-scale, 1));
  transition: transform .24s cubic-bezier(.2,.8,.2,1);
}
.screen-frame {
  position: relative;
  display: grid;
  width: 100%;
  place-items: center;
  overflow: hidden;
  padding: 7px;
  border: 1px solid #7794c691;
  border-radius: 24px;
  background: #05080e;
  box-shadow: 0 29px 67px -15px #000b, 0 1px 5px #b1ceff35, inset 0 0 0 2px #6483bc41;
  transform: rotateX(var(--screen-x, 0deg)) rotateY(var(--screen-y, 0deg));
  transition: transform .34s cubic-bezier(.2,.8,.2,1);
  cursor: zoom-in;
  touch-action: pan-y;
}
.screen-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 17px;
  background: #000;
  container-type: inline-size;
}
.screen-media > img { width: 100%; height: 100%; object-fit: contain; }
.screen-menu { display: none; }
.screen-media[data-format='rutube'] .screen-menu {
  position: absolute;
  inset: 7.45% auto auto 4.93%;
  display: grid;
  grid-template-columns: 116fr 116fr 87fr 145fr 183fr 137fr 159fr;
  gap: .55cqw;
  width: 78.5%;
  height: 5.42%;
  padding: .18cqw;
  background: #0e0e0e;
  pointer-events: none;
}
.screen-menu > span {
  display: grid;
  place-items: center;
  border-radius: .24cqw;
  color: #ddd;
  background: #292929;
  font: 520 1.28cqw / 1 Golos, system-ui, sans-serif;
  white-space: nowrap;
}
.screen-menu > span:first-child { color: #141414; background: #fff; }
.screen-enlarge { position: absolute; right: 15px; bottom: 15px; display: grid; width: 42px; height: 42px; place-items: center; color: white; border: 1px solid #b6ceff8c; border-radius: 13px; background: #0b1c39e0; transition: background .2s; }
.screen-frame:hover .screen-enlarge { background: var(--blue); }
.screen-controller { min-width: 0; }
.scene-switcher { display: grid; grid-template-columns: 1fr; gap: 5px; }
.scene-switcher button {
  position: relative;
  min-height: 41px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: #ffffff0b;
  color: #b8c8e8;
  font-size: .875rem;
  font-weight: 630;
  text-align: left;
  cursor: pointer;
  transition: color .22s, background .22s, border-color .22s;
}
.scene-switcher button:hover { color: white; background: #ffffff14; }
.scene-switcher button[aria-pressed='true'] { color: #fff; background: #163361; border-color: #5e97fb76; }
.scene-caption { margin-top: 21px; }
.scene-caption h3 { margin-top: 6px; font-size: 1.23rem; letter-spacing: -.029em; line-height: 1.2; }
.scene-caption p { color: #b8c8e8; font-size: .875rem; line-height: 1.55; }
.scene-caption p:last-child { margin-top: 6px; }
.scene-caption .scene-source { color: #96baff; font-size: .75rem; font-weight: 650; }
.widget-pager { display: flex; align-items: center; gap: 12px; margin-top: 13px; }
.widget-pager[hidden] { display: none; }
.widget-pager > span { min-width: 44px; color: #b8c8e8; font-size: .875rem; text-align: center; }
.widget-pager button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #5e97fb76;
  border-radius: 11px;
  background: #163361;
  color: #fff;
  cursor: pointer;
}
.widget-pager button:hover { background: #214782; }
.showcase-cta { display: inline-flex; align-items: center; min-height: 44px; margin-top: 7px; color: #a4c9ff; font-size: .9375rem; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.showcase-cta:hover { color: white; }

.screen-dialog {
  width: min(1160px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100% - 24px);
  padding: 10px;
  border: 1px solid #8daeee70;
  border-radius: 19px;
  color: #fff;
  background: #08132a;
}
.screen-dialog::backdrop { background: #050b18e8; backdrop-filter: blur(8px); }
.dialog-header { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 0 0 8px 8px; }
.dialog-header p { font-size: .9375rem; font-weight: 630; }
.dialog-header button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 10px; background: #253e65; cursor: pointer; }
.dialog-header button:hover { background: #365889; }
.screen-dialog .screen-media { width: min(100%, calc((100dvh - 110px) * 1.7778)); margin-inline: auto; border-radius: 10px; }

.apps-section { padding-block: clamp(67px, 8vw, 120px) clamp(55px, 6.4vw, 92px); }
.apps-intro p { color: var(--muted); }
.apps-grid { display: grid; grid-template-columns: 1.12fr 1fr 1fr; gap: 14px; margin-top: 31px; }
.app-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 252px;
  gap: 9px;
  padding: clamp(19px, 2.3vw, 32px);
  border: 1px solid #dfeaf9;
  border-radius: 25px;
  background: #edf5ff;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.app-card:hover { transform: translateY(-5px); border-color: #a7c7f7; box-shadow: 0 13px 30px #224f8f13; }
.card-maps { background: linear-gradient(144deg, #eff7ff, #dceaff); }
.card-music { background: linear-gradient(144deg, #f8fbff, #e8effc); }
.card-video { background: linear-gradient(144deg, #eaf3ff, #d9e8ff); }
.app-card-icons { display: flex; align-items: end; gap: 7px; margin-bottom: 8px; }
.app-card-icons img { padding: 5px; border-radius: 26%; background: #fff; box-shadow: 0 8px 18px #204a8b26; }
.app-card h3 { font-size: clamp(1.35rem, 2.5vw, 2.25rem); line-height: 1.08; letter-spacing: -.045em; }
.app-card p { color: #354e70; line-height: 1.54; }
.app-card span { width: fit-content; margin-top: 8px; color: var(--blue-deep); font-size: .875rem; font-weight: 660; text-decoration: underline; text-decoration-color: #789ac6; text-underline-offset: 4px; }

.download-section { padding-bottom: clamp(62px, 7vw, 106px); }
.download-panel {
  display: grid;
  grid-template-columns: 1fr .85fr;
  align-items: center;
  gap: clamp(22px, 5vw, 75px);
  padding: clamp(26px, 5.4vw, 77px);
  border-radius: 32px;
  color: white;
  background: radial-gradient(ellipse at 102% 110%, transparent 36%, #87b6ff2b 36.3% 57%, transparent 57.3%), linear-gradient(118deg, #072c70, #034dbb 53%, #0669ed);
}
.download-mark { margin-bottom: 18px; border-radius: 17px; box-shadow: 0 12px 25px #001c546e; }
.download-panel h2 { text-wrap: initial; }
.download-intro p { max-width: 43ch; margin-top: 18px; color: #e7f0ff; font-size: 1.0625rem; line-height: 1.62; }
.download-options { display: grid; gap: 10px; }
.download-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 80px;
  padding: 14px 19px;
  border: 1px solid #ffffffc7;
  border-radius: 17px;
  color: var(--ink);
  background: #fff;
  transition: background .2s, transform .2s;
}
.download-link:hover { transform: translateY(-2px); background: #eaf3ff; }
.download-link strong { font-size: 1.25rem; }
.download-link small { display: block; margin-top: 3px; color: var(--muted); font-size: .875rem; }
.download-link svg { width: 24px; height: 24px; color: var(--blue-deep); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; margin-left: auto; font-size: 1.25rem; font-weight: 470; }
details[open] > summary::after { content: '−'; }
.manual-install { margin-inline: 3px; font-size: .9375rem; }
.manual-install summary { display: flex; align-items: center; gap: 10px; min-height: 43px; font-weight: 640; }
.manual-install p { color: #e2edff; line-height: 1.55; }
.manual-install a { display: inline-flex; align-items: center; min-height: 44px; color: white; text-decoration: underline; text-underline-offset: 4px; }

.faq { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(20px, 5vw, 73px); padding-bottom: clamp(60px, 8vw, 107px); }
.faq h2 { font-size: clamp(2.1rem, 4.3vw, 4.3rem); }
.faq-items { border-top: 1px solid #d9e4f2; }
.faq-items details { border-bottom: 1px solid #d9e4f2; }
.faq-items summary { display: flex; align-items: center; gap: 12px; min-height: 63px; padding-block: 12px; font-weight: 650; }
.faq-items summary:hover, .faq-items summary::after { color: var(--blue-deep); }
.faq-items p { max-width: 59ch; padding: 0 12px 17px 0; color: var(--muted); line-height: 1.58; }
.footer { border-top: 1px solid #e3ebf7; background: #f6f9ff; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 23px; padding-block: 20px; }
.footer-inner p { color: var(--muted); font-size: .875rem; line-height: 1.5; }
.footer-inner > a:last-child { color: var(--blue-deep); font-size: .875rem; font-weight: 650; }

@media (prefers-reduced-motion: no-preference) {
  .hero-content { animation: enter-up .85s cubic-bezier(.2,.75,.22,1) both; }
  .orbit-tile { animation: tile-in 1.1s cubic-bezier(.2,.75,.22,1) both; }
  .tile-music { animation-delay: .13s; }
  .tile-video { animation-delay: .24s; }
  .tile-widgets { animation-delay: .31s; }
  [data-reveal].arrived { animation: enter-up .75s cubic-bezier(.2,.75,.22,1) both; }
  @keyframes enter-up { from { opacity: .73; translate: 0 21px; } }
  @keyframes tile-in { from { opacity: .28; translate: 0 35px; scale: .86; } }
}

@media (max-width: 1050px) {
  .hero h1 { font-size: clamp(3.1rem, 7.05vw, 4.65rem); }
  .tile-navigator { left: 4.1%; top: 25%; }
  .tile-music { right: 6%; top: 24%; }
  .tile-video { right: 8%; bottom: 10%; }
  .tile-widgets { left: 11%; bottom: 10%; }
  .showcase-grid { gap: 20px; }
  .screen-frame { border-radius: 19px; }
  .screen-frame .screen-media { border-radius: 13px; }
}

@media (max-width: 830px) {
  .showcase-grid { grid-template-columns: minmax(0, 1fr); }
  .screen-controller { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; align-items: start; }
  .scene-switcher { display: flex; flex-wrap: wrap; grid-row: span 2; }
  .scene-switcher button { min-height: 39px; }
  .scene-caption { margin-top: 0; }
  .apps-intro, .showcase-intro { grid-template-columns: 1.05fr .95fr; }
  .app-card { padding: 19px; }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 77px; }
  .header-shell { height: 77px; margin-bottom: -77px; padding-top: 11px; }
  .nav-bar { min-height: 54px; grid-template-columns: 1fr auto; width: calc(100% - 24px); padding: 4px 5px 4px 12px; border-radius: 18px; }
  .nav-bar .brand img { width: 126px; }
  .site-nav { display: none; }
  .nav-download { min-height: 43px; border-radius: 13px; padding-inline: 11px; }
  .nav-download svg { width: 15px; height: 15px; }
  .hero { display: flex; flex-direction: column-reverse; gap: 23px; min-height: 0; padding-block: 105px 31px; }
  .hero-content { width: min(440px, calc(100% - 36px)); }
  .hero-surface { inset: -2%; }
  .hero::after { background: radial-gradient(ellipse at 50% 47%, #f7fbffac 0%, #f7fbff60 60%, #e8f4ff10 100%); }
  .hero h1 { font-size: clamp(2.52rem, 8.6vw, 3.72rem); text-wrap: balance; }
  .product-name { margin-bottom: 15px; font-size: .875rem; }
  .product-name img { width: 29px; height: 29px; }
  .hero-description { margin-top: 16px; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .button { min-height: 48px; padding-inline: 15px; font-size: .9375rem; }
  .app-orbit { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(10px, 4.75vw, 23px); min-height: 82px; transform: none; }
  .orbit-tile { position: relative; inset: auto; --tile-size: clamp(47px, 14vw, 70px); }
  .showcase-intro, .apps-intro, .apps-grid, .download-panel, .faq { grid-template-columns: minmax(0, 1fr); }
  .showcase-intro, .apps-intro { gap: 15px; }
  .showcase-grid { margin-top: 24px; }
  .screen-controller { display: grid; grid-template-columns: 1fr; row-gap: 15px; }
  .scene-switcher { grid-row: auto; }
  .scene-switcher button { min-height: 39px; padding-inline: 10px; }
  .screen-frame { padding: 4px; border-radius: 13px; }
  .screen-frame .screen-media { border-radius: 8px; }
  .screen-enlarge { right: 8px; bottom: 8px; width: 36px; height: 36px; border-radius: 9px; }
  .showcase-cta { margin-top: -7px; }
  .apps-grid { margin-top: 22px; }
  .app-card { min-height: 0; }
  .app-card-icons img { width: 53px; height: 53px; }
  .app-card-icons img + img { width: 43px; height: 43px; }
  .download-panel { gap: 24px; border-radius: 24px; }
  .download-mark { width: 57px; height: 57px; }
  .download-link { min-height: 70px; padding: 12px 15px; }
  .footer-inner { grid-template-columns: 1fr auto; gap: 10px; }
  .footer-inner p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 480px) {
  .hero-surface { background-image: url('assets/store-atmosphere-mobile.webp'); background-position: center 56%; }
}

@media (max-width: 370px) {
  .hero h1 { font-size: 11.4vw; }
  .product-name { gap: 5px; }
  .hero-actions { gap: 7px; }
  .hero-actions .button { font-size: .86rem; padding-inline: 10px; }
  .hero-actions .button-quiet svg { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
  .hero-surface, .app-orbit, .screen-case, .screen-frame, .button:hover, .app-card:hover, .download-link:hover { transform: none; }
}
