/* Шапка, плавающая шапка, мобильное меню и подвал — 1:1 с mtwspy.com (public/style/land.css).
   Сгенерировано build_css.py; при смене главной пересобрать, руками не править. */
:root {
  --graphite: #212b36;
  --graphite-hover: #454f5b;
  --graphite-soft: #283441;
  --green: #10b981;
  --green-ink: #0da271;
  --green-50: #e7f8f2;
  --green-100: #cff1e6;
  --green-200: #9fe3cd;
  --gray-100: #f9fafb;
  --gray-200: #f4f6f8;
  --gray-300: #dfe3e8;
  --gray-400: #c4cdd5;
  --gray-500: #919eab;
  --gray-600: #637381;
  --gray-700: #454f5b;
  --content-width: 1200px;
  --container-offset: 15px;
  --container-width: calc(var(--content-width) + (var(--container-offset) * 2));
  --font-family: "Manrope", sans-serif;

  --ink: #0f1419;
  --mono: "Roboto Mono", ui-monospace, monospace;
}
.btn-reset {
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.list-reset {
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-wrapper {
    height: 55px;
    margin: 8px 24px;
}
.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
@media (max-width: 768px) {
  .header__logo svg,
  .header__logo img {
    width: 100px;
  }
}
.header__nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
}
@media (max-width: 1024px) {
  .header__nav-list {
    display: none;
  }
}
.header__nav-link {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #fff;
}
.header__nav-link:hover {
    color: var(--green);
}
.header__links {
  display: flex;
  gap: 6px;
}
.header {
    height: 100%;
}
.header-container {
    height: 100%;
    margin: 0px 26px;
}
.header__link-auth {
    color: #ffffff;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    font-weight: 400;
    font-size: 14px;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
    will-change: transform;
}
.header__link-auth.green {
    background: var(--green);
    border-radius: 9px;
}
.header__link-auth.green:hover {
    background: var(--green-ink);
}
.lang-switch {
    position: relative;
    display: flex;
    align-items: center;
}
.lang-switch__button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
.lang-switch__button:hover,
.lang-switch__button.is-open {
    background: rgba(255, 255, 255, 0.08);
}
.lang-switch__button:focus-visible,
.lang-switch__item:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}
.lang-switch__globe {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.72);
    transition: color .15s ease;
}
.lang-switch__current {
    line-height: 1;
}
.lang-switch__chevron {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: transform .2s cubic-bezier(0.4, 0, 0.2, 1);
}
.lang-switch__button.is-open .lang-switch__chevron {
    transform: rotate(180deg);
}
.lang-switch__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1000;
    min-width: 200px;
    padding: 4px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 0 2px 0 rgba(145, 158, 171, 0.24), -20px 20px 40px -4px rgba(145, 158, 171, 0.24);
    transform-origin: top right;
}
.lang-switch__item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 6px 8px;
    border-radius: 8px;
    color: var(--graphite);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .15s cubic-bezier(0.4, 0, 0.2, 1);
}
.lang-switch__item + .lang-switch__item {
    margin-top: 2px;
}
.lang-switch__item:hover {
    background: rgba(145, 158, 171, 0.08);
}
.lang-switch__item.is-active {
    background: rgba(145, 158, 171, 0.16);
    font-weight: 600;
}
.lang-switch__item.is-active:hover {
    background: rgba(145, 158, 171, 0.24);
}
.lang-switch__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 20px;
    border-radius: 6px;
    background: rgba(145, 158, 171, 0.16);
    color: var(--gray-600);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.lang-switch__item.is-active .lang-switch__code {
    background: rgba(16, 185, 129, 0.16);
    color: var(--green-ink);
}
.lang-switch__check {
    width: 16px;
    height: 16px;
    margin-left: auto;
    color: var(--green);
}
.lang-switch-enter {
    transition: opacity .18s ease, transform .2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lang-switch-leave {
    transition: opacity .12s ease, transform .12s ease;
}
.lang-switch-hidden {
    opacity: 0;
    transform: translateY(-4px) scale(0.97);
}
.lang-switch-shown {
    opacity: 1;
    transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .lang-switch-enter,
    .lang-switch-leave,
    .lang-switch__chevron {
        transition: none;
    }
}
.burger {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: none;
    background: #fff;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}
.burger__lines {
    width: 18px;
    height: 12px;
    position: relative;
}
.burger__lines span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--graphite);
    border-radius: 2px;
}
.burger__lines span:nth-child(1) { top: 0; }
.burger__lines span:nth-child(2) { top: 5px; }
.burger__lines span:nth-child(3) { top: 10px; }
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 2000;
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(360px, 92vw);
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 2001;
    display: flex;
    flex-direction: column;
    padding: 18px;
    gap: 14px;
    overflow: auto;
}
.mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.mobile-menu__close {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    cursor: pointer;
    font-size: 22px;
    text-decoration: none;
    line-height: 1;
}
.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mobile-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--graphite);
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.mobile-menu__section-title {
    font-weight: 600;
    color: var(--graphite);
    margin-top: 4px;
}
.mobile-menu__langs {
    display: flex;
    gap: 10px;
}
.mobile-menu__lang {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: var(--graphite);
    background: #fff;
}
body.mobile-menu-open .mobile-menu {
    transform: translateX(0);
}
body.mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}
.mobile-menu__lang img {
    border-radius: 50%;
    width: 34px;
    height: 28px;
}
@media only screen and (max-width: 768px) {
  .header__nav {
        display: none !important;
    }
  .header__links {
        display: none !important;
    }
  .burger {
        display: inline-flex !important;
    }
}
[x-cloak] {
    display: none !important;
}
.island-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 18px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(145, 158, 171, 0.28);
  box-shadow: 0 12px 40px -8px rgba(33, 43, 54, 0.18), 0 2px 8px rgba(33, 43, 54, 0.06);
  transform: translateX(-50%) translateY(-72px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
.island-header.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 880px) {
  .island-header {
    gap: 14px;
    padding: 8px 8px 8px 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .island-header {
    transition: opacity 0.3s ease;
  }
}
@media (min-width: 1025px) {
  .header-container {
    position: relative;
  }
  .header__nav--center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}
@media (min-width: 1025px) and (max-width: 1200px) {
  .header__nav--center .header__nav-list {
    gap: 16px;
  }
}
.nav-tools {
  position: relative;
}
.nav-tools__button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}
.nav-tools__button:focus-visible,
.nav-tools__item:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.nav-tools__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 1000;
  margin-left: -100px;
  padding-top: 12px;
  transform-origin: top center;
}
.nav-tools__panel {
  min-width: 200px;
  padding: 4px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 2px 0 rgba(145, 158, 171, 0.24), -20px 20px 40px -4px rgba(145, 158, 171, 0.24);
}
.nav-tools__item {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .15s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-tools__item + .nav-tools__item {
  margin-top: 2px;
}
.nav-tools__item:hover {
  background: rgba(145, 158, 171, 0.08);
}
.header__nav .nav-tools__button {
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}
.footer-v2 {
  position: relative;
  overflow: hidden;
  padding: 72px 0 0;
  background: var(--graphite);
  color: #fff;
}
.footer-v2__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(5, 1fr);
  gap: 32px;
}
.footer-v2__logo {
  display: inline-block;
}
.footer-v2__logo svg {
  width: 130px;
  height: auto;
}
.footer-v2__logo .prefix__sidebar__logo-word {
  fill: #fff;
}
.footer-v2__tagline {
  max-width: 300px;
  margin: 16px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}
.footer-v2__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-v2__col-title {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.footer-v2__link {
  padding: 5px 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color .15s ease;
}
.footer-v2__link:hover {
  color: var(--green);
}
.footer-v2__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-top: 56px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-v2__legal p {
  max-width: 720px;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}
.footer-v2__legal p + p {
  margin-top: 6px;
}
.footer-v2__legal a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-v2__socials {
  display: flex;
  flex: none;
  gap: 8px;
}
.footer-v2__soc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background-color .15s ease;
}
.footer-v2__soc:hover {
  background: var(--green);
}
.footer-v2__soc svg {
  width: 18px;
  height: 18px;
}
.footer-v2__link:focus-visible,
.footer-v2__soc:focus-visible,
.footer-v2__logo:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.footer-v2__word {
  margin-bottom: -0.1em;
  font-size: clamp(90px, 20vw, 300px);
  line-height: 0.78;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
}
@media (max-width: 960px) {
  .footer-v2__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-v2__brand {
    grid-column: 1 / -1;
  }
  .footer-v2__bottom {
    flex-direction: column;
  }
}
@media (max-width: 576px) {
  .footer-v2 {
    padding-top: 48px;
  }
}
.hero--ink::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 38%;
  width: 900px;
  height: 900px;
  margin-left: -450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22), transparent 60%);
  pointer-events: none;
}
.hero--ink .header-wrapper {
  position: relative;
  z-index: 5;
  height: auto;
  margin: 8px 24px 0;
}
.hero--ink .header-container {
  max-width: 1200px;
  height: 64px;
  margin: 0 auto;
  padding: 0 8px 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.hero--ink .header__nav-link {
  color: rgba(255, 255, 255, 0.85);
}
.hero--ink .header__nav-link:hover {
  color: #fff;
}
.hero--ink .header__link-auth:not(.green) {
  color: #fff;
}
.hero--ink .header__link-auth.green {
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--graphite);
  font-weight: 600;
}
.hero--ink .header__link-auth.green:hover {
  background: var(--gray-200);
}
.hero--ink .lang-switch__button {
  color: #fff;
}
.hero--ink .nav-tools__panel {
  color: var(--graphite);
}
@media (max-width: 768px) {
  .hero--ink .header-wrapper {
    margin: 8px 12px 0;
  }
  .hero--ink .header-container {
    height: 56px;
    padding: 0 8px 0 16px;
  }
}
.hero--ink .header__links {
  align-items: center;
  gap: 8px;
}
.footer-v2__soc--tg:hover {
  background: #229ed9;
}
.footer-v2__soc--ig:hover {
  background: #e1306c;
}
.footer-v2__soc--mail:hover {
  background: var(--green);
}
.island-header {
  top: 8px;
  left: 0;
  right: 0;
  display: block;
  padding: 0 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  transform: translateY(-100px);
}
.island-header.is-visible {
  transform: none;
}
.island-header .header-container {
  max-width: 1200px;
  height: 64px;
  margin: 0 auto;
  padding: 0 8px 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(15, 20, 25, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px -12px rgba(15, 20, 25, 0.45);
}
.island-header .header__nav-link {
  color: rgba(255, 255, 255, 0.85);
}
.island-header .header__nav-link:hover {
  color: #fff;
}
.island-header .header__link-auth:not(.green) {
  color: #fff;
}
.island-header .header__link-auth.green {
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--graphite);
  font-weight: 600;
}
.island-header .header__link-auth.green:hover {
  background: var(--gray-200);
}
.island-header .header__links {
  align-items: center;
  gap: 8px;
}
.island-header .lang-switch__button {
  color: #fff;
}
.island-header .nav-tools__panel {
  color: var(--graphite);
}
@media (max-width: 768px) {
  .island-header {
    padding: 0 12px;
  }
  .island-header .header-container {
    height: 56px;
    padding: 0 8px 0 16px;
  }
}
.hero-v1__beams {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 180px;
  bottom: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(45deg,
    transparent 0 30%, rgba(255, 255, 255, 0.26) 30% 33.5%, transparent 33.5% 35.5%,
    rgba(255, 255, 255, 0.16) 35.5% 37%, transparent 37% 60%,
    rgba(255, 255, 255, 0.22) 60% 72%, transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  filter: blur(3px);
}
@media (max-width: 768px) {
  .hero-v1__beams {
    top: 120px;
  }
}
