/* TX Haven — по мотивам tankix.com 2018–2019: чёрный фон, PT Sans, зелёные кнопки, рваные кромки. */

@font-face { font-family: "PT Sans"; font-weight: 400; font-display: swap; src: url(fonts/pt-sans-400-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Sans"; font-weight: 400; font-display: swap; src: url(fonts/pt-sans-400-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "PT Sans"; font-weight: 700; font-display: swap; src: url(fonts/pt-sans-700-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Sans"; font-weight: 700; font-display: swap; src: url(fonts/pt-sans-700-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

@font-face { font-family: "Exo 2"; font-style: italic; font-weight: 900; font-display: swap; src: url(fonts/exo2-900-italic.woff2) format("woff2"); }
@font-face { font-family: "Exo 2"; font-style: italic; font-weight: 700; font-display: swap; src: url(fonts/exo2-700-italic.woff2) format("woff2"); }

* { box-sizing: border-box; }

html { background: #000; color-scheme: dark; }

body {
  margin: 0;
  background: transparent;
  color: #fff;
  font: 18px/1.4 "PT Sans", "Myriad Pro", Myriad, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Фон всего сайта — кадр из боя, закреплён и лежит под всеми блоками */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #000 url(img/bg-battle.webp) center / cover no-repeat;
}

a { color: #fff; }
a:focus-visible { outline: 2px solid #87d704; outline-offset: 3px; }

.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.content-wrapper { position: relative; }

/* Плавные переходы между страницами (View Transitions, без скриптов) */

@view-transition { navigation: auto; }

.navbar { view-transition-name: navbar; }

@keyframes tx-page-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes tx-page-in { from { opacity: 0; transform: translateY(10px); } }

::view-transition-old(root) { animation: tx-page-out .22s cubic-bezier(.4,0,1,1) both; }
::view-transition-new(root) { animation: tx-page-in .34s cubic-bezier(.2,.7,.2,1) .06s both; }
::view-transition-group(navbar) { animation: none; }

/* Меню: без своей подложки, лежит прямо на фоне и уезжает вместе со страницей */

.navbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  height: 72px;
}
.nav-inner { display: flex; align-items: center; gap: 14px; height: 72px; }
.brand {
  margin-right: 10px;
  font: italic 900 22px/1 "Exo 2", "PT Sans", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 2px 6px rgba(0,0,0,.8);
}
.brand:hover { color: #cffc6e; }
/* Маленькая «Скачать» из спрайта tankix.com */
.sprite-play {
  display: block;
  flex: none;
  margin-left: auto;
  width: 180px;
  height: 42px;
  background: url(img/sprite_tx_site2.png) -268px 0 no-repeat;
  color: #cffc6e;
  font-size: 22px;
  line-height: 40px;
  text-align: center;
  text-decoration: none;
}
.sprite-play:hover, .sprite-play:focus { background-position: -268px -44px; color: #cffc6e; }

/* Кнопки: срезанные углы, шрифт Exo 2. Подложка в ::before, свечение — фильтром по её форме */

.btn {
  --cut: 9px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 22px;
  font: italic 700 16px/1 "Exo 2", "PT Sans", sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: filter .2s ease, transform .2s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background .2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-ghost { color: #fff; }
.btn-ghost::before {
  background: rgba(0,0,0,.45);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.btn-ghost:hover::before, .btn-ghost:focus-visible::before { background: rgba(255,255,255,.12); }
.btn:focus-visible { outline: none; }
.btn:focus-visible::before { box-shadow: inset 0 0 0 2px #fff; }

/* Главный экран */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 16px 60px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 75% 70% at 50% 45%, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.9) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0) 22%, rgba(0,0,0,0) 65%, rgba(0,0,0,.92));
}

.hero-years {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 0 18px;
  font: italic 700 clamp(16px, 1.6vw, 22px)/1 "Exo 2", "PT Sans", sans-serif;
  letter-spacing: .2em;
  color: rgba(255,255,255,.72);
  text-shadow: 0 2px 3px rgba(0,0,0,.9);
}
.hero-years::before, .hero-years::after {
  content: "";
  width: clamp(40px, 9vw, 140px);
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,.5));
}
.hero-years::after { transform: scaleX(-1); }
.hero-title { margin: 0; font: italic 900 1em/0.95 "Exo 2", "PT Sans", sans-serif; text-transform: uppercase; }
/* Заголовок и цифры — Exo 2 Black Italic */
.hero-title-main {
  display: block;
  font-size: clamp(64px, 10vw, 150px);
  letter-spacing: 0;
  padding-right: .06em;
  color: #fff;
  text-shadow: 0 4px 6px rgba(0,0,0,.85), 0 0 70px rgba(0,0,0,.9);
}
.hero-title-tag {
  display: block;
  margin-top: 10px;
  font-size: clamp(26px, 3.6vw, 54px);
  letter-spacing: .02em;
  color: #cffc6e;
  text-shadow: 0 3px 4px rgba(0,0,0,.9), 0 0 30px rgba(0,0,0,.8);
}
.nowrap { white-space: nowrap; }
.hero-sub {
  margin: 22px 0 0;
  font-size: clamp(20px, 2vw, 26px);
  color: #e6e6e6;
  text-shadow: 0 1px 3px rgba(0,0,0,.95);
}
.hero-sub a { color: #cffc6e; }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.hero-tags li {
  padding: 9px 16px 8px;
  font: italic 700 14px/1 "Exo 2", "PT Sans", sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #e8e8e8;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

/* Панель запуска: таймер и кнопка на одной тёмной плашке со срезанными углами */
.launch-panel {
  position: relative;
  display: inline-block;
  margin-top: 36px;
  padding: 26px 40px 30px;
  background: linear-gradient(to bottom, rgba(14,16,14,.82), rgba(6,7,6,.88));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 80px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(6px);
  clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% calc(100% - 22px), calc(100% - 22px) 100%, 22px 100%, 0 calc(100% - 22px), 0 22px);
}
.launch-panel::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 160px; height: 2px;
  margin-left: -80px;
  background: linear-gradient(to right, rgba(135,215,4,0), #87d704, rgba(135,215,4,0));
}
.launch-panel .countdown { margin: 0 0 24px; }
/* Листалка кадров из игры. Стрелки и точки — из спрайта tankix.com */

.showcase {
  position: relative;
  padding: 50px 0 70px;
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(0,0,0,.35), rgba(0,0,0,.75) 75%),
    linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.55) 30%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.95));
}
.carousel {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 80px;
}
.shot-radio { position: absolute; opacity: 0; pointer-events: none; }
.viewport {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px;
  box-shadow: 0 40px 90px rgba(0,0,0,.9), 0 0 70px rgba(135,215,4,.1);
}
.track { display: flex; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.track img { flex: 0 0 100%; display: block; width: 100%; height: auto; }

.nav { display: none; }
.arrow {
  position: absolute;
  top: calc(50% - 20px);
  width: 56px;
  height: 72px;
  margin-top: -36px;
  cursor: pointer;
  background: url(img/sprite_tx_site2.png) no-repeat;
}
.arrow-prev { left: 10px; background-position: 1px -8.5px; }
.arrow-prev:hover { background-position: -70px -7px; }
.arrow-next { right: 10px; background-position: -204px -8.5px; }
.arrow-next:hover { background-position: -133px -7px; }

.dots { display: flex; justify-content: center; gap: 4px; margin-top: 22px; }
.dot { display: grid; place-items: center; width: 24px; height: 24px; cursor: pointer; }
.dot::before { content: ""; width: 10px; height: 10px; background: url(img/sprite_tx_site2.png) -559px -91px no-repeat; }
.dot:hover::before { background-position: -544px -91px; }

/* Копирайт и документы */
.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,.5);
}
.legal a { color: rgba(255,255,255,.65); text-decoration: none; }
.legal a:hover { color: #fff; text-decoration: underline; }
.site-footer { background: #000; padding: 18px 0 22px; border-top: 1px solid #1d1d1d; }

/* Таймер до выхода. Значения задаёт сервер, отсчёт идёт CSS-анимацией. */

@property --d { syntax: "<integer>"; initial-value: 0; inherits: true; }
@property --h { syntax: "<integer>"; initial-value: 0; inherits: true; }
@property --m { syntax: "<integer>"; initial-value: 0; inherits: true; }
@property --s { syntax: "<integer>"; initial-value: 0; inherits: true; }

@keyframes tx-days { from { --d: var(--d0); } to { --d: -1; } }
@keyframes tx-hours { from { --h: 23; } to { --h: -1; } }
@keyframes tx-minutes { from { --m: 59; } to { --m: -1; } }
@keyframes tx-seconds { from { --s: 59; } to { --s: -1; } }
@keyframes tx-hide { to { visibility: hidden; height: 0; overflow: hidden; } }
@keyframes tx-show { to { visibility: visible; height: auto; } }

.countdown { margin: 38px 0 34px; }

.countdown-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 16px;
  font: italic 700 15px/1 "Exo 2", "PT Sans", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #d6d6d6;
  text-shadow: 0 1px 2px rgba(0,0,0,.9);
}
.countdown-title::before, .countdown-title::after {
  content: "";
  width: 70px;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,.45));
}
.countdown-title::after { transform: scaleX(-1); }

.countdown-cells { display: inline-flex; align-items: flex-start; }

.cell { width: 128px; }

/* Перекидное табло: карточка с линией разреза посередине */
.num {
  position: relative;
  display: block;
  padding: 16px 0 14px;
  font: italic 900 78px/1 "Exo 2", "PT Sans", sans-serif;
  font-variant-numeric: tabular-nums;
  color: #f2f2f2;
  background: linear-gradient(to bottom, #333 0%, #262626 49.5%, #181818 50.5%, #212121 100%);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.1),
    inset 0 -2px 0 rgba(0,0,0,.5),
    0 14px 28px rgba(0,0,0,.6);
}
.num::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  margin-top: -1px;
  background: rgba(0,0,0,.75);
  box-shadow: 0 1px 0 rgba(255,255,255,.05);
}
.n-days::after { counter-reset: d var(--d); content: counter(d); }
.n-hours { animation: tx-hours 86400s steps(24) infinite; }
.n-hours::after { counter-reset: h var(--h); content: counter(h, decimal-leading-zero); }
.n-minutes { animation: tx-minutes 3600s steps(60) infinite; }
.n-minutes::after { counter-reset: m var(--m); content: counter(m, decimal-leading-zero); }
.n-seconds { animation: tx-seconds 60s steps(60) infinite; }
.n-seconds::after { counter-reset: s var(--s); content: counter(s, decimal-leading-zero); }

/* Перелистывание. Число карточки задаёт ::after у .num; половинки показывают старое и новое. */
.num { perspective: 420px; }
.num::before { z-index: 3; }
.flap {
  position: absolute;
  left: 0; right: 0;
  height: 50%;
  overflow: hidden;
  opacity: 0;
  backface-visibility: hidden;
  z-index: 2;
  animation-delay: var(--fd, 0s);
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
.flap::after { display: block; }
.f-top {
  top: 0;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(to bottom, #333, #262626);
  transform-origin: 50% 100%;
}
.f-bot-old, .f-bot-new {
  top: 50%;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(to bottom, #181818, #212121);
}
.f-bot-new { transform-origin: 50% 0; z-index: 2; }
.f-bot-old { z-index: 1; }
.f-top::after, .f-bot-old::after, .f-bot-new::after { padding: 16px 0 14px; }
.f-bot-old::after, .f-bot-new::after { transform: translateY(-50%); }

.n-seconds .f-top { animation-name: tx-top-s; animation-duration: 1s; }
.n-seconds .f-bot-old { animation-name: tx-old-s; animation-duration: 1s; }
.n-seconds .f-bot-new { animation-name: tx-new-s; animation-duration: 1s; }
.n-minutes .f-top { animation-name: tx-top-m; animation-duration: 60s; }
.n-minutes .f-bot-old { animation-name: tx-old-m; animation-duration: 60s; }
.n-minutes .f-bot-new { animation-name: tx-new-m; animation-duration: 60s; }
.n-hours .f-top { animation-name: tx-top-h; animation-duration: 3600s; }
.n-hours .f-bot-old { animation-name: tx-old-h; animation-duration: 3600s; }
.n-hours .f-bot-new { animation-name: tx-new-h; animation-duration: 3600s; }
.n-days .f-top { animation-name: tx-top-d; animation-duration: 86400s; }
.n-days .f-bot-old { animation-name: tx-old-d; animation-duration: 86400s; }
.n-days .f-bot-new { animation-name: tx-new-d; animation-duration: 86400s; }

/* Старое значение — на единицу больше текущего (отсчёт идёт вниз). */
.n-seconds .f-top::after, .n-seconds .f-bot-old::after { counter-reset: p mod(calc(var(--s) + 1), 60); content: counter(p, decimal-leading-zero); }
.n-minutes .f-top::after, .n-minutes .f-bot-old::after { counter-reset: p mod(calc(var(--m) + 1), 60); content: counter(p, decimal-leading-zero); }
.n-hours .f-top::after, .n-hours .f-bot-old::after { counter-reset: p mod(calc(var(--h) + 1), 24); content: counter(p, decimal-leading-zero); }
.n-days .f-top::after, .n-days .f-bot-old::after { counter-reset: p calc(var(--d) + 1); content: counter(p); }
.n-seconds .f-bot-new::after { counter-reset: s var(--s); content: counter(s, decimal-leading-zero); }
.n-minutes .f-bot-new::after { counter-reset: m var(--m); content: counter(m, decimal-leading-zero); }
.n-hours .f-bot-new::after { counter-reset: h var(--h); content: counter(h, decimal-leading-zero); }
.n-days .f-bot-new::after { counter-reset: d var(--d); content: counter(d); }

@keyframes tx-top-s { 0% { opacity: 1; transform: rotateX(0); animation-timing-function: ease-in; } 30% { opacity: 1; transform: rotateX(-90deg); } 30.01%, 100% { opacity: 0; transform: rotateX(-90deg); } }
@keyframes tx-old-s { 0%, 60% { opacity: 1; } 60.01%, 100% { opacity: 0; } }
@keyframes tx-new-s { 0%, 30% { opacity: 1; transform: rotateX(90deg); animation-timing-function: ease-out; } 60% { opacity: 1; transform: rotateX(0); } 60.01%, 100% { opacity: 0; transform: rotateX(0); } }
@keyframes tx-top-m { 0% { opacity: 1; transform: rotateX(0); animation-timing-function: ease-in; } 0.5% { opacity: 1; transform: rotateX(-90deg); } 0.5001%, 100% { opacity: 0; transform: rotateX(-90deg); } }
@keyframes tx-old-m { 0%, 1% { opacity: 1; } 1.0001%, 100% { opacity: 0; } }
@keyframes tx-new-m { 0%, 0.5% { opacity: 1; transform: rotateX(90deg); animation-timing-function: ease-out; } 1% { opacity: 1; transform: rotateX(0); } 1.0001%, 100% { opacity: 0; transform: rotateX(0); } }
@keyframes tx-top-h { 0% { opacity: 1; transform: rotateX(0); animation-timing-function: ease-in; } 0.008333% { opacity: 1; transform: rotateX(-90deg); } 0.008433%, 100% { opacity: 0; transform: rotateX(-90deg); } }
@keyframes tx-old-h { 0%, 0.016667% { opacity: 1; } 0.016767%, 100% { opacity: 0; } }
@keyframes tx-new-h { 0%, 0.008333% { opacity: 1; transform: rotateX(90deg); animation-timing-function: ease-out; } 0.016667% { opacity: 1; transform: rotateX(0); } 0.016767%, 100% { opacity: 0; transform: rotateX(0); } }
@keyframes tx-top-d { 0% { opacity: 1; transform: rotateX(0); animation-timing-function: ease-in; } 0.000347% { opacity: 1; transform: rotateX(-90deg); } 0.000447%, 100% { opacity: 0; transform: rotateX(-90deg); } }
@keyframes tx-old-d { 0%, 0.000694% { opacity: 1; } 0.000794%, 100% { opacity: 0; } }
@keyframes tx-new-d { 0%, 0.000347% { opacity: 1; transform: rotateX(90deg); animation-timing-function: ease-out; } 0.000694% { opacity: 1; transform: rotateX(0); } 0.000794%, 100% { opacity: 0; transform: rotateX(0); } }

.label {
  display: block;
  margin-top: 10px;
  font: italic 700 12px/1 "Exo 2", "PT Sans", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #a8a8a8;
  text-shadow: 0 1px 2px rgba(0,0,0,.9);
}

.sep {
  width: 30px;
  padding-top: 26px;
  font-size: 60px;
  line-height: 1;
  font-weight: 700;
  color: rgba(255,255,255,.4);
  text-shadow: 0 2px 3px rgba(0,0,0,.8);
}

.countdown-live { animation-name: tx-hide; animation-duration: 0s; animation-fill-mode: forwards; }
.countdown-done {
  visibility: hidden;
  height: 0;
  overflow: hidden;
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 3px rgba(0,0,0,.8);
  animation-name: tx-show;
  animation-duration: 0s;
  animation-fill-mode: forwards;
}
.countdown-done::before, .countdown-done::after { content: none; }
.released-now .countdown-title { font-size: 32px; font-weight: 700; color: #fff; }

/* Появление экрана: один раз, сверху вниз */

@keyframes tx-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-years, .hero-title, .hero-tags, .launch-panel { animation: tx-rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-title { animation-delay: .06s; }
.hero-tags { animation-delay: .14s; }
.launch-panel { animation-delay: .24s; }

/* Большая зелёная «СКАЧАТЬ» из оригинального спрайта */

.apply-button {
  display: block;
  position: relative;
  width: 300px;
  height: 88px;
  margin: 0 auto;
  background: url(img/sprite_download_ru.png) 0 0 / 300px auto no-repeat;
}
.apply-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-position: 0 -88px;
  opacity: 0;
  transition: opacity 200ms;
}
.apply-button:hover::after, .apply-button:focus::after { opacity: 1; }
@media (min-width: 480px) {
  .apply-button { width: 422px; height: 124px; background-size: 422px auto; }
  .apply-button::after { background-position: 0 -124px; }
}

/* До выхода: кнопка показывает подсказку вместо скачивания */

.dl-soon-toggle { position: fixed; top: 0; left: 0; opacity: 0; pointer-events: none; }
label.apply-button { cursor: pointer; }
.dl-soon-toggle:focus-visible + .apply-button { outline: 2px solid #87d704; outline-offset: 4px; }
.dl-soon-note {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  font-size: 17px;
  color: #e6e6e6;
  opacity: 0;
  transition: max-height .3s ease, margin .3s ease, opacity .3s ease;
}
.dl-soon-toggle:checked ~ .dl-soon-note { max-height: 60px; margin-top: 16px; opacity: 1; }

/* Рваная кромка снизу главного экрана */

.top-bottom-line {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 30px;
  z-index: 100;
  background: url(img/black_top.png) bottom center / cover repeat-x;
  pointer-events: none;
}

/* Документы */

.doc { position: relative; background: #111; min-height: 100vh; padding-top: 72px; }
.back {
  position: absolute;
  left: 32px; top: 112px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  color: #bbb;
  text-decoration: none;
}
/* Шеврон из спрайта tankix.com: серый, при наведении зелёный */
.back-arrow {
  width: 42px; height: 54px;
  background: url(img/sprite_tx_site2.png) 0.75px -6.4px / 490.5px auto no-repeat;
}
.back:hover, .back:focus-visible { color: #fff; }
.back:hover .back-arrow, .back:focus-visible .back-arrow { background-position: -52.5px -5.25px; }
@media (max-width: 1180px) {
  .back { position: static; margin: 24px 0 0 max(15px, calc((100% - 820px) / 2 + 15px)); }
  .doc-body { padding-top: 20px; }
}
.doc-body { max-width: 820px; padding-top: 48px; padding-bottom: 64px; color: #d4d4d4; }
.doc h1 { margin: 0 0 6px; font-size: 38px; line-height: 1.15; color: #fff; }
.doc-date { margin: 0 0 28px; font-size: 15px; color: #888; }
.doc h2 { margin: 34px 0 12px; font-size: 24px; color: #fff; }
.doc p, .doc li { font-size: 18px; line-height: 1.55; }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0; padding: 0; list-style: none; }
.doc li { position: relative; margin: 0 0 10px; padding-left: 22px; }
.doc li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: #87d704; transform: rotate(45deg); }

.tg-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 1px 10px 2px 8px;
  margin: 0 2px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: baseline;
  background: linear-gradient(to bottom, #2aa6e0, #1d8cc4);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 2px 8px rgba(42,166,224,.25);
  transition: filter .15s ease;
}
.tg-link:hover, .tg-link:focus-visible { filter: brightness(1.12); }
.tg-icon { width: 15px; height: 15px; fill: currentColor; flex: none; }

/* Узкие экраны */

@media (max-width: 1280px) {
  body::before { background-image: url(img/bg-battle-1280.webp); }
}

@media (max-width: 640px) {
  .nav-inner { gap: 16px; }
  .countdown-title { font-size: 18px; }
  .launch-panel { padding: 20px 14px 22px; }
  .nav-inner { height: 64px; }
  .brand { font-size: 19px; }
  .btn { height: 36px; padding: 0 16px; font-size: 14px; }
  .hero-tags li { font-size: 11px; padding: 8px 10px 7px; }
  .countdown-title { font-size: 12px; }
  .countdown-title { gap: 10px; white-space: nowrap; }
  .countdown-title::before, .countdown-title::after { width: 14px; }
  .cell { width: 72px; }
  .num { font-size: 40px; padding: 10px 0 9px; border-radius: 6px; }
  .f-top::after, .f-bot-old::after, .f-bot-new::after { padding: 10px 0 9px; }
  .f-top { border-radius: 6px 6px 0 0; }
  .f-bot-old, .f-bot-new { border-radius: 0 0 6px 6px; }
  .label { font-size: 10px; letter-spacing: .06em; margin-top: 7px; }
  .sep { width: 14px; padding-top: 12px; font-size: 32px; }
  .showcase { padding: 30px 0 50px; }
  .carousel { padding: 0 12px; }
  .arrow { transform: scale(.7); top: calc(50% - 20px); }
  .arrow-prev { left: 0; }
  .arrow-next { right: 0; }
  .doc h1 { font-size: 30px; }
  .legal { font-size: 13px; gap: 4px 12px; }
}

@media (max-width: 420px) {
  .nav-link { display: none; }
}

@media (max-width: 360px) {
  .cell { width: 62px; }
  .num { font-size: 34px; }
  .sep { width: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .track { transition: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .flap { display: none; }
  .hero-years, .hero-title, .hero-tags, .launch-panel { animation: none; }
  .btn, .btn::before, .apply-button::after { transition: none; }
}
