@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #EFECE8; --surface: #FFFFFF; --ink: #131112; --ink-2: #4A4547; --ink-3: #6E676A;
  --line: #E4E0DC; --accent: #D8232A; --stage: #E6E1DB; --radius: 24px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 16px/1.55 var(--font); }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- раскладка: слева профиль, справа кейсы ---------- */
.layout {
  display: grid; grid-template-columns: minmax(340px, 420px) minmax(0, 1fr); gap: 24px;
  align-items: start; max-width: 1480px; margin: 0 auto; padding: 24px;
}
.side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.extra { display: flex; flex-direction: column; gap: 16px; }
.panel { background: var(--surface); border-radius: var(--radius); padding: 28px; }

/* ---------- профиль ---------- */
.profile__photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; margin-bottom: 24px; background: var(--stage); }
.profile { container-type: inline-size; }
.profile__name { font-size: 34px; font-size: min(44px, 10cqi); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; margin: 0 0 8px; white-space: nowrap; }
.profile__role { font-size: 18px; color: var(--ink-3); margin: 0 0 20px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none;
  transition: background .2s ease;
}
.btn--ghost { background: var(--bg); color: var(--ink); }
@media (hover: hover) { .btn:hover { background: var(--accent); color: #fff; } }
.profile__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn--mobile { display: none; }

.contacts { display: grid; grid-template-columns: auto auto; justify-content: space-between; gap: 16px 20px; margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contacts dt { font-size: 13px; color: var(--ink-3); margin-bottom: 2px; }
.contacts dd { margin: 0; font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.contacts a { text-decoration: none; }
.copy {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: left; white-space: nowrap; cursor: pointer;
}
.copy__icon { flex: none; color: var(--ink-3); }
.copy::after {
  content: "Скопировано"; position: absolute; left: 0; bottom: calc(100% + 6px); padding: 4px 10px; border-radius: 8px;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap;
  opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease; pointer-events: none;
}
.copy.is-copied::after { opacity: 1; transform: none; }
@media (hover: hover) {
  .contacts a:hover, .copy:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
  .copy:hover .copy__icon { color: var(--accent); }
}

.profile__text { margin: 0; color: var(--ink-2); }

/* ---------- обо мне, образование ---------- */
.panel__title { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 14px; }
.about__lead { margin: 0 0 8px; font-weight: 700; }
.about__list { margin: 0; padding-left: 20px; color: var(--ink-2); }
.about__list li + li { margin-top: 4px; }
.about__list li::marker { color: var(--accent); }

.edu__school { margin: 0 0 14px; font-weight: 700; line-height: 1.4; }
.edu__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.edu__list li { display: flex; flex-direction: column; }
.edu__program, .edu__date { color: var(--ink-3); font-size: 15px; }
.edu__list + .edu__school { margin-top: 24px; }

.foot { margin: 4px 0 0 4px; font-size: 13px; color: var(--ink-3); }

/* ---------- карточки кейсов ---------- */
.works { display: grid; gap: 24px; min-width: 0; }
.card {
  position: relative; display: block; background: var(--surface); border-radius: var(--radius);
  overflow: hidden; text-decoration: none;
}
.card__stage { aspect-ratio: 16 / 9; padding: 5% 9% 0; background: var(--stage); overflow: hidden; }
.card__stage > img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center;
  border-radius: 12px 12px 0 0; box-shadow: 0 10px 40px rgba(19, 17, 18, .14);
  transition: transform .35s ease;
}
.card__stage--fit { display: flex; align-items: center; padding: 0 12%; background: #DDE5E5; }
.card__stage--fit img { height: auto; border-radius: 12px; }
@media (hover: hover) { .card:hover .card__stage > img { transform: translateY(-6px); } .card:hover .card__stage--cover > img { transform: none; } }
/* карточки с мокапом на всю площадь; у РЗТ внутри экрана ноутбука прокручивается главная */
.card__stage--cover { position: relative; padding: 0; background: #0b0b0c; }
.card__stage--cover > img { border-radius: 0; box-shadow: none; object-position: center; }
.card__scr { position: absolute; left: 37%; top: 15.556%; width: 56.75%; height: 63.056%; overflow: hidden; border-radius: 2px; }
.card__scr img { display: block; width: 100%; height: auto; object-fit: fill; animation: rztscroll 22.8s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes rztscroll {
  0.00% { transform: translateY(-0.000%) }
  4.39% { transform: translateY(-0.000%) }
  8.33% { transform: translateY(-8.250%) }
  14.04% { transform: translateY(-8.250%) }
  17.98% { transform: translateY(-17.250%) }
  23.68% { transform: translateY(-17.250%) }
  27.63% { transform: translateY(-24.500%) }
  33.33% { transform: translateY(-24.500%) }
  37.28% { transform: translateY(-37.750%) }
  42.98% { transform: translateY(-37.750%) }
  46.93% { transform: translateY(-44.500%) }
  52.63% { transform: translateY(-44.500%) }
  56.58% { transform: translateY(-52.000%) }
  62.28% { transform: translateY(-52.000%) }
  66.23% { transform: translateY(-65.250%) }
  71.93% { transform: translateY(-65.250%) }
  75.88% { transform: translateY(-75.000%) }
  81.58% { transform: translateY(-75.000%) }
  85.53% { transform: translateY(-81.250%) }
  91.23% { transform: translateY(-81.250%) }
  97.37% { transform: translateY(-0.000%) }
}

/* обложка кейса «Страница релиза» — тот же ноутбук, скролл страницы релиза */
.card__scr--rel img { animation-name: rztrel; animation-duration: 16.2s; }
@keyframes rztrel {
  0.00% { transform: translateY(-0.000%) }
  6.17% { transform: translateY(-0.000%) }
  11.73% { transform: translateY(-12.541%) }
  19.75% { transform: translateY(-12.541%) }
  25.31% { transform: translateY(-22.666%) }
  33.33% { transform: translateY(-22.666%) }
  38.89% { transform: translateY(-41.830%) }
  46.91% { transform: translateY(-41.830%) }
  52.47% { transform: translateY(-57.166%) }
  60.49% { transform: translateY(-57.166%) }
  66.05% { transform: translateY(-67.182%) }
  74.07% { transform: translateY(-67.182%) }
  79.63% { transform: translateY(-83.035%) }
  87.65% { transform: translateY(-83.035%) }
  96.30% { transform: translateY(-0.000%) }
}

/* пока обложка не на экране, её анимации стоят (запускает скрипт в index.html) */
.js-anim .card__stage:not(.is-live) *, .js-anim .card__stage:not(.is-live) *::before, .js-anim .card__stage:not(.is-live) *::after { animation-play-state: paused !important; }


.card__body { padding: 28px 104px 32px 32px; }
.card__kicker { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-bottom: 8px; }
.card__title { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 12px; text-wrap: balance; }
.card__text { margin: 0 0 20px; color: var(--ink-2); max-width: 680px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { padding: 6px 14px; border-radius: 999px; background: var(--bg); color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.3; }

.card__go {
  position: absolute; right: 32px; bottom: 32px; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; transition: background .2s ease, transform .2s ease;
}
@media (hover: hover) { .card:hover .card__go { background: var(--accent); transform: translateX(4px); } }

/* ---------- содержание справа ---------- */
/* Только на больших экранах: стоит в свободном поле справа от кейсов и не сужает их */
.toc { display: none; }
@media (min-width: 1880px) {
  .toc { display: block; position: fixed; top: 48px; left: calc(50% + 740px + 32px); width: 160px; font-size: 14px; }
}
.toc__title { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.toc__group { margin: 16px 0 6px; font-size: 13px; color: var(--ink-3); }
.toc__title + .toc__group { margin-top: 0; }
.toc__list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc__list a {
  display: flex; gap: 8px; margin-left: -1px; padding: 6px 0 6px 12px; border-left: 2px solid transparent;
  color: var(--ink-2); text-decoration: none; line-height: 1.35; transition: color .2s ease, border-color .2s ease;
}
.toc__list span { color: var(--ink-3); font-variant-numeric: tabular-nums; font-weight: 600; }
.toc__list a.is-active { color: var(--ink); font-weight: 700; border-left-color: var(--accent); }
.toc__list a.is-active span { color: var(--accent); }
@media (hover: hover) { .toc__list a:hover { color: var(--accent); } }
.card { scroll-margin-top: 24px; }


/* ---------- планшет и телефон: одна колонка ---------- */
@media (max-width: 960px) {
  .layout { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px; }
  .side, .extra { display: contents; }
  .profile { order: 1; }
  .works { order: 2; gap: 16px; }
  .extra > * { order: 3; }
  .btn--mobile { display: inline-flex; }
  .works { scroll-margin-top: 16px; }
  .card { scroll-margin-top: 16px; }
  .profile__photo { aspect-ratio: 1 / 1; width: 160px; border-radius: 50%; object-position: 50% 30%; }
}
@media (max-width: 600px) {
  .panel { padding: 22px; }
  .card__body { padding: 22px 22px 88px; }
  .card__go { right: auto; left: 22px; bottom: 22px; width: 48px; height: 48px; }
  .card__stage { aspect-ratio: 4 / 3; padding: 6% 6% 0; }
  .card__stage--fit { padding: 0 6%; }
  .card__stage--cover { aspect-ratio: 16 / 9; padding: 0; }
  .contacts { grid-template-columns: 1fr; justify-content: stretch; }
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card__stage > img, .card__go, .btn, .copy::after, .toc__list a { transition: none; } .card__scr img { animation: none; } }

/* анимированная обложка ИБП */

.ibpa { position: relative; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size; background: #11181b; }
.ibpa img { display: block; }
.ibpa__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ibpa__scr { position: absolute; left: 34.375%; top: 8.889%; width: 81.250%; height: 81.210%; overflow: hidden; border-radius: .75cqw; }
.ibpa__scr > .ibpa__base { position: absolute; inset: 0; width: 100%; height: 100%; }
.ibpa__flow { position: absolute; left:1.611%;top:17.188%;width:70.717%;height:77.344%; overflow: visible; }
.ibpa .fc { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ibpa__byp { animation: ibpaByp 13.0s linear infinite; }
.ibpa__flow--inv { animation: ibpaInv 13.0s linear infinite; }
.ibpa__scrim { position: absolute; left: 0; right: 0; bottom: 0; top: 14.583%; background: rgba(20,28,36,.42); opacity: 0; animation: ibpaScrim 13.0s linear infinite; }
.ibpa__modal { position: absolute; width: 42.460%; height: auto; border-radius: 1.02cqw; box-shadow: 0 1.5cqw 3.6cqw rgba(0,0,0,.25); opacity: 0; }
.ibpa__modal--1 { left: 28.770%; top: 34.466%; animation: ibpaM1 13.0s ease-out infinite; }
.ibpa__modal--2 { left: 28.770%; top: 35.651%; animation: ibpaM2 13.0s ease-out infinite; }
.ibpa__cur { position: absolute; width: 1.9cqw; height: 1.9cqw; animation: ibpaCur 13.0s cubic-bezier(.45,0,.3,1) infinite; z-index: 3; }
.ibpa__cur svg { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 10% 10%; animation: ibpaPress 13.0s linear infinite; filter: drop-shadow(0 .2cqw .4cqw rgba(0,0,0,.35)); }
.ibpa__cur i { position: absolute; left: 0; top: 0; width: 3.4cqw; height: 3.4cqw; border-radius: 50%; border: .25cqw solid #007A92; background: rgba(0,122,146,.18); animation: ibpaRip 13.0s linear infinite; }
.ibpa__jr { position: absolute; left: 1.500%; top: 54.222%; width: 63.000%; height: auto; }
@keyframes ibpaByp {
  0%, 41.92% { opacity: 0; }
  44.23%, 85.77% { opacity: 1; }
  88.08%, 100% { opacity: 0; }
}
@keyframes ibpaInv {
  0%, 41.15% { opacity: 1; }
  42.69%, 86.54% { opacity: 0; }
  88.08%, 100% { opacity: 1; }
}
@keyframes ibpaScrim {
  0%, 27.69% { opacity: 0; }
  29.62%, 40.77% { opacity: 1; }
  42.31%, 71.54% { opacity: 0; }
  73.46%, 84.62% { opacity: 1; }
  86.15%, 100% { opacity: 0; }
}
@keyframes ibpaM1 {
  0%, 27.69% { opacity: 0; transform: scale(.96); }
  29.62%, 40.77% { opacity: 1; transform: scale(1); }
  42.31%, 100% { opacity: 0; transform: scale(.98); }
}
@keyframes ibpaM2 {
  0%, 71.54% { opacity: 0; transform: scale(.96); }
  73.46%, 84.62% { opacity: 1; transform: scale(1); }
  86.15%, 100% { opacity: 0; transform: scale(.98); }
}
@keyframes ibpaCur {
  0.00% { left: 55.637%; top: 72.917%; opacity: 0; }
  17.69% { left: 55.637%; top: 72.917%; opacity: 0; }
  20.00% { left: 55.637%; top: 72.917%; opacity: 1; }
  26.15% { left: 35.864%; top: 43.828%; opacity: 1; }
  30.00% { left: 35.864%; top: 43.828%; opacity: 1; }
  37.69% { left: 62.357%; top: 74.440%; opacity: 1; }
  41.54% { left: 62.357%; top: 74.440%; opacity: 1; }
  45.38% { left: 62.357%; top: 74.440%; opacity: 0; }
  61.54% { left: 55.637%; top: 72.917%; opacity: 0; }
  63.85% { left: 55.637%; top: 72.917%; opacity: 1; }
  70.00% { left: 35.864%; top: 56.901%; opacity: 1; }
  73.85% { left: 35.864%; top: 56.901%; opacity: 1; }
  81.54% { left: 62.357%; top: 73.255%; opacity: 1; }
  85.38% { left: 62.357%; top: 73.255%; opacity: 1; }
  89.23% { left: 62.357%; top: 73.255%; opacity: 0; }
  100.00% { left: 55.637%; top: 72.917%; opacity: 0; }
}
@keyframes ibpaPress {
  0% { transform: scale(1); }
  26.69% { transform: scale(1); }
  27.31% { transform: scale(.85); }
  28.46% { transform: scale(1); }
  39.77% { transform: scale(1); }
  40.38% { transform: scale(.85); }
  41.54% { transform: scale(1); }
  70.54% { transform: scale(1); }
  71.15% { transform: scale(.85); }
  72.31% { transform: scale(1); }
  83.62% { transform: scale(1); }
  84.23% { transform: scale(.85); }
  85.38% { transform: scale(1); }
  100% { transform: scale(1); }
}
@keyframes ibpaRip {
  0% { transform: translate(-50%,-50%) scale(.2); opacity: 0; }
  27.23% { transform: translate(-50%,-50%) scale(.2); opacity: 0; }
  27.31% { transform: translate(-50%,-50%) scale(.3); opacity: .9; }
  30.77% { transform: translate(-50%,-50%) scale(1.4); opacity: 0; }
  40.31% { transform: translate(-50%,-50%) scale(.2); opacity: 0; }
  40.38% { transform: translate(-50%,-50%) scale(.3); opacity: .9; }
  43.85% { transform: translate(-50%,-50%) scale(1.4); opacity: 0; }
  71.08% { transform: translate(-50%,-50%) scale(.2); opacity: 0; }
  71.15% { transform: translate(-50%,-50%) scale(.3); opacity: .9; }
  74.62% { transform: translate(-50%,-50%) scale(1.4); opacity: 0; }
  84.15% { transform: translate(-50%,-50%) scale(.2); opacity: 0; }
  84.23% { transform: translate(-50%,-50%) scale(.3); opacity: .9; }
  87.69% { transform: translate(-50%,-50%) scale(1.4); opacity: 0; }
  100% { transform: translate(-50%,-50%) scale(.2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .ibpa * { animation: none !important; } .ibpa__cur, .ibpa__flow { display: none; } }

/* анимированная обложка «Навигация» */
.mna { position: relative; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size; background: #0a0a0b; }
.mna__bg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.mna__old { position: absolute; left: 42.5%; top: 13.333%; width: 20.625%; aspect-ratio: 560 / 1596; border-radius: 1.125cqw; overflow: hidden;
  transform: rotate(-6deg); box-shadow: 0 1.9cqw 3.8cqw rgba(0,0,0,.6); animation: mnaOld 11.0s ease-in-out infinite; }
.mna__old i { position: absolute; inset: 0; background: url(assets/img/menu/menu-old.webp) 0 0 / 100% auto no-repeat; }
.mna__old .mna__dim { filter: blur(.09cqw) brightness(.62); animation: mnaDim 11.0s ease-in-out infinite; }
.mna__glow { position: absolute; inset: 0; background: radial-gradient(ellipse 30% 55% at 78% 50%, rgba(140,8,14,.34), transparent 70%);
  animation: mnaGlow 11.0s ease-in-out infinite; }
.mna__new { position: absolute; left: 65%; top: 8%; width: 26.25%; aspect-ratio: 644 / 2220; border-radius: 1.5cqw; overflow: hidden; background: #070000;
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 2.5cqw 5.6cqw rgba(0,0,0,.8), 0 0 0 .625cqw rgba(255,255,255,.03);
  animation: mnaNew 11.0s cubic-bezier(.2,.7,.3,1) infinite; }
.mna__s { position: absolute; left: 0; width: 100%; background-image: url(assets/img/menu/menu-new.webp); background-size: 100% auto; background-repeat: no-repeat; }
/* цикл идёт только вперёд: старое появляется -> уходит назад -> новое собирается -> пауза -> всё гаснет */
@keyframes mnaOld {
  0% { opacity: 0; transform: translate(30%, -3%) rotate(-1deg) scale(1.05); }
  4.55%, 9.09% { opacity: 1; transform: translate(30%, -3%) rotate(-1deg) scale(1.05); }
  15.45%, 92.73% { opacity: 1; transform: rotate(-6deg); }
  98.18%, 100% { opacity: 0; transform: rotate(-6deg); }
}
@keyframes mnaDim {
  0%, 9.09% { opacity: 0; }
  15.45%, 100% { opacity: 1; }
}
@keyframes mnaNew {
  0%, 13.64% { opacity: 0; transform: translateX(18%); }
  20.00%, 92.73% { opacity: 1; transform: none; }
  98.18%, 100% { opacity: 0; transform: none; }
}
@keyframes mnaGlow {
  0%, 13.64% { opacity: 0; }
  24.55%, 92.73% { opacity: 1; }
  98.18%, 100% { opacity: 0; }
}
@keyframes mnaS0 {
  0%, 20.45% { opacity: 0; transform: translateY(.7cqw); }
  23.18%, 100% { opacity: 1; transform: none; }
}
.mna__s0 { animation: mnaS0 11.0s ease-out infinite; }
@keyframes mnaS1 {
  0%, 22.73% { opacity: 0; transform: translateY(.7cqw); }
  25.45%, 100% { opacity: 1; transform: none; }
}
.mna__s1 { animation: mnaS1 11.0s ease-out infinite; }
@keyframes mnaS2 {
  0%, 24.09% { opacity: 0; transform: translateY(.7cqw); }
  26.82%, 100% { opacity: 1; transform: none; }
}
.mna__s2 { animation: mnaS2 11.0s ease-out infinite; }
@keyframes mnaS3 {
  0%, 24.82% { opacity: 0; transform: translateY(.7cqw); }
  27.55%, 100% { opacity: 1; transform: none; }
}
.mna__s3 { animation: mnaS3 11.0s ease-out infinite; }
@keyframes mnaS4 {
  0%, 25.55% { opacity: 0; transform: translateY(.7cqw); }
  28.27%, 100% { opacity: 1; transform: none; }
}
.mna__s4 { animation: mnaS4 11.0s ease-out infinite; }
@keyframes mnaS5 {
  0%, 26.27% { opacity: 0; transform: translateY(.7cqw); }
  29.00%, 100% { opacity: 1; transform: none; }
}
.mna__s5 { animation: mnaS5 11.0s ease-out infinite; }
@keyframes mnaS6 {
  0%, 27.00% { opacity: 0; transform: translateY(.7cqw); }
  29.73%, 100% { opacity: 1; transform: none; }
}
.mna__s6 { animation: mnaS6 11.0s ease-out infinite; }
@keyframes mnaS7 {
  0%, 27.73% { opacity: 0; transform: translateY(.7cqw); }
  30.45%, 100% { opacity: 1; transform: none; }
}
.mna__s7 { animation: mnaS7 11.0s ease-out infinite; }
@keyframes mnaS8 {
  0%, 30.00% { opacity: 0; transform: translateY(.7cqw); }
  32.73%, 100% { opacity: 1; transform: none; }
}
.mna__s8 { animation: mnaS8 11.0s ease-out infinite; }
@keyframes mnaS9 {
  0%, 32.27% { opacity: 0; transform: translateY(.7cqw); }
  35.00%, 100% { opacity: 1; transform: none; }
}
.mna__s9 { animation: mnaS9 11.0s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .mna * { animation: none !important; } }

/* анимированная обложка «Онбординг» */

@property --p { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --v { syntax: "<integer>"; inherits: true; initial-value: 1; }
@property --s { syntax: "<integer>"; inherits: true; initial-value: 4; }
@property --t { syntax: "<integer>"; inherits: true; initial-value: 0; }
.onba { position: relative; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size; background: #0a0a0a; }
.onba__bg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; animation: onbaBlk 18.0s linear infinite; }
.onba__blk { position: absolute; left: 40.000%; top: 13.667%; width: 56.250%; height: 72.733%; overflow: hidden; border-radius: 1.750cqw; border: 1px solid rgba(255,255,255,.1); background: #070000; box-shadow: 0 2.500cqw 5.625cqw -1.250cqw rgba(0,0,0,.9), 0 0 7.500cqw -1.875cqw rgba(255,40,50,.35); font-family: Manrope, system-ui, sans-serif; color: #fff7f5; line-height: 1; animation: onbaBlk 18.0s linear infinite; }
.onba__blk * { position: absolute; margin: 0; font-style: normal; text-decoration: none; }
.onba__blk img { display: block; }
.onba__card { left: 1.632cqw; top: 6.530cqw; width: 52.917cqw; height: 32.750cqw; border: 0.068cqw solid rgba(255,240,240,.4); border-radius: 2.449cqw; }
.onba__hd { left: 1.632cqw; top: 1.615cqw; font-size: 2.415cqw; font-weight: 300; letter-spacing: .02em; white-space: nowrap; }
.onba__q { left: 21.221cqw; top: 1.666cqw; width: 2.313cqw; height: 2.313cqw; border: 0.068cqw solid rgba(255,240,240,.4); border-radius: 50%; display: grid; place-items: center; font-size: 1.292cqw; font-weight: 500; }
.onba__q b { position: static; }
.onba__lk { right: 1.700cqw; top: 2.959cqw; font-size: 1.088cqw; font-weight: 500; color: #c2c2c2; white-space: nowrap; }
.onba__tab { top: 8.060cqw; width: 24.826cqw; height: 3.809cqw; border-radius: 0.952cqw; display: grid; place-items: center; font-size: 1.326cqw; font-weight: 600; color: #c2c2c2; white-space: nowrap; }
.onba__tab--on { background: #2f3137; color: #fff7f5; }
.onba__row { height: 4.489cqw; }
.onba__tt { left: 0; top: 0; display: flex; align-items: center; gap: 0.544cqw; font-size: 1.054cqw; font-weight: 600; line-height: 1.122cqw; white-space: nowrap; }
.onba__tt * { position: relative; }
.onba__ib { display: block; top: 0.068cqw; box-sizing: border-box; width: 0.884cqw; height: 0.884cqw; border-radius: 50%; border: 0.082cqw solid rgba(255,247,245,.8); }
.onba__ib::before { content: "i"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.544cqw; font-weight: 800; line-height: 1; }
.onba__ring { position: absolute !important; left: -0.476cqw; top: -0.476cqw; right: -0.476cqw; bottom: -0.476cqw; border-radius: 50%; border: 0.136cqw solid #ff3b44; box-shadow: 0 0 0.816cqw rgba(255,59,68,.6); opacity: 0; }
.onba__q .onba__ring { left: -0.204cqw; top: -0.204cqw; right: -0.204cqw; bottom: -0.204cqw; border-width: 0.102cqw; }
.onba__num { right: 0; top: -0.068cqw; font-size: 1.037cqw; line-height: 1.360cqw; font-weight: 500; color: #c2c2c2; counter-reset: v var(--v); white-space: nowrap; }
.onba__num::before { content: counter(v); font-size: 1.326cqw; font-weight: 600; color: #fff7f5; }
.onba__ds { left: 0; top: 1.632cqw; font-size: 0.816cqw; font-weight: 500; color: #c2c2c2; white-space: nowrap; }
.onba__tr { left: 0; right: 0; top: 3.265cqw; height: 0.816cqw; border-radius: 0.170cqw; background: linear-gradient(90deg, rgba(255,255,255,.12) 0.068cqw, transparent 0.068cqw) 0 0 / 10% 100%; box-shadow: inset 0 0 0 0.051cqw rgba(255,255,255,.16); }
.onba__fl { left: 0; top: 0; bottom: 0; width: calc(var(--p) * 10% + var(--o)); border-radius: inherit; background: linear-gradient(90deg, #10244b, #2357b4); box-shadow: inset 0 0.068cqw 0 rgba(120,170,255,.45); }
.onba__r0 { --o: -0.340cqw; } .onba__r1 { --o: 0.595cqw; } .onba__r2 { --o: -0.136cqw; } .onba__r3 { --o: -0.306cqw; } .onba__r4 { --o: -0.119cqw; }
.onba__r4 .onba__fl { background: linear-gradient(90deg, #430000, #ab0202); box-shadow: inset 0 0.068cqw 0 rgba(255,120,120,.3); }
.onba__th { left: calc(var(--p) * 10% + var(--o)); top: 50%; width: auto; height: 1.700cqw; transform: translate(-50%, -50%); filter: drop-shadow(0 0.102cqw 0.204cqw rgba(0,0,0,.6)); }
.onba__r0, .onba__v0 { animation: onbaS0 18.0s linear infinite; }
.onba__r1, .onba__v1 { animation: onbaS1 18.0s linear infinite; }
.onba__r2, .onba__v2 { animation: onbaS2 18.0s linear infinite; }
.onba__r3, .onba__v3 { animation: onbaS3 18.0s linear infinite; }
.onba__r4, .onba__v4 { animation: onbaS4 18.0s linear infinite; }

.onba__f { box-sizing: border-box; top: 33.328cqw; height: 4.353cqw; border-radius: 0.612cqw; text-align: center; }
.onba__f > * { left: 0; right: 0; }
.onba__f1 { left: 6.190cqw; width: 11.971cqw; border: 0.068cqw solid #13284f; animation: onbaSum 18.0s linear infinite; counter-reset: ai round(down, var(--s) * 1.4, 1) ad mod(var(--s) * 14, 10); }
.onba__f b { top: 0.680cqw; font-size: 1.360cqw; font-weight: 500; }
.onba__f1 b::before { content: counter(ai) "," counter(ad); }
.onba__f1 span, .onba__f2 em { top: 2.313cqw; font-size: 1.105cqw; font-weight: 500; color: #c2c2c2; white-space: nowrap; }
.onba__f1 em { position: static; color: #5297ff; counter-reset: v var(--v); }
.onba__f1 em::before, .onba__f2 em::before { content: counter(v); }
.onba__f2 { left: 20.541cqw; width: 6.394cqw; border: 0.068cqw solid #4b0101; }
.onba__f2 b { display: grid; } .onba__f2 b i { position: static; grid-area: 1 / 1; }
.onba__f2 b i + i { animation: onbaMul 18.0s linear infinite; } .onba__f2 b i:first-child { animation: onbaMul0 18.0s linear infinite; }
.onba__f2 em { color: #e50000; counter-reset: v var(--v); }
.onba__op { top: 34.621cqw; width: 1.360cqw; text-align: center; font-size: 1.428cqw; font-weight: 500; }
.onba__tot { left: 29.451cqw; top: 33.736cqw; font-size: 2.959cqw; font-weight: 500; letter-spacing: -.01em; line-height: 3.401cqw; display: flex; align-items: baseline; }
.onba__tot * { position: static; }
.onba__tot b { display: grid; } .onba__tot b i { grid-area: 1 / 1; }
.onba__tot b i:first-child { color: #5a5a60; animation: onbaDash 18.0s linear infinite; }
.onba__tot b i + i { counter-reset: t var(--t); animation: onbaTot 18.0s linear infinite; } .onba__tot b i + i::before { content: counter(t); }
.onba__tot small { font-size: 1.156cqw; font-weight: 500; color: #c2c2c2; margin-left: 0.136cqw; letter-spacing: 0; }
.onba__btn { left: 36.253cqw; top: 34.213cqw; width: 13.739cqw; height: 2.585cqw; border-radius: 1.292cqw; background: #fff7f5; color: #111; display: grid; place-items: center; font-size: 1.088cqw; font-weight: 500; white-space: nowrap; }
.onba__hl { z-index: 5; box-shadow: 0 0 0 0.125cqw rgba(255,255,255,.55), 0 0 0 200cqw rgba(0,0,0,.62); animation: onbaHl 18.0s cubic-bezier(.5,0,.25,1) infinite; }
.onba__tip { z-index: 6; width: 40.000%; height: 25.970%; border-radius: 1.125cqw; background: #fff; color: #111; transform-origin: 30% 0;
  box-shadow: 0 1.250cqw 3.125cqw rgba(0,0,0,.55); animation: onbaTip 18.0s cubic-bezier(.5,0,.25,1) infinite; }
.onba__x { right: 0.875cqw; top: 0.875cqw; width: 1.250cqw; height: 1.250cqw; border-radius: 50%; border: 0.094cqw solid #9a9aa0; }
.onba__x::before, .onba__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.562cqw; height: 0.100cqw; background: #9a9aa0; transform: translate(-50%,-50%) rotate(45deg); }
.onba__x::after { transform: translate(-50%,-50%) rotate(-45deg); }
.onba__c { inset: 0; padding: 1.125cqw 2.750cqw 0 1.250cqw; opacity: 0; }
.onba__c * { position: static; }
.onba__c b { display: block; font-size: 1.125cqw; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.onba__c p { margin-top: 0.500cqw; margin-right: -1.500cqw; font-size: 0.844cqw; line-height: 1.42; color: #4a4a50; }
.onba__ft { position: absolute !important; left: 1.250cqw; right: 1.125cqw; bottom: 1.000cqw; display: flex; align-items: center; gap: 0.500cqw; font-size: 0.812cqw; color: #8a8a90; }
.onba__ft span { margin-right: auto; }
.onba__ft u { height: 2.125cqw; padding: 0 0.938cqw; border-radius: 1.062cqw; display: grid; place-items: center; font-size: 0.844cqw; font-weight: 700; color: #111; box-shadow: inset 0 0 0 0.094cqw #d4d4d8; }
.onba__ft .go { min-width: 5.250cqw; background: #111; color: #fff; box-shadow: none; }
.onba__c0 { animation: onbaC0 18.0s linear infinite; }
.onba__c1 { animation: onbaC1 18.0s linear infinite; }
.onba__c2 { animation: onbaC2 18.0s linear infinite; }
.onba__c3 { animation: onbaC3 18.0s linear infinite; }
.onba__c4 { animation: onbaC4 18.0s linear infinite; }

.onba__cur { z-index: 7; width: 1.750cqw; height: 1.750cqw; animation: onbaCur 18.0s cubic-bezier(.45,0,.3,1) infinite; }
.onba__cur svg { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 10% 10%; animation: onbaPress 18.0s linear infinite; filter: drop-shadow(0 0.188cqw 0.375cqw rgba(0,0,0,.5)); }
.onba__cur i { left: 0; top: 0; width: 3.250cqw; height: 3.250cqw; border-radius: 50%; border: 0.188cqw solid #fff; background: rgba(255,255,255,.18); animation: onbaRip 18.0s linear infinite; }
.onba__ring--1 { animation: onbaRing1 18.0s ease-out infinite; } .onba__ring--2 { animation: onbaRing2 18.0s ease-out infinite; }
@keyframes onbaBlk { 0% { opacity: 0; } 2.78%, 95.56% { opacity: 1; } 98.89%, 100% { opacity: 0; } }
@keyframes onbaS0 {
  0%, 6.67% { --p: 1; --v: 1; }
  11.67%, 100% { --p: 5; --v: 5; }
}
@keyframes onbaS1 {
  0%, 15.56% { --p: 1; --v: 1; }
  21.11%, 100% { --p: 8; --v: 8; }
}
@keyframes onbaS2 {
  0%, 36.11% { --p: 1; --v: 1; }
  41.11%, 100% { --p: 10; --v: 10; }
}
@keyframes onbaS3 {
  0%, 43.89% { --p: 1; --v: 1; }
  46.67%, 100% { --p: 3; --v: 3; }
}
@keyframes onbaS4 {
  0%, 56.11% { --p: 1; --v: 1; }
  61.67%, 100% { --p: 10; --v: 10; }
}

@keyframes onbaSum {
  0.00% { --s: 4; }
  6.67% { --s: 4; }
  11.67% { --s: 8; }
  15.56% { --s: 8; }
  21.11% { --s: 15; }
  36.11% { --s: 15; }
  41.11% { --s: 24; }
  43.89% { --s: 24; }
  46.67% { --s: 26; }
  100% { --s: 26; }
}
@keyframes onbaMul0 { 0%, 61.11% { opacity: 1; } 62.22%, 100% { opacity: 0; } }
@keyframes onbaMul { 0%, 61.11% { opacity: 0; } 62.22%, 100% { opacity: 1; } }
@keyframes onbaDash { 0%, 69.17% { opacity: 1; } 69.72%, 100% { opacity: 0; } }
@keyframes onbaTot { 0%, 69.17% { opacity: 0; --t: 0; } 69.72% { opacity: 1; --t: 0; } 76.11%, 100% { opacity: 1; --t: 59; } }
@keyframes onbaHl {
  0% { left: 4.353%; top: 33.416%; width: 91.233%; height: 13.965%; border-radius: 0.952cqw; opacity: 0; }
  1.67% { opacity: 0; }
  3.33% { left: 4.353%; top: 33.416%; width: 91.233%; height: 13.965%; border-radius: 0.952cqw; opacity: 1; }
  26.39% { left: 4.353%; top: 33.416%; width: 91.233%; height: 13.965%; border-radius: 0.952cqw; }
  28.61% { left: 4.353%; top: 49.044%; width: 91.233%; height: 13.965%; border-radius: 0.952cqw; }
  51.94% { left: 4.353%; top: 49.044%; width: 91.233%; height: 13.965%; border-radius: 0.952cqw; }
  54.17% { left: 4.353%; top: 64.672%; width: 91.233%; height: 13.965%; border-radius: 0.952cqw; }
  67.50% { left: 4.353%; top: 64.672%; width: 91.233%; height: 13.965%; border-radius: 0.952cqw; }
  69.72% { left: 9.553%; top: 79.468%; width: 80.895%; height: 14.630%; border-radius: 1.224cqw; }
  81.39% { left: 9.553%; top: 79.468%; width: 80.895%; height: 14.630%; border-radius: 1.224cqw; }
  83.61% { left: 36.457%; top: 2.328%; width: 6.892%; height: 9.476%; border-radius: 1.938cqw; }
  89.44% { opacity: 1; }
  91.11%, 100% { left: 36.457%; top: 2.328%; width: 6.892%; height: 9.476%; border-radius: 1.938cqw; opacity: 0; }
}
@keyframes onbaTip {
  0%, 1.67% { left: 54.897%; top: 48.712%; opacity: 0; transform: scale(.94); }
  3.33% { opacity: 1; transform: scale(1); }
  26.39% { left: 54.897%; top: 48.712%; }
  28.61% { left: 4.353%; top: 64.339%; }
  51.94% { left: 4.353%; top: 64.339%; }
  54.17% { left: 54.897%; top: 37.406%; }
  67.50% { left: 54.897%; top: 37.406%; }
  69.72% { left: 54.897%; top: 52.203%; }
  81.39% { left: 54.897%; top: 52.203%; }
  83.61% { left: 44.619%; top: 5.653%; }
  89.44% { opacity: 1; transform: scale(1); }
  91.11%, 100% { left: 44.619%; top: 5.653%; opacity: 0; transform: scale(.96); }
}
@keyframes onbaC0 {
  0%, 1.67% { opacity: 0; }
  2.50%, 26.39% { opacity: 1; }
  26.94%, 100% { opacity: 0; }
}
@keyframes onbaC1 {
  0%, 27.72% { opacity: 0; }
  28.56%, 51.94% { opacity: 1; }
  52.50%, 100% { opacity: 0; }
}
@keyframes onbaC2 {
  0%, 53.28% { opacity: 0; }
  54.11%, 67.50% { opacity: 1; }
  68.06%, 100% { opacity: 0; }
}
@keyframes onbaC3 {
  0%, 68.83% { opacity: 0; }
  69.67%, 81.39% { opacity: 1; }
  81.94%, 100% { opacity: 0; }
}
@keyframes onbaC4 {
  0%, 82.72% { opacity: 0; }
  83.56%, 91.11% { opacity: 1; }
  91.67%, 100% { opacity: 0; }
}

@keyframes onbaRing1 {
  0%, 29.72% { opacity: 0; transform: scale(.6); }
  30.83% { opacity: 1; transform: scale(1); }
  33.33% { opacity: 1; transform: scale(1.15); }
  35.00%, 100% { opacity: 0; transform: scale(1.5); }
}
@keyframes onbaRing2 {
  0%, 84.17% { opacity: 0; transform: scale(.7); }
  85.28% { opacity: 1; transform: scale(1); }
  88.33% { opacity: 1; transform: scale(1.08); }
  90.00%, 100% { opacity: 0; transform: scale(1.2); }
}
@keyframes onbaCur {
  0.00% { left: 60.339%; top: 75.478%; opacity: 0; }
  3.33% { left: 60.339%; top: 75.478%; opacity: 0; }
  4.44% { left: 60.339%; top: 75.478%; opacity: 1; }
  5.56% { left: 10.079%; top: 43.890%; opacity: 1; }
  6.67% { left: 10.079%; top: 43.890%; opacity: 1; animation-timing-function: linear; }
  11.67% { left: 27.177%; top: 43.890%; opacity: 1; }
  14.17% { left: 55.665%; top: 43.890%; opacity: 1; }
  15.56% { left: 55.665%; top: 43.890%; opacity: 1; animation-timing-function: linear; }
  21.11% { left: 85.586%; top: 43.890%; opacity: 1; }
  24.17% { left: 88.231%; top: 69.641%; opacity: 1; }
  26.94% { left: 88.231%; top: 69.641%; opacity: 1; }
  30.56% { left: 13.241%; top: 52.203%; opacity: 1; }
  33.33% { left: 13.241%; top: 52.203%; opacity: 1; }
  35.28% { left: 10.079%; top: 59.518%; opacity: 1; }
  36.11% { left: 10.079%; top: 59.518%; opacity: 1; animation-timing-function: linear; }
  41.11% { left: 48.549%; top: 59.518%; opacity: 1; }
  43.33% { left: 55.665%; top: 59.518%; opacity: 1; }
  43.89% { left: 55.665%; top: 59.518%; opacity: 1; animation-timing-function: linear; }
  46.67% { left: 64.214%; top: 59.518%; opacity: 1; }
  49.72% { left: 37.686%; top: 85.268%; opacity: 1; }
  52.50% { left: 37.686%; top: 85.268%; opacity: 1; }
  55.28% { left: 14.637%; top: 75.145%; opacity: 1; }
  56.11% { left: 14.637%; top: 75.145%; opacity: 1; animation-timing-function: linear; }
  61.67% { left: 94.135%; top: 75.145%; opacity: 1; }
  65.28% { left: 88.231%; top: 58.335%; opacity: 1; }
  68.06% { left: 88.231%; top: 58.335%; opacity: 1; }
  71.67% { left: 57.316%; top: 87.116%; opacity: 1; }
  76.11% { left: 57.316%; top: 87.116%; opacity: 1; }
  79.44% { left: 88.231%; top: 73.132%; opacity: 1; }
  81.94% { left: 88.231%; top: 73.132%; opacity: 1; }
  87.50% { left: 77.064%; top: 26.582%; opacity: 1; }
  90.56% { left: 77.064%; top: 26.582%; opacity: 1; }
  92.22% { left: 77.064%; top: 26.582%; opacity: 0; }
  100.00% { left: 60.339%; top: 75.478%; opacity: 0; }
}
@keyframes onbaPress {
  0% { transform: scale(1); }
  6.00% { transform: scale(1); }
  6.44%, 11.89% { transform: scale(.88); }
  12.44% { transform: scale(1); }
  14.89% { transform: scale(1); }
  15.33%, 21.33% { transform: scale(.88); }
  21.89% { transform: scale(1); }
  24.83% { transform: scale(1); }
  25.28% { transform: scale(.85); }
  26.11% { transform: scale(1); }
  35.44% { transform: scale(1); }
  35.89%, 41.33% { transform: scale(.88); }
  41.89% { transform: scale(1); }
  43.22% { transform: scale(1); }
  43.67%, 46.89% { transform: scale(.88); }
  47.44% { transform: scale(1); }
  50.39% { transform: scale(1); }
  50.83% { transform: scale(.85); }
  51.67% { transform: scale(1); }
  55.44% { transform: scale(1); }
  55.89%, 61.89% { transform: scale(.88); }
  62.44% { transform: scale(1); }
  65.94% { transform: scale(1); }
  66.39% { transform: scale(.85); }
  67.22% { transform: scale(1); }
  80.11% { transform: scale(1); }
  80.56% { transform: scale(.85); }
  81.39% { transform: scale(1); }
  88.17% { transform: scale(1); }
  88.61% { transform: scale(.85); }
  89.44% { transform: scale(1); }
  100% { transform: scale(1); }
}
@keyframes onbaRip {
  0% { transform: translate(-50%,-50%) scale(.2); opacity: 0; }
  25.22% { transform: translate(-50%,-50%) scale(.2); opacity: 0; }
  25.28% { transform: translate(-50%,-50%) scale(.3); opacity: .9; }
  27.78% { transform: translate(-50%,-50%) scale(1.4); opacity: 0; }
  50.78% { transform: translate(-50%,-50%) scale(.2); opacity: 0; }
  50.83% { transform: translate(-50%,-50%) scale(.3); opacity: .9; }
  53.33% { transform: translate(-50%,-50%) scale(1.4); opacity: 0; }
  66.33% { transform: translate(-50%,-50%) scale(.2); opacity: 0; }
  66.39% { transform: translate(-50%,-50%) scale(.3); opacity: .9; }
  68.89% { transform: translate(-50%,-50%) scale(1.4); opacity: 0; }
  80.50% { transform: translate(-50%,-50%) scale(.2); opacity: 0; }
  80.56% { transform: translate(-50%,-50%) scale(.3); opacity: .9; }
  83.06% { transform: translate(-50%,-50%) scale(1.4); opacity: 0; }
  88.56% { transform: translate(-50%,-50%) scale(.2); opacity: 0; }
  88.61% { transform: translate(-50%,-50%) scale(.3); opacity: .9; }
  91.11% { transform: translate(-50%,-50%) scale(1.4); opacity: 0; }
  100% { transform: translate(-50%,-50%) scale(.2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .onba * { animation-delay: -13.9s !important; animation-play-state: paused !important; } }
