@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/landing-v2/fonts/golos-text-cyrillic-ext.woff2") format("woff2");
  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";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/landing-v2/fonts/golos-text-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116;
}

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/landing-v2/fonts/golos-text-latin.woff2") format("woff2");
  unicode-range: U+0000-00ff, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+2000-206f, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd;
}

:root {
  --public-shell-canvas: #faf9f5;
  --public-shell-surface: #ffffff;
  --public-shell-surface-soft: #f2ede1;
  --public-shell-text: #161310;
  --public-shell-text-soft: #3a352d;
  --public-shell-text-muted: #6b6459;
  --public-shell-text-faint: #746d63;
  --public-shell-accent: #c8932b;
  --public-shell-accent-deep: #936116;
  --public-shell-button: #161310;
  --public-shell-button-on: #faf9f5;
  --public-shell-border: rgba(22, 19, 16, 0.12);
  --public-shell-header: rgba(250, 249, 245, 0.86);
}

:root[data-theme="dark"] {
  --public-shell-canvas: #161310;
  --public-shell-surface: #211d18;
  --public-shell-surface-soft: #1b1712;
  --public-shell-text: #f5f2ec;
  --public-shell-text-soft: #b0a89b;
  --public-shell-text-muted: #9a938a;
  --public-shell-text-faint: #8f887d;
  --public-shell-button: #f5f2ec;
  --public-shell-button-on: #161310;
  --public-shell-border: rgba(245, 242, 236, 0.14);
  --public-shell-header: rgba(22, 19, 16, 0.88);
}

[data-public-shell] *,
[data-public-shell] *::before,
[data-public-shell] *::after {
  box-sizing: border-box;
}

[data-public-shell] {
  font-family:
    "Golos Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: normal;
}

[data-public-shell] .landing-wrap {
  width: min(100%, 1220px);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 44px);
}

.landing-topbar[data-public-shell] {
  position: sticky;
  top: 0;
  z-index: 500;
  border-bottom: 1px solid var(--public-shell-border);
  background: var(--public-shell-header);
  color: var(--public-shell-text);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

[data-public-shell] .landing-navrow {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 28px;
}

[data-public-shell] .landing-brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  color: var(--public-shell-text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  text-decoration: none;
}

[data-public-shell] .landing-brand img {
  display: block;
  width: auto;
  height: 26px;
}

[data-public-shell] .landing-brand .landing-logo-dark {
  display: none;
}

:root[data-theme="dark"] [data-public-shell] .landing-brand .landing-logo-light {
  display: none;
}

:root[data-theme="dark"] [data-public-shell] .landing-brand .landing-logo-dark {
  display: block;
}

[data-public-shell] .landing-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 8px;
}

[data-public-shell] .landing-nav a,
[data-public-shell] .landing-login {
  position: relative;
  padding-block: 8px;
  color: var(--public-shell-text-soft);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

[data-public-shell] .landing-nav a::after,
[data-public-shell] .landing-login::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentcolor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

[data-public-shell] .landing-nav a:hover::after,
[data-public-shell] .landing-login:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

[data-public-shell] .landing-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
}

[data-public-shell] .landing-language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--public-shell-text-faint);
  font-size: 12px;
  font-weight: 700;
}

[data-public-shell] .landing-language-switch button {
  min-width: 25px;
  padding: 6px 2px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

[data-public-shell] .landing-language-switch button[aria-pressed="true"] {
  color: var(--public-shell-text);
}

[data-public-shell] .landing-theme-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--public-shell-border);
  border-radius: 50%;
  background: color-mix(in srgb, var(--public-shell-surface) 42%, transparent);
  color: var(--public-shell-text-soft);
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

[data-public-shell] .landing-theme-toggle:hover,
:root[data-theme="dark"] [data-public-shell] .landing-theme-toggle[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--public-shell-accent) 42%, transparent);
  background: color-mix(in srgb, var(--public-shell-accent) 12%, transparent);
  color: var(--public-shell-accent);
  transform: translateY(-1px);
}

[data-public-shell] .landing-theme-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

[data-public-shell] .landing-theme-icon-sun {
  display: none;
}

:root[data-theme="dark"] [data-public-shell] .landing-theme-icon-moon {
  display: none;
}

:root[data-theme="dark"] [data-public-shell] .landing-theme-icon-sun {
  display: block;
}

[data-public-shell] .landing-menu-toggle,
[data-public-shell] .landing-mobile-menu {
  display: none;
}

[data-public-shell] .landing-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 25px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

[data-public-shell] .landing-btn-small {
  min-height: 42px;
  padding: 9px 19px;
  border-radius: 999px;
  font-size: 14px;
}

[data-public-shell] .landing-btn-dark {
  border-color: var(--public-shell-button);
  background: var(--public-shell-button);
  color: var(--public-shell-button-on);
}

[data-public-shell] .landing-btn-dark:hover {
  border-color: var(--public-shell-accent-deep);
  background: var(--public-shell-accent-deep);
  color: #faf9f5;
}

[data-public-shell] .landing-language-switch button:focus-visible,
[data-public-shell] .landing-theme-toggle:focus-visible,
[data-public-shell] .landing-menu-toggle:focus-visible,
[data-public-shell] a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--public-shell-accent) 55%, transparent);
  outline-offset: 2px;
}

.landing-footer[data-public-shell] {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--public-shell-border);
  background: var(--public-shell-surface-soft);
  color: var(--public-shell-text);
}

[data-public-shell] .footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr 1.1fr;
  gap: 36px;
  padding-block: clamp(48px, 6vw, 72px);
}

[data-public-shell] .landing-brand-footer img {
  height: 24px;
}

[data-public-shell] .footer-grid > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: var(--public-shell-text-soft);
  font-size: 14.5px;
  line-height: 1.5;
}

[data-public-shell] .footer-grid > div:first-child {
  gap: 16px;
}

[data-public-shell] .footer-grid > div:first-child p {
  max-width: 300px;
  margin: 0;
  color: var(--public-shell-text-muted);
  line-height: 1.55;
}

[data-public-shell] .footer-grid h2 {
  margin: 0 0 6px;
  color: var(--public-shell-accent-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

:root[data-theme="dark"] [data-public-shell] .footer-grid h2 {
  color: var(--public-shell-accent);
}

[data-public-shell] .footer-grid a {
  color: var(--public-shell-text-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

[data-public-shell] .footer-grid a:hover {
  color: var(--public-shell-text);
}

[data-public-shell] .footer-bottom {
  border-top: 1px solid var(--public-shell-border);
}

[data-public-shell] .footer-bottom > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-block: 20px;
  color: var(--public-shell-text-faint);
  font-size: 13px;
}

@media (max-width: 1100px) {
  [data-public-shell] .landing-navrow {
    gap: 20px;
  }

  [data-public-shell] .landing-nav {
    gap: 15px;
    margin-left: 0;
  }

  [data-public-shell] .landing-actions {
    gap: 10px;
  }

  [data-public-shell] .landing-login {
    display: none;
  }

  [data-public-shell] .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  [data-public-shell] .landing-wrap {
    padding-inline: 18px;
  }

  [data-public-shell] .landing-navrow {
    min-height: 64px;
  }

  [data-public-shell] .landing-navrow > .landing-nav,
  [data-public-shell] .landing-navrow > .landing-actions {
    display: none;
  }

  [data-public-shell] .landing-menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--public-shell-border);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  [data-public-shell] .landing-menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--public-shell-text);
    transition: transform 0.2s ease;
  }

  [data-public-shell] .landing-menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  [data-public-shell] .landing-menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  [data-public-shell] .landing-mobile-menu {
    width: min(100%, 1220px);
    margin: 0 auto;
    padding: 4px 18px 18px;
  }

  [data-public-shell] .landing-mobile-menu:not([hidden]) {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    border-top: 1px solid var(--public-shell-border);
  }

  [data-public-shell] .landing-mobile-menu nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 20px;
    padding-top: 14px;
  }

  [data-public-shell] .landing-mobile-menu nav a {
    padding: 8px 0;
    color: var(--public-shell-text-soft);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
  }

  [data-public-shell] .landing-mobile-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 10px;
  }

  [data-public-shell] .landing-mobile-actions > a:not(.landing-btn) {
    color: var(--public-shell-text-soft);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
  }
}

@media (max-width: 680px) {
  [data-public-shell] .landing-mobile-menu:not([hidden]) {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  [data-public-shell] .landing-mobile-actions {
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 0;
  }

  [data-public-shell] .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  [data-public-shell] .footer-bottom > div {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  [data-public-shell] .landing-wrap,
  [data-public-shell] .landing-mobile-menu {
    padding-inline: 14px;
  }

  [data-public-shell] .landing-brand img {
    height: 23px;
  }

  [data-public-shell] .landing-mobile-actions .landing-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-public-shell] .landing-nav a::after,
  [data-public-shell] .landing-login::after,
  [data-public-shell] .landing-theme-toggle,
  [data-public-shell] .landing-btn,
  [data-public-shell] .landing-menu-toggle span {
    transition: none;
  }
}
