@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(./fonts/luna-manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(./fonts/luna-manrope-latin.woff2) format('woff2');
  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;
}
.site-header,
.footer {
  font-family: 'Manrope Variable', Manrope, sans-serif;
  line-height: normal;
}
.site-header {
  position: fixed;
  inset: calc(24px + env(safe-area-inset-top)) 0 auto;
  z-index: 20;
  height: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  transition: transform 200ms var(--ease);
}
.site-header.tucked:not(:focus-within) {
  transform: translateY(calc(-100% - 36px - env(safe-area-inset-top)));
}
.site-header .brand {
  min-height: 48px;
}
.site-header .brand strong {
  font: 800 24px/1 Manrope, sans-serif;
  letter-spacing: -0.065em;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-actions a {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 12px 24px;
  border-radius: 40px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 650;
}
.nav-register {
  background: #171619;
  color: var(--paper);
  border: 1px solid #ffffff45;
}
.nav-register:hover {
  background: #302c31;
}
.nav-login {
  min-width: 108px;
  background: var(--paper);
  color: var(--bg);
}
.nav-login:hover {
  background: #fff7ed;
}
.footer {
  overflow: hidden;
  background: var(--bg);
  padding: clamp(28px, 3.1vw, 66px) 0 30px;
}
.footer-wrap {
  --footer-gutter: clamp(22px, 5.05vw, 88px);
  width: min(1440px, calc(100% - 2 * var(--footer-gutter)));
  margin-inline: auto;
  container-type: inline-size;
}
.footer-top,
.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.footer-top {
  grid-template-columns: 1fr auto;
}
.footer-top p {
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.55;
}
.footer-top p span {
  color: var(--muted);
}
.footer-bottom a {
  text-underline-offset: 4px;
}
.footer a:hover {
  color: #ff9a94;
}
.back-top {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.footer-wordmark {
  display: block;
  margin-block: clamp(24px, 5cqi, 76px) clamp(22px, 3.9cqi, 56px);
  font-size: clamp(42px, 15cqi, 212px);
  font-weight: 680;
  line-height: 0.94;
}
.footer-wordmark .brand-logo { display: block; width: 100%; height: auto; }
.footer-signal {
  height: 1px;
  background: linear-gradient(90deg, var(--line) 19%, #fa575c 26%, var(--line) 34%);
}
.footer-bottom {
  grid-template-columns: minmax(0, 1fr) auto;
  padding-top: clamp(16px, 2.55cqi, 36px);
  font-size: 14px;
  color: #b3adb5;
}
.footer-bottom > span {
  justify-self: start;
}
.footer-bottom a:nth-child(2) {
  justify-self: center;
}
.footer-bottom a:last-child {
  justify-self: end;
}
@media (max-width: 800px) {
  .site-header {
    top: calc(18px + env(safe-area-inset-top));
  }
}
@media (max-width: 600px) {
  .site-header {
    top: calc(14px + env(safe-area-inset-top));
    height: 48px;
    gap: 8px;
  }
  .site-header .brand .brand-logo {
    width: 42px;
    height: 42px;
  }
  .site-header .brand strong {
    font-size: 21px;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions a {
    min-height: 44px;
    padding: 10px 14px;
  }
  .nav-login {
    min-width: 80px;
  }
}
@media (max-width: 360px) {
  .header-actions a {
    padding-inline: 8px;
  }
  .header-actions .nav-register {
    font-size: 16px;
  }
  .nav-login {
    min-width: 0;
  }
}
@media (max-width: 680px) {
  .footer-bottom {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .footer-bottom a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .footer-bottom {
    gap: 0 12px;
    font-size: 12px;
  }
  .footer-bottom > span {
    grid-column: auto;
  }
  .footer-bottom a:nth-child(2) {
    justify-self: end;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}
