/**
 * Real Account landing — v5
 *
 * Breakpoints:
 * - Default: desktop (>= 1200px)
 * - Tablet layout: @media (min-width: 768px) and (max-width: 1199px)
 * - Tablet compare charts: @media (min-width: 768px) and (max-width: 1199px)
 * - Mobile: @media (max-width: 767px)
 */

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

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

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

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

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

.ram-page {
  --ram-section-gap: 120px;
  --ram-content-max: 1200px;
  --ram-content-padding: 24px;
  --ram-main-padding-inline: 0;
  --ram-analytics-card-width: 368px;
  --ram-analytics-card-min-width: 312px;
  --ram-analytics-card-gap: 24px;
  --ram-analytics-peek-ratio: 0.52;
  --ram-analytics-card-radius: 24px;
  --ram-analytics-card-hover-bg: rgba(19, 22, 26, 0.04);
  --ram-analytics-offset-left: max(
    var(--ram-content-padding),
    calc(
      (100vw - var(--ram-content-max)) / 2 + var(--ram-main-padding-inline) +
        var(--ram-content-padding)
    )
  );
  --ram-analytics-offset-end: calc(var(--ram-analytics-offset-left) / 2);
  --ram-features-card-width: 368px;
  --ram-features-card-gap: 24px;

  margin: 0;
  min-height: 100vh;
  font-family: "Fintech Fusion", "FintechFusion", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #13161a;
  background-color: #f9f9f9;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.ram-main {
  display: flex;
  flex-direction: column;
  gap: var(--ram-section-gap);
  width: 100%;
  padding: 30px 0 40px;
  background-color: #f9f9f9;
}

.ram-section__title {
  margin: 0;
  font-family: inherit;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  color: #13161a;
}

.ram-section__subtitle {
  margin: 0;
  font-family: inherit;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(19, 22, 26, 0.48);
}

.ram-page--rtl .ram-section__title,
.ram-page--rtl .ram-section__subtitle {
  text-align: right;
}

/* ==========================================================================
   Section 1 — Hero
   ========================================================================== */

.section-1.ram-hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.ram-hero__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  min-height: 414px;
  padding: 30px 40px;
  background: #fff;
  border-radius: 60px;
}

.ram-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  flex: 0 1 594px;
  width: 100%;
  max-width: 594px;
}

.ram-hero__brand {
  flex: none;
  width: 194px;
  height: 40px;
}

.ram-hero__logo {
  display: block;
  width: 194px;
  max-width: 100%;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.ram-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.ram-hero .ram-section__title {
  font-size: 40px;
  max-width: 594px;
}

.ram-hero .ram-section__subtitle {
  font-size: 20px;
  max-width: 429px;
}

.ram-hero .ram-section__subtitle strong {
  font-weight: 700;
  color: #13161a;
}

.ram-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 143px;
  min-height: 48px;
  padding: 16px 20px;
  border: 0;
  border-radius: 90px;
  background: #cc282e;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ram-hero__cta:hover,
.ram-hero__cta:focus-visible {
  background: #b32328;
  color: #fff;
  text-decoration: none;
}

.ram-hero__cta:focus-visible {
  outline: 2px solid #13161a;
  outline-offset: 2px;
}

.ram-hero__media {
  flex: 0 0 466px;
  width: 466px;
  max-width: 466px;
}

.ram-hero__image {
  display: block;
  width: 100%;
  max-width: 466px;
  height: auto;
  aspect-ratio: 466 / 366;
  object-fit: contain;
  object-position: center;
}

.ram-page--rtl .ram-hero__content,
.ram-page--rtl .ram-hero__copy {
  align-items: flex-end;
}

.ram-page--rtl .ram-hero__logo {
  object-position: right center;
}

/* ==========================================================================
   Features — account capabilities
   ========================================================================== */

.ram-features {
  width: 100%;
  max-width: var(--ram-content-max);
  margin: 0 auto;
}

.ram-features__container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  padding: 0 var(--ram-content-padding);
}

.ram-features__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 701px;
  padding: 0 16px;
}

.ram-features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, var(--ram-features-card-width)));
  justify-content: space-between;
  gap: var(--ram-features-card-gap);
  width: 100%;
}

.ram-features__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: var(--ram-features-card-width);
  min-height: 414px;
  padding: 24px;
  background: #fff;
  border-radius: 40px;
}

.ram-features__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 320 / 230;
  overflow: hidden;
  background: rgba(236, 237, 237, 0.5);
  border-radius: 30px;
}

.ram-features__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.ram-features__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.ram-features__card-title {
  margin: 0;
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: #13161a;
}

.ram-features__card-text {
  margin: 0;
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: #13161a;
}

.ram-page--rtl .ram-features__header,
.ram-page--rtl .ram-features__body {
  align-items: flex-end;
}

.ram-page--rtl .ram-features__card-title,
.ram-page--rtl .ram-features__card-text {
  text-align: right;
}

/* ==========================================================================
   Section 7 — Analytics carousel
   ========================================================================== */

.section-7.ram-analytics {
  width: 100%;
  margin-inline: 0;
  overflow: hidden;
}

.ram-analytics__container {
  --ram-analytics-gutter: max(
    var(--ram-content-padding),
    calc((100% - var(--ram-content-max)) / 2 + var(--ram-content-padding))
  );
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-left: var(--ram-analytics-gutter);
  padding-right: 0;
  overflow: hidden;
}

.ram-analytics .ram-section__title {
  margin: 0 0 40px;
  padding-right: var(--ram-content-padding);
}

.ram-analytics__viewport {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
}

.ram-analytics__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: var(--ram-analytics-card-width);
  min-width: var(--ram-analytics-card-min-width);
  max-width: var(--ram-analytics-card-width);
  height: auto;
  padding: 0;
  border-radius: var(--ram-analytics-card-radius);
  background-color: transparent;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .ram-analytics__card:hover {
    background-color: var(--ram-analytics-card-hover-bg);
  }

  .ram-analytics__card:hover .ram-analytics__image {
    transform: scale(1.02);
  }
}

.ram-analytics__media {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
  border: 0;
  padding: 0;
  background: none;
  border-radius: 16px;
  overflow: hidden;
}

.ram-analytics__media-inner {
  position: relative;
  display: flex;
  width: 100%;
  aspect-ratio: 368 / 213;
  overflow: hidden;
  border-radius: 16px;
  isolation: isolate;
  background: rgba(19, 22, 26, 0.04);
}

.ram-analytics__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.3s ease;
  transform: translateZ(0);
}

.ram-analytics__views {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
}

.ram-analytics__views-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border-radius: 9999px;
  box-shadow: none;
}

.ram-analytics__views-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 22px;
  padding: 0 8px;
  background: rgba(19, 22, 26, 0.56);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
}

.ram-analytics__views-icon {
  flex: none;
  width: 16px;
  height: 16px;
  color: #fff;
}

.ram-analytics__views-count {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  color: #fff;
}

.ram-analytics__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 0 8px 4px;
}

.ram-analytics__category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  background: rgba(19, 22, 26, 0.1);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  color: #13161a;
}

.ram-analytics__title {
  margin: 0;
  font-family: inherit;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: #13161a;
  text-decoration: none;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ram-analytics__desc {
  margin: 0;
  flex: 1 1 auto;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: rgba(19, 22, 26, 0.72);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.ram-analytics__author {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: auto;
  padding: 4px 0;
}

.ram-analytics__avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 6px 12px rgba(19, 22, 26, 0.1));
}

.ram-analytics__meta {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ram-analytics__author-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: #13161a;
}

.ram-analytics__date {
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  color: rgba(19, 22, 26, 0.56);
}

.ram-analytics-swiper {
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.ram-analytics-swiper .swiper-wrapper {
  align-items: stretch;
}

.ram-analytics-swiper .swiper-slide {
  width: var(--ram-analytics-card-width);
  min-width: var(--ram-analytics-card-min-width);
  max-width: var(--ram-analytics-card-width);
  height: auto;
  align-self: stretch;
  flex-shrink: 0;
}

.ram-analytics-swiper .swiper-slide.ram-analytics__card {
  display: flex;
  flex-direction: column;
}

.ram-page--rtl .ram-analytics__container {
  padding-left: 0;
  padding-right: var(--ram-analytics-gutter);
}

.ram-page--rtl .ram-analytics .ram-section__title {
  padding-right: 0;
  padding-left: var(--ram-content-padding);
}

.ram-page--rtl .ram-analytics__viewport {
  margin: 0;
}

.ram-page--rtl .ram-analytics__views {
  left: auto;
  right: 12px;
}

.ram-page--rtl .ram-analytics__body,
.ram-page--rtl .ram-analytics__meta {
  align-items: flex-end;
  text-align: right;
}

.ram-page--rtl .ram-analytics__author {
  flex-direction: row-reverse;
}

.artModal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 30px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.4);
}

.artModal-content {
  position: relative;
  background-color: #292929;
  color: #fff;
  margin: auto;
  padding: 0;
  width: 80%;
  max-width: 1032px;
}

.artClose {
  position: absolute;
  right: 30px;
  top: 30px;
  cursor: pointer;
}

.art_text {
  max-height: 720px;
  overflow-x: auto;
  padding: 0 30px 20px;
  font-size: 16px;
  line-height: 19px;
}

.art_text img {
  max-width: 475px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.odd_img {
  float: left;
  padding-right: 15px;
}

.even_img {
  float: right;
  padding-left: 15px;
}

.art_text h2,
.art_text h4 {
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
}

.art_text p {
  margin: 10px 0;
}

.art_header {
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 42px;
  border-bottom: 1px solid #424242;
  margin-bottom: 20px;
}

.art_date {
  color: #acacac;
  font-size: 16px;
  line-height: 19px;
}

.art_title {
  max-width: 782px;
  font-size: 28px;
  line-height: 33px;
}

.ram-page.no_scroll {
  overflow: hidden;
}

.thanks-visible {
  display: none;
}

body.thanks .thanks-hidden {
  display: none !important;
}

body.thanks .thanks-visible {
  display: block;
}

/* ==========================================================================
   Compare + registration
   ========================================================================== */

.section-2.ram-compare {
  width: 100%;
  max-width: var(--ram-content-max);
  margin: 0 auto;
}

.ram-compare__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 var(--ram-content-padding);
}

.ram-compare__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 701px;
  padding: 0 16px;
}

.ram-compare__panel {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 40px;
  background: #1c1c1e;
  border-radius: 60px;
}

.ram-compare__form-card {
  flex: 0 0 405px;
  width: 405px;
  padding: 40px;
  background: #fff;
  border-radius: 32px;
}

.ram-compare__cards {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 627px;
}

.ram-compare__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-height: 486px;
  border-radius: 32px;
  overflow: hidden;
}

.ram-compare__card--negative {
  color: #fff;
  background-color: #cc282e;
}

.ram-compare__card--positive {
  color: #13161a;
  background-color: #fff;
}

.ram-compare__card-content {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 24px;
  padding: 40px 24px 0;
}

.ram-compare__chart {
  flex: 0 0 auto;
  margin-top: auto;
}

.ram-compare__chart-image {
  display: block;
  width: 100%;
  height: auto;
}

.ram-compare__card-title {
  margin: 0;
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.ram-compare__brand {
  color: #0e6ace;
}

.ram-compare__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ram-compare__list-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ram-compare__icon {
  flex: none;
  width: 24px;
  height: 24px;
}

.ram-compare__icon--negative {
  color: #fff;
}

.ram-compare__icon--positive {
  color: #15803d;
}

.ram-compare__list-text {
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.ram-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 325px;
  margin: 0 auto;
}

.ram-form__fields {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ram-form__group {
  position: relative;
  margin: 0;
  padding: 0 0 16px;
}

.ram-form__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-bottom: 0;
}

.ram-form__input,
.ram-form .select-container {
  display: block;
  width: 100%;
  min-height: 60px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #f5f5f5;
  color: #171717;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.ram-form__input::placeholder {
  color: rgba(23, 23, 23, 0.6);
}

.ram-form__input:hover,
.ram-form__input:focus,
.ram-form .select-container:hover,
.ram-form .select-container:focus {
  outline: none;
  background: #ededed;
}

.ram-form__phone {
  display: flex;
  gap: 8px;
}

.ram-form__phone-code {
  flex: 0 0 118px;
  min-width: 118px;
}

.ram-form__phone-code .select2-container--default .select2-selection--single {
  padding: 0 30px 0 12px;
  border-radius: 9999px;
}

.ram-form__phone-code
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  right: 10px;
}

.ram-form__phone-code
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  overflow: visible;
}

.ram-form__phone-code .ram-form__flag.is-flagsystem {
  transform: scale(0.72);
}

.ram-form__phone-code .ram-form__select-text {
  flex-shrink: 0;
  min-width: auto;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.ram-form__phone-number {
  flex: 1 1 auto;
  min-width: 0;
}

.ram-form__agree {
  position: relative;
  display: block;
  margin: 0;
  padding-left: 30px;
  cursor: pointer;
}

.ram-form__agree-input {
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.ram-form__agree-box {
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border: 1px solid #eaebee;
  border-radius: 4px;
  background: #fff;
  pointer-events: none;
}

.ram-form__agree-input:checked + .ram-form__agree-box {
  border-color: #f32d2d;
  background: #f32d2d;
}

.ram-form__agree-input:checked + .ram-form__agree-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.ram-form__agree-input:focus-visible + .ram-form__agree-box {
  outline: 2px solid #13161a;
  outline-offset: 2px;
}

.ram-form__agree-text {
  display: block;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  color: #171717;
}

.ram-form__agree-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ram-form__agree-text a:hover {
  text-decoration: none;
}

.ram-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 40px;
  max-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 90px;
  background: #cc282e;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ram-form__submit:hover,
.ram-form__submit:focus-visible {
  background: #b32328;
}

.ram-form__submit:focus-visible {
  outline: 2px solid #13161a;
  outline-offset: 2px;
}

.ram-form__submit:disabled,
.ram-form__submit.is-loading {
  opacity: 0.85;
  cursor: wait;
  pointer-events: none;
}

.ram-form__submit.is-loading {
  min-width: 210px;
}

.ram-form__feedback,
.ram-form .tip_invalid {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  bottom: 0;
  display: block;
  box-sizing: border-box;
  height: 16px;
  margin: 0;
  padding: 1px 0;
  overflow: hidden;
  font-size: 12px;
  line-height: 14px;
  color: #cc282e;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ram-form__feedback.email-feedback:empty {
  display: none;
  margin: 0;
}

.ram-form__actions .ram-form__service-error {
  position: absolute;
  z-index: 2;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: #cc282e;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: center;
}

.ram-form .form__group:has(.tip_invalid) .ram-form__input,
.ram-form .form__group:has(.tip_invalid) .select-container,
.ram-form .form__group:has(.tip_invalid) .select2-selection--single,
.ram-form .form__group:has(.email-feedback:not(:empty)) .ram-form__input {
  border-color: #e53935;
}

.ram-compare .ram-form .form__group:has(.tip_invalid) .ram-form__agree-box {
  border-color: #e53935;
}

.ram-form .select2-container {
  width: 100% !important;
  min-width: 0;
}

.ram-form .select2-container--open {
  z-index: 20;
}

.ram-form .select2-container--default .select2-selection--single {
  display: flex !important;
  align-items: center !important;
  min-height: 60px;
  height: auto !important;
  padding: 0 40px 0 16px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #f5f5f5;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.ram-form .select2-container--default .select2-selection--single:hover,
.ram-form
  .select2-container--default.select2-container--open
  .select2-selection--single {
  background: #ededed;
}

.ram-form
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  padding: 0 !important;
  color: #171717;
  font-family: inherit;
  font-size: 16px;
  line-height: 20px;
}

.ram-form
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 0 !important;
  right: 14px !important;
  width: 20px !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform: none;
}

.ram-form
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  display: none !important;
}

.ram-form
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid rgba(19, 22, 26, 0.42);
  border-bottom: 1.5px solid rgba(19, 22, 26, 0.42);
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.ram-form
  .select2-container--default.select2-container--open
  .select2-selection--single
  .select2-selection__arrow::after {
  transform: rotate(225deg) translateY(1px);
}

.ram-form__select-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.ram-form__flag.is-flagsystem {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  max-width: 24px;
  max-height: 24px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(19, 22, 26, 0.08);
  transform: scale(0.84);
  transform-origin: center center;
}

.ram-form__select-text {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  color: #13161a;
}

.ram-form__spinner {
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ram-form-spin 0.7s linear infinite;
}

@keyframes ram-form-spin {
  to {
    transform: rotate(360deg);
  }
}

.ram-form .select2-dropdown {
  z-index: 21 !important;
  border: 1px solid rgba(19, 22, 26, 0.12) !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(19, 22, 26, 0.12);
  padding: 6px 0;
}

.ram-form .select2-results__option {
  display: flex !important;
  align-items: center !important;
  padding: 10px 14px !important;
  font-family: inherit;
  font-size: 15px;
  line-height: 20px;
  color: #13161a;
}

.ram-form .select2-results__option--highlighted {
  background-color: rgba(37, 99, 235, 0.08) !important;
  color: #13161a !important;
}

.ram-form .select2-results__option--selected {
  background-color: rgba(37, 99, 235, 0.12) !important;
  color: #13161a !important;
}

.ram-form .select2-search--dropdown {
  padding: 8px 10px 6px;
}

.ram-form .select2-search--dropdown .select2-search__field {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(19, 22, 26, 0.12);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: #13161a;
  outline: none;
}

.ram-form .select2-search--dropdown .select2-search__field:focus {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.ram-form .select2-results__options::-webkit-scrollbar {
  width: 8px;
}

.ram-form .select2-results__options::-webkit-scrollbar-thumb {
  border-radius: 9999px;
  background-color: rgba(19, 22, 26, 0.18);
}

.ram-page--rtl .ram-compare__header,
.ram-page--rtl .ram-compare__card-content {
  align-items: flex-end;
}

.ram-page--rtl .ram-compare__card-title,
.ram-page--rtl .ram-compare__list-text,
.ram-page--rtl .ram-form__agree-text {
  text-align: right;
}

.ram-page--rtl .ram-compare__list-item {
  flex-direction: row-reverse;
}

.ram-page--rtl .ram-form__agree {
  padding-right: 30px;
  padding-left: 0;
}

.ram-page--rtl .ram-form__agree-input,
.ram-page--rtl .ram-form__agree-box {
  right: 0;
  left: auto;
}

/* ==========================================================================
   Market analysis formats
   ========================================================================== */

.ram-formats {
  width: 100%;
  max-width: var(--ram-content-max);
  margin: 0 auto;
}

.ram-formats__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 var(--ram-content-padding);
}

.ram-formats__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 16px;
}

.ram-formats .ram-section__title {
  max-width: 562px;
}

.ram-formats__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 48px;
  min-height: 50px;
  padding: 14px 20px;
  border: 0;
  border-radius: 90px;
  background: #cc282e;
  color: #fff;
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ram-formats__cta:hover,
.ram-formats__cta:focus-visible {
  background: #b32328;
  color: #fff;
  text-decoration: none;
}

.ram-formats__cta:focus-visible {
  outline: 2px solid #13161a;
  outline-offset: 2px;
}

.ram-formats__cta-icon {
  flex: none;
  width: 22px;
  height: 22px;
}

.ram-formats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 160px 160px;
  gap: 24px;
}

.ram-formats__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-height: 0;
  padding: 40px;
  border-radius: 40px;
  overflow: hidden;
  isolation: isolate;
}

.ram-formats__body {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ram-formats__card-title {
  margin: 0;
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.ram-formats__card-text {
  margin: 0;
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.ram-formats__media {
  position: relative;
  z-index: 1;
  flex: none;
}

.ram-formats__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.ram-formats__card--charts {
  color: #13161a;
  background: #fff;
  grid-column: 1 / 3;
  grid-row: 1;
}

.ram-formats__card--charts .ram-formats__body {
  max-width: 263px;
}

.ram-formats__card--charts .ram-formats__media {
  position: absolute;
  top: 0;
  right: 0;
  width: min(367px, 48%);
  height: 100%;
  margin-top: 0;
}

.ram-formats__card--charts .ram-formats__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
}

.ram-formats__card--economy {
  color: #fff;
  background: #cc282e;
  grid-column: 1;
  grid-row: 2;
}

.ram-formats__card--plan {
  color: #fff;
  background: #1c1c1e;
  grid-column: 2;
  grid-row: 2;
}

.ram-formats__card--video {
  color: #13161a;
  background: #fff;
  grid-column: 3;
  grid-row: 1 / span 2;
}

.ram-formats__card--video .ram-formats__media {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 368px;
  margin-top: 0;
}

.ram-formats__card--video .ram-formats__image {
  width: 100%;
  max-width: 368px;
  height: auto;
}

.ram-page--rtl .ram-formats__header,
.ram-page--rtl .ram-formats__body {
  align-items: flex-end;
}

.ram-page--rtl .ram-formats__card-title,
.ram-page--rtl .ram-formats__card-text {
  text-align: right;
}

.ram-page--rtl .ram-formats__cta-icon {
  transform: scaleX(-1);
}

.ram-page--rtl .ram-formats__card--charts .ram-formats__media {
  right: auto;
  left: 0;
}

.ram-page--rtl .ram-formats__card--charts .ram-formats__image {
  object-position: left center;
}

.ram-page--rtl .ram-formats__card--video .ram-formats__media {
  right: 0;
  left: auto;
}

/* ==========================================================================
   Analytics tiers
   ========================================================================== */

.ram-tiers {
  width: 100%;
  max-width: var(--ram-content-max);
  margin: 0 auto;
}

.ram-tiers__container {
  padding: 0 var(--ram-content-padding);
}

.ram-tiers__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ram-tiers__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  min-height: 408px;
  padding: 40px;
  border-radius: 40px;
  overflow: hidden;
  isolation: isolate;
}

.ram-tiers__card--basic {
  color: #13161a;
  background: #fff;
}

.ram-tiers__card--premium {
  color: #13161a;
  background: #f9efe4;
}

.ram-tiers__media {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.ram-tiers__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ram-tiers__body {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  max-width: 258px;
}

.ram-tiers__card--basic .ram-tiers__body {
  max-width: 238px;
}

.ram-tiers__stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.ram-tiers__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  padding: 8px 10px;
  border-radius: 90px;
}

.ram-tiers__badge--basic {
  background: rgba(37, 99, 235, 0.08);
}

.ram-tiers__badge--premium {
  background: #f2cfa5;
}

.ram-tiers__badge-icon {
  flex: none;
  width: 14px;
  height: 14px;
  color: rgba(19, 22, 26, 0.48);
}

.ram-tiers__badge-text {
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(19, 22, 26, 0.48);
}

.ram-tiers__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.ram-tiers__title {
  margin: 0;
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: #13161a;
}

.ram-tiers__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.ram-tiers__text {
  margin: 0;
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(19, 22, 26, 0.72);
}

.ram-tiers__text--emphasis {
  color: rgba(19, 22, 26, 0.92);
}

.ram-tiers__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 48px;
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 90px;
  background: #13161a;
  color: #fff;
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.ram-tiers__cta:hover,
.ram-tiers__cta:focus-visible {
  background: #2a2f36;
  color: #fff;
  text-decoration: none;
}

.ram-tiers__cta:focus-visible {
  outline: 2px solid #13161a;
  outline-offset: 2px;
}

.ram-tiers__cta-icon {
  flex: none;
  width: 22px;
  height: 22px;
}

.ram-page--rtl .ram-tiers__card {
  align-items: flex-start;
}

.ram-page--rtl .ram-tiers__body,
.ram-page--rtl .ram-tiers__stack,
.ram-page--rtl .ram-tiers__content,
.ram-page--rtl .ram-tiers__copy {
  align-items: flex-end;
}

.ram-page--rtl .ram-tiers__title,
.ram-page--rtl .ram-tiers__text {
  text-align: right;
}

.ram-page--rtl .ram-tiers__cta-icon {
  transform: scaleX(-1);
}

.ram-tiers__card--basic .ram-tiers__media {
  left: -45px;
  top: 54px;
  width: 335px;
}

.ram-tiers__card--premium .ram-tiers__media {
  left: -31px;
  top: 35px;
  width: 252px;
}

.ram-page--rtl .ram-tiers__card--basic .ram-tiers__media,
.ram-page--rtl .ram-tiers__card--premium .ram-tiers__media {
  right: -45px;
  left: auto;
}

.ram-page--rtl .ram-tiers__card--premium .ram-tiers__media {
  right: -31px;
}

/* Workflow & services */
.ram-workflow {
  width: 100%;
}

.ram-workflow__container {
  width: min(100%, var(--ram-content-max));
  margin-inline: auto;
  padding-inline: var(--ram-content-padding);
}

.ram-workflow__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ram-workflow__column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ram-workflow .ram-section__title {
  padding-inline: 16px;
}

.ram-workflow__steps,
.ram-workflow__services {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ram-workflow__step,
.ram-workflow__service {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 40px;
}

.ram-workflow__step {
  display: flex;
  align-items: center;
  min-height: 167px;
  padding: 24px;
  background: #1c1c1e;
}

.ram-workflow__step-body {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  max-width: min(100%, 326px);
}

.ram-workflow__step-title,
.ram-workflow__service-title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.ram-workflow__step-title {
  color: #fff;
}

.ram-workflow__step-text {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.72);
}

.ram-workflow__step-num {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  font-size: clamp(72px, 18vw, 100px);
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  user-select: none;
}

.ram-workflow__service {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 166px;
  padding: 24px;
  background: #fff;
}

.ram-workflow__service--support {
  min-height: 170px;
  overflow: visible;
}

.ram-workflow__service-body {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: min(100%, 332px);
}

.ram-workflow__service-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ram-workflow__service-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(204, 40, 46, 0.08);
}

.ram-workflow__service-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.ram-workflow__service-title {
  color: #13161a;
}

.ram-workflow__service-text {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(19, 22, 26, 0.72);
}

.ram-workflow__service-media {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.ram-workflow__service-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ram-workflow__service--forexcopy .ram-workflow__service-media {
  top: -2px;
  right: 39px;
  width: 144px;
}

.ram-workflow__service--pamm .ram-workflow__service-media {
  top: 4px;
  right: 35px;
  width: 179px;
}

.ram-workflow__service--support .ram-workflow__service-media {
  top: auto;
  right: 16px;
  bottom: 0;
  width: 206px;
}

.ram-page--rtl .ram-workflow__step-body,
.ram-page--rtl .ram-workflow__service-body {
  text-align: right;
}

.ram-page--rtl .ram-workflow__step-num {
  right: auto;
  left: 24px;
}

.ram-page--rtl .ram-workflow__service--forexcopy .ram-workflow__service-media {
  right: auto;
  left: 39px;
}

.ram-page--rtl .ram-workflow__service--pamm .ram-workflow__service-media {
  right: auto;
  left: 35px;
}

.ram-page--rtl .ram-workflow__service--support .ram-workflow__service-media {
  right: auto;
  left: 16px;
}

/* ==========================================================================
   Signup CTA + registration form
   ========================================================================== */

.ram-signup {
  width: 100%;
  max-width: var(--ram-content-max);
  margin: 0 auto;
}

.ram-signup__container {
  padding: 0 var(--ram-content-padding);
}

.ram-signup__layout {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.ram-signup__intro {
  display: flex;
  flex-direction: column;
  flex: 1 1 662px;
  min-width: 0;
  max-width: 662px;
  gap: 24px;
}

.ram-signup .ram-section__subtitle {
  font-size: 20px;
}

.ram-signup__copy-card,
.ram-signup__media-card,
.ram-signup__form-card {
  background: #fff;
  border-radius: 32px;
}

.ram-signup__copy-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-height: 207px;
  padding: 40px;
}

.ram-signup .ram-section__title {
  max-width: 516px;
}

.ram-signup__media-card {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  padding: 0;
}

.ram-signup__image {
  display: block;
  width: 100%;
  height: 257px;
  margin-top: -24px;
  object-fit: cover;
  object-position: center top;
}

.ram-signup__form-card {
  display: flex;
  flex: 0 0 466px;
  align-items: flex-start;
  justify-content: center;
  width: 466px;
  min-height: 486px;
  padding: 40px;
}

.ram-form--signup {
  width: 100%;
  max-width: 386px;
  margin: 0;
}

.ram-page--rtl .ram-signup__copy-card,
.ram-page--rtl .ram-signup__form-card {
  align-items: flex-end;
}

.ram-page--rtl .ram-form--signup .ram-form__actions {
  align-items: flex-end;
}

/* ==========================================================================
   Thanks page
   ========================================================================== */

.ram-page--thanks {
  --ram-analytics-card-gap: 24px;
}

.ram-page--thanks .ram-main {
  gap: 80px;
  padding-bottom: 80px;
}

.ram-thanks {
  width: 100%;
  max-width: var(--ram-content-max);
  margin: 0 auto;
}

.ram-thanks__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 90px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.ram-thanks__btn--primary {
  background: #cc282e;
  border-color: #cc282e;
  color: #fff;
}

.ram-thanks__btn--primary:hover,
.ram-thanks__btn--primary:focus-visible {
  background: #b32328;
  border-color: #b32328;
  color: #fff;
  text-decoration: none;
}

.ram-thanks__btn--light {
  background: #fff;
  border-color: #dbdbdc;
  color: #1e1e1e;
}

.ram-thanks__btn--light:hover,
.ram-thanks__btn--light:focus-visible {
  border-color: #13161a;
  color: #13161a;
  text-decoration: none;
}

.ram-thanks__btn--ghost {
  background: rgba(19, 22, 26, 0.04);
  border-color: rgba(19, 22, 26, 0.24);
  color: #13161a;
}

.ram-thanks__btn--ghost:hover,
.ram-thanks__btn--ghost:focus-visible {
  border-color: #13161a;
  color: #13161a;
  text-decoration: none;
}

.ram-thanks__btn:focus-visible {
  outline: 2px solid #13161a;
  outline-offset: 2px;
}

/* Success card */

.ram-thanks__success-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  min-height: 434px;
  padding: 24px 40px 40px;
  background: #fff;
  border-radius: 60px;
}

.ram-thanks__logo {
  display: block;
  flex: none;
  align-self: flex-start;
  width: 194px;
  height: 40px;
}

.ram-thanks__success-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

.ram-thanks__success-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 594px;
}

.ram-thanks__success-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.ram-thanks__success .ram-section__title {
  max-width: 594px;
  line-height: 1;
  text-align: center;
  font-size: 32px;
}

.ram-thanks__success .ram-section__subtitle {
  max-width: 738px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  color: rgba(19, 22, 26, 0.72);
  text-align: center;
}

.ram-thanks__success .ram-thanks__btn--primary {
  width: 100%;
  max-width: 335px;
  min-height: 52px;
  padding: 15px 20px;
}

.ram-page--rtl .ram-thanks__success .ram-section__title,
.ram-page--rtl .ram-thanks__success .ram-section__subtitle {
  text-align: center;
}

/* MobileTrader banner */

.ram-thanks__mobile-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 472px;
  padding: 40px;
  overflow: hidden;
  background: #1c1c1e;
  border-radius: 60px;
  isolation: isolate;
}

.ram-thanks__mobile-glow {
  position: absolute;
  left: 69.9%;
  top: 28%;
  z-index: 0;
  width: 198px;
  height: 203px;
  border-radius: 50%;
  background: #cc282e;
  filter: blur(200px);
  pointer-events: none;
}

.ram-thanks__mobile-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #fff;
  filter: blur(80px);
}

.ram-thanks__mobile-image {
  position: absolute;
  top: 30px;
  right: 94px;
  z-index: 2;
  display: block;
  width: 335px;
  height: auto;
  margin: 0;
  object-fit: contain;
  pointer-events: none;
}

.ram-thanks__mobile-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex: 0 1 646px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 646px;
}

.ram-thanks__mobile-copy .ram-section__title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}

.ram-thanks__mobile-copy .ram-section__subtitle {
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}

.ram-thanks__mobile-text {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.72);
}

.ram-thanks__mobile .ram-thanks__btn--light {
  width: 100%;
  max-width: 440px;
  min-height: 48px;
  padding: 14px 19px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: #1e1e1e;
}

.ram-thanks__store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.ram-thanks__store-btn {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.ram-thanks__store-btn--appstore {
  min-width: 155px;
}

.ram-thanks__store-btn--googleplay {
  min-width: 171px;
}

.ram-thanks__store-btn:hover,
.ram-thanks__store-btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
}

.ram-thanks__store-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.ram-thanks__store-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.ram-thanks__store-text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
  padding: 2px 0 0;
  line-height: 1;
}

.ram-thanks__store-sublabel,
.ram-thanks__store-label {
  display: block;
  margin: 0;
  white-space: nowrap;
  color: #fff;
}

.ram-thanks__store-sublabel {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.ram-thanks__store-label {
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

/* Analytics — thanks page (matches main landing swiper/cards) */

.ram-thanks__analytics.section-7.ram-analytics {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-inline: 0;
  overflow: hidden;
}

.ram-thanks__analytics .ram-analytics__container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-left: var(--ram-analytics-gutter);
  padding-right: 0;
  overflow: hidden;
}

.ram-thanks__analytics-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
  width: calc(100% + var(--ram-content-padding));
  max-width: calc(0.95 * var(--ram-content-max));
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 40px;
  margin-left: calc(0.5 * var(--ram-content-padding));
  padding-inline: 0;
}

.ram-thanks__analytics-header .ram-section__title {
  margin: 0;
  padding-right: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  color: #13161a;
}

.ram-thanks__analytics-header .ram-thanks__btn--ghost {
  flex: none;
  min-width: 48px;
  height: 48px;
  padding: 14px 20px;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
}

.ram-page--rtl .ram-thanks__analytics .ram-analytics__container {
  padding-left: 0;
  padding-right: var(--ram-analytics-gutter);
}

.ram-page--rtl .ram-thanks__analytics-header {
  margin-right: calc(-1 * var(--ram-content-padding));
  margin-left: auto;
}

.ram-page--rtl .ram-thanks__analytics-header .ram-section__title {
  text-align: right;
}

/* Deposit */

.ram-thanks__deposit {
  padding-inline: 0;
}

.ram-thanks__deposit-layout {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
}

.ram-thanks__deposit-card {
  display: flex;
  flex: 1 1 639px;
  align-items: stretch;
  min-width: 0;
  max-width: 639px;
  min-height: 352px;
  padding: 40px;
  border-radius: 60px;
  background: #fff;
}

.ram-thanks__deposit-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.ram-thanks__deposit-title {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  color: #13161a;
}

.ram-thanks__deposit-title-line {
  display: block;
}

.ram-thanks__deposit-title .ram-thanks__deposit-accent {
  color: #cc282e;
}

.ram-thanks__deposit-subtitle {
  margin: 0;
  max-width: 559px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  color: rgba(19, 22, 26, 0.72);
}

.ram-thanks__payment-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.ram-thanks__payment-chip {
  box-sizing: border-box;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 48px;
  min-height: 48px;
  max-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(19, 22, 26, 0.12);
  border-radius: 16px;
  background: rgba(19, 22, 26, 0.04);
  color: #13161a;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.ram-thanks__payment-chip svg {
  flex: none;
  display: block;
}

.ram-thanks__payment-chip--mastercard {
  width: 77px;
}

.ram-thanks__payment-chip--visa {
  width: 84px;
}

.ram-thanks__payment-chip--other {
  width: 126px;
  padding-inline: 12px;
  justify-content: flex-start;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.ram-thanks__payment-chip--other:hover,
.ram-thanks__payment-chip--other:focus-visible {
  border-color: rgba(19, 22, 26, 0.24);
  background: rgba(19, 22, 26, 0.08);
  color: #13161a;
  text-decoration: none;
}

.ram-thanks__payment-chip-icon {
  flex: none;
  width: 24px;
  height: 24px;
}

.ram-thanks__payment-chip-label {
  display: block;
  flex: none;
  width: 50px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #13161a;
}

.ram-thanks__deposit-btn {
  box-sizing: border-box;
  width: auto;
  min-width: 273px;
  max-width: 273px;
  height: 48px;
  min-height: 48px;
  padding: 0 20px;
  font-size: 20px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
}

.ram-thanks__deposit-visual {
  position: relative;
  display: flex;
  flex: 0 0 489px;
  align-items: center;
  justify-content: center;
  width: 489px;
  min-height: 352px;
  overflow: hidden;
  border-radius: 60px;
  background: #e7e8e8;
  isolation: isolate;
}

.ram-thanks__deposit-image {
  display: block;
  width: 508px;
  max-width: none;
  height: 352px;
  object-fit: contain;
  pointer-events: none;
}

/* ==========================================================================
   Analytics — 2×2 grid (tablet & mobile)
   ========================================================================== */

@media (max-width: 1199px) {
  .section-7.ram-analytics {
    overflow: visible;
  }

  .ram-analytics__container {
    padding-right: var(--ram-analytics-gutter);
    overflow: visible;
  }

  .ram-analytics .ram-section__title {
    padding-right: 0;
  }

  .ram-analytics__viewport {
    overflow: visible;
  }

  .ram-analytics-swiper {
    overflow: visible;
  }

  .ram-analytics-swiper .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ram-analytics-card-gap);
    align-items: stretch;
  }

  .ram-analytics-swiper .swiper-slide,
  .ram-analytics-swiper .swiper-slide.ram-analytics__card {
    flex: 0 0 calc(50% - var(--ram-analytics-card-gap) / 2);
    width: calc(50% - var(--ram-analytics-card-gap) / 2);
    min-width: 0;
    max-width: none;
    height: auto;
  }

  .ram-analytics__card {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .ram-page--rtl .ram-analytics .ram-section__title {
    padding-left: 0;
  }
}

/* ==========================================================================
   Tablet (768px – 1199px)
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1199px) {
  .ram-main {
    padding: 24px 0 80px;
  }

  .ram-page {
    --ram-section-gap: 80px;
  }

  .ram-section__title {
    font-size: 28px;
  }

  .ram-section__subtitle {
    font-size: 22px;
  }

  /* Hero */
  .ram-hero__container {
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 0;
    padding: 40px 24px;
    border-radius: 40px;
    margin: 0 24px;
  }

  .ram-hero__content {
    flex: 1 1 52%;
    max-width: none;
  }

  .ram-hero__media {
    flex: 0 0 42%;
    width: 42%;
    max-width: 360px;
  }

  .ram-hero__image {
    max-width: 100%;
  }

  /* Features */
  .ram-features__header {
    gap: 12px;
  }

  .ram-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ram-features__card {
    width: 100%;
    min-height: 0;
  }

  /* Compare */
  .ram-compare__panel {
    align-items: stretch;
    gap: 16px;
    padding: 40px 24px;
    border-radius: 40px;
  }

  .ram-compare__form-card {
    display: flex;
    flex: 1 1 50%;
    min-width: 0;
    padding: 32px;
    border-radius: 40px;
  }

  .ram-compare__form-card .ram-form {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .ram-compare__form-card .ram-form__fields {
    flex: 1 1 auto;
  }

  .ram-compare__form-card .ram-form__actions {
    justify-content: center;
  }

  .ram-compare__form-card .ram-form__submit {
    max-width: none;
    min-height: 48px;
    max-height: none;
    white-space: normal;
  }

  .ram-compare__cards {
    display: flex;
    flex: 1 1 50%;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
  }

  .ram-compare__card {
    flex: 1 1 0;
    min-height: 0;
    border-radius: 40px;
  }

  .ram-compare__card-content {
    gap: 16px;
    padding: 24px 24px 0;
  }

  .ram-compare__list {
    gap: 16px;
  }

  /* Formats */
  .ram-formats__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .ram-formats__container {
    gap: 24px;
  }

  .ram-formats__body {
    gap: 12px;
  }

  .ram-formats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 24px;
  }

  .ram-formats__cta {
    padding: 14px 37px;
  }

  .ram-formats__card--charts {
    padding: 0 45px 0 0;
    grid-column: 1 / -1;
    grid-row: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .ram-formats__card--charts .ram-formats__body {
    padding: 30px;
  }

  .ram-formats__card--economy {
    grid-column: 1;
    grid-row: auto;
  }

  .ram-formats__card--plan {
    grid-column: 2;
    grid-row: auto;
  }

  .ram-formats__card--economy,
  .ram-formats__card--plan {
    padding: 0;
    justify-content: center;
  }

  .ram-formats__card--economy .ram-formats__body,
  .ram-formats__card--plan .ram-formats__body {
    padding: 24px;
  }

  .ram-formats__card--video {
    padding: 0 72px 0 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .ram-formats__card--video .ram-formats__body {
    padding: 24px;
  }

  .ram-formats__card--charts .ram-formats__body,
  .ram-formats__card--video .ram-formats__body {
    flex: 0 1 48%;
    max-width: 320px;
  }

  .ram-formats__card--charts .ram-formats__media,
  .ram-formats__card--video .ram-formats__media {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    flex: 0 0 45%;
    width: auto;
    height: auto;
    max-width: 320px;
    margin-top: 0;
  }

  .ram-formats__card--charts .ram-formats__image,
  .ram-formats__card--video .ram-formats__image {
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: contain;
    object-position: center;
  }

  /* Tiers — tablet: 2-column grid per card (image | text) */
  .ram-tiers__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ram-tiers__card {
    --ram-tiers-tablet-pad: 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "media body";
    align-items: center;
    gap: 24px;
    min-height: 360px;
    padding: var(--ram-tiers-tablet-pad);
    border-radius: 40px;
    overflow: hidden;
  }

  .ram-tiers__card--premium {
    grid-template-areas: "body media";
  }

  .ram-tiers__media {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    z-index: 0;
    grid-area: media;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100% !important;
    max-width: none !important;
    flex: unset !important;
    order: unset;
    margin: 0;
    pointer-events: none;
  }

  .ram-tiers__card--basic .ram-tiers__media {
    justify-content: flex-start;
  }

  .ram-tiers__card--premium .ram-tiers__media {
    justify-content: flex-end;
  }

  .ram-tiers__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
  }

  .ram-tiers__card--basic .ram-tiers__image {
    max-width: 300px;
  }

  .ram-tiers__card--premium .ram-tiers__image {
    max-width: 252px;
  }

  .ram-tiers__body {
    position: relative;
    z-index: 1;
    grid-area: body;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0;
    align-self: stretch;
  }

  .ram-tiers__card--basic .ram-tiers__body {
    max-width: none !important;
  }

  .ram-tiers__card--premium .ram-tiers__body {
    justify-content: space-between;
  }

  .ram-tiers__stack {
    flex: 0 1 auto;
    gap: 24px;
    width: 100%;
  }

  .ram-tiers__content {
    gap: 16px;
    width: 100%;
  }

  .ram-tiers__copy {
    gap: 10px;
    width: 100%;
  }

  .ram-tiers__badge {
    flex-shrink: 0;
  }

  .ram-tiers__title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
  }

  .ram-tiers__text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: rgba(19, 22, 26, 0.72);
  }

  .ram-tiers__text--emphasis {
    color: rgba(19, 22, 26, 0.92);
    max-width: none;
  }

  .ram-tiers__cta {
    flex-shrink: 0;
    align-self: flex-start;
    width: auto;
    min-width: 48px;
    min-height: 50px;
    padding: 14px 20px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
  }

  .ram-page--rtl .ram-tiers__card--basic {
    grid-template-areas: "body media";
  }

  .ram-page--rtl .ram-tiers__card--premium {
    grid-template-areas: "media body";
  }

  .ram-page--rtl .ram-tiers__card--basic .ram-tiers__media {
    justify-content: flex-end;
  }

  .ram-page--rtl .ram-tiers__card--premium .ram-tiers__media {
    justify-content: flex-start;
  }

  .ram-page--rtl .ram-tiers__card--premium .ram-tiers__cta {
    align-self: flex-end;
  }

  /* Workflow */
  .ram-workflow__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ram-workflow .ram-section__title {
    padding-inline: 0;
  }

  .ram-workflow__column {
    gap: 24px;
  }

  .ram-workflow__steps,
  .ram-workflow__services {
    gap: 16px;
  }

  .ram-workflow__step {
    min-height: 0;
    padding: 24px;
  }

  .ram-workflow__step-body {
    max-width: min(100%, 420px);
  }

  .ram-workflow__step-num {
    right: 24px;
    font-size: 100px;
  }

  .ram-workflow__service {
    padding: 24px;
    min-height: 144px;
    justify-content: start;
  }

  .ram-workflow__service--support {
    overflow: visible;
  }

  .ram-workflow__service-body {
    max-width: min(100%, calc(100% - 200px));
  }

  .ram-workflow__service--forexcopy .ram-workflow__service-media {
    top: -2px;
    right: 24px;
    width: 144px;
    transform: none;
  }

  .ram-workflow__service--pamm .ram-workflow__service-media {
    top: 4px;
    right: 24px;
    width: 179px;
    transform: none;
  }

  .ram-workflow__service--support .ram-workflow__service-media {
    top: auto;
    right: 16px;
    bottom: 0;
    width: 206px;
    transform: none;
  }

  .ram-page--rtl
    .ram-workflow__service--forexcopy
    .ram-workflow__service-media {
    right: auto;
    left: 24px;
    transform: none;
  }

  .ram-page--rtl .ram-workflow__service--pamm .ram-workflow__service-media {
    right: auto;
    left: 24px;
    transform: none;
  }

  .ram-page--rtl .ram-workflow__service--support .ram-workflow__service-media {
    right: auto;
    left: 16px;
    transform: none;
  }

  /* Signup */
  .ram-signup__container {
    min-width: 0;
  }

  .ram-signup__layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
    min-width: 0;
  }

  .ram-signup__intro {
    display: contents;
  }

  .ram-signup__copy-card,
  .ram-signup__media-card,
  .ram-signup__form-card {
    border-radius: 40px;
    min-width: 0;
    max-width: 100%;
  }

  .ram-signup__copy-card {
    grid-column: 1 / -1;
    gap: 15px;
    min-height: 0;
    padding: 24px;
  }

  .ram-signup .ram-section__title {
    max-width: none;
    font-size: 32px;
  }

  .ram-signup .ram-section__subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    color: rgba(19, 22, 26, 0.72);
  }

  .ram-signup__media-card {
    display: flex;
    grid-column: 1;
    min-height: 0;
    overflow: hidden;
  }

  .ram-signup__image {
    margin-top: 0;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    object-position: center top;
  }

  .ram-signup__form-card {
    display: flex;
    grid-column: 2;
    flex: none;
    align-items: stretch;
    width: auto;
    min-width: 0;
    min-height: 0;
    padding: 24px;
    overflow: hidden;
  }

  .ram-form--signup {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .ram-form--signup .ram-form__fields,
  .ram-form--signup .ram-form__group,
  .ram-form--signup .ram-form__phone,
  .ram-form--signup .ram-form__phone-number {
    min-width: 0;
  }

  .ram-form--signup .ram-form__fields {
    flex: 1 1 auto;
    width: 100%;
  }

  .ram-form--signup .ram-form__phone-code {
    flex: 0 1 104px;
    min-width: 96px;
  }

  .ram-form--signup
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    min-width: 0;
    overflow: hidden;
  }

  .ram-form--signup .ram-form__submit {
    max-width: none;
    min-height: 48px;
    max-height: none;
    padding: 12px 16px;
    white-space: normal;
  }

  /* Thanks — tablet matches the 768–1199 layouts */
  .ram-thanks__success-card {
    min-height: 0;
    padding: 24px 40px 40px;
    border-radius: 40px;
    margin-inline: 24px;
  }

  /* MobileTrader — match desktop artboard, scaled for tablet width */
  .ram-thanks__mobile-card {
    --ram-thanks-mobile-phone-width: clamp(220px, 36vw, 335px);
    --ram-thanks-mobile-phone-offset: clamp(24px, 8vw, 94px);
    min-height: 472px;
    margin-inline: 24px;
    padding: 40px
      calc(
        var(--ram-thanks-mobile-phone-width) +
          var(--ram-thanks-mobile-phone-offset)
      )
      40px 40px;
    border-radius: 60px;
  }

  .ram-thanks__mobile-glow {
    left: 69.9%;
    top: 28%;
  }

  .ram-thanks__mobile-copy {
    flex: 1 1 auto;
    width: 100%;
    max-width: 646px;
    min-width: 0;
  }

  .ram-thanks__mobile-copy .ram-section__title {
    font-size: 40px;
    line-height: 1;
  }

  .ram-thanks__mobile-copy .ram-section__subtitle {
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
  }

  .ram-thanks__mobile-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
  }

  .ram-thanks__mobile-image {
    top: 30px;
    right: 0;
    width: 350px;
    height: auto;
    object-fit: contain;
    object-position: top center;
  }

  .ram-thanks__store-row {
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
  }

  .ram-thanks__store-btn--appstore,
  .ram-thanks__store-btn--googleplay {
    flex: 0 0 auto;
  }

  .ram-thanks__mobile .ram-thanks__btn--light {
    width: 100%;
    max-width: 440px;
    min-height: 48px;
    padding: 14px 19px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    white-space: normal;
  }

  .ram-page--rtl .ram-thanks__mobile-card {
    padding: 40px 40px 40px
      calc(
        var(--ram-thanks-mobile-phone-width) +
          var(--ram-thanks-mobile-phone-offset)
      );
  }

  .ram-page--rtl .ram-thanks__mobile-glow {
    left: auto;
    right: 69.9%;
  }

  .ram-page--rtl .ram-thanks__mobile-image {
    right: auto;
    left: var(--ram-thanks-mobile-phone-offset);
  }

  .ram-thanks__analytics.section-7.ram-analytics {
    width: auto;
    max-width: none;
    margin-inline: 24px;
    padding-inline: 0;
    overflow: visible;
  }

  .ram-thanks__analytics .ram-analytics__container,
  .ram-page--rtl .ram-thanks__analytics .ram-analytics__container {
    width: 100%;
    padding-inline: 0;
    overflow: visible;
  }

  .ram-thanks__analytics .ram-analytics__viewport,
  .ram-thanks__analytics .ram-analytics-swiper {
    overflow: visible;
  }

  .ram-thanks__analytics .ram-analytics-swiper .swiper-wrapper {
    width: 100%;
  }

  .ram-thanks__analytics-header,
  .ram-page--rtl .ram-thanks__analytics-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: none;
    margin: 0 0 32px;
  }

  .ram-thanks__analytics-header .ram-section__title {
    min-width: 0;
    font-size: 28px;
    line-height: 1.1;
  }

  .ram-thanks__analytics-header .ram-thanks__btn--ghost {
    flex: none;
    width: auto;
    max-width: none;
    height: 48px;
    padding: 12px 20px;
  }

  .ram-thanks__analytics .ram-analytics__desc {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .ram-thanks__deposit {
    padding-inline: 24px;
  }

  .ram-thanks__deposit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 16px;
  }

  .ram-thanks__deposit-card {
    flex: none;
    width: auto;
    max-width: none;
    min-height: 0;
    padding: 32px 28px;
    border-radius: 40px;
  }

  .ram-thanks__deposit-subtitle {
    max-width: none;
    font-size: 16px;
    line-height: 1.35;
  }

  .ram-thanks__payment-row {
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }

  .ram-thanks__payment-chip {
    padding-inline: 12px;
  }

  .ram-thanks__payment-chip--mastercard,
  .ram-thanks__payment-chip--visa {
    width: auto;
    min-width: 0;
  }

  .ram-thanks__payment-chip--other {
    width: auto;
    min-width: 0;
    flex: 0 1 auto;
    padding-inline: 10px;
  }

  .ram-thanks__deposit-btn {
    width: auto;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
  }

  .ram-thanks__deposit-visual {
    flex: none;
    width: auto;
    min-height: 0;
    padding: 12px;
    border-radius: 40px;
  }

  .ram-thanks__deposit-image {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .ram-compare__cards {
    gap: 12px;
  }

  .ram-compare__card {
    position: relative;
    flex: 1 1 auto;
    min-height: auto;
    max-height: none;
    padding: 24px;
    isolation: isolate;
    overflow: hidden;
    border-radius: 40px;
  }

  .ram-compare__card-content {
    position: relative;
    z-index: 1;
    gap: 12px;
    width: 100%;
    padding: 0;
  }

  .ram-compare__card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
  }

  .ram-compare__list {
    gap: 12px;
    width: 100%;
  }

  .ram-compare__list-item {
    align-items: center;
    gap: 12px;
  }

  .ram-compare__list-text {
    flex: 1 1 auto;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
  }

  .ram-compare__chart {
    position: absolute;
    z-index: 0;
    margin: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .ram-compare__card--negative .ram-compare__chart {
    inset-inline-start: -4px;
    inset-inline-end: 0;
    bottom: -115px;
    width: auto;
    height: 160px;
  }

  .ram-compare__card--negative .ram-compare__chart::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      179.06deg,
      #cc282e 0.81%,
      rgba(204, 40, 46, 0) 31.34%
    );
  }

  .ram-compare__card--negative .ram-compare__chart-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 64%;
  }

  .ram-compare__card--positive .ram-compare__chart {
    inset-inline-end: -14px;
    bottom: -64px;
    width: 230px;
    height: 156px;
  }

  .ram-compare__card--positive .ram-compare__chart-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: left 12%;
  }
}

/* ==========================================================================
   Mobile (<= 767px)
   ========================================================================== */

@media (max-width: 767px) {
  .ram-page {
    --ram-section-gap: 80px;
    --ram-main-padding-inline: 16px;
    --ram-content-padding: 0;
  }

  .ram-main {
    padding: 16px 16px 40px;
    gap: var(--ram-section-gap);
  }

  .ram-section__title {
    font-size: 28px;
  }

  .ram-section__subtitle {
    font-size: 20px;
  }

  .ram-features__container,
  .ram-compare__container,
  .ram-formats__container,
  .ram-tiers__container,
  .ram-workflow__container,
  .ram-signup__container {
    padding-inline: 0;
  }

  /* Hero */
  .section-1.ram-hero {
    max-width: none;
  }

  .ram-hero__container {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    min-height: 0;
    padding: 24px;
    border-radius: 32px;
  }

  .ram-hero__content {
    flex: none;
    align-items: flex-start;
    gap: 24px;
    max-width: none;
    width: 100%;
  }

  .ram-hero__brand {
    width: 156px;
    height: 32px;
  }

  .ram-hero__logo {
    width: 156px;
    height: 32px;
  }

  .ram-hero__copy {
    align-items: stretch;
  }

  .ram-hero .ram-section__title {
    font-size: 32px;
    max-width: none;
  }

  .ram-hero .ram-section__subtitle {
    font-size: 18px;
    max-width: none;
  }

  .ram-hero__cta {
    width: max-content;
    min-height: 48px;
    padding: 14px 20px;
  }

  .ram-hero__media {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .ram-page--rtl .ram-hero__content,
  .ram-page--rtl .ram-hero__copy {
    align-items: flex-end;
  }

  /* Features */
  .ram-features__container {
    gap: 24px;
  }

  .ram-features__header {
    gap: 12px;
    padding: 0;
  }

  .ram-features__header .ram-section__subtitle {
    font-size: 20px;
  }

  .ram-features__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ram-features__card {
    width: 100%;
    min-height: 0;
    padding: 16px;
    border-radius: 32px;
  }

  .ram-features__media {
    border-radius: 24px;
  }

  .ram-features__card-title {
    font-size: 20px;
  }

  .ram-features__card-text {
    font-size: 18px;
  }

  /* Analytics */
  .ram-page {
    --ram-analytics-card-gap: 16px;
  }

  .ram-page--thanks {
    --ram-analytics-card-gap: 24px;
  }

  .ram-analytics__container {
    padding-inline: 0;
  }

  .ram-analytics .ram-section__title {
    margin-bottom: 24px;
    padding-right: 0;
  }

  .ram-page--rtl .ram-analytics .ram-section__title {
    padding-left: 0;
  }

  .ram-analytics-swiper .swiper-wrapper {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .ram-analytics-swiper .swiper-slide,
  .ram-analytics-swiper .swiper-slide.ram-analytics__card {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .ram-analytics__title {
    font-size: 22px;
    line-height: 28px;
  }

  .ram-analytics__desc {
    font-size: 16px;
    line-height: 22px;
    -webkit-line-clamp: 4;
  }

  /* Compare */
  .ram-compare__container {
    gap: 24px;
  }

  .ram-compare__header {
    gap: 12px;
    padding: 0;
  }

  .ram-compare__panel {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    border-radius: 32px;
    display: block;
  }

  .ram-compare__form-card {
    flex: none;
    width: 100%;
    padding: 24px;
    border-radius: 24px;
  }

  .ram-compare__form-card .ram-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .ram-compare__form-card .ram-form__actions {
    justify-content: center;
  }

  .ram-compare__form-card .ram-form__submit {
    min-height: 48px;
    max-height: none;
    white-space: normal;
  }

  .ram-compare__cards {
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 16px;
    max-width: none;
    margin-top: 16px;
  }

  .ram-compare__card {
    flex: none;
    max-height: none;
    border-radius: 24px;
  }

  .ram-compare__card-content {
    gap: 16px;
    padding: 24px 24px 0;
  }

  .ram-compare__list {
    gap: 16px;
  }

  .ram-form {
    max-width: none;
  }

  .ram-form__submit {
    max-width: 100%;
    min-height: 48px;
    max-height: none;
    white-space: normal;
  }

  .ram-formats__header {
    display: contents;
  }

  .ram-formats__container {
    gap: 24px;
  }

  .ram-formats__grid {
    order: 1;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
  }

  .ram-formats__card {
    min-height: 0;
    padding: 24px;
    border-radius: 32px;
  }

  .ram-formats__card--charts,
  .ram-formats__card--economy,
  .ram-formats__card--plan,
  .ram-formats__card--video {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }

  .ram-formats__card--economy,
  .ram-formats__card--plan {
    min-height: 160px;
    justify-content: center;
  }

  .ram-formats__card--charts .ram-formats__media,
  .ram-formats__card--video .ram-formats__media {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    max-width: none;
    margin-top: auto;
  }

  .ram-formats__card--charts .ram-formats__body {
    max-width: none;
  }

  .ram-formats__card--charts .ram-formats__image,
  .ram-formats__card--video .ram-formats__image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .ram-formats__cta {
    order: 2;
    width: 100%;
    min-height: 48px;
    padding: 14px 20px;
    font-size: 18px;
    white-space: normal;
    max-width: 196px;
    margin: 0 auto;
  }

  /* Tiers — Figma mobile: 348×397 basic, 348×475 premium */
  .ram-tiers__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ram-tiers__card {
    --ram-tiers-mobile-w: 348;
    --ram-tiers-mobile-pad: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 24px;
    width: 100%;
    padding: var(--ram-tiers-mobile-pad);
    border-radius: 30px;
    isolation: isolate;
    overflow: hidden;
  }

  .ram-tiers__card--basic {
    min-height: max(
      360px,
      calc((100vw - 32px) * 397 / var(--ram-tiers-mobile-w))
    );
    background: #fff;
  }

  .ram-tiers__card--premium {
    min-height: max(
      420px,
      calc((100vw - 32px) * 475 / var(--ram-tiers-mobile-w))
    );
    background: #f9efe4;
  }

  .ram-tiers__media {
    position: absolute;
    flex: none;
    order: 1;
    z-index: 0;
    max-width: none;
    pointer-events: none;
  }

  .ram-tiers__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .ram-tiers__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 85.92%;
    max-width: 299px;
    margin: 0;
    padding: 0;
    flex: none;
  }

  .ram-tiers__card--premium .ram-tiers__body {
    width: 91.38%;
    max-width: 318px;
  }

  .ram-tiers__stack {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
  }

  .ram-tiers__content {
    gap: 12px;
    width: 100%;
  }

  .ram-tiers__badge {
    min-height: 30px;
    padding: 8px 10px;
    gap: 6px;
  }

  .ram-tiers__title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
  }

  .ram-tiers__text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: rgba(19, 22, 26, 0.72);
  }

  .ram-tiers__text--emphasis {
    max-width: min(248px, 100%);
    color: rgba(19, 22, 26, 0.92);
  }

  /* Basic illustration: 278×303 @ left 60px, top 141.73px */
  .ram-tiers__card--basic .ram-tiers__media {
    left: 17.24%;
    top: 35.71%;
    width: 79.89%;
    max-width: 278px;
  }

  /* Premium illustration: 230×346 @ left 138px, top 159px */
  .ram-tiers__card--premium .ram-tiers__media {
    left: 39.66%;
    top: 33.47%;
    width: 66.09%;
    max-width: 230px;
  }

  .ram-tiers__card--premium .ram-tiers__cta {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    width: auto;
    min-width: 48px;
    min-height: 50px;
    height: 50px;
    padding: 14px 20px;
    gap: 6px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
  }

  .ram-page--rtl .ram-tiers__body,
  .ram-page--rtl .ram-tiers__stack,
  .ram-page--rtl .ram-tiers__content {
    align-items: flex-end;
  }

  .ram-page--rtl .ram-tiers__card--basic .ram-tiers__media {
    left: auto;
    right: 17.24%;
  }

  .ram-page--rtl .ram-tiers__card--premium .ram-tiers__media {
    left: auto;
    right: 39.66%;
  }

  .ram-page--rtl .ram-tiers__card--premium .ram-tiers__cta {
    align-self: flex-end;
  }

  .ram-workflow .ram-section__title {
    padding-inline: 0;
    font-size: 28px;
  }

  .ram-workflow__step-text {
    max-width: 200px;
  }

  .ram-workflow__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ram-workflow__column {
    gap: 24px;
  }

  .ram-workflow__steps {
    gap: 16px;
  }

  .ram-workflow__step {
    min-height: 0;
    padding: 24px;
    border-radius: 32px;
  }

  .ram-workflow__step-body {
    max-width: min(100%, 240px);
  }

  .ram-workflow__step-num {
    right: 16px;
    font-size: 80px;
  }

  .ram-workflow__services {
    --ram-service-w: 348;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
    gap: 24px;
    width: 100%;
  }

  .ram-workflow__service {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 20px;
    gap: 15px;
    isolation: isolate;
    border-radius: 30px;
    background: #fff;
    overflow: hidden;
  }

  .ram-workflow__service-body {
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .ram-workflow__service-head {
    align-self: stretch;
    gap: 12px;
    min-height: 40px;
  }

  .ram-workflow__service-icon {
    padding: 8px;
    box-sizing: border-box;
  }

  .ram-workflow__service-media {
    position: absolute;
    z-index: 1;
    pointer-events: none;
  }

  .ram-workflow__service-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    color: #13161a;
  }

  .ram-workflow__service-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: rgba(19, 22, 26, 0.72);
  }

  .ram-workflow__service--forexcopy {
    min-height: 180px;
    height: 180px;
  }

  .ram-workflow__service--forexcopy .ram-workflow__service-body {
    max-width: min(213px, 61.21%);
  }

  .ram-workflow__service--forexcopy .ram-workflow__service-text {
    max-width: 213px;
  }

  .ram-workflow__service--forexcopy .ram-workflow__service-media {
    left: 64.08%;
    top: 18px;
    width: 37.93%;
    max-width: 132px;
  }

  .ram-workflow__service--pamm {
    min-height: 180px;
    height: 180px;
  }

  .ram-workflow__service--pamm .ram-workflow__service-body {
    max-width: min(257px, 73.85%);
  }

  .ram-workflow__service--pamm .ram-workflow__service-media {
    left: 58.33%;
    top: 46px;
    width: 41.38%;
    max-width: 144px;
  }

  .ram-workflow__service--support {
    min-height: 158px;
    height: 158px;
    overflow: visible;
  }

  .ram-workflow__service--support .ram-workflow__service-body {
    isolation: isolate;
    max-width: min(201px, 57.92%);
  }

  .ram-workflow__service--support .ram-workflow__service-head {
    position: relative;
    z-index: 1;
  }

  .ram-workflow__service--support .ram-workflow__service-text {
    position: relative;
    z-index: 2;
    max-width: 192px;
  }

  .ram-workflow__service--support .ram-workflow__service-media {
    z-index: 0;
    left: 47.35%;
  }

  .ram-page--rtl
    .ram-workflow__service--forexcopy
    .ram-workflow__service-media {
    left: auto;
    right: 64.08%;
  }

  .ram-page--rtl .ram-workflow__service--pamm .ram-workflow__service-media {
    left: auto;
    right: 58.33%;
  }

  .ram-page--rtl .ram-workflow__service--support .ram-workflow__service-media {
    left: auto;
    right: 47.35%;
    transform: rotate(-7.67deg);
  }

  /* Signup — copy → form → image */
  .ram-signup__layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .ram-signup__intro {
    display: contents;
  }

  .ram-signup__copy-card {
    order: 0;
  }

  .ram-signup__form-card {
    order: 1;
  }

  .ram-signup__media-card {
    order: 2;
  }

  .ram-signup__copy-card,
  .ram-signup__media-card,
  .ram-signup__form-card {
    border-radius: 32px;
  }

  .ram-signup__copy-card {
    gap: 12px;
    min-height: 0;
    padding: 24px;
  }

  .ram-signup .ram-section__title {
    max-width: none;
    font-size: 28px;
  }

  .ram-signup .ram-section__subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: rgba(19, 22, 26, 0.72);
  }

  .ram-signup__media-card {
    min-height: 0;
    padding: 0;
    overflow: hidden;
  }

  .ram-signup__image {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 280px;
    margin-top: 0;
    object-fit: cover;
    object-position: center top;
  }

  .ram-signup__form-card {
    flex: none;
    width: 100%;
    min-height: 0;
    padding: 24px;
  }

  .ram-form--signup {
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: none;
  }

  .ram-form--signup .ram-form__actions {
    align-items: center;
  }

  .ram-form--signup .ram-form__submit {
    min-height: 48px;
    max-height: none;
    white-space: normal;
  }

  .ram-thanks__success-card {
    min-height: 0;
    padding: 24px 12px 40px;
    border-radius: 32px;
    margin-inline: 0;
  }

  .ram-thanks__success .ram-section__subtitle {
    font-size: 16px;
  }

  .ram-thanks__mobile-card {
    flex-direction: column;
    align-items: center;
    min-height: 0;
    padding: 20px 20px 0;
    border-radius: 32px;
    overflow: hidden;
    text-align: center;
  }

  .ram-thanks__mobile-glow {
    left: 50%;
    top: auto;
    bottom: 10%;
    transform: translateX(-50%);
  }

  .ram-thanks__mobile-copy {
    order: 1;
    flex: none;
    align-items: center;
    width: 100%;
    max-width: none;
  }

  .ram-thanks__mobile-copy .ram-section__title {
    font-size: 32px;
    line-height: 1;
    text-align: center;
  }

  .ram-thanks__mobile-copy .ram-section__subtitle {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
  }

  .ram-thanks__mobile-text {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
  }

  .ram-thanks__store-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 280px;
    gap: 12px;
  }

  .ram-thanks__store-btn,
  .ram-thanks__store-btn--appstore,
  .ram-thanks__store-btn--googleplay {
    flex: none;
    width: fit-content;
    min-width: 0;
    justify-content: center;
    margin-inline: auto;
  }

  .ram-thanks__mobile .ram-thanks__btn--light {
    width: fit-content;
    max-width: none;
    min-height: 48px;
    padding: 14px 20px;
    font-size: 16px;
    line-height: 1.2;
    white-space: normal;
  }

  .ram-thanks__mobile-image {
    order: 2;
    position: relative;
    top: auto;
    right: auto;
    align-self: center;
    width: min(calc(100% + 48px), 335px);
    max-width: 335px;
    height: auto;
    margin: 0 -24px -56px;
    object-fit: contain;
    object-position: top center;
    pointer-events: none;
  }

  .ram-page--rtl .ram-thanks__mobile-copy,
  .ram-page--rtl .ram-thanks__mobile-copy .ram-section__title,
  .ram-page--rtl .ram-thanks__mobile-copy .ram-section__subtitle,
  .ram-page--rtl .ram-thanks__mobile-text {
    align-items: center;
  }

  /* Analytics — title, cards, then full-width CTA */
  .ram-thanks__analytics.section-7.ram-analytics {
    width: auto;
    max-width: none;
    margin-inline: 0;
    overflow: visible;
  }

  .ram-thanks__analytics .ram-analytics__container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-inline: 0;
    overflow: visible;
  }

  .ram-thanks__analytics .ram-analytics__viewport,
  .ram-thanks__analytics .ram-analytics-swiper {
    overflow: visible;
  }

  .ram-thanks__analytics-header {
    display: contents;
  }

  .ram-thanks__analytics-header .ram-section__title {
    order: 1;
    width: 100%;
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
  }

  .ram-thanks__analytics .ram-analytics__viewport {
    order: 2;
  }

  .ram-thanks__analytics-header .ram-thanks__btn--ghost {
    order: 3;
    align-self: stretch;
    width: max-content;
    max-width: none;
    height: 48px;
    margin: auto;
  }

  .ram-page--rtl .ram-thanks__analytics .ram-analytics__container {
    padding-inline: 0;
  }

  .ram-page--rtl .ram-thanks__analytics-header {
    margin: 0;
  }

  /* Deposit — stacked cards */
  .ram-thanks__deposit {
    padding-inline: 0;
  }

  .ram-thanks__deposit-layout {
    flex-direction: column;
    gap: 16px;
  }

  .ram-thanks__deposit-card {
    flex: none;
    max-width: none;
    min-height: 0;
    padding: 24px;
    border-radius: 32px;
  }

  .ram-thanks__deposit-subtitle {
    max-width: none;
    font-size: 16px;
    line-height: 1.35;
  }

  .ram-thanks__payment-row {
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    justify-content: center;
  }

  .ram-thanks__payment-chip--mastercard,
  .ram-thanks__payment-chip--visa {
    width: auto;
    min-width: 0;
    flex: 0 0 auto;
    padding-inline: 16px;
  }

  .ram-thanks__payment-chip--other {
    width: auto;
    min-width: 0;
    padding-inline: 8px;
  }

  .ram-thanks__deposit-btn {
    min-width: 0;
    max-width: none;
    height: 48px;
    font-size: 16px;
    white-space: normal;
    margin-inline: auto;
  }

  .ram-thanks__deposit-visual {
    flex: none;
    width: 100%;
    min-height: 240px;
    padding: 24px;
    border-radius: 32px;
  }

  .ram-thanks__deposit-image {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* Formats cards — stacked layout */
  .ram-formats__card--charts,
  .ram-formats__card--video {
    flex-direction: column;
    align-items: stretch;
  }

  .ram-formats__card--charts .ram-formats__body,
  .ram-formats__card--video .ram-formats__body {
    flex: none;
    max-width: none;
  }

  .ram-formats__card--charts .ram-formats__media,
  .ram-formats__card--video .ram-formats__media {
    flex: none;
    max-width: none;
  }

  /* Article modal */
  .artModal-content {
    width: calc(100% - 32px);
    max-width: none;
  }

  .artClose {
    right: 16px;
    top: 16px;
  }

  .art_header {
    padding: 16px 16px 16px 24px;
  }

  .art_text {
    max-height: calc(100vh - 120px);
    padding: 0 16px 16px;
    font-size: 14px;
    line-height: 1.4;
  }

  .art_text img {
    float: none !important;
    display: block;
    max-width: 100%;
    padding: 0;
    margin: 10px auto;
  }

  .art_title {
    font-size: 22px;
    line-height: 1.2;
  }

  .ram-thanks__btn {
    font-size: 16px;
  }

  .ram-thanks__success .ram-thanks__btn--primary {
    max-width: 277px;
  }
}
