@font-face {
  font-family: "Golos Text";
  src: url("/assets/fonts/golos-cyrillic-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Golos Text";
  src: url("/assets/fonts/golos-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Golos Text";
  src: url("/assets/fonts/golos-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Golos Text";
  src: url("/assets/fonts/golos-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  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;
}

:root {
  color-scheme: dark;
  font-family: "Golos Text", Arial, sans-serif;
  background: #204e45;
  color: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100svh;
  overflow: hidden;
  background: #204e45;
}

.launch {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  text-align: center;
}

.brand {
  position: relative;
  width: min(84vw, 560px);
  height: clamp(118px, 25vw, 176px);
  overflow: hidden;
}

.brand img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-34.1%);
}

.message {
  min-width: min(100%, 760px);
  min-height: 124px;
  margin-top: clamp(20px, 5vh, 48px);
}

.language-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(12px, 2.4vw, 14px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 260ms ease, transform 260ms ease;
}

.language-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #c4ad62;
}

h1 {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(42px, 9vw, 88px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
  transition: opacity 300ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.message.is-changing .language-line,
.message.is-changing h1 {
  opacity: 0;
  transform: translateY(8px);
}

@media (max-width: 380px) {
  .launch {
    padding-inline: 16px;
  }

  .brand {
    width: min(104vw, 430px);
    height: 130px;
  }

  .message {
    min-height: 108px;
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .language-line,
  h1 {
    transition: none;
  }

  .message.is-changing .language-line,
  .message.is-changing h1 {
    transform: none;
  }
}
