:root {
  color-scheme: dark;
  --bg: #070708;
  --surface: #0d0e10;
  --surface-raised: #131417;
  --line: #292b31;
  --text: #f5f5f6;
  --muted: #a4a6ad;
  --accent: #e50914;
  --accent-hover: #ff202c;
  --page-width: 1120px;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

.metrika-pixel {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff;
  color: #080809;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  display: grid;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  height: 100svh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(118deg, #050506 0%, #16171a 22%, #41090e 42%, #111216 61%, #270609 79%, #050506 100%);
  background-size: 280% 280%;
  animation: hero-gradient-shift 16s ease-in-out infinite alternate;
}

.hero__backdrop::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0.055) 49%, rgba(255, 255, 255, 0) 66%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.08), rgba(5, 5, 6, 0.54));
  background-size: 220% 100%, 100% 100%;
  content: "";
  animation: hero-sheen 12s linear infinite;
}

@keyframes hero-gradient-shift {
  0% {
    background-position: 0% 40%;
  }

  50% {
    background-position: 72% 58%;
  }

  100% {
    background-position: 100% 35%;
  }
}

@keyframes hero-sheen {
  from {
    background-position: 140% 0, 0 0;
  }

  to {
    background-position: -120% 0, 0 0;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(calc(100% - 40px), 760px);
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
  text-align: center;
  animation: hero-content-in 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hero-content-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

.hero__logo {
  width: 154px;
  height: 154px;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.5));
}

.hero h1 {
  margin: 28px 0 0;
  color: #fff;
  font-size: 64px;
  font-weight: 820;
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.7);
}

.hero h1 span {
  color: #ff4a54;
}

.hero__lead {
  max-width: 560px;
  margin: 20px 0 0;
  color: #c8c9cd;
  font-size: 18px;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  min-width: 174px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button--primary {
  background: var(--accent);
  color: #fff;
}

.button--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 14px 30px rgba(229, 9, 20, 0.24);
}

.facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0a0b0d;
}

.facts__inner {
  width: min(calc(100% - 40px), var(--page-width));
  margin: 0 auto;
  padding: 104px 0 112px;
}

.facts__header {
  max-width: 660px;
  margin-bottom: 46px;
}

.facts__header > span {
  display: block;
  margin-bottom: 14px;
  color: #ff4a54;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.facts__header h2 {
  margin: 0;
  color: #fff;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fact {
  position: relative;
  display: flex;
  min-height: 254px;
  align-items: flex-start;
  flex-direction: column;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #15161a 0%, #0f1013 100%);
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.fact:hover {
  border-color: #484a51;
  transform: translateY(-4px);
}

.fact::after {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 74px;
  height: 3px;
  background: var(--accent);
  content: "";
  transform: scaleX(0.28);
  transform-origin: right;
  transition: transform 260ms ease;
}

.fact:hover::after {
  transform: scaleX(1);
}

.fact__index {
  display: block;
  margin-bottom: auto;
  color: #696c74;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.fact strong {
  color: #fff;
  font-size: 22px;
  line-height: 1.25;
}

.fact p {
  max-width: 430px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.fact .fact__note {
  display: block;
  margin-top: 20px;
  color: #777a82;
  font-size: 12px;
  line-height: 1.4;
}

.fact__note b {
  color: #d9dade;
  font-weight: 700;
}

.site-footer {
  background: #070708;
}

.site-footer__inner {
  display: flex;
  width: min(calc(100% - 40px), var(--page-width));
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  color: #777a81;
  font-size: 12px;
}

.site-footer a {
  transition: color 160ms ease;
}

.site-footer a:hover {
  color: #fff;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 700px) {
  .hero__content {
    width: min(calc(100% - 32px), 520px);
    padding: 32px 0;
  }

  .hero__logo {
    width: 116px;
    height: 116px;
  }

  .hero h1 {
    display: flex;
    max-width: 100%;
    align-items: center;
    flex-direction: column;
    margin-top: 22px;
    font-size: 40px;
    line-height: 1.07;
  }

  .hero__lead {
    max-width: 330px;
    margin-top: 16px;
    font-size: 15px;
  }

  .button {
    width: min(100%, 280px);
    margin-top: 25px;
  }

  .facts__inner {
    width: min(calc(100% - 32px), var(--page-width));
    padding: 72px 0 76px;
  }

  .facts__header {
    margin-bottom: 30px;
  }

  .facts__header h2 {
    font-size: 30px;
  }

  .facts__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fact {
    min-height: 220px;
    padding: 26px;
  }

  .fact strong {
    font-size: 20px;
  }

  .site-footer__inner {
    width: min(calc(100% - 32px), var(--page-width));
    min-height: 112px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }
}

@media (max-height: 620px) and (min-width: 701px) {
  .hero__logo {
    width: 112px;
    height: 112px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: 48px;
  }

  .hero__lead {
    margin-top: 14px;
  }

  .button {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
