.welcome-screen {
  background: #faf9f7;
  min-height: 1719px;
  position: relative;
  direction: rtl;
  padding-top: 121px;
  box-sizing: border-box;
}

html[dir="ltr"] .welcome-screen {
  direction: ltr;
}

.welcome-screen a {
  color: inherit;
  text-decoration: none;
}

.top-header {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  height: 121px;
  background: rgba(250, 249, 247, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 110;
}

.header-inner {
  width: min(1129px, calc(100vw - 48px));
  height: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  direction: ltr;
  gap: 24px;
}

.brand-block {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 46px;
  height: 33.35px;
  display: block;
  object-fit: contain;
}

.brand-name {
  font-family: "Ploni ML v2 AAA", Helvetica, sans-serif;
  font-size: 26px;
  line-height: 1;
  color: #212121;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 42px;
  justify-content: center;
  justify-self: center;
  margin: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
  justify-self: end;
}

html[dir="rtl"] .desktop-nav {
  direction: rtl;
}

html[dir="ltr"] .desktop-nav {
  direction: ltr;
}

.desktop-nav a,
.desktop-nav .active-link,
.language-toggle {
  font-family: "Ploni ML v2 AAA", Helvetica, sans-serif;
  font-size: 26px;
  line-height: 1;
  color: #414141;
  white-space: nowrap;
}

.desktop-nav .active-link {
  color: #455fd3;
}

.language-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  margin: 0;
  min-width: 32px;
}

.mobile-header,
.mobile-drawer,
.steps-mobile {
  display: none;
}

.steps-wrap,
.welcome-content,
#footer-placeholder {
  width: 1102px;
  max-width: calc(100vw - 164px);
  margin-inline: auto;
}

.steps-wrap {
  margin-top: 37px;
}

html[dir="rtl"] .steps-wrap {
  position: relative;
  left: -48px;
}

.steps-desktop {
  position: relative;
  width: 1102px;
  height: 43px;
  overflow: visible;
}

.steps-vector {
  position: absolute;
  inset: 0;
  width: 1102px;
  height: 43px;
  object-fit: contain;
  pointer-events: none;
}

.step-welcome,
.step-item {
  position: absolute;
  top: 15px;
  z-index: 1;
  font-family: "Ploni ML v2 AAA", Helvetica, sans-serif;
  font-size: 26px;
  line-height: 15px;
  color: #667080;
  white-space: nowrap;
  text-align: center;
}

.step-item {
  cursor: default;
  transition: color 0.18s ease;
}

.step-item.is-hovered {
  color: #455fd3;
}

.step-welcome {
  color: #1e7c56;
}

.step-hover-card {
  position: absolute;
  top: 65px;
  z-index: 8;
  min-height: 114px;
  padding: 32px 35px 20px;
  box-sizing: border-box;
  border-radius: 11px;
  background: rgba(252, 247, 239, 0.72);
  backdrop-filter: blur(24px) saturate(128%);
  -webkit-backdrop-filter: blur(24px) saturate(128%);
  box-shadow: 0 12px 34px rgba(65, 65, 65, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #455fd3;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  pointer-events: none;
  isolation: isolate;
}

.step-hover-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.step-hover-card.single-line {
  min-height: 77px;
  padding-bottom: 24px;
}

.step-hover-title,
.step-hover-subtitle {
  margin: 0;
  font-family: "Ploni ML v2 AAA", Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #455fd3;
}

.step-hover-title {
  line-height: 15px;
}

.step-hover-subtitle {
  margin-top: 19px;
  line-height: 28px;
}

html[dir="rtl"] .step-hover-card,
html[dir="rtl"] .step-hover-title,
html[dir="rtl"] .step-hover-subtitle {
  text-align: right;
}

html[dir="rtl"] .step-hover-card:not(.single-line) .step-hover-title,
html[dir="rtl"] .step-hover-card:not(.single-line) .step-hover-subtitle {
  white-space: nowrap;
}

html[dir="rtl"] .step-hover-card .step-hover-title,
html[dir="rtl"] .step-hover-card .step-hover-subtitle {
  letter-spacing: 0;
}

html[dir="rtl"] .step-hover-card.is-finish .step-hover-subtitle {
  white-space: normal;
}

html[dir="ltr"] .step-hover-card,
html[dir="ltr"] .step-hover-title,
html[dir="ltr"] .step-hover-subtitle {
  text-align: left;
}

html[dir="ltr"] .step-hover-title {
  line-height: 22px;
}

html[dir="ltr"] .step-hover-subtitle {
  line-height: 32px;
}

html[dir="rtl"] .step-welcome {
  right: 11px;
  width: 176px;
}

html[dir="rtl"] .step-item:nth-of-type(2) {
  right: 193px;
  width: 82px;
}

html[dir="rtl"] .step-item:nth-of-type(3) {
  right: 289px;
  width: 82px;
}

html[dir="rtl"] .step-item:nth-of-type(4) {
  right: 385px;
  width: 82px;
}

html[dir="rtl"] .step-item:nth-of-type(5) {
  right: 481px;
  width: 82px;
}

html[dir="rtl"] .step-item:nth-of-type(6) {
  right: 577px;
  width: 82px;
}

html[dir="rtl"] .step-item.finish {
  right: 628px;
  width: 338px;
}

html[dir="ltr"] .step-welcome {
  left: 66px;
  width: 140px;
}

html[dir="ltr"] .step-item:nth-of-type(2) {
  left: 221px;
  width: 80px;
}

html[dir="ltr"] .step-item:nth-of-type(3) {
  left: 321px;
  width: 80px;
}

html[dir="ltr"] .step-item:nth-of-type(4) {
  left: 421px;
  width: 80px;
}

html[dir="ltr"] .step-item:nth-of-type(5) {
  left: 521px;
  width: 80px;
}

html[dir="ltr"] .step-item:nth-of-type(6) {
  left: 621px;
  width: 80px;
}

html[dir="ltr"] .step-item.finish {
  left: 721px;
  width: 290px;
}

.welcome-content {
  width: 981px;
  max-width: calc(100vw - 284px);
  margin-top: 78px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 1137px;
}

.welcome-content h1,
.welcome-lead,
.note-box {
  width: 981px;
  max-width: 100%;
}

.welcome-content h1 {
  margin: 0;
  font-family: "Ploni ML v2 AAA", Helvetica, sans-serif;
  font-size: 96px;
  font-weight: 900;
  line-height: 15px;
  color: #455fd3;
  text-align: right;
}

.welcome-lead {
  margin: 37px 0 0;
  font-family: "Ploni ML v2 AAA", Helvetica, sans-serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 45px;
  color: #414141;
  text-align: right;
}

.note-box {
  margin-top: 22px;
  color: #c97a7a;
}

.note-short {
  display: block;
}

html[dir="rtl"] .note-short-desktop {
  display: inline-block;
  width: 1040px;
  max-width: none;
}

.note-short,
.note-full p,
.note-full li {
  margin: 0;
  font-family: "Ploni ML v2 AAA", Helvetica, sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 45px;
}

.note-short,
.note-full,
.note-full p,
.note-full li {
  text-align: right;
}

.note-label,
.note-reco,
.note-tip {
  font-weight: 900;
}

.note-short-mobile,
.note-full-intro-mobile,
.note-cont-mobile {
  display: none;
}

.note-full {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.note-full[hidden] {
  display: none !important;
}

.note-full ul {
  margin: 0;
  list-style: disc outside;
  list-style-position: outside;
  width: 100%;
  padding-inline-start: 38px;
}

.note-full li {
  display: list-item;
}

.note-full .note-cont-desktop,
.note-full .note-cont-mobile {
  margin-top: 0;
}

.note-full .note-reco {
  margin-top: 8px;
}

.note-cont-mobile:empty {
  display: none;
}

.note-toggle {
  margin-top: 3px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
  margin-right: 0;
  position: relative;
  overflow: visible;
}

html[dir="ltr"] .note-toggle {
  margin-left: 0;
  margin-right: auto;
}

.note-toggle img {
  opacity: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.note-toggle::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 12px;
  width: 14px;
  height: 14px;
  border-right: 2px solid #c97a7a;
  border-bottom: 2px solid #c97a7a;
  box-sizing: border-box;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  display: block;
}

.note-toggle[aria-expanded="true"]::before {
  transform: rotate(-135deg);
}

.note-toggle img.expanded {
  transform: none;
}

.action-link {
  display: block;
}

.primary-action {
  margin-top: 38px;
}

.action-button {
  width: 365px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 20px;
  box-sizing: border-box;
}

html[dir="rtl"] .action-button {
  flex-direction: row-reverse;
}

.action-button div {
  font-family: "Ploni ML v2 AAA", Helvetica, sans-serif;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.6px;
  color: #212121;
}

.action-button img {
  width: 40px;
  height: 40px;
}

.start-btn {
  background: #819fcd;
}

.back-btn {
  margin-top: 22px;
  background-image:
    linear-gradient(90deg, rgba(65, 65, 65, 0.12) 0%, rgba(65, 65, 65, 0.12) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.12) 100%);
}

html[dir="ltr"] .back-icon {
  transform: scaleX(-1);
}

html[dir="ltr"] .welcome-content h1,
html[dir="ltr"] .welcome-lead,
html[dir="ltr"] .note-short,
html[dir="ltr"] .note-full,
html[dir="ltr"] .note-full p,
html[dir="ltr"] .note-full li {
  text-align: left;
}

html[dir="rtl"] .welcome-content h1,
html[dir="rtl"] .welcome-lead,
html[dir="rtl"] .note-short,
html[dir="rtl"] .note-full,
html[dir="rtl"] .note-full p,
html[dir="rtl"] .note-full li {
  text-align: right;
}

#footer-placeholder {
  margin-top: 15px;
}

@media (max-width: 645px) {
  .welcome-screen {
    min-height: 1537px;
    padding-top: 121px;
  }

  .top-header,
  .steps-desktop,
  .step-hover-card {
    display: none;
  }

  .mobile-header {
    display: flex;
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    height: 121px;
    padding: 0 24px;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    direction: ltr;
    background: rgba(250, 249, 247, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 120;
    flex-direction: row;
  }

  html[dir="ltr"] .mobile-header {
    flex-direction: row-reverse;
  }

  .mobile-logo {
    display: flex;
    align-items: center;
  }

  .mobile-logo .logo-icon {
    width: 46px;
    height: 33.35px;
  }

  .mobile-menu-btn {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
  }

  .mobile-menu-btn span {
    display: block;
    width: 31.5px;
    height: 2px;
    background: #667080;
  }

  .mobile-drawer {
    display: block;
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    background: #faf9f7;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 130;
    transform: translateY(-110%);
    transition: transform 0.24s ease;
  }

  body.mobile-drawer-open {
    overflow: hidden;
  }

  body.mobile-drawer-open .mobile-drawer {
    transform: translateY(0);
  }

  .mobile-drawer-close {
    position: absolute;
    top: 18px;
    inset-inline-end: 24px;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .mobile-drawer-close::before,
  .mobile-drawer-close::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 7px;
    width: 20px;
    height: 2px;
    background: #667080;
  }

  .mobile-drawer-close::before {
    transform: rotate(45deg);
  }

  .mobile-drawer-close::after {
    transform: rotate(-45deg);
  }

  .mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 66px 24px 20px;
    gap: 18px;
  }

  html[dir="rtl"] .mobile-drawer-nav {
    align-items: flex-end;
  }

  .mobile-drawer-link {
    font-family: "Ploni ML v2 AAA", Helvetica, sans-serif;
    font-size: 38px;
    line-height: 1;
    color: #414141;
    border: 0;
    background: transparent;
    padding: 0;
  }

  .mobile-drawer-link-active {
    color: #455fd3;
  }

  .mobile-drawer-lang {
    margin-top: 8px;
    cursor: pointer;
  }

  .steps-wrap,
  .welcome-content,
  #footer-placeholder {
    width: 377px;
    max-width: calc(100vw - 48px);
    margin-inline: auto;
  }

  .steps-wrap {
    margin-top: 26px;
  }

  html[dir="rtl"] .steps-wrap {
    left: 0;
  }

  .steps-mobile {
    display: block;
  }

  .step-mobile-current,
  .step-mobile {
    min-height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Ploni ML v2 AAA", Helvetica, sans-serif;
    font-size: 20px;
    line-height: 1;
    letter-spacing: -0.4px;
    color: rgba(65, 65, 65, 0.5);
    text-align: center;
    box-sizing: border-box;
    border-bottom: 1px solid #a2c7b7;
  }

  .step-mobile-current {
    color: #1e7c56;
    background: rgba(162, 199, 183, 0.3);
    border: 1px solid #a2c7b7;
    margin-bottom: 1px;
  }

  .welcome-content {
    width: 377px;
    max-width: calc(100vw - 48px);
    margin-top: 40px;
    align-items: stretch;
    min-height: 640px;
  }

  .welcome-content h1,
  .welcome-lead,
  .note-box {
    width: 377px;
    max-width: 100%;
  }

  .welcome-content h1 {
    font-size: 44px;
    line-height: 40px;
    text-align: right;
    padding-bottom: 17px;
    border-bottom: 1px solid #9ba5b7;
  }

  .welcome-lead {
    margin-top: 20px;
    font-size: 30px;
    line-height: 25px;
    text-align: right;
    padding-bottom: 17px;
    border-bottom: 1px solid #9ba5b7;
  }

  .note-box {
    margin-top: 18px;
  }

  .note-short,
  .note-full p,
  .note-full li {
    font-size: 24px;
    line-height: 25px;
  }

  .note-label,
  .note-reco,
  .note-tip {
    font-size: 30px;
    line-height: 25px;
    display: block;
    margin-bottom: 6px;
  }

  .note-short-desktop,
  .note-full-intro-desktop,
  .note-cont-desktop {
    display: none;
  }

  .note-short-desktop,
  html[dir="rtl"] .note-short-desktop,
  html[dir="ltr"] .note-short-desktop {
    display: none;
    visibility: hidden;
  }

  .note-short-mobile {
    display: inline !important;
  }

  .note-short-mobile,
  .note-full-intro-mobile {
    display: inline;
  }

  .note-cont-mobile {
    display: block;
  }

  .note-full ul {
    list-style: disc outside;
    padding-inline-start: 24px;
  }

  .note-toggle {
    width: 30px;
    height: 30px;
    margin-top: 8px;
    margin-left: auto;
    margin-right: 0;
  }

  .note-toggle img {
    opacity: 0;
    width: 100%;
    height: 100%;
  }

  html[dir="ltr"] .note-toggle {
    margin-left: 0;
    margin-right: auto;
  }

  .note-toggle::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 9px;
    width: 12px;
    height: 12px;
    border-right: 2px solid #c97a7a;
    border-bottom: 2px solid #c97a7a;
    box-sizing: border-box;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  .note-toggle[aria-expanded="true"]::before {
    transform: rotate(-135deg);
  }

  .note-toggle img.expanded {
    transform: none;
  }

  .note-tip-line {
    display: none;
  }

  .primary-action {
    margin-top: 39px;
  }

  .action-button {
    width: 348px;
    height: 42px;
    border-radius: 5px;
  }

  .action-button div {
    font-size: 22px;
    letter-spacing: -0.44px;
  }

  .action-button img {
    width: 30px;
    height: 30px;
  }

  #footer-placeholder {
    margin-top: 123px;
  }
}
