/* ============================================================
   RPA Development Services  (/rpa-development)
   Ink navy + signal blue (#014eee, sampled from the owner icons),
   mint = "done", amber = "needs a human". Sora (display) / Onest (body).
   `rp-` prefix; reveal armed by `.rp-anim` on <html>.
   Motion: masked hero headline, bot cursor clicking the dashboard,
   live bot-run log, packet running the tool chain, task queue that
   ticks itself off, autoplay service stage, stacked case reports,
   app -> bot flow with a travelling packet, chip pop-in stack,
   advanced-tech scanner beam, filling cost range, cursor spotlight
   benefits, record lanes CTA, expanding industry deck, scroll-filled
   process spine, RPA + X equations, dot-field final CTA.
   ============================================================ */

body:has(.rp-page) {
  overflow-x: clip;
}

.rp-page {
  --rp-ink: #071440;
  --rp-ink-2: #0d1f5e;
  --rp-blue: #014eee;
  --rp-blue-2: #2f6bff;
  --rp-blue-lt: #407dff;
  --rp-sky: #eef3ff;
  --rp-sky-2: #f6f8ff;
  --rp-mint: #14c08e;
  --rp-amber: #ffb020;
  --rp-body: #4b5675;
  --rp-line: #dfe6f5;
  --rp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rp-ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --rp-display: "Sora", system-ui, sans-serif;
  --rp-text: "Onest", system-ui, -apple-system, sans-serif;

  position: relative;
  background: #fff;
  color: var(--rp-ink);
  overflow-x: clip;
  font-family: var(--rp-text);
}

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

.rp-page :where(h1, h2, h3) {
  margin: 0;
  color: var(--rp-ink);
}

.rp-page :where(p, dd, dl, figure) {
  margin: 0;
}

.rp-page :where(p, dd) {
  color: var(--rp-body);
}

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

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

/* style.css forces `h1-h6, p { font-family: Gabarito !important }` site-wide */
.rp-page :is(h1, h2, h3) {
  font-family: var(--rp-display) !important;
}

.rp-page p {
  font-family: var(--rp-text) !important;
}

.rp-sec {
  position: relative;
  padding: 110px 0;
}

.rp-title {
  font-weight: 600;
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.rp-page .rp-sub {
  margin-top: 18px;
  max-width: 64ch;
  font-size: 17px;
  line-height: 1.7;
}

.rp-page .rp-sub strong {
  color: var(--rp-ink);
  font-weight: 600;
}

.rp-head {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}

.rp-page .rp-head .rp-sub {
  margin-inline: auto;
}

/* split head: title left, intro right, for sections whose content runs
   in rows or side-by-side columns */
.rp-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  max-width: none;
  text-align: left;
}

.rp-page .rp-head--split .rp-sub {
  margin: 0;
  padding-left: 28px;
  border-left: 2px solid var(--rp-blue);
}

@media (max-width: 991px) {
  .rp-head--split {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .rp-page .rp-head--split .rp-sub {
    padding-left: 18px;
  }
}

/* ---------- reveal (CSS animation, so it never delays hover transitions) ---------- */
:where(.rp-anim) .rp-reveal {
  opacity: 0;
}

:where(.rp-anim) .rp-reveal.is-in {
  animation: rp-rise 0.9s var(--rp-ease) both;
}

@keyframes rp-rise {
  from {
    opacity: 0;
    translate: 0 28px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* shared loops */
@keyframes rp-float {
  0%,
  100% {
    translate: 0 0 0;
  }
  50% {
    translate: 0 -12px 0;
  }
}

@keyframes rp-ping {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

@keyframes rp-halo {
  0% {
    transform: scale(1);
    opacity: 0.45;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* Packets ride a full-width carrier that moves by its own width, so the
   loop is a pure transform (no left/top layout per frame). The packet
   covers the wire in the first 80% of the loop, so stop k of n lights
   at k / (n - 1) * 0.8 of the duration. */
@keyframes rp-run-x {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  4%,
  76% {
    opacity: 1;
  }
  80%,
  100% {
    transform: translate3d(100%, 0, 0);
    opacity: 0;
  }
}

@keyframes rp-run-y {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  4%,
  76% {
    opacity: 1;
  }
  80%,
  100% {
    transform: translate3d(0, 100%, 0);
    opacity: 0;
  }
}

/* a stop lighting up as the packet arrives: eased ramp in, hold, ramp out */
@keyframes rp-glow {
  0% {
    opacity: 0;
  }
  6%,
  16% {
    opacity: 1;
  }
  32%,
  100% {
    opacity: 0;
  }
}

@keyframes rp-bump {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  6%,
  16% {
    transform: translate3d(0, -6px, 0) scale(1.05);
  }
  32%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* ---------- buttons: arrow disc slides to the left on hover ---------- */
.rp-btn {
  --rp-btn-icon-w: 44px;
  --rp-btn-gap: 14px;
  --rp-btn-pad: 26px;
  --rp-btn-in: 7px;

  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: calc(var(--rp-btn-icon-w) + 2 * var(--rp-btn-in));
  max-width: 100%;
  padding: 0 calc(var(--rp-btn-icon-w) + var(--rp-btn-in) + var(--rp-btn-gap)) 0 var(--rp-btn-pad);
  border-radius: 999px;
  background: var(--rp-blue);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(1, 78, 238, 0.55);
  transition:
    color 0.4s var(--rp-ease),
    box-shadow 0.3s ease,
    transform 0.3s ease,
    padding 0.5s var(--rp-ease-io);
}

/* ink fill sweeps in on hover */
.rp-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--rp-ink);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.55s var(--rp-ease-io);
}

.rp-btn:hover::before,
.rp-btn:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left center;
}

.rp-btn__label {
  min-width: 0;
  font-family: var(--rp-text);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
}

.rp-btn__icon {
  position: absolute;
  top: var(--rp-btn-in);
  right: var(--rp-btn-in);
  display: grid;
  place-items: center;
  width: var(--rp-btn-icon-w);
  height: var(--rp-btn-icon-w);
  border-radius: 50%;
  background: #fff;
  color: var(--rp-blue);
  transition:
    right 0.5s var(--rp-ease-io),
    background 0.4s,
    color 0.4s;
}

.rp-btn__icon svg {
  width: 18px;
  height: 18px;
  transform: rotate(-45deg);
  transition: transform 0.45s var(--rp-ease-io);
}

.rp-btn:hover,
.rp-btn:focus-visible {
  padding-left: calc(var(--rp-btn-icon-w) + var(--rp-btn-in) + var(--rp-btn-gap));
  padding-right: var(--rp-btn-pad);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -14px rgba(7, 20, 64, 0.6);
}

.rp-btn:hover .rp-btn__icon,
.rp-btn:focus-visible .rp-btn__icon {
  right: calc(100% - var(--rp-btn-icon-w) - var(--rp-btn-in));
  background: var(--rp-mint);
  color: #fff;
}

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

.rp-btn:focus-visible {
  outline: 3px solid var(--rp-amber);
  outline-offset: 3px;
}

.rp-btn--light {
  background: #fff;
  color: var(--rp-ink);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.35);
}

.rp-btn--light::before {
  background: var(--rp-blue);
}

.rp-btn--light .rp-btn__icon {
  background: var(--rp-blue);
  color: #fff;
}

.rp-btn--light:hover,
.rp-btn--light:focus-visible {
  color: #fff;
}

.rp-btn--light:hover .rp-btn__icon,
.rp-btn--light:focus-visible .rp-btn__icon {
  background: #fff;
  color: var(--rp-blue);
}

/* ============================================================
   HERO
   ============================================================ */
.rp-hero {
  position: relative;
  padding: 64px 0 96px;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(47, 107, 255, 0.4), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(20, 192, 142, 0.16), transparent 70%),
    var(--rp-ink);
  overflow: clip;
}

.rp-hero__grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  mask-image: radial-gradient(80% 80% at 70% 40%, #000 20%, transparent 80%);
  pointer-events: none;
}

.rp-hero__grid::before {
  content: "";
  position: absolute;
  inset: -56px 0 0 -56px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  will-change: transform;
  animation: rp-grid-drift 18s linear infinite;
}

@keyframes rp-grid-drift {
  to {
    transform: translate3d(56px, 56px, 0);
  }
}

.rp-hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.rp-hero__title {
  color: #fff;
  font-weight: 600;
  font-size: clamp(36px, 3.8vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.rp-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.rp-line > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1s var(--rp-ease);
}

.rp-line:nth-child(2) > span {
  transition-delay: 0.1s;
}

.rp-line:nth-child(3) > span {
  transition-delay: 0.2s;
}

.rp-hero.is-ready .rp-line > span {
  transform: none;
}

.rp-page .rp-grad {
  background: linear-gradient(90deg, #8fb2ff, #5ef0c8, #8fb2ff);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rp-grad 6s linear infinite;
}

@keyframes rp-grad {
  to {
    background-position: -200% 0;
  }
}

.rp-page .rp-hero__text {
  margin-top: 24px;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  line-height: 1.7;
}

.rp-hero__actions {
  margin-top: 34px;
}

.rp-hero__text,
.rp-hero__actions {
  opacity: 0;
  translate: 0 18px;
  transition:
    opacity 0.9s var(--rp-ease) 0.45s,
    translate 0.9s var(--rp-ease) 0.45s;
}

.rp-hero__actions {
  transition-delay: 0.6s;
}

.rp-hero.is-ready :is(.rp-hero__text, .rp-hero__actions) {
  opacity: 1;
  translate: 0 0;
}

/* media */
.rp-hero__media {
  position: relative;
  opacity: 0;
  translate: 40px 0;
  transition:
    opacity 1.1s var(--rp-ease) 0.3s,
    translate 1.1s var(--rp-ease) 0.3s;
}

.rp-hero.is-ready .rp-hero__media {
  opacity: 1;
  translate: 0 0;
}

.rp-hero__frame {
  position: relative;
  will-change: translate;
  animation: rp-float 7s ease-in-out infinite;
}

.rp-hero__frame img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.45));
}

/* bot cursor: `b` is frame-sized, so translate % = % of the frame */
.rp-cursor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rp-cursor b {
  position: absolute;
  inset: 0;
  will-change: transform;
  animation: rp-cursor 9s var(--rp-ease-io) infinite;
}

.rp-cursor svg {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 26px;
  height: 26px;
  fill: var(--rp-blue);
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linejoin: round;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}

.rp-cursor i {
  position: absolute;
  left: -8px;
  top: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--rp-mint);
  opacity: 0;
  animation: rp-click 3s ease-out infinite;
}

/* three stops (Running Workflows rows, Bot Activity list, stat tile); the
   click ripple fires on each arrival, every 3s */
@keyframes rp-cursor {
  0%,
  10%,
  100% {
    transform: translate3d(22%, 46%, 0);
  }
  33%,
  43% {
    transform: translate3d(82%, 52%, 0);
  }
  66%,
  76% {
    transform: translate3d(38%, 26%, 0);
  }
}

@keyframes rp-click {
  0%,
  1% {
    transform: scale(0.4);
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  20% {
    transform: scale(1.8);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* tool chain */
.rp-chain {
  --rp-chain-d: 6s;

  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

/* wire runs node centre to node centre: (100% - 4 gaps) / 10 in from each side */
.rp-chain__wire {
  position: absolute;
  top: 50%;
  left: calc((100% - 40px) / 10);
  right: calc((100% - 40px) / 10);
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(143, 178, 255, 0.55) 0 6px, transparent 6px 12px);
}

.rp-chain__wire i {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
  animation: rp-run-x var(--rp-chain-d) linear infinite;
}

.rp-chain__wire i::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--rp-mint);
  box-shadow: 0 0 14px 4px rgba(94, 240, 200, 0.6);
}

.rp-chain__node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px 10px;
  border-radius: 14px;
  background: #142463;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  isolation: isolate;
  will-change: transform;
  animation: rp-bump var(--rp-chain-d) var(--rp-ease-io) infinite;
  animation-delay: calc(var(--i) * var(--rp-chain-d) * 0.2);
}

/* lit state is its own layer, only its opacity animates */
.rp-chain__node::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: #2a56d6;
  border: 1px solid rgba(143, 178, 255, 0.95);
  box-shadow: 0 10px 26px -8px rgba(47, 107, 255, 0.8);
  opacity: 0;
  animation: rp-glow var(--rp-chain-d) ease-in-out infinite;
  animation-delay: inherit;
}

.rp-chain__node img {
  width: 26px;
  height: 26px;
  padding: 3px;
  border-radius: 7px;
  background: #fff;
  box-sizing: content-box;
}

.rp-chain__node > i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: #fff;
  color: var(--rp-blue);
  font-size: 18px;
}

/* ============================================================
   STATS
   ============================================================ */
.rp-stats {
  padding: 80px 0 30px;
}

.rp-stats__title {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.rp-stats__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 40px;
  border: 1px solid var(--rp-line);
  border-radius: 24px;
  overflow: hidden;
}

.rp-stat {
  position: relative;
  padding: 32px 28px 34px;
  background: #fff;
}

.rp-stat + .rp-stat {
  border-left: 1px solid var(--rp-line);
}

.rp-stat img {
  display: block;
  width: 34px;
  height: 34px;
  padding: 10px;
  border-radius: 12px;
  background: var(--rp-sky);
  box-sizing: content-box;
}

.rp-page .rp-stat__n {
  margin-top: 20px;
  font-family: var(--rp-display) !important;
  font-weight: 600;
  font-size: clamp(38px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--rp-blue);
}

.rp-page .rp-stat__l {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.45;
}

.rp-stat__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--rp-blue), var(--rp-mint));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--rp-ease);
}

.rp-stats__row.is-on .rp-stat__bar {
  transform: scaleX(1);
}

.rp-stats__row.is-on .rp-stat:nth-child(2) .rp-stat__bar {
  transition-delay: 0.15s;
}

.rp-stats__row.is-on .rp-stat:nth-child(3) .rp-stat__bar {
  transition-delay: 0.3s;
}

.rp-stats__row.is-on .rp-stat:nth-child(4) .rp-stat__bar {
  transition-delay: 0.45s;
}

/* ============================================================
   AUTOMATE
   ============================================================ */
.rp-auto__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 64px;
  align-items: center;
}

.rp-queue {
  padding: 28px 28px 18px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--rp-line);
  box-shadow: 0 30px 60px -36px rgba(7, 20, 64, 0.35);
}

.rp-page .rp-queue__head {
  margin-bottom: 8px;
  color: var(--rp-ink);
  font-size: 17px;
}

.rp-queue li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 10px;
  border-radius: 12px;
  font-size: 16px;
  color: var(--rp-ink);
  transition: background 0.5s;
  transition-delay: calc(var(--i) * 0.35s + 0.3s);
}

.rp-queue li + li {
  margin-top: 2px;
}

.rp-queue__box {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 2px solid var(--rp-line);
  color: #fff;
  font-size: 16px;
  transition:
    background 0.4s,
    border-color 0.4s;
  transition-delay: inherit;
}

.rp-queue__box i {
  transform: scale(0);
  transition: transform 0.4s var(--rp-ease);
  transition-delay: inherit;
}

.rp-queue__t {
  flex: 1;
  min-width: 0;
}

.rp-queue__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(20, 192, 142, 0.14);
  color: #0a8a65;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(10px);
  transition:
    opacity 0.4s,
    transform 0.4s var(--rp-ease);
  transition-delay: inherit;
}

.rp-queue.is-on li {
  background: var(--rp-sky-2);
}

.rp-queue.is-on .rp-queue__box {
  background: var(--rp-mint);
  border-color: var(--rp-mint);
}

.rp-queue.is-on .rp-queue__box i {
  transform: scale(1);
}

.rp-queue.is-on .rp-queue__tag {
  opacity: 1;
  transform: none;
}

.rp-auto__art {
  position: relative;
  margin-top: 72px;
  padding: 40px;
  border-radius: 28px;
  background: linear-gradient(180deg, var(--rp-sky), #fff);
  overflow: hidden;
}

.rp-auto__art img {
  display: block;
  margin: 0 auto;
}

.rp-auto__scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 120px;
  background: linear-gradient(90deg, transparent, rgba(1, 78, 238, 0.12), transparent);
  border-right: 2px solid rgba(1, 78, 238, 0.35);
  animation: rp-scan-x 5s var(--rp-ease-io) infinite;
}

@keyframes rp-scan-x {
  from {
    transform: translateX(-140px);
  }
  to {
    transform: translateX(1300px);
  }
}

/* ============================================================
   SERVICES (autoplay stage)
   ============================================================ */
.rp-svc {
  background: var(--rp-sky-2);
}

/* --cy = vertical centre shared by the orbits, the core and the icon */
.rp-svc__layout {
  --cy: 230px;
  --core: 196px;

  position: relative;
  min-height: 620px;
}

.rp-svc__item {
  width: 44%;
}

.rp-svc__name button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid var(--rp-line);
  background: none;
  color: rgba(7, 20, 64, 0.42);
  font: inherit;
  font-weight: 600;
  font-size: clamp(19px, 1.7vw, 24px);
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
  transition:
    color 0.4s,
    padding 0.5s var(--rp-ease);
}

.rp-svc__name button::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rp-blue);
  transform: scale(0);
  transition: transform 0.4s var(--rp-ease);
}

.rp-svc__item.is-active .rp-svc__name button {
  color: var(--rp-ink);
  padding-left: 16px;
}

.rp-svc__item.is-active .rp-svc__name button::after {
  transform: scale(1);
}

.rp-svc__name button:focus-visible {
  outline: 2px solid var(--rp-blue);
  outline-offset: 4px;
}

.rp-svc__prog {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--rp-blue);
  transform: scaleX(0);
  transform-origin: left;
}

.is-ticking .rp-svc__item.is-active .rp-svc__prog {
  animation: rp-prog var(--rp-tick, 4s) linear both;
}

@keyframes rp-prog {
  to {
    transform: scaleX(1);
  }
}

.rp-svc__stage,
.rp-svc__body {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
}

.rp-svc__stage {
  border-radius: 32px;
  background:
    radial-gradient(320px circle at 50% var(--cy), rgba(64, 125, 255, 0.2), transparent 70%),
    #fff;
  border: 1px solid var(--rp-line);
  overflow: hidden;
}

.rp-svc__orbit,
.rp-svc__core {
  position: absolute;
  left: 50%;
  top: var(--cy);
  border-radius: 50%;
}

.rp-svc__orbit {
  width: 380px;
  height: 380px;
  margin: -190px 0 0 -190px;
  border: 1px dashed rgba(1, 78, 238, 0.25);
  will-change: transform;
  animation: rp-spin 30s linear infinite;
}

.rp-svc__orbit::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--rp-mint);
}

.rp-svc__orbit--2 {
  width: 284px;
  height: 284px;
  margin: -142px 0 0 -142px;
  animation-duration: 18s;
  animation-direction: reverse;
}

.rp-svc__orbit--2::before {
  background: var(--rp-blue);
}

/* the core disc the service icon sits in */
.rp-svc__core {
  width: var(--core);
  height: var(--core);
  margin: calc(var(--core) / -2) 0 0 calc(var(--core) / -2);
  background: radial-gradient(circle at 35% 30%, #fff, #e3ebff 72%);
  box-shadow:
    inset 0 0 0 1px rgba(1, 78, 238, 0.12),
    0 30px 60px -28px rgba(1, 78, 238, 0.5);
}

.rp-svc__core::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(64, 125, 255, 0.45);
  animation: rp-halo 3s ease-out infinite;
}

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

.rp-svc__body {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

/* icon fits inside the core: 0.66 of its diameter */
.rp-svc__body img {
  position: absolute;
  left: 50%;
  top: var(--cy);
  width: calc(var(--core) * 0.66);
  height: calc(var(--core) * 0.66);
  margin: calc(var(--core) * -0.33) 0 0 calc(var(--core) * -0.33);
  object-fit: contain;
  opacity: 0;
  transform: scale(0.6) rotate(-10deg);
  transition:
    transform 0.8s var(--rp-ease),
    opacity 0.45s;
}

.rp-page .rp-svc__body p {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--cy) + 214px);
  max-width: 46ch;
  margin: 0 auto;
  padding: 0 32px;
  font-size: 17px;
  line-height: 1.7;
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  transition:
    transform 0.6s var(--rp-ease) 0.1s,
    opacity 0.5s 0.1s;
}

.rp-svc__item.is-active .rp-svc__body {
  opacity: 1;
  pointer-events: auto;
}

.rp-svc__item.is-active .rp-svc__body img {
  opacity: 1;
  transform: none;
  animation: rp-float 5s ease-in-out 0.8s infinite;
}

.rp-svc__item.is-active .rp-svc__body p {
  opacity: 1;
  transform: none;
}

/* below 992: every service is a card with its icon */
@media (max-width: 991px) {
  .rp-svc__layout {
    display: grid;
    gap: 16px;
    min-height: 0;
  }

  .rp-svc__stage {
    display: none;
  }

  .rp-svc__item {
    width: auto;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 4px 20px;
    padding: 22px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--rp-line);
  }

  .rp-svc__name {
    grid-column: 2;
  }

  .rp-svc__name button {
    padding: 0;
    border: 0;
    color: var(--rp-ink);
    cursor: default;
  }

  .rp-svc__name button::after,
  .rp-svc__prog {
    display: none;
  }

  .rp-svc__item.is-active .rp-svc__name button {
    padding-left: 0;
  }

  .rp-svc__body {
    display: contents;
  }

  .rp-svc__body img,
  .rp-svc__item.is-active .rp-svc__body img {
    position: static;
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 96px;
    height: 96px;
    margin: 0;
    padding: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff, #e3ebff 72%);
    opacity: 1;
    transform: none;
    animation: none;
  }

  .rp-page .rp-svc__body p {
    position: static;
    grid-column: 2;
    max-width: none;
    margin: 0;
    padding: 0;
    font-size: 16px;
    text-align: left;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 575px) {
  .rp-svc__item {
    grid-template-columns: minmax(0, 1fr);
  }

  .rp-svc__name,
  .rp-page .rp-svc__body p {
    grid-column: 1;
  }

  .rp-svc__body img,
  .rp-svc__item.is-active .rp-svc__body img {
    grid-row: auto;
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
  }
}

/* ============================================================
   CTA 1
   ============================================================ */
.rp-cta1 {
  padding: 110px 0 0;
}

/* the art is 3:1 with an empty middle, so the card keeps that ratio and the
   copy sits in the clear centre */
.rp-cta1__card {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 1;
  padding: 32px 48px;
  border-radius: 32px;
  background: var(--rp-cta-bg) center 70% / cover no-repeat, var(--rp-sky);
  border: 1px solid var(--rp-line);
  overflow: hidden;
  text-align: center;
}

.rp-cta1__copy {
  max-width: 820px;
  margin-top: -2%;
}

.rp-page .rp-cta1__copy .rp-sub {
  margin-top: 10px;
}

.rp-page .rp-cta1__copy .rp-sub {
  margin-inline: auto;
}

.rp-cta1__copy .rp-btn {
  margin-top: 20px;
}

/* ============================================================
   CASE STUDIES (stacked reports)
   ============================================================ */
.rp-cases__stack {
  display: grid;
  gap: 36px;
}

.rp-case {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  padding: 32px;
  border-radius: 32px;
  background: #fff;
  border: 1px solid var(--rp-line);
  box-shadow: 0 40px 80px -50px rgba(7, 20, 64, 0.45);
}

.rp-case__media {
  aspect-ratio: 1;
  border-radius: 22px;
  background: var(--rp-sky);
  overflow: hidden;
}

.rp-case__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 1.2s var(--rp-ease);
}

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

.rp-case__name {
  font-weight: 600;
  font-size: clamp(24px, 2.2vw, 32px);
  letter-spacing: -0.02em;
}

.rp-case__flow {
  position: relative;
  margin-top: 28px;
}

/* the pipe between the three stages */
.rp-case__flow::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(var(--rp-amber), var(--rp-blue), var(--rp-mint));
  opacity: 0.5;
}

.rp-case__flow li {
  position: relative;
  display: flex;
  gap: 18px;
}

.rp-case__flow li + li {
  margin-top: 22px;
}

.rp-case__dot {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 19px;
}

.rp-case__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  z-index: -1;
  animation: rp-halo 2.6s ease-out infinite;
}

.is-problem .rp-case__dot {
  background: var(--rp-amber);
}

.is-solution .rp-case__dot {
  background: var(--rp-blue);
}

.is-solution .rp-case__dot::after {
  animation-delay: 0.85s;
}

.is-result .rp-case__dot {
  background: var(--rp-mint);
}

.is-result .rp-case__dot::after {
  animation-delay: 1.7s;
}

.rp-case__flow strong {
  display: block;
  padding-top: 8px;
  font-family: var(--rp-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--rp-ink);
}

.rp-page .rp-case__flow p {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.65;
}

/* desktop: the reports stack as you scroll; media is capped by the
   viewport so a pinned card always fits on short screens */
@media (min-width: 992px) {
  .rp-case {
    position: sticky;
    top: calc(120px + var(--k) * 28px);
  }

  .rp-case__media {
    width: min(100%, calc(100vh - 300px));
    justify-self: center;
  }
}

/* ============================================================
   APPS
   ============================================================ */
.rp-apps {
  padding-top: 0;
}

.rp-apps__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.rp-apps__art {
  position: relative;
}

.rp-apps__art img {
  display: block;
  animation: rp-float 7s ease-in-out infinite;
}

/* pulses over the bot disc and the records table in the art */
.rp-apps__ping {
  position: absolute;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  border: 2px solid var(--rp-blue-lt);
  animation: rp-ping 2.4s ease-out infinite;
  pointer-events: none;
}

.rp-apps__ping--a {
  left: 64%;
  top: 23%;
}

.rp-apps__ping--b {
  left: 73%;
  top: 58%;
  border-color: var(--rp-mint);
  animation-delay: 1.2s;
}

.rp-apps__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 8px;
}

.rp-apps__list li {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--rp-sky-2);
  border: 1px solid var(--rp-line);
  font-size: 15px;
  line-height: 1.45;
  color: var(--rp-ink);
  transition:
    border-color 0.3s,
    transform 0.3s var(--rp-ease);
}

.rp-apps__list li i {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--rp-blue);
  color: #fff;
  font-size: 14px;
  transition: transform 0.4s var(--rp-ease);
}

.rp-apps__list li:hover {
  border-color: var(--rp-blue-lt);
  transform: translateY(-2px);
}

.rp-apps__list li:hover i {
  transform: rotate(45deg);
}

/* ============================================================
   HOW IT WORKS (flow)
   ============================================================ */
.rp-works {
  background:
    radial-gradient(50% 60% at 50% 40%, rgba(64, 125, 255, 0.1), transparent 70%),
    var(--rp-sky-2);
}

.rp-flow {
  --rp-flow-d: 6s;
  --rp-icon: 128px;
  --rp-gap: 16px;

  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--rp-gap);
}

/* icon centre to icon centre */
.rp-flow__wire {
  position: absolute;
  top: calc(var(--rp-icon) / 2);
  left: calc((100% - 4 * var(--rp-gap)) / 10);
  right: calc((100% - 4 * var(--rp-gap)) / 10);
  height: 3px;
  margin-top: -1px;
  background: repeating-linear-gradient(90deg, rgba(1, 78, 238, 0.35) 0 8px, transparent 8px 16px);
}

.rp-flow__wire i {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
  animation: rp-run-x var(--rp-flow-d) linear infinite;
}

.rp-flow__wire i::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--rp-blue);
  box-shadow: 0 0 0 6px rgba(1, 78, 238, 0.15), 0 0 20px rgba(1, 78, 238, 0.6);
}

.rp-flow__node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.rp-flow__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--rp-icon);
  height: var(--rp-icon);
  border-radius: 32px;
  background: #fff;
  border: 1px solid var(--rp-line);
  box-shadow: 0 20px 40px -24px rgba(7, 20, 64, 0.35);
  will-change: transform;
  animation: rp-bump var(--rp-flow-d) var(--rp-ease-io) infinite;
  animation-delay: calc(var(--i) * var(--rp-flow-d) * 0.2);
}

/* the lit ring + glow is a separate layer; only its opacity animates */
.rp-flow__icon::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 2px solid var(--rp-blue-lt);
  box-shadow: 0 0 0 8px rgba(1, 78, 238, 0.1), 0 26px 50px -20px rgba(1, 78, 238, 0.55);
  opacity: 0;
  animation: rp-glow var(--rp-flow-d) ease-in-out infinite;
  animation-delay: inherit;
  pointer-events: none;
}

.rp-flow__icon img {
  width: 76%;
}

.rp-flow__node strong {
  font-family: var(--rp-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--rp-ink);
}

/* phones: the flow runs top to bottom */
@media (max-width: 767px) {
  .rp-flow {
    --rp-icon: 84px;
    --rp-gap: 18px;

    grid-template-columns: minmax(0, 1fr);
    max-width: 360px;
    margin: 0 auto;
  }

  .rp-flow__wire {
    top: calc(var(--rp-icon) / 2);
    bottom: calc(var(--rp-icon) / 2);
    left: calc(var(--rp-icon) / 2);
    right: auto;
    width: 3px;
    height: auto;
    margin: 0 0 0 -1px;
    background: repeating-linear-gradient(180deg, rgba(1, 78, 238, 0.35) 0 8px, transparent 8px 16px);
  }

  .rp-flow__wire i {
    animation-name: rp-run-y;
  }

  .rp-flow__wire i::before {
    top: 0;
    left: 50%;
  }

  .rp-flow__node {
    flex-direction: row;
    gap: 20px;
    text-align: left;
  }

  .rp-flow__icon {
    flex: none;
    border-radius: 24px;
  }
}

.rp-works__note {
  max-width: 820px;
  margin: 56px auto 0;
  text-align: center;
}

.rp-page .rp-works__note p {
  font-size: 17px;
  line-height: 1.7;
}

.rp-page .rp-works__note p + p {
  margin-top: 10px;
}

/* ============================================================
   CTA 2
   ============================================================ */
.rp-cta2 {
  padding: 110px 0 0;
}

.rp-cta2__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 32px;
  align-items: center;
  padding: 36px 40px 36px 56px;
  border-radius: 32px;
  background:
    radial-gradient(60% 90% at 90% 50%, rgba(47, 107, 255, 0.55), transparent 70%),
    var(--rp-ink);
  overflow: hidden;
}

.rp-cta2__card .rp-title {
  color: #fff;
}

.rp-page .rp-cta2__card .rp-sub {
  color: rgba(255, 255, 255, 0.72);
}

.rp-cta2__copy .rp-btn {
  margin-top: 22px;
}

.rp-cta2__art {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 240px;
  margin-left: auto;
  animation: rp-float 7s ease-in-out infinite;
}

/* ============================================================
   TECH STACK
   ============================================================ */
.rp-tech__rows {
  border-bottom: 1px solid var(--rp-line);
}

.rp-tech__row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--rp-line);
}

.rp-tech__row h3 {
  font-weight: 600;
  font-size: 19px;
}

.rp-tech__row ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rp-tech__row li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--rp-line);
  font-size: 15px;
  font-weight: 500;
  color: var(--rp-ink);
  transition:
    transform 0.35s var(--rp-ease),
    border-color 0.3s,
    box-shadow 0.35s;
}

.rp-tech__row li > img,
.rp-tech__row li > i,
.rp-tech__mono {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.rp-tech__row li > i {
  border-radius: 8px;
  background: var(--rp-sky);
  color: var(--rp-blue);
  font-size: 17px;
}

.rp-tech__mono {
  border-radius: 8px;
  background: var(--rp-ink);
  color: #fff;
  font-family: var(--rp-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.rp-tech__row li:hover {
  transform: translateY(-3px);
  border-color: var(--rp-blue-lt);
  box-shadow: 0 14px 26px -16px rgba(1, 78, 238, 0.5);
}

:where(.rp-anim) .rp-tech__row li {
  opacity: 0;
}

:where(.rp-anim) .rp-tech__row.is-in li {
  animation: rp-pop 0.8s var(--rp-ease) both;
  animation-delay: calc(var(--i) * 60ms + 0.15s);
}

@keyframes rp-pop {
  from {
    opacity: 0;
    translate: 0 12px 0;
    scale: 0.94;
  }
  to {
    opacity: 1;
    translate: 0 0 0;
    scale: 1;
  }
}

/* ============================================================
   ADVANCED TECHNOLOGIES (glass cards, 3 + 2 wide)
   ============================================================ */
.rp-adv {
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(47, 107, 255, 0.3), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(20, 192, 142, 0.12), transparent 70%),
    var(--rp-ink);
}

.rp-adv .rp-title {
  color: #fff;
}

.rp-page .rp-adv .rp-sub {
  color: rgba(255, 255, 255, 0.7);
}

@property --rp-a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.rp-lens {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.rp-lens__card {
  position: relative;
  grid-column: span 2;
  padding: 34px 30px 36px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.04);
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 0.5s var(--rp-ease),
    background 0.5s;
}

.rp-lens__card:nth-child(n + 4) {
  grid-column: span 3;
  display: flex;
  gap: 26px;
  align-items: flex-start;
}

/* gradient hairline border; its angle turns while hovered */
.rp-lens__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--rp-a),
    rgba(143, 178, 255, 0.14),
    var(--rp-blue-lt) 18%,
    var(--rp-mint) 30%,
    rgba(143, 178, 255, 0.14) 48%,
    rgba(143, 178, 255, 0.14)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  animation: rp-turn 5s linear infinite paused;
  transition: opacity 0.5s;
}

/* cursor spotlight (shared js-spot) */
.rp-lens__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(300px circle at var(--mx, -999px) var(--my, -999px), rgba(64, 125, 255, 0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.rp-lens:hover .rp-lens__card::after {
  opacity: 1;
}

.rp-lens__card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
}

.rp-lens__card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes rp-turn {
  to {
    --rp-a: 360deg;
  }
}

.rp-lens__icon {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rp-blue), #3d7bff);
  box-shadow: 0 16px 30px -12px rgba(1, 78, 238, 0.8);
  transition: transform 0.5s var(--rp-ease);
}

.rp-lens__icon img {
  width: 30px;
  height: 30px;
}

/* slow dashed ring with a dot riding it */
.rp-lens__icon::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px dashed rgba(143, 178, 255, 0.45);
  border-top-color: var(--rp-mint);
  border-top-style: solid;
  animation: rp-spin 9s linear infinite;
}

.rp-lens__card:hover .rp-lens__icon {
  transform: scale(1.08);
}

.rp-lens__card h3 {
  margin-top: 28px;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
}

.rp-lens__card:nth-child(n + 4) h3 {
  margin-top: 6px;
}

.rp-page .rp-lens__card p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.65;
}

.rp-adv__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 72px;
  padding: 30px 40px;
  border-radius: 28px;
  background: linear-gradient(110deg, rgba(47, 107, 255, 0.28), rgba(20, 192, 142, 0.12));
  border: 1px solid rgba(143, 178, 255, 0.3);
}

.rp-adv__cta-title {
  color: #fff !important;
  font-weight: 600;
  font-size: clamp(24px, 2.2vw, 32px);
  letter-spacing: -0.02em;
}

.rp-page .rp-adv__cta p {
  margin-top: 10px;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.65;
}

.rp-adv__cta .rp-btn {
  flex: none;
}

@media (max-width: 991px) {
  .rp-lens {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rp-lens__card,
  .rp-lens__card:nth-child(n + 4) {
    grid-column: auto;
    display: block;
  }

  .rp-lens__card:nth-child(n + 4) h3 {
    margin-top: 28px;
  }

  .rp-lens__card:last-child {
    grid-column: 1 / -1;
  }

  .rp-adv__cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
  }
}

@media (max-width: 575px) {
  .rp-lens {
    grid-template-columns: minmax(0, 1fr);
  }

  .rp-lens__card {
    padding: 28px 22px;
  }
}

/* ============================================================
   COST
   ============================================================ */
.rp-cost__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.rp-cost__copy .rp-btn {
  margin-top: 28px;
}

.rp-range {
  margin-top: 34px;
  padding: 26px 26px 28px;
  border-radius: 22px;
  background: var(--rp-sky-2);
  border: 1px solid var(--rp-line);
}

.rp-range__ends {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--rp-body);
}

.rp-range__ends span:last-child {
  text-align: right;
}

.rp-range__ends b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--rp-display);
  font-weight: 600;
  font-size: clamp(24px, 2.2vw, 30px);
  letter-spacing: -0.02em;
  color: var(--rp-ink);
}

.rp-range__track {
  position: relative;
  height: 12px;
  margin-top: 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--rp-line);
}

.rp-range__track i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rp-mint), var(--rp-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s var(--rp-ease);
}

.rp-range__track em {
  position: absolute;
  top: 50%;
  left: 0;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--rp-blue);
  box-shadow: 0 6px 14px rgba(1, 78, 238, 0.35);
  transition: left 1.8s var(--rp-ease);
}

.rp-range.is-on .rp-range__track i {
  transform: scaleX(1);
}

.rp-range.is-on .rp-range__track em {
  left: 100%;
}

.rp-range + .rp-sub {
  margin-top: 24px;
}

.rp-page .rp-cost__lead {
  margin-bottom: 18px;
  color: var(--rp-ink);
  font-size: 17px;
}

.rp-cost__factors ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rp-cost__factors li {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--rp-line);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--rp-ink);
  transition:
    border-color 0.3s,
    transform 0.4s var(--rp-ease),
    box-shadow 0.4s;
}

.rp-cost__factors li img {
  width: 40px;
  height: 40px;
  transition: transform 0.5s var(--rp-ease);
}

.rp-cost__factors li:hover {
  border-color: var(--rp-blue-lt);
  transform: translateY(-4px);
  box-shadow: 0 20px 34px -22px rgba(1, 78, 238, 0.5);
}

.rp-cost__factors li:hover img {
  transform: scale(1.12) rotate(-8deg);
}

/* ============================================================
   BENEFITS (cursor spotlight)
   ============================================================ */
.rp-ben {
  padding-top: 0;
}

.rp-ben__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.rp-ben__grid {
  perspective: 1100px;
}

/* 3D: the card tilts toward the pointer (--rx/--ry from the page script)
   and its icon, title and copy sit on raised layers. No overflow/isolation
   here: both would flatten preserve-3d. */
.rp-ben__card {
  position: relative;
  padding: 30px 26px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--rp-line);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition:
    transform 0.6s var(--rp-ease),
    border-color 0.3s,
    box-shadow 0.5s;
  will-change: transform;
}

.rp-ben__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), rgba(64, 125, 255, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.rp-ben__grid:hover .rp-ben__card::before {
  opacity: 1;
}

.rp-ben__card > * {
  position: relative;
  transition: transform 0.6s var(--rp-ease);
}

.rp-ben__card:hover {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(18px);
  border-color: var(--rp-blue-lt);
  box-shadow: 0 34px 50px -30px rgba(1, 78, 238, 0.55);
  transition:
    transform 0.15s linear,
    border-color 0.3s,
    box-shadow 0.5s;
}

.rp-ben__card:hover h3 {
  transform: translateZ(26px);
}

.rp-ben__card:hover p {
  transform: translateZ(14px);
}

.rp-ben__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--rp-sky);
  color: var(--rp-blue);
  font-size: 25px;
  transition:
    background 0.4s,
    color 0.4s,
    box-shadow 0.4s,
    transform 0.6s var(--rp-ease);
}

.rp-ben__card:hover .rp-ben__icon {
  background: var(--rp-blue);
  color: #fff;
  transform: translateZ(46px) rotate(-10deg);
  box-shadow: 0 16px 24px -10px rgba(1, 78, 238, 0.55);
}

.rp-ben__card h3 {
  margin-top: 22px;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
}

.rp-page .rp-ben__card p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.65;
}

/* ============================================================
   CTA 3 (blue card, orbits, floating art + chips)
   ============================================================ */
.rp-cta3 {
  padding: 110px 0 0;
}

.rp-cta3__card {
  position: relative;
  padding: 60px 48px;
  border-radius: 32px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(255, 255, 255, 0.2), transparent 70%),
    linear-gradient(120deg, var(--rp-blue), var(--rp-blue-2) 60%, #3d7bff);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.rp-cta3__orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 780px;
  height: 780px;
  margin: -390px 0 0 -390px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  animation: rp-spin 50s linear infinite;
}

.rp-cta3__orbit::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px 4px rgba(255, 255, 255, 0.5);
}

.rp-cta3__orbit--2 {
  width: 540px;
  height: 540px;
  margin: -270px 0 0 -270px;
  border-color: rgba(255, 255, 255, 0.16);
  animation-duration: 32s;
  animation-direction: reverse;
}

.rp-cta3__orbit--2::before {
  background: var(--rp-mint);
  box-shadow: 0 0 14px 4px rgba(94, 240, 200, 0.6);
}

.rp-cta3__floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rp-cta3__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.rp-cta3__title {
  color: #fff !important;
  font-weight: 600;
  font-size: clamp(28px, 2.9vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.rp-page .rp-cta3__inner p {
  margin: 14px auto 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.7;
}

.rp-pick {
  margin: 0 -2px;
  padding: 1px 4px;
  border-radius: 8px;
  color: #fff;
  animation: rp-pick 6s ease-in-out infinite;
}

.rp-pick:nth-of-type(2) {
  animation-delay: 2s;
}

.rp-pick:nth-of-type(3) {
  animation-delay: 4s;
}

@keyframes rp-pick {
  0%,
  30% {
    background: rgba(255, 255, 255, 0.22);
  }
  36%,
  100% {
    background: rgba(255, 255, 255, 0);
  }
}

/* ---- floating pieces, shared with the final CTA */
.rp-fl {
  position: absolute;
  will-change: transform;
  animation: rp-bob var(--d, 7s) ease-in-out var(--dl, 0s) infinite;
}

@keyframes rp-bob {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
  50% {
    transform: translate3d(0, -14px, 0) rotate(2deg);
  }
}

.rp-fl--art {
  width: var(--w, 120px);
  height: auto;
  filter: drop-shadow(0 24px 30px rgba(7, 20, 64, 0.35));
}

.rp-fl--chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--rp-ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 18px 34px -16px rgba(7, 20, 64, 0.5);
}

.rp-fl--chip > i,
.rp-fl--chip > img {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--rp-sky);
  color: var(--rp-blue);
  font-size: 15px;
}

.rp-fl--chip > img {
  padding: 5px;
  background: #fff;
  object-fit: contain;
}

.rp-fl--sm {
  padding: 7px 13px 7px 7px;
  font-size: 12.5px;
}

.rp-fl--sm > i,
.rp-fl--sm > img {
  width: 24px;
  height: 24px;
  font-size: 13px;
}

.rp-fl--dark {
  background: rgba(20, 36, 99, 0.9);
  border: 1px solid rgba(143, 178, 255, 0.28);
  color: #fff;
  box-shadow: 0 18px 34px -16px rgba(0, 0, 0, 0.6);
}

.rp-fl--dark > i {
  background: rgba(20, 192, 142, 0.18);
  color: var(--rp-mint);
}

.rp-fl__live {
  position: relative;
  flex: none;
  width: 10px;
  height: 10px;
  margin: 0 4px 0 6px;
  border-radius: 50%;
  background: var(--rp-mint);
}

.rp-fl__live::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--rp-mint);
  animation: rp-halo 1.8s ease-out infinite;
}

@media (max-width: 1199px) {
  .rp-fl--sm {
    display: none;
  }
}

/* tablets / phones: chips off, the two art pieces shrink into the top corners */
@media (max-width: 991px) {
  .rp-cta3__card {
    padding: 116px 24px 52px;
  }

  .rp-fl--chip {
    display: none;
  }

  .rp-fl--art {
    --w: 76px !important;

    top: 26px !important;
    bottom: auto !important;
  }
}

@media (max-width: 767px) {
  .rp-cta3 {
    padding-top: 72px;
  }

  .rp-cta3__card {
    border-radius: 24px;
  }

  .rp-page .rp-cta3__inner p br {
    display: none;
  }
}

/* ============================================================
   INDUSTRIES (expanding deck, autoplay)
   ============================================================ */

.rp-ind__deck {
  display: flex;
  gap: 12px;
  height: 560px;
}

.rp-ind__panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 26px;
  background: var(--rp-ink);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition: flex-grow 0.9s var(--rp-ease-io);
}

/* fixed-width photo: it never resizes while the panel widens, only its
   visible slice changes, which keeps the expand smooth */
.rp-ind__panel img {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -2;
  width: 640px;
  max-width: none;
  height: 100%;
  object-fit: cover;
  transform: translateX(-50%) scale(1.08);
  transition: transform 1.2s var(--rp-ease);
}

.rp-ind__panel::before,
.rp-ind__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.rp-ind__panel::before {
  background: linear-gradient(180deg, rgba(7, 20, 64, 0.1) 25%, rgba(7, 20, 64, 0.94));
}

/* collapsed panels sit under a blue wash that lifts when they open */
.rp-ind__panel::after {
  background: rgba(13, 31, 94, 0.5);
  transition: opacity 0.7s;
}

.rp-ind__panel:hover img {
  transform: translateX(-50%) scale(1.12);
}

.rp-ind__badge {
  position: absolute;
  top: 22px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: -24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 22px;
  transition:
    left 0.9s var(--rp-ease-io),
    margin 0.9s var(--rp-ease-io),
    background 0.5s,
    border-color 0.5s;
}

.rp-ind__prog {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  height: 3px;
  background: var(--rp-mint);
  transform: scaleX(0);
  transform-origin: left;
}

.is-ticking .rp-ind__panel.is-active .rp-ind__prog {
  animation: rp-prog var(--rp-tick, 4s) linear both;
}

.rp-ind__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.rp-ind__name {
  position: absolute;
  left: 50%;
  bottom: 28px;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: translateX(-50%) rotate(180deg);
}

.rp-ind__name button {
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.rp-ind__name button:focus-visible {
  outline: 2px solid var(--rp-mint);
  outline-offset: 4px;
}

.rp-ind__panel ul {
  display: none;
}

/* open panel */
.rp-ind__panel.is-active {
  flex-grow: 5;
  cursor: default;
}

.rp-ind__panel.is-active::after {
  opacity: 0;
}

.rp-ind__panel.is-active img {
  transform: translateX(-50%) scale(1);
}

.rp-ind__panel.is-active .rp-ind__badge {
  left: 30px;
  margin-left: 0;
  background: var(--rp-blue);
  border-color: var(--rp-blue);
}

.rp-ind__panel.is-active .rp-ind__name {
  position: static;
  writing-mode: horizontal-tb;
  transform: none;
  white-space: normal;
  animation: rp-name-in 0.7s var(--rp-ease) 0.2s both;
}

.rp-ind__panel.is-active .rp-ind__name button {
  font-size: 30px;
  line-height: 1.15;
  cursor: default;
}

.rp-ind__panel.is-active ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.rp-ind__panel.is-active li {
  animation: rp-name-in 0.6s var(--rp-ease) both;
}

.rp-ind__panel.is-active li:nth-child(1) {
  animation-delay: 0.3s;
}

.rp-ind__panel.is-active li:nth-child(2) {
  animation-delay: 0.38s;
}

.rp-ind__panel.is-active li:nth-child(3) {
  animation-delay: 0.46s;
}

.rp-ind__panel.is-active li:nth-child(4) {
  animation-delay: 0.54s;
}

.rp-ind__panel li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(7, 20, 64, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.rp-ind__panel li i {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rp-mint);
  color: var(--rp-ink);
  font-size: 13px;
}

@keyframes rp-name-in {
  from {
    opacity: 0;
    translate: 0 16px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* below 992: swipe row, every panel open */
@media (max-width: 991px) {

  .rp-ind__deck {
    height: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    scrollbar-width: thin;
  }

  .rp-ind__panel,
  .rp-ind__panel.is-active {
    flex: 0 0 min(80vw, 360px);
    height: 480px;
    scroll-snap-align: start;
    cursor: default;
  }

  .rp-ind__panel img,
  .rp-ind__panel.is-active img,
  .rp-ind__panel:hover img {
    left: 0;
    width: 100%;
    transform: none;
  }

  .rp-ind__panel::after,
  .rp-ind__prog {
    display: none;
  }

  .rp-ind__badge,
  .rp-ind__panel.is-active .rp-ind__badge {
    left: 22px;
    margin-left: 0;
    background: var(--rp-blue);
    border-color: var(--rp-blue);
  }

  .rp-ind__body {
    padding: 22px;
  }

  .rp-ind__name,
  .rp-ind__panel.is-active .rp-ind__name {
    position: static;
    writing-mode: horizontal-tb;
    transform: none;
    white-space: normal;
    animation: none;
  }

  .rp-ind__name button,
  .rp-ind__panel.is-active .rp-ind__name button {
    font-size: 22px;
  }

  .rp-ind__panel ul,
  .rp-ind__panel.is-active ul {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 14px;
  }

  .rp-ind__panel.is-active li {
    animation: none;
  }
}

/* ============================================================
   PROCESS (scroll-filled spine)
   ============================================================ */
.rp-proc {
  background: var(--rp-sky-2);
}

.rp-proc__list {
  --node: 72px;

  position: relative;
  display: grid;
  gap: 18px;
}

.rp-proc__spine {
  position: absolute;
  left: 50%;
  top: calc(var(--node) / 2);
  height: var(--spine-h, 0);
  width: 2px;
  margin-left: -1px;
  background: var(--rp-line);
}

.rp-proc__spine i {
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--rp-blue), var(--rp-mint));
  transform: scaleY(var(--fill, 0));
  transform-origin: top;
}

.rp-proc__step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--node) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.rp-proc__node {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--node);
  height: var(--node);
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--rp-line);
  transition:
    background 0.5s,
    border-color 0.5s,
    transform 0.5s var(--rp-ease);
}

.rp-proc__node img {
  width: 34px;
  height: 34px;
  transition: filter 0.5s;
}

.rp-proc__card {
  grid-row: 1;
  grid-column: 1;
  padding: 26px 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--rp-line);
  opacity: 0.45;
  transform: translateX(-24px);
  transition:
    opacity 0.6s,
    transform 0.7s var(--rp-ease),
    border-color 0.5s,
    box-shadow 0.6s;
}

.rp-proc__step:nth-child(odd) .rp-proc__card {
  grid-column: 3;
  transform: translateX(24px);
}

@media (max-width: 991px) {
  .rp-proc__card,
  .rp-proc__step:nth-child(odd) .rp-proc__card {
    grid-column: 2;
    transform: translateX(16px);
  }
}

@media (max-width: 767px) {
  .rp-proc__card {
    padding: 20px;
  }
}

.rp-proc__num {
  font-family: var(--rp-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--rp-blue);
}

.rp-proc__card h3 {
  margin-top: 4px;
  font-weight: 600;
  font-size: 21px;
}

.rp-page .rp-proc__card p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.65;
}

.rp-proc__step.is-on .rp-proc__node {
  background: var(--rp-blue);
  border-color: var(--rp-blue);
  transform: scale(1.06);
}

.rp-proc__step.is-on .rp-proc__node img {
  filter: brightness(0) invert(1);
}

.rp-proc__step.is-on .rp-proc__card {
  opacity: 1;
  transform: none;
  border-color: rgba(64, 125, 255, 0.45);
  box-shadow: 0 24px 44px -30px rgba(1, 78, 238, 0.55);
}

/* ============================================================
   WHY CHOOSE (RPA + X)
   ============================================================ */
.rp-why__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.rp-why__card {
  grid-column: span 2;
  padding: 32px 30px;
  border-radius: 26px;
  background: var(--rp-sky-2);
  border: 1px solid var(--rp-line);
  transition:
    transform 0.4s var(--rp-ease),
    background 0.4s,
    border-color 0.4s;
}

.rp-why__card:nth-child(n + 4) {
  grid-column: span 3;
}

.rp-why__eq {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: gap 0.5s var(--rp-ease);
}

.rp-why__rpa,
.rp-why__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
}

.rp-why__rpa {
  background: var(--rp-blue);
  color: #fff;
  font-size: 25px;
  box-shadow: 0 12px 24px -10px rgba(1, 78, 238, 0.6);
}

/* owner icons are blue, so they sit on a white tile */
.rp-why__icon {
  background: #fff;
  border: 1px solid var(--rp-line);
}

.rp-why__icon img {
  width: 28px;
  height: 28px;
}

.rp-why__plus {
  position: relative;
  width: 16px;
  height: 16px;
  transition: transform 0.6s var(--rp-ease);
}

.rp-why__plus::before,
.rp-why__plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  margin: -1px 0 0 -8px;
  border-radius: 2px;
  background: var(--rp-body);
}

.rp-why__plus::after {
  transform: rotate(90deg);
}

.rp-why__card h3 {
  margin-top: 26px;
  font-weight: 600;
  font-size: 20px;
}

.rp-page .rp-why__card p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.65;
}

.rp-why__card:hover {
  transform: translateY(-5px);
  background: #fff;
  border-color: var(--rp-blue-lt);
}

.rp-why__card:hover .rp-why__eq {
  gap: 4px;
}

.rp-why__card:hover .rp-why__plus {
  transform: rotate(135deg) scale(0.8);
}

/* ============================================================
   FINAL CTA (dot field)
   ============================================================ */
.rp-final {
  position: relative;
  padding: 76px 0;
  background: var(--rp-ink);
  overflow: hidden;
  text-align: center;
}

.rp-final__field {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(143, 178, 255, 0.5) 1.2px, transparent 1.6px);
  background-size: 26px 26px;
  mask-image: radial-gradient(50% 70% at 50% 50%, #000, transparent 75%);
}

/* a glow drifting across the field */
.rp-final__field::after {
  content: "";
  position: absolute;
  top: 10%;
  left: 0;
  width: 40%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(47, 107, 255, 0.55), transparent);
  animation: rp-drift 12s ease-in-out infinite alternate;
}

@keyframes rp-drift {
  from {
    transform: translateX(-20%);
  }
  to {
    transform: translateX(170%);
  }
}

.rp-final__inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.rp-final__title {
  color: #fff !important;
  font-weight: 600;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.rp-page .rp-final__inner p {
  margin: 14px auto 26px;
  max-width: 68ch;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  line-height: 1.7;
}

/* floating art + chips (CTA 3 and final CTA) */
.rp-final__floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ============================================================
   FAQ
   ============================================================ */
.rp-faq__layout {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

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

.rp-faq__promo {
  margin-top: 32px;
  padding: 32px 28px;
  border-radius: 26px;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(47, 107, 255, 0.5), transparent 70%),
    var(--rp-ink);
}

.rp-faq__promo h3 {
  color: #fff;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
}

.rp-page .rp-faq__promo p {
  margin: 12px 0 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.65;
}

.rp-faq__item {
  border-bottom: 1px solid var(--rp-line);
  interpolate-size: allow-keywords;
}

.rp-faq__item:first-child {
  border-top: 1px solid var(--rp-line);
}

.rp-faq__item::details-content {
  height: 0;
  overflow: clip;
  transition:
    height 0.5s var(--rp-ease),
    content-visibility 0.5s allow-discrete;
}

.rp-faq__item[open]::details-content {
  height: auto;
}

.rp-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--rp-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: var(--rp-ink);
  list-style: none;
  cursor: pointer;
  transition: color 0.3s;
}

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

.rp-faq__q:hover {
  color: var(--rp-blue);
}

.rp-faq__q:focus-visible {
  outline: 2px solid var(--rp-blue);
  outline-offset: 4px;
}

.rp-faq__mark {
  position: relative;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rp-sky);
  transition:
    background 0.4s,
    transform 0.5s var(--rp-ease);
}

.rp-faq__mark::before,
.rp-faq__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: var(--rp-blue);
  transition:
    transform 0.4s var(--rp-ease),
    background 0.4s;
}

.rp-faq__mark::after {
  transform: rotate(90deg);
}

.rp-faq__item[open] .rp-faq__mark {
  background: var(--rp-blue);
  transform: rotate(180deg);
}

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

.rp-faq__item[open] .rp-faq__mark::after {
  transform: rotate(0deg);
}

.rp-page .rp-faq__a {
  max-width: 70ch;
  padding: 0 60px 26px 0;
  font-size: 16px;
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {

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

  .rp-tech__row {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media (max-width: 991px) {
  .rp-sec {
    padding: 84px 0;
  }

  .rp-hero {
    padding: 40px 0 72px;
  }

  .rp-hero__layout,
  .rp-auto__layout,
  .rp-apps__layout,
  .rp-cost__layout,
  .rp-faq__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  /* owner rule: art before copy on mobile */
  .rp-hero__media {
    order: -1;
    translate: 0 30px;
  }

  .rp-cta1__card {
    aspect-ratio: auto;
    padding: 40px 24px 104px;
    background-position: center bottom;
  }

  .rp-cta1__copy {
    margin-top: 0;
  }

  .rp-case {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 22px;
  }

  .rp-case__media {
    max-width: 520px;
  }

  .rp-apps__art {
    max-width: 640px;
  }

  .rp-cta2__card {
    grid-template-columns: minmax(0, 1fr);
    padding: 36px 28px 32px;
  }

  .rp-cta2__art {
    margin: 0 auto;
  }

  .rp-faq__aside {
    position: static;
  }

  .rp-tech__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  /* process: spine on the left */
  .rp-proc__list {
    --node: 56px;
  }

  .rp-proc__spine {
    left: calc(var(--node) / 2);
  }

  .rp-proc__step {
    grid-template-columns: var(--node) minmax(0, 1fr);
    gap: 18px;
  }

  .rp-proc__node {
    grid-column: 1;
  }

  .rp-proc__node img {
    width: 28px;
    height: 28px;
  }

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

  .rp-why__card,
  .rp-why__card:nth-child(n + 4) {
    grid-column: auto;
  }

  .rp-why__card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .rp-sec {
    padding: 72px 0;
  }

  .rp-page .rp-sub,
  .rp-page .rp-hero__text {
    font-size: 16px;
  }

  .rp-head {
    margin-bottom: 40px;
  }

  /* phones: the log would push the headline below the fold */

  .rp-chain {
    gap: 6px;
  }

  .rp-chain__wire {
    left: calc((100% - 24px) / 10);
    right: calc((100% - 24px) / 10);
  }

  .rp-chain__node {
    padding: 8px 2px;
    font-size: 10px;
  }

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

  .rp-stat:nth-child(3) {
    border-left: 0;
  }

  .rp-stat:nth-child(n + 3) {
    border-top: 1px solid var(--rp-line);
  }

  .rp-stat {
    padding: 24px 20px;
  }

  .rp-queue {
    padding: 20px 16px 12px;
  }

  .rp-queue li {
    font-size: 15px;
    gap: 10px;
  }

  .rp-auto__art {
    margin-top: 48px;
    padding: 18px;
  }

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

  .rp-works__note {
    margin-top: 40px;
    padding: 22px;
  }

  .rp-cta1,
  .rp-cta2 {
    padding-top: 72px;
  }

  .rp-cta1__card,
  .rp-cta2__card {
    border-radius: 24px;
  }

  .rp-cta2__card {
    padding: 32px 22px 28px;
  }

  .rp-cost__factors ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rp-ben__grid,
  .rp-why__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* room above the copy for the two floating art pieces */
  .rp-final {
    padding: 116px 0 64px;
  }

  .rp-faq__q {
    font-size: 17px;
  }

  .rp-page .rp-faq__a {
    padding-right: 0;
  }
}

@media (max-width: 400px) {
  .rp-cost__factors ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .rp-cost__factors li {
    flex-direction: row;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rp-page *,
  .rp-page *::before,
  .rp-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
