@font-face {
  font-family: Manrope;
  src: url("./assets/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  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/manrope-latin.woff2") format("woff2");
  font-style: normal;
  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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Benzin;
  src: url("./assets/Benzin-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  background: #09090b;
  color: #f4f4f5;
  font-family: Manrope, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body { margin: 0; }

.page {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  min-height: 100svh;
  padding: 48px 24px 27px;
  background: #09090b;
  text-align: center;
}

.content {
  grid-row: 2;
  width: min(100%, 820px);
  margin-inline: auto;
}

.logo {
  display: block;
  width: clamp(142px, 11vw, 172px);
  height: auto;
  margin: 0 auto 48px;
  opacity: 0;
  animation: logo-in 800ms var(--ease) 100ms both;
}

.title-mask {
  overflow: hidden;
  margin: 0;
  padding-bottom: 0.12em;
  font-family: Benzin, sans-serif;
  font-size: clamp(29px, 3.8vw, 50px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.title {
  display: block;
  opacity: 0;
  animation: title-in 820ms var(--ease) 570ms both;
}

.js .title { opacity: 1; animation: none; }
.word { display: inline-block; white-space: nowrap; }
.letter {
  display: inline-block;
  opacity: 0;
  animation: letter-in 820ms var(--ease) both;
  animation-delay: var(--delay);
}

.description {
  max-width: 660px;
  margin: 23px auto 0;
  color: #a1a1a8;
  font-size: clamp(15px, 1.35vw, 17px);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: -0.01em;
  opacity: 0;
  animation: quiet-in 720ms var(--ease) 1050ms both;
}

.status {
  margin: 35px 0 0;
  color: #66666e;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  animation: quiet-in 700ms var(--ease) 1230ms both;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(244, 244, 245, 0.4);
  color: #f4f4f5;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  opacity: 0;
  animation: quiet-in 700ms var(--ease) 1380ms both;
  transition: color 230ms ease, border-color 230ms ease;
}

.news-link__arrow {
  display: inline-block;
  color: #d7ff3f;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  transition: transform 230ms var(--ease), color 230ms ease;
}

.news-link:hover { color: #fff; border-color: #d7ff3f; }
.news-link:hover .news-link__arrow { transform: translate(2px, -2px); }
.news-link:focus-visible { outline: 2px solid #d7ff3f; outline-offset: 6px; }

.footer {
  grid-row: 3;
  align-self: end;
  color: #66666e;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.015em;
  opacity: 0;
  animation: footer-in 550ms ease 1480ms both;
}

@keyframes logo-in {
  from { opacity: 0; transform: scale(0.96); filter: blur(8px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes title-in {
  from { opacity: 0; transform: translateY(32px); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes letter-in {
  from { opacity: 0; transform: translate3d(0, 0.62em, 0); filter: blur(5px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}

@keyframes quiet-in {
  from { opacity: 0; transform: translateY(16px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes footer-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 600px) {
  .page { padding: 36px 27px 24px; }
  .logo { width: 148px; margin-bottom: 44px; }
  .title-mask { font-size: clamp(29px, 8.2vw, 39px); line-height: 1.26; letter-spacing: -0.04em; }
  .description { max-width: 360px; margin-top: 22px; font-size: 15px; line-height: 1.7; }
  .desktop-break { display: none; }
  .status { margin-top: 31px; }
}

@media (max-height: 620px) {
  .page { padding-top: 26px; padding-bottom: 18px; }
  .logo { width: 132px; margin-bottom: 25px; }
  .title-mask { font-size: clamp(27px, 4vw, 44px); }
  .description { margin-top: 15px; }
  .status { margin-top: 22px; }
  .news-link { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo, .title, .letter, .description, .status, .news-link, .footer {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .news-link, .news-link__arrow { transition: none; }
  .news-link:hover .news-link__arrow { transform: none; }
}
