/* ============================================================
   Ready Made Apps page  (/service/ready-made-apps)
   Light theme, blue accent. BEM-ish `rm-` prefix; scroll-reveal
   via `.rm-anim` on <html>, mirroring logistic.css / llm.css.
   ============================================================ */

/* The global stylesheets set `overflow-x: hidden` on <body>, which makes it a
   scroll container and silently disables `position: sticky` inside it. `clip`
   prevents the same horizontal overflow without creating a scroll container.
   Scoped with :has() so only this page is affected. */
body:has(.rm-page) {
  overflow-x: clip;
}

.rm-page {
  --rm-blue: #0072f6;
  --rm-blue-dk: #0a58c2;
  --rm-ink: #111318;
  --rm-body: #656565;
  --rm-muted: #747576;
  --rm-line: #ececec;
  --rm-card: #ffffff;
  --rm-page-bg: #ffffff;

  position: relative;
  background: var(--rm-page-bg);
  color: var(--rm-ink);
  overflow-x: clip;
  font-family:
    "Gabarito",
    "Poppins",
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
}

.rm-page .container {
  max-width: 1240px;
}

/* `:where()` keeps these resets at zero added specificity, so the component
   rules further down can set their own margin/padding without needing to
   out-specify the reset. */
.rm-page :where(h1, h2, h3) {
  margin: 0;
  letter-spacing: -0.02em;
}

.rm-page :where(p) {
  margin: 0;
}

.rm-page :where(ul, ol) {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rm-blue {
  color: var(--rm-blue);
}

.rm-grad {
  background: linear-gradient(90deg, #0072f6 0%, #6d5cf5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- shared section furniture ---------- */
.rm-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  margin: 0 auto 54px;
  max-width: 1120px;
}

.rm-head--left {
  align-items: flex-start;
  text-align: left;
  margin-left: 0;
}

/* Sized to match the LLM page badge (8px/20px, 13px type, 0.14em tracking). */
.rm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid rgba(0, 114, 246, 0.28);
  border-radius: 999px;
  background: rgba(0, 114, 246, 0.07);
  color: var(--rm-blue);
  font-family: "Poppins", "Gabarito", sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rm-eyebrow--grad {
  border-color: rgba(124, 58, 237, 0.24);
  background: linear-gradient(
    90deg,
    rgba(0, 114, 246, 0.1),
    rgba(124, 58, 237, 0.1)
  );
}

.rm-title {
  font-weight: 800;
  font-size: clamp(30px, 4.1vw, 60px);
  line-height: 1.2;
  color: var(--rm-ink);
}

.rm-lead {
  max-width: 960px;
  font-size: 16px;
  line-height: 23px;
  color: var(--rm-body);
}

/* ---------- pill button ---------- */
/* Label sits left of a dark arrow disc; on hover the two swap sides, which is
   why the JS publishes the measured label width as --rm-btn-label-w. */
.rm-btn {
  --rm-btn-icon-w: 46px;
  --rm-btn-gap: 14px;
  --rm-btn-pad-l: 34px;
  --rm-btn-pad-r: 9px;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--rm-btn-gap);
  width: max-content;
  padding: 9px var(--rm-btn-pad-r) 9px var(--rm-btn-pad-l);
  border-radius: 999px;
  background: var(--rm-blue);
  color: #fff;
  overflow: hidden;
  text-decoration: none;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    padding 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.rm-btn:hover,
.rm-btn:focus-visible {
  padding-left: var(--rm-btn-pad-r);
  padding-right: var(--rm-btn-pad-l);
  background: var(--rm-blue-dk);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 114, 246, 0.3);
}

.rm-btn__label {
  display: inline-block;
  flex: none;
  font-family: "Poppins", "Gabarito", sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.rm-btn__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: var(--rm-btn-icon-w);
  height: var(--rm-btn-icon-w);
  border-radius: 50%;
  background: #000;
  color: #fff;
  will-change: transform;
  transition:
    transform 0.5s cubic-bezier(0.65, 0, 0.35, 1),
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.rm-btn__icon svg {
  width: 20px;
  height: 20px;
}

/* Hover: the label and the arrow disc trade sides, keeping the gap between
   them. The label travels past the disc; the disc travels past the label, whose
   measured width the blade script publishes as --rm-btn-label-w. */
.rm-btn:hover .rm-btn__label,
.rm-btn:focus-visible .rm-btn__label {
  transform: translateX(calc(var(--rm-btn-icon-w) + var(--rm-btn-gap)));
}

.rm-btn:hover .rm-btn__icon,
.rm-btn:focus-visible .rm-btn__icon {
  transform: translateX(
    calc(-1 * (var(--rm-btn-label-w, 190px) + var(--rm-btn-gap)))
  );
}

.rm-btn--white {
  --rm-btn-icon-w: 42px;
  --rm-btn-pad-l: 28px;
  --rm-btn-pad-r: 8px;

  background: #fff;
  color: #0b1220;
  padding: 8px var(--rm-btn-pad-r) 8px var(--rm-btn-pad-l);
}

.rm-btn--white:hover,
.rm-btn--white:focus-visible {
  background: #fff;
  color: #0b1220;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.rm-btn--white .rm-btn__label {
  font-weight: 700;
  font-size: 15px;
  text-transform: none;
}

.rm-btn--white .rm-btn__icon {
  background: #fff;
  color: #0b1220;
  box-shadow: inset 0 0 0 1px rgba(11, 18, 32, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .rm-btn__label,
  .rm-btn__icon {
    transition: none;
  }

  .rm-btn:hover .rm-btn__label,
  .rm-btn:focus-visible .rm-btn__label,
  .rm-btn:hover .rm-btn__icon,
  .rm-btn:focus-visible .rm-btn__icon {
    transform: none;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.rm-hero {
  position: relative;
  min-height: 820px;
  padding: 56px 0 84px;
  isolation: isolate;
  overflow: hidden;
}

.rm-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.rm-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.rm-hero__squiggle {
  position: absolute;
  top: 86px;
  left: max(120px, calc(50% - 500px));
  width: 80px;
  height: auto;
  z-index: 1;
  opacity: 0.85;
}

.rm-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
  max-width: 880px;
  margin: 0 auto;
}

.rm-hero__title {
  font-weight: 600;
  font-size: clamp(34px, 4.9vw, 70px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #000;
}

.rm-hero__title-italic {
  display: block;
  font-family: "Libre Bodoni", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}

.rm-hero__text {
  max-width: 676px;
  font-size: 16px;
  line-height: 23px;
  color: var(--rm-body);
}

.rm-hero__cta {
  margin-top: 12px;
}

/* Rotating word-mark stamp (Figma spins it 360deg every 6.93s, linear). */
.rm-hero__stamp {
  position: relative;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  margin-top: 26px;
}

.rm-hero__stamp svg {
  width: 100%;
  height: 100%;
  animation: rm-stamp-spin 6.926s linear infinite;
}

.rm-hero__stamp-text {
  font-family: "Poppins", "Gabarito", sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  fill: #14161c;
}

.rm-hero__stamp-arrow {
  position: absolute;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #14161c;
}

.rm-hero__stamp-arrow svg {
  width: 30px;
  height: 30px;
  animation: none;
}

@keyframes rm-stamp-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rm-hero__stamp svg {
    animation: none;
  }
}

/* Desktop composition is tuned to the approved mock: both phones are anchored
   closer to the viewport edges and oversized slightly so they crop off the
   bottom edge like the design instead of feeling inset/small. */
.rm-hero__phone {
  position: absolute;
  z-index: 1;
  height: auto;
  pointer-events: none;
}

.rm-hero__phone--left {
  left: max(-12px, calc(50% - 700px));
  top: 210px;
  width: clamp(390px, 29vw, 500px);
  animation: rmFloatLeft 6s ease-in-out infinite;
}

.rm-hero__phone--right {
  right: max(4px, calc(50% - 694px));
  top: 250px;
  width: clamp(375px, 28vw, 480px);
  animation: rmFloatRight 5.5s ease-in-out 1s infinite;
}

@keyframes rmFloatLeft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes rmFloatRight {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (min-width: 1680px) {
  .rm-hero {
    min-height: 900px;
  }

  .rm-hero__phone--left {
    left: max(18px, calc(50% - 760px));
    top: 228px;
    width: 455px;
  }

  .rm-hero__phone--right {
    right: max(26px, calc(50% - 754px));
    top: 270px;
    width: 438px;
  }
}

@media (max-width: 1440px) {
  .rm-hero__phone--left {
    left: 6px;
    top: 224px;
    width: min(31vw, 450px);
  }

  .rm-hero__phone--right {
    right: 14px;
    top: 266px;
    width: min(30vw, 435px);
  }
}

@media (max-width: 1180px) {
  .rm-hero {
    min-height: 0;
  }

  .rm-hero__phone {
    display: none;
  }

  .rm-hero__squiggle {
    display: none;
  }
}

@media (max-width: 860px) {
  .rm-hero {
    padding: 72px 0 84px;
  }
}

/* ============================================================
   STATS
   ============================================================ */
.rm-stats {
  padding: 70px 0 20px;
  background: linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}

.rm-stats .rm-head {
  max-width: 900px;
  margin-bottom: 40px;
}

/* Figma: 249px tall card, 35px vertical padding, items vertically centred. */
.rm-stats__card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  min-height: 249px;
  padding: 35px 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.rm-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-right: 1px solid var(--rm-line);
  text-align: center;
  transition: transform 0.3s ease;
}

.rm-stat:hover {
  transform: translateY(-4px);
}

.rm-stat:last-child {
  border-right: 0;
}

.rm-stat__value {
  font-family: "Poppins", "Gabarito", sans-serif;
  font-weight: 800;
  font-size: 34px;
  line-height: 34px;
  letter-spacing: 0.6px;
  color: #111;
}

.rm-stat__trend {
  display: inline-block;
  margin-right: 2px;
  font-size: 22px;
  color: var(--rm-blue);
  opacity: 0.85;
}

.rm-stat__plus {
  color: var(--rm-blue);
}

.rm-stat__label {
  font-family: "Poppins", "Gabarito", sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #777;
}

@media (max-width: 760px) {
  .rm-stats__card {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 26px;
    padding: 32px 12px;
  }

  .rm-stat:nth-child(2n) {
    border-right: 0;
  }
}

/* ============================================================
   AWARDS
   ============================================================ */
.rm-awards {
  padding: 70px 0 80px;
  overflow: hidden;
}

.rm-awards__marquee {
  --rm-marquee-duration: 46s;
  position: relative;
  overflow: hidden;
  padding-top: 10px;
  padding-bottom: 10px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.rm-awards__track {
  display: flex;
  gap: 41px;
  width: max-content;
  animation: rm-marquee var(--rm-marquee-duration) linear infinite;
}

.rm-awards__marquee:hover .rm-awards__track {
  animation-play-state: paused;
}

@keyframes rm-marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rm-awards__track {
    animation: none;
  }
}

/* Same anatomy as the LLM page award tile: a fixed-height media box with the
   badge contained inside it, then the title, then the source pinned to the
   bottom so every card lines up whatever the title length. */
.rm-award {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: none;
  width: 218px;
  min-height: 200px;
  padding: 26px 20px 24px;
  border: 1px solid rgba(125, 130, 138, 0.22);
  border-radius: 18px;
  background: #fff;
  text-align: center;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.rm-award:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 114, 246, 0.4);
  box-shadow: 0 16px 34px rgba(17, 19, 24, 0.08);
}

.rm-award__media {
  display: grid;
  place-items: center;
  width: 100%;
  height: 150px;
}

.rm-award__media img {
  max-width: 100%;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.rm-award__title {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  color: #1b2027;
}

.rm-award__meta {
  margin-top: auto;
  font-size: 13px;
  line-height: 18px;
  color: #8c929c;
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.rm-ind {
  padding: 60px 0 60px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.rm-ind__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 375px;
  gap: 22px;
  align-items: start;
}

.rm-ind__showcase {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* All slides are stacked in the same box and cross-faded, so switching
   industries never reflows the section. The first slide is in normal flow and
   sets the height; the rest are absolutely positioned over it. */
.rm-ind__stage {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #f2f4f8;
  cursor: grab;
  user-select: none;
}

.rm-ind__slide {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.rm-ind__slide:not(:first-child) {
  position: absolute;
  inset: 0;
  height: 100%;
}

.rm-ind__slide.is-on {
  opacity: 1;
}

.rm-ind__stage.is-dragging {
  cursor: grabbing;
}

.rm-ind__nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rm-ind__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #dce9fb;
  color: var(--rm-blue);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.rm-ind__arrow svg {
  width: 18px;
  height: 18px;
}

.rm-ind__arrow:hover,
.rm-ind__arrow:focus-visible {
  background: var(--rm-blue);
  color: #fff;
  transform: translateY(-2px);
}

.rm-ind__count {
  margin-left: 6px;
  font-family: "Poppins", "Gabarito", sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #8b93a3;
}

.rm-ind__count b {
  font-weight: 700;
  color: var(--rm-ink);
}

.rm-ind__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e6ebf3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(11, 18, 32, 0.06);
}

/* Each row is its own card. A left accent bar (::before) grows in on
   hover/active instead of the whole row flipping colour on hover. */
.rm-ind__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 15px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  text-align: left;
  overflow: hidden;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.rm-ind__item::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--rm-blue);
  transform: scaleY(0);
  transform-origin: center;
  opacity: 0;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
}

.rm-ind__item:hover {
  background: #f5f8ff;
  border-color: #e0eafb;
  transform: translateX(2px);
}

.rm-ind__item:hover::before {
  transform: scaleY(1);
  opacity: 1;
}

.rm-ind__item.is-active {
  background: linear-gradient(135deg, var(--rm-blue) 0%, #0a5fd0 100%);
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(0, 114, 246, 0.26);
  transform: none;
}

.rm-ind__item.is-active::before {
  background: rgba(255, 255, 255, 0.85);
  transform: scaleY(1);
  opacity: 1;
}

.rm-ind__item:focus-visible {
  outline: 2px solid var(--rm-blue);
  outline-offset: 2px;
}

.rm-ind__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: "Poppins", "Gabarito", sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.45;
  color: #0b1220;
  transition: color 0.25s ease;
}

/* Chevron marker — points right when closed, down when the row is open. */
.rm-ind__name::after {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-right: 3px;
  border-right: 2px solid #b4bdcd;
  border-bottom: 2px solid #b4bdcd;
  transform: rotate(-45deg);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease;
}

.rm-ind__item:hover .rm-ind__name::after,
.rm-ind__item.is-active .rm-ind__name::after {
  transform: rotate(45deg);
}

.rm-ind__item:hover .rm-ind__name::after {
  border-color: var(--rm-blue);
}

.rm-ind__item.is-active .rm-ind__name::after {
  border-color: #fff;
}

/* Collapsed by default; the 0fr -> 1fr row transition animates the height
   without hardcoding a max-height per item. */
.rm-ind__meta {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  font-family: "Poppins", "Gabarito", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #616161;
  opacity: 0;
  transition:
    grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}

.rm-ind__meta-in {
  min-height: 0;
  overflow: hidden;
}

.rm-ind__item:hover .rm-ind__meta,
.rm-ind__item.is-active .rm-ind__meta {
  grid-template-rows: 1fr;
  margin-top: 8px;
  opacity: 1;
}

.rm-ind__item.is-active .rm-ind__name {
  color: #fff;
}

.rm-ind__item.is-active .rm-ind__meta {
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 960px) {
  .rm-ind__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .rm-ind__stage {
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rm-ind__slide,
  .rm-ind__item,
  .rm-ind__item::before,
  .rm-ind__name::after,
  .rm-ind__meta {
    transition: none;
  }
}

/* ============================================================
   CTA BAND
   ============================================================ */
.rm-band {
  position: relative;
  padding: 96px 0 104px;
  overflow: hidden;
  background: #fff;
}

/* Subtle decorative light-ring corners inside the CTA band */
.rm-band::before,
.rm-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.rm-band::before {
  top: -120px;
  left: -120px;
  width: 420px;
  height: 420px;
  border: 60px solid rgba(0, 114, 246, 0.06);
  animation: rmRingPulse 7s ease-in-out infinite;
}

.rm-band::after {
  bottom: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  border: 50px solid rgba(109, 92, 245, 0.06);
  animation: rmRingPulse 8s ease-in-out 1.5s infinite;
}

@keyframes rmRingPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.rm-band__glow {
  position: absolute;
  top: -280px;
  width: 1150px;
  height: 1150px;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.rm-band__glow--l {
  left: -340px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(206, 220, 255, 0.75),
    rgba(255, 255, 255, 0) 62%
  );
}

.rm-band__glow--r {
  right: -340px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(203, 240, 251, 0.75),
    rgba(255, 255, 255, 0) 62%
  );
}

.rm-band__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
  max-width: 880px;
  margin: 0 auto;
}

.rm-band__title {
  font-weight: 700;
  font-size: clamp(30px, 3.8vw, 55px);
  line-height: 1.2;
  color: #000;
}

.rm-band__text {
  max-width: 860px;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.72;
  color: var(--rm-muted);
}

/* ============================================================
   WHY INVEST (TIMELINE)
   ============================================================ */
.rm-proc {
  padding: 70px 0 90px;
}

.rm-proc .rm-title {
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 48px);
}

.rm-proc .rm-lead {
  max-width: 845px;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.7);
}

.rm-proc__list {
  position: relative;
  margin-top: 34px;
}

/* Rail styling mirrors the LLM page — faint track, blue gradient progress
   segment, glowing active dot — but it runs down the centre of the section,
   between the copy and the artwork. */
.rm-proc__rail {
  position: absolute;
  top: 60px;
  bottom: 46px;
  left: calc(50% - 1px);
  width: 2px;
  background: rgba(17, 19, 24, 0.16);
}

/* Figma gradient: solid blue until 68.8%, then blue -> transparent at the tip. */
.rm-proc__progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 174px;
  background: linear-gradient(
    180deg,
    #081ec8 0%,
    #081ec8 68.8%,
    rgba(8, 30, 200, 0) 100%
  );
  transition: transform 0.45s ease;
}

.rm-proc__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 450px) 1fr minmax(0, 551px);
  gap: 0 56px;
  align-items: start;
  padding: 0 0 120px;
  opacity: 0.4;
  transition: opacity 0.45s ease;
}

.rm-proc__row:last-child {
  padding-bottom: 0;
}

.rm-proc__row.is-active {
  opacity: 1;
}

/* Dot sits on the rail, level with the number chip at the top of the row. */
.rm-proc__dot {
  position: absolute;
  left: calc(50% - 9px);
  top: 46px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #c3c8d1;
  transition:
    background 0.45s ease,
    box-shadow 0.45s ease;
}

.rm-proc__row.is-active .rm-proc__dot {
  background: #081ec8;
  box-shadow: 0 0 0 6px rgba(8, 30, 200, 0.16);
}

/* The dot is absolutely positioned, so it claims no grid track — place the two
   real cells explicitly or they shift a column to the left. */
.rm-proc__copy {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding-top: 46px;
}

.rm-proc__num {
  display: inline-grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 1.2px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  background: linear-gradient(180deg, #081ec8, #000e7a);
  font-weight: 500;
  font-size: 38px;
  line-height: 1;
  color: #fff;
}

.rm-proc__row.is-active .rm-proc__num {
  background: var(--rm-blue);
  border-color: rgba(0, 114, 246, 0.4);
  box-shadow:
    0 0 0 5px rgba(0, 114, 246, 0.14),
    0 8px 22px rgba(0, 114, 246, 0.28);
  transform: scale(1.06);
}

/* `background` is deliberately NOT transitioned: the inactive chip is a
   gradient and the active one a flat colour, and those cannot interpolate. The
   browser drops the gradient immediately and fades only the colour, so a
   transitioned chip spends 0.4s as a washed-out near-white box. Swapping the
   fill instantly and animating just the glow keeps every state legible. */
.rm-proc__num {
  transition:
    box-shadow 0.4s ease,
    transform 0.4s ease;
}

.rm-proc__step {
  font-weight: 500;
  font-size: clamp(22px, 2.1vw, 29px);
  line-height: 1.2;
  color: #000;
}

.rm-proc__text {
  font-size: 19px;
  line-height: 25px;
  color: rgba(0, 0, 0, 0.5);
}

.rm-proc__media {
  grid-column: 3;
  align-self: center;
  display: flex;
  justify-content: center;
}

/* The artwork is near-square (~1.1:1), so sizing it by width blew it up to
   roughly 480px tall. Cap the height instead and let the width follow — every
   step then carries the same visual weight whatever its source dimensions. */
.rm-proc__media img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 300px;
  border-radius: 12px;
}

@media (max-width: 980px) {
  /* Hide the centred absolute desktop rail — below this width each row draws
     its own segment, so the line can never drift out of step with the dots. */
  .rm-proc__rail {
    display: none;
  }

  /* Rail geometry lives in these three custom properties. The line and the dot
     are both positioned from them, so narrower breakpoints only need to retune
     the values — never the individual `left` offsets, which is how the two used
     to end up on different x positions. */
  .rm-proc__row {
    --rm-rail-x: 9px; /* centre of the vertical line, measured inside the row */
    --rm-rail-dot: 18px;
    --rm-rail-top: 20px; /* distance from the row top to the top of the dot */

    position: relative;
    grid-template-columns: calc(var(--rm-rail-x) * 2 + 18px) minmax(0, 1fr);
    gap: 0 14px;
    padding: 0 0 56px;
  }

  /* Segment spans the gap between two dots: it starts at this dot's bottom edge
     and ends at the next dot's top edge, so it butts up against both without
     ever running underneath one. `bottom: 0` would stop it at this row's bottom
     edge, short of the next dot by that dot's own top offset — hence the
     negative bottom, which carries it exactly that far into the next row. The
     last row has nothing to join, so it is dropped. */
  .rm-proc__row::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: calc(var(--rm-rail-x) - 1px);
    top: calc(var(--rm-rail-top) + var(--rm-rail-dot));
    bottom: calc(-1 * var(--rm-rail-top));
    width: 2px;
    background: rgba(17, 19, 24, 0.12);
  }

  .rm-proc__row.is-active::before {
    background: linear-gradient(
      180deg,
      #081ec8 0%,
      rgba(8, 30, 200, 0.15) 100%
    );
  }

  .rm-proc__row:last-child::before {
    display: none;
  }

  .rm-proc__dot {
    left: calc(var(--rm-rail-x) - var(--rm-rail-dot) / 2);
    top: var(--rm-rail-top);
    width: var(--rm-rail-dot);
    height: var(--rm-rail-dot);
    z-index: 1;
  }

  .rm-proc__row.is-active .rm-proc__dot {
    box-shadow: 0 0 0 5px rgba(8, 30, 200, 0.16);
  }

  .rm-proc__copy {
    grid-column: 2;
    padding-top: 12px;
    gap: 8px;
  }

  .rm-proc__media {
    grid-column: 2;
    grid-row: 2;
    margin-top: 18px;
  }
}

/* ============================================================
   WHAT'S INCLUDED (FRAMELESS FLOATING ARTWORK DESIGN)
   ============================================================ */
.rm-inc {
  position: relative;
  padding: 100px 0 110px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  overflow: hidden;
}

.rm-inc .rm-head {
  max-width: 900px;
  margin-bottom: 60px;
}

.rm-inc__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.rm-inc__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow:
    0 10px 30px -10px rgba(15, 23, 42, 0.05),
    0 4px 12px -2px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  transition:
    transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.38s ease;
}

.rm-inc__tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

/* Solid Colored Pill Tag */
.rm-inc__tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--acc) 10%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--acc) 25%, transparent);
  color: var(--acc);
  font-family: "Poppins", "Gabarito", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rm-inc__num {
  font-family: "Poppins", "Gabarito", sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  color: color-mix(in srgb, var(--acc) 40%, #cbd5e1);
}

/* Frameless Floating Artwork Container (No Box, No Border around image!) */
.rm-inc__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  margin: 8px 0 16px;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Subtle glowing aura spot directly behind the illustration */
.rm-inc__art-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--acc) 22%, transparent) 0%,
    transparent 70%
  );
  filter: blur(25px);
  transform: translate(-50%, -50%) scale(0.9);
  transition:
    transform 0.38s ease,
    opacity 0.38s ease;
  pointer-events: none;
}

.rm-inc__art img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(
    0 12px 24px color-mix(in srgb, var(--acc) 20%, rgba(15, 23, 42, 0.08))
  );
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.4s ease;
  z-index: 1;
}

.rm-inc__content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rm-inc__title {
  margin: 0 0 8px;
  font-family: "Poppins", "Gabarito", sans-serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.35;
  color: #0f172a;
}

.rm-inc__text {
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
  font-weight: 400;
}

.rm-inc__footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
}

.rm-inc__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--acc);
}

.rm-inc__status i {
  font-size: 16px;
}

/* Hover Interactivity */
.rm-inc__tile:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--acc) 35%, #e2e8f0);
  box-shadow: 0 24px 48px -12px
    color-mix(in srgb, var(--acc) 18%, rgba(15, 23, 42, 0.08));
}

.rm-inc__tile:hover .rm-inc__art-glow {
  transform: translate(-50%, -50%) scale(1.15);
}

.rm-inc__tile:hover .rm-inc__art img {
  transform: perspective(600px) rotateY(-5deg) translateY(-6px) scale(1.05);
  filter: drop-shadow(
    0 18px 32px color-mix(in srgb, var(--acc) 30%, rgba(15, 23, 42, 0.12))
  );
}

/* Responsive */
@media (max-width: 1180px) {
  .rm-inc__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .rm-inc {
    padding: 70px 0 80px;
  }

  .rm-inc__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rm-inc__tile {
    padding: 24px 22px 22px;
  }

  .rm-inc__art {
    height: 190px;
  }
}

/* ============================================================
   WHY CHOOSE iAPP
   ============================================================ */
/* ============================================================
   WHY CHOOSE iAPP
   ============================================================ */
.rm-choose {
  position: relative;
  padding: 100px 0 110px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  overflow: hidden;
}

.rm-choose__dots {
  position: absolute;
  top: 40px;
  left: 30px;
  width: 120px;
  height: 140px;
  background-image: radial-gradient(
    rgba(148, 163, 184, 0.35) 1.5px,
    transparent 1.5px
  );
  background-size: 18px 18px;
  pointer-events: none;
}

.rm-choose__glow-bg {
  position: absolute;
  top: 20%;
  right: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 114, 246, 0.08) 0%,
    transparent 70%
  );
  filter: blur(60px);
  pointer-events: none;
}

.rm-choose .rm-head {
  max-width: 900px;
  margin-bottom: 60px;
}

.rm-choose .rm-lead {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.65;
  color: #64748b;
}

.rm-choose__strip {
  margin-top: 0;
}

.rm-choose__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.rm-choose__trust-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  background: #ffffff;
  box-shadow:
    0 10px 30px -10px rgba(15, 23, 42, 0.05),
    0 4px 12px -2px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease;
  z-index: 1;
}

/* Glowing top accent bar that lights up on hover */
.rm-choose__trust-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--acc-grad, var(--acc));
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* Dynamic ambient glow behind card */
.rm-choose__trust-glow {
  position: absolute;
  inset: -20px;
  border-radius: 36px;
  background: radial-gradient(
    circle at top right,
    color-mix(in srgb, var(--acc) 18%, transparent) 0%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: -1;
}

.rm-choose__trust-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.rm-choose__trust-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--acc-grad, var(--acc));
  color: #ffffff;
  font-size: 26px;
  box-shadow: 0 8px 20px -4px color-mix(in srgb, var(--acc) 45%, transparent);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rm-choose__trust-badge {
  padding: 5px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--acc) 10%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--acc) 22%, transparent);
  color: var(--acc);
  font-family: "Poppins", "Gabarito", sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.rm-choose__trust-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rm-choose__trust-title {
  margin: 0 0 8px;
  font-family: "Poppins", "Gabarito", sans-serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.35;
  color: #0f172a;
}

.rm-choose__trust-sub {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
  font-weight: 400;
}

.rm-choose__trust-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed #e2e8f0;
}

.rm-choose__trust-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #334155;
  font-weight: 500;
}

.rm-choose__check-icon {
  flex: none;
  font-size: 17px;
  color: var(--acc);
  margin-top: 1px;
}

/* Hover Interactivity: hovered card lifts; siblings soften */
.rm-choose__trust:has(.rm-choose__trust-card:hover)
  .rm-choose__trust-card:not(:hover) {
  opacity: 0.75;
  filter: saturate(0.7);
  transition:
    opacity 0.3s ease,
    filter 0.3s ease;
}

.rm-choose__trust-card {
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    opacity 0.3s ease,
    filter 0.3s ease;
}

.rm-choose__trust-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--acc) 40%, #e2e8f0);
  box-shadow: 0 24px 48px -12px
    color-mix(in srgb, var(--acc) 20%, rgba(15, 23, 42, 0.08));
}

.rm-choose__trust-card:hover .rm-choose__trust-top-bar {
  opacity: 1;
}

.rm-choose__trust-card:hover .rm-choose__trust-glow {
  opacity: 1;
}

.rm-choose__trust-card:hover .rm-choose__trust-icon {
  transform: scale(1.08) rotate(3deg);
}

/* Responsive */
@media (max-width: 1180px) {
  .rm-choose__trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .rm-choose {
    padding: 70px 0 80px;
  }

  .rm-choose__trust {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rm-choose__trust-card {
    padding: 26px 22px 24px;
  }
}

/* ============================================================
   CTA PANEL (above FAQ)
   ============================================================ */
.rm-cta {
  padding: 80px 0;
}

.rm-cta__panel {
  position: relative;
  overflow: hidden;
  padding: 72px 40px 78px;
  border-radius: 32px;
  background: linear-gradient(135deg, #0b1220 0%, #10233f 55%, #0a1a34 100%);
  box-shadow: 0 26px 60px rgba(11, 18, 32, 0.28);
}

/* Faint dot grid so the flat dark fill has some texture behind the copy. */
.rm-cta__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.09) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  opacity: 0.6;
  pointer-events: none;
}

.rm-cta__glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
}

.rm-cta__glow--l {
  top: -240px;
  left: -160px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 114, 246, 0.42),
    rgba(0, 114, 246, 0) 65%
  );
}

.rm-cta__glow--r {
  bottom: -260px;
  right: -140px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(109, 92, 245, 0.36),
    rgba(109, 92, 245, 0) 65%
  );
}

.rm-cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.rm-cta__title {
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.2;
  color: #fff;
}

.rm-cta__text {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 768px) {
  .rm-cta {
    padding: 56px 0 8px;
  }

  .rm-cta__panel {
    padding: 48px 22px 52px;
    border-radius: 24px;
  }

  .rm-cta__inner {
    gap: 18px;
  }
}

/* ============================================================
   FAQ
   ============================================================ */
.rm-faq {
  padding: 60px 0 110px;
  background: linear-gradient(
    140deg,
    rgb(244, 246, 253) 0%,
    rgb(238, 242, 252) 45%,
    rgb(247, 248, 253) 100%
  );
}

.rm-faq__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

/* The heading + promo track the list while it scrolls. */
.rm-faq__aside {
  position: sticky;
  top: 110px;
}

.rm-faq__title {
  font-family: "Poppins", "Gabarito", sans-serif;
  font-weight: 600;
  font-size: clamp(38px, 5.3vw, 77px);
  line-height: 1.25;
  color: #000;
}

.rm-faq__promo {
  margin-top: 120px;
  padding: 32px 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  background: linear-gradient(241deg, #196dff 30%, #001da0 100%);
  color: #fff;
}

.rm-faq__promo h3 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 500;
}

.rm-faq__promo p {
  margin: 10px 0 26px;
  max-width: 494px;
  font-size: 16px;
  line-height: 21px;
  color: rgba(255, 255, 255, 0.75);
}

.rm-faq__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rm-faq__item {
  padding: 24px 40px;
  border: 1px solid rgba(16, 16, 16, 0.06);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.rm-faq__item[open] {
  background: #fff;
  border-color: rgba(55, 55, 55, 0.1);
  box-shadow: 0 10px 30px rgba(17, 19, 24, 0.05);
}

.rm-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  font-family: "Poppins", "Gabarito", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.5;
  color: #000;
}

.rm-faq__q::-webkit-details-marker {
  display: none;
}

/* Plus that becomes a minus when the item is open. */
.rm-faq__mark {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
}

.rm-faq__mark::before,
.rm-faq__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  background: #101010;
  transform: translate(-50%, -50%);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* The vertical bar rotates 90deg to form a plus sign when closed.
   When open, it spins a full 180deg (not just back to 0) so the icon
   morphs through a clean spin rather than collapsing in place. */
.rm-faq__mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.rm-faq__item[open] .rm-faq__mark::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(180deg);
}

/* The whole mark spins 45deg clockwise on open — the × effect */
.rm-faq__mark {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Animated by the blade script: <details> cannot transition its own height, so
   this wrapper is driven from 0 to its measured height and back. */
.rm-faq__a-wrap {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    height 0.3s ease,
    opacity 0.3s ease;
}

.rm-faq__item[open] .rm-faq__a-wrap {
  height: auto;
  opacity: 1;
}

.rm-faq__a {
  padding-top: 14px;
  max-width: 523px;
  font-size: 18px;
  line-height: 25px;
  color: #7d7d7d;
}

@media (max-width: 980px) {
  .rm-faq__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .rm-faq__aside {
    position: static;
    top: auto;
  }

  .rm-faq__promo {
    margin-top: 26px;
  }

  .rm-faq__item {
    padding: 20px 24px;
  }
}

/* Forced line breaks are tuned for the desktop measure — let the text reflow
   naturally once the columns get narrow. */
@media (max-width: 860px) {
  .rm-title br,
  .rm-lead br,
  .rm-band__title br,
  .rm-faq__title br {
    display: none;
  }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.rm-anim .rm-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.rm-anim .rm-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .rm-anim .rm-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   RESPONSIVE  –  640 px
   ============================================================ */
@media (max-width: 640px) {
  /* ---- globals ---- */
  .rm-page .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .rm-head {
    gap: 14px;
    margin-bottom: 36px;
  }

  .rm-eyebrow {
    font-size: 11px;
    padding: 6px 14px;
  }

  /* ---- hero ---- */
  .rm-hero {
    padding: 52px 0 64px;
  }

  .rm-hero__inner {
    gap: 18px;
  }

  .rm-hero__text {
    font-size: 15px;
  }

  .rm-hero__stamp {
    width: 90px;
    height: 90px;
  }

  /* ---- stats ---- */
  .rm-stats {
    padding: 50px 0 16px;
  }

  .rm-stats__card {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
    min-height: auto;
    padding: 26px 12px;
  }

  .rm-stat:nth-child(2n) {
    border-right: 0;
  }

  .rm-stat__value {
    font-size: 28px;
    line-height: 28px;
  }

  .rm-stat__trend {
    font-size: 18px;
  }

  .rm-stat__label {
    font-size: 11px;
  }

  /* ---- awards ---- */
  .rm-awards {
    padding: 50px 0 60px;
  }

  .rm-award {
    width: 176px;
    min-height: 240px;
    padding: 20px 14px 18px;
  }

  .rm-award__media {
    height: 110px;
  }

  .rm-award__media img {
    max-height: 110px;
  }

  /* ---- industries ---- */
  .rm-ind {
    padding: 50px 0 50px;
  }

  .rm-ind__list {
    padding: 10px;
    gap: 4px;
  }

  .rm-ind__item {
    padding: 12px 14px;
  }

  .rm-ind__name {
    font-size: 15px;
  }

  .rm-ind__meta {
    font-size: 12px;
  }

  /* ---- CTA band ---- */
  .rm-band {
    padding: 64px 0 72px;
  }

  /* ---- process timeline ---- */
  .rm-proc {
    padding: 50px 0 60px;
  }

  /* Only the rail variables change — the line and dot derive their positions
     from them, so they stay locked together. */
  .rm-proc__row {
    --rm-rail-x: 8px;
    --rm-rail-dot: 16px;
    --rm-rail-top: 18px;

    gap: 0 13px;
    padding-bottom: 44px;
  }

  .rm-proc__copy {
    padding-top: 12px;
    gap: 8px;
  }

  .rm-proc__num {
    width: 52px;
    height: 52px;
    font-size: 26px;
    border-radius: 10px;
  }

  .rm-proc__text {
    font-size: 16px;
    line-height: 23px;
  }

  .rm-proc__media {
    grid-column: 2;
    grid-row: 2;
    margin-top: 14px;
  }

  /* ---- what's included ---- */
  .rm-inc {
    padding: 56px 0 64px;
  }

  .rm-inc__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rm-inc__tile {
    padding: 22px 18px 20px;
  }

  .rm-inc__art {
    height: 160px;
  }

  .rm-inc__title {
    font-size: 18px;
  }

  .rm-inc__text {
    font-size: 13.5px;
  }

  /* ---- why choose ---- */
  .rm-choose {
    padding: 56px 0 64px;
  }

  .rm-choose__trust {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rm-choose__trust-card {
    padding: 24px 18px 22px;
  }

  .rm-choose__trust-title {
    font-size: 18px;
  }

  /* ---- FAQ ---- */
  .rm-faq {
    padding: 48px 0 72px;
  }

  .rm-faq__title {
    font-size: clamp(28px, 8vw, 42px);
  }

  .rm-faq__promo {
    margin-top: 28px;
    padding: 24px 20px;
  }

  .rm-faq__promo h3 {
    font-size: 19px;
  }

  .rm-faq__item {
    padding: 18px 20px;
    border-radius: 18px;
  }

  .rm-faq__q {
    font-size: 16px;
    gap: 10px;
  }

  .rm-faq__a {
    font-size: 15px;
    line-height: 22px;
  }
}

/* ============================================================
   RESPONSIVE  –  480 px
   ============================================================ */
@media (max-width: 480px) {
  /* ---- globals ---- */
  .rm-page .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* ---- hero ---- */
  .rm-hero {
    padding: 40px 0 52px;
  }

  .rm-hero__inner {
    gap: 14px;
  }

  .rm-hero__stamp {
    width: 76px;
    height: 76px;
  }

  /* ---- stats ---- */
  .rm-stats__card {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px 8px;
    row-gap: 16px;
    border-radius: 16px;
  }

  .rm-stat {
    padding: 8px 10px;
  }

  .rm-stat__value {
    font-size: 24px;
    line-height: 24px;
  }

  .rm-stat__trend {
    font-size: 15px;
  }

  /* ---- awards ---- */
  .rm-award {
    width: 152px;
    min-height: 210px;
    padding: 16px 10px 14px;
  }

  .rm-award__media {
    height: 90px;
  }

  .rm-award__media img {
    max-height: 90px;
  }

  .rm-award__title {
    font-size: 13px;
  }

  /* ---- industries ---- */
  .rm-ind__arrow {
    width: 36px;
    height: 36px;
  }

  /* ---- process ---- */
  /* Only the rail variables change — the line and dot derive their positions
     from them, so they stay locked together. */
  .rm-proc__row {
    --rm-rail-x: 7px;
    --rm-rail-dot: 14px;
    --rm-rail-top: 14px;

    gap: 0 12px;
    padding-bottom: 32px;
  }

  .rm-proc__num {
    width: 44px;
    height: 44px;
    font-size: 22px;
    border-radius: 8px;
  }

  .rm-proc__step {
    font-size: 18px;
  }

  .rm-proc__text {
    font-size: 14.5px;
  }

  /* ---- what's included ---- */
  .rm-inc__tile {
    padding: 18px 14px 16px;
  }

  .rm-inc__art {
    height: 140px;
    margin: 4px 0 12px;
  }

  .rm-inc__title {
    font-size: 16px;
  }

  /* ---- why choose ---- */
  .rm-choose__trust-card {
    padding: 20px 14px 18px;
  }

  .rm-choose__trust-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
    border-radius: 12px;
  }

  .rm-choose__trust-title {
    font-size: 16px;
  }

  .rm-choose__trust-points li {
    font-size: 12.5px;
  }

  /* ---- FAQ ---- */
  .rm-faq__item {
    padding: 16px 16px;
    border-radius: 14px;
  }

  .rm-faq__q {
    font-size: 14.5px;
  }

  .rm-faq__a {
    font-size: 13.5px;
    line-height: 21px;
  }

  .rm-faq__promo {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .rm-faq__promo h3 {
    font-size: 17px;
  }

  .rm-faq__promo p {
    font-size: 13.5px;
  }

  /* ---- CTA band ---- */
  .rm-band {
    padding: 48px 0 56px;
  }

  /* Shrink decorative rings so they don't overflow small viewports */
  .rm-band::before {
    width: 260px;
    height: 260px;
    border-width: 40px;
    top: -80px;
    left: -80px;
  }

  .rm-band::after {
    width: 220px;
    height: 220px;
    border-width: 34px;
    bottom: -70px;
    right: -70px;
  }
}

/* ============================================================
   RESPONSIVE  –  380 px  (handles down to 320 px)
   ============================================================ */
@media (max-width: 380px) {
  /* ---- globals ---- */
  .rm-page .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .rm-eyebrow {
    font-size: 10px;
    padding: 5px 10px;
    letter-spacing: 0.1em;
  }

  .rm-title {
    font-size: clamp(22px, 7.5vw, 32px);
  }

  .rm-lead {
    font-size: 14px;
    line-height: 21px;
  }

  /* ---- button ---- */
  .rm-btn {
    --rm-btn-icon-w: 38px;
    --rm-btn-pad-l: 22px;
    --rm-btn-pad-r: 7px;
    --rm-btn-gap: 10px;
  }

  .rm-btn__label {
    font-size: 12px;
  }

  /* ---- hero ---- */
  .rm-hero {
    padding: 32px 0 44px;
  }

  .rm-hero__inner {
    gap: 12px;
  }

  .rm-hero__stamp {
    width: 64px;
    height: 64px;
  }

  .rm-hero__stamp-text {
    font-size: 8.5px;
    letter-spacing: 0.1em;
  }

  .rm-hero__stamp-arrow svg {
    width: 22px;
    height: 22px;
  }

  /* ---- stats ---- */
  .rm-stats {
    padding: 36px 0 10px;
  }

  .rm-stats__card {
    grid-template-columns: 1fr 1fr;
    padding: 16px 6px;
    border-radius: 14px;
  }

  .rm-stat {
    padding: 6px 8px;
  }

  .rm-stat__value {
    font-size: 22px;
    line-height: 22px;
  }

  .rm-stat__trend {
    font-size: 13px;
  }

  .rm-stat__label {
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  /* ---- awards ---- */
  .rm-award {
    width: 136px;
    min-height: 188px;
    padding: 12px 8px 12px;
  }

  .rm-award__media {
    height: 76px;
  }

  .rm-award__media img {
    max-height: 76px;
  }

  .rm-award__title {
    font-size: 12px;
    line-height: 1.3;
  }

  .rm-award__meta {
    font-size: 11px;
  }

  /* ---- industries ---- */
  .rm-ind {
    padding: 36px 0 36px;
  }

  .rm-ind__list {
    padding: 8px;
  }

  .rm-ind__item {
    padding: 10px 12px;
  }

  .rm-ind__name {
    font-size: 14px;
  }

  .rm-ind__meta {
    font-size: 11.5px;
  }

  .rm-ind__arrow {
    width: 32px;
    height: 32px;
  }

  .rm-ind__arrow svg {
    width: 14px;
    height: 14px;
  }

  /* ---- process ---- */
  .rm-proc {
    padding: 36px 0 44px;
  }

  .rm-proc__row {
    --rm-rail-x: 6px;
    --rm-rail-dot: 12px;
    --rm-rail-top: 12px;

    gap: 0 10px;
    padding-bottom: 24px;
  }

  .rm-proc__copy {
    padding-top: 8px;
    gap: 6px;
  }

  .rm-proc__num {
    width: 38px;
    height: 38px;
    font-size: 18px;
    border-radius: 7px;
  }

  .rm-proc__step {
    font-size: 16px;
  }

  .rm-proc__text {
    font-size: 13.5px;
    line-height: 20px;
  }

  /* ---- what's included ---- */
  .rm-inc {
    padding: 40px 0 48px;
  }

  .rm-inc__grid {
    gap: 12px;
  }

  .rm-inc__tile {
    padding: 16px 12px 14px;
    border-radius: 20px;
  }

  .rm-inc__art {
    height: 120px;
    margin: 2px 0 10px;
  }

  .rm-inc__title {
    font-size: 15px;
  }

  .rm-inc__text {
    font-size: 12.5px;
    line-height: 1.55;
  }

  .rm-inc__tag {
    font-size: 9.5px;
    padding: 4px 10px;
  }

  /* ---- why choose ---- */
  .rm-choose {
    padding: 40px 0 48px;
  }

  .rm-choose__trust {
    gap: 12px;
  }

  .rm-choose__trust-card {
    padding: 18px 12px 16px;
    border-radius: 18px;
  }

  .rm-choose__trust-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
    border-radius: 10px;
  }

  .rm-choose__trust-title {
    font-size: 15px;
  }

  .rm-choose__trust-sub {
    font-size: 12.5px;
  }

  .rm-choose__trust-points li {
    font-size: 12px;
    gap: 7px;
  }

  .rm-choose__check-icon {
    font-size: 14px;
  }

  /* ---- FAQ ---- */
  .rm-faq {
    padding: 36px 0 52px;
  }

  .rm-faq__title {
    font-size: clamp(22px, 7.5vw, 32px);
  }

  .rm-faq__item {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .rm-faq__q {
    font-size: 13.5px;
    gap: 8px;
  }

  .rm-faq__mark {
    width: 20px;
    height: 20px;
  }

  .rm-faq__mark::before,
  .rm-faq__mark::after {
    width: 12px;
  }

  .rm-faq__a {
    font-size: 13px;
    line-height: 20px;
  }

  .rm-faq__promo {
    padding: 16px 14px;
    border-radius: 12px;
  }

  .rm-faq__promo h3 {
    font-size: 15px;
  }

  .rm-faq__promo p {
    font-size: 12.5px;
    margin-bottom: 18px;
  }

  /* ---- CTA band ---- */
  .rm-band {
    padding: 40px 0 48px;
  }

  .rm-band::before,
  .rm-band::after {
    display: none; /* rings would overflow the tiny viewport entirely */
  }
}
