:root {
  --bg: #020711;
  --text: #f7f7f8;
  --muted: #aeb5c3;
  --quiet: #7d8798;
  --blue: #5f67ff;
  --blue-strong: #3156ff;
  --line: rgba(134, 155, 197, 0.13);
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 31%, rgba(15, 61, 132, 0.22), transparent 30rem),
    radial-gradient(circle at 33% 78%, rgba(7, 24, 55, 0.46), transparent 26rem),
    linear-gradient(90deg, #030811 0%, #050b17 49%, #030811 100%);
  color: var(--text);
}

body::after {
  position: fixed;
  inset: auto 0 0;
  z-index: -1;
  height: 34vh;
  content: "";
  background: linear-gradient(0deg, #01050d 0%, rgba(1, 5, 13, 0) 100%);
  pointer-events: none;
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes progress-glow {
  0%,
  100% {
    opacity: 0.68;
    transform: translateX(-32%);
  }

  50% {
    opacity: 1;
    transform: translateX(115%);
  }
}

@keyframes icon-breathe {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(96, 104, 255, 0));
  }

  50% {
    filter: drop-shadow(0 0 12px rgba(96, 104, 255, 0.34));
  }
}

.page {
  width: min(1182px, calc(100vw - 56px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 502px 1fr;
  gap: 86px;
  align-items: start;
  min-height: 736px;
  padding-top: 109px;
}

.hero__copy {
  min-width: 0;
  animation: fade-rise 620ms ease both;
}

.brand {
  width: 154px;
  margin: 0 auto 28px;
  text-align: center;
}

.brand__logo {
  display: block;
  width: 154px;
  height: auto;
}

.brand p {
  margin: 11px 0 0;
  color: #7e8797;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: 61px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.13;
}

h1 span {
  color: var(--blue);
}

.lead {
  width: 500px;
  margin: 26px 0 26px;
  color: #c4c9d4;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.58;
}

.progress {
  margin-top: 0;
}

.progress__top {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.progress__top b {
  font-size: 14px;
}

.progress-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #6872ff;
}

.progress-icon svg {
  width: 24px;
  height: 24px;
}

.circle-icon,
.mail {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(34, 45, 75, 0.82);
  color: #6670ff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.circle-icon {
  width: 38px;
  height: 38px;
}

.circle-icon svg,
.mail svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.progress__bar {
  position: relative;
  height: 7px;
  margin-top: 17px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.progress__bar::after {
  position: absolute;
  inset: 0;
  width: 34%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  animation: progress-glow 3.8s ease-in-out infinite;
}

.progress__bar span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3156ff, #705fff);
  box-shadow: 0 0 18px rgba(85, 92, 255, 0.42);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 13px;
  min-height: 162px;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(18, 28, 49, 0.72), rgba(10, 17, 31, 0.72));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.44);
}

.features article {
  min-width: 0;
  padding: 0 4px;
  text-align: center;
}

.circle-icon--large {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.circle-icon--large svg {
  width: 25px;
  height: 25px;
}

.features h2 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.features p {
  margin: 0;
  color: #a8b0bf;
  font-size: 11px;
  line-height: 1.32;
}

.hero__image {
  position: relative;
  height: 650px;
  margin-top: -91px;
  margin-right: -104px;
  animation: fade-rise 760ms ease 120ms both;
}

.hero__image img {
  display: block;
  width: 780px;
  max-width: none;
  height: auto;
}

.hero__image::before {
  position: absolute;
  inset: 0 auto 0 -1px;
  z-index: 1;
  width: 150px;
  content: "";
  background: linear-gradient(90deg, #050b17 0%, rgba(5, 11, 23, 0.78) 31%, rgba(5, 11, 23, 0) 100%);
  pointer-events: none;
}

.hero__image::after {
  position: absolute;
  inset: auto 0 -1px 0;
  z-index: 1;
  height: 170px;
  content: "";
  background: linear-gradient(0deg, #020711 0%, rgba(2, 7, 17, 0) 100%);
  pointer-events: none;
}

.subscribe {
  width: min(520px, 100%);
  margin: 0 auto;
  padding-bottom: 27px;
  text-align: center;
  animation: fade-rise 680ms ease 180ms both;
}

.mail {
  width: 42px;
  height: 42px;
  margin-bottom: 15px;
  color: #fff;
  background: rgba(43, 52, 76, 0.72);
}

.mail img {
  display: block;
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.subscribe h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.16;
}

.subscribe p {
  margin: 0 0 18px;
  color: #aeb5c3;
  font-size: 14px;
  line-height: 1.42;
}

.region-note {
  display: block;
  margin-top: 4px;
  color: #7f889a;
  font-size: 12px;
}

.region-note--ru,
.region-ru .region-note--global {
  display: none;
}

.region-ru .region-note--ru {
  display: block;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(6, 74px);
  justify-content: center;
  gap: 14px;
  align-items: start;
}

.social-link {
  --social-glow: #6b74ff;
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  color: #dbe2f3;
  text-decoration: none;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  animation: icon-breathe 4.2s ease-in-out infinite;
  transition: transform 180ms ease, filter 180ms ease;
}

.social-link img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.social-label {
  display: block;
  max-width: 100%;
  color: #aeb5c3;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.1;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 180ms ease;
}

.social-link:hover .social-icon,
.social-link:focus-visible .social-icon {
  filter: drop-shadow(0 0 12px var(--social-glow));
  transform: translateY(-2px);
}

.social-link:hover .social-label,
.social-link:focus-visible .social-label {
  color: #fff;
}

.social-link:focus-visible {
  outline: none;
}

.social-link--facebook {
  --social-glow: #1877f2;
}

.social-link--instagram {
  --social-glow: #e4405f;
}

.social-link--telegram {
  --social-glow: #26a5e4;
}

.social-link--x {
  --social-glow: #ffffff;
}

.social-link--vk {
  --social-glow: #0077ff;
}

.social-link--youtube {
  --social-glow: #ff0000;
}

.region-ru .global-social {
  display: none;
}

.region-ru .social-links {
  grid-template-columns: repeat(2, 82px);
}

.footer {
  width: min(720px, calc(100vw - 56px));
  margin: 0 auto;
  padding: 18px 0 27px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  color: #8e96a6;
  text-align: center;
}

.footer p {
  margin: 0;
  color: #8e96a6;
  font-size: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .page {
    width: min(900px, calc(100vw - 36px));
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    padding-top: 34px;
  }

  .hero__copy {
    max-width: 502px;
    margin: 0 auto;
  }

  .hero__image {
    display: none;
  }

  .brand {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 620px) {
  body {
    background:
      radial-gradient(circle at 50% -8%, rgba(49, 86, 255, 0.34), transparent 17rem),
      radial-gradient(circle at 88% 64%, rgba(20, 91, 168, 0.22), transparent 16rem),
      linear-gradient(180deg, #020711 0%, #040a15 54%, #020711 100%);
  }

  .page,
  .footer {
    width: min(100vw - 32px, 430px);
  }

  .hero {
    gap: 0;
    padding-top: 30px;
  }

  .hero__copy {
    width: 100%;
    text-align: center;
  }

  .brand {
    width: 150px;
    margin: 0 auto 30px;
  }

  .brand__logo {
    width: 150px;
  }

  .brand p {
    margin-top: 10px;
    font-size: 12px;
  }

  h1 {
    max-width: 330px;
    margin: 0 auto;
    font-size: clamp(34px, 9.6vw, 39px);
    line-height: 1.08;
  }

  .lead {
    width: min(100%, 334px);
    margin: 20px auto 24px;
    color: #d4d9e4;
    font-size: 15px;
    line-height: 1.55;
  }

  .progress {
    width: min(100%, 334px);
    margin: 0 auto;
  }

  .progress__top {
    grid-template-columns: 28px 1fr auto;
    text-align: left;
  }

  .features,
  .notify {
    grid-template-columns: 1fr;
  }

  .features {
    width: min(100%, 334px);
    gap: 0;
    margin: 20px auto 0;
    padding: 8px 18px;
    border-color: rgba(134, 155, 197, 0.18);
    background: linear-gradient(180deg, rgba(17, 28, 51, 0.78), rgba(7, 13, 25, 0.84));
  }

  .features article {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 14px;
    align-items: center;
    min-height: 76px;
    padding: 14px 0;
    text-align: left;
  }

  .features article .circle-icon {
    grid-row: 1 / span 2;
  }

  .features article h2,
  .features article p {
    grid-column: 2;
  }

  .features article + article {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .circle-icon--large {
    width: 42px;
    height: 42px;
    margin: 0;
  }

  .circle-icon--large svg {
    width: 22px;
    height: 22px;
  }

  .features h2 {
    margin: 0 0 4px;
    font-size: 13px;
    white-space: normal;
  }

  .features p {
    max-width: none;
    margin: 0;
    font-size: 12px;
    line-height: 1.34;
  }

  .subscribe {
    width: min(100%, 334px);
    margin-top: 34px;
    padding-bottom: 24px;
  }

  .mail {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    background: rgba(48, 58, 86, 0.82);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.04),
      0 18px 46px rgba(15, 35, 89, 0.34);
  }

  .mail img {
    width: 22px;
    height: 22px;
  }

  .subscribe h2 {
    font-size: 22px;
  }

  .subscribe p {
    width: min(100%, 310px);
    margin: 0 auto 22px;
    font-size: 14px;
  }

  .region-note {
    font-size: 12px;
    line-height: 1.35;
  }

  .social-links {
    grid-template-columns: repeat(3, minmax(82px, 1fr));
    gap: 18px 14px;
    width: 100%;
    max-width: 318px;
    margin: 0 auto;
  }

  .social-link {
    gap: 8px;
  }

  .social-icon {
    width: 46px;
    height: 46px;
  }

  .social-link img {
    width: 31px;
    height: 31px;
  }

  .social-label {
    font-size: 11px;
    line-height: 1.12;
  }

  .region-ru .social-links {
    grid-template-columns: repeat(2, minmax(92px, 112px));
    max-width: 244px;
  }

  .footer {
    padding: 17px 0 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
