@media (max-width: 767px) {
 html,
  body {
    overflow-x: clip;
  }
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

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

  .header.fixed {
    background: rgba(25, 29, 41, 0.72) !important;
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  picture,
  img {
    max-width: 100%;
    height: auto;
  }

  .learn .row {
    display: block !important;
    overflow: visible !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .learn .row > div {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
  }

  .learn-box {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  .learn-item,
  .learn-item--small {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 1 !important;
    margin: 0 0 16px !important;
  }

  .learn-item__img,
  .learn-item--4 .learn-item__img {
    max-width: 100% !important;
    margin: 0 !important;
    padding-top: 16px !important;
    text-align: center !important;
  }

  .learn-item__img img,
  .learn-item--4 .learn-item__img img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important;
    display: inline-block !important;
  }

  /* The small cards use square artwork that otherwise renders much larger than
     the wide banner of the first card. Cap it so every illustration reads at a
     similar visual size. */
  .learn-item--small .learn-item__img img {
    max-width: 170px !important;
  }

  /* The Personalised Approach artwork has a dark side panel meant to bleed off
     the card edge on desktop; on a centered mobile card it sticks out awkwardly.
     Rotating it -90deg turns that panel into a tidy base "mound" with the rocket
     upright and the orbit icons flanking it left/right. */
  .learn-item--3 .learn-item__img img {
    transform: rotate(-90deg) !important;
  }

  .learn-item__content {
    padding: 0 20px 24px !important;
    text-align: center !important;
  }

  /* ---- TRUSTED PROVIDERS & PAYMENTS (brands) ----
     Desktop uses a 1716px-wide logo-wall backdrop anchored to the right, a big
     blurred glow circle, and a horizontally-scrolling row of highlighted logos.
     On phones that wall is cut off and the glow renders as a hard purple disc.
     We clip the section, drop the glow, fit the wall to the screen as a faded
     backdrop, and wrap the highlighted logos into a tidy centered grid. */
  .brands {
    overflow: hidden !important;
  }

  .brands .round,
  .brands .round--500 {
    display: none !important;
  }

  .brands-bg {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    height: 100% !important;
    background-position: center !important;
    background-size: cover !important;
    opacity: 0.3 !important;
  }

  .brands-row {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 14px 20px !important;
    overflow: visible !important;
    margin-top: 28px !important;
    padding-bottom: 0 !important;
  }

  .brands-item {
    flex: 0 0 auto !important;
  }
}
