@font-face {
  font-family: "ManropeVar";
  src: url("/assets/fonts/Manrope-Variable.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --cv-shell-bg: #151515;
  --cv-shell-surface: #191919;
  --cv-shell-text: #e5e7eb;
  --cv-shell-text-soft: #757575;
  --cv-shell-border: #25252538;
  --cv-shell-primary: #3045fd;
  --cv-shell-font: "ManropeVar", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.blur-text__mount,
.blur-text {
  display: block;
}

.blur-text__segment {
  display: inline-block;
  will-change: transform, filter, opacity;
}

main h1[data-blur-text-heading],
main h2[data-blur-text-heading] {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  animation: none !important;
}

.case-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  animation: none !important;
  transition:
    opacity 360ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--case-reveal-delay, 0ms);
  will-change: opacity, transform;
}

.case-reveal.case-reveal--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

figure {
  margin: 0;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

.header-drawer-open,
.header-drawer-open body {
  overflow: hidden;
}

.cv-shell-header,
.cv-shell-footer {
  color: var(--cv-shell-text);
  font-family: var(--cv-shell-font);
  font-size: 16px;
  font-weight: 200;
  line-height: 1.5;
}

.cv-shell-header a,
.cv-shell-footer a {
  color: inherit;
  text-decoration: none;
}

.cv-shell-header img,
.cv-shell-footer img {
  display: block;
  max-width: 100%;
}

.cv-shell-header button {
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  background: none;
  cursor: pointer;
  appearance: none;
}

.cv-shell-header ul,
.cv-shell-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cv-shell-footer p {
  margin: 0;
}

.cv-shell-header .flex,
.cv-shell-footer .flex {
  display: flex;
}

.cv-shell-header .column,
.cv-shell-footer .column {
  flex-direction: column;
}

.cv-shell-header .container,
.cv-shell-footer .container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 64px;
}

.cv-shell-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
}

.cv-shell-header .logo {
  display: block;
  flex: 0 0 auto;
}

.cv-shell-header .header__wrapper {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  border: 1px solid var(--cv-shell-border);
  border-radius: 999px;
  padding: 10px 12px 10px 32px;
  background-color: rgba(21, 21, 21, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.cv-shell-header .header__drawer {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.cv-shell-header .header__nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.cv-shell-header .header__nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.cv-shell-header .header__nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
}

.cv-shell-header .header__nav-link:hover,
.cv-shell-header .header__nav-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  background-color: rgba(255, 255, 255, 0.06);
  outline: none;
}

.cv-shell-header .header__burger,
.cv-shell-header .header__backdrop {
  display: none;
}

.cv-shell-header .header__burger-line {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.22s ease,
    opacity 0.18s ease;
}

.cv-shell-header .btn {
  position: relative;
  isolation: isolate;
  flex: 0 0 auto;
  align-items: center;
  align-self: flex-start;
  gap: 20px;
  border: 1px solid var(--cv-shell-border);
  border-radius: 999px;
  padding: 5px 5px 5px 30px;
  color: var(--cv-shell-text);
  background: transparent;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.cv-shell-header .btn__text {
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}

.cv-shell-header .btn__arrow {
  position: relative;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background-color: var(--cv-shell-primary);
}

.cv-shell-header .btn img {
  transform-origin: center;
  transition: transform 0.25s ease;
}

.cv-shell-header .btn__bg {
  position: absolute;
  right: -5px;
  z-index: -1;
  width: 95px;
  height: 65px;
  border-radius: 999px;
  background-color: rgba(48, 69, 253, 0.45);
  filter: blur(12px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.cv-shell-header .btn:hover .btn__arrow img {
  transform: rotate(45deg);
}

.cv-shell-header .btn:hover .btn__bg {
  width: 180px;
  filter: blur(50px);
}

.cv-shell-footer {
  padding: 64px 0 24px;
  background-color: var(--cv-shell-surface);
}

.cv-shell-footer .footer__wrapper {
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--cv-shell-border);
  padding-bottom: 64px;
}

.cv-shell-footer .footer__logo {
  margin-bottom: 16px;
  color: var(--cv-shell-text);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.cv-shell-footer .footer__text {
  width: 50ch;
  margin-bottom: 16px;
  color: var(--cv-shell-text-soft);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.cv-shell-footer .footer__contacts {
  gap: 24px;
}

.cv-shell-footer .footer__label {
  margin-bottom: 1px;
  color: var(--cv-shell-text-soft);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.cv-shell-footer .footer__link {
  color: var(--cv-shell-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.cv-shell-footer .footer__link:hover,
.cv-shell-footer .footer__link:focus-visible {
  color: #fff;
  outline: none;
}

.cv-shell-footer .footer__bottom {
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
}

.cv-shell-footer .footer__copyright {
  color: var(--cv-shell-text-soft);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 1200px) {
  .cv-shell-header .container,
  .cv-shell-footer .container {
    padding: 0 40px;
  }

  .cv-shell-header .header__wrapper {
    gap: 8px;
    padding-left: 20px;
  }

  .cv-shell-header .logo img {
    width: 120px;
    height: auto;
  }

  .cv-shell-header .header__nav-link {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  .cv-shell-header .container,
  .cv-shell-footer .container {
    padding: 0 32px;
  }

  .cv-shell-header {
    top: 0;
    bottom: auto;
  }

  .cv-shell-header .container {
    padding: 0 16px;
  }

  .cv-shell-header .header__wrapper {
    position: relative;
    gap: 12px;
    min-height: 60px;
    margin-top: max(16px, env(safe-area-inset-top));
    border-radius: 999px;
    padding: 7px 58px 7px 16px;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .cv-shell-header .header__wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background-color: rgba(21, 21, 21, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    pointer-events: none;
  }

  .cv-shell-header .logo {
    position: relative;
    z-index: 1003;
    display: block;
  }

  .cv-shell-header .logo img {
    width: 131px;
    height: auto;
  }

  .cv-shell-header .header__burger {
    position: absolute;
    top: 50%;
    right: 16px;
    z-index: 1003;
    display: inline-grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    color: #fff;
    background: transparent;
    transform: translateY(-50%);
  }

  .cv-shell-header .header__burger-line:nth-child(1) {
    transform: translate(-50%, -8px);
  }

  .cv-shell-header .header__burger-line:nth-child(2) {
    transform: translate(-50%, -50%);
  }

  .cv-shell-header .header__burger-line:nth-child(3) {
    transform: translate(-50%, 7px);
  }

  .cv-shell-header.is-open .logo {
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
  }

  .cv-shell-header.is-open .header__burger-line:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .cv-shell-header.is-open .header__burger-line:nth-child(2) {
    opacity: 0;
  }

  .cv-shell-header.is-open .header__burger-line:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .cv-shell-header .header__drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    width: min(336px, calc(100vw - 32px));
    height: 100vh;
    height: 100dvh;
    padding: max(80px, calc(env(safe-area-inset-top) + 64px)) 16px
      max(20px, env(safe-area-inset-bottom));
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(18, 18, 18, 0.96);
    box-shadow: -16px 0 56px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition:
      transform 0.24s ease,
      opacity 0.24s ease,
      visibility 0.24s ease;
  }

  .cv-shell-header.is-open .header__drawer {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .cv-shell-header .header__backdrop {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: block;
    background: rgba(0, 0, 0, 0.52);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.22s ease,
      visibility 0.22s ease;
  }

  .cv-shell-header.is-open .header__backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .cv-shell-header .header__nav {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    overflow: visible;
  }

  .cv-shell-header .header__nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cv-shell-header .header__nav-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cv-shell-header .header__nav-link {
    justify-content: flex-start;
    min-height: 56px;
    width: 100%;
    border: 0;
    border-radius: 0;
    padding: 14px 0;
    background-color: transparent;
    font-size: 16px;
  }

  .cv-shell-header .header__cta {
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
    padding-left: 16px;
  }

  .cv-shell-header .header__cta .btn__text {
    display: block;
  }

  .cv-shell-header .header__cta .btn__arrow {
    width: 44px;
    height: 44px;
  }

  .cv-shell-footer {
    padding: 64px 0 154px;
  }
}

@media (max-width: 768px) {
  .cv-shell-header .container,
  .cv-shell-footer .container {
    padding: 0 20px;
  }

  .cv-shell-header .container {
    padding: 0 16px;
  }

  .cv-shell-footer .footer__wrapper {
    flex-direction: column;
  }

  .cv-shell-footer .footer__text {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cv-shell-header .container,
  .cv-shell-footer .container {
    padding: 0 16px;
  }

  .cv-shell-header .header__wrapper {
    min-height: 56px;
    padding: 6px 54px 6px 14px;
  }

  .cv-shell-header .logo img {
    width: 124px;
  }

  .cv-shell-header .header__burger {
    right: 14px;
  }

  .cv-shell-header .header__drawer {
    width: min(320px, calc(100vw - 24px));
    padding-right: 12px;
    padding-left: 12px;
  }

  .cv-shell-header .header__nav-link {
    min-height: 52px;
    padding: 12px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blur-text__segment,
  .case-reveal {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}
