/*
 * Live-UAE looks for the home page (deriv.com/ae). Every rule is scoped to
 * a UAE slot band, `[data-raven-slot="home:<slot>"]` (PageRenderer sets it
 * only on recipe-slot sections), so ROW and EU never match.
 */
/*
 * UAE Home "Quick deposits" (live /ae `.section_home_payments`, measured
 * 2026-11-01): full-bleed slate band, copy left, logos in faint tiles right
 * (187×135, r16, 20px gaps, three columns filled top-down). Phones: copy over
 * a 2-up tile grid (171×125, 16px gaps).
 */
.raven-section-pad[data-raven-slot="home:payments"][data-raven-surface],
[data-raven-slot="home:payments"] {
  background-color: #181c25;
}
[data-raven-slot="home:payments"] .fc-container {
  max-width: 1328px;
  padding: 112px 24px;
}
[data-raven-slot="home:payments"] .fc-container > .raven-composed-stack {
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
[data-raven-slot="home:payments"] .raven-composed-grid--2 {
  display: grid;
  grid-template-columns: minmax(0, 522px) auto;
  justify-content: space-between;
  align-items: center;
  min-height: 600px;
  gap: 32px;
}
[data-raven-slot="home:payments"] .raven-composed-grid--3 {
  display: grid;
  grid-template-columns: repeat(3, 187px);
  grid-template-rows: repeat(2, 135px);
  grid-auto-flow: column;
  gap: 20px;
}
[data-raven-slot="home:payments"] .raven-composed-grid--3 > img {
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box;
  padding: 24px;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.04);
  object-fit: contain;
}
@media (max-width: 767px) {
  [data-raven-slot="home:payments"] .fc-container {
    padding: 56px 16px;
  }
  [data-raven-slot="home:payments"] .raven-composed-grid--2 {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 32px;
  }
  [data-raven-slot="home:payments"] .raven-composed-grid--2 h2 {
    font-size: 40px;
    line-height: 48px;
  }
  [data-raven-slot="home:payments"] .raven-composed-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 125px;
    grid-auto-flow: row;
    gap: 16px;
  }
}

/*
 * Payments refinements (live measured 2026-11-01). Composed sections carry
 * inline gaps, hence !important on gap. The tile is painted by a 24px spread
 * shadow so the logo <img> keeps live's logo box (139×87; phones 127×79-ish)
 * while the tile reads 187×135 / 171×125. Desktop fills row-major (live:
 * Mastercard Skrill Visa / Neteller ApplePay); phones reorder to live's
 * Mastercard Visa / Skrill Neteller / ApplePay.
 */
[data-raven-slot="home:payments"] .raven-composed-grid--2 {
  gap: 32px !important;
}
[data-raven-slot="home:payments"] .raven-composed-grid--2 > .raven-composed-stack > div:last-child {
  margin-top: 16px;
}
[data-raven-slot="home:payments"] .raven-composed-grid--2 .link {
  line-height: 24px;
}
[data-raven-slot="home:payments"] .raven-composed-grid--3 {
  grid-auto-flow: row;
  gap: 20px !important;
}
[data-raven-slot="home:payments"] .raven-composed-grid--3 > img {
  width: 139px !important;
  height: 87px !important;
  margin: 24px;
  padding: 0;
  border-radius: 4.6px;
  box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.04);
}
@media (max-width: 767px) {
  [data-raven-slot="home:payments"] .raven-composed-grid--2 {
    gap: 32px !important;
  }
  [data-raven-slot="home:payments"] .raven-composed-grid--2 > .raven-composed-stack > div:last-child {
    margin-top: 0;
  }
  [data-raven-slot="home:payments"] .raven-composed-grid--3 {
    gap: 16px !important;
  }
  [data-raven-slot="home:payments"] .raven-composed-grid--3 > img {
    width: calc(100% - 44px) !important;
    height: 81px !important;
    margin: 22px;
    border-radius: 4.2px;
    box-shadow: 0 0 0 22px rgba(255, 255, 255, 0.04);
  }
  [data-raven-slot="home:payments"] .raven-composed-grid--3 > img:nth-child(2) { order: 3; }
  [data-raven-slot="home:payments"] .raven-composed-grid--3 > img:nth-child(3) { order: 2; }
  [data-raven-slot="home:payments"] .raven-composed-grid--3 > img:nth-child(4) { order: 4; }
  [data-raven-slot="home:payments"] .raven-composed-grid--3 > img:nth-child(5) { order: 5; }
}

/*
 * Trade with confidence (live `.section_home_stats`). Award badges: laurels
 * hug the copy (no gap), heading 14/20 800, sub 12/20 (phones 12/16 + 10/14).
 * At rest live pins the left awards to the top and the right awards to the
 * bottom of the 414px column, 28px apart; the DS parallax offset still runs
 * on top. Counter 76/88 on desktop; phones: 352×320 card, 14/20 labels.
 */
[data-raven-slot="home:trade-with-confidence"] .stats-v2__award {
  gap: 0;
}
[data-raven-slot="home:trade-with-confidence"] .stats-v2__award-heading {
  font-size: 14px;
  line-height: 20px;
  font-weight: 800;
}
[data-raven-slot="home:trade-with-confidence"] .stats-v2__award-subheading {
  font-size: 12px;
  line-height: 20px;
}
/* Each rotating counter is absolutely placed at left: 50% and shifted back by
   half its width, so its shrink-to-fit box can only be about half the card wide.
   Long Arabic counters then wrap word by word ("700+ / مليار / دولار", 3 lines)
   and run into the counters rotating above and below. Live's counters span the
   card (326px), so "700+ / مليار دولار" takes 2 lines. Full width keeps the
   centring (translate -50% of a 100% box) and changes nothing for short English
   counters. (Owner screenshot of /ae/ar, 2026-11-06.) */
[data-raven-slot="home:trade-with-confidence"] .stats-v2__stat {
  width: 100%;
}
/* Live sets these counters in "Inter, Arial", so their Arabic draws in Arial,
   about 30% narrower than the Noto Sans Arabic the UAE frame puts first. In Noto,
   "مليار دولار" can't fit one line at 76px (64px on phones). Measured 2026-11-06. */
[dir="rtl"] [data-raven-slot="home:trade-with-confidence"] .stats-v2__stat {
  --font-family-base: Inter, Arial, sans-serif;
  font-family: Inter, Arial, sans-serif;
}
/* The global RTL rule pins the neighbours 7.5rem from centre, which assumes
   one-line counters. Two-line Arabic counters ("+168 مليون") then overlap the
   centre one. Live places each neighbour 110% of its own height away (Webflow
   translate3d(0,-110%,0)), the DS default; but a one-line neighbour of a
   two-line centre counter is then still too close (12-15px overlap), so the
   offset is never less than 9rem. Measured at 1440 and 375px: one counter in
   the middle, 0 overlap in every rotation state. UAE home only; ROW /ar keeps
   7.5rem. (Owner report, 2026-11-12.) */
[dir="rtl"] [data-raven-slot="home:trade-with-confidence"] .stats-v2__card-track {
  --stats-v2-slot-offset: max(110%, 9rem);
}
@media (min-width: 992px) {
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__content {
    gap: 20px;
  }
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__awards-col {
    gap: 28px;
  }
  /* DS parallax runs translateY(∓26.3% → 0) as the band scrolls in; live runs
     0 → ±26.3%. Pre-shifting each column by 26.3% of its 414px height makes
     both ends of the motion land where live's do. */
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__awards-col {
    box-sizing: border-box;
  }
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__awards-col--left {
    justify-content: flex-start;
    padding-top: 108.88px;
  }
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__awards-col--right {
    justify-content: flex-end;
    padding-bottom: 108.88px;
  }
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__stat-value {
    font-size: 76px;
    line-height: 88px;
  }
}
@media (max-width: 991px) {
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__inner {
    padding: 64px 16px 0;
  }
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__card {
    max-width: 352px;
    height: 320px;
    padding: 0 44px;
  }
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__stat-label {
    font-size: 14px;
    line-height: 20px;
  }
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__awards-mobile {
    max-width: 328px;
    gap: 20px 16px;
  }
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__award {
    max-width: 156px;
  }
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__award-heading {
    font-size: 12px;
    line-height: 16px;
  }
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__award-subheading {
    font-size: 10px;
    line-height: 14px;
  }
}

/*
 * One platform, all markets (live `.section_home_markets`, FeatureScroll).
 * Desktop: 1064px grid, 414px copy + 570px sticky media, 80px apart; every
 * step is one viewport tall (live: 900 at a 900px window) and starts right
 * under the heading; the media frame is 100vh, stuck 40px from the top.
 * Phones: 64 top / 112 bottom, 48 heading→first title, 40 title→media.
 */
@media (min-width: 992px) {
  .raven-section-pad[data-raven-slot="home:all-markets"] .fs__inner {
    gap: 0;
  }
  [data-raven-slot="home:all-markets"] .fs__layout {
    max-width: 1064px;
    margin-inline: auto;
    gap: 80px;
    --fs-step-band: 100svh;
  }
  [data-raven-slot="home:all-markets"] .fs__content-col {
    flex: 0 0 414px;
  }
  [data-raven-slot="home:all-markets"] .fs__media-col {
    flex: 0 0 570px;
  }
  [data-raven-slot="home:all-markets"] .fs__media-sticky {
    top: 40px;
  }
  [data-raven-slot="home:all-markets"] .fs__item,
  [dir="rtl"] [data-raven-slot="home:all-markets"] .fs__item {
    padding-inline: 0;
    gap: 20px;
  }
}
@media (max-width: 991px) {
  .raven-section-pad[data-raven-slot="home:all-markets"] .fs__inner {
    padding-top: 64px;
    padding-bottom: 112px;
    gap: 48px;
  }
  [data-raven-slot="home:all-markets"] .fs__mobile-item > .fs__item-title {
    margin-bottom: 24px;
  }
}

/*
 * All the tools (live `.section_home_platforms`): 600px media + 80px gap +
 * 600px copy inside the 1280 content box; phones 64 top, copy then media
 * 24px below the link. Links are 24px tall like live's.
 */
[data-raven-slot="home:mt5-platform"] .feature-split__link {
  line-height: 24px;
}
/* Live's link carries a trailing arrow; the renderer emits text only, so draw
   the same arrow glyph the payments link uses (mirrored on RTL pages). */
[data-raven-slot="home:mt5-platform"] .feature-split__link::after {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
[dir="rtl"] [data-raven-slot="home:mt5-platform"] .feature-split__link::after {
  transform: scaleX(-1);
}
@media (min-width: 992px) {
  .raven-section-pad[data-raven-slot="home:mt5-platform"] .feature-split__container {
    max-width: 1328px;
  }
  [data-raven-slot="home:mt5-platform"] .feature-split__split {
    gap: 80px;
  }
  [data-raven-slot="home:mt5-platform"] .feature-split__image-wrapper {
    flex: 0 0 600px;
  }
  [data-raven-slot="home:mt5-platform"] .feature-split__content {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
  }
}
@media (max-width: 991px) {
  .raven-section-pad[data-raven-slot="home:mt5-platform"] .feature-split__container {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

/*
 * What our customers say (live `.section_home_testimonials`): pale slate
 * band, flat white 288px cards (r24, 32px padding, 26px stars, 16px name at
 * the foot), no arrows. Desktop: the four cards sit centred in one row.
 * Phones: 296px cards in a swipe row from a 20px inset; RTL starts at the
 * right like live's Arabic page.
 */
.raven-section-pad[data-raven-slot="home:testimonials"][data-raven-surface],
[data-raven-slot="home:testimonials"] .testimonial {
  background-color: #eff3f5;
}
[data-raven-slot="home:testimonials"] .testimonial__title {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: start;
}
[data-raven-slot="home:testimonials"] .testimonial__tp-carousel {
  margin-block: 0;
  scroll-padding-inline: 20px;
}
[data-raven-slot="home:testimonials"] .testimonial__tp-nav {
  display: none;
}
[data-raven-slot="home:testimonials"] .testimonial__tp-card {
  padding: 32px;
  border-radius: 24px;
  box-shadow: none;
}
[data-raven-slot="home:testimonials"] .testimonial__tp-stars .testimonial__tp-star,
[data-raven-slot="home:testimonials"] .testimonial__tp-stars > svg {
  width: 26px;
  height: 26px;
}
[data-raven-slot="home:testimonials"] .testimonial__tp-stars {
  gap: 1.75px;
}
[data-raven-slot="home:testimonials"] .testimonial__tp-author {
  margin-top: 32px;
  font-size: 16px;
  line-height: 24px;
}
[dir="rtl"] [data-raven-slot="home:testimonials"] .testimonial__tp-carousel {
  direction: rtl;
}
[data-raven-slot="home:testimonials"] .testimonial__tp-track {
  gap: 20px;
  padding-inline: 20px;
}
[data-raven-slot="home:testimonials"] .testimonial__tp-track::after {
  display: none;
}
[data-raven-slot="home:testimonials"] .testimonial__tp-card-wrap {
  flex: 0 0 296px;
}
@media (max-width: 991px) {
  [data-raven-slot="home:testimonials"] .testimonial__tp-foot {
    padding-top: 52px;
  }
}
@media (min-width: 992px) {
  [data-raven-slot="home:testimonials"] .testimonial__tp-track {
    justify-content: center;
    padding-inline: 0;
  }
  [data-raven-slot="home:testimonials"] .testimonial__tp-card-wrap {
    flex: 0 0 288px;
  }
}

/*
 * 3 steps to get started (live `.section_home_steps`): 1026px cards centred
 * (495 tall, 48px padding, 16px title→copy), 48px under the heading, 540px
 * per sticky step. Phones: 64px band padding, 32 heading→cards, 450px images,
 * steps 45 + 24px apart.
 */
[data-raven-slot="home:get-started-steps"] .ssc__header {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
.raven-section-pad[data-raven-slot="home:get-started-steps"] .ssc__track {
  padding-bottom: 0;
}
[data-raven-slot="home:get-started-steps"] .ssc__card-content {
  gap: 16px;
}
@media (min-width: 992px) {
  [data-raven-slot="home:get-started-steps"] .ssc__inner {
    gap: 48px;
  }
  [data-raven-slot="home:get-started-steps"] .ssc__track {
    width: 100%;
    max-width: 1026px;
    margin-inline: auto;
  }
  [data-raven-slot="home:get-started-steps"] .ssc__card,
  [data-raven-slot="home:get-started-steps"] .ssc__card:last-child {
    min-height: 495px;
    margin-bottom: 45px;
  }
  [data-raven-slot="home:get-started-steps"] .ssc__card-content {
    padding: 48px;
  }
}
@media (max-width: 991px) {
  [data-raven-slot="home:get-started-steps"] .ssc__inner {
    padding-top: 64px;
    padding-bottom: 64px;
    gap: 32px;
  }
  [data-raven-slot="home:get-started-steps"] .ssc__card {
    margin-bottom: 69px;
  }
  [data-raven-slot="home:get-started-steps"] .ssc__card:last-child {
    margin-bottom: 45px;
  }
  [data-raven-slot="home:get-started-steps"] .ssc__card-image {
    height: 450px;
  }
}

/*
 * Hero: live's copy starts at x=88 at 1440 (a 1328px section-container with
 * 24px gutters inside a 9px-inset band); the DS hero__inner is 1280px with
 * 32px padding (x=112).
 */
@media (min-width: 992px) {
  [data-raven-slot="home:hero"] .hero__inner {
    max-width: 1328px;
    padding-inline: 32px;
  }
}

/*
 * Workshop promo card (live /ae `.image-banner` → `.tvb-ban`, its own embed
 * stylesheet copied 2026-11-02): 80px band padding; the card is one link,
 * min 420px (540 on phones), r24 (r20), #0E1118 under a photo that bleeds 20%
 * past the inline end, with a dark fade from the copy side. Arabic mirrors
 * the photo and fade on wide screens only (phones stack photo over copy).
 */
.raven-section-pad[data-raven-slot="home:workshop-promo"],
[data-raven-slot="home:workshop-promo"] {
  padding-block: 80px;
}
[data-raven-slot="home:workshop-promo"] .raven-promo-card {
  width: 100%;
  max-width: 1328px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
[data-raven-slot="home:workshop-promo"] .raven-promo-card *,
[data-raven-slot="home:workshop-promo"] .raven-promo-card *::before,
[data-raven-slot="home:workshop-promo"] .raven-promo-card *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
[data-raven-slot="home:workshop-promo"] .raven-promo-card__card {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  background: #0e1118;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
[data-raven-slot="home:workshop-promo"] .raven-promo-card__media {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: -20%;
  z-index: -2;
}
[data-raven-slot="home:workshop-promo"] .raven-promo-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 0.6s ease;
}
[data-raven-slot="home:workshop-promo"] .raven-promo-card__card:hover .raven-promo-card__media img {
  transform: scale(1.03);
}
[data-raven-slot="home:workshop-promo"] .raven-promo-card__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 12, 18, 0.92) 0%, rgba(10, 12, 18, 0.8) 30%, rgba(10, 12, 18, 0.4) 52%, rgba(10, 12, 18, 0) 72%);
}
[data-raven-slot="home:workshop-promo"] .raven-promo-card__body {
  padding: 56px 64px;
  max-width: 600px;
}
[data-raven-slot="home:workshop-promo"] .raven-promo-card__tag {
  display: inline-block;
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}
[data-raven-slot="home:workshop-promo"] .raven-promo-card__title {
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 4rem;
  letter-spacing: -0.03rem;
  color: #fff;
  margin: 0 0 18px;
}
[data-raven-slot="home:workshop-promo"] .raven-promo-card__accent {
  color: #ff444f;
}
[data-raven-slot="home:workshop-promo"] .raven-promo-card__desc {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}
[data-raven-slot="home:workshop-promo"] .raven-promo-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
  color: #fff;
}
[data-raven-slot="home:workshop-promo"] .raven-promo-card__cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}
[data-raven-slot="home:workshop-promo"] .raven-promo-card__card:hover .raven-promo-card__cta svg {
  transform: translateX(3px);
}
[dir="rtl"] [data-raven-slot="home:workshop-promo"] .raven-promo-card__media {
  left: -20%;
  right: 0;
  transform: scaleX(-1);
}
[dir="rtl"] [data-raven-slot="home:workshop-promo"] .raven-promo-card__card::before {
  background: linear-gradient(270deg, rgba(10, 12, 18, 0.92) 0%, rgba(10, 12, 18, 0.8) 30%, rgba(10, 12, 18, 0.4) 52%, rgba(10, 12, 18, 0) 72%);
}
[dir="rtl"] [data-raven-slot="home:workshop-promo"] .raven-promo-card__cta svg {
  transform: scaleX(-1);
}
[dir="rtl"] [data-raven-slot="home:workshop-promo"] .raven-promo-card__card:hover .raven-promo-card__cta svg {
  transform: scaleX(-1) translateX(3px);
}
@media (max-width: 991px) {
  [data-raven-slot="home:workshop-promo"] .raven-promo-card__body {
    padding: 48px 40px;
  }
  [data-raven-slot="home:workshop-promo"] .raven-promo-card__title {
    font-size: 3rem;
    line-height: 3.5rem;
  }
}
@media (max-width: 767px) {
  [data-raven-slot="home:workshop-promo"] .raven-promo-card {
    padding: 0 16px;
  }
  [data-raven-slot="home:workshop-promo"] .raven-promo-card__card {
    align-items: flex-end;
    min-height: 540px;
    border-radius: 20px;
  }
  [data-raven-slot="home:workshop-promo"] .raven-promo-card__media {
    right: 0;
    bottom: 30%;
  }
  [data-raven-slot="home:workshop-promo"] .raven-promo-card__media img {
    object-position: 47% 20%;
  }
  [data-raven-slot="home:workshop-promo"] .raven-promo-card__card::before {
    background: linear-gradient(180deg, rgba(10, 12, 18, 0) 0%, rgba(10, 12, 18, 0.2) 35%, rgba(10, 12, 18, 0.9) 58%, #0a0c12 70%);
  }
  [data-raven-slot="home:workshop-promo"] .raven-promo-card__body {
    padding: 24px 22px 28px;
  }
  [data-raven-slot="home:workshop-promo"] .raven-promo-card__title {
    font-size: 2.5rem;
    line-height: 3rem;
    margin-bottom: 12px;
  }
  [data-raven-slot="home:workshop-promo"] .raven-promo-card__desc {
    font-size: 15px;
    margin-bottom: 18px;
  }
  [data-raven-slot="home:workshop-promo"] .raven-promo-card__cta {
    font-size: 16px;
  }
  [dir="rtl"] [data-raven-slot="home:workshop-promo"] .raven-promo-card__media {
    left: 0;
    right: 0;
    transform: none;
  }
  [dir="rtl"] [data-raven-slot="home:workshop-promo"] .raven-promo-card__card::before {
    background: linear-gradient(180deg, rgba(10, 12, 18, 0) 0%, rgba(10, 12, 18, 0.2) 35%, rgba(10, 12, 18, 0.9) 58%, #0a0c12 70%);
  }
}
/* Live's Arabic card is set in Noto Sans Arabic alone (spaces included); a
   stack led by Inter takes its spaces from Inter and wraps one word later. */
[dir="rtl"] [data-raven-slot="home:workshop-promo"] .raven-promo-card {
  font-family: "Noto Sans Arabic", "Noto Sans Arabic Fallback", sans-serif;
}
[dir="rtl"] [data-raven-slot="home:workshop-promo"] .raven-promo-card__title {
  font-family: inherit;
}

/*
 * Small desktop (992–1279) and tablet (768–991), measured on live /ae at
 * 1024 and 768 (2026-11-03). Webflow's tablet range keeps most desktop
 * layouts (two columns, desktop type), so these bands do not fall back to
 * the phone stack until 767px.
 */

/* Hero. 992–1279: copy at x=26 (live's 24px gutter inside its 2px-inset
   band); live scales the button pair to 0.9 from its inline-end edge.
   768–991: copy capped at 403.75px (4 lines), buttons 16px apart, the pair's
   foot 89px above the band's foot. */
@media (min-width: 992px) and (max-width: 1279px) {
  [data-raven-slot="home:hero"] .hero__inner {
    padding-inline: 26px;
  }
  [data-raven-slot="home:hero"] .hero__buttons {
    width: fit-content;
    transform: scale(0.9);
    transform-origin: 100% 50%;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  [data-raven-slot="home:hero"] .hero__inner {
    padding-bottom: 89px;
  }
  [data-raven-slot="home:hero"] .hero__description {
    max-width: 403.75px;
  }
  /* Live's Arabic copy is not capped; it fills the 608px text column. */
  [dir="rtl"] [data-raven-slot="home:hero"] .hero__description {
    max-width: 608px;
  }
  [data-raven-slot="home:hero"] .hero__buttons {
    gap: 16px;
  }
}

/* Trade with confidence, 768–991: 48px top, 44px header→grid, a 414px
   square card (40/44 padding, 76/88 counter, 16/24 label), then the awards
   in two 199px columns 16px apart, 28px between rows, desktop type. */
@media (min-width: 768px) and (max-width: 991px) {
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__inner {
    padding: 48px 24px 0;
    gap: 44px;
  }
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__card {
    max-width: 414px;
    width: 100%;
    height: 414px;
    padding: 40px 44px;
    box-sizing: border-box;
  }
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__stat-value {
    font-size: 76px;
    line-height: 88px;
  }
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__stat-label {
    font-size: 16px;
    line-height: 24px;
  }
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__awards-mobile {
    max-width: 414px;
    grid-template-columns: repeat(2, 199px);
    justify-content: center;
    gap: 28px 16px;
  }
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__award {
    max-width: 196px;
  }
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__award-heading {
    font-size: 14px;
    line-height: 20px;
  }
  [data-raven-slot="home:trade-with-confidence"] .stats-v2__award-subheading {
    font-size: 12px;
    line-height: 20px;
  }
}

/* One platform, all markets. 992–1279: the 570px media column gives way so
   the 414px copy column starts at the gutter (live: 414 + 80 + 482).
   768–991: live keeps two 336px columns 48px apart, each market one viewport
   tall (48px apart) with its copy centred on the left and its media centred
   on the right; the phone markup is laid out as that grid (each market keeps
   its own media, so no scroll script is needed). */
@media (min-width: 992px) and (max-width: 1279px) {
  [data-raven-slot="home:all-markets"] .fs__media-col {
    flex: 0 1 570px;
    min-width: 0;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .raven-section-pad[data-raven-slot="home:all-markets"] .fs__inner {
    padding-top: 80px;
    padding-bottom: 80px;
    gap: 0;
  }
  [data-raven-slot="home:all-markets"] .fs__header {
    text-align: center;
  }
  [data-raven-slot="home:all-markets"] .fs__mobile-item {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr auto auto auto 1fr;
    column-gap: 48px;
    row-gap: 0;
    min-height: 100svh;
  }
  [data-raven-slot="home:all-markets"] .fs__mobile-item > .fs__item-title {
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 0;
  }
  [data-raven-slot="home:all-markets"] .fs__mobile-item > .fs__item-desc {
    grid-column: 1;
    grid-row: 3;
    margin-top: 20px;
  }
  [data-raven-slot="home:all-markets"] .fs__mobile-item > .fs__item-link {
    grid-column: 1;
    grid-row: 4;
    justify-self: start;
    margin-top: 20px;
  }
  [data-raven-slot="home:all-markets"] .fs__mobile-item > .fs__mobile-media {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: center;
  }
}

/* All the tools (MT5). 992–1279: two equal columns 80px apart (448 each at
   1024). 768–991: still two columns, phone left and copy right, 24px apart,
   48px band padding, 16px between copy items. */
@media (min-width: 992px) and (max-width: 1279px) {
  [data-raven-slot="home:mt5-platform"] .feature-split__image-wrapper {
    flex: 0 0 calc(50% - 40px);
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .raven-section-pad[data-raven-slot="home:mt5-platform"] .feature-split__container {
    padding: 48px 24px;
  }
  [data-raven-slot="home:mt5-platform"] .feature-split__split {
    flex-direction: row-reverse;
    align-items: center;
    gap: 24px;
  }
  [data-raven-slot="home:mt5-platform"] .feature-split__image-wrapper {
    flex: 0 0 calc(50% - 12px);
    width: auto;
  }
  [data-raven-slot="home:mt5-platform"] .feature-split__content {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    gap: 16px;
  }
}

/* Quick deposits. Live's tiles are fluid: three columns 20px apart, each
   tile the logo plus 24px all round, logos 1.6:1. 992–1279: two equal
   columns 80px apart, 448px tall. 768–991: 80px band padding, two equal
   columns 32px apart, the tile grid 360px wide centred on its column. */
@media (min-width: 768px) and (max-width: 1279px) {
  [data-raven-slot="home:payments"] .raven-composed-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: normal;
  }
  [data-raven-slot="home:payments"] .raven-composed-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
  }
  [data-raven-slot="home:payments"] .raven-composed-grid--3 > img {
    width: calc(100% - 48px) !important;
    height: auto !important;
    aspect-ratio: 88 / 55;
  }
}
@media (min-width: 992px) and (max-width: 1279px) {
  [data-raven-slot="home:payments"] .raven-composed-grid--2 {
    min-height: 448px;
    gap: 80px !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  [data-raven-slot="home:payments"] .fc-container {
    padding: 80px 24px;
  }
  [data-raven-slot="home:payments"] .raven-composed-grid--2 {
    min-height: 0;
  }
  [data-raven-slot="home:payments"] .raven-composed-grid--3 {
    width: 360px;
    justify-self: center;
  }
  [data-raven-slot="home:payments"] .raven-composed-grid--3 > img {
    border-radius: 2px;
  }
  /* Live's Arabic heading is Noto Sans Arabic alone; with Inter first it
     takes Inter's narrower spaces and wraps to 2 lines, not 3. The h2's
     inline style reads the token, so set the token. */
  [dir="rtl"] [data-raven-slot="home:payments"] .raven-composed-grid--2 {
    --typography-h2-font-family: "Noto Sans Arabic", "Noto Sans Arabic Fallback", sans-serif;
  }
}

/* What our customers say, 768–1279: live's card row starts 5vw in and
   scrolls (no centring); 288px cards, 272px at tablet. Tablet: 80px top,
   32px heading→cards, 20px under the cards. */
@media (min-width: 768px) and (max-width: 1279px) {
  [data-raven-slot="home:testimonials"] .testimonial__tp-track {
    justify-content: flex-start;
    padding-inline: 5vw;
  }
  [data-raven-slot="home:testimonials"] .testimonial__tp-carousel {
    scroll-padding-inline: 5vw;
  }
}
@media (min-width: 992px) and (max-width: 1279px) {
  [data-raven-slot="home:testimonials"] .testimonial__tp-card-wrap {
    flex: 0 0 288px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  [data-raven-slot="home:testimonials"] .testimonial__tp-head {
    padding-top: 80px;
    padding-bottom: 32px;
  }
  [data-raven-slot="home:testimonials"] .testimonial__tp-track {
    padding-bottom: 20px;
  }
  [data-raven-slot="home:testimonials"] .testimonial__tp-card-wrap {
    flex: 0 0 272px;
  }
}

/* 3 steps. 992–1279: cards 760px wide, centred. 768–991: 96px band padding,
   48px heading→cards, cards keep two columns (copy | image), 495px tall,
   45px apart, 32px copy padding. */
@media (min-width: 992px) and (max-width: 1279px) {
  [data-raven-slot="home:get-started-steps"] .ssc__track {
    max-width: 760px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  [data-raven-slot="home:get-started-steps"] .ssc__inner {
    padding-top: 96px;
    padding-bottom: 96px;
    gap: 48px;
  }
  [data-raven-slot="home:get-started-steps"] .ssc__card,
  [data-raven-slot="home:get-started-steps"] .ssc__card:last-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 495px;
    margin-bottom: 45px;
  }
  [data-raven-slot="home:get-started-steps"] .ssc__card-content {
    padding: 32px;
  }
  [data-raven-slot="home:get-started-steps"] .ssc__card-image {
    height: auto;
  }
}
