@import url('/css/design-tokens-v1.css?v=5b5f6ee8f4b8');
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/onest-latin-v2.woff2') format('woff2');
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/onest-cyrillic-v2.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  color-scheme: dark;
  font-family: var(--tn-font-family);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--tn-background);
  color: var(--tn-foreground);
  --glass-fill: var(--tn-glass-fill);
  --glass-edge: var(--tn-glass-edge);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; background: var(--tn-background); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
::selection { background: var(--tn-foreground); color: var(--tn-background); }
:focus-visible { outline: 2px solid var(--tn-foreground); outline-offset: 5px; }

.tg-gateway {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--tn-background);
}

.tg-gateway__skip {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  transform: translateY(-180%);
  border-radius: 14px;
  background: var(--tn-foreground);
  color: var(--tn-background);
}
.tg-gateway__skip:focus { transform: none; }

.tg-gateway__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 1440px);
  margin-inline: auto;
  padding: max(32px, env(safe-area-inset-top)) max(48px, env(safe-area-inset-right)) 24px max(48px, env(safe-area-inset-left));
}
.tg-gateway__brand { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; }
.tg-gateway__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--tn-foreground);
}
.tg-gateway__mark img { display: block; width: 32px; height: 32px; }
.tg-gateway__wordmark { font-size: 15px; font-weight: 650; letter-spacing: .025em; }
.tg-gateway__wordmark span { margin: 0 2px; color: #909090; }
.tg-gateway__language {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: none;
  border: 1px solid transparent;
  border-radius: 50%;
  background: var(--glass-fill) padding-box, var(--glass-edge) border-box;
  box-shadow: inset 0 1px 0 #ffffff08, 0 8px 20px #00000017;
  color: #d4d4d4;
  font-size: 12px;
  font-weight: 500;
  transition: color .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tg-gateway__language:hover,
.tg-gateway__language:focus-visible {
  color: #fff;
  border-color: #ffffff20;
  box-shadow: inset 0 1px 0 #ffffff16, 0 8px 20px #00000024;
}
.tg-gateway__language:active {
  color: var(--tn-foreground);
  box-shadow: inset 0 2px 5px #00000020, 0 8px 20px #00000017;
}

.tg-gateway__main {
  display: grid;
  flex: 1;
  place-items: center;
  padding: 36px 24px 72px;
}
.tg-gateway__hero { width: min(100%, 820px); text-align: center; }

/* Separate floating and pointer transforms so the mascot never moves the UI. */
.tg-gateway__mascot {
  width: 106px;
  height: 106px;
  margin: 0 auto 30px;
}
.tg-gateway__emblem {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 36%;
  background:
    radial-gradient(ellipse at var(--light-x, 28%) var(--light-y, 8%), #ffffff13, transparent 62%) padding-box,
    linear-gradient(150deg, #303030, #191919 52%, #242424) padding-box,
    linear-gradient(145deg, #a1a1a1, #444 20%, #252525 46%, #555 86%, #8a8a8a) border-box;
  box-shadow: inset 0 1px 1px #ffffff1a, inset 0 -4px 10px #00000055, 0 18px 42px #0000003b;
  transform: perspective(500px) rotate(-7deg) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-origin: center;
  transition: transform .22s ease-out;
}
.tg-gateway__emblem::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid #ffffff05;
  border-top-color: #ffffff0f;
  border-radius: inherit;
  pointer-events: none;
}
.tg-gateway__eye {
  position: relative;
  display: block;
  width: 22px;
  height: 31px;
  border-radius: 50%;
  background: linear-gradient(160deg, #fafaf7, #d0cfcc);
  box-shadow: 0 2px 6px #00000055;
  transform: rotate(7deg);
  transform-origin: center;
  transition: transform .1s ease-in-out;
}
.tg-gateway__emblem.is-blinking .tg-gateway__eye { transform: scaleY(.08) rotate(7deg); }
.tg-gateway__eye::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 13px;
  top: 8px;
  left: 8px;
  border-radius: 50%;
  background: #262626;
  transform: translate(var(--look-x, 0px), var(--look-y, 0px));
  transition: transform .16s ease-out;
}
.tg-gateway__eyebrow {
  margin: 0 0 22px;
  color: #ababab;
  font-size: 11px;
  font-weight: 450;
  line-height: 1.6;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.tg-gateway__title {
  margin: 0;
  font-size: clamp(56px, 7.1vw, 100px);
  font-weight: 550;
  line-height: 1.04;
  letter-spacing: -.065em;
}
.tg-gateway__title span { display: block; margin-top: .05em; color: #a9a9a7; }
.tg-gateway__description {
  max-width: 400px;
  margin: 24px auto 0;
  color: var(--tn-secondary);
  font-size: 16px;
  font-weight: 350;
  line-height: 1.7;
  text-wrap: pretty;
}
.tg-gateway__action {
  width: fit-content;
  max-width: 100%;
  margin: 30px auto 0;
  padding: 7px;
  border: 1px solid transparent;
  border-radius: var(--tn-radius-button);
  background: var(--glass-fill) padding-box, var(--glass-edge) border-box;
  box-shadow: inset 0 1px 1px #ffffff0a, 0 12px 40px #00000029;
}
.tg-gateway__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 56px;
  padding: 16px 25px;
  border: 1px solid #fff;
  border-radius: var(--tn-radius-button);
  background: var(--tn-primary-fill);
  box-shadow: 0 2px 6px #00000020, inset 0 1px 0 #ffffff;
  color: #171717;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: box-shadow .18s ease, border-color .18s ease, color .18s ease;
}
.tg-gateway__cta:hover,
.tg-gateway__cta:focus-visible {
  border-color: var(--tn-foreground);
  box-shadow: 0 2px 10px #00000028, inset 0 1px 0 #ffffff;
  color: #000;
}
.tg-gateway__cta:active {
  border-color: #d8d7d4;
  box-shadow: 0 2px 6px #00000020, inset 0 2px 5px #00000012;
}
.tg-gateway__cta svg { flex: none; width: 19px; height: 19px; }
.tg-gateway__cta-arrow { margin-left: 8px; color: #555; font-size: 18px; font-weight: 400; }
.tg-gateway__handle { margin: 16px 0 0; color: var(--tn-muted); font-size: 12px; line-height: 1.5; }

.tg-gateway__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, 1440px);
  margin-inline: auto;
  padding: 20px max(48px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(48px, env(safe-area-inset-left));
  color: var(--tn-muted);
  font-size: 12px;
  line-height: 1.6;
}
.tg-gateway__copyright { margin: 0; }
.tg-gateway__legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; }
.tg-gateway__legal a { display: inline-flex; align-items: center; min-height: 44px; transition: color .18s; }
.tg-gateway__legal a:hover { color: var(--tn-foreground); }

@keyframes tg-gateway-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes tg-gateway-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes tg-mascot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: no-preference) {
  .tg-gateway__header { animation: tg-gateway-enter .58s ease-out both; }
  .tg-gateway__eyebrow { animation: tg-gateway-enter .58s .08s ease-out both; }
  .tg-gateway__title { animation: tg-gateway-enter .62s .14s ease-out both; }
  .tg-gateway__description { animation: tg-gateway-enter .62s .22s ease-out both; }
  .tg-gateway__action { animation: tg-gateway-fade .58s .24s ease-out both; }
  .tg-gateway__handle { animation: tg-gateway-enter .6s .26s ease-out both; }
  .tg-gateway__footer { animation: tg-gateway-enter .62s .18s ease-out both; }
  .tg-gateway__mascot { animation: tg-mascot-float var(--tn-duration-float) ease-in-out infinite; }
}
.tg-gateway.is-paused .tg-gateway__mascot,
.tg-gateway.is-paused .tg-gateway__emblem,
.tg-gateway.is-paused .tg-gateway__emblem::before,
.tg-gateway.is-paused .tg-gateway__emblem::after,
.tg-gateway.is-paused .tg-gateway__eye,
.tg-gateway.is-paused .tg-gateway__eye::after {
  animation-play-state: paused;
}

@media (min-height: 1000px) and (min-width: 601px) {
  .tg-gateway__main { padding-bottom: 112px; }
  .tg-gateway__mascot { width: 120px; height: 120px; margin-bottom: 38px; }
}
@media (max-width: 600px) {
  .tg-gateway__header { gap: 16px; padding: max(20px, env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) 16px max(22px, env(safe-area-inset-left)); }
  .tg-gateway__mark { width: 36px; height: 36px; border-radius: 12px; }
  .tg-gateway__mark img { width: 31px; height: 31px; }
  .tg-gateway__wordmark { font-size: 13px; }
  .tg-gateway__brand { gap: 9px; }
  .tg-gateway__language { width: 44px; height: 44px; }
  .tg-gateway__main { padding: 32px 22px 48px; }
  .tg-gateway__mascot { width: 88px; height: 88px; margin-bottom: 26px; }
  .tg-gateway__eye { width: 19px; height: 27px; }
  .tg-gateway__eye::after { width: 7px; height: 11px; top: 7px; left: 7px; }
  .tg-gateway__eyebrow { margin-bottom: 20px; font-size: 10px; letter-spacing: .15em; }
  .tg-gateway__title { font-size: clamp(43px, 12.1vw, 68px); }
  .tg-gateway__description { max-width: 300px; margin-top: 22px; font-size: 15px; }
  .tg-gateway__action { margin-top: 27px; padding: 6px; }
  .tg-gateway__cta { min-height: 54px; padding: 15px 20px; font-size: 13px; gap: 10px; }
  .tg-gateway__cta-arrow { margin-left: 3px; }
  .tg-gateway__footer { flex-direction: column-reverse; gap: 6px; padding: 12px 22px max(22px, env(safe-area-inset-bottom)); text-align: center; font-size: 11px; }
  .tg-gateway__legal { justify-content: center; gap: 0 20px; }
}
@media (max-height: 720px) and (min-width: 601px) {
  .tg-gateway__header { padding-top: 20px; padding-bottom: 10px; }
  .tg-gateway__main { padding-block: 20px 32px; }
  .tg-gateway__mascot { width: 76px; height: 76px; margin-bottom: 20px; }
  .tg-gateway__title { font-size: 70px; }
  .tg-gateway__description { margin-top: 20px; }
  .tg-gateway__footer { padding-top: 10px; padding-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .tg-gateway__header,
  .tg-gateway__eyebrow,
  .tg-gateway__title,
  .tg-gateway__description,
  .tg-gateway__action,
  .tg-gateway__handle,
  .tg-gateway__footer,
  .tg-gateway__mascot { opacity: 1; transform: none; }
  .tg-gateway__emblem {
    --light-x: 28% !important;
    --light-y: 8% !important;
    transform: rotate(-7deg);
  }
  .tg-gateway__eye,
  .tg-gateway__emblem.is-blinking .tg-gateway__eye { transform: rotate(7deg); }
  .tg-gateway__eye::after { transform: none; }
}
