/* ============ Remix service page styles ============ */
:root {
  --rx-lime: #d4ff3a;
  --rx-lime-2: #e6ff66;
  --rx-lime-glow: rgba(212, 255, 58, 0.35);
  --rx-blue: #3992FF;
  --rx-blue-2: #5BAEFF;
  --rx-blue-deep: #1E5FBF;
  --rx-blue-glow: rgba(57, 146, 255, 0.45);
  --rx-violet: #B7B6FF;
  --rx-success: #5cb176;
  --rx-warn: #f29d49;
  --rx-bg: #07090d;
  --rx-panel: #0d1018;
  --rx-panel-2: #131724;
  --rx-panel-3: #1a1f30;
  --rx-navy: #0a1224;
  --rx-navy-2: #060c1a;
  --rx-line: rgba(255, 255, 255, 0.08);
  --rx-line-2: rgba(255, 255, 255, 0.14);
  --rx-text: #ececef;
  --rx-text-dim: rgba(236, 236, 239, 0.62);
  --rx-text-mute: rgba(236, 236, 239, 0.42);
  --rx-mono: 'JetBrains Mono', ui-monospace, monospace;
  --rx-sans: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --rx-serif: 'Fraunces', Georgia, serif;
}

.rx-page { background: var(--rx-bg); color: var(--rx-text); font-family: var(--rx-sans); overflow-x: hidden; }
.rx-page * { box-sizing: border-box; }

#fluid-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.40; }
.rx-page::before {
  content: ''; position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(57, 146, 255, 0.14), transparent 60%),
    radial-gradient(50% 40% at 10% 90%, rgba(212, 255, 58, 0.06), transparent 60%),
    var(--rx-bg);
}
.rx-page > section, .rx-page > header, .rx-page > footer, .rx-page > .rx-crumb { position: relative; z-index: 1; }
.rx-page > aside.mdrawer { z-index: 50; }

.rx-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 60;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.rx-progress span {
  display: block; height: 100%;
  background: linear-gradient(to right, var(--rx-blue), var(--rx-lime));
  width: 0;
  transition: width 0.05s linear;
}

.rx-crumb {
  position: fixed; top: 80px; left: var(--gutter); z-index: 30;
  display: flex; gap: 10px; align-items: center;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bone-3); pointer-events: auto;
}
.rx-crumb a { color: var(--bone-3); text-decoration: none; }
.rx-crumb a:hover { color: var(--lime); }
.rx-crumb .cur { color: var(--bone); }

.rx-page .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--rx-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rx-text-mute);
}
.rx-page .eyebrow .dot {
  width: 8px; height: 8px; background: var(--rx-blue); border-radius: 50%;
  box-shadow: 0 0 10px var(--rx-blue-glow);
  animation: rxPulse 2.4s ease infinite;
}
@keyframes rxPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--rx-blue-glow); }
  50% { box-shadow: 0 0 0 9px transparent; }
}

/* ============ HERO ============ */
.rx-hero { position: relative; min-height: 100vh; padding: 24px 40px 0; overflow: hidden; }
.rx-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.95; }

.rx-hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-rows: 1fr auto auto;
  gap: 60px;
  padding: 80px 0 40px;
  min-height: calc(100vh - 80px);
}

.rx-hero__title {
  font-family: var(--rx-serif);
  font-size: clamp(64px, 11vw, 180px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 300;
  margin: 0;
  font-variation-settings: 'opsz' 144, 'SOFT' 50, 'WONK' 1;
  align-self: end;
}
.rx-hero__title .line { display: block; overflow: hidden; }
.rx-hero__title .line > span { display: inline-block; }
.rx-hero__title .indent { padding-left: 1.2em; }
.rx-hero__title em { font-style: italic; color: var(--rx-lime); }

.rx-hero__bottom {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px;
  align-items: end;
  border-top: 1px solid var(--rx-line); padding-top: 28px;
}
.rx-hero__lede {
  font-size: clamp(15px, 1.2vw, 18px); line-height: 1.55;
  max-width: 56ch; color: var(--rx-text-dim);
}
.rx-hero__lede code {
  font-family: var(--rx-mono); font-size: 0.9em;
  background: rgba(57, 146, 255, 0.16);
  color: var(--rx-blue-2);
  padding: 1px 6px; border-radius: 3px;
}
.rx-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }

.rx-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 26px; border-radius: 999px;
  font-family: var(--rx-mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: transform .25s ease, background .25s, color .25s, border-color .25s;
}
.rx-btn--solid { background: var(--rx-lime); color: #0a0a0a; }
.rx-btn--solid:hover { background: var(--rx-lime-2); }
.rx-btn--ghost { background: transparent; color: var(--rx-text); border: 1px solid var(--rx-line-2); }
.rx-btn--ghost:hover { border-color: var(--rx-blue-2); color: var(--rx-blue-2); }
.rx-btn .arrow { display: inline-block; transition: transform .25s; }
.rx-btn:hover .arrow { transform: translateX(4px); }

.rx-hero__scroll {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--rx-mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rx-text-mute);
}
.rx-hero__scroll-line {
  width: 32px; height: 1px;
  background: linear-gradient(to right, var(--rx-blue), transparent);
}

/* ============ MARQUEE ============ */
.rx-marquee {
  border-top: 1px solid var(--rx-line);
  border-bottom: 1px solid var(--rx-line);
  background: linear-gradient(180deg, rgba(57, 146, 255, 0.06), transparent);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.rx-marquee::before, .rx-marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 120px; z-index: 2; pointer-events: none;
}
.rx-marquee::before { left: 0; background: linear-gradient(to right, var(--rx-bg), transparent); }
.rx-marquee::after  { right: 0; background: linear-gradient(to left,  var(--rx-bg), transparent); }
.rx-marquee__track { display: inline-flex; gap: 0; will-change: transform; }
.rx-marquee__group {
  display: inline-flex; align-items: center; gap: 22px;
  padding-right: 22px;
  font-family: var(--rx-mono);
  font-size: clamp(20px, 2.4vw, 36px);
  font-weight: 300;
  color: var(--rx-text-dim);
  letter-spacing: -0.01em;
  text-transform: lowercase;
}
.rx-marquee__group span { display: inline-block; transition: color .2s; }
.rx-marquee__group span:hover { color: var(--rx-blue-2); }
.rx-marquee__group .dot { color: var(--rx-blue); font-size: 0.5em; vertical-align: middle; }

/* ============ STATS ============ */
.rx-stats {
  padding: 140px 40px 80px;
  border-top: 1px solid var(--rx-line);
}
.rx-stats__head {
  display: grid; grid-template-columns: auto 1.4fr; gap: 60px;
  align-items: end; margin-bottom: 60px;
}
.rx-stats__title {
  font-family: var(--rx-serif);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1; font-weight: 300;
  letter-spacing: -0.03em; margin: 14px 0 0;
}
.rx-stats__title em { font-style: italic; color: var(--rx-lime); }
.rx-stats__lede {
  grid-column: 1 / -1;
  max-width: 72ch; color: var(--rx-text-dim);
  font-size: clamp(14px, 1.05vw, 16px); line-height: 1.6;
  margin: 0;
}
.rx-stats__lede code {
  font-family: var(--rx-mono); font-size: 0.92em;
  background: rgba(57, 146, 255, 0.16);
  color: var(--rx-blue-2);
  padding: 1px 6px; border-radius: 3px;
}

.rx-stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--rx-line);
  border: 1px solid var(--rx-line); border-radius: 8px;
  overflow: hidden;
}

.rx-attr {
  position: relative;
  background: var(--rx-bg);
  padding: 22px 22px 18px;
  display: flex; flex-direction: column;
  gap: 14px;
  transition: background .25s, transform .25s ease, box-shadow .25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.rx-attr[data-tilt] { transform: perspective(900px) rotateX(0) rotateY(0); }
.rx-attr::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(
    220px circle at var(--rx-tilt-x, 50%) var(--rx-tilt-y, 50%),
    rgba(57, 146, 255, 0.20),
    transparent 55%
  );
  opacity: 0; transition: opacity .25s;
}
.rx-attr.is-tilting::after { opacity: 1; }
.rx-attr:hover { background: var(--rx-panel); }
.rx-attr:hover .rx-attr__code { opacity: 1; transform: translateY(0); }

.rx-attr__head {
  display: flex; gap: 10px; align-items: center;
  font-family: var(--rx-mono); font-size: 10.5px;
  letter-spacing: 0.04em;
}
.rx-attr__name { color: var(--rx-text); font-weight: 500; }
.rx-attr__body { display: flex; flex-direction: column; gap: 6px; }
.rx-attr__num {
  font-family: var(--rx-serif);
  font-style: italic; font-weight: 300;
  font-size: clamp(48px, 6vw, 86px);
  line-height: 1; letter-spacing: -0.03em;
  color: var(--rx-lime);
}
.rx-attr__num sup {
  font-size: 0.45em; color: var(--rx-text);
  font-style: normal; vertical-align: top; margin-left: 4px;
}
.rx-attr__title {
  font-family: var(--rx-mono); font-size: 12px;
  color: var(--rx-text-dim); letter-spacing: 0.04em;
}
.rx-attr__title[data-zero] { color: var(--rx-text-mute); }
.rx-attr__code {
  font-family: var(--rx-mono);
  font-size: 11px; line-height: 1.6;
  color: var(--rx-text-dim);
  background: var(--rx-panel-2);
  border: 1px solid var(--rx-line);
  border-radius: 4px;
  padding: 10px 12px;
  margin: 0;
  white-space: pre;
  opacity: 0.5;
  transform: translateY(2px);
  transition: opacity .25s, transform .25s;
  overflow-x: auto;
}
.rx-attr__code .kw { color: var(--rx-blue-2); }
.rx-attr__code .vr { color: var(--rx-lime); }
.rx-attr__code .ty { color: var(--rx-warn); }
.rx-attr__code .fn { color: var(--rx-blue-2); }
.rx-attr__code .s  { color: var(--rx-success); }
.rx-attr__code .n  { color: var(--rx-lime); }

/* ============ CAPABILITIES — REMIX DEVTOOLS UI ============ */
.rx-cap { padding: 80px 40px 120px; border-top: 1px solid var(--rx-line); }
.rx-cap__head {
  display: grid; grid-template-columns: auto 1.4fr; gap: 60px;
  align-items: end; margin-bottom: 50px;
}
.rx-cap__title {
  font-family: var(--rx-serif);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1; font-weight: 300;
  letter-spacing: -0.03em; margin: 14px 0 0;
}
.rx-cap__title em { font-style: italic; color: var(--rx-lime); }
.rx-cap__lede {
  grid-column: 1 / -1;
  max-width: 70ch; color: var(--rx-text-dim);
  font-size: clamp(14px, 1.05vw, 16px); line-height: 1.6;
  margin: 0;
}

.rx-cap__editor {
  background: var(--rx-panel);
  border: 1px solid var(--rx-line);
  border-radius: 10px;
  overflow: hidden;
  display: grid; grid-template-rows: auto 1fr;
  box-shadow: 0 30px 80px rgba(57, 146, 255, 0.07);
}
.rx-editor-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px; align-items: center;
  padding: 10px 18px;
  background: var(--rx-navy);
  border-bottom: 1px solid var(--rx-line);
  font-family: var(--rx-mono); font-size: 11px;
}
.rx-editor-bar__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--rx-text); }
.rx-editor-bar__sq {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--rx-blue-2), var(--rx-blue-deep) 70%);
  box-shadow: 0 0 10px var(--rx-blue-glow), inset 0 0 4px rgba(255,255,255,0.4);
}
.rx-editor-bar__v {
  padding: 1px 6px; border-radius: 3px;
  background: rgba(57, 146, 255, 0.22);
  color: var(--rx-blue-2);
  font-size: 9.5px;
  letter-spacing: 0.06em;
}
.rx-editor-bar__center { text-align: center; font-size: 10.5px; color: var(--rx-text-mute); letter-spacing: 0.04em; }
.rx-editor-bar__path { color: var(--rx-text-dim); }
.rx-editor-bar__path span { color: var(--rx-blue-2); }
.rx-editor-bar__right { display: flex; gap: 10px; align-items: center; justify-content: flex-end; }
.rx-editor-bar__pill {
  padding: 3px 8px; border-radius: 999px;
  background: rgba(57, 146, 255, 0.16);
  border: 1px solid rgba(57, 146, 255, 0.30);
  color: var(--rx-blue-2);
  font-size: 10px; letter-spacing: 0.10em; text-transform: uppercase;
}
.rx-editor-bar__avatars { display: inline-flex; }
.rx-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--rx-navy);
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: -6px;
  font-family: var(--rx-mono); font-size: 10px;
  color: #fff; font-weight: 600;
}
.rx-editor-bar__avatars .rx-avatar:first-child { margin-left: 0; }

.rx-editor-body {
  display: grid;
  grid-template-columns: 250px 1fr 240px;
  min-height: 620px;
}
.rx-tree {
  background: var(--rx-navy-2);
  border-right: 1px solid var(--rx-line);
  padding: 12px 0;
  display: flex; flex-direction: column;
}
.rx-tree__head {
  font-family: var(--rx-mono); font-size: 10px;
  color: var(--rx-text-mute);
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 18px 12px;
  border-bottom: 1px solid var(--rx-line);
  margin-bottom: 8px;
}
.rx-tree__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1px; flex: 1; }
.rx-tree__item {
  position: relative;
  display: grid;
  grid-template-columns: 12px 18px 1fr auto;
  gap: 8px; align-items: center;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 13px;
  color: var(--rx-text-dim);
  transition: background .15s, color .15s;
  outline: none;
}
.rx-tree__item:hover { background: var(--rx-bg); color: var(--rx-text); }
.rx-tree__item:focus-visible { outline: 1px solid var(--rx-blue); outline-offset: -1px; }
.rx-tree__item.is-active {
  background: rgba(57, 146, 255, 0.12);
  color: var(--rx-text);
}
.rx-tree__item.is-active::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--rx-blue);
  box-shadow: 0 0 8px var(--rx-blue-glow);
}
.rx-tree__chev { color: var(--rx-text-mute); font-family: var(--rx-mono); transition: transform .2s; }
.rx-tree__item.is-active .rx-tree__chev { transform: rotate(90deg); color: var(--rx-blue-2); }
.rx-tree__icon { font-family: var(--rx-mono); font-size: 13px; color: var(--rx-text-mute); text-align: center; }
.rx-tree__item.is-active .rx-tree__icon { color: var(--rx-blue-2); }
.rx-tree__count {
  font-family: var(--rx-mono); font-size: 10px;
  color: var(--rx-text-mute);
  padding: 1px 6px; border-radius: 999px;
  background: rgba(255,255,255,0.04);
}
.rx-tree__foot {
  border-top: 1px solid var(--rx-line);
  padding: 12px 18px;
  display: flex; justify-content: space-between;
  font-family: var(--rx-mono); font-size: 10px;
  color: var(--rx-text-mute);
  letter-spacing: 0.06em;
  margin-top: 8px;
}
.rx-tree__foot-val { color: var(--rx-blue-2); }

.rx-doc { position: relative; padding: 24px 32px 30px; overflow-y: auto; max-height: 680px; }
.rx-doc__pane { display: none; flex-direction: column; gap: 18px; }
.rx-doc__pane.is-active { display: flex; }
.rx-doc__chrome {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  font-family: var(--rx-mono); font-size: 10.5px;
  color: var(--rx-text-mute); letter-spacing: 0.04em;
}
.rx-doc__type {
  padding: 3px 8px; border-radius: 3px;
  background: rgba(57, 146, 255, 0.16);
  color: var(--rx-blue-2);
  text-transform: lowercase; font-size: 10.5px;
}
.rx-doc__id { color: var(--rx-text-dim); }
.rx-doc__status {
  margin-left: auto;
  padding: 3px 8px; border-radius: 999px;
  font-size: 9.5px; letter-spacing: 0.12em;
}
.rx-doc__status--published {
  background: rgba(57, 146, 255, 0.16);
  color: var(--rx-blue-2);
  border: 1px solid rgba(57, 146, 255, 0.30);
}
.rx-doc__title {
  font-family: var(--rx-serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05; font-weight: 300;
  letter-spacing: -0.025em;
  margin: 4px 0 0;
}
.rx-doc__title em { font-style: italic; color: var(--rx-lime); }
.rx-doc__meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-family: var(--rx-mono); font-size: 10.5px;
  color: var(--rx-text-mute);
}
.rx-doc__meta strong { color: var(--rx-text-dim); font-weight: 500; }
.rx-doc__row {
  display: flex; flex-direction: column; gap: 6px;
  border-top: 1px dashed var(--rx-line);
  padding-top: 14px;
}
.rx-doc__row-lbl {
  font-family: var(--rx-mono); font-size: 11px;
  color: var(--rx-text-mute);
  letter-spacing: 0.04em;
}
.rx-doc__row-lbl em { color: var(--rx-blue-2); font-style: normal; }
.rx-doc__row p {
  margin: 0;
  font-size: 14.5px; line-height: 1.55;
  color: var(--rx-text-dim);
  max-width: 70ch;
}
.rx-doc__row p code {
  font-family: var(--rx-mono); font-size: 0.88em;
  background: rgba(57, 146, 255, 0.12);
  color: var(--rx-blue-2);
  padding: 1px 6px; border-radius: 3px;
}
.rx-doc__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 4px;
  font-family: var(--rx-mono); font-size: 12px;
  color: var(--rx-text-dim);
}
.rx-doc__list li { padding: 4px 0 4px 18px; position: relative; }
.rx-doc__list li::before {
  content: '\2014'; position: absolute; left: 0; top: 4px;
  color: var(--rx-blue);
}
.rx-doc__list code { background: rgba(57, 146, 255, 0.10); color: var(--rx-blue-2); padding: 1px 5px; border-radius: 3px; }

.rx-inspector {
  background: var(--rx-navy-2);
  border-left: 1px solid var(--rx-line);
  padding: 18px;
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--rx-mono); font-size: 11px;
}
.rx-inspector__head {
  font-size: 10px; color: var(--rx-text-mute);
  letter-spacing: 0.18em; text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rx-line);
  margin-bottom: 6px;
}
.rx-inspector__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0;
  color: var(--rx-text-dim);
}
.rx-inspector__val { color: var(--rx-text); font-weight: 500; }
.rx-inspector__val--ok { color: var(--rx-blue-2); }
.rx-inspector__divider { height: 1px; background: var(--rx-line); margin: 10px 0; }
.rx-inspector__btn {
  margin-top: 6px;
  padding: 9px 12px; border-radius: 4px;
  background: var(--rx-blue); color: #06121f;
  border: 0; cursor: pointer;
  font-family: var(--rx-mono); font-size: 11px;
  letter-spacing: 0.04em;
  font-weight: 600;
  transition: background .2s;
}
.rx-inspector__btn:hover { background: var(--rx-blue-2); }
.rx-inspector__btn--ghost {
  background: transparent;
  color: var(--rx-text-dim);
  border: 1px solid var(--rx-line-2);
  font-weight: 400;
}
.rx-inspector__btn--ghost:hover { color: var(--rx-blue-2); border-color: var(--rx-blue); }

/* ============ STAGE — LOADER WATERFALL / OUTLET COMPOSER ============ */
.rx-stage { padding: 80px 40px 120px; border-top: 1px solid var(--rx-line); }
.rx-stage__head {
  display: grid; grid-template-columns: auto 1.4fr; gap: 60px;
  align-items: end; margin-bottom: 50px;
}
.rx-stage__title {
  font-family: var(--rx-serif);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1; font-weight: 300;
  letter-spacing: -0.03em; margin: 14px 0 0;
}
.rx-stage__title em { font-style: italic; color: var(--rx-lime); }
.rx-stage__lede {
  grid-column: 1 / -1;
  max-width: 78ch; color: var(--rx-text-dim);
  font-size: clamp(14px, 1.05vw, 16px); line-height: 1.6;
  margin: 0;
}
.rx-stage__lede code {
  font-family: var(--rx-mono); font-size: 0.9em;
  background: rgba(57, 146, 255, 0.14);
  color: var(--rx-blue-2);
  padding: 1px 6px; border-radius: 3px;
}

.rx-stage__rig {
  display: grid;
  grid-template-columns: 320px 1fr 320px;
  gap: 16px;
  background: var(--rx-panel);
  border: 1px solid var(--rx-line);
  border-radius: 10px;
  padding: 16px;
}

/* Routes tree (left) — file-tree feeling */
.rx-routes {
  background: var(--rx-navy-2);
  border: 1px solid var(--rx-line);
  border-radius: 8px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.rx-routes__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  font-family: var(--rx-mono); font-size: 10px;
  color: var(--rx-text-mute);
  letter-spacing: 0.18em; text-transform: uppercase;
  border-bottom: 1px solid var(--rx-line);
}
.rx-routes__hint { color: var(--rx-blue-2); text-transform: none; letter-spacing: 0.04em; }
.rx-routes__list {
  list-style: none; padding: 8px; margin: 0;
  display: flex; flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow-y: auto;
  max-height: 540px;
}
.rx-route {
  display: flex; flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  background: var(--rx-panel-2);
  border: 1px solid var(--rx-line);
  border-radius: 5px;
  font-family: var(--rx-mono); font-size: 11.5px;
  user-select: none;
}
.rx-route__path {
  display: flex; align-items: center; gap: 8px;
  color: var(--rx-text); font-weight: 500;
  font-size: 12.5px;
}
.rx-route__indent {
  width: 14px; flex-shrink: 0;
  display: inline-block;
  color: var(--rx-text-mute);
}
.rx-route__url {
  font-family: var(--rx-mono); font-size: 9.5px;
  color: var(--rx-text-mute);
  letter-spacing: 0.04em;
  margin-left: 22px;
}
.rx-route__modes {
  display: flex; flex-wrap: wrap; gap: 4px;
  padding-left: 22px;
}
.rx-route__mode {
  padding: 3px 8px; border-radius: 3px;
  background: var(--rx-bg);
  border: 1px solid var(--rx-line);
  color: var(--rx-text-mute);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.rx-route__mode:hover { color: var(--rx-text); border-color: var(--rx-line-2); }
.rx-route__mode.is-active {
  background: rgba(57, 146, 255, 0.18);
  color: var(--rx-blue-2);
  border-color: var(--rx-blue);
}
.rx-route__mode.is-active[data-mode="defer"] { background: rgba(212, 255, 58, 0.16); color: var(--rx-lime); border-color: var(--rx-lime); }
.rx-route__mode.is-active[data-mode="none"]  { background: rgba(255, 255, 255, 0.05); color: var(--rx-text); border-color: var(--rx-line-2); }
.rx-routes__foot {
  border-top: 1px solid var(--rx-line);
  padding: 10px 14px;
}
.rx-routes__deploy {
  width: 100%;
  background: var(--rx-blue); color: #06121f;
  border: 0; cursor: pointer;
  padding: 9px 14px; border-radius: 999px;
  font-family: var(--rx-mono); font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  display: inline-flex; gap: 8px; align-items: center; justify-content: center;
  transition: background .2s, transform .15s;
}
.rx-routes__deploy:hover { background: var(--rx-blue-2); transform: translateY(-1px); }
.rx-routes__deploy-arrow { transition: transform .15s; }
.rx-routes__deploy:hover .rx-routes__deploy-arrow { transform: translateX(2px); }

/* Waterfall (middle) */
.rx-waterfall {
  background: var(--rx-bg);
  border: 1px solid var(--rx-line);
  border-radius: 8px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.rx-waterfall__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  background: var(--rx-navy);
  border-bottom: 1px solid var(--rx-line);
  font-family: var(--rx-mono); font-size: 10.5px;
  color: var(--rx-text-mute);
  letter-spacing: 0.10em; text-transform: uppercase;
}
.rx-waterfall__pulse {
  display: inline-flex; gap: 6px; align-items: center;
  text-transform: none; letter-spacing: 0.04em;
}
.rx-pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rx-blue);
  box-shadow: 0 0 8px var(--rx-blue-glow);
  animation: rxPulseDot 1.4s ease infinite;
}
@keyframes rxPulseDot { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

.rx-waterfall__body {
  padding: 14px;
  display: flex; flex-direction: column;
  gap: 6px;
  flex: 1;
  overflow-y: auto;
}
.rx-wf-row {
  display: grid;
  grid-template-columns: 130px 1fr 56px;
  gap: 10px; align-items: center;
  font-family: var(--rx-mono); font-size: 10.5px;
}
.rx-wf-row__label {
  color: var(--rx-text-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rx-wf-row__bar {
  position: relative;
  height: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--rx-line);
  border-radius: 3px;
  overflow: hidden;
}
.rx-wf-row__fill {
  position: absolute; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--rx-blue), var(--rx-blue-2));
  border-radius: 2px;
  transition: left .4s cubic-bezier(.22,1,.36,1), width .4s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 0 6px rgba(57, 146, 255, 0.40);
}
.rx-wf-row__fill[data-defer="1"] {
  background: linear-gradient(90deg, var(--rx-lime), #fff36b);
  box-shadow: 0 0 6px var(--rx-lime-glow);
}
.rx-wf-row__fill[data-none="1"] {
  background: rgba(255, 255, 255, 0.10);
  box-shadow: none;
}
.rx-wf-row__time {
  text-align: right; color: var(--rx-text-mute);
  font-feature-settings: 'tnum';
}

.rx-waterfall__metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--rx-line);
  background: var(--rx-navy-2);
}
.rx-wf-metric { display: flex; flex-direction: column; gap: 2px; }
.rx-wf-metric__lbl {
  font-family: var(--rx-mono); font-size: 9.5px;
  color: var(--rx-text-mute);
  letter-spacing: 0.10em; text-transform: uppercase;
}
.rx-wf-metric__val {
  font-family: var(--rx-serif); font-style: italic;
  font-size: 22px; color: var(--rx-lime);
  font-feature-settings: 'tnum';
}

/* Rendered nested page (right) */
.rx-render {
  background: var(--rx-bg);
  border: 1px solid var(--rx-line);
  border-radius: 8px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.rx-render__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  background: var(--rx-navy);
  border-bottom: 1px solid var(--rx-line);
  font-family: var(--rx-mono); font-size: 11px;
  color: var(--rx-text);
}
.rx-render__bar-url {
  color: var(--rx-blue-2);
  font-size: 10.5px;
}
.rx-render__body {
  padding: 14px;
  display: flex; flex-direction: column;
  gap: 6px;
  flex: 1;
  overflow-y: auto;
  font-family: var(--rx-mono); font-size: 11px;
}
.rx-shell {
  position: relative;
  border: 1px dashed var(--rx-line-2);
  border-radius: 6px;
  padding: 10px 12px 12px;
  background: rgba(255, 255, 255, 0.015);
}
.rx-shell__head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 9.5px;
  color: var(--rx-text-mute);
  letter-spacing: 0.10em; text-transform: uppercase;
  margin-bottom: 6px;
}
.rx-shell__head em { font-style: normal; color: var(--rx-blue-2); }
.rx-shell__data {
  font-family: var(--rx-mono); font-size: 10.5px;
  color: var(--rx-text-dim);
  background: var(--rx-panel-2);
  border: 1px solid var(--rx-line);
  border-radius: 3px;
  padding: 6px 8px;
  margin-bottom: 6px;
  white-space: pre-wrap;
}
.rx-shell__data[data-state="loading"] {
  color: var(--rx-text-mute);
  background: repeating-linear-gradient(45deg,
    rgba(57, 146, 255, 0.06) 0px, rgba(57, 146, 255, 0.06) 6px,
    transparent 6px, transparent 12px);
  border-color: rgba(57, 146, 255, 0.20);
  position: relative;
}
.rx-shell__data[data-state="streaming"] {
  background: repeating-linear-gradient(45deg,
    rgba(212, 255, 58, 0.10) 0px, rgba(212, 255, 58, 0.10) 6px,
    transparent 6px, transparent 12px);
  border-color: rgba(212, 255, 58, 0.30);
  color: var(--rx-lime);
}
.rx-shell__outlet {
  margin-top: 6px;
  border-top: 1px dashed var(--rx-line);
  padding-top: 8px;
  display: flex; flex-direction: column; gap: 6px;
}
.rx-shell__outlet-lbl {
  font-size: 9px; letter-spacing: 0.16em;
  color: var(--rx-blue-2);
  text-transform: uppercase;
}

/* ============ VS — DUEL ENTRIES ============ */
.rx-vs { padding: 90px 40px 110px; border-top: 1px solid var(--rx-line); }
.rx-vs__head {
  display: grid; grid-template-columns: auto 1.4fr; gap: 60px;
  align-items: end; margin-bottom: 40px;
}
.rx-vs__head h2 {
  font-family: var(--rx-serif);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1; font-weight: 300;
  letter-spacing: -0.03em; margin: 14px 0 0;
}
.rx-vs__head h2 em { font-style: italic; color: var(--rx-lime); }
.rx-vs__lede {
  grid-column: 1 / -1;
  max-width: 70ch; color: var(--rx-text-dim);
  font-size: clamp(14px, 1.05vw, 16px); line-height: 1.6;
  margin: 0;
}
.rx-vs__lede code {
  font-family: var(--rx-mono); font-size: 0.92em;
  background: rgba(57, 146, 255, 0.16);
  color: var(--rx-blue-2);
  padding: 1px 6px; border-radius: 3px;
}
.rx-vs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.rx-vs__entry {
  position: relative;
  will-change: transform, opacity;
  opacity: 0;
  transform: translateY(28px);
}
.rx-vs__entry.is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.rx-vs__entry-head {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}
.rx-vs__entry-num {
  font-family: var(--rx-mono);
  font-size: 11px;
  letter-spacing: 0.20em;
  color: var(--rx-blue-2);
  padding: 3px 9px;
  background: rgba(57, 146, 255, 0.12);
  border: 1px solid rgba(57, 146, 255, 0.30);
  border-radius: 999px;
}
.rx-vs__entry-title {
  font-family: var(--rx-serif);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--rx-text);
}
.rx-vs__entry-rule {
  height: 1px;
  background: linear-gradient(to right, var(--rx-line-2), transparent);
}

.rx-vs__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  position: relative;
}
.rx-vs__pair::before {
  content: 'vs';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--rx-mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  color: var(--rx-text-mute);
  background: var(--rx-bg);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--rx-line-2);
  z-index: 2;
  pointer-events: none;
}

.rx-vs__card {
  position: relative;
  background: var(--rx-panel);
  border: 1px solid var(--rx-line);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.rx-vs__card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}
.rx-vs__card--bad::before {
  background: radial-gradient(60% 80% at 50% -20%, rgba(255, 80, 80, 0.12), transparent 60%);
}
.rx-vs__card--good::before {
  background: radial-gradient(60% 80% at 50% -20%, rgba(57, 146, 255, 0.20), transparent 60%);
}
.rx-vs__card:hover { transform: translateY(-3px); }
.rx-vs__card:hover::before { opacity: 1; }

.rx-vs__card--bad {
  border-color: rgba(255, 80, 80, 0.18);
}
.rx-vs__card--bad:hover {
  border-color: rgba(255, 80, 80, 0.40);
  background: var(--rx-panel-2);
}
.rx-vs__card--good {
  border-color: rgba(57, 146, 255, 0.30);
  background: linear-gradient(180deg, rgba(57, 146, 255, 0.06), var(--rx-panel));
  box-shadow:
    0 0 0 1px rgba(57, 146, 255, 0.12),
    0 12px 36px rgba(57, 146, 255, 0.10);
}
.rx-vs__card--good:hover {
  border-color: var(--rx-blue);
  box-shadow:
    0 0 0 1px rgba(57, 146, 255, 0.30),
    0 18px 50px rgba(57, 146, 255, 0.18);
}

.rx-vs__card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rx-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rx-text-mute);
}
.rx-vs__card--bad .rx-vs__card-tag { color: rgba(255, 120, 120, 0.95); }
.rx-vs__card--good .rx-vs__card-tag { color: var(--rx-blue-2); }
.rx-vs__icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--rx-mono);
  font-size: 13px;
  font-weight: 700;
}
.rx-vs__card--bad .rx-vs__icon {
  background: rgba(255, 80, 80, 0.14);
  color: #ff7878;
  border: 1px solid rgba(255, 80, 80, 0.30);
}
.rx-vs__card--good .rx-vs__icon {
  background: rgba(57, 146, 255, 0.18);
  color: var(--rx-blue-2);
  border: 1px solid rgba(57, 146, 255, 0.40);
  box-shadow: 0 0 12px rgba(57, 146, 255, 0.30);
}

.rx-vs__card-metric {
  font-family: var(--rx-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(56px, 5.5vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--rx-text);
  font-feature-settings: 'tnum';
  margin-top: 4px;
}
.rx-vs__card-metric span {
  font-style: normal;
  font-family: var(--rx-mono);
  font-size: 0.28em;
  font-weight: 400;
  color: var(--rx-text-mute);
  letter-spacing: 0.04em;
  margin-left: 4px;
  vertical-align: middle;
}
.rx-vs__card--bad .rx-vs__card-metric { color: rgba(255, 200, 200, 0.85); }
.rx-vs__card--good .rx-vs__card-metric { color: var(--rx-lime); }

.rx-vs__card-sub {
  font-family: var(--rx-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--rx-text-mute);
  margin-top: -8px;
}

.rx-vs__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--rx-text-dim);
  margin-top: 4px;
}
.rx-vs__card--good p { color: var(--rx-text); }

.rx-vs__bar {
  position: relative;
  height: 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 4px;
}
.rx-vs__bar > span {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  background: linear-gradient(to right, #ff7878, #ffb878);
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.rx-vs__bar--good > span {
  background: linear-gradient(to right, var(--rx-lime), var(--rx-blue));
}

.rx-vs__pills { display: flex; flex-wrap: wrap; gap: 5px; }
.rx-vs__pill {
  font-family: var(--rx-mono);
  font-size: 9.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--rx-text-mute);
  border: 1px solid var(--rx-line);
}
.rx-vs__pill.is-on {
  background: rgba(255, 80, 80, 0.10);
  color: rgba(255, 120, 120, 0.95);
  border-color: rgba(255, 80, 80, 0.30);
}
.rx-vs__pill.is-on.rx-vs__pill--good {
  background: rgba(57, 146, 255, 0.14);
  color: var(--rx-blue-2);
  border-color: rgba(57, 146, 255, 0.36);
  box-shadow: 0 0 6px rgba(57, 146, 255, 0.18);
}

.rx-vs__dots { display: flex; gap: 6px; align-items: center; }
.rx-vs__dots > span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--rx-line-2);
}
.rx-vs__dots--good > span {
  background: var(--rx-blue);
  border-color: var(--rx-blue);
  box-shadow: 0 0 8px var(--rx-blue-glow);
}

.rx-vs__check {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
  font-family: var(--rx-mono); font-size: 11px;
  color: var(--rx-text-mute);
}
.rx-vs__check span { display: inline-flex; align-items: center; gap: 6px; }
.rx-vs__check i {
  font-style: normal;
  width: 14px; height: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 10px; font-weight: 700;
  background: rgba(255, 80, 80, 0.14); color: #ff7878;
}
.rx-vs__check--good i {
  background: rgba(57, 146, 255, 0.16);
  color: var(--rx-blue-2);
}
.rx-vs__check--good span { color: var(--rx-text); }

.rx-vs__chips { display: flex; flex-wrap: wrap; gap: 5px; }
.rx-vs__chip {
  font-family: var(--rx-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--rx-text-mute);
  border: 1px solid var(--rx-line);
}
.rx-vs__chip.is-on {
  background: rgba(255, 80, 80, 0.10);
  color: rgba(255, 120, 120, 0.95);
  border-color: rgba(255, 80, 80, 0.30);
}
.rx-vs__chip.is-on.rx-vs__chip--good {
  background: rgba(57, 146, 255, 0.12);
  color: var(--rx-blue-2);
  border-color: rgba(57, 146, 255, 0.34);
}

.rx-vs__flow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--rx-mono); font-size: 11px;
  color: var(--rx-text-mute);
}
.rx-vs__flow-end {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rx-line);
  border-radius: 4px;
}
.rx-vs__flow--good .rx-vs__flow-end {
  background: rgba(57, 146, 255, 0.10);
  border-color: rgba(57, 146, 255, 0.30);
  color: var(--rx-text);
}
.rx-vs__flow-arrow { font-family: var(--rx-mono); color: var(--rx-text-mute); font-size: 14px; letter-spacing: 0.10em; }
.rx-vs__flow--good .rx-vs__flow-arrow { color: var(--rx-blue-2); }

.rx-vs__timeline {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--rx-mono); font-size: 10px;
  letter-spacing: 0.04em;
}
.rx-vs__timeline-pt {
  padding: 3px 8px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--rx-text-mute);
  border: 1px solid var(--rx-line);
}
.rx-vs__timeline-pt.is-on {
  background: rgba(255, 80, 80, 0.10);
  color: rgba(255, 120, 120, 0.95);
  border-color: rgba(255, 80, 80, 0.30);
}
.rx-vs__timeline--good .rx-vs__timeline-pt.is-on {
  background: rgba(57, 146, 255, 0.12);
  color: var(--rx-blue-2);
  border-color: rgba(57, 146, 255, 0.34);
}
.rx-vs__timeline-line {
  flex-shrink: 0;
  width: 14px; height: 1px;
  background: var(--rx-line-2);
  border-bottom: 1px dashed var(--rx-line-2);
}
.rx-vs__timeline--good .rx-vs__timeline-line {
  background: var(--rx-blue);
  border-color: var(--rx-blue);
  box-shadow: 0 0 6px var(--rx-blue-glow);
}

/* ============ ADAPTERS (Pairs replacement) ============ */
.rx-adapt { padding: 80px 40px 120px; border-top: 1px solid var(--rx-line); }
.rx-adapt__head {
  display: grid; grid-template-columns: auto 1.4fr; gap: 60px;
  align-items: end; margin-bottom: 40px;
}
.rx-adapt__head h2 {
  font-family: var(--rx-serif);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1; font-weight: 300;
  letter-spacing: -0.03em; margin: 14px 0 0;
}
.rx-adapt__head h2 em { font-style: italic; color: var(--rx-lime); }
.rx-adapt__head .lede {
  grid-column: 1 / -1;
  max-width: 78ch; color: var(--rx-text-dim);
  font-size: clamp(14px, 1.05vw, 16px); line-height: 1.6;
  margin: 0;
}
.rx-adapt__head .lede code {
  font-family: var(--rx-mono); font-size: 0.9em;
  background: rgba(57, 146, 255, 0.14);
  color: var(--rx-blue-2);
  padding: 1px 6px; border-radius: 3px;
}

.rx-adapt__rig {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 16px;
  background: var(--rx-panel);
  border: 1px solid var(--rx-line);
  border-radius: 10px;
  padding: 16px;
}
.rx-adapt__targets {
  display: flex; flex-direction: column; gap: 8px;
  max-height: 600px; overflow-y: auto;
}
.rx-adapt__target {
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto auto;
  gap: 2px 12px;
  padding: 12px 14px;
  background: var(--rx-panel-2);
  border: 1px solid var(--rx-line);
  border-radius: 7px;
  text-align: left;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
  font-family: var(--rx-sans);
  color: var(--rx-text);
}
.rx-adapt__target:hover {
  background: var(--rx-panel-3);
  border-color: var(--rx-line-2);
  transform: translateX(2px);
}
.rx-adapt__target.is-active {
  background: rgba(57, 146, 255, 0.10);
  border-color: var(--rx-blue);
  box-shadow: 0 0 0 3px rgba(57, 146, 255, 0.10);
}
.rx-adapt__target-chip {
  grid-row: 1 / -1;
  align-self: center;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-family: var(--rx-mono); font-size: 12px;
  font-weight: 700; letter-spacing: 0.02em;
}
.rx-adapt__target-name { color: var(--rx-text); font-weight: 500; font-size: 14px; }
.rx-adapt__target-runtime {
  font-family: var(--rx-mono); font-size: 10.5px;
  color: var(--rx-text-mute);
  letter-spacing: 0.04em;
}
.rx-adapt__target-cmd {
  font-family: var(--rx-mono); font-size: 10px;
  color: var(--rx-blue-2);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.rx-adapt__panel {
  background: var(--rx-bg);
  border: 1px solid var(--rx-line);
  border-radius: 8px;
  display: flex; flex-direction: column;
  overflow: hidden;
  padding: 18px;
}
.rx-adapt__panel-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rx-line);
  margin-bottom: 14px;
}
.rx-adapt__panel-mark {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--rx-blue-2), var(--rx-blue-deep) 70%);
  box-shadow: 0 0 18px var(--rx-blue-glow), inset 0 0 6px rgba(255,255,255,0.4);
}
.rx-adapt__panel-title {
  font-family: var(--rx-serif);
  font-style: italic; font-size: 22px;
  color: var(--rx-text);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.rx-adapt__panel-sub {
  margin-left: auto;
  font-family: var(--rx-mono); font-size: 10px;
  color: var(--rx-text-mute);
  letter-spacing: 0.10em; text-transform: uppercase;
}
.rx-adapt__metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--rx-line);
}
.rx-adapt__metric {
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: var(--rx-panel-2);
  border: 1px solid var(--rx-line);
  border-radius: 5px;
}
.rx-adapt__metric-lbl {
  font-family: var(--rx-mono); font-size: 9.5px;
  color: var(--rx-text-mute);
  letter-spacing: 0.10em; text-transform: uppercase;
}
.rx-adapt__metric-val {
  font-family: var(--rx-serif); font-style: italic;
  font-size: 24px; color: var(--rx-lime);
  font-feature-settings: 'tnum';
}
.rx-adapt__cmd {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 10px 14px;
  background: var(--rx-navy-2);
  border: 1px solid var(--rx-line);
  border-radius: 5px;
  font-family: var(--rx-mono); font-size: 12px;
  color: var(--rx-text);
  margin-bottom: 14px;
  word-break: break-all;
}
.rx-adapt__cmd-prompt { color: var(--rx-blue-2); flex-shrink: 0; }
.rx-adapt__entry {
  font-family: var(--rx-mono);
  font-size: 11.5px; line-height: 1.65;
  color: var(--rx-text-dim);
  background: var(--rx-panel-2);
  border: 1px solid var(--rx-line);
  border-radius: 5px;
  padding: 12px 14px;
  margin: 0;
  white-space: pre;
  overflow-x: auto;
}
.rx-adapt__entry .kw { color: var(--rx-blue-2); }
.rx-adapt__entry .vr { color: var(--rx-lime); }
.rx-adapt__entry .s  { color: var(--rx-success); }
.rx-adapt__entry .fn { color: var(--rx-blue-2); }
.rx-adapt__entry .br { color: var(--rx-text-mute); }

.rx-adapt__regions {
  list-style: none; padding: 0; margin: 12px 0 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.rx-adapt__region {
  font-family: var(--rx-mono); font-size: 10.5px;
  padding: 3px 8px; border-radius: 3px;
  background: rgba(57, 146, 255, 0.10);
  color: var(--rx-blue-2);
  letter-spacing: 0.04em;
  will-change: opacity;
}

.rx-adapt__note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px; align-items: start;
  padding: 18px 20px;
  margin-top: 20px;
  background: var(--rx-panel);
  border: 1px solid var(--rx-line);
  border-left: 3px solid var(--rx-blue);
  border-radius: 4px;
}
.rx-adapt__note span {
  color: var(--rx-blue-2);
  font-size: 18px;
  line-height: 1;
}
.rx-adapt__note p {
  margin: 0;
  font-size: 13.5px; line-height: 1.55;
  color: var(--rx-text-dim);
  max-width: 90ch;
}
.rx-adapt__note code {
  font-family: var(--rx-mono); font-size: 0.9em;
  background: rgba(57, 146, 255, 0.14);
  color: var(--rx-blue-2);
  padding: 1px 6px; border-radius: 3px;
}

/* ============ PROCESS ============ */
.rx-process { padding: 90px 40px 130px; border-top: 1px solid var(--rx-line); position: relative; }
.rx-process__head {
  display: grid; grid-template-columns: auto 1.4fr; gap: 60px;
  align-items: end; margin-bottom: 40px;
}
.rx-process__title {
  font-family: var(--rx-serif);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1; font-weight: 300;
  letter-spacing: -0.03em; margin: 14px 0 0;
}
.rx-process__title em { font-style: italic; color: var(--rx-lime); }

.rx-process__rail {
  position: relative;
  border-top: 1px dashed var(--rx-line-2);
  padding-top: 30px;
}
.rx-process__svg {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 200px;
  pointer-events: none;
}
.rx-process__svg path { vector-effect: non-scaling-stroke; }
#rx-process-path-fill { stroke-dasharray: 1; stroke-dashoffset: 1; }

.rx-process__steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 100px;
}
.rx-process__step {
  border-top: 1px solid var(--rx-line-2);
  padding: 14px 14px 0;
  position: relative;
}
.rx-process__step::before {
  content: '';
  position: absolute;
  top: -5px; left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--rx-blue);
  box-shadow: 0 0 8px var(--rx-blue-glow);
}
.rx-process__step[data-launch]::before { background: var(--rx-lime); box-shadow: 0 0 12px var(--rx-lime-glow); }
.rx-process__week {
  font-family: var(--rx-mono); font-size: 10px;
  color: var(--rx-text-mute);
  letter-spacing: 0.16em; text-transform: uppercase;
}
.rx-process__step h4 {
  font-family: var(--rx-serif); font-size: 18px;
  font-weight: 400; letter-spacing: -0.01em;
  margin: 6px 0 8px;
  color: var(--rx-text);
}
.rx-process__step p {
  font-size: 12.5px; line-height: 1.55;
  color: var(--rx-text-dim);
  margin: 0;
}
.rx-process__step p code {
  font-family: var(--rx-mono); font-size: 0.86em;
  background: rgba(57, 146, 255, 0.14);
  color: var(--rx-blue-2);
  padding: 1px 5px; border-radius: 3px;
}

.rx-process__particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 200px;
  pointer-events: none;
  z-index: 2;
}
.rx-process__particle {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rx-lime);
  box-shadow: 0 0 12px var(--rx-lime-glow);
  pointer-events: none;
  will-change: transform, opacity;
}
.rx-process__particle--blue {
  background: var(--rx-blue-2);
  box-shadow: 0 0 12px var(--rx-blue-glow);
}

/* ============ CTA ============ */
.rx-cta {
  position: relative; padding: 120px 40px 80px;
  border-top: 1px solid var(--rx-line);
  display: grid; place-items: center;
  min-height: 70vh;
  overflow: hidden;
}
.rx-cta__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.rx-cta__rotor {
  position: relative; z-index: 1;
  width: min(360px, 70vw); height: min(360px, 70vw);
  display: grid; place-items: center;
}
#rx-rotor-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  animation: rxRotorSpin 28s linear infinite;
}
@keyframes rxRotorSpin { to { transform: rotate(360deg); } }
.rotor-text {
  font-family: var(--rx-mono); font-size: 22px;
  fill: var(--rx-text-dim);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.rx-cta__btn {
  position: relative; z-index: 2;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--rx-blue);
  color: #06121f; text-decoration: none;
  display: grid; place-items: center;
  font-family: var(--rx-mono); font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.10em;
  box-shadow: 0 10px 40px rgba(57, 146, 255, 0.45);
  transition: transform .25s, background .25s;
}
.rx-cta__btn:hover { transform: scale(1.05); background: var(--rx-blue-2); }

.rx-cta__lines {
  position: relative; z-index: 1;
  margin-top: 30px;
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  font-family: var(--rx-mono); font-size: 11px;
  color: var(--rx-text-mute);
  letter-spacing: 0.08em;
}

.reveal-heading em { font-style: italic; color: var(--rx-lime); }

.rx-scramble .rx-char {
  display: inline-block;
  position: relative;
  white-space: pre;
  will-change: transform, opacity;
}
.rx-scramble .rx-char.is-scrambling {
  color: var(--rx-blue-2);
}
.rx-hero__title [data-scramble] .rx-char.is-scrambling {
  color: var(--rx-blue-2);
  text-shadow: 0 0 22px rgba(57, 146, 255, 0.55);
}

@media (max-width: 1100px) {
  .rx-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .rx-editor-body { grid-template-columns: 200px 1fr; }
  .rx-inspector { display: none; }
  .rx-stage__rig { grid-template-columns: 1fr; }
  .rx-vs__pair { grid-template-columns: 1fr; gap: 14px; }
  .rx-vs__pair::before { display: none; }
  .rx-vs__check { grid-template-columns: 1fr; }
  .rx-adapt__rig { grid-template-columns: 1fr; }
  .rx-adapt__metrics { grid-template-columns: repeat(2, 1fr); }
  .rx-process__steps { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .rx-process__svg { display: none; }
}
@media (max-width: 720px) {
  .rx-hero { padding: 24px 20px 0; }
  .rx-stats, .rx-cap, .rx-stage, .rx-vs, .rx-adapt, .rx-process, .rx-cta {
    padding-left: 20px; padding-right: 20px;
  }
  .rx-stats__head, .rx-cap__head, .rx-stage__head, .rx-vs__head, .rx-adapt__head, .rx-process__head {
    grid-template-columns: 1fr; gap: 18px;
  }
  .rx-hero__bottom { grid-template-columns: 1fr; }
  .rx-stats__grid { grid-template-columns: 1fr; }
  .rx-editor-body { grid-template-columns: 1fr; }
  .rx-tree { border-right: 0; border-bottom: 1px solid var(--rx-line); }
  .rx-adapt__metrics { grid-template-columns: 1fr; }
  .rx-process__steps { grid-template-columns: 1fr; }
}
