@font-face {
  font-family: "FintechFusion";
  src: url("/i/fonts/FintechFusion/FintechFusion-Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FintechFusion";
  src: url("/i/fonts/FintechFusion/FintechFusion-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FintechFusion";
  src: url("/i/fonts/FintechFusion/FintechFusion-SemiBold.ttf")
    format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FintechFusion";
  src: url("/i/fonts/FintechFusion/FintechFusion-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

.rate-lock-body {
  margin: 0;
  padding: 0;
  background: #f9fafb;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  .rate-lock-header {
    padding: 16px 0;

    .rate-lock-header__inner {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      padding: 0 8px;

      @media screen and (min-width: 768px) {
        gap: 16px;
      }
    }

    .rate-lock-header__logo {
      display: flex;
      align-items: center;
      text-decoration: none;

      img {
        width: 176px;
        height: 36px;
        display: block;
      }
    }

    .rate-lock-header__logo:focus-visible {
      outline: 2px solid #5e50e3;
      outline-offset: 3px;
      border-radius: 4px;
    }

    .rate-lock-header__trust {
      display: flex;
      align-items: center;
      gap: 16px;
      padding-left: 12px;
      border-left: 1px solid rgba(19, 22, 26, 0.1);

      @media screen and (min-width: 768px) {
        padding-left: 16px;
      }
    }

    .rate-lock-header__trust-icon {
      width: 36px;
      height: 36px;
      flex: none;
      color: rgba(19, 22, 26, 0.4);
    }

    .rate-lock-header__trust-text {
      margin: 0;
      max-width: 120px;
      font-weight: 500;
      font-size: 14px;
      line-height: 20px;
      color: rgba(19, 22, 26, 0.56);
    }
  }
}

.rate-lock {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2px;
  font-family:
    "FintechFusion",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;

  @media screen and (min-width: 768px) {
    padding: 0 4px;
  }

  @media screen and (min-width: 1280px) {
    max-width: 1200px;
    padding: 0 16px;
  }

  @media screen and (min-width: 1400px) {
    max-width: 1232px;
  }

  /* Hero */
  .rate-lock-hero {
    background-color: #5e50e3;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    height: 100%;

    @media screen and (min-width: 768px) {
      height: 500px;
    }

    @media screen and (min-width: 1024px) {
      height: auto;
    }

    .rate-lock-hero__content {
      padding: 40px 16px 0 16px;

      @media screen and (min-width: 768px) {
        padding: 40px 0px 40px 16px;
      }

      @media screen and (min-width: 1024px) {
        padding: 60px 0px 60px 40px;
      }

      .title {
        color: #fff;
        font-size: 32px;
        font-weight: 600;
        line-height: 40px;
        letter-spacing: 0px;
        margin-block: 0;
        width: 100%;
        text-align: center;

        @media screen and (min-width: 768px) {
          width: 470px;
          font-size: 48px;
          line-height: 56px;
          letter-spacing: -1px;
          text-align: left;
        }

        @media screen and (min-width: 1024px) {
          font-size: 64px;
          line-height: 72px;
          letter-spacing: -1.25px;
          width: 686px;
        }
      }

      .description {
        margin-top: 12px;
        margin-bottom: 0;
        color: #ffffffcc;
        font-size: 18px;
        font-weight: 500;
        line-height: 24px;
        letter-spacing: 0;
        max-width: 466px;
        text-align: center;

        strong {
          white-space: nowrap;
        }

        @media screen and (min-width: 768px) {
          margin-top: 20px;
          text-align: left;
        }

        @media screen and (min-width: 1280px) {
          max-width: 564px;
        }
      }
    }

    .rate-lock-hero__image {
      position: relative;
      margin-bottom: -6px;

      @media screen and (min-width: 768px) {
        position: absolute;
        right: 0;
        bottom: -6px;
      }

      img {
        width: 100%;
        height: 100%;

        @media screen and (min-width: 768px) {
          width: 480px;
        }

        @media screen and (min-width: 1024px) {
          width: 604px;
        }
      }
    }

    .rate-lock-hero__cta {
      display: block;
      align-items: center;
      justify-content: center;
      margin-top: 24px;
      margin-inline: auto;
      padding: 16px 52px;
      border-radius: 100vw;
      border: none;
      color: #fff;
      background-color: #dc2626;
      font-family: inherit;
      font-size: 18px;
      font-weight: 700;
      line-height: 24px;
      letter-spacing: 0;
      text-decoration: none;
      cursor: pointer;
      transition: background-color 0.3s ease;

      @media screen and (min-width: 768px) {
        display: inline-flex;
        margin-top: 40px;
      }

      &:hover {
        background-color: #b91c1c;
      }

      &:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 3px;
      }
    }
  }

  /* Benefits */
  .rate-lock-benefits {
    padding: 24px 16px;
    margin-top: 24px;
    background-color: #fff;
    border-radius: 32px;

    @media screen and (min-width: 768px) {
      margin-top: 32px;
    }

    @media screen and (min-width: 1024px) {
      padding: 40px;
      margin-top: 48px;
    }

    .rate-lock-benefits__grid {
      display: flex;
      flex-direction: column;
      align-items: start;
      justify-content: space-between;
      gap: 20px;

      @media screen and (min-width: 768px) {
        flex-direction: row;
        gap: 16px;
      }

      @media screen and (min-width: 1024px) {
        gap: 24px;
      }
    }

    .rate-lock-card {
      border-radius: 24px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .rate-lock-card--exchange {
      flex: 1;
      position: relative;
      height: 100%;

      .rate-lock-card__title {
        color: #13161a;
        font-size: 32px;
        font-weight: 600;
        line-height: 40px;
        letter-spacing: 0px;
        margin-block: 0;

        @media screen and (min-width: 1024px) {
          font-size: 48px;
          line-height: 56px;
          letter-spacing: -1px;
        }
      }

      .rate-lock-card__description {
        margin-top: 20px;
        max-width: 100%;
        min-height: 100%;
        border-radius: 20px 20px 0 0;
        padding: 24px 24px 0 24px;
        font-size: 20px;
        color: #13161a;
        font-weight: 500;
        background-color: #13161a0a;

        @media screen and (min-width: 768px) {
          padding: 24px;
          margin-top: 32px;
          max-width: 564px;
          min-height: 180px;
          border-radius: 20px;
        }
      }

      .rate-lock-card__text {
        max-width: 100%;
        margin-block: 0;

        @media screen and (min-width: 768px) {
          max-width: 368px;
        }

        @media screen and (min-width: 1024px) {
          max-width: 342px;
        }
      }

      .rate-lock-card__media {
        padding: 8px 24px 24px 0;
        margin-top: 0;
        margin-left: 0;
        width: 100%;
        text-align: right;
        background-color: #13161a0a;

        @media screen and (min-width: 768px) {
          padding: 0;
          margin-top: -48px;
          margin-left: 64px;
          text-align: left;
          background-color: transparent;
        }

        @media screen and (min-width: 1024px) {
          margin-top: -144px;
          margin-left: 120px;
        }

        img {
          width: 250px;
          height: auto;

          @media screen and (min-width: 768px) {
            width: 350px;
          }

          @media screen and (min-width: 1024px) {
            width: auto;
            height: auto;
          }
        }
      }
    }

    .rate-lock-card--volatility {
      background: #fff;
      max-width: 100%;
      background-color: #13161a0a;

      @media screen and (min-width: 768px) {
        max-width: 296px;
      }

      @media screen and (min-width: 1280px) {
        max-width: 400px;
      }

      .rate-lock-card__media {
        img {
          width: 100%;
          height: 188px;
          background-color: #13161a0a;

          @media screen and (min-width: 768px) {
            height: 172px;
          }

          @media screen and (min-width: 1280px) {
            height: 232px;
          }
        }
      }

      .rate-lock-card__content {
        padding: 19px 24px 24px 24px;
        border-radius: 20px;

        .rate-lock-card__title {
          color: #13161a;
          font-size: 24px;
          font-weight: 600;
          line-height: 32px;
          letter-spacing: 0;
          margin-block: 0;
        }

        .rate-lock-card__description {
          margin-top: 12px;
          margin-bottom: 0;
          color: #13161ab8;
          font-weight: 500;
          font-size: 18px;
          line-height: 24px;
          letter-spacing: 0;
        }
      }
    }
  }

  /* Compare */
  .rate-lock-compare {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    padding-inline: 16px;
    padding-block: 24px;
    gap: 0;
    margin-top: 24px;
    background: #fff;
    border-radius: 32px;
    overflow: hidden;

    @media screen and (min-width: 768px) {
      margin-top: 32px;
      flex-direction: row;
    }

    @media screen and (min-width: 1024px) {
      padding-right: 40px;
      padding-left: 0px;
      padding-block: 0px;
      margin-top: 48px;
    }

    @media screen and (min-width: 1280px) {
      gap: 24px;
      margin-top: 20px;
    }

    .rate-lock-compare__image {
      width: auto;
      height: 100%;
      margin-left: 0;
      margin-top: 24px;
      display: block;

      @media screen and (min-width: 768px) {
        display: none;
      }

      @media screen and (min-width: 1024px) {
        display: block;
        height: 612px;
        margin-top: 0;
        margin-left: -86px;
      }

      @media screen and (min-width: 1280px) {
        width: 408px;
        height: 564px;
        margin-left: 0;
      }

      img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .rate-lock-compare__badge--mobile {
        display: flex;
        align-items: center;
        padding: 12px 20px 12px 56px;
        gap: 10px;
        position: relative;
        background: #c6e350;
        border-radius: 16px;
        width: 100%;
        margin-left: 20px;

        @media screen and (min-width: 768px) {
          display: none;
        }

        .rate-lock-compare__badge-icon {
          position: absolute;
          left: -56px;
          top: 50%;
          transform: translateY(-50%);
          width: 112px;
          height: 112px;
        }

        .rate-lock-compare__badge-text {
          font-weight: 600;
          font-size: 18px;
          line-height: 24px;
          color: #13161a;
        }
      }
    }

    .rate-lock-compare__body {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 24px;
      flex: 1;
      min-width: 640px;

      @media screen and (min-width: 768px) {
        gap: 32px;
      }

      @media screen and (min-width: 1280px) {
        min-width: auto;
      }
    }

    .rate-lock-compare__title {
      width: 100%;
      margin: 0;
      font-weight: 600;
      font-size: 32px;
      line-height: 40px;
      text-align: center;
      letter-spacing: 0px;
      color: #13161a;

      @media screen and (min-width: 1024px) {
        font-size: 48px;
        line-height: 56px;
        letter-spacing: -1px;
      }
    }

    .rate-lock-compare__table-wrap {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 24px;
      width: 100%;
    }

    .rate-lock-compare__table {
      display: flex;
      flex-direction: column;
      width: 100%;
      background: rgba(19, 22, 26, 0.02);
      border-radius: 24px;
      overflow: hidden;
    }

    .rate-lock-compare__row {
      display: flex;
      align-items: center;
      padding: 18px 20px;
      gap: 4px;
      border-bottom: 1px solid transparent;
      border-image: linear-gradient(
          90deg,
          #13161a00 0%,
          #13161a1e 10%,
          #13161a1e 90%,
          #13161a00 100%
        )
        1;

      &:first-child,
      &:last-child {
        border: none;
      }

      @media screen and (min-width: 1280px) {
        padding: 20px;
      }
    }

    .rate-lock-compare__row--head {
      padding: 12px 20px;
      background: rgba(19, 22, 26, 0.04);
    }

    .rate-lock-compare__cell {
      font-size: 18px;
      font-weight: 400;
      line-height: 24px;
      color: #13161a;
    }

    .rate-lock-compare__cell--label {
      width: 200px;
      color: rgba(19, 22, 26, 0.72);
      display: none;

      @media screen and (min-width: 768px) {
        display: block;
      }
    }

    .rate-lock-compare__row--head .rate-lock-compare__cell--normal,
    .rate-lock-compare__row--head .rate-lock-compare__cell--ratelock {
      display: flex;
      flex-direction: column;
      justify-content: center;
      flex: 1;
    }

    .rate-lock-compare__cell--normal .rate-lock-compare__col-title {
      font-weight: 500;
      font-size: 18px;
      line-height: 24px;
      color: #13161a;
    }

    .rate-lock-compare__cell--normal .rate-lock-compare__col-sub {
      font-weight: 500;
      font-size: 14px;
      line-height: 20px;
      color: rgba(19, 22, 26, 0.72);
    }

    .rate-lock-compare__cell--ratelock .rate-lock-compare__col-title {
      font-weight: 600;
      font-size: 18px;
      line-height: 24px;
      color: #5e50e3;
    }

    .rate-lock-compare__cell--ratelock .rate-lock-compare__col-sub {
      font-weight: 500;
      font-size: 14px;
      line-height: 20px;
      color: #5e50e3;
    }

    .rate-lock-compare__row:not(.rate-lock-compare__row--head)
      .rate-lock-compare__cell:not(.rate-lock-compare__cell--label) {
      flex: 1;
    }

    @media screen and (max-width: 767px) {
      .rate-lock-compare__body {
        min-width: 0;
      }

      .rate-lock-compare__table-wrap {
        align-items: stretch;
      }

      .rate-lock-compare__table {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        border-radius: 24px;
      }

      .rate-lock-compare__row {
        border: none;
        border-image: none;
      }

      .rate-lock-compare__row--head {
        flex-direction: row;
        align-items: center;
        padding: 12px 8px;
        gap: 4px;
        text-align: center;
        background: transparent;
      }

      .rate-lock-compare__row--head .rate-lock-compare__cell--normal,
      .rate-lock-compare__row--head .rate-lock-compare__cell--ratelock {
        flex: 1;
        min-width: 0;
      }

      .rate-lock-compare__row:not(.rate-lock-compare__row--head) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 8px;
        row-gap: 0;
        padding: 0;
        align-items: stretch;
      }

      .rate-lock-compare__row:not(.rate-lock-compare__row--head)
        .rate-lock-compare__cell--label {
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        width: 100%;
        margin: 0;
        padding: 6px 0;
        background: rgba(19, 22, 26, 0.04);
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        color: rgba(19, 22, 26, 0.72);
        text-align: center;
        grid-column: 1 / -1;
      }

      .rate-lock-compare__row:not(.rate-lock-compare__row--head)
        .rate-lock-compare__cell:not(.rate-lock-compare__cell--label) {
        box-sizing: border-box;
        min-width: 0;
        padding: 12px 8px;
        font-weight: 400;
        font-size: 15px;
        line-height: 20px;
        color: #13161a;
        text-align: center;
        overflow-wrap: break-word;
      }

      /* «Вывод средств» — акцентный текст в обеих колонках */
      .rate-lock-compare__row:nth-child(4)
        .rate-lock-compare__cell:not(.rate-lock-compare__cell--label) {
        font-weight: 600;
      }
    }

    /* Compare table: 640px Figma grid from tablet through large desktop (768px+). Mobile (≤767) unchanged. */
    @media screen and (min-width: 768px) {
      .rate-lock-compare__table-wrap {
        align-items: center;
      }

      .rate-lock-compare__table {
        display: grid;
        grid-template-columns: 201px minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 12px;
        row-gap: 0;
        width: 100%;
        margin-inline: auto;
        background: transparent;
        border-radius: 0;
        overflow: visible;
      }

      .rate-lock-compare__row {
        display: contents;
        padding: 0;
        border: none;
        border-image: none;
        gap: 0;
      }

      .rate-lock-compare__row:first-child,
      .rate-lock-compare__row:last-child {
        border: none;
      }

      .rate-lock-compare__cell {
        box-sizing: border-box;
      }

      .rate-lock-compare__row--head {
        background: transparent;
        padding: 0;
      }

      .rate-lock-compare__row--head .rate-lock-compare__cell--label {
        display: flex;
        align-items: center;
        justify-content: start;
        min-height: 56px;
        padding: 0 12px;
        width: auto;
        color: rgba(19, 22, 26, 0.5);
        font-weight: 400;
        font-size: 18px;
        line-height: 24px;
      }

      .rate-lock-compare__row--head .rate-lock-compare__cell--normal {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 56px;
        padding: 0 12px;
        background: rgba(19, 22, 26, 0.06);
        border-radius: 12px 12px 0 0;
      }

      .rate-lock-compare__row--head
        .rate-lock-compare__cell--normal
        .rate-lock-compare__col-title {
        font-weight: 500;
        font-size: 18px;
        line-height: 24px;
        color: #13161a;
        text-align: center;
      }

      .rate-lock-compare__row--head
        .rate-lock-compare__cell--normal
        .rate-lock-compare__col-sub {
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
        color: #13161a;
        text-align: center;
        min-width: 0;
        overflow-wrap: break-word;
      }

      .rate-lock-compare__row--head .rate-lock-compare__cell--ratelock {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 56px;
        padding: 12px;
        background: #5e50e3;
        border-radius: 12px 12px 0 0;
      }

      .rate-lock-compare__row--head
        .rate-lock-compare__cell--ratelock
        .rate-lock-compare__col-title {
        font-weight: 600;
        font-size: 18px;
        line-height: 24px;
        color: #fff;
        text-align: center;
      }

      .rate-lock-compare__row--head
        .rate-lock-compare__cell--ratelock
        .rate-lock-compare__col-sub {
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
        color: #fff;
        text-align: center;
        min-width: 0;
        overflow-wrap: break-word;
      }

      .rate-lock-compare__row--head .rate-lock-compare__cell--normal,
      .rate-lock-compare__row--head .rate-lock-compare__cell--ratelock {
        min-width: 0;
      }

      .rate-lock-compare__row:not(.rate-lock-compare__row--head)
        .rate-lock-compare__cell--label {
        display: flex;
        align-items: center;
        justify-content: start;
        min-height: 64px;
        padding: 20px 12px;
        width: auto;
        color: rgba(19, 22, 26, 0.5);
        font-weight: 400;
        font-size: 18px;
        line-height: 24px;
        text-align: center;
      }

      .rate-lock-compare__row:not(.rate-lock-compare__row--head)
        .rate-lock-compare__cell--normal,
      .rate-lock-compare__row:not(.rate-lock-compare__row--head)
        .rate-lock-compare__cell--ratelock {
        display: block;
        box-sizing: border-box;
        min-width: 0;
        min-height: 64px;
        padding: 20px 12px;
        background: rgba(19, 22, 26, 0.02);
        font-weight: 500;
        font-size: 18px;
        line-height: 24px;
        color: #13161a;
        text-align: center;
        overflow-wrap: break-word;
      }

      .rate-lock-compare__row:not(.rate-lock-compare__row--head)
        .rate-lock-compare__cell--ratelock {
        background: rgba(37, 99, 235, 0.08);
      }

      @media screen and (min-width: 768px) and (max-width: 1023px) {
        .rate-lock-compare__row:not(.rate-lock-compare__row--head)
          .rate-lock-compare__cell--normal,
        .rate-lock-compare__row:not(.rate-lock-compare__row--head)
          .rate-lock-compare__cell--ratelock {
          font-size: 16px;
          line-height: 22px;
          padding: 16px 10px;
        }
      }

      .rate-lock-compare__row:nth-child(3) .rate-lock-compare__cell,
      .rate-lock-compare__row:nth-child(4) .rate-lock-compare__cell,
      .rate-lock-compare__row:nth-child(5) .rate-lock-compare__cell {
        border-top: 1px solid rgba(19, 22, 26, 0.08);
      }

      .rate-lock-compare__row:nth-child(5) .rate-lock-compare__cell--normal {
        border-radius: 0 0 12px 12px;
      }

      .rate-lock-compare__row:nth-child(5) .rate-lock-compare__cell--ratelock {
        border-radius: 0 0 12px 12px;
      }

      .rate-lock-compare__row:not(.rate-lock-compare__row--head)
        .rate-lock-compare__cell
        strong {
        color: #15803d;
        font-weight: 500;
      }
    }

    .rate-lock-compare__badge {
      display: none;
      align-items: center;
      padding: 12px 20px 12px 56px;
      gap: 10px;
      position: relative;
      background: #c6e350;
      border-radius: 16px;
      width: fit-content;

      @media screen and (min-width: 768px) {
        display: flex;
      }

      .rate-lock-compare__badge-icon {
        position: absolute;
        left: -56px;
        top: 50%;
        transform: translateY(-50%);
        width: 112px;
        height: 112px;
      }

      .rate-lock-compare__badge-text {
        font-weight: 600;
        font-size: 18px;
        line-height: 24px;
        color: #13161a;
      }
    }
  }

  /* Features */
  .rate-lock-features {
    margin-top: 24px;
    padding: 24px 16px;
    background: #fff;
    border-radius: 32px;

    @media screen and (min-width: 768px) {
      margin-top: 32px;
    }

    @media screen and (min-width: 1024px) {
      padding: 40px;
      margin-top: 48px;
    }

    @media screen and (min-width: 1280px) {
      margin-top: 20px;
    }

    .rate-lock-features__title {
      margin: 0;
      font-weight: 600;
      font-size: 32px;
      line-height: 40px;
      letter-spacing: 0px;
      color: #13161a;

      @media screen and (min-width: 1024px) {
        font-size: 48px;
        line-height: 56px;
        letter-spacing: -1px;
      }
    }

    .rate-lock-features__grid {
      display: grid;
      grid-template-columns: 1fr;
      grid-template-areas: "item1" "item2" "item3";
      align-items: center;
      gap: 24px;
      margin-top: 24px;

      @media screen and (min-width: 768px) {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
          "item1 item3"
          "item2 item2";
        gap: 16px;
      }

      @media screen and (min-width: 1024px) {
        gap: 24px;
        grid-template-columns: 1.72fr 1.35fr 1fr;
        grid-template-areas: "item1 item2 item3";
        margin-top: 32px;
      }
    }

    .rate-lock-features__card-main {
      position: relative;
      display: flex;
      border-radius: 24px;
      overflow: hidden;
      grid-area: item1;
    }

    .rate-lock-features__card-main-bg {
      width: 100%;
      height: 440px;
      object-fit: cover;

      @media screen and (min-width: 1024px) {
        height: 504px;
      }

      @media screen and (min-width: 1280px) {
        height: auto;
      }
    }

    .rate-lock-features__card-main-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 24px;
      gap: 8px;
      background: rgba(19, 22, 26, 0.56);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }

    .rate-lock-features__card-main-title {
      margin: 0;
      font-weight: 600;
      font-size: 24px;
      line-height: 32px;
      color: #fff;
    }

    .rate-lock-features__card-main-text {
      margin: 0;
      font-weight: 500;
      font-size: 18px;
      line-height: 24px;
      color: #fff;
    }

    .rate-lock-features__col-mid {
      display: flex;
      flex-direction: column;
      gap: 24px;
      grid-area: item2;

      @media screen and (min-width: 768px) {
        flex-direction: row;
        gap: 16px;
      }

      @media screen and (min-width: 1024px) {
        flex-direction: column;
        gap: 24px;
      }
    }

    .rate-lock-features__mini {
      display: flex;
      flex-direction: column;
      padding: 24px;
      gap: 16px;
      background: rgba(19, 22, 26, 0.04);
      border-radius: 24px;
      flex: 1;
    }

    .rate-lock-features__mini-icon {
      width: 60px;
      height: 60px;
      flex: none;
    }

    .rate-lock-features__mini-body {
      display: flex;
      flex-direction: column;
      gap: 8px;
      max-width: 248px;

      @media screen and (min-width: 1280px) {
        max-width: 100%;
      }
    }

    .rate-lock-features__mini-title {
      margin: 0;
      font-weight: 600;
      font-size: 24px;
      line-height: 32px;
      color: #13161a;
    }

    .rate-lock-features__mini-text {
      margin: 0;
      font-weight: 500;
      font-size: 18px;
      line-height: 24px;
      color: rgba(19, 22, 26, 0.72);
    }

    .rate-lock-features__card-side {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      padding: 24px;
      gap: 24px;
      background: rgba(19, 22, 26, 0.04);
      border-radius: 24px;
      height: 440px;
      grid-area: item3;

      @media screen and (min-width: 1024px) {
        height: 504px;
      }

      @media screen and (min-width: 1280px) {
        height: auto;
      }
    }

    .rate-lock-features__card-side-body {
      display: flex;
      flex-direction: column;
      gap: 8px;
      width: 100%;
    }

    .rate-lock-features__card-side-title {
      margin: 0;
      font-weight: 600;
      font-size: 24px;
      line-height: 32px;
      color: #13161a;
    }

    .rate-lock-features__card-side-text {
      margin: 0;
      font-weight: 500;
      font-size: 18px;
      line-height: 24px;
      color: rgba(19, 22, 26, 0.72);
    }

    .rate-lock-features__card-side-img {
      width: 100%;
      height: 100%;
      max-height: 280px;
      object-fit: cover;
      border-radius: 20px;
      align-self: stretch;

      @media screen and (min-width: 1024px) {
        max-height: 100%;
      }
    }
  }

  /* Accounts */
  .rate-lock-accounts {
    margin-top: 24px;
    padding: 24px 16px;
    background: #fff;
    border-radius: 32px;

    @media screen and (min-width: 768px) {
      margin-top: 32px;
    }

    @media screen and (min-width: 1024px) {
      padding: 40px;
      margin-top: 48px;
    }

    @media screen and (min-width: 1280px) {
      margin-top: 20px;
    }

    .rate-lock-accounts__title {
      margin: 0;
      font-weight: 600;
      font-size: 32px;
      line-height: 40px;
      letter-spacing: 0px;
      color: #13161a;
      text-align: center;

      @media screen and (min-width: 1024px) {
        font-size: 48px;
        line-height: 56px;
        letter-spacing: -1px;
        text-align: left;
      }
    }

    .rate-lock-accounts__carousel {
      margin-top: 24px;

      @media screen and (min-width: 1024px) {
        margin-top: 32px;
      }
    }

    .rate-lock-accounts__grid {
      display: flex;
      flex-wrap: nowrap;
      gap: 20px;
      margin: 0;
      padding: 4px 2px 8px;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x proximity;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      overscroll-behavior-x: contain;

      @media (prefers-reduced-motion: reduce) {
        scroll-behavior: auto;
      }

      &::-webkit-scrollbar {
        display: none;
      }

      &:focus-visible {
        outline: 2px solid #5e50e3;
        outline-offset: 4px;
        border-radius: 12px;
      }

      @media screen and (min-width: 1024px) {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        padding: 0;
        overflow: visible;
        scroll-snap-type: none;
        scroll-behavior: auto;
      }
    }

    .rate-lock-accounts__dots {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      margin-top: 24px;

      @media screen and (min-width: 1024px) {
        display: none;
      }
    }

    .rate-lock-accounts__dot {
      width: 12px;
      height: 12px;
      padding: 0;
      border: none;
      border-radius: 50%;
      background: #e0e0e0;
      cursor: pointer;
      transition:
        background 0.2s ease,
        transform 0.2s ease;

      &:hover {
        background: #c8c8c8;
      }

      &:focus-visible {
        outline: 2px solid #5e50e3;
        outline-offset: 3px;
      }

      &.is-active {
        background: #5e50e3;
      }
    }

    .rate-lock-accounts__card {
      position: relative;
      display: flex;
      flex-direction: column;
      /* ~1.1 cards visible: two full gaps in that span (20px + 20px) */
      flex: 0 0 calc((100% - 40px) / 1.1);
      min-width: calc((100% - 40px) / 1.1);
      max-width: calc((100% - 40px) / 1.1);
      border-radius: 24px;
      background: #f7f7f7;
      overflow: hidden;
      isolation: isolate;
      box-shadow: 0 4px 24px rgba(19, 22, 26, 0.07);
      scroll-snap-align: start;
      scroll-margin-inline: 2px;

      @media screen and (min-width: 768px) {
        /* ~2.5 cards visible: two full gaps in that span (20px + 20px) */
        flex: 0 0 calc((100% - 40px) / 2.25);
        min-width: calc((100% - 40px) / 2.2);
        max-width: calc((100% - 40px) / 2.2);
      }

      @media screen and (min-width: 1024px) {
        flex: 1;
        min-width: 0;
        max-width: none;
        scroll-snap-align: unset;
        scroll-margin-inline: 0;
      }
    }

    .rate-lock-accounts__card--recommended {
      background: #f0f4ff;
    }

    .rate-lock-accounts__card-badge {
      position: absolute;
      right: 14px;
      top: 14px;
      z-index: 3;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 6px 12px;
      background: #cddc39;
      border-radius: 9999px;
      font-weight: 600;
      font-size: 14px;
      line-height: 18px;
      color: #13161a;
    }

    .rate-lock-accounts__card-image {
      position: relative;
      width: 100%;
      height: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      flex-shrink: 0;

      &::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background:
          radial-gradient(
            120% 65% at 50% 100%,
            rgba(255, 255, 255, 0.92) 0%,
            rgba(255, 255, 255, 0) 58%
          ),
          linear-gradient(
            180deg,
            rgba(255, 255, 255, 0) 35%,
            rgba(255, 255, 255, 0.45) 100%
          );
      }

      img {
        position: relative;
        z-index: 1;
        width: 100%;
        height: auto;
        object-fit: cover;
      }
    }

    .rate-lock-accounts__card--recommended .rate-lock-accounts__card-image {
      &::after {
        background:
          radial-gradient(
            120% 65% at 50% 100%,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0) 55%
          ),
          linear-gradient(
            180deg,
            rgba(255, 255, 255, 0) 32%,
            rgba(147, 197, 253, 0.35) 100%
          );
      }
    }

    .rate-lock-accounts__card-body {
      display: flex;
      flex-direction: column;
      padding: 24px;
      gap: 16px;
      z-index: 1;
      flex: 1;
    }

    .rate-lock-accounts__card-name {
      margin: 0;
      font-weight: 700;
      font-size: 22px;
      line-height: 28px;
      color: #13161a;

      @media screen and (min-width: 1024px) {
        font-size: 24px;
        line-height: 32px;
      }
    }

    .rate-lock-accounts__card-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 10px;
      width: 100%;
    }

    .rate-lock-accounts__card-list li {
      display: flex;
      align-items: flex-start;
      gap: 10px;

      svg {
        flex: none;
        width: 22px;
        height: 22px;
        margin-top: 2px;
      }

      span {
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        color: rgba(19, 22, 26, 0.68);

        @media screen and (min-width: 1024px) {
          font-size: 18px;
          line-height: 24px;
        }
      }
    }
  }

  /* CTA */
  .rate-lock-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 24px;
    height: 100%;
    background: #5e50e3;
    border-radius: 32px;
    overflow: hidden;

    @media screen and (min-width: 768px) {
      flex-direction: row;
      margin-top: 32px;
      margin-bottom: 40px;
      height: 400px;
    }

    @media screen and (min-width: 1024px) {
      margin-top: 48px;
    }

    @media screen and (min-width: 1280px) {
      margin-top: 20px;
    }

    .rate-lock-cta__content {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      max-width: 400px;
      padding: 24px 16px 8px 16px;

      @media screen and (min-width: 768px) {
        padding: 32px 0 32px 16px;
      }

      @media screen and (min-width: 1024px) {
        max-width: 560px;
        padding: 40px 0 40px 40px;
      }

      @media screen and (min-width: 1280px) {
        max-width: 662px;
      }
    }

    .rate-lock-cta__title {
      width: 100%;
      margin: 0;
      font-weight: 600;
      font-size: 32px;
      line-height: 40px;
      letter-spacing: 0px;
      color: #fff;

      @media screen and (min-width: 1024px) {
        width: 560px;
        font-size: 48px;
        line-height: 56px;
        letter-spacing: -1px;
      }
    }

    .rate-lock-cta__points {
      list-style: none;
      margin: 0;
      padding: 0;
      padding-left: 8px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      margin-block: 20px 40px;

      li {
        position: relative;
        padding-left: 16px;
        font-weight: 500;
        font-size: 18px;
        line-height: 24px;
        color: #fff;

        &::before {
          content: "";
          position: absolute;
          left: 0;
          top: 9px;
          width: 6px;
          height: 6px;
          border-radius: 50%;
          background: #fff;
        }
      }
    }

    .rate-lock-cta__button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 24px;
      height: 56px;
      background: #dc2626;
      border: 1px solid rgba(19, 22, 26, 0.06);
      border-radius: 9999px;
      font-family: inherit;
      font-weight: 700;
      font-size: 18px;
      line-height: 24px;
      color: #fff;
      text-decoration: none;
      cursor: pointer;
      transition: background-color 0.3s ease;

      &:hover {
        background-color: #b91c1c;
      }

      &:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 3px;
      }
    }

    .rate-lock-cta__image {
      width: 100%;
      height: 284px;

      @media screen and (min-width: 768px) {
        width: 456px;
        height: 400px;
      }

      img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;

        @media screen and (min-width: 768px) {
          object-position: left;
        }
      }
    }
  }
}

/* Modal */
.rl-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  /* Above site sticky footers / cookie bars that often use z-index in the ~1e5 range */
  z-index: 999990;
  background: rgba(0, 0, 0, 0.4);
  align-items: center;
  justify-content: center;
  font-family:
    "FintechFusion",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}

.rl-modal-overlay.is-active {
  display: flex;
}

.rl-modal {
  position: relative;
  width: 564px;
  max-height: 90vh;
  overflow-y: auto;
  pointer-events: auto;
  background: #fff;
  border-radius: 32px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  box-sizing: border-box;
  animation: rlModalIn 0.25s ease-out;
}

@keyframes rlModalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.rl-modal__close {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.15s;

  &:hover {
    background: rgba(19, 22, 26, 0.06);
  }

  &:focus-visible {
    outline: 2px solid #5e50e3;
    outline-offset: 2px;
  }
}

.rl-modal__title {
  margin: 0;
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  text-align: center;
  color: #13161a;
}

.rl-modal__form-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.rl-modal__success-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

/* [hidden] loses to .rl-modal__*{display:flex} without equal/higher specificity */
.rl-modal__form-step[hidden],
.rl-modal__success-step[hidden] {
  display: none !important;
}

.rl-modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.rl-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rl-modal__input {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: rgba(19, 22, 26, 0.06);
  border: 1px solid rgba(19, 22, 26, 0.06);
  box-shadow: inset 1.5px 3px 3px rgba(19, 22, 26, 0.06);
  border-radius: 16px;
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #13161a;
  outline: none;
  transition: border-color 0.15s;

  &::placeholder {
    color: rgba(19, 22, 26, 0.56);
  }

  &:focus {
    border-color: #5e50e3;
  }
}

.rl-modal__hint {
  margin: 0;
  padding: 0 16px;
  font-weight: 500;
  font-size: 13px;
  line-height: 18px;
  color: rgba(19, 22, 26, 0.56);
}

.rl-modal__flag {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.rl-modal__dropdown {
  position: relative;
  z-index: 1;
}

.rl-modal__dropdown.is-open {
  z-index: 6;
}

.rl-modal__dropdown-trigger {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: rgba(19, 22, 26, 0.06);
  border: 1px solid rgba(19, 22, 26, 0.04);
  border-radius: 16px;
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #13161a;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s;

  &:focus-visible {
    border-color: #5e50e3;
  }
}

.rl-modal__dropdown-text {
  flex: 1;
  text-align: left;
}

.rl-modal__dropdown-arrow {
  flex: none;
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
}

.rl-modal__dropdown.is-open .rl-modal__dropdown-arrow {
  transform: rotate(180deg);
}

/* Panel width is set in JS when open (trigger width; phone opener uses a wider minimum). */

.rl-modal__dropdown-panel {
  display: none;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(19, 22, 26, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(19, 22, 26, 0.12);
  overflow: hidden;
  z-index: 999999;
}

.rl-modal__dropdown-panel.is-open {
  display: flex;
  flex-direction: column;
}

.rl-modal__dropdown-search {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border: none;
  border-bottom: 1px solid rgba(19, 22, 26, 0.06);
  font-family: inherit;
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  color: #13161a;
  outline: none;
  background: transparent;

  &::placeholder {
    color: rgba(19, 22, 26, 0.4);
  }
}

.rl-modal__dropdown-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  max-height: 220px;
  overflow-y: auto;

  li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: #13161a;
    transition: background 0.1s;

    &:hover {
      background: rgba(19, 22, 26, 0.04);
    }

    img {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      object-fit: cover;
      flex: none;
    }
  }

  li[hidden] {
    display: none;
  }
}

.rl-modal__phone-row {
  display: flex;
  gap: 8px;
}

.rl-modal__phone-code {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 48px;
  flex: none;
  min-width: 138px;
  background: rgba(19, 22, 26, 0.06);
  border: 1px solid rgba(19, 22, 26, 0.06);
  box-shadow: inset 1.5px 3px 3px rgba(19, 22, 26, 0.06);
  border-radius: 16px;
  cursor: pointer;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;

  &:focus-visible {
    border-color: #5e50e3;
  }
}

.rl-modal__phone-chevron {
  flex: none;
  width: 24px;
  height: 24px;
}

.rl-modal__phone-prefix {
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #13161a;
}

.rl-modal__input--phone {
  flex: 1;
}

.rl-modal__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.rl-modal__terms {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 0 16px;
  cursor: pointer;
}

.rl-modal__terms-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Validation message: only below the checkbox + terms row. */
.rl-modal__terms > .rl-modal__error {
  margin-top: 0;
  padding: 0;
  padding-left: calc(22px + 12px);
}

.rl-modal__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.rl-modal__checkmark {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #13161a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  margin-top: 1px;
}

.rl-modal__checkbox:not(:checked) ~ .rl-modal__terms-row .rl-modal__checkmark {
  background: rgba(19, 22, 26, 0.12);

  svg {
    display: none;
  }
}

.rl-modal__checkbox:focus-visible ~ .rl-modal__terms-row .rl-modal__checkmark {
  outline: 2px solid #5e50e3;
  outline-offset: 2px;
}

.rl-modal__terms-text {
  flex: 1;
  min-width: 0;
  font-weight: 500;
  font-size: 13px;
  line-height: 18px;
  color: rgba(19, 22, 26, 0.56);

  a {
    color: #5e50e3;
    text-decoration: none;

    &:hover {
      text-decoration: underline;
    }
  }
}

.rl-modal__submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  background: #dc2626;
  border: 1px solid rgba(19, 22, 26, 0.06);
  border-radius: 9999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;

  &:hover:not(:disabled) {
    background-color: #b91c1c;
  }

  &:focus-visible {
    outline: 2px solid #5e50e3;
    outline-offset: 3px;
  }

  &:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
}

.rl-modal__submit-label {
  pointer-events: none;
}

/* Same preloader as gold-promo modal (trump-melania / account-activate-form__button) */
.rl-modal .preloader_white_mini {
  position: relative;
  z-index: 9;
  display: none;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  font-style: normal;
}

.rl-modal .preloader_white_mini.active {
  display: block;
}

.rl-modal .preloader_white_mini::before,
.rl-modal .preloader_white_mini::after {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  content: "";
}

.rl-modal .preloader_white_mini::before {
  background: url(data:image%2Fpng;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6%2FNlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABXpJREFUeNrkm22IVFUYx8%2FMjovFuBK15aZJia69Uu6uuV9MSwgKsZTovT6W1IfCVSgUpBJ6gU2zN7IaQ7I3IxNbgiCzzNrKisrMpLAk2jfNt43VsZ3p%2F3T%2F0eXOOXfmXu+duScP%2FEDvzDnn+c+55zzPec7ZdLFYVFVibdFc1lbLjrQ6wUoUgjPgLnB1jHbOYR+ZWgu+HHwDngZPgZExiJU2V7CPr8DMWgieCN4Cm8D5fHYOuDcGwYvYtpSLwAfse2Ko1gJO+nrwMDhqWHwOgzP53RRoAXeD1aDfZ9HqAzl+t4V1pY2xbFNXhsAyMCKIhn8aDlBS4BPQ7vOdDeBncB2o51vwBdgJfgF9YAgcAaeAM8AEcB6YxmnyJ3gTTAazffraCqbLuMU1wkIbKPiM1gHwJLjUNVJBSLHucvCHTz%2FDtCVQ+2H92UsaA3rAAnByhH4zCxaCXk1%2FuTBthjVkjGtu5cFjNC6ugEHa7gTH2OdB2hC4rbB+bRDsAllwK+donEX66wCvkv18FplbqucCpSuyyHwEfgdtVRDrLttAK+gFH4LTfRbX+iCCH6K%2Fm+J53siOpONrweEaRIeHwFzwNW1p9HwuNn8MHqh0lZ4EjrhWwhdBE+fRt2BVyNU3alK0pZsLZRNtHabtomFCJX74bXCN59kBzll5leaB4YTsBeoYdTXRj2c1Wub6jfCVPn5vFxiVgJH1Mhr85GP3LNP2UFbsTsMv+Re4qUZztlw5CG6gjbqywr3LcguW7deFhkrLwZcJ3uaKbSsNn4mmO3WCd4M9mgoS+z5owd5+KdcYb9nDGL5E8EZwLljiceqPhHXyVS6Dnik5SC2iqavc5mEc6AL7Yw4Z4whBZcOxkW6q4tDyN74Guy0ZXfeovs4FrCdIpJXmfvYVC%2FN0a2h7OojgNgYX3RYK7qYbag0ieAY3CAULBRe5D5geRLD8Op9ZnH7uNo2wDP0bmudXgNUWC5b82f06bbJ5MCXAJnPDYGNpBj8GzUsPWDzCA2ES8YMWCz4URnBB%2FQ+Ln+AGi3U1hBHcaLFgo+3iltYZ3NIki1dpOWjbywCkRPD1mgqv0S11WSpYtoTvgVsqfaUlg9Bu8Ss9zZShMQmWfK+c4qUsFJvilNwSRPA2uqV2S0e3EHSEpYKcz95moeDbGUMXggg+C5wNblSlye0klyxtFtubKhF8ElgMdijnVo6c0M+3SPB82jybLnUxNbl2y%2F8luOaBXw0H3VlLEng9GvtF0xzdycM4MF7zq41RppO4ZJWltNVbxlNbyQhnwHbD+YycvLcmeHSnuG4HeMt31FYywpLaXOATgkr6c3QCR3aUcrKrppTzPcp17uRdtCQc26CpJMel+5STAq1LkFix5WXlXHPS7d%2FluHRTObckN9+OuvxxTjm37WYp50bccwmJwMSGZ5VzBeMypnVyLv8rGjpKahnmxKNgM+eG+3kj2AleAHU1nLN1tOEH2uSdz1t5Y7Dim3hyIeSY0t9wk1%2F0XeUcx9xcg1RQA1%2FjseAq0G8Y%2FREgX2mklVfm63x9fIWkQ7nB01JFsW2M8yWKmmEQq2h7PmjGo9zK2Mx9pyTsO2MOQbPs41MmJppD9xfx1cOOiKOyLNvsqeXVw6llLpfuiFDw51FfLk2HcAUry7ilPsPzS5g2Ok05t9xH8t%2FybKqhTn+ZjOsTQV1kUMGy8m02LQj0gYsMny1TzpmPnAoMkQE+e9xQ5z5lvp2TZ5IuE6dg6UQOqS4A6zWfr+EqGlXZDp7XPF9PG5bQfca+aP2LXPr6vsIrve%2F4zMctPvVOdV0Ul83NzOOx+Xj%2FLOZ9cDG4g%2F%2FvjcElSQy%2FkHN+lc8rXlHJRGCQGPBMzAFHLqqGTri%2FTPtbgAEA1EZTrD32jtkAAAAASUVORK5CYII=)
    no-repeat;
  background-size: cover;
  animation-name: rl-modal-preloader-spin;
  animation-duration: 6s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.rl-modal .preloader_white_mini::after {
  background: url(data:image%2Fpng;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6%2FNlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABBhJREFUeNrsm2tIFFEUx2fNoELSwIq+iJWhRA%2FSBKnFtTAqqA+VXyoikiAQDIsgJPpURgQlIfWpIoLsgdqnykhitQdF+SpQexj2oswgi1722v6XPQsSzsx9zczuugd+sO7MnHP%2F48y995x71xcKhYzRZEnGKLOE4IRgZyyVcN2SHfTtA%2FPBYrAQzAMzQNp%2F5w2C56ATtILb9NmR3tTnQC+dCzaCEpAh6eMFqAPn6CboMyZYE8UgGNJvQfKtpZ063uEscAVcBwEHnsIA+b5KsTzrtNg7WgEegZUu9DcrKNYOiu2q4BRQD6rBOBc7WRbrCL3fKW4JngqCYI2Hw+laasMUp4elyaAZZEs29AM4C9qH9egbQLqErzxqSyEYcKKXTgEPFXrbOpA2gl%2F2Xb2C37tgAq8OXrE+xUY1gzEW%2FseCmwr+66mN2oalcnpvZI315n8sjv+ic1Te6XJdM60sGg5ke+M+MF1ghiU7O%2FsB5oJnqr10jeLQ81rg3FeKQ1aN6rBUTAO+iqU7dK7Z5KRYRfAei2NfORuRzflIzxQY7r5bHNsrKzgfFFkcZ9lQlU3wyBS0ikPEAU6hVTYdaCGlo8Lj8DGbocBP52WACxxDx0GQNEIc9t0hjusbQBZd47c5t0Z0HGaN6OcUHKEItNlc0w62gXyCfe6wuaaTfA+PZSf4rcnNNRWcy3HH%2FSY3aisY0JAHMx9lIHmEOH6O6%2FNEJh5LJXvJv+AEmAUOg58SPn6Do+TjOP0tm0dzd1q5isMDq1PtAnNAo8B1jVQHqyAfKpYnIjhHUxr3lIoDjJcW570Dq+i8Lk2xZ4sIztScSzfS9NTM2HTwsuY8PlPkwkkcDs+DUpdr22xM30Kx7SyNV%2FBEzuDTwEnwACxyQWwBuANOUWweS9VZxIvYAnAL1CpkOnY3tpbEFjhRtfws+aitBz1gt0axrLd+Qr5lKpWfeP%2FDHyUbOB6UaRRcKludNBvWkiyS9li3PhHBPXEguEtEcFscCG4VEXwjDgQ3iwjuAO9jWCxre7uIYJb11MWw4IukQWhOejqGBZ+RmYTfBy0xKLaF2i6VdeyLQcH7VdKsJsEE3mu7ZoR3CyjllduN8DJGtBtro+36Eo9gVrWojAHBldRWLVULVlRriGKxDdRGQ5dgtsS4OUqnnPfAJoNzI5tIAeCLEV6sehxFYlmSsxp8UykAWBnbSxEwdO+Ok08OAobI%2Fg5DrsTTb4QX2S55%2FM4Wycz3ZWta7PFeB3aCIReFDlHMEmqD4ZbgSEfGNqaxIl7QBbFBilVtKOy01VG17AZLwDKzHFRDXrucYnSrOtO5X7qJyNHok+3269V595xYNTCrh70xee%2FYd2brTr26G+fz6Gc8kWWQQbcDJxve2KBHcRO%2FakkIjjf7J8AAJpCcb5SurHgAAAAASUVORK5CYII=)
    no-repeat;
  background-size: cover;
}

@keyframes rl-modal-preloader-spin {
  0% {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rl-modal .preloader_white_mini::before {
    animation: none;
  }
}

.rl-modal__input.is-invalid {
  border-color: #dc2626;
  box-shadow: inset 1.5px 3px 3px rgba(220, 38, 38, 0.08);
}

.rl-modal__error {
  display: block;
  padding: 0 16px;
  margin-top: 4px;
  font-weight: 500;
  font-size: 13px;
  line-height: 18px;
  color: #dc2626;
}

.rl-modal__field > .rl-modal__phone-row + .rl-modal__error {
  margin-left: 130px;
}

.rl-success {
  text-align: center;
  overflow: visible;
}

.rl-success__icon {
  display: flex;
  justify-content: center;
}

.rl-success__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.rl-success__title {
  font-weight: 600;
  font-size: 40px;
  line-height: 48px;
  color: #13161a;
  margin-block: 0;
}

.rl-success__subtitle {
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: rgba(19, 22, 26, 0.72);
  margin-block: 0;
}

.rl-success__result {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.rl-success__data {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 44px;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(19, 22, 26, 0.04);
  border-radius: 16px;
  text-align: left;
  box-sizing: border-box;
}

.rl-success__data-label {
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: rgba(19, 22, 26, 0.72);
}

.rl-success__data-value {
  margin: 0;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: #13161a;
  text-align: end;
  word-break: break-all;
}

.rl-success__copy-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.rl-success__data-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s;

  &:hover {
    background: rgba(19, 22, 26, 0.08);
  }

  &:focus-visible {
    outline: 2px solid #5e50e3;
    outline-offset: 2px;
  }
}

/* Tooltip above copy button */
.rl-success__copied {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 2;
  display: block;
  margin: 0;
  padding: 6px 10px;
  border-radius: 8px;
  background-color: rgba(19, 22, 26, 0.92);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(4px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s;
  pointer-events: none;
  box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(19, 22, 26, 0.18);
}

.rl-success__copied::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-top-color: rgba(19, 22, 26, 0.92);
}

.rl-success__copied.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.rl-success__cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 56px;
  background: #dc2626;
  border: 1px solid rgba(19, 22, 26, 0.06);
  border-radius: 9999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box;

  &:hover {
    background-color: #b91c1c;
  }

  &:focus-visible {
    outline: 2px solid #5e50e3;
    outline-offset: 3px;
  }

  &[aria-disabled="true"] {
    opacity: 0.55;
    pointer-events: none;
    cursor: not-allowed;
  }
}

.rl-modal__error--api {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0;
  color: #ff0000;
  text-align: left;
}

.rl-modal__error--api-icon {
  flex-shrink: 0;
  color: inherit;
  width: 18px;
  height: 18px;
}

.rl-modal__error--api-msg {
  flex: 1;
  min-width: 0;
  margin-block: 0;
}
