:root {
  --rp-ink: #0a1d33;
  --rp-ink-soft: #40546b;
  --rp-navy: #102b46;
  --rp-blue: #315cf4;
  --rp-blue-soft: #e9efff;
  --rp-teal: #0b7d77;
  --rp-teal-dark: #075e5a;
  --rp-mint: #e2f3f0;
  --rp-sky: #eef5ff;
  --rp-surface: #f5f7fa;
  --rp-white: #fff;
  --rp-line: #d9e2eb;
  --rp-line-strong: #b9c7d6;
  --rp-shadow: 0 22px 55px rgba(18, 42, 69, .11);
}

.ri-platform-page {
  color: var(--rp-ink);
  background: var(--rp-white);
}

.ri-platform-page main,
.ri-platform-page section {
  overflow: clip;
}

.rp-container {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}

.rp-eyebrow,
.rp-section-head > div > span,
.rp-brief-title > span,
.rp-cta-row > div > span,
.rp-feature-card-label {
  display: block;
  margin-bottom: 15px;
  color: var(--rp-teal);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rp-hero {
  position: relative;
  background:
    radial-gradient(circle at 86% 14%, rgba(49, 92, 244, .12), transparent 26%),
    linear-gradient(135deg, #fff 0%, #f8fbff 62%, #eef6f5 100%);
  border-bottom: 1px solid var(--rp-line);
}

.rp-hero::after {
  position: absolute;
  inset: 0 0 0 52%;
  background-image: radial-gradient(rgba(10, 29, 51, .095) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000 25%);
  content: "";
  pointer-events: none;
}

.rp-hero-grid,
.rp-feature-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(580px, 1.18fr);
  gap: 70px;
  align-items: center;
  min-height: 720px;
  padding: 72px 0 76px;
}

.rp-feature-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(420px, .64fr);
  min-height: 560px;
}

.rp-hero-copy {
  max-width: 650px;
}

.rp-hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--rp-ink);
  font-size: clamp(3rem, 4.7vw, 4.25rem);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: .99;
  text-align: left;
}

.rp-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--rp-ink-soft);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.72;
}

.rp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
}

.rp-button,
.rp-text-link {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  color: #fff;
  font-size: .95rem;
  font-weight: 750;
  text-decoration: none;
}

.rp-button {
  padding: 0 23px;
  background: var(--rp-blue);
  border: 1px solid var(--rp-blue);
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(49, 92, 244, .2);
}

.rp-text-link {
  min-height: auto;
  color: var(--rp-ink);
}

.rp-button:hover,
.rp-text-link:hover {
  color: inherit;
  transform: translateY(-1px);
}

.rp-canvas {
  position: relative;
  padding: 26px 28px 24px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid #c7d3df;
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(18, 42, 69, .075);
}

.rp-lane-label {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 9px;
  color: #667a8e;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rp-lane-label b {
  display: grid;
  place-items: center;
  width: 25px;
  height: 20px;
  color: #fff;
  background: var(--rp-blue);
  border-radius: 3px;
  font-size: .62rem;
  letter-spacing: 0;
}

.rp-signal-row,
.rp-system-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.rp-signal,
.rp-system {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 58px;
  padding: 10px 11px 12px;
  color: var(--rp-ink);
  background: transparent;
  border: 0;
  border-bottom: 2px solid #b9cbff;
  border-radius: 0;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.25;
}

.rp-system {
  background: transparent;
  border-color: #b9dcd7;
}

.rp-signal i,
.rp-system i {
  flex: 0 0 auto;
  color: var(--rp-teal);
  font-size: 1rem;
}

.rp-downlink {
  position: relative;
  display: grid;
  place-items: center;
  height: 28px;
  color: var(--rp-blue);
}

.rp-downlink::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--rp-line-strong);
  content: "";
}

.rp-downlink i {
  z-index: 1;
  padding: 2px 5px;
  background: #fff;
}

.rp-core {
  padding: 18px 20px 20px;
  color: var(--rp-ink);
  background: #f7f9fc;
  border: 1px solid #cfd9e5;
  border-left: 4px solid var(--rp-blue);
  border-radius: 6px;
}

.rp-core-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid #d5dee8;
  font-size: 1rem;
}

.rp-core-head .rp-lane-label {
  margin: 0 auto 0 0;
}

.rp-core-head i {
  color: var(--rp-teal);
  font-size: 1.25rem;
}

.rp-stage-stack {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.rp-stage-stack::before {
  position: absolute;
  top: 15px;
  right: 13%;
  left: 13%;
  height: 1px;
  background: #9db4cb;
  content: "";
}

.rp-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  min-height: 108px;
  padding: 0 12px;
  background: transparent;
  border: 0;
  border-right: 1px solid #d5dee8;
  border-radius: 0;
}

.rp-stage:last-child {
  border-right: 0;
}

.rp-stage-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: var(--rp-teal);
  border: 4px solid #f7f9fc;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #9ccbc5;
}

.rp-stage strong,
.rp-stage small {
  display: block;
}

.rp-stage strong {
  margin: 3px 0 6px;
  color: var(--rp-ink);
  font-size: .82rem;
  line-height: 1.25;
}

.rp-stage small {
  color: #5f7389;
  font-size: .69rem;
  line-height: 1.45;
}

.rp-context-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin-top: 18px;
  padding: 12px 14px;
  color: var(--rp-teal-dark);
  background: #edf8f6;
  border-top: 2px solid #73c8bb;
  border-radius: 0;
  font-size: .73rem;
}

.rp-context-ribbon .rp-lane-label {
  flex: 1 0 100%;
  margin: 0 0 4px;
}

.rp-context-ribbon .rp-lane-label b {
  background: var(--rp-teal);
}

.rp-context-ribbon > span {
  margin-right: auto;
  font-weight: 800;
}

.rp-context-ribbon b {
  font-weight: 700;
}

/* Pillar infographic: compact, icon-led operating system */
.rp-canvas {
  overflow: hidden;
  padding: 24px;
  background: radial-gradient(circle at 100% 0, var(--pillar-soft) 0, transparent 34%), #fff;
  border: 1px solid #cad5e2;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(18, 42, 69, .08);
}

.rp-canvas .rp-lane-label {
  gap: 10px;
  margin-bottom: 12px;
  font-size: .63rem;
  letter-spacing: .14em;
}

.rp-canvas .rp-lane-label b {
  width: 26px;
  height: 22px;
  background: var(--pillar-accent);
  border-radius: 5px;
}

.rp-canvas .rp-signal-row,
.rp-canvas .rp-system-row {
  gap: 12px;
}

.rp-canvas .rp-signal,
.rp-canvas .rp-system {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  min-height: 62px;
  padding: 8px 10px;
  border-bottom: 2px solid color-mix(in srgb, var(--pillar-accent) 30%, #fff);
  font-size: .72rem;
  font-weight: 750;
}

.rp-canvas .rp-system {
  border-color: color-mix(in srgb, var(--pillar-secondary) 34%, #fff);
}

.rp-signal-icon,
.rp-system-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--pillar-accent);
  background: var(--pillar-soft);
  border-radius: 50%;
  font-size: 1rem;
}

.rp-system-icon {
  color: var(--pillar-secondary);
  background: var(--pillar-soft-2);
}

.rp-canvas .rp-downlink {
  height: 30px;
  color: var(--pillar-accent);
}

.rp-canvas .rp-downlink::before {
  top: 2px;
  bottom: 2px;
  background: color-mix(in srgb, var(--pillar-accent) 45%, #fff);
}

.rp-canvas .rp-downlink i {
  padding: 3px 6px;
  font-size: .72rem;
}

.rp-canvas .rp-core {
  padding: 17px 20px 23px;
  background: linear-gradient(120deg, var(--pillar-soft), #fff 54%, var(--pillar-soft-2));
  border: 1px solid color-mix(in srgb, var(--pillar-accent) 22%, #d8e0e9);
  border-radius: 12px;
}

.rp-canvas .rp-core-head {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 21px;
  padding-bottom: 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--pillar-accent) 18%, #d8e0e9);
}

.rp-core-head > div {
  display: grid;
  gap: 4px;
}

.rp-core-head > div > span {
  color: var(--pillar-accent);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.rp-core-head > div > strong {
  color: var(--rp-ink);
  font-size: 1.04rem;
}

.rp-operation-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--pillar-accent), var(--pillar-secondary));
  border-radius: 50%;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--pillar-accent) 24%, transparent);
  font-size: 1.15rem !important;
}

.rp-canvas .rp-stage-stack {
  gap: 22px;
}

.rp-canvas .rp-stage-stack::before {
  top: 35px;
  right: 15%;
  left: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--pillar-accent), var(--pillar-secondary));
}

.rp-canvas .rp-stage {
  justify-items: center;
  gap: 7px;
  min-height: 92px;
  padding: 0 7px;
  text-align: center;
  border: 0;
}

.rp-canvas .rp-stage-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(145deg, var(--pillar-accent), var(--pillar-secondary));
  border: 6px solid #fff;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--pillar-accent) 32%, #d8e0e9), 0 8px 18px rgba(20, 45, 75, .1);
  font-size: 1.1rem;
}

.rp-stage-no {
  position: absolute;
  z-index: 2;
  top: -2px;
  left: calc(50% + 18px);
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  color: var(--pillar-accent);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--pillar-accent) 30%, #d8e0e9);
  border-radius: 50%;
  font-size: .55rem;
  font-weight: 850;
}

.rp-canvas .rp-stage strong {
  max-width: 155px;
  margin-top: 3px;
  font-size: .76rem;
  line-height: 1.3;
}

.rp-canvas .rp-context-ribbon {
  display: block;
  margin-top: 18px;
  padding: 14px 15px 13px;
  background: linear-gradient(90deg, var(--pillar-soft), var(--pillar-soft-2));
  border-top: 2px solid var(--pillar-secondary);
}

.rp-canvas .rp-context-ribbon .rp-lane-label {
  margin-bottom: 11px;
}

.rp-canvas .rp-context-ribbon .rp-lane-label b {
  background: var(--pillar-secondary);
}

.rp-foundation-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.rp-foundation-grid span {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #23445d;
  font-size: .66rem;
}

.rp-foundation-grid i {
  color: var(--pillar-secondary);
  font-size: .9rem;
}

.rp-foundation-grid strong {
  font-weight: 750;
}

.rp-brief {
  padding: 88px 0;
  background: #fff;
}

.rp-brief-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 90px;
  align-items: start;
}

.rp-brief h2,
.rp-section-head h2,
.rp-cta h2 {
  margin: 0;
  color: var(--rp-ink);
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.04;
  text-align: left;
}

.rp-brief-grid > p {
  max-width: 770px;
  margin: 0;
  color: var(--rp-ink-soft);
  font-size: 1.08rem;
  line-height: 1.8;
}

.rp-capabilities,
.rp-capability-section,
.rp-process-section {
  padding: 96px 0;
  background: var(--rp-surface);
  border-top: 1px solid var(--rp-line);
}

.rp-process-section {
  background: #fff;
}

.rp-section-head {
  display: grid;
  grid-template-columns: 1fr minmax(310px, .55fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 42px;
}

.rp-section-head p {
  margin: 0;
  color: var(--rp-ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.rp-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.rp-feature-tile {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr 26px;
  gap: 16px;
  align-items: center;
  min-height: 116px;
  padding: 20px;
  color: var(--rp-ink);
  background: #fff;
  border: 1px solid var(--rp-line);
  border-radius: 15px;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.rp-feature-tile:hover {
  color: var(--rp-ink);
  border-color: #a7bad0;
  box-shadow: 0 14px 32px rgba(23, 52, 82, .08);
  transform: translateY(-2px);
}

.rp-feature-icon,
.rp-feature-card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--rp-blue);
  background: var(--rp-blue-soft);
  border-radius: 13px;
  font-size: 1.25rem;
}

.rp-feature-copy strong,
.rp-feature-copy small {
  display: block;
}

.rp-feature-copy strong {
  margin-bottom: 5px;
  color: var(--rp-ink);
  font-size: 1rem;
}

.rp-feature-copy small {
  color: #63758a;
  font-size: .82rem;
  line-height: 1.45;
}

.rp-feature-arrow {
  color: var(--rp-teal);
}

.rp-outcomes {
  padding: 0 0 96px;
  background: var(--rp-surface);
}

.rp-outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--rp-navy);
  border-radius: 18px;
  overflow: hidden;
}

.rp-outcome {
  position: relative;
  min-height: 170px;
  padding: 34px;
  border-right: 1px solid rgba(255, 255, 255, .13);
}

.rp-outcome:last-child {
  border-right: 0;
}

.rp-outcome-dot {
  display: block;
  width: 9px;
  height: 9px;
  margin-bottom: 22px;
  background: #68d6c5;
  border-radius: 50%;
}

.rp-outcome strong,
.rp-outcome small {
  display: block;
}

.rp-outcome strong {
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.12rem;
}

.rp-outcome small {
  color: #bccbd8;
  font-size: .86rem;
  line-height: 1.55;
}

.rp-cta {
  padding: 72px 0;
  background: linear-gradient(115deg, #2856e8, #173f9d 62%, #116f70);
}

.rp-cta-row {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
}

.rp-cta-row > div > span {
  color: #a9fff0;
}

.rp-cta h2 {
  max-width: 780px;
  color: #fff;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.rp-button-light {
  flex: 0 0 auto;
  color: var(--rp-ink);
  background: #fff;
  border-color: #fff;
  box-shadow: none;
}

/* Feature pages */
.rp-feature-card {
  justify-self: end;
  width: min(430px, 100%);
  padding: 28px;
  background: #fff;
  border: 1px solid var(--rp-line);
  border-radius: 20px;
  box-shadow: var(--rp-shadow);
}

.rp-feature-card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--rp-blue), #5d79f8);
  font-size: 1.45rem;
}

.rp-feature-card-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rp-line);
}

.rp-feature-card-list span {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  color: var(--rp-ink);
  border-bottom: 1px solid var(--rp-line);
  font-size: .88rem;
  font-weight: 700;
}

.rp-feature-card-list i {
  width: 20px;
  color: var(--rp-teal);
}

.rp-process-board {
  padding: 30px;
  background: #f7f9fc;
  border: 1px solid var(--rp-line);
  border-radius: 20px;
}

.rp-process-inputs {
  display: flex;
  gap: 9px;
  margin-bottom: 29px;
}

.rp-process-inputs span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 13px;
  color: #496078;
  background: #fff;
  border: 1px solid var(--rp-line);
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 750;
}

.rp-process-inputs i {
  color: var(--rp-teal);
}

.rp-process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.rp-process-track::before {
  position: absolute;
  top: 25px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--rp-blue), #6a88f9 48%, var(--rp-teal));
  content: "";
}

.rp-process-step {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.rp-process-node {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--rp-blue);
  border: 6px solid #f7f9fc;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(49, 92, 244, .25);
  font-size: .74rem;
  font-weight: 850;
}

.rp-process-step:last-child .rp-process-node {
  background: var(--rp-teal);
}

.rp-process-step strong,
.rp-process-step small {
  display: block;
}

.rp-process-step strong {
  margin-bottom: 7px;
  color: var(--rp-ink);
  font-size: .91rem;
  line-height: 1.3;
}

.rp-process-step small {
  color: #65778c;
  font-size: .77rem;
  line-height: 1.5;
}

.rp-process-foundation {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 30px;
  background: #cfe2df;
  border: 1px solid #cfe2df;
  border-radius: 11px;
  overflow: hidden;
}

.rp-process-foundation span {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  color: var(--rp-teal-dark);
  background: var(--rp-mint);
  font-size: .76rem;
  font-weight: 800;
}

.rp-capability-section {
  background: var(--rp-surface);
}

.rp-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.rp-capability {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  min-height: 142px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--rp-line);
  border-radius: 14px;
}

.rp-capability > span {
  color: var(--rp-blue);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.rp-capability h3 {
  margin: 0 0 7px;
  color: var(--rp-ink);
  font-size: 1rem;
  line-height: 1.3;
}

.rp-capability p {
  margin: 0;
  color: #61748a;
  font-size: .81rem;
  line-height: 1.55;
}

/* Existing AI agent catalog, aligned to the same visual system. */
.ri-platform-page .agent-types {
  padding: 90px 0;
  background: #fff;
}

.ri-platform-page .agent-types:nth-of-type(even) {
  background: var(--rp-surface);
}

.ri-platform-page .agent-types .container {
  width: min(1320px, calc(100% - 64px));
  max-width: none;
}

.ri-platform-page .agent-types-head {
  max-width: 850px;
  margin: 0 0 38px;
  text-align: left;
}

.ri-platform-page .agent-types-head h2 {
  color: var(--rp-ink);
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  letter-spacing: -.045em;
  text-align: left;
}

.ri-platform-page .agent-types-head p {
  color: var(--rp-ink-soft);
}

.ri-platform-page .agent-catalog-grid {
  gap: 12px;
}

.ri-platform-page .agent-type-card {
  border-color: var(--rp-line);
  border-radius: 14px;
  box-shadow: none;
}

@media (max-width: 1120px) {
  .rp-hero-grid,
  .rp-feature-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: auto;
    padding: 68px 0;
  }

  .rp-hero-copy {
    max-width: 850px;
  }

  .rp-canvas,
  .rp-feature-card {
    justify-self: stretch;
    width: auto;
  }

  .rp-hero::after {
    inset: 38% 0 0;
  }
}

@media (max-width: 900px) {
  .rp-container,
  .ri-platform-page .agent-types .container {
    width: min(100% - 36px, 760px);
  }

  .rp-brief-grid,
  .rp-section-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .rp-stage-stack,
  .rp-feature-grid,
  .rp-outcome-grid,
  .rp-capability-grid {
    grid-template-columns: 1fr;
  }

  .rp-stage {
    grid-template-columns: 32px 1fr;
    gap: 12px;
    min-height: auto;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid #d5dee8;
  }

  .rp-stage:last-child {
    border-bottom: 0;
  }

  .rp-stage-stack::before {
    top: 24px;
    right: auto;
    bottom: 24px;
    left: 15px;
    width: 1px;
    height: auto;
  }

  .rp-stage-icon {
    grid-column: 1;
    grid-row: 1;
  }

  .rp-stage > div {
    grid-column: 2;
    grid-row: 1;
  }

  .rp-outcome {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
  }

  .rp-process-track {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rp-process-track::before {
    top: 22px;
    bottom: 22px;
    left: 25px;
    width: 2px;
    height: auto;
  }

  .rp-process-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    min-height: 112px;
  }

  .rp-process-node {
    margin: 0;
  }

  .rp-process-foundation {
    grid-template-columns: 1fr;
  }

  .rp-process-foundation span {
    justify-content: flex-start;
    padding: 0 18px;
  }
}

@media (max-width: 640px) {
  .rp-container,
  .ri-platform-page .agent-types .container {
    width: calc(100% - 28px);
  }

  .rp-hero-grid,
  .rp-feature-hero-grid {
    gap: 34px;
    padding: 48px 0 52px;
  }

  .rp-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2.05rem, 9.2vw, 2.3rem);
    line-height: 1.04;
  }

  .rp-hero p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .rp-actions {
    gap: 18px;
    margin-top: 26px;
  }

  .rp-button {
    min-height: 49px;
  }

  .rp-canvas,
  .rp-feature-card,
  .rp-process-board {
    padding: 17px;
    border-radius: 17px;
  }

  .rp-core-head {
    flex-wrap: wrap;
  }

  .rp-core-head .rp-lane-label {
    flex: 1 0 100%;
  }

  .rp-signal-row,
  .rp-system-row {
    grid-template-columns: 1fr;
  }

  .rp-context-ribbon {
    align-items: flex-start;
  }

  .rp-context-ribbon > span {
    flex: 1 0 calc(100% - 34px);
  }

  .rp-brief,
  .rp-capabilities,
  .rp-capability-section,
  .rp-process-section,
  .ri-platform-page .agent-types {
    padding: 64px 0;
  }

  .rp-outcomes {
    padding-bottom: 64px;
  }

  .rp-feature-tile {
    grid-template-columns: 46px 1fr 20px;
    gap: 13px;
    min-height: 104px;
    padding: 16px;
  }

  .rp-feature-icon {
    width: 46px;
    height: 46px;
  }

  .rp-process-inputs {
    flex-wrap: wrap;
  }

  .rp-capability {
    min-height: auto;
  }

  .rp-cta {
    padding: 58px 0;
  }

  .rp-cta-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .rp-canvas .rp-stage-stack {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .rp-canvas .rp-stage-stack::before {
    top: 35px;
    right: 15%;
    bottom: auto;
    left: 15%;
    width: auto;
    height: 2px;
  }

  .rp-canvas .rp-stage {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 7px;
    min-height: 92px;
    padding: 0 5px;
    border: 0;
  }

  .rp-canvas .rp-stage-icon {
    grid-column: auto;
    grid-row: auto;
  }

  .rp-foundation-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 640px) {
  .rp-canvas {
    padding: 16px;
    border-radius: 14px;
  }

  .rp-canvas .rp-signal-row,
  .rp-canvas .rp-system-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .rp-canvas .rp-signal,
  .rp-canvas .rp-system {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 7px;
    min-height: 92px;
    padding: 8px 3px;
    text-align: center;
    font-size: .62rem;
  }

  .rp-canvas .rp-core {
    padding: 15px 12px 18px;
  }

  .rp-canvas .rp-core-head {
    flex-wrap: nowrap;
  }

  .rp-canvas .rp-stage-stack {
    gap: 5px;
  }

  .rp-canvas .rp-stage-icon {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .rp-canvas .rp-stage-stack::before {
    top: 32px;
  }

  .rp-canvas .rp-stage-no {
    left: calc(50% + 15px);
  }

  .rp-canvas .rp-stage strong {
    font-size: .64rem;
  }

  .rp-foundation-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 12px;
  }

  .rp-foundation-grid span {
    font-size: .62rem;
  }
}

