@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic-var.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-var.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;
}

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/golos-text-cyrillic-var.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 800;
  font-display: swap;
  src: url("../fonts/golos-text-latin-var.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;
}

:root {
  --ink: #07162f;
  --muted: #536078;
  --blue: #0758f8;
  --blue-dark: #0345dc;
  --line: #dfe6f2;
  --surface: #ffffff;
  --page: #ffffff;
  --container: 1520px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--page);
  scrollbar-color: rgba(7, 88, 248, 0.72) #eef3fb;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #eef3fb;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #eef3fb;
  border-radius: 999px;
  background: linear-gradient(180deg, #2c7bff 0%, var(--blue) 48%, var(--blue-dark) 100%);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #1d6fff 0%, #054fe7 48%, #0336ad 100%);
}

body {
  margin: 0;
  min-height: 100svh;
  min-width: 320px;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  background: var(--page);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid rgba(217, 225, 239, 0.75);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 30px rgba(7, 22, 47, 0.045);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

@supports (height: 100dvh) {
  body {
    min-height: 100dvh;
  }
}

@supports (-webkit-touch-callout: none) {
  html,
  body {
    overscroll-behavior-y: none;
  }
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
}

.brand__mark {
  width: 40px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__copy strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.brand__copy small {
  margin-top: 6px;
  color: #68738a;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.025em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.7vw, 46px);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  transition: color 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover {
  color: var(--blue);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 14px;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-link {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #e0e7f2;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(25, 54, 100, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.social-link:hover {
  border-color: #cbd8ec;
  box-shadow: 0 12px 26px rgba(25, 54, 100, 0.14);
  transform: translateY(-2px);
}

.social-link img {
  display: block;
  width: 25px;
  height: 25px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 54px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button--header {
  min-height: 44px;
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 10px 22px rgba(4, 80, 232, 0.18);
  font-size: 12px;
}

.scroll-top {
  position: fixed;
  z-index: 120;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(7, 88, 248, 0.18);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 14px 30px rgba(4, 80, 232, 0.22);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.92);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-top:hover {
  box-shadow: 0 18px 38px rgba(4, 80, 232, 0.3);
  transform: translateY(-2px) scale(1);
}

.scroll-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

html.reveal-ready .scroll-reveal {
  opacity: 0;
}

html.reveal-ready .scroll-reveal.is-revealed {
  animation: scroll-reveal-from-bottom 860ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.reveal-ready .scroll-reveal[data-reveal-from="top"].is-revealed {
  animation-name: scroll-reveal-from-top;
}

html.reveal-ready .scroll-reveal.is-revealed.is-reveal-settled {
  opacity: 1;
  animation: none;
  will-change: auto;
}

@keyframes scroll-reveal-from-bottom {
  from {
    opacity: 0;
    transform: translate3d(0, 64px, 0) scale(0.965);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes scroll-reveal-from-top {
  from {
    opacity: 0;
    transform: translate3d(0, -52px, 0) scale(0.965);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

