@font-face {
  font-family: "VTB Group UI";
  src:
    url("fonts/subset-VTBGroupUI-Book.woff2") format("woff2"),
    url("fonts/subset-VTBGroupUI-Book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "VTB Group UI";
  src:
    url("fonts/subset-VTBGroupUI-Medium.woff2") format("woff2"),
    url("fonts/subset-VTBGroupUI-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background: #fff;
  color: #212833;
  font-family: "VTB Group UI", sans-serif;
  font-weight: 400;
}

button,
a {
  font-family: inherit;
}

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  width: 100%;
  overflow-x: hidden;
  background: #fff;
}

.page-gradient,
.bg-desktop {
  position: absolute;
  inset: 0;
}

.page-gradient {
  z-index: 0;
  background: linear-gradient(125deg, #ffffff 0%, #f2f7ff 28%, #c6dbff 58%, #6ea4f5 82%, #3f86ef 100%);
}

.bg-desktop {
  z-index: 1;
  background-image: url("images/stub-background.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 100%;
}

.container {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.header {
  position: relative;
  z-index: 3;
  padding-top: 8px;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 16px;
  padding: 12px 16px;
  background: #f5f9fc99;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 5px 0 #1e4bd226;
}

.logo-link {
  flex-shrink: 0;
}

.logo {
  display: block;
  height: 20px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.locale-inline {
  display: none;
  align-items: center;
  gap: 4px;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
}

.locale-btn {
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 8px 12px;
  color: #212833;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
  font-size: clamp(13px, 0.833vw, 16px);
  line-height: clamp(16px, 1.042vw, 20px);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.locale-btn:hover,
.locale-btn.is-active {
  background: #ebf5ff;
  color: #004eeb;
}

.locale-dropdown {
  position: relative;
}

.locale-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.locale-toggle:hover {
  background: #f5f9fc;
}

.locale-current {
  color: #0a2896;
  font-size: clamp(13px, 0.833vw, 16px);
  line-height: clamp(16px, 1.042vw, 20px);
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.locale-toggle:hover .locale-current {
  color: #1e4bd2;
}

.locale-arrow {
  display: block;
  width: 24px;
  height: 24px;
  transition: transform 0.15s ease;
}

.locale-dropdown.is-open .locale-arrow {
  transform: rotate(180deg);
}

.locale-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 10;
  min-width: 88px;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(10, 40, 150, 0.16);
}

.locale-menu[hidden] {
  display: none;
}

.locale-option {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 8px 16px;
  text-align: left;
  color: #0a2896;
  cursor: pointer;
  font-size: clamp(13px, 0.833vw, 16px);
  line-height: clamp(16px, 1.042vw, 20px);
  letter-spacing: -0.02em;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.locale-option:hover {
  background: #f5f9fc;
}

.locale-option.is-active {
  color: #1e4bd2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #1e4bd2 20%, #0084ff 100%);
  letter-spacing: -0.02em;
  font-weight: 500;
  transition: opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn-header {
  padding: 10px 16px;
  font-size: 14px;
}

.btn-cta {
  width: fit-content;
  margin-top: 32px;
  padding: 14px 24px;
  font-size: 16px;
}

.main {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 48px;
  padding-bottom: 40px;
}

.title {
  margin: 0;
  max-width: 920px;
  white-space: pre-line;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #1e4bd2;
  font-size: 30px;
  line-height: 32px;
}

.subtitle {
  margin: 16px 0 0;
  max-width: 620px;
  letter-spacing: -0.02em;
  color: #0a2896;
  font-size: 16px;
  line-height: 20px;
}

.bg-mobile {
  position: relative;
  z-index: 1;
  margin-top: auto;
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 393 / 541;
  background-image: url("images/stub-background-mobile.png");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: contain;
}

@media (min-width: 640px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .header-bar {
    padding: 16px 24px;
  }

  .logo {
    height: 24px;
  }

  .header-actions {
    gap: 12px;
  }

  .btn-header {
    padding-left: 20px;
    padding-right: 20px;
  }

  .btn-cta {
    padding: 16px 28px;
  }
}

@media (min-width: 768px) {
  .bg-mobile,
  .locale-dropdown {
    display: none;
  }

  .locale-inline {
    display: flex;
  }

  .main {
    padding-top: 11vh;
    padding-bottom: 64px;
  }

  .title {
    font-size: clamp(36px, 3.75vw, 72px);
    line-height: clamp(38px, 3.958vw, 76px);
  }

  .subtitle {
    margin-top: 24px;
    color: #212833;
    font-size: clamp(14px, 0.938vw, 18px);
    line-height: clamp(19px, 1.25vw, 24px);
  }
}

@media (max-width: 767px) {
  .bg-desktop {
    display: none;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 50px;
    padding-right: 50px;
  }
}
