/* ============================================================
   Ride Sharing App Development  (/service/ride-sharing-app)
   Warm orange system (#FE7D1A -> #FDA005) on a light body.
   BEM-ish `rs-` prefix; scroll-reveal armed by `.rs-anim` on <html>.
   Motion: route-draw hero, marquee compliance rail, cursor-spotlight
   solution cards, scroll-driven process rail, animated cost meters.
   ============================================================ */

/* Global sheets set `overflow-x: hidden` on <body>, which makes it a scroll
   container and silently kills `position: sticky` inside it. `clip` stops the
   same horizontal overflow without creating a scroll container. */
body:has(.rs-page) {
  overflow-x: clip;
}

.rs-page {
  --rs-orange: #fe7d1a;
  --rs-amber: #fda005;
  --rs-orange-dk: #e2680b;
  --rs-orange-lt: #ffe7d1;
  --rs-grad: linear-gradient(120deg, #fe7d1a 0%, #fda005 100%);
  --rs-ink: #10131a;
  --rs-body: #6b7280;
  --rs-muted: #9aa1ab;
  --rs-line: #ededed;
  --rs-cream: #fff8f1;
  --rs-dark: #101018;
  --rs-dark-2: #191922;

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

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

/* Zero-specificity resets so components below never fight them. */
.rs-page :where(h1, h2, h3, h4) {
  margin: 0;
  letter-spacing: -0.025em;
  color: var(--rs-ink);
}

.rs-page :where(p) {
  margin: 0;
  color: var(--rs-body);
}

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

.rs-page :where(img) {
  max-width: 100%;
  height: auto;
}

.rs-accent {
  color: var(--rs-orange);
}

/* Gradient headline word. `background-clip:text` needs a transparent fill. */
.rs-grad-text {
  background: var(--rs-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rs-serif {
  font-family: "Instrument Serif", "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ---------- section furniture ---------- */
.rs-head {
  max-width: 880px;
  margin: 0 auto 54px;
  text-align: center;
}

.rs-head--left {
  margin-left: 0;
  text-align: left;
}

.rs-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid var(--rs-orange-lt);
  border-radius: 999px;
  background: var(--rs-cream);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rs-orange-dk);
}

.rs-title {
  font-weight: 700;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.16;
}

.rs-sub {
  margin-top: 18px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

.rs-head p.rs-sub {
  max-width: 780px;
  margin-inline: auto;
}

.rs-head--left p.rs-sub {
  margin-inline: 0;
}

/* ---------- pill button (label and disc swap sides on hover) ---------- */
.rs-btn {
  --rs-btn-icon-w: 46px;
  --rs-btn-gap: 14px;
  --rs-btn-pad-l: 32px;
  --rs-btn-pad-r: 9px;

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

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

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

.rs-btn__icon svg {
  width: 18px;
  height: 18px;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

.rs-btn:hover,
.rs-btn:focus-visible {
  padding-left: var(--rs-btn-pad-r);
  padding-right: var(--rs-btn-pad-l);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(254, 125, 26, 0.42);
}

.rs-btn:hover .rs-btn__label,
.rs-btn:focus-visible .rs-btn__label {
  transform: translateX(calc(var(--rs-btn-icon-w) + var(--rs-btn-gap)));
}

/* `--rs-btn-label-w` is published per button by the label-width script. */
.rs-btn:hover .rs-btn__icon,
.rs-btn:focus-visible .rs-btn__icon {
  transform: translateX(
    calc(-1 * (var(--rs-btn-label-w, 190px) + var(--rs-btn-gap)))
  );
}

.rs-btn:hover .rs-btn__icon svg,
.rs-btn:focus-visible .rs-btn__icon svg {
  transform: rotate(45deg);
}

/* Light pill for dark/photographic backgrounds. */
.rs-btn--light {
  background: #fff;
  color: var(--rs-ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.rs-btn--light:hover,
.rs-btn--light:focus-visible {
  color: var(--rs-ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.rs-btn--light .rs-btn__icon {
  background: var(--rs-grad);
}

.rs-btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  box-shadow: none;
}

.rs-btn--ghost .rs-btn__icon {
  background: rgba(255, 255, 255, 0.16);
}

.rs-btn--ghost:hover,
.rs-btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

/* ---------- scroll reveal ---------- */
/* Armed only once `.rs-anim` lands on <html> (set synchronously in the head),
   so a no-JS visitor never gets stuck with hidden content. */
.rs-anim .rs-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

  .rs-page *,
  .rs-page *::before,
  .rs-page *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.rs-hero {
  position: relative;
  /* The stats rail no longer overlaps upward, so the hero does not need the
     extra bottom padding that used to sit under it. */
  padding: 94px 0 70px;
  overflow: hidden;
  background: #fffaf4;
}

/* The supplied artwork is a soft skyline wash; it sits behind everything and
   is masked to nothing at the bottom so the next section blends in. */
.rs-hero__bg {
  position: absolute;
  inset: 0;
  background: image-set(url("../images/ride-sharing/hero-bg.png") 1x) center
    top / cover no-repeat;
  opacity: 0.85;
  /* Transparent by 88%, not 100%: the drift animation scales the layer 1.04x,
     so a fade that only finishes at 100% gets clipped by `overflow: hidden`
     while still partly opaque -- which is the hard edge at the hero bottom. */
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 48%,
    transparent 88%
  );
  mask-image: linear-gradient(180deg, #000 0%, #000 48%, transparent 88%);
  animation: rs-hero-drift 24s ease-in-out infinite alternate;
}

@keyframes rs-hero-drift {
  from {
    transform: scale(1.04) translate3d(-1%, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(1%, -1.5%, 0);
  }
}

.rs-hero__glow {
  position: absolute;
  z-index: 0;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}

.rs-hero__glow--a {
  top: -220px;
  right: -140px;
  background: radial-gradient(circle, rgba(254, 125, 26, 0.5), transparent 62%);
}

.rs-hero__glow--b {
  /* Kept inside the hero box: at `bottom: -300px` the blurred glow was clipped
     by `overflow: hidden` mid-gradient, leaving a hard warm edge at the seam. */
  bottom: 120px;
  left: -180px;
  background: radial-gradient(circle, rgba(253, 160, 5, 0.42), transparent 62%);
}

.rs-hero .container {
  position: relative;
  z-index: 2;
}

.rs-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.rs-hero__title {
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 700;
  line-height: 1.06;
  margin-bottom: 16px;
}

.rs-hero__title .rs-serif {
  font-size: 1.06em;
}

.rs-hero__text {
  max-width: 560px;
  margin-top: 22px;
  font-family: "Poppins", sans-serif;
  font-size: 16.5px;
  line-height: 1.78;
  text-align: justify;
}

.rs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 34px;
}

.rs-hero__note {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: var(--rs-muted);
}

.rs-hero__note b {
  color: var(--rs-ink);
}

/* ---- hero media: phones over a drawn route ---- */
.rs-hero__media {
  position: relative;
  isolation: isolate;
}

.rs-hero__phones {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
  filter: drop-shadow(0 40px 60px rgba(16, 19, 26, 0.18));
  /* --rs-px/--rs-py are written by the pointer-parallax script. */
  transform: translate3d(
    calc(var(--rs-px, 0) * 12px),
    calc(var(--rs-py, 0) * 10px),
    0
  );
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  animation: rs-float 7s ease-in-out infinite;
}

@keyframes rs-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

/* ---- floating hero chips ---- */
.rs-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid rgba(16, 19, 26, 0.06);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 34px rgba(16, 19, 26, 0.12);
  font-family: "Poppins", sans-serif;
  animation: rs-float 6s ease-in-out infinite;
}

.rs-chip__ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 11px;
  background: var(--rs-grad);
}

.rs-chip__ico svg {
  width: 17px;
  height: 17px;
  color: #fff;
}

.rs-chip b {
  display: block;
  font-size: 14px;
  line-height: 1.2;
  color: var(--rs-ink);
}

.rs-chip span {
  font-size: 11.5px;
  color: var(--rs-muted);
}

.rs-chip--eta {
  top: 12%;
  left: -2%;
  animation-delay: 0.6s;
}

.rs-chip--fare {
  bottom: 20%;
  right: -1%;
  animation-delay: 1.4s;
}

.rs-chip--drivers {
  bottom: 2%;
  left: 6%;
  animation-delay: 2.1s;
}

/* ============================================================
   STATS RAIL
   ============================================================ */
/* A band of its own rather than a card overlapping the hero: the rail sits in
   its own padded section and carries the hero cream into the services cream. */
.rs-stats {
  position: relative;
  z-index: 3;
  padding: 72px 0 84px;
  background: linear-gradient(180deg, #fffaf4 0%, var(--rs-cream) 100%);
}

.rs-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  /* No padding: the cards have to touch the rounded edge for `overflow: hidden`
     to clip their corners. With an 8px inset the corner cards stayed square. */
  border-radius: 22px;
  background: var(--rs-line);
  border: 1px solid var(--rs-line);
  box-shadow: 0 26px 60px rgba(16, 19, 26, 0.1);
  overflow: hidden;
}

.rs-stat {
  position: relative;
  padding: 30px 24px;
  background: #fff;
  text-align: center;
  overflow: hidden;
}

.rs-stat::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--rs-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.rs-stat:hover::after {
  transform: scaleX(1);
}

.rs-stat__value {
  display: block;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  line-height: 1;
  background: var(--rs-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rs-stat__label {
  display: block;
  margin-top: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 13.5px;
  color: var(--rs-body);
}

/* ============================================================
   SERVICES — 6 cards, white monochrome icons on a gradient tile
   ============================================================ */
.rs-services {
  padding: 96px 0;
  background: var(--rs-cream);
}

.rs-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.rs-svc {
  position: relative;
  padding: 34px 30px 32px;
  border: 1px solid var(--rs-line);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

/* Wash that wipes up from the bottom on hover. */
.rs-svc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 246, 236, 0) 0%,
    rgba(255, 240, 226, 0.9) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.rs-svc > * {
  position: relative;
}

.rs-svc:hover {
  transform: translateY(-8px);
  border-color: var(--rs-orange-lt);
  box-shadow: 0 26px 50px rgba(254, 125, 26, 0.16);
}

.rs-svc:hover::before {
  opacity: 1;
}

.rs-svc__ico {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 20px;
  background: var(--rs-grad);
  box-shadow: 0 12px 26px rgba(254, 125, 26, 0.3);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rs-svc:hover .rs-svc__ico {
  transform: rotate(-8deg) scale(1.06);
}

.rs-svc__ico img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.rs-svc__no {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: rgba(16, 19, 26, 0.06);
  transition: color 0.4s ease;
}

.rs-svc:hover .rs-svc__no {
  color: rgba(254, 125, 26, 0.18);
}

.rs-svc h3 {
  margin-top: 22px;
  font-size: 21px;
  font-weight: 700;
}

.rs-svc p {
  margin-top: 12px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  text-align: justify;
}

/* ============================================================
   CTA BANDS
   ============================================================ */
.rs-cta {
  padding: 90px 0;
}

.rs-cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 52px 56px;
  border-radius: 28px;
  background: var(--rs-dark);
  overflow: hidden;
  isolation: isolate;
}

/* Slow conic sheen behind the copy — the only movement on the band. */
.rs-cta__inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 150%;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(254, 125, 26, 0.34) 70deg,
    transparent 150deg,
    transparent 360deg
  );
  animation: rs-spin 16s linear infinite;
}

@keyframes rs-spin {
  to {
    rotate: 360deg;
  }
}

.rs-cta__inner::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1.5px;
  border-radius: 27px;
  background: var(--rs-dark);
}

.rs-cta__title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.14;
  color: #fff;
}

.rs-cta__text {
  max-width: 540px;
  margin-top: 16px;
  font-family: "Poppins", sans-serif;
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
}

.rs-cta__actions {
  margin-top: 30px;
}

.rs-cta__media {
  position: relative;
  justify-self: end;
}

.rs-cta__media img {
  display: block;
  border-radius: 20px;
  animation: rs-float 8s ease-in-out infinite;
}

/* Full-width photographic band, art bleeding off the right edge. */
.rs-cta--wide .rs-cta__inner {
  background: var(--rs-grad);
  padding-block: 0;
  padding-right: 0;
}

.rs-cta--wide .rs-cta__inner::before,
.rs-cta--wide .rs-cta__inner::after {
  display: none;
}

.rs-cta--wide .rs-cta__copy {
  padding-block: 54px;
}

.rs-cta--wide .rs-cta__text {
  color: rgba(255, 255, 255, 0.9);
}

.rs-cta--wide .rs-cta__media img {
  border-radius: 0;
  animation: none;
  mix-blend-mode: luminosity;
  opacity: 0.95;
}

/* ============================================================
   BUSINESS TYPES - Swiper rail (loop + autoplay + free drag)
   ============================================================ */
.rs-biz {
  padding: 96px 0 100px;
  background: #fff;
}

/* Swiper owns the track; the card width is set on the slide so
   `slidesPerView: auto` can read it.
   The rail needs a DEFINITE height. swiper-bundle.min.css gives both
   `.swiper-wrapper` and `.swiper-slide` `height: 100%`, so an auto-height rail
   makes that percentage chain resolve against itself and the track blows up to
   the CSS maximum (~33.5M px). One number, shared by the rail and the card. */
.rs-biz__rail {
  --rs-card-h: 430px;

  height: calc(var(--rs-card-h) + 24px);
  overflow: hidden;
  padding: 6px 0 18px;
}

/* `height: auto` matters: swiper-bundle.min.css sets the wrapper to `height:
   100%`, which against an auto-height rail resolves back through the slides and
   blows the track up to the CSS maximum. */
.rs-biz__rail .swiper-wrapper {
  height: auto;
  align-items: center;
}

/* Two classes deep on purpose: swiper-bundle.min.css loads *after* this sheet
   (the page stylesheet is pushed to the head stack above swiper's link), and
   its `.swiper-slide { width: 100%; height: 100% }` would otherwise win the
   cascade on equal specificity and collapse every card to zero height. */
.rs-biz__rail .swiper-slide.rs-bizcard {
  position: relative;
  width: clamp(268px, 26vw, 330px);
  height: var(--rs-card-h);
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background: #f4f4f4;
}

.rs-bizcard img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.rs-bizcard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(16, 19, 26, 0) 32%,
    rgba(16, 19, 26, 0.88) 100%
  );
  transition: background 0.5s ease;
}

.rs-bizcard:hover img {
  transform: scale(1.07);
}

.rs-bizcard:hover::after {
  background: linear-gradient(
    180deg,
    rgba(226, 104, 11, 0.18) 20%,
    rgba(16, 19, 26, 0.92) 100%
  );
}

.rs-bizcard__body {
  position: absolute;
  inset: auto 0 0;
  padding: 26px 26px 28px;
}

.rs-bizcard__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.rs-bizcard h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

/* Copy is folded away until hover, then eased open. */
.rs-bizcard p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 0;
  margin-top: 0;
  font-family: "Poppins", sans-serif;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  transition:
    max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease,
    margin-top 0.5s ease;
}

.rs-bizcard:hover p,
.rs-bizcard:focus-within p {
  max-height: 90px;
  margin-top: 12px;
  opacity: 1;
}

.rs-rail__hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: var(--rs-muted);
}

.rs-rail__hint svg {
  width: 18px;
  height: 18px;
  color: var(--rs-orange);
  animation: rs-nudge 1.8s ease-in-out infinite;
}

@keyframes rs-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}

/* ============================================================
   MODULES - chip rail + app-window stage (ported from .odm-modules on the
   on-demand page). Each panel carries its own accent, republished on the
   section by the page script so chips, chrome and ticks agree.
   ============================================================ */
.rs-modules {
  /* Matches the first chip; the script republishes this on every switch. */
  --rs-panel-accent: #18a939;

  position: relative;
  padding: 96px 0;
  background:
    radial-gradient(
      60% 50% at 0% 30%,
      rgba(255, 231, 209, 0.65) 0%,
      rgba(255, 231, 209, 0) 70%
    ),
    radial-gradient(
      50% 45% at 100% 85%,
      rgba(255, 231, 209, 0.7) 0%,
      rgba(255, 231, 209, 0) 70%
    ),
    var(--rs-cream);
  overflow: hidden;
}

/* Faint dot field, so the card has something to sit on rather than floating on
   flat colour. */
.rs-modules::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(16, 19, 26, 0.055) 1.1px,
    transparent 1.2px
  );
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(
    120% 90% at 50% 40%,
    #000 30%,
    transparent 78%
  );
  mask-image: radial-gradient(120% 90% at 50% 40%, #000 30%, transparent 78%);
  pointer-events: none;
}

.rs-modules > .container {
  position: relative;
}

.rs-modules__card {
  padding: 28px;
  /* Frosted glass: the wash and the dot field behind stay visible but blurred,
     so the card reads as a pane over the section rather than a white block cut
     out of it. The inset highlight is the lit top edge. */
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    0 30px 70px rgba(17, 19, 24, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* Without backdrop-filter there is nothing to frost, and 60% white over the dot
   field would just look dirty - fall back to the opaque card. */
@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .rs-modules__card {
    border-color: rgba(16, 19, 26, 0.07);
    background: #fff;
  }
}

.rs-modules__layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin-top: 22px;
}

/* Stage and CTA share the column. The stage stays exactly as tall as its rows;
   the CTA takes up the slack beside the device rather than the stage
   stretching to fill it. */
.rs-modules__col {
  display: grid;
  gap: 18px;
  align-content: center;
}

/* ---- chip rail ---- */
.rs-modules__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rs-modules__tab {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  /* Translucent so the frost shows through, but the edge has to be a dark
     hairline - a white border on a white card is invisible. */
  border: 1px solid rgba(16, 19, 26, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 6px 18px rgba(17, 19, 24, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

/* Accent bar that grows across the bottom edge as the chip takes over. */
.rs-modules__tab::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--tab-accent);
  transform: translateX(-50%);
  transition: width 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.rs-modules__tab:hover {
  border-color: rgba(16, 19, 26, 0.16);
  background: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 14px 30px rgba(17, 19, 24, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(-3px);
}

.rs-modules__tab[aria-selected="true"] {
  border-color: color-mix(in srgb, var(--tab-accent) 42%, transparent);
  background: color-mix(in srgb, var(--tab-accent) 7%, #fff);
  box-shadow:
    0 14px 30px color-mix(in srgb, var(--tab-accent) 16%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: none;
}

.rs-modules__tab[aria-selected="true"]::before {
  width: 64%;
}

/* Hollow numeral, matching the process step numerals. */
.rs-modules__num {
  font-family: "Poppins", "Gabarito", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.3px rgba(16, 19, 26, 0.32);
  transition: -webkit-text-stroke-color 0.3s ease;
}

.rs-modules__tab[aria-selected="true"] .rs-modules__num {
  -webkit-text-stroke-color: var(--tab-accent);
}

.rs-modules__name {
  display: block;
  font-family: "Poppins", "Gabarito", sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.25;
  color: var(--rs-ink);
}

.rs-modules__count {
  display: block;
  margin-top: 3px;
  font-family: "Poppins", "Gabarito", sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--rs-muted);
}

/* Tick that fades in on the chosen chip. */
.rs-modules__go {
  width: 18px;
  height: 18px;
  color: var(--tab-accent);
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rs-modules__tab[aria-selected="true"] .rs-modules__go {
  opacity: 1;
  transform: none;
}

/* ---- device ---- */
.rs-modules__device {
  position: relative;
  display: grid;
  place-items: center;
}

/* Accent halo behind the handset, recoloured with the chosen panel. */
.rs-modules__device::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--rs-panel-accent) 24%, transparent) 0%,
    transparent 68%
  );
  transition: background 0.4s ease;
  pointer-events: none;
}

.rs-modules__device img {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 48px rgba(17, 19, 24, 0.16));
}

/* ---- stage ---- */
.rs-modules__stage {
  position: relative;
  border: 1px solid rgba(16, 19, 26, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow:
    0 12px 34px rgba(17, 19, 24, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

/* Accent wash bleeding down from the chrome bar. */
.rs-modules__stage::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 190px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--rs-panel-accent) 10%, transparent),
    transparent
  );
  pointer-events: none;
  transition: background 0.4s ease;
}

/* Window chrome: the section is about app panels, so the stage is dressed as
   one. */
.rs-modules__chrome {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(16, 19, 26, 0.07);
  background: rgba(255, 255, 255, 0.78);
}

.rs-modules__dots {
  display: flex;
  gap: 6px;
}

.rs-modules__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(16, 19, 26, 0.12);
}

.rs-modules__dots i:first-child {
  background: var(--rs-panel-accent);
  transition: background 0.4s ease;
}

.rs-modules__crumb {
  font-family: "Poppins", "Gabarito", sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--rs-ink);
}

.rs-modules__crumb span {
  color: var(--rs-muted);
  font-weight: 500;
}

.rs-modules__pill {
  margin-left: auto;
  padding: 6px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--rs-panel-accent) 12%, transparent);
  color: var(--rs-panel-accent);
  font-family: "Poppins", "Gabarito", sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  white-space: nowrap;
  transition:
    background 0.4s ease,
    color 0.4s ease;
}

/* Every set is rendered up front and stacked in one grid cell, so switching
   neither reflows the section nor changes its height. */
.rs-modules__sets {
  display: grid;
  padding: 30px 28px 34px;
}

.rs-modules__set {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 26px;
  align-content: start;
  visibility: hidden;
  transition: visibility 0.3s ease;
}

.rs-modules__set.is-on {
  visibility: visible;
}

.rs-modules__set li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  font-family: "Poppins", "Gabarito", sans-serif;
  font-size: 15.5px;
  line-height: 1.45;
  color: #1a1a1a;
  /* Rows fly in one after the next when their set opens; `--i` is the row
     index, written by the blade. */
  opacity: 0;
  transform: translateY(9px);
  transition:
    opacity 0.34s ease,
    transform 0.34s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.2s ease;
}

.rs-modules__set.is-on li {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i) * 26ms);
}

.rs-modules__set li:hover {
  background: color-mix(in srgb, var(--rs-panel-accent) 8%, transparent);
}

/* Tick drawn in CSS - one glyph per row would be two dozen identical images. */
.rs-modules__set li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--rs-panel-accent) 16%, transparent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")
    center / 12px 12px no-repeat;
  transition: background-color 0.4s ease;
}

/* ---- CTA pane ---- */
/* Same surface as the stage so the two read as one stack, tinted with the
   active panel's accent so it moves with the chips. */
.rs-modules__cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 26px;
  border: 1px solid
    color-mix(in srgb, var(--rs-panel-accent) 26%, rgba(16, 19, 26, 0.09));
  border-radius: 18px;
  background:
    linear-gradient(
      120deg,
      color-mix(in srgb, var(--rs-panel-accent) 11%, transparent),
      transparent 62%
    ),
    rgba(255, 255, 255, 0.45);
  box-shadow:
    0 12px 34px rgba(17, 19, 24, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    background 0.4s ease,
    border-color 0.4s ease;
}

.rs-modules__cta-copy {
  min-width: 0;
}

.rs-modules__cta h3 {
  font-family: "Poppins", "Gabarito", sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
}

.rs-modules__cta p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 22px;
  color: var(--rs-muted);
}

.rs-modules__cta .rs-btn {
  flex: none;
  margin-left: auto;
}

@media (prefers-reduced-motion: reduce) {
  .rs-modules__set li {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.rs-cases {
  padding: 96px 0;
  background: #fff;
}

.rs-case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  padding: 34px 0;
}

.rs-case + .rs-case {
  border-top: 1px solid var(--rs-line);
}

.rs-case:nth-child(even) .rs-case__media {
  order: -1;
}

.rs-case__media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--rs-cream);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.rs-case__media img {
  display: block;
  width: 100%;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.rs-case__media:hover img {
  transform: scale(1.04);
}

.rs-case__name {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
}

.rs-case__rows {
  margin-top: 22px;
  display: grid;
  gap: 2px;
}

.rs-case__row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-top: 1px dashed var(--rs-line);
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.72;
  color: var(--rs-body);
}

.rs-case__row b {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rs-orange-dk);
}

.rs-case__row--problem b {
  color: #dc2626;
}

.rs-case__row--result b {
  color: #16a34a;
}

/* ============================================================
   COMPLIANCE — two marquee rows drifting in opposite directions
   ============================================================ */
.rs-sec {
  padding: 96px 0;
  background: var(--rs-dark);
  color: #fff;
  overflow: hidden;
}

.rs-sec .rs-title,
.rs-sec h2 {
  color: #fff;
}

.rs-sec .rs-sub {
  color: rgba(255, 255, 255, 0.66);
}

.rs-marquee {
  position: relative;
  display: flex;
  gap: 16px;
  width: max-content;
  /* Two identical copies in the DOM, so a -50% shift wraps seamlessly. */
  animation: rs-marquee var(--rs-mq-dur, 44s) linear infinite;
}

.rs-marquee--rev {
  animation-direction: reverse;
}

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

.rs-marquee__row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.rs-marquee__row + .rs-marquee__row {
  margin-top: 16px;
}

.rs-marquee__row:hover .rs-marquee {
  animation-play-state: paused;
}

.rs-secpill {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
  padding: 15px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: var(--rs-dark-2);
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.rs-secpill:hover {
  border-color: rgba(254, 125, 26, 0.6);
  background: rgba(254, 125, 26, 0.12);
}

.rs-secpill svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--rs-amber);
}

/* ============================================================
   AI SOLUTIONS — dark grid, cursor spotlight per card
   ============================================================ */
.rs-sol {
  padding: 96px 0;
  background: linear-gradient(180deg, var(--rs-dark) 0%, #16161f 100%);
}

.rs-sol__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rs-solcard {
  position: relative;
  padding: 30px 26px 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease;
}

/* `--rs-mx/--rs-my` are written on pointermove by the spotlight script. */
.rs-solcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    220px circle at var(--rs-mx, 50%) var(--rs-my, 0%),
    rgba(254, 125, 26, 0.22),
    transparent 68%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.rs-solcard > * {
  position: relative;
}

.rs-solcard:hover {
  transform: translateY(-6px);
  border-color: rgba(254, 125, 26, 0.45);
}

.rs-solcard:hover::before {
  opacity: 1;
}

.rs-solcard__ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.4s ease;
}

.rs-solcard:hover .rs-solcard__ico {
  background: var(--rs-grad);
}

.rs-solcard__ico img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.rs-solcard h3 {
  margin-top: 20px;
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.rs-solcard p {
  margin-top: 11px;
  font-family: "Poppins", sans-serif;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.62);
}

/* ============================================================
   ADVANCED TECH — colour icons on light cards
   ============================================================ */
.rs-tech {
  padding: 96px 0;
  background: #fff;
}

.rs-tech__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.rs-techcard {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--rs-line);
  border-radius: 20px;
  background: #fff;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.rs-techcard::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 1.5px;
  background: var(--rs-grad);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.rs-techcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(16, 19, 26, 0.1);
}

.rs-techcard:hover::after {
  opacity: 1;
}

.rs-techcard__ico {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--rs-cream);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rs-techcard:hover .rs-techcard__ico {
  transform: translateY(-4px) scale(1.05);
}

.rs-techcard__ico img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.rs-techcard h3 {
  margin-top: 20px;
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.3;
}

.rs-techcard p {
  margin-top: 11px;
  font-family: "Poppins", sans-serif;
  font-size: 14.5px;
  line-height: 1.72;
}

/* ============================================================
   TECH STACK - logo lane (ported from .sma-stack on the social media page)
   ============================================================ */
.rs-stack {
  padding: 96px 0;
  background: #fff;
}

/* Full-bleed lane. `overflow: hidden` clips the oversized track, so the block is
   padded (and pulled back by an equal negative margin) to leave room for the
   tiles' hover lift and shadow. */
.rs-stack__marquee {
  margin: -18px calc(50% - 50vw);
  padding: 18px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #fffaf4 0%, var(--rs-cream) 100%);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
}

.rs-stack__track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 22px 0;
  animation: rs-stack-marquee 40s linear infinite;
}

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

.rs-stack__marquee:hover .rs-stack__track {
  animation-play-state: paused;
}

/* Fixed width because the tiles sit in a flex track rather than a grid; flex
   `stretch` keeps every tile in the lane the same height. */
.rs-stack__item {
  display: flex;
  flex: none;
  width: clamp(172px, 15vw, 216px);
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 30px 14px 24px;
  border: 1px solid var(--rs-line);
  border-radius: 18px;
  background: #fff;
  text-align: center;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.rs-stack__item:hover {
  transform: translateY(-8px);
  border-color: rgba(254, 125, 26, 0.32);
  box-shadow: 0 18px 34px rgba(254, 125, 26, 0.16);
}

.rs-stack__disc {
  display: grid;
  place-items: center;
}

.rs-stack__item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.rs-stack__item:hover img {
  transform: scale(1.12);
}

.rs-stack__item span {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--rs-ink);
  transition: color 0.35s ease;
}

.rs-stack__item:hover span {
  color: var(--rs-orange-dk);
}

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

/* ============================================================
   PROCESS — scroll-driven route
   ============================================================ */
.rs-proc {
  padding: 96px 0;
  background: #fff;
}

.rs-proc__rail {
  position: relative;
  max-width: 940px;
  margin-inline: auto;
  padding-left: 78px;
}

/* Track + fill. The fill's height is driven by the scroll-progress script. */
.rs-proc__rail::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 27px;
  width: 3px;
  border-radius: 3px;
  background: repeating-linear-gradient(
    180deg,
    var(--rs-line) 0 8px,
    transparent 8px 16px
  );
}

.rs-proc__fill {
  position: absolute;
  top: 12px;
  left: 27px;
  width: 3px;
  height: var(--rs-proc-h, 0%);
  border-radius: 3px;
  background: var(--rs-grad);
  transition: height 0.2s linear;
}

.rs-step {
  position: relative;
  padding: 0 0 44px;
}

.rs-step:last-child {
  padding-bottom: 0;
}

.rs-step__pin {
  position: absolute;
  top: 0;
  left: -78px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid var(--rs-line);
  border-radius: 50%;
  background: #fff;
  font-size: 18px;
  font-weight: 700;
  color: var(--rs-muted);
  transition:
    border-color 0.4s ease,
    color 0.4s ease,
    background 0.4s ease,
    box-shadow 0.4s ease;
}

.rs-step.is-lit .rs-step__pin {
  border-color: transparent;
  background: var(--rs-grad);
  color: #fff;
  box-shadow: 0 12px 26px rgba(254, 125, 26, 0.34);
}

.rs-step h3 {
  font-size: 21px;
  font-weight: 700;
}

.rs-step p {
  margin-top: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.75;
}

/* ============================================================
   COST
   ============================================================ */
.rs-cost {
  padding: 96px 0;
  background: var(--rs-cream);
}

.rs-cost__range {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 26px;
  padding: 14px 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(16, 19, 26, 0.07);
  font-family: "Poppins", sans-serif;
}

.rs-cost__range b {
  font-family: "Gabarito", sans-serif;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  background: var(--rs-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rs-cost__range span {
  font-size: 13.5px;
  color: var(--rs-muted);
}

/* The section head runs full width above this grid, so the two columns carry
   only the artwork and the tiers - close enough in height to sit level. */
.rs-cost__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.rs-cost__media img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 34px 60px rgba(16, 19, 26, 0.16));
  animation: rs-float 9s ease-in-out infinite;
}

.rs-tier {
  padding: 20px 24px;
  border: 1px solid var(--rs-line);
  border-radius: 16px;
  background: #fff;
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.rs-tier + .rs-tier {
  margin-top: 14px;
}

.rs-tier:hover {
  transform: translateX(5px);
  box-shadow: 0 18px 36px rgba(254, 125, 26, 0.14);
}

.rs-tier__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.rs-tier__name {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--rs-ink);
}

.rs-tier__price {
  font-size: 18px;
  font-weight: 700;
  color: var(--rs-orange-dk);
}

/* Meter fills to `--rs-w` once the tier scrolls in (`is-in` comes from the
   shared reveal observer, so no second script). */
.rs-tier__meter {
  height: 7px;
  margin-top: 13px;
  border-radius: 999px;
  background: #f1f1f1;
  overflow: hidden;
}

.rs-tier__meter i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--rs-grad);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.rs-tier.is-in .rs-tier__meter i {
  width: var(--rs-w, 50%);
}

.rs-cost__factors-title {
  margin-top: 30px;
  font-size: 18px;
  font-weight: 700;
}

.rs-cost__factors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.rs-cost__factors li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--rs-orange-lt);
  border-radius: 999px;
  background: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 13.5px;
  color: var(--rs-ink);
}

.rs-cost__factors svg {
  width: 14px;
  height: 14px;
  color: var(--rs-orange);
}

.rs-cost__actions {
  margin-top: 30px;
}

/* ============================================================
   FAQ
   ============================================================ */
.rs-faq {
  padding: 96px 0 110px;
  background: #fff;
}

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

.rs-faq__aside {
  position: sticky;
  top: 120px;
}

.rs-faq__title {
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.14;
}

.rs-faq__promo {
  margin-top: 28px;
  padding: 30px 28px;
  border-radius: 22px;
  background: var(--rs-dark);
  color: #fff;
}

.rs-faq__promo h3 {
  font-size: 21px;
  font-weight: 700;
  color: #fff;
}

.rs-faq__promo p {
  margin: 10px 0 22px;
  font-family: "Poppins", sans-serif;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
}

.rs-faq__item {
  border-bottom: 1px solid var(--rs-line);
}

.rs-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 17.5px;
  font-weight: 600;
  color: var(--rs-ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s ease;
}

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

.rs-faq__q:hover {
  color: var(--rs-orange-dk);
}

/* Plus that rotates into a minus. */
.rs-faq__mark {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--rs-line);
  border-radius: 50%;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.rs-faq__mark::before,
.rs-faq__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--rs-ink);
  translate: -50% -50%;
  transition:
    background 0.3s ease,
    opacity 0.3s ease;
}

.rs-faq__mark::after {
  rotate: 90deg;
}

.rs-faq__item[open] .rs-faq__mark {
  border-color: transparent;
  background: var(--rs-grad);
  transform: rotate(180deg);
}

.rs-faq__item[open] .rs-faq__mark::before,
.rs-faq__item[open] .rs-faq__mark::after {
  background: #fff;
}

.rs-faq__item[open] .rs-faq__mark::after {
  opacity: 0;
}

/* The wrapper is what animates — <details> cannot transition its own height. */
.rs-faq__a-wrap {
  overflow: hidden;
}

.rs-faq__a {
  padding: 0 60px 24px 0;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.78;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199.98px) {
  .rs-sol__grid,
  .rs-tech__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rs-modules__layout {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
  }

  .rs-modules__tab {
    gap: 12px;
    padding: 16px 16px;
  }

  .rs-modules__sets {
    padding: 26px 20px 30px;
  }

  /* Copy and button stop sharing a row before the button's fixed width starts
     eating the copy. */
  .rs-modules__cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  /* `width: 100%`, not `max-width`: the base button is `width: max-content`,
     which keeps reserving the unwrapped label's width and pushes the pane wider
     than the card it sits in. */
  .rs-modules__cta .rs-btn {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 991.98px) {
  .rs-hero {
    padding: 40px 0 70px;
  }

  /* Stacked, the copy sits directly on the skyline wash - fade it back so the
     gradient headline and body text keep their contrast. */
  .rs-hero__bg {
    opacity: 0.3;
  }

  .rs-hero__grid,
  .rs-cost__layout,
  .rs-faq__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  /* Artwork reads first on small screens. */
  .rs-hero__media {
    order: -1;
  }

  .rs-hero__text {
    max-width: none;
  }

  .rs-faq__aside {
    position: static;
  }

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

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

  /* The phone drops below the stage and the chip row scrolls: three chips and a
     300px device column leave the feature list too narrow to read here. */
  .rs-modules__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .rs-modules__device {
    order: 1;
  }

  .rs-modules__device img {
    max-width: 320px;
  }

  .rs-modules__device::before {
    width: 280px;
    height: 280px;
  }

  .rs-modules__nav {
    display: flex;
    gap: 10px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .rs-modules__nav::-webkit-scrollbar {
    display: none;
  }

  /* `width: 100%` from the rail layout would make flex-basis:auto resolve to
     the full row, so each chip has to be told to size to its own content. */
  .rs-modules__tab {
    flex: 0 0 auto;
    width: auto;
    gap: 12px;
    padding: 14px 18px;
  }

  .rs-modules__tab:hover {
    transform: none;
  }

  .rs-modules__go {
    display: none;
  }

  /* The chip row scrolls, so a bar pinned to a chip's own width is the only
     active cue that stays visible. */
  .rs-modules__tab[aria-selected="true"]::before {
    width: 50%;
  }

  .rs-cta__inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px 32px;
    text-align: center;
  }

  .rs-cta__text {
    margin-inline: auto;
  }

  .rs-cta__actions {
    display: flex;
    justify-content: center;
  }

  .rs-cta__media {
    justify-self: center;
    max-width: 320px;
  }

  .rs-cta--wide .rs-cta__inner {
    padding-right: 32px;
  }

  .rs-cta--wide .rs-cta__copy {
    padding-block: 40px 0;
  }

  .rs-cta--wide .rs-cta__media img {
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 34%);
    mask-image: linear-gradient(180deg, transparent, #000 34%);
  }

  .rs-case,
  .rs-case:nth-child(even) .rs-case__media {
    grid-template-columns: minmax(0, 1fr);
    order: 0;
  }

  .rs-case {
    gap: 28px;
  }

  .rs-sol__grid,
  .rs-tech__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rs-cost__factors {
    margin-top: 14px;
  }
}

@media (max-width: 767.98px) {
  .rs-hero__title {
    font-size: clamp(30px, 8vw, 40px);
  }

  .rs-chip--drivers {
    display: none;
  }

  .rs-chip {
    padding: 9px 13px;
    scale: 0.9;
  }

  .rs-services__grid,
  .rs-sol__grid,
  .rs-tech__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rs-stats {
    padding: 48px 0 56px;
  }

  .rs-services,
  .rs-biz,
  .rs-modules,
  .rs-cases,
  .rs-sec,
  .rs-sol,
  .rs-tech,
  .rs-stack,
  .rs-proc,
  .rs-cost,
  .rs-faq,
  .rs-cta {
    padding-block: 62px;
  }

  .rs-proc__rail {
    padding-left: 62px;
  }

  .rs-proc__rail::before,
  .rs-proc__fill {
    left: 21px;
  }

  .rs-step__pin {
    left: -62px;
    width: 46px;
    height: 46px;
    font-size: 16px;
  }

  .rs-case__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .rs-faq__a {
    padding-right: 0;
  }

  .rs-biz__rail {
    --rs-card-h: 380px;
  }

  .rs-biz__rail .swiper-slide.rs-bizcard {
    width: clamp(240px, 78vw, 300px);
  }

  /* Touch has no hover, so the card copy stays open. */
  .rs-bizcard p {
    max-height: 90px;
    margin-top: 12px;
    opacity: 1;
  }
}

@media (max-width: 575.98px) {
  /* Long badge labels wrap to two lines at phone width; tighten them so the
     pill stays a pill. */
  .rs-badge {
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .rs-stats__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rs-btn {
    --rs-btn-pad-l: 24px;
    --rs-btn-icon-w: 42px;
  }

  .rs-btn__label {
    font-size: 12.5px;
    white-space: normal;
  }

  /* One column of rows: two 15.5px columns inside a phone-width card is
     unreadable. */
  .rs-modules__set {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .rs-modules__card {
    padding: 16px;
    border-radius: 20px;
  }

  .rs-modules__sets {
    padding: 20px 14px 24px;
  }

  .rs-modules__chrome {
    padding: 14px 16px;
    gap: 10px;
  }

  .rs-modules__crumb span {
    display: none;
  }

  /* The button's label is `nowrap` so its swap animation has a stable width,
     which squeezes the disc out of the pill here. Let it shrink and wrap. */
  .rs-modules__cta .rs-btn__label {
    white-space: normal;
    flex: 1 1 auto;
    text-align: left;
  }

  .rs-stack__item {
    width: 158px;
    padding: 24px 12px 20px;
  }

  .rs-stack__item img {
    width: 56px;
    height: 56px;
  }
}

/* The label/disc swap needs a stable width; disable it where the label wraps. */
@media (max-width: 575.98px), (hover: none) {
  .rs-btn:hover,
  .rs-btn:focus-visible {
    padding-left: var(--rs-btn-pad-l);
    padding-right: var(--rs-btn-pad-r);
  }

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

/* Compliance and solutions are both dark and stack directly; halve the seam so
   the two do not read as one huge empty band. */
.rs-sec + .rs-sol {
  padding-top: 44px;
}

/* The wide CTA's artwork should fill the band edge to edge and fade into the
   orange rather than sitting in it as a floating rectangle. */
.rs-cta--wide .rs-cta__media {
  align-self: stretch;
  width: 100%;
}

.rs-cta--wide .rs-cta__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%);
  mask-image: linear-gradient(90deg, transparent, #000 34%);
}
