:root {
  --dex-blue: #2563eb;
  --dex-blue-rgb: 37, 99, 235;
  --dex-blue-dark: #1e40af;
  --dex-blue-dark-rgb: 30, 64, 175;
  --dex-yellow: #fbbf24;
  --dex-yellow-rgb: 251, 191, 36;
  --dex-yellow-soft: #fde68a;
  --dex-white: #ffffff;
  --dex-surface: #f1f5f9;
  --dex-surface-secondary: #e2e8f0;
  --dex-text: #000000;
  --dex-text-secondary: #374151;
  --dex-text-muted: #6b7280;
  --icon-color: var(--dex-blue-dark);
}

body {
  color: var(--dex-text);
  background: var(--dex-white);
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

body,
p,
.rt-no-margin,
.rt-menu-text,
.rt-nav-menu-link,
.rt-footer-link,
.rt-bottom-link,
.rt-pages-menu-small-text {
  color: var(--dex-text-secondary);
}

h1,
h2,
h3,
h4,
h5,
h6,
.rt-text-style-h1,
.rt-text-style-h2,
.rt-text-style-h3,
.rt-text-style-h4,
.rt-text-style-h5,
.rt-text-style-h6,
.rt-nav-link,
.rt-nav-menu-link.rt-padding-off {
  color: var(--dex-text);
}

.rt-text-color-white,
.rt-footer .rt-footer-link,
.rt-footer .rt-bottom-link,
.rt-footer p,
.rt-footer .rt-text-style-h4,
.rt-footer .rt-text-style-h6,
.rt-cta-v1 .rt-text-color-white {
  color: var(--dex-white);
}

.rt-text-color-indigo-gray,
.rt-pages-menu-small-text,
.rt-testimonial-v3-para-wrap p,
.rt-faq-bottom p {
  color: var(--dex-text-muted);
}

.rt-heading-gradient,
.rt-text-color-electric-blue,
.rt-text-color-blue,
.rt-nav-menu-link.w--current,
.rt-footer-email,
.rt-bottom-link:hover,
.rt-footer-link:hover {
  color: var(--dex-blue);
}

.rt-heading-gradient {
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, var(--dex-blue), var(--dex-blue-dark));
  -webkit-background-clip: text;
  background-clip: text;
}

.rt-background-white,
.rt-nav,
.rt-navbar-menu-dropdown,
.rt-pages-menu,
.rt-faq-v1,
.rt-testimonials-item,
.rt-benefits-box-text-wrap,
.rt-feature-v1-card,
.rt-feature-card-v2,
.rt-ai-agents-v1-left-part,
.rt-choose-v1-content-box {
  background-color: var(--dex-white);
}

.rt-top-bar,
.rt-hero-v1,
.rt-hero-v2,
.rt-hero-v3,
.rt-ai-agents-v1,
.rt-feature-v1,
.rt-choose-v1,
.rt-benefits-v1,
.rt-testimonial-v3,
.rt-faq-v1 {
  background-color: var(--dex-surface);
}

.rt-hero-v1 {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(118px, 10vw, 155px) !important;
  background-image:
    radial-gradient(circle, rgba(var(--dex-blue-rgb), 0.2) 1.2px, transparent 1.6px),
    radial-gradient(circle, rgba(var(--dex-yellow-rgb), 0.22) 1.2px, transparent 1.6px),
    radial-gradient(circle at 16% 24%, rgba(var(--dex-blue-rgb), 0.18), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(var(--dex-yellow-rgb), 0.22), transparent 24%),
    radial-gradient(circle at 50% 86%, rgba(var(--dex-blue-dark-rgb), 0.12), transparent 34%) !important;
  background-position:
    0 0,
    14px 14px,
    center,
    center,
    center !important;
  background-size:
    28px 28px,
    28px 28px,
    auto,
    auto,
    auto !important;
}

.rt-hero-v1-shape,
.rt-hero-v1-glow-image,
.rt-hero-micro-v1,
.rt-hero-micro-v4,
.rt-hero-v1-circule {
  position: absolute !important;
  pointer-events: none;
}

.rt-hero-v1::before {
  content: "";
  position: absolute;
  top: clamp(58px, 7vw, 108px);
  right: clamp(-420px, -21vw, -150px);
  z-index: 0;
  width: clamp(560px, 62vw, 1120px);
  aspect-ratio: 419 / 454;
  background: url("/assets/dex-icon-blue.svg") center / contain no-repeat;
  opacity: 0.14;
  pointer-events: none;
}

.rt-hero-v1 > * {
  position: relative;
  z-index: 1;
}

.rt-hero-v1 .rt-container,
.rt-hero-v1-heading-main {
  height: auto !important;
  min-height: 0 !important;
}

.rt-hero-v1-heading-main {
  transform: translateY(clamp(-34px, -3vw, -18px));
}

.rt-nav {
  box-shadow: 0 10px 60px rgba(var(--dex-blue-rgb), 0.12) !important;
}

.rt-top-nav {
  position: sticky !important;
  top: 0;
  z-index: 9999;
  transform: none !important;
}

.rt-top-nav .rt-nav {
  transform: none !important;
  opacity: 1 !important;
}

.rt-top-nav.dex-is-scrolling .rt-navbar-menu-dropdown,
.rt-top-nav.dex-is-scrolling .rt-pages-menu,
.rt-top-nav.dex-is-scrolling .w-dropdown-list,
.rt-top-nav.dex-is-scrolling .w-nav-overlay {
  display: none !important;
  opacity: 0 !important;
  transform: translateY(-8px) !important;
  pointer-events: none !important;
}

.rt-navbar-logo,
.rt-logo-link {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 230px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--dex-blue-dark);
}

.rt-navbar-logo img,
.rt-footer-logo img {
  width: 190px !important;
  height: auto !important;
  object-fit: contain;
}

.rt-footer-logo .rt-logo-link {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.dex-workflow-carousel {
  position: absolute;
  top: 34%;
  left: 22%;
  z-index: 5;
  width: 61%;
  overflow: hidden;
  padding: 10px 6px 16px;
  border-radius: 8px;
  background: rgba(237, 244, 255, 0.82);
  box-shadow: 0 18px 45px rgba(var(--dex-blue-rgb), 0.08);
  backdrop-filter: blur(3px);
  pointer-events: none;
}

.dex-workflow-carousel::before,
.dex-workflow-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 64px;
  pointer-events: none;
}

.dex-workflow-carousel::before {
  left: 0;
  background: linear-gradient(90deg, rgba(237, 244, 255, 0.98), rgba(237, 244, 255, 0));
}

.dex-workflow-carousel::after {
  right: 0;
  background: linear-gradient(270deg, rgba(237, 244, 255, 0.98), rgba(237, 244, 255, 0));
}

.dex-workflow-track {
  --dex-workflow-index: 0;
  --dex-workflow-card-width: clamp(138px, 13vw, 176px);
  --dex-workflow-gap: clamp(16px, 2vw, 30px);
  display: flex;
  gap: var(--dex-workflow-gap);
  align-items: stretch;
  transform: translateX(calc(var(--dex-workflow-index) * -1 * (var(--dex-workflow-card-width) + var(--dex-workflow-gap))));
  animation: dexWorkflowSlide 15s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  transition: transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

@keyframes dexWorkflowSlide {
  0%,
  16% {
    transform: translateX(0);
  }

  20%,
  36% {
    transform: translateX(calc(-1 * (var(--dex-workflow-card-width) + var(--dex-workflow-gap))));
  }

  40%,
  56% {
    transform: translateX(calc(-2 * (var(--dex-workflow-card-width) + var(--dex-workflow-gap))));
  }

  60%,
  76% {
    transform: translateX(calc(-3 * (var(--dex-workflow-card-width) + var(--dex-workflow-gap))));
  }

  80%,
  96% {
    transform: translateX(calc(-4 * (var(--dex-workflow-card-width) + var(--dex-workflow-gap))));
  }

  100% {
    transform: translateX(0);
  }
}

.dex-workflow-card {
  position: relative;
  flex: 0 0 var(--dex-workflow-card-width);
  min-height: clamp(132px, 12vw, 168px);
  padding: 20px 16px 17px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.12);
  border-radius: 8px;
  background: var(--dex-white);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  color: var(--dex-text-secondary);
  transform: translateY(0);
  transition: box-shadow 300ms ease, border-color 300ms ease, transform 300ms ease;
}

.dex-workflow-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(-1 * var(--dex-workflow-gap));
  width: var(--dex-workflow-gap);
  height: 2px;
  background: linear-gradient(90deg, rgba(var(--dex-blue-rgb), 0.24), rgba(var(--dex-blue-rgb), 0.08));
}

.dex-workflow-card:last-child::after {
  display: none;
}

.dex-workflow-card.is-active {
  border-color: var(--dex-blue);
  box-shadow: 0 15px 34px rgba(var(--dex-blue-rgb), 0.22);
  transform: translateY(-3px);
}

.dex-workflow-step-number {
  position: absolute;
  top: 10px;
  left: 10px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid var(--dex-white);
  border-radius: 999px;
  background: var(--dex-blue);
  color: var(--dex-white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(var(--dex-blue-rgb), 0.28);
}

.dex-workflow-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--dex-blue), var(--dex-blue-dark));
  color: var(--dex-white);
  font-size: 16px;
  font-weight: 800;
}

.dex-workflow-card:nth-child(2) .dex-workflow-icon {
  background: linear-gradient(135deg, var(--dex-blue-dark), var(--dex-blue));
}

.dex-workflow-card:nth-child(3) .dex-workflow-icon {
  background: linear-gradient(135deg, var(--dex-blue), #0f766e);
}

.dex-workflow-card:nth-child(4) .dex-workflow-icon {
  background: linear-gradient(135deg, var(--dex-yellow), #d97706);
}

.dex-workflow-card:nth-child(5) .dex-workflow-icon {
  background: linear-gradient(135deg, var(--dex-blue-dark), #0f766e);
}

.dex-workflow-card:nth-child(6) .dex-workflow-icon {
  background: linear-gradient(135deg, var(--dex-yellow), var(--dex-blue));
}

.dex-workflow-card:nth-child(7) .dex-workflow-icon {
  background: linear-gradient(135deg, #0f766e, var(--dex-blue-dark));
}

.dex-workflow-kicker {
  margin-bottom: 6px;
  color: var(--dex-blue-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.dex-workflow-card h3 {
  margin: 0 0 6px;
  color: var(--dex-text);
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 800;
  line-height: 1.15;
}

.dex-workflow-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--dex-text-muted);
  font-size: clamp(12px, 0.95vw, 14px);
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media screen and (max-width: 767px) {
  .rt-navbar-logo,
  .rt-logo-link {
    max-width: 190px;
    padding: 7px 10px;
  }

  .rt-navbar-logo img,
  .rt-footer-logo img {
    width: 150px !important;
  }

  .rt-hero-v1::before {
    top: 86px;
    right: -330px;
    left: auto;
    width: 620px;
    opacity: 0.1;
  }

  .dex-workflow-carousel {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dex-workflow-track {
    animation: none;
  }
}

.rt-footer,
.rt-cta-v1,
.rt-pages-menu-left {
  background: linear-gradient(135deg, var(--dex-blue-dark), var(--dex-blue));
}

/* Retired landing-page sections: prevent pre-config layout flash. */
.rt-cases-v1,
.rt-benefits-v1,
.rt-faq-v1 {
  display: none !important;
}

.rt-footer-overlay,
.rt-cta-v1-container {
  background: transparent;
}

.rt-cta-v1 {
  position: relative;
  overflow: hidden;
}

.rt-cta-v1::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 86% 8%, rgba(var(--dex-yellow-rgb), 0.18), transparent 24%),
    radial-gradient(circle at 12% 72%, rgba(34, 211, 238, 0.16), transparent 28%);
  pointer-events: none;
}

.rt-cta-v1 > * {
  position: relative;
  z-index: 1;
}

.dex-partner-program {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  padding: clamp(36px, 5vw, 72px) 0;
  color: var(--dex-white);
}

.dex-partner-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.76fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.dex-partner-hero h2 {
  max-width: 760px;
  color: var(--dex-white);
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.02;
}

.dex-partner-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
}

.dex-partner-highlight {
  color: var(--dex-yellow) !important;
  font-weight: 900;
}

.dex-partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
}

.dex-partner-secondary-link {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  color: var(--dex-white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
  text-decoration: none;
}

.dex-partner-metrics {
  display: grid;
  gap: 14px;
}

.dex-partner-metrics article,
.dex-partner-benefits article,
.dex-partner-tiers article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 18px 48px rgba(3, 7, 18, 0.18);
  backdrop-filter: blur(14px);
}

.dex-partner-metrics article {
  padding: 20px;
}

.dex-partner-metrics strong {
  display: block;
  color: var(--dex-yellow);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1;
}

.dex-partner-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--dex-white);
  font-size: 16px;
  font-weight: 900;
}

.dex-partner-metrics p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.45;
}

.dex-partner-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dex-partner-benefits article {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 190px;
  padding: 22px;
}

.dex-partner-benefits article > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  color: var(--dex-blue-dark);
  background: var(--dex-white);
}

.dex-partner-benefits svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 2.1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dex-partner-benefits strong {
  color: var(--dex-white);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.dex-partner-benefits p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.5;
}

.dex-partner-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dex-partner-tiers article {
  padding: 24px;
  background:
    radial-gradient(circle at 88% 12%, rgba(var(--dex-yellow-rgb), 0.16), transparent 28%),
    rgba(255, 255, 255, 0.1);
}

.dex-partner-tiers small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dex-partner-tiers h3 {
  margin: 12px 0 0;
  color: var(--dex-white);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.16;
}

.dex-partner-tiers strong {
  display: inline-flex;
  margin: 16px 0 12px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--dex-blue-dark);
  background: var(--dex-yellow);
  font-size: 15px;
  font-weight: 900;
}

.dex-partner-tiers p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.52;
}

.rt-cta-v1 {
  background:
    linear-gradient(90deg, rgba(var(--dex-blue-rgb), 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(var(--dex-blue-rgb), 0.06) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(var(--dex-blue-rgb), 0.12), transparent 34%),
    var(--dex-surface) !important;
  background-size: 34px 34px, 34px 34px, auto, auto !important;
}

.dex-partner-program {
  gap: 24px;
  margin: clamp(18px, 3vw, 42px) 0;
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid rgba(var(--dex-blue-dark-rgb), 0.24);
  border-radius: clamp(28px, 3vw, 42px);
  background: rgba(255, 255, 255, 0.94);
  color: var(--dex-text);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.12);
}

.dex-partner-heading {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto 10px;
  text-align: center;
}

.dex-partner-heading .rt-sub-text {
  color: var(--dex-blue) !important;
}

.dex-partner-heading h2 {
  color: var(--dex-text) !important;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.02;
}

.dex-partner-heading p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--dex-text-secondary);
  font-size: clamp(16px, 1.28vw, 18px);
  line-height: 1.55;
}

.dex-partner-heading .dex-partner-highlight {
  color: var(--dex-blue-dark) !important;
}

.dex-partner-actions {
  justify-content: center;
  margin-top: 8px;
}

.dex-partner-secondary-link {
  border-color: rgba(var(--dex-blue-rgb), 0.18);
  color: var(--dex-blue-dark);
  background: rgba(var(--dex-blue-rgb), 0.06);
}

.dex-partner-tiers {
  gap: 0;
  padding: 16px;
  border: 1px solid rgba(var(--dex-blue-dark-rgb), 0.2);
  border-radius: 26px;
  background: var(--dex-white);
}

.dex-partner-tiers article {
  display: flex;
  min-height: 620px;
  flex-direction: column;
  padding: clamp(24px, 2.8vw, 34px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.dex-partner-tiers article.is-recommended {
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 8%, rgba(var(--dex-yellow-rgb), 0.14), transparent 22%),
    linear-gradient(135deg, rgba(var(--dex-blue-rgb), 0.1), rgba(var(--dex-blue-rgb), 0.04));
}

.dex-partner-tier-top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.dex-partner-tier-top > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: var(--dex-blue);
  background: rgba(var(--dex-blue-rgb), 0.09);
}

.dex-partner-tier-top svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dex-partner-tier-top small {
  color: var(--dex-text-muted);
  letter-spacing: 0;
  text-transform: none;
}

.dex-partner-tier-top b {
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--dex-white);
  background: linear-gradient(135deg, var(--dex-blue), var(--dex-blue-dark));
  box-shadow: 0 12px 28px rgba(var(--dex-blue-rgb), 0.18);
  font-size: 12px;
  font-weight: 900;
}

.dex-partner-tiers h3 {
  margin: 0;
  color: var(--dex-text);
  font-size: clamp(24px, 2.2vw, 34px);
}

.dex-partner-tiers p {
  margin: 18px 0 0;
  color: var(--dex-text-secondary);
  font-size: 15px;
}

.dex-partner-commission {
  margin: 24px 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(var(--dex-blue-dark-rgb), 0.18);
}

.dex-partner-commission strong {
  display: inline;
  margin: 0;
  padding: 0;
  border-radius: 0;
  color: var(--dex-blue);
  background: transparent;
  font-size: clamp(42px, 4vw, 58px);
  line-height: 1;
}

.dex-partner-commission span {
  margin-left: 8px;
  color: var(--dex-text-muted);
  font-weight: 900;
}

.dex-partner-tiers ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dex-partner-tiers li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--dex-text-secondary);
  font-weight: 800;
  line-height: 1.35;
}

.dex-partner-tiers li svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--dex-blue-dark);
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dex-partner-tiers article > a {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 8px;
  color: var(--dex-white);
  background: var(--dex-blue-dark);
  font-weight: 900;
  text-decoration: none;
}

.dex-partner-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dex-partner-metrics article {
  border-color: rgba(var(--dex-blue-rgb), 0.12);
  background: rgba(var(--dex-blue-rgb), 0.05);
  box-shadow: none;
}

.dex-partner-metrics strong {
  color: var(--dex-blue);
}

.dex-partner-metrics span {
  color: var(--dex-text);
}

.dex-partner-metrics p {
  color: var(--dex-text-secondary);
}

/* DeX Channel Partner Program v2 */
.dex-partner-program-v2 {
  gap: clamp(64px, 8vw, 110px);
  padding: clamp(54px, 7vw, 92px) clamp(22px, 4vw, 56px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 5% 5%, rgba(var(--dex-blue-rgb), 0.09), transparent 24%),
    radial-gradient(circle at 96% 96%, rgba(var(--dex-yellow-rgb), 0.13), transparent 25%),
    rgba(255, 255, 255, 0.96);
}

.dex-partner-v2-heading {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.dex-partner-v2-heading .rt-sub-text,
.dex-partner-value-section > header small,
.dex-partner-tier-section > header small {
  color: var(--dex-blue-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dex-partner-v2-heading h2 {
  margin: 14px 0 0;
  color: var(--dex-text);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.04;
}

.dex-partner-v2-heading h2 span {
  display: block;
  color: var(--dex-blue);
  font-weight: 750;
}

.dex-partner-v2-heading > p {
  max-width: 830px;
  margin: 22px auto 0;
  color: var(--dex-text-secondary);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  line-height: 1.58;
}

.dex-partner-trust {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 18px 24px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.14);
  border-radius: 18px;
  background: rgba(var(--dex-blue-rgb), 0.035);
}

.dex-partner-trust-wrap {
  display: grid;
  gap: 14px;
}

.dex-partner-trust-label {
  color: var(--dex-text-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.dex-partner-trust b {
  display: grid;
  min-height: 44px;
  place-items: center;
  padding: 8px;
  border-left: 1px solid rgba(var(--dex-blue-rgb), 0.12);
  color: var(--dex-text-secondary);
  font-size: 12px;
  text-align: center;
}

.dex-partner-value-section > header,
.dex-partner-tier-section > header {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}

.dex-partner-value-section > header h3,
.dex-partner-tier-section > header h3 {
  margin: 10px 0 0;
  color: var(--dex-text);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
}

.dex-partner-value-section > header h3 span { color: var(--dex-blue); }

.dex-partner-value-section > header p,
.dex-partner-tier-section > header p {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--dex-text-secondary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.dex-partner-value-map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(128px, auto));
  gap: 16px 34px;
  align-items: stretch;
}

.dex-partner-value-map::before,
.dex-partner-value-map::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 23%;
  left: 23%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--dex-blue-rgb), 0.28), rgba(var(--dex-yellow-rgb), 0.35), transparent);
  pointer-events: none;
}

.dex-partner-value-map::after { transform: rotate(90deg); }

.dex-partner-core {
  position: relative;
  z-index: 2;
  display: grid;
  grid-column: 2;
  grid-row: 1 / 4;
  width: 230px;
  height: 230px;
  place-items: center;
  align-self: center;
  justify-self: center;
  padding: 42px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.24);
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 45%, rgba(var(--dex-blue-rgb), 0.08) 46% 62%, rgba(var(--dex-yellow-rgb), 0.12) 63% 100%);
  box-shadow: 0 24px 60px rgba(var(--dex-blue-rgb), 0.16);
  text-align: center;
}

.dex-partner-core > i {
  position: absolute;
  inset: -13px;
  border: 1px dashed rgba(var(--dex-blue-rgb), 0.25);
  border-radius: 50%;
  animation: dexPartnerOrbit 22s linear infinite;
}

.dex-partner-core > i:nth-child(2) { inset: -30px; border-color: rgba(var(--dex-yellow-rgb), 0.28); animation-direction: reverse; animation-duration: 28s; }
.dex-partner-core > i:nth-child(3) { inset: 26px; border-style: solid; border-color: rgba(var(--dex-blue-rgb), 0.12); animation-duration: 16s; }

.dex-partner-core > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, var(--dex-blue), var(--dex-blue-dark));
  box-shadow: 0 12px 30px rgba(var(--dex-blue-rgb), 0.3);
}

.dex-partner-core svg,
.dex-partner-value-map article svg,
.dex-partner-v2-tiers svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dex-partner-core > strong { color: var(--dex-text); font-size: 17px; line-height: 1.1; }
.dex-partner-core > small { color: var(--dex-blue-dark); font-size: 9px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }

.dex-partner-value-map > article {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.15);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.dex-partner-value-map > article:hover {
  border-color: rgba(var(--dex-blue-rgb), 0.35);
  box-shadow: 0 18px 42px rgba(var(--dex-blue-rgb), 0.12);
  transform: translateY(-3px);
}

.dex-partner-value-map > article:nth-of-type(1),
.dex-partner-value-map > article:nth-of-type(3),
.dex-partner-value-map > article:nth-of-type(5) { grid-column: 1; }
.dex-partner-value-map > article:nth-of-type(2),
.dex-partner-value-map > article:nth-of-type(4),
.dex-partner-value-map > article:nth-of-type(6) { grid-column: 3; }
.dex-partner-value-map > article:nth-of-type(1), .dex-partner-value-map > article:nth-of-type(2) { grid-row: 1; }
.dex-partner-value-map > article:nth-of-type(3), .dex-partner-value-map > article:nth-of-type(4) { grid-row: 2; }
.dex-partner-value-map > article:nth-of-type(5), .dex-partner-value-map > article:nth-of-type(6) { grid-row: 3; }

.dex-partner-value-map > article > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  color: var(--dex-blue);
  background: rgba(var(--dex-blue-rgb), 0.08);
}

.dex-partner-value-map > article:nth-of-type(even) > span {
  color: #9a6700;
  background: rgba(var(--dex-yellow-rgb), 0.17);
}

.dex-partner-value-map article strong { color: var(--dex-text); font-size: 16px; }
.dex-partner-value-map article p { margin: 7px 0 0; color: var(--dex-text-secondary); font-size: 12px; font-weight: 600; line-height: 1.45; }

.dex-partner-tier-section {
  padding-top: clamp(58px, 7vw, 90px);
  border-top: 1px solid rgba(var(--dex-blue-rgb), 0.13);
}

.dex-partner-v2-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dex-partner-v2-tiers > article {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.17);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.dex-partner-v2-tiers > article::after {
  content: "";
  position: absolute;
  top: -95px;
  right: -85px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(var(--dex-blue-rgb), 0.025);
}

.dex-partner-v2-tiers > article:nth-child(2) {
  border-color: rgba(var(--dex-yellow-rgb), 0.45);
  background: linear-gradient(145deg, #fff, rgba(var(--dex-yellow-rgb), 0.07));
}

.dex-partner-v2-tiers > article > header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 30px;
  gap: 11px;
  align-items: center;
}

.dex-partner-v2-tiers > article > header > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, var(--dex-blue), var(--dex-blue-dark));
  font-size: 13px;
  font-weight: 900;
}

.dex-partner-v2-tiers > article:nth-child(2) > header > span { color: var(--dex-text); background: var(--dex-yellow); }
.dex-partner-v2-tiers > article > header small { color: var(--dex-text-muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.dex-partner-v2-tiers > article > header > svg { color: var(--dex-blue); }
.dex-partner-v2-tiers h4 { position: relative; z-index: 1; margin: 26px 0 0; color: var(--dex-text); font-size: clamp(24px, 2.3vw, 34px); line-height: 1.08; }

.dex-partner-v2-tiers ul { display: grid; gap: 14px; margin: 28px 0; padding: 0; list-style: none; }
.dex-partner-v2-tiers li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; color: var(--dex-text-secondary); font-size: 13px; font-weight: 700; line-height: 1.4; }
.dex-partner-v2-tiers li svg { width: 18px; height: 18px; color: var(--dex-blue); }

.dex-partner-v2-tiers > article > a {
  display: flex;
  min-height: 48px;
  gap: 9px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.2);
  border-radius: 10px;
  color: var(--dex-blue-dark);
  background: rgba(var(--dex-blue-rgb), 0.05);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.dex-partner-v2-tiers > article > a svg { width: 17px; height: 17px; }

@keyframes dexPartnerOrbit { to { transform: rotate(360deg); } }

@media screen and (max-width: 1100px) {
  .dex-partner-value-map { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 14px; }
  .dex-partner-value-map::before,
  .dex-partner-value-map::after { display: none; }
  .dex-partner-core { grid-column: 1 / -1; grid-row: auto; width: 210px; height: 210px; margin: 20px auto 34px; }
  .dex-partner-value-map > article:nth-of-type(n) { grid-column: auto; grid-row: auto; }
}

@media screen and (max-width: 767px) {
  .dex-partner-program-v2 { gap: 54px; padding: 42px 14px; }
  .dex-partner-v2-heading h2 { font-size: 36px; }
  .dex-partner-v2-heading > p { font-size: 15px; }
  .dex-partner-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px; }
  .dex-partner-trust b { min-height: 38px; border: 1px solid rgba(var(--dex-blue-rgb), 0.1); border-radius: 8px; }
  .dex-partner-trust b:last-child { grid-column: 1 / -1; }
  .dex-partner-value-section > header,
  .dex-partner-tier-section > header { margin-bottom: 28px; }
  .dex-partner-value-section > header h3,
  .dex-partner-tier-section > header h3 { font-size: 31px; }
  .dex-partner-value-section > header p,
  .dex-partner-tier-section > header p { font-size: 14px; }
  .dex-partner-value-map { grid-template-columns: 1fr; }
  .dex-partner-core { grid-column: 1; width: 185px; height: 185px; padding: 34px; }
  .dex-partner-value-map > article { grid-template-columns: 42px minmax(0, 1fr); padding: 18px; }
  .dex-partner-value-map > article > span { width: 42px; height: 42px; }
  .dex-partner-v2-tiers { grid-template-columns: 1fr; }
  .dex-partner-v2-tiers > article { min-height: 0; padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .dex-partner-program-v2 *,
  .dex-partner-program-v2 *::before,
  .dex-partner-program-v2 *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

.rt-faq-v1 {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--dex-blue-rgb), 0.11), transparent 28%),
    linear-gradient(180deg, var(--dex-surface), var(--dex-white));
}

.dex-page-links-section {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.dex-page-links-heading {
  max-width: 820px;
}

.dex-page-links-heading h2 {
  margin: 0;
  color: var(--dex-text);
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1.03;
}

.dex-page-links-heading p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--dex-text-secondary);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
}

.dex-page-links-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.dex-page-link-card {
  position: relative;
  display: grid;
  grid-column: span 3;
  min-height: 238px;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-content: start;
  padding: clamp(22px, 2.3vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--dex-text);
  text-decoration: none;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.dex-page-link-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -46px;
  width: 146px;
  height: 146px;
  border-radius: 999px;
  background: rgba(var(--dex-blue-rgb), 0.07);
  pointer-events: none;
}

.dex-page-link-card:hover {
  border-color: rgba(var(--dex-blue-rgb), 0.28);
  box-shadow: 0 24px 62px rgba(var(--dex-blue-rgb), 0.14);
  transform: translateY(-5px);
}

.dex-page-link-card.is-featured {
  background:
    radial-gradient(circle at 88% 12%, rgba(var(--dex-yellow-rgb), 0.16), transparent 26%),
    linear-gradient(135deg, var(--dex-white), rgba(var(--dex-blue-rgb), 0.08));
}

.dex-page-link-card:nth-child(n + 5) {
  grid-column: span 4;
}

.dex-page-link-card > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  color: var(--dex-white);
  background: linear-gradient(135deg, var(--dex-blue), var(--dex-blue-dark));
  box-shadow: 0 14px 34px rgba(var(--dex-blue-rgb), 0.2);
}

.dex-page-link-card svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 2.1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dex-page-link-card small {
  display: block;
  margin-bottom: 9px;
  color: var(--dex-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.dex-page-link-card h3 {
  margin: 0;
  color: var(--dex-text);
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 900;
  line-height: 1.12;
}

.dex-page-link-card p {
  margin: 12px 0 0;
  color: var(--dex-text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.dex-page-link-card > i {
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  color: var(--dex-blue);
  background: rgba(var(--dex-blue-rgb), 0.09);
  font-style: normal;
  font-weight: 900;
}

.rt-sub-text,
.rt-topbar-text {
  color: var(--dex-blue-dark);
}

.rt-topbar-text-wrap,
.rt-sub-text {
  background-color: transparent !important;
}

.rt-sub-text {
  padding-right: 0 !important;
  padding-left: 0 !important;
  border-radius: 0 !important;
}

.rt-button-v1,
.w-button {
  color: var(--dex-white);
  background: var(--dex-blue);
  border-color: var(--dex-blue);
}

.rt-button-v1-main:hover .rt-button-v1,
.rt-button-v1:hover,
.w-button:hover {
  color: var(--dex-text);
  background: var(--dex-yellow);
  border-color: var(--dex-yellow);
}

.rt-button-overlay {
  background: var(--dex-yellow);
}

.rt-button-v1-main,
.rt-text-small,
.icon-btn,
.icon,
.card,
.similar-panel,
.floating-popup {
  color: var(--dex-text-secondary);
}

.rt-button-v1-main[data-wf--rt-button-v1--variant="border-white"] .rt-button-v1,
.rt-button-v1.w-variant-5e696b0d-9bae-1fea-72c4-88c2e9146baf {
  color: var(--dex-white);
  background: transparent;
  border-color: var(--dex-white);
}

.rt-button-v1-main[data-wf--rt-button-v1--variant="border-white"]:hover .rt-button-v1,
.rt-button-v1.w-variant-5e696b0d-9bae-1fea-72c4-88c2e9146baf:hover {
  color: var(--dex-text);
  background: var(--dex-yellow);
  border-color: var(--dex-yellow);
}

.rt-navbar-dropdown-toggle:hover .rt-menu-text,
.rt-navbar-dropdown-toggle.w--open .rt-menu-text,
.rt-nav-menu-link:hover,
.rt-pages-menu-link-wrap:hover .rt-nav-menu-link,
.rt-pages-menu-link-wrap:hover .rt-nav-link {
  color: var(--dex-blue);
}

.dex-header-dropdown {
  position: relative;
}

.rt-navbar-wrapper {
  display: flex;
  align-items: center;
}

.rt-navbar-v1-menu-desktop {
  position: absolute;
  left: 50%;
  top: 50%;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
  transform: translate(-50%, -50%);
  justify-content: center;
}

.dex-header-dropdown:hover > .w-dropdown-list,
.dex-header-dropdown:focus-within > .w-dropdown-list {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dex-header-simple-menu {
  min-width: 260px;
  padding: 10px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.12);
  border-radius: 12px;
  background: var(--dex-white);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.dex-header-simple-menu .rt-nav-menu-link {
  display: block;
  border-radius: 9px;
  color: var(--dex-blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.dex-header-simple-menu .rt-nav-menu-link:hover {
  color: var(--dex-text);
  background: rgba(var(--dex-yellow-rgb), 0.18);
}

.dex-header-about-dropdown .dex-header-simple-menu {
  min-width: 285px;
}

.dex-header-mega-menu {
  min-width: min(760px, calc(100vw - 40px));
}

.dex-header-mega-wrap {
  align-items: stretch;
}

.dex-header-menu-left {
  background: linear-gradient(145deg, var(--dex-blue), var(--dex-blue-dark));
}

.dex-header-menu-mark {
  display: grid;
  width: 48px !important;
  height: 48px !important;
  place-items: center;
}

.dex-header-menu-mark img {
  width: 42px !important;
  max-width: 42px !important;
  height: 42px !important;
  object-fit: contain;
}

.dex-header-menu-grid {
  flex: 1;
}

.dex-header-menu-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 10px;
  color: var(--dex-blue);
  background: rgba(var(--dex-blue-rgb), 0.08);
}

.dex-header-menu-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dex-header-mega-menu .rt-pages-menu-link-wrap:hover .dex-header-menu-icon {
  color: var(--dex-text);
  background: var(--dex-yellow);
}

.dex-header-access-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 10px;
  color: var(--dex-text);
  line-height: 1;
  white-space: nowrap;
}

@media screen and (max-width: 991px) {
  .rt-navbar-v1-menu-desktop {
    position: static;
    transform: none;
  }
}

.rt-navbar-menu-dropdown,
.rt-pages-menu-link-wrap,
.rt-faq-item,
.rt-testimonials-item,
.rt-benefits-card-wrap,
.rt-feature-v1-card,
.rt-cases-v1-main,
.rt-ai-agents-v1-left-part,
.rt-choose-v1-content-box {
  border-color: var(--dex-surface-secondary);
}

.rt-hero-v1-circule,
.rt-topbar-circlule-v1,
.rt-cases-v1-icon-wrap,
.rt-benefits-icon-wrap,
.rt-faq-icon-wrapper {
  background-color: var(--dex-yellow);
}

.rt-hero-v1-circule.rt-two,
.rt-hero-v1-circule.rt-three,
.rt-hero-v1-circule.rt-four {
  background-color: var(--dex-blue);
}

.rt-footer-top-line,
.rt-footer-bottom-line {
  background-color: rgba(255, 255, 255, 0.24);
}

.rt-feature-card-gradient {
  background-image: linear-gradient(90deg, rgba(var(--dex-blue-rgb), 0.1), rgba(var(--dex-yellow-rgb), 0.12)) !important;
}

.rt-feature-v1 {
  position: relative;
  overflow: hidden;
}

.rt-feature-v1::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(var(--dex-blue-rgb), 0.12), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(var(--dex-yellow-rgb), 0.18), transparent 24%);
  pointer-events: none;
}

.rt-testimonial-v1 {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--dex-white), rgba(var(--dex-blue-rgb), 0.04));
}

.rt-testimonial-v1-marquee-main {
  align-items: stretch;
  mask-image: linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
}

.rt-testimonial-marquee.dex-client-story-marquee {
  gap: 18px;
}

.dex-client-story-train {
  gap: 18px;
  will-change: transform;
}

.dex-client-story-marquee .dex-client-story-train.rt-up {
  animation: dexClientStoryUp 42s linear infinite;
}

.dex-client-story-marquee .dex-client-story-train.rt-down {
  animation: dexClientStoryDown 42s linear infinite;
}

.dex-client-story-marquee:hover .dex-client-story-train {
  animation-play-state: paused;
}

.dex-client-story-card {
  position: relative;
  display: flex;
  height: 380px !important;
  min-height: 380px;
  padding: 26px;
  overflow: hidden;
  flex-direction: column;
  gap: 17px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.12);
  background:
    radial-gradient(circle at 86% 0%, rgba(var(--dex-yellow-rgb), 0.16), transparent 32%),
    linear-gradient(180deg, var(--dex-white), rgba(var(--dex-blue-rgb), 0.035));
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.dex-client-story-head {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 68px;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.dex-story-brand {
  display: flex;
  width: 150px;
  height: 66px;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 13px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.14);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.dex-story-brand img {
  width: 126px;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}

.dex-story-wordmark {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--dex-blue-dark);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.dex-story-wordmark i {
  display: grid;
  min-width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: var(--dex-text);
  background: var(--dex-yellow);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0;
}

.dex-client-story-head > small {
  max-width: 130px;
  color: var(--dex-text-muted);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
}

.dex-client-story-card h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--dex-text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.28;
}

.dex-client-story-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--dex-text-secondary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.58;
}

.dex-client-story-card p > span {
  display: inline-block;
  margin-right: 5px;
  color: var(--dex-yellow);
  font-size: 25px;
  font-weight: 900;
  line-height: 0;
  transform: translateY(5px);
}

@media screen and (max-width: 767px) {
  .dex-client-story-card {
    height: 420px !important;
    min-height: 420px;
    padding: 22px 18px;
  }

  .dex-client-story-head { align-items: flex-start; flex-direction: column; }
  .dex-client-story-head > small { max-width: 100%; text-align: left; }
  .dex-client-story-card h3 { font-size: 17px; }
}

@keyframes dexClientStoryUp {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

@keyframes dexClientStoryDown {
  from {
    transform: translateY(-50%);
  }

  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dex-client-story-marquee .dex-client-story-train {
    animation: none;
  }
}

.rt-feature-v1 > * {
  position: relative;
  z-index: 1;
}

.dex-architecture-heading {
  max-width: 880px;
  margin: 0 auto clamp(34px, 5vw, 58px);
  text-align: center;
}

.dex-architecture-heading h2 {
  margin: 0;
  color: var(--dex-text);
}

.dex-architecture-heading p {
  max-width: 780px;
  margin: 18px auto 0;
  color: var(--dex-text-secondary);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
}

.dex-architecture-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.dex-architecture-card {
  position: relative;
  grid-column: span 3;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.11);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.07);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.dex-architecture-card::after {
  content: "";
  position: absolute;
  right: -44px;
  top: -48px;
  width: 142px;
  height: 142px;
  border-radius: 999px;
  background: rgba(var(--dex-blue-rgb), 0.08);
  pointer-events: none;
}

.dex-architecture-card:hover {
  border-color: rgba(var(--dex-blue-rgb), 0.24);
  box-shadow: 0 24px 58px rgba(var(--dex-blue-rgb), 0.13);
  transform: translateY(-5px);
}

.dex-architecture-card.is-featured {
  background:
    radial-gradient(circle at 92% 8%, rgba(var(--dex-yellow-rgb), 0.22), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.92));
}

.dex-architecture-card:nth-child(n + 5) {
  grid-column: span 4;
}

.dex-architecture-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.dex-architecture-card-top > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  color: var(--dex-white);
  background: linear-gradient(135deg, var(--dex-blue), var(--dex-blue-dark));
  box-shadow: 0 14px 28px rgba(var(--dex-blue-rgb), 0.22);
}

.dex-architecture-card svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dex-architecture-card h3 {
  margin: 0 0 10px;
  color: var(--dex-text);
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 900;
  line-height: 1.08;
}

.dex-architecture-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--dex-blue);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.dex-architecture-card p {
  margin: 0 0 20px;
  color: var(--dex-text-secondary);
  font-size: 14px;
  line-height: 1.58;
}

.dex-architecture-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dex-architecture-card li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: var(--dex-text-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.dex-architecture-card li svg {
  width: 16px;
  height: 16px;
  color: var(--dex-blue);
}

.rt-benefits-card-wrap .dex-benefit-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.16);
  border-radius: 18px;
  color: var(--dex-blue);
  background:
    radial-gradient(circle at 72% 20%, rgba(var(--dex-yellow-rgb), 0.2), transparent 34%),
    linear-gradient(135deg, var(--dex-white), rgba(var(--dex-blue-rgb), 0.08));
  box-shadow: 0 14px 34px rgba(var(--dex-blue-rgb), 0.12);
}

.rt-benefits-card-wrap .dex-benefit-icon svg {
  width: 27px;
  height: 27px;
  stroke: currentColor;
  stroke-width: 2.1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dex-scroll-reveal .dex-architecture-heading,
.dex-scroll-reveal .dex-architecture-card,
.dex-scroll-reveal .dex-phase-visual,
.dex-scroll-reveal .dex-phase-copy {
  opacity: 0;
  transform: translateY(34px);
}

.dex-scroll-reveal.is-in-view .dex-architecture-heading,
.dex-scroll-reveal.is-in-view .dex-architecture-card,
.dex-scroll-reveal.is-in-view .dex-phase-visual,
.dex-scroll-reveal.is-in-view .dex-phase-copy {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 780ms ease,
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dex-scroll-reveal.is-in-view .dex-architecture-card:nth-child(1) {
  transition-delay: 90ms;
}

.dex-scroll-reveal.is-in-view .dex-architecture-card:nth-child(2) {
  transition-delay: 160ms;
}

.dex-scroll-reveal.is-in-view .dex-architecture-card:nth-child(3) {
  transition-delay: 230ms;
}

.dex-scroll-reveal.is-in-view .dex-architecture-card:nth-child(4) {
  transition-delay: 300ms;
}

.dex-scroll-reveal.is-in-view .dex-architecture-card:nth-child(5) {
  transition-delay: 370ms;
}

.dex-scroll-reveal.is-in-view .dex-architecture-card:nth-child(6) {
  transition-delay: 440ms;
}

.dex-scroll-reveal.is-in-view .dex-architecture-card:nth-child(7) {
  transition-delay: 510ms;
}

.dex-scroll-reveal.is-in-view .dex-phase-visual {
  transition-delay: 80ms;
}

.dex-scroll-reveal.is-in-view .dex-phase-copy {
  transition-delay: 220ms;
}

.dex-scroll-reveal:not(.is-in-view) .dex-phase-copy.is-ready {
  opacity: 0;
  transform: translateY(34px);
}

.dex-scroll-reveal.is-in-view .dex-architecture-card:hover {
  transform: translateY(-5px);
}

.rt-choose-us-v1 {
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-right: 0;
  padding-left: 0;
  background: var(--dex-surface);
}

.rt-choose-us-v1 .rt-container {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.dex-choose-dashboard-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.52fr) minmax(0, 1.48fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(38px, 5.2vw, 78px) clamp(28px, 5vw, 86px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: clamp(34px, 4.6vw, 72px);
  background:
    radial-gradient(circle at 16% 18%, rgba(var(--dex-blue-rgb), 0.32), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(var(--dex-yellow-rgb), 0.22), transparent 24%),
    linear-gradient(135deg, #0f235c, var(--dex-blue-dark) 48%, var(--dex-blue));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.dex-choose-dashboard-section::before,
.dex-choose-dashboard-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.dex-choose-dashboard-section::before {
  right: -90px;
  top: -120px;
  width: 340px;
  height: 340px;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(2px);
}

.dex-choose-dashboard-section::after {
  right: 26%;
  bottom: -120px;
  width: 260px;
  height: 260px;
  background: rgba(var(--dex-yellow-rgb), 0.16);
  filter: blur(18px);
}

.dex-choose-copy,
.dex-dashboard-preview {
  position: relative;
  z-index: 1;
}

.dex-choose-copy {
  color: var(--dex-white);
}

.dex-choose-copy h2 {
  max-width: 470px;
  color: var(--dex-white);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
}

.dex-choose-copy > p {
  max-width: 500px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.28vw, 18px);
  line-height: 1.5;
}

.dex-choose-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(105px, 1fr));
  gap: 12px;
  margin-top: clamp(24px, 3vw, 36px);
}

.dex-choose-benefits article {
  display: grid;
  gap: 9px;
  align-content: center;
  justify-items: center;
  min-height: 104px;
  padding: 14px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  backdrop-filter: blur(12px);
}

.dex-choose-benefits article > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--dex-blue-dark);
  background: rgba(255, 255, 255, 0.92);
}

.dex-choose-benefits svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dex-choose-benefits strong {
  display: block;
  color: var(--dex-white);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.dex-dashboard-preview {
  display: grid;
  grid-template-columns: minmax(132px, 168px) minmax(0, 1fr);
  width: min(112%, 1040px);
  min-height: 0;
  aspect-ratio: 1.72 / 1;
  justify-self: end;
  transform: translateX(58px) translateY(-2px) rotate(-1deg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  background: #eef4fb;
  box-shadow: 0 34px 88px rgba(3, 7, 18, 0.32), 0 0 0 10px rgba(255, 255, 255, 0.08);
}

.dex-dashboard-preview::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(var(--dex-blue-rgb), 0.18));
  transform: translate(18px, 20px);
}

.dex-dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 14px;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(180deg, var(--dex-blue-dark), #081636);
}

.dex-dashboard-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.dex-dashboard-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.dex-dashboard-logo strong {
  color: var(--dex-white);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.dex-dashboard-sidebar > span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dex-dashboard-sidebar > b,
.dex-dashboard-sidebar > p {
  margin: 0;
  padding: 9px 10px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
}

.dex-dashboard-sidebar > b {
  color: var(--dex-yellow);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 3px 0 0 var(--dex-yellow);
}

.dex-dashboard-health {
  margin-top: auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.dex-dashboard-health small {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.dex-dashboard-health strong {
  display: block;
  margin: 7px 0;
  color: var(--dex-yellow);
  font-size: 26px;
  font-weight: 900;
}

.dex-dashboard-health i {
  display: block;
  width: 92%;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dex-yellow), var(--dex-blue));
}

.dex-dashboard-main {
  min-width: 0;
  padding: clamp(16px, 2vw, 24px);
  overflow: hidden;
}

.dex-dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.dex-dashboard-topbar strong {
  display: block;
  color: var(--dex-text);
  font-size: clamp(22px, 2.2vw, 31px);
  font-weight: 900;
  line-height: 1.05;
}

.dex-dashboard-topbar p {
  margin: 5px 0 0;
  color: var(--dex-text-muted);
  font-size: 14px;
  font-weight: 800;
}

.dex-dashboard-topbar button {
  flex: 0 0 auto;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  color: var(--dex-white);
  background: linear-gradient(135deg, var(--dex-blue), var(--dex-blue-dark));
  box-shadow: 0 14px 28px rgba(var(--dex-blue-rgb), 0.24);
  font-weight: 900;
}

.dex-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.dex-dashboard-metrics article,
.dex-dashboard-chart,
.dex-dashboard-score {
  border: 1px solid rgba(var(--dex-blue-rgb), 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.dex-dashboard-metrics article {
  min-height: 92px;
  padding: 14px;
}

.dex-dashboard-metrics span {
  display: block;
  color: var(--dex-text-muted);
  font-size: 12px;
  font-weight: 900;
}

.dex-dashboard-metrics strong {
  display: block;
  margin: 9px 0 6px;
  color: var(--dex-text);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.dex-dashboard-metrics small {
  color: var(--dex-text-muted);
  font-size: 12px;
  line-height: 1.3;
}

.dex-dashboard-content {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(210px, 0.75fr);
  gap: 12px;
}

.dex-dashboard-chart,
.dex-dashboard-score {
  padding: 18px;
}

.dex-dashboard-chart strong,
.dex-dashboard-score strong {
  display: block;
  color: var(--dex-text);
  font-size: 22px;
  font-weight: 900;
}

.dex-dashboard-chart span,
.dex-dashboard-score span {
  color: var(--dex-text-muted);
  font-size: 13px;
  font-weight: 800;
}

.dex-dashboard-chart svg {
  width: 100%;
  height: 160px;
  margin-top: 10px;
}

.dex-dashboard-chart path {
  fill: none;
  stroke: var(--dex-blue);
  stroke-width: 7;
  stroke-linecap: round;
}

.dex-dashboard-chart circle {
  fill: var(--dex-white);
  stroke: var(--dex-blue);
  stroke-width: 6;
}

.dex-dashboard-score {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dex-dashboard-score > strong {
  font-size: 44px;
  text-align: center;
}

.dex-dashboard-score > span {
  display: block;
  margin-bottom: 28px;
  text-align: center;
}

.dex-dashboard-score p {
  margin: 0 0 18px;
  color: var(--dex-text-secondary);
  font-size: 13px;
  font-weight: 800;
}

.dex-dashboard-score b {
  display: block;
  width: 100%;
  height: 7px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dex-blue), #60a5fa 82%, rgba(var(--dex-blue-rgb), 0.08) 82%);
}

.floating-popup {
  background: var(--dex-white);
}

.floating-popup::before {
  background: linear-gradient(90deg, var(--dex-blue) 0%, var(--dex-yellow) 52%, var(--dex-blue-dark) 100%);
}

.rt-top-bar {
  display: none !important;
}

.floating-popup,
.similar-panel,
.wand-tooltip,
.w-webflow-badge {
  display: none !important;
}

.rt-navbar-logo {
  gap: 10px;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.rt-navbar-logo img {
  width: auto !important;
}

.rt-navbar-logo .dex-header-logo-full {
  width: clamp(128px, 11vw, 170px) !important;
  height: auto !important;
  object-fit: contain;
}

.dex-header-logo-text {
  display: grid;
  gap: 1px;
  color: var(--dex-text);
  line-height: 1;
}

.dex-header-logo-text strong {
  color: var(--dex-text);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
}

.dex-header-logo-text strong span {
  color: var(--dex-blue);
}

.dex-header-logo-text strong em {
  color: var(--dex-yellow);
  font-style: normal;
}

.dex-header-logo-text small {
  color: var(--dex-text-secondary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.rt-hero-v1-heading-wrap {
  position: relative;
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}

.rt-hero-v1-heading-wrap::after {
  display: none;
}

.rt-hero-v1-heading-wrap h1 {
  max-width: 930px;
  margin-right: auto;
  margin-left: auto;
  color: var(--dex-text);
}

.dex-hero-intro-copy {
  max-width: 900px;
  margin: 22px auto 0;
  color: var(--dex-text);
  font-size: clamp(18px, 1.7vw, 25px);
  font-weight: 500;
  line-height: 1.22;
}

.dex-project-workspace-shell {
  display: block !important;
  max-width: 1250px;
  min-height: auto;
  margin: clamp(14px, 2.4vw, 30px) auto 0;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.28);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(248, 251, 255, 0.94), rgba(226, 238, 255, 0.72)),
    var(--dex-surface);
  box-shadow: 0 24px 70px rgba(var(--dex-blue-rgb), 0.13);
  overflow: hidden;
}

.dex-project-workspace {
  display: block;
  min-height: auto;
  overflow: hidden;
  border-radius: 30px;
  color: var(--dex-text-secondary);
  font-family: Manrope, Inter, sans-serif;
}

.dex-hero-workflow-visual {
  position: relative;
  min-height: 390px;
  padding: clamp(24px, 3.6vw, 44px);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(var(--dex-blue-rgb), 0.16), transparent 30%),
    radial-gradient(circle at 82% 16%, rgba(var(--dex-yellow-rgb), 0.2), transparent 26%),
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 50%, #f8fbff 100%);
}

.dex-hero-workflow-visual::before,
.dex-hero-workflow-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(16px);
  pointer-events: none;
}

.dex-hero-workflow-visual::before {
  right: -72px;
  top: -62px;
  width: 210px;
  height: 210px;
  background: rgba(var(--dex-yellow-rgb), 0.26);
}

.dex-hero-workflow-visual::after {
  left: -86px;
  bottom: -84px;
  width: 250px;
  height: 250px;
  background: rgba(var(--dex-blue-rgb), 0.14);
}

.dex-hero-workflow-top,
.dex-project-flow,
.dex-hero-workflow-status {
  position: relative;
  z-index: 1;
}

.dex-hero-workflow-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.dex-hero-workflow-top span {
  display: block;
  margin-bottom: 8px;
  color: var(--dex-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dex-hero-workflow-top strong {
  display: block;
  max-width: 620px;
  color: var(--dex-text);
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 900;
  line-height: 1;
}

.dex-hero-workflow-top p {
  max-width: 360px;
  margin: 0;
  color: var(--dex-text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.dex-workspace-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 20px 16px;
  background: linear-gradient(180deg, var(--dex-blue-dark), #0f235c);
  color: var(--dex-white);
}

.dex-workspace-logo {
  display: inline-flex;
  align-items: center;
  width: 148px;
  margin-bottom: 10px;
}

.dex-workspace-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.dex-workspace-sidebar-label {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dex-workspace-nav-item {
  overflow: hidden;
  border-radius: 8px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dex-workspace-nav-item.is-active {
  color: var(--dex-yellow);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 3px 0 0 var(--dex-yellow);
}

.dex-workspace-health {
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

.dex-workspace-health div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.dex-workspace-health strong {
  color: var(--dex-yellow);
}

.dex-workspace-progress {
  height: 4px;
  margin: 6px 0 0 !important;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.dex-workspace-progress span {
  width: 86%;
  border-radius: inherit;
  background: var(--dex-yellow);
}

.dex-workspace-main {
  min-width: 0;
  padding: 0 28px 28px;
  background:
    radial-gradient(circle at 70% 18%, rgba(var(--dex-blue-rgb), 0.08), transparent 32%),
    linear-gradient(180deg, #f8fbff, #edf4ff);
}

.dex-workspace-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  margin: 0 -28px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(var(--dex-blue-rgb), 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.dex-workspace-title {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  color: var(--dex-text);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.1;
}

.dex-workspace-title span {
  color: var(--dex-text-muted);
  font-size: 18px;
}

.dex-workspace-topbar button,
.dex-problem-card button {
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
}

.dex-workspace-topbar button {
  padding: 12px 16px;
  color: var(--dex-white);
  background: linear-gradient(135deg, var(--dex-blue), var(--dex-blue-dark));
  box-shadow: 0 10px 24px rgba(var(--dex-blue-rgb), 0.22);
}

.dex-project-workspace .dex-workflow-carousel {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  margin: 30px 0 42px;
  padding: 8px 4px 14px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.dex-project-workspace .dex-workflow-carousel::before,
.dex-project-workspace .dex-workflow-carousel::after {
  width: 42px;
}

.dex-project-workspace .dex-workflow-carousel::before {
  background: linear-gradient(90deg, #f8fbff, rgba(248, 251, 255, 0));
}

.dex-project-workspace .dex-workflow-carousel::after {
  background: linear-gradient(270deg, #f8fbff, rgba(248, 251, 255, 0));
}

.dex-project-workspace .dex-workflow-track {
  --dex-workflow-card-width: clamp(144px, 15vw, 168px);
  --dex-workflow-gap: 24px;
}

.dex-project-workspace .dex-workflow-card {
  min-height: 150px;
}

.dex-project-flow {
  margin: 0;
  padding: clamp(18px, 2.4vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.1);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.9)),
    var(--dex-white);
  box-shadow: 0 18px 50px rgba(var(--dex-blue-rgb), 0.1);
  scrollbar-width: thin;
}

.dex-project-flow h3 {
  margin: 0;
  color: var(--dex-blue);
  font-size: clamp(22px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1;
}

.dex-project-flow-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.dex-project-flow-heading p {
  max-width: 420px;
  margin: 0;
  color: var(--dex-text-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-align: right;
}

.dex-project-flow-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(112px, 1fr));
  gap: clamp(9px, 1vw, 13px);
  min-width: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dex-project-workspace.is-flow-ready .dex-project-flow-row,
.dex-project-workspace.is-flow-ready .dex-hero-workflow-status {
  opacity: 1;
  transform: translateY(0);
}

.dex-project-flow-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 158px;
  appearance: none;
  flex-direction: column;
  gap: 11px;
  align-items: start;
  padding: 18px 12px 15px;
  overflow: hidden;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  color: var(--dex-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 480ms ease, border-color 480ms ease, opacity 480ms ease;
}

.dex-project-flow-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  z-index: 4;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.18);
  border-radius: 999px;
  background:
    linear-gradient(45deg, transparent 45%, var(--dex-blue) 46% 54%, transparent 55%),
    var(--dex-white);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  transform: translateY(-50%);
}

.dex-project-flow-card small {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid var(--dex-white);
  border-radius: 999px;
  color: var(--dex-white);
  background: var(--dex-blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(var(--dex-blue-rgb), 0.22);
}

.dex-project-flow-card > span {
  display: grid;
  width: 45px;
  height: 45px;
  margin-top: 3px;
  place-items: center;
  border-radius: 8px;
  color: var(--dex-white);
  background: linear-gradient(135deg, var(--dex-blue), var(--dex-blue-dark));
  box-shadow: 0 12px 24px rgba(var(--dex-blue-rgb), 0.22);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.dex-project-flow-card svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dex-project-flow-card p {
  margin: 0 0 7px;
  color: var(--dex-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.dex-project-flow-card strong {
  display: block;
  margin-bottom: 7px;
  color: var(--dex-text);
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 900;
  line-height: 1.12;
}

.dex-project-flow-card em {
  display: -webkit-box;
  overflow: hidden;
  color: var(--dex-text-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dex-project-flow-card.dex-flow-tone-yellow > span,
.dex-project-flow-card.dex-flow-tone-yellow small {
  background: linear-gradient(135deg, var(--dex-yellow), #d97706);
}

.dex-project-flow-card.dex-flow-tone-yellow p {
  color: #b45309;
}

.dex-project-flow-card.is-active {
  border-color: rgba(var(--dex-blue-rgb), 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.96));
  box-shadow: 0 24px 56px rgba(var(--dex-blue-rgb), 0.2);
  transform: translateY(-5px);
}

.dex-project-flow-card.is-active > span {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 18px 32px rgba(var(--dex-blue-rgb), 0.34),
    0 0 0 8px rgba(var(--dex-blue-rgb), 0.08);
}

.dex-project-flow-card.is-active::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dex-blue), var(--dex-yellow));
}

.dex-project-flow-card.dex-flow-tone-yellow.is-active {
  border-color: rgba(var(--dex-yellow-rgb), 0.7);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 235, 0.96));
}

.dex-hero-workflow-status {
  display: block;
  height: 690px;
  margin-top: clamp(18px, 2.6vw, 28px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 560ms ease 100ms, transform 560ms cubic-bezier(0.22, 1, 0.36, 1) 100ms;
}

.dex-stage-console {
  display: flex;
  height: 100%;
  flex-direction: column;
  min-width: 0;
  padding: clamp(16px, 2.4vw, 24px);
  overflow: hidden;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.92)),
    var(--dex-white);
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(12px);
}

.dex-stage-console-yellow {
  border-color: rgba(var(--dex-yellow-rgb), 0.36);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 235, 0.92)),
    var(--dex-white);
}

.dex-stage-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.dex-stage-console-head > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.dex-stage-console-head span {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  place-items: center;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 18px;
  color: var(--dex-white);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.42), transparent 28%),
    linear-gradient(145deg, #4f82f8, var(--dex-blue) 48%, var(--dex-blue-dark));
  box-shadow:
    0 7px 0 #16368e,
    0 18px 30px rgba(var(--dex-blue-rgb), 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transform: translateY(-3px) rotate(-4deg);
}

.dex-stage-console-yellow .dex-stage-console-head span {
  color: var(--dex-text);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.72), transparent 30%),
    linear-gradient(145deg, #ffe58a, var(--dex-yellow) 54%, #e3a20d);
  box-shadow:
    0 7px 0 #b77c00,
    0 18px 30px rgba(var(--dex-yellow-rgb), 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.dex-stage-console-head span::before,
.dex-stage-console-head span::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.dex-stage-console-head span::before {
  inset: -9px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.25);
  transform: rotate(-14deg);
}

.dex-stage-console-head span::after {
  top: -3px;
  right: 5px;
  width: 9px;
  height: 9px;
  border: 3px solid #fff;
  background: var(--dex-yellow);
  box-shadow: 0 5px 13px rgba(var(--dex-yellow-rgb), 0.35);
}

.dex-stage-console-yellow .dex-stage-console-head span::before {
  border-color: rgba(var(--dex-yellow-rgb), 0.36);
}

.dex-stage-console-yellow .dex-stage-console-head span::after {
  background: var(--dex-blue);
  box-shadow: 0 5px 13px rgba(var(--dex-blue-rgb), 0.3);
}

.dex-stage-console svg,
.dex-stage-list svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dex-stage-console-head span svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 4px 5px rgba(15, 23, 42, 0.18));
}

.dex-stage-console-head small {
  display: block;
  margin-bottom: 3px;
  color: var(--dex-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dex-stage-console-yellow .dex-stage-console-head small {
  color: #b45309;
}

.dex-stage-console-head strong {
  display: block;
  margin-bottom: 4px;
  color: var(--dex-text);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.2;
}

.dex-stage-console-head p {
  margin: 0;
  color: var(--dex-text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.dex-stage-console-head button {
  flex: 0 0 auto;
  padding: 11px 15px;
  border: 0;
  border-radius: 8px;
  color: var(--dex-white);
  background: linear-gradient(135deg, var(--dex-blue), var(--dex-blue-dark));
  box-shadow: 0 12px 24px rgba(var(--dex-blue-rgb), 0.18);
  font-size: 13px;
  font-weight: 900;
}

.dex-stage-console-yellow .dex-stage-console-head button {
  color: #111827;
  background: linear-gradient(135deg, var(--dex-yellow), #fde68a);
  box-shadow: 0 12px 24px rgba(var(--dex-yellow-rgb), 0.26);
}

.dex-stage-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
}

.dex-stage-tabs button {
  appearance: none;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px 12px;
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid rgba(var(--dex-blue-rgb), 0.1);
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  font: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.dex-stage-tabs button:hover {
  background: rgba(var(--dex-blue-rgb), 0.05);
  transform: translateY(-1px);
}

.dex-stage-tabs button:last-child {
  border-right: 0;
}

.dex-stage-tabs button.is-active {
  color: var(--dex-white);
  background: linear-gradient(135deg, var(--dex-blue-dark), var(--dex-blue));
  box-shadow: inset 0 -3px 0 var(--dex-yellow);
}

.dex-stage-console-yellow .dex-stage-tabs button.is-active {
  color: #111827;
  background: linear-gradient(135deg, var(--dex-yellow), #fde68a);
  box-shadow: inset 0 -3px 0 var(--dex-blue);
}

.dex-stage-tabs button.is-complete:not(.is-active) {
  background: rgba(var(--dex-blue-rgb), 0.06);
}

.dex-stage-console-yellow .dex-stage-tabs button.is-complete:not(.is-active) {
  background: rgba(var(--dex-yellow-rgb), 0.2);
}

.dex-stage-tabs i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: var(--dex-surface);
  color: var(--dex-blue-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.dex-stage-tabs button.is-complete i {
  color: var(--dex-white);
  background: var(--dex-blue);
}

.dex-stage-console-yellow .dex-stage-tabs button.is-complete i {
  color: #111827;
  background: var(--dex-yellow);
}

.dex-stage-tabs b {
  min-width: 0;
  color: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.dex-stage-tabs em {
  grid-column: 2;
  color: inherit;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0.72;
}

.dex-stage-console-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.75fr);
  gap: 18px;
  align-items: stretch;
  flex: 1;
  min-height: 390px;
  min-width: 0;
}

.dex-stage-console-body.is-document-layout {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.48fr);
}

.dex-stage-console-body.is-build-layout,
.dex-stage-console-body.is-code-layout,
.dex-stage-console-body.is-qa-layout,
.dex-stage-console-body.is-history-layout {
  grid-template-columns: minmax(0, 1fr);
}

.dex-stage-console-body.is-deploy-layout {
  grid-template-columns: minmax(0, 1fr);
}

.dex-stage-panel,
.dex-stage-terminal {
  min-width: 0;
  min-height: 390px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.dex-stage-panel {
  padding: 16px;
}

.dex-stage-panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(var(--dex-blue-rgb), 0.1);
}

.dex-stage-panel-top strong {
  color: var(--dex-text);
  font-size: 14px;
  font-weight: 900;
}

.dex-stage-panel-top span {
  color: var(--dex-text-muted);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.dex-stage-substep-copy {
  min-height: 182px;
  padding: 22px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.1);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(var(--dex-blue-rgb), 0.08), rgba(var(--dex-yellow-rgb), 0.14)),
    #fff;
}

.dex-stage-substep-copy small {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--dex-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dex-stage-substep-copy p {
  margin: 0;
  color: var(--dex-text);
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 800;
  line-height: 1.48;
}

.dex-stage-stream-meter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.dex-stage-stream-meter span {
  position: relative;
  height: 9px;
  flex: 1;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(var(--dex-blue-rgb), 0.1);
}

.dex-stage-stream-meter span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--dex-stream-progress, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--dex-blue), var(--dex-yellow));
  transition: width 180ms ease;
}

.dex-stage-stream-meter b {
  color: var(--dex-text-muted);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.dex-stage-document-writer {
  min-height: 310px;
}

.dex-stage-document-paper {
  position: relative;
  display: grid;
  min-height: 310px;
  align-content: start;
  gap: 10px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.12);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(var(--dex-blue-rgb), 0.045) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, rgba(var(--dex-blue-rgb), 0.05), rgba(var(--dex-yellow-rgb), 0.09)),
    #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.dex-stage-document-paper p {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  color: var(--dex-text-secondary);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.dex-stage-document-paper p span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--dex-blue-dark);
  background: rgba(var(--dex-blue-rgb), 0.08);
  font-size: 10px;
  font-weight: 900;
}

.dex-stage-document-paper p b {
  min-width: 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.dex-stage-document-paper p.is-summary {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px dashed rgba(var(--dex-blue-rgb), 0.18);
  color: var(--dex-text);
}

.dex-stage-document-paper p.is-summary span {
  color: #111827;
  background: var(--dex-yellow);
}

.dex-document-cursor {
  width: 9px;
  height: 18px;
  margin-left: 36px;
  border-radius: 2px;
  background: var(--dex-blue);
  box-shadow: 0 0 16px rgba(var(--dex-blue-rgb), 0.45);
  animation: dex-terminal-cursor-blink 760ms steps(2, start) infinite;
}

.dex-stage-document-aside {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.12);
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 14%, rgba(var(--dex-yellow-rgb), 0.24), transparent 28%),
    linear-gradient(145deg, rgba(var(--dex-blue-rgb), 0.08), rgba(255, 255, 255, 0.92));
}

.dex-stage-document-aside li {
  opacity: 0.38;
  transition: opacity 220ms ease, transform 220ms ease;
}

.dex-stage-document-aside li.is-visible {
  opacity: 1;
  transform: translateX(2px);
}

.dex-stage-document-aside small {
  color: var(--dex-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dex-stage-document-aside strong {
  margin-top: 12px;
  color: var(--dex-text);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 900;
  line-height: 1.1;
}

.dex-stage-document-aside p {
  margin: 14px 0 0;
  color: var(--dex-text-secondary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.dex-stage-document-result {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--dex-text);
  text-align: left;
}

.dex-stage-document-result b {
  min-width: 0;
  color: var(--dex-text-secondary);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.dex-stage-document-aside ul {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding: 18px 0 0;
  list-style: none;
}

.dex-stage-document-aside li {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--dex-text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.dex-stage-document-aside li span {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--dex-white);
  background: var(--dex-blue);
  box-shadow: 0 0 0 4px rgba(var(--dex-blue-rgb), 0.12);
  font-size: 10px;
  font-weight: 900;
}

.dex-stage-document-aside li.is-current span {
  color: #111827;
  background: var(--dex-yellow);
  box-shadow: 0 0 0 5px rgba(var(--dex-yellow-rgb), 0.22);
}

.dex-stage-document-aside li.is-current {
  color: var(--dex-text);
  font-weight: 900;
}

.dex-code-build-showcase,
.dex-qa-showcase,
.dex-deploy-board,
.dex-history-checklist {
  display: grid;
  min-height: 310px;
  gap: 14px;
}

.dex-build-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-height: 310px;
}

.dex-build-duo > div {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.11);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(var(--dex-blue-rgb), 0.065), rgba(255, 255, 255, 0.95));
}

.dex-build-duo > div:nth-child(2) {
  background: linear-gradient(145deg, rgba(var(--dex-yellow-rgb), 0.16), rgba(255, 255, 255, 0.95));
}

.dex-build-duo strong {
  color: var(--dex-text);
  font-size: 15px;
  font-weight: 900;
}

.dex-build-duo p {
  margin: -3px 0 2px;
  color: var(--dex-text-secondary);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.dex-build-duo span {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 8px 9px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.1);
  border-radius: 10px;
  color: var(--dex-text);
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.dex-build-duo i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--dex-blue);
  box-shadow: 0 0 0 4px rgba(var(--dex-blue-rgb), 0.12);
}

.dex-build-duo > div:nth-child(2) i {
  background: var(--dex-yellow);
  box-shadow: 0 0 0 4px rgba(var(--dex-yellow-rgb), 0.2);
}

.dex-build-status {
  display: grid;
  min-height: 310px;
  align-content: start;
  gap: 18px;
}

.dex-build-status > p {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.1);
  border-radius: 12px;
  color: var(--dex-text);
  background: linear-gradient(135deg, rgba(var(--dex-blue-rgb), 0.08), rgba(var(--dex-yellow-rgb), 0.12));
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 850;
  line-height: 1.45;
}

.dex-build-status > div {
  display: grid;
  gap: 10px;
}

.dex-build-status span {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.1);
  border-radius: 10px;
  color: var(--dex-text-secondary);
  font-size: 12px;
  font-weight: 800;
  opacity: 0.35;
}

.dex-build-status span.is-visible {
  opacity: 1;
}

.dex-build-status i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--dex-blue);
  box-shadow: 0 0 0 4px rgba(var(--dex-blue-rgb), 0.12);
}

.dex-code-build-tabs {
  display: flex;
  min-height: 44px;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(var(--dex-blue-rgb), 0.1);
}

.dex-code-build-tabs b,
.dex-code-build-tabs span {
  display: inline-flex;
  width: 126px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.12);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 900;
}

.dex-code-build-tabs b {
  color: #fff;
  background: var(--dex-blue);
  box-shadow: 0 8px 18px rgba(var(--dex-blue-rgb), 0.18);
}

.dex-code-build-status strong,
.dex-qa-card strong,
.dex-deploy-board strong,
.dex-history-log strong,
.dex-code-preview strong {
  color: var(--dex-text);
  font-size: 13px;
  font-weight: 900;
}

.dex-code-build-status p,
.dex-qa-card p,
.dex-deploy-board p,
.dex-code-preview p,
.dex-live-preview p,
.dex-history-log p {
  margin: 6px 0 0;
  color: var(--dex-text-secondary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.dex-code-build-lines {
  display: grid;
  gap: 9px;
  min-height: 274px;
  align-content: start;
}

.dex-code-build-lines p {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 0;
  min-height: 48px;
  padding: 9px 11px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.1);
  border-radius: 12px;
  color: var(--dex-text);
  background: rgba(var(--dex-blue-rgb), 0.035);
  font-size: 12px;
  font-weight: 850;
}

.dex-code-build-lines i {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--dex-white);
  background: var(--dex-blue);
  font-style: normal;
  font-size: 10px;
  font-weight: 900;
}

.dex-code-preview,
.dex-live-preview,
.dex-history-log {
  display: grid;
  min-height: 390px;
  align-content: center;
  padding: 24px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.11);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(var(--dex-blue-rgb), 0.08), rgba(255, 255, 255, 0.92));
}

.dex-code-preview small {
  color: #38bdf8;
  font-size: 12px;
  font-weight: 900;
}

.dex-qa-showcase {
  grid-template-columns: minmax(0, 1.05fr) minmax(250px, 0.95fr);
  align-items: stretch;
}

.dex-qa-main {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.11);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(var(--dex-blue-rgb), 0.08), rgba(255, 255, 255, 0.96));
}

.dex-qa-main > strong {
  color: var(--dex-text);
  font-size: 18px;
  font-weight: 900;
}

.dex-qa-main > p {
  margin: 0 0 6px;
  color: var(--dex-text-secondary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.dex-qa-main span {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.1);
  border-radius: 10px;
  color: var(--dex-text);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.dex-qa-main i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--dex-white);
  background: var(--dex-blue);
  font-style: normal;
  font-size: 10px;
  font-weight: 900;
}

.dex-qa-card {
  padding: 18px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.11);
  border-radius: 12px;
}

.dex-qa-card code {
  display: block;
  margin-top: 14px;
  padding: 12px;
  overflow: hidden;
  border-radius: 8px;
  color: var(--dex-text);
  background: #eef2f7;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dex-qa-card b,
.dex-deploy-trigger b {
  display: grid;
  min-height: 42px;
  margin-top: 16px;
  place-items: center;
  border-radius: 8px;
  color: #111827;
  background: var(--dex-yellow);
  font-size: 13px;
  font-weight: 900;
}

.dex-deploy-trigger b.is-deployed {
  color: var(--dex-white);
  background: var(--dex-blue);
  box-shadow: 0 10px 22px rgba(var(--dex-blue-rgb), 0.2);
}

.dex-qa-checks {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding-top: 46px;
}

.dex-qa-checks span {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.1);
  border-radius: 10px;
  color: var(--dex-text);
  font-size: 12px;
  font-weight: 850;
}

.dex-qa-checks em {
  order: 2;
  color: var(--dex-text-muted);
  font-style: normal;
  font-weight: 800;
}

.dex-qa-checks span.is-pass em {
  color: var(--dex-blue);
}

.dex-qa-terminal {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: #0f172a;
}

.dex-qa-terminal div,
.dex-live-preview div {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dex-qa-terminal span,
.dex-live-preview i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f43f5e;
}

.dex-qa-terminal span:nth-child(2),
.dex-live-preview i:nth-child(2) {
  background: var(--dex-yellow);
}

.dex-qa-terminal span:nth-child(3),
.dex-live-preview i:nth-child(3) {
  background: var(--dex-blue);
}

.dex-qa-terminal pre {
  flex: 1;
  margin: 0;
  padding: 18px;
  color: #dbeafe;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.dex-deploy-board {
  grid-template-columns: minmax(0, 1.08fr) minmax(230px, 0.92fr);
  align-items: stretch;
}

.dex-deploy-board > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.11);
  border-radius: 12px;
}

.dex-deploy-command {
  display: grid;
  align-content: start;
}

.dex-deploy-command code {
  display: block;
  margin-top: 12px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.1);
  border-radius: 8px;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dex-deploy-live-inline {
  display: grid;
  min-height: 100%;
  align-content: stretch;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 255, 0.98)),
    radial-gradient(circle at 14% 0%, rgba(var(--dex-blue-rgb), 0.12), transparent 34%);
}

.dex-live-mini-browser {
  display: grid;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.12);
  border-radius: 12px;
  background: var(--dex-white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.dex-live-mini-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(var(--dex-blue-rgb), 0.1);
  background: rgba(var(--dex-blue-rgb), 0.045);
}

.dex-live-mini-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
}

.dex-live-mini-bar i:nth-child(2) {
  background: var(--dex-yellow);
}

.dex-live-mini-bar i:nth-child(3) {
  background: var(--dex-blue);
}

.dex-live-mini-bar span {
  overflow: hidden;
  margin-left: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.1);
  border-radius: 8px;
  color: var(--dex-text-secondary);
  background: var(--dex-white);
  font-size: 11px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dex-live-mini-app {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(var(--dex-blue-rgb), 0.08), rgba(var(--dex-yellow-rgb), 0.13)),
    #fff;
}

.dex-live-mini-app strong {
  color: var(--dex-text);
  font-size: 16px;
  font-weight: 900;
}

.dex-live-mini-app p {
  margin: -4px 0 0;
  color: var(--dex-text-secondary);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.dex-live-mini-app div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.dex-live-mini-app div span {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.12);
  border-radius: 9px;
  color: var(--dex-blue);
  background: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 900;
}

.dex-live-mini-app ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dex-live-mini-app li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--dex-text);
  font-size: 12px;
  font-weight: 850;
}

.dex-live-mini-app li b {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--dex-blue);
  box-shadow: 0 0 0 4px rgba(var(--dex-blue-rgb), 0.11);
}

.dex-deploy-trigger {
  margin-top: 14px;
  background: rgba(var(--dex-blue-rgb), 0.035);
}

.dex-deploy-changes p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(var(--dex-blue-rgb), 0.08);
  opacity: 0.3;
}

.dex-deploy-changes p.is-visible {
  opacity: 1;
}

.dex-live-preview {
  background: #fff;
}

.dex-live-preview div {
  margin: -24px -24px 18px;
  border-color: rgba(var(--dex-blue-rgb), 0.1);
  background: #eef2f7;
}

.dex-live-preview span {
  margin-left: auto;
  color: var(--dex-blue);
  font-size: 12px;
  font-weight: 900;
}

.dex-live-preview b {
  color: var(--dex-text-secondary);
  font-size: 12px;
}

.dex-history-checklist {
  align-content: start;
}

.dex-history-checklist p {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 13px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.1);
  border-radius: 12px;
  opacity: 0.46;
}

.dex-history-checklist p.is-complete {
  opacity: 1;
}

.dex-history-checklist i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--dex-white);
  background: var(--dex-blue);
  box-shadow: 0 0 0 4px rgba(var(--dex-blue-rgb), 0.12);
  font-style: normal;
  font-weight: 900;
}

.dex-history-checklist span {
  color: var(--dex-text);
  font-size: 13px;
  font-weight: 900;
}

.dex-history-checklist b {
  color: var(--dex-blue);
  font-size: 11px;
  font-weight: 900;
}

.dex-stage-table {
  overflow: hidden;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.1);
  border-radius: 8px;
}

.dex-stage-table div {
  display: grid;
  grid-template-columns: minmax(105px, 0.32fr) minmax(0, 1fr);
  min-width: 0;
  border-bottom: 1px solid rgba(var(--dex-blue-rgb), 0.1);
}

.dex-stage-table div:last-child {
  border-bottom: 0;
}

.dex-stage-table b,
.dex-stage-table span {
  min-width: 0;
  padding: 11px 12px;
  color: var(--dex-text-secondary);
  font-size: 12px;
  line-height: 1.35;
}

.dex-stage-table b {
  color: var(--dex-text);
  background: rgba(var(--dex-blue-rgb), 0.05);
  font-weight: 900;
}

.dex-stage-terminal {
  display: flex;
  position: relative;
  min-height: 214px;
  flex-direction: column;
  overflow: hidden;
  background: #0f172a;
  color: #dbeafe;
}

.dex-terminal-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.dex-terminal-top span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.dex-terminal-top span:nth-child(1) {
  background: #f87171;
}

.dex-terminal-top span:nth-child(2) {
  background: var(--dex-yellow);
}

.dex-terminal-top span:nth-child(3) {
  background: #38bdf8;
}

.dex-terminal-top b {
  margin-left: 8px;
  color: #e5edff;
  font-size: 12px;
  font-weight: 900;
}

.dex-stage-terminal pre {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 16px;
  overflow: hidden;
  color: #dbeafe;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.dex-terminal-cursor {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 8px;
  height: 18px;
  border-radius: 2px;
  background: var(--dex-yellow);
  box-shadow: 0 0 18px rgba(var(--dex-yellow-rgb), 0.65);
  animation: dex-terminal-cursor-blink 760ms steps(2, start) infinite;
}

@keyframes dex-terminal-cursor-blink {
  50% {
    opacity: 0.25;
  }
}

.dex-stage-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.dex-stage-metrics span {
  padding: 13px 14px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.11);
  border-radius: 8px;
  background: rgba(var(--dex-blue-rgb), 0.05);
}

.dex-stage-console-yellow .dex-stage-metrics span {
  border-color: rgba(var(--dex-yellow-rgb), 0.28);
  background: rgba(var(--dex-yellow-rgb), 0.12);
}

.dex-stage-metrics b,
.dex-stage-metrics em {
  display: block;
}

.dex-stage-metrics b {
  color: var(--dex-text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.dex-stage-metrics em {
  margin-top: 5px;
  color: var(--dex-text-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.dex-business-request {
  display: grid;
  gap: 22px;
}

.dex-business-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dex-business-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--dex-blue);
  border-radius: 8px;
  background: rgba(var(--dex-blue-rgb), 0.08);
  font-size: 22px;
  font-weight: 900;
}

.dex-business-heading h3 {
  margin: 0 0 6px;
  color: var(--dex-text);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.1;
}

.dex-business-heading p {
  margin: 0;
  color: var(--dex-text-secondary);
  font-size: 15px;
}

.dex-business-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.12);
  border-radius: 8px;
  background: var(--dex-white);
}

.dex-business-tab {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 20px 22px;
  border-right: 1px solid rgba(var(--dex-blue-rgb), 0.12);
}

.dex-business-tab:last-child {
  border-right: 0;
}

.dex-business-tab.is-active {
  color: var(--dex-white);
  background: linear-gradient(135deg, var(--dex-blue-dark), var(--dex-blue));
}

.dex-business-tab > span {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--dex-surface);
  color: var(--dex-blue-dark);
  font-weight: 900;
}

.dex-business-tab.is-active > span {
  color: var(--dex-blue-dark);
  background: var(--dex-white);
}

.dex-business-tab h4 {
  margin: 0 0 5px;
  color: inherit;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.15;
}

.dex-business-tab p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: inherit;
  opacity: 0.78;
  font-size: 13px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dex-problem-card {
  min-height: 190px;
  padding: 26px 28px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.12);
  border-radius: 8px;
  background: var(--dex-white);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.dex-problem-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 48px;
}

.dex-problem-card-top span {
  color: var(--dex-text-secondary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dex-problem-card button {
  padding: 10px 15px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.12);
  color: var(--dex-text-secondary);
  background: var(--dex-white);
}

.dex-problem-card p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--dex-text-secondary);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.6;
}

@media screen and (max-width: 991px) {
  .dex-project-workspace-shell {
    min-height: auto;
    margin-top: 34px;
  }

  .dex-project-workspace {
    display: block;
    min-height: auto;
  }

  .dex-hero-workflow-top {
    align-items: start;
    flex-direction: column;
  }

  .dex-hero-workflow-top p {
    max-width: 620px;
  }

  .dex-hero-workflow-status {
    overflow: visible;
    padding-bottom: 0;
  }

  .dex-project-flow {
    overflow-x: auto;
  }

  .dex-project-flow-row {
    grid-template-columns: repeat(8, 132px);
    min-width: 1120px;
  }

  .dex-project-flow-heading {
    align-items: start;
    flex-direction: column;
  }

  .dex-project-flow-heading p {
    max-width: 620px;
    text-align: left;
  }

  .dex-stage-console-body {
    grid-template-columns: 1fr;
  }

  .dex-business-tabs {
    grid-template-columns: 1fr;
  }

  .dex-business-tab {
    border-right: 0;
    border-bottom: 1px solid rgba(var(--dex-blue-rgb), 0.12);
  }

  .dex-business-tab:last-child {
    border-bottom: 0;
  }
}

@media screen and (max-width: 767px) {
  .rt-hero-v1 {
    padding-bottom: 82px !important;
  }

  .rt-hero-v1-heading-main {
    transform: translateY(-12px);
  }

  .rt-navbar-logo {
    max-width: none;
    padding: 0;
  }

  .rt-navbar-v1-menu-desktop {
    position: static;
    transform: none;
  }

  .rt-navbar-logo img {
    width: auto !important;
  }

  .rt-navbar-logo .dex-header-logo-full {
    width: 132px !important;
  }

  .dex-header-logo-text strong {
    font-size: 24px;
  }

  .dex-header-logo-text small {
    font-size: 10px;
  }

  .rt-mobile-navbar .dex-header-dropdown {
    width: 100%;
  }

  .rt-mobile-navbar .dex-header-dropdown > .w-dropdown-list {
    position: static;
    display: block;
    width: 100%;
    opacity: 1;
    transform: none;
  }

  .rt-mobile-navbar .dex-header-simple-menu,
  .rt-mobile-navbar .dex-header-mega-menu {
    min-width: 0;
    width: 100%;
    margin-top: 8px;
  }

  .rt-mobile-navbar .dex-header-mega-wrap,
  .rt-mobile-navbar .dex-header-menu-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rt-mobile-navbar .dex-header-menu-left {
    display: none;
  }

  .rt-mobile-navbar .dex-header-access-link {
    width: 100%;
    min-height: 46px;
    padding: 0;
  }

  .dex-hero-workflow-visual {
    min-height: auto;
    padding: 24px 16px;
  }

  .dex-project-workspace .dex-workflow-carousel {
    display: block;
  }

  .dex-project-flow {
    margin-left: -2px;
    margin-right: -2px;
    border-radius: 24px;
    overflow-x: auto;
  }

  .dex-project-flow-row {
    grid-template-columns: repeat(8, 128px);
    gap: 12px;
    min-width: 1096px;
  }

  .dex-project-flow-card {
    min-height: 150px;
    padding: 18px 12px 14px;
  }

  .dex-project-flow-card > span {
    width: 44px;
    height: 44px;
  }

  .dex-stage-console-head,
  .dex-stage-panel-top {
    align-items: start;
    flex-direction: column;
  }

  .dex-stage-console-head button {
    width: 100%;
  }

  .dex-stage-tabs {
    grid-template-columns: 1fr;
  }

  .dex-stage-tabs button {
    border-right: 0;
    border-bottom: 1px solid rgba(var(--dex-blue-rgb), 0.1);
  }

  .dex-stage-tabs button:last-child {
    border-bottom: 0;
  }

  .dex-stage-table div {
    grid-template-columns: 1fr;
  }

  .dex-stage-metrics {
    grid-template-columns: 1fr;
  }

  .dex-workspace-topbar button {
    display: none;
  }

  .dex-project-workspace .dex-workflow-track {
    --dex-workflow-card-width: 145px;
    --dex-workflow-gap: 16px;
  }
}

.rt-ai-agents-v1 {
  overflow-x: clip;
}

.rt-ai-agents-v1 .rt-container {
  max-width: 1180px;
}

.dex-ai-showcase-main {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.dex-workflow-runner {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: clamp(28px, 4vw, 48px);
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
}

.dex-run-step {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: 38px minmax(120px, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 178px;
  color: var(--dex-text-muted);
}

.dex-run-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -15px;
  color: rgba(var(--dex-blue-rgb), 0.5);
  font-weight: 900;
}

.dex-run-step span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.2);
  border-radius: 999px;
  background: rgba(var(--dex-blue-rgb), 0.1);
  color: var(--dex-blue-dark);
  font-size: 13px;
  font-weight: 900;
  transition: background 240ms ease, color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}

.dex-run-step p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.dex-run-step.is-active span {
  color: var(--dex-white);
  background: linear-gradient(135deg, var(--dex-blue), var(--dex-blue-dark));
  box-shadow: 0 10px 24px rgba(var(--dex-blue-rgb), 0.25);
  transform: translateY(-2px);
}

.dex-run-step.is-active p {
  color: var(--dex-blue-dark);
}

.dex-phase-visual {
  position: relative;
  min-height: 500px;
  padding: clamp(22px, 3.4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 30px;
  background:
    radial-gradient(circle at 20% 18%, rgba(34, 211, 238, 0.32), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(var(--dex-blue-dark-rgb), 0.36), transparent 30%),
    radial-gradient(circle at 70% 84%, rgba(var(--dex-yellow-rgb), 0.24), transparent 26%),
    linear-gradient(135deg, #102a72, var(--dex-blue) 54%, #0891b2);
  box-shadow: 0 24px 60px rgba(var(--dex-blue-rgb), 0.22);
  isolation: isolate;
}

.dex-phase-bg-one,
.dex-phase-bg-two {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.55;
}

.dex-phase-bg-one {
  width: 190px;
  height: 190px;
  right: 10%;
  bottom: 16%;
  background: rgba(253, 230, 138, 0.55);
}

.dex-phase-bg-two {
  width: 170px;
  height: 170px;
  left: 8%;
  top: 12%;
  background: rgba(255, 255, 255, 0.36);
}

.dex-phase-card-wrap,
.dex-phase-copy {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dex-phase-card-wrap.is-ready,
.dex-phase-copy.is-ready {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.dex-phase-card-wrap.is-ready .dex-phase-card {
  animation: dexSoftPop 780ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dex-phase-copy.is-ready .dex-phase-copy-inner > * {
  animation: dexSoftRise 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dex-phase-copy.is-ready .dex-phase-copy-inner > *:nth-child(2) {
  animation-delay: 80ms;
}

.dex-phase-copy.is-ready .dex-phase-copy-inner > *:nth-child(3) {
  animation-delay: 150ms;
}

.dex-phase-copy.is-ready .dex-phase-copy-inner > *:nth-child(4) {
  animation-delay: 220ms;
}

.dex-phase-copy.is-ready .dex-phase-copy-inner > *:nth-child(5) {
  animation-delay: 290ms;
}

.dex-phase-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.dex-phase-flow span {
  position: relative;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 8px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  transition: color 520ms ease, background 520ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dex-phase-flow span::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 8px;
  height: 2px;
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-50%);
}

.dex-phase-flow span:last-child::after {
  display: none;
}

.dex-phase-flow i {
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.dex-phase-flow b {
  overflow: hidden;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dex-phase-flow span.is-active {
  color: var(--dex-blue-dark);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
  transform: translateY(-2px);
}

@keyframes dexSoftPop {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes dexSoftRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dex-phase-card {
  display: flex;
  min-height: 376px;
  flex-direction: column;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(16px);
}

.dex-phase-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.dex-phase-card-top span {
  color: var(--dex-blue-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dex-phase-card-top strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  color: var(--dex-white);
  background: linear-gradient(135deg, var(--dex-blue), var(--dex-blue-dark));
}

.dex-phase-card h3 {
  margin: 0 0 20px;
  color: var(--dex-text);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.05;
}

.dex-phase-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dex-phase-card li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--dex-text-secondary);
  font-size: 14px;
  line-height: 1.35;
}

.dex-phase-card svg,
.dex-capability-row svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dex-phase-card li svg {
  color: var(--dex-blue);
}

.dex-phase-card footer {
  margin-top: auto;
  padding-top: 22px;
  color: var(--dex-blue-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.dex-phase-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
}

.dex-phase-dots {
  display: none !important;
}

.dex-phase-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  transition: width 220ms ease, background 220ms ease;
}

.dex-phase-dots button.is-active {
  width: 28px;
  background: var(--dex-yellow);
}

.dex-phase-copy .rt-sub-text {
  display: inline-flex;
  background: transparent !important;
}

.dex-phase-copy h2 {
  max-width: 560px;
}

.dex-phase-copy p {
  max-width: 560px;
}

.dex-capability-list {
  display: grid;
  gap: 14px;
  margin: 0 0 26px;
}

.dex-capability-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dex-text-secondary);
  font-weight: 800;
}

.dex-capability-row svg {
  flex: 0 0 auto;
  color: var(--dex-blue);
}

.dex-logo-runner {
  position: relative;
  overflow: hidden;
  margin-top: clamp(34px, 5vw, 56px);
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.dex-logo-runner {
  display: none !important;
}

.dex-logo-track {
  display: flex;
  width: max-content;
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
  animation: dexLogoScroll 28s linear infinite;
}

.dex-logo-runner:hover .dex-logo-track {
  animation-play-state: paused;
}

.dex-logo-item {
  display: grid;
  width: 132px;
  height: 48px;
  place-items: center;
  opacity: 0.7;
}

.dex-logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rt-hero-logo-main {
  max-width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.rt-hero-logo-train.dex-client-logo-train {
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  min-width: max-content;
}

.dex-client-logo-item {
  display: grid;
  width: clamp(120px, 12vw, 164px);
  height: 58px;
  place-items: center;
  opacity: 0.78;
  filter: saturate(0.8);
}

.dex-client-logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rt-hero-logo-main:hover .dex-client-logo-train {
  animation-play-state: paused;
}

@keyframes dexLogoScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 991px) {
  .dex-choose-dashboard-section {
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .dex-dashboard-preview {
    width: 100%;
    min-height: auto;
    transform: none;
  }

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

  .dex-architecture-card,
  .dex-architecture-card.is-featured {
    grid-column: auto;
  }

  .dex-architecture-card:nth-child(7) {
    grid-column: span 2;
  }

  .dex-ai-showcase-main {
    grid-template-columns: 1fr;
  }

  .dex-phase-visual {
    min-height: auto;
  }

  .dex-partner-hero,
  .dex-partner-benefits,
  .dex-partner-tiers {
    grid-template-columns: 1fr;
  }

  .dex-partner-tiers {
    gap: 14px;
  }

  .dex-partner-tiers article {
    min-height: auto;
    border-radius: 20px;
  }

  .dex-partner-v2-tiers {
    grid-template-columns: 1fr;
  }

  .dex-partner-v2-tiers > article {
    min-height: 0;
  }

  .dex-partner-metrics {
    grid-template-columns: 1fr;
  }

  .dex-page-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dex-page-link-card,
  .dex-page-link-card.is-featured {
    grid-column: auto;
  }

  .dex-page-link-card:nth-child(7) {
    grid-column: span 2;
  }
}

@media screen and (max-width: 767px) {
  .rt-choose-us-v1 {
    padding-right: 0;
    padding-left: 0;
  }

  .dex-choose-dashboard-section {
    padding: 28px 16px;
    border-radius: 30px;
  }

  .dex-choose-copy h2 {
    font-size: clamp(32px, 11vw, 46px);
  }

  .dex-choose-benefits {
    grid-template-columns: 1fr;
  }

  .dex-dashboard-preview {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    border-radius: 24px;
  }

  .dex-partner-program {
    margin: 0;
    padding: 22px 14px;
    border-radius: 24px;
  }

  .dex-partner-heading h2 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .dex-partner-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dex-partner-secondary-link {
    justify-content: center;
  }

  .dex-page-links-grid {
    grid-template-columns: 1fr;
  }

  .dex-page-link-card,
  .dex-page-link-card.is-featured,
  .dex-page-link-card:nth-child(7) {
    grid-column: span 1;
  }

  .dex-page-link-card {
    min-height: auto;
  }

  .dex-dashboard-sidebar {
    display: none;
  }

  .dex-dashboard-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .dex-dashboard-metrics,
  .dex-dashboard-content {
    grid-template-columns: 1fr;
  }

  .dex-dashboard-chart svg {
    height: 190px;
  }

  .dex-architecture-heading {
    text-align: left;
  }

  .dex-architecture-grid {
    grid-template-columns: 1fr;
  }

  .dex-architecture-card,
  .dex-architecture-card.is-featured,
  .dex-architecture-card:nth-child(7) {
    grid-column: auto;
  }

  .dex-architecture-card ul {
    grid-template-columns: 1fr;
  }

  .rt-ai-agents-v1 {
    overflow-x: hidden;
  }

  .dex-workflow-runner {
    margin-left: calc(-1 * var(--_gap---spacing--gutter-space, 1rem));
    margin-right: calc(-1 * var(--_gap---spacing--gutter-space, 1rem));
    padding-left: var(--_gap---spacing--gutter-space, 1rem);
    padding-right: var(--_gap---spacing--gutter-space, 1rem);
  }

  .dex-phase-card {
    min-height: 360px;
  }

  .dex-phase-flow {
    grid-template-columns: repeat(4, minmax(86px, 1fr));
    overflow-x: auto;
  }

  .dex-phase-flow b {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dex-scroll-reveal .dex-architecture-heading,
  .dex-scroll-reveal .dex-architecture-card,
  .dex-scroll-reveal .dex-phase-visual,
  .dex-scroll-reveal .dex-phase-copy {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .dex-phase-card-wrap,
  .dex-phase-copy,
  .dex-run-step span,
  .dex-phase-dots button {
    transition: none;
    animation: none;
  }

  .dex-logo-track {
    animation: none;
  }

  .dex-project-flow-card,
  .dex-project-flow-card > span,
  .dex-project-flow-row,
  .dex-hero-workflow-status,
  .dex-phase-flow span,
  .dex-architecture-card {
    transition: none;
  }
}

.icon-btn,
.r-logo {
  background: var(--dex-white);
}

.icon-btn:hover,
.r-logo:hover {
  background: var(--dex-surface);
}

.plus-btn,
.wand-tooltip,
.panel-header {
  background: var(--dex-blue-dark);
}

.wand-tooltip::after {
  border-top-color: var(--dex-blue-dark);
}

.similar-panel {
  background: var(--dex-surface-secondary);
}

.card {
  background: var(--dex-white);
}

.name {
  color: var(--dex-text);
}
/* Merge logo marquee visually into the AI showcase section */
.rt-marquee {
  background: var(--dex-surface) !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.rt-ai-agents-v1 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* Add breathing room between logo runner and AI showcase */
.rt-marquee {
  padding-bottom: 48px !important;
}

.rt-ai-agents-v1 {
  padding-top: 32px !important;
}

/* Blend Unique Benefits cards into the section background */
.rt-benefits-v1 .rt-benefits-box-text-wrap {
  background: transparent !important;
}

/* Compact, unified hero product story */
.rt-hero-v1 {
  padding-bottom: 72px !important;
}

.rt-hero-v1-heading-main {
  transform: translateY(-188px);
}

.rt-hero-v1-heading-wrap {
  max-width: 920px;
}

.rt-hero-v1-heading-wrap .dex-hero-badge {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 34px;
  margin: 0 auto 14px;
  padding: 7px 14px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.22);
  border-radius: 999px;
  color: var(--dex-blue-dark);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px rgba(var(--dex-blue-rgb), 0.08);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: none;
}

.rt-hero-v1-heading-wrap h1 {
  max-width: 900px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.02;
}

.dex-hero-intro-copy {
  max-width: 820px;
  margin-top: 14px;
  color: var(--dex-text-secondary);
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 600;
  line-height: 1.5;
}

.rt-hero-v1-button-wrap {
  gap: 12px;
  margin-top: 18px;
}

.rt-hero-v1-button-wrap .rt-button-v1-main {
  width: 168px;
  overflow: visible;
}

.rt-hero-v1-button-wrap .rt-button-v1,
.rt-hero-v1-button-wrap .rt-button-overlay {
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rt-hero-v1-button-wrap .rt-button-overlay {
  background: #111827;
  transform: translate(2px, 2px) !important;
}

.rt-hero-v1-button-wrap .rt-button-v1-main:hover .rt-button-v1 {
  transform: translate(-3px, -3px) !important;
}

.rt-hero-v1-button-wrap .rt-button-v1-main:hover .rt-button-overlay {
  transform: translate(4px, 4px) !important;
}

.dex-project-workspace-shell {
  max-width: 1320px;
  margin-top: -56px;
  border-radius: 16px;
  box-shadow: 0 18px 52px rgba(var(--dex-blue-rgb), 0.11);
}

.dex-project-workspace {
  border-radius: 15px;
}

.dex-hero-workflow-visual {
  min-height: auto;
  padding: 18px clamp(16px, 2vw, 26px) 22px;
  background-color: #f8fbff;
  background-image:
    linear-gradient(rgba(var(--dex-blue-rgb), 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--dex-blue-rgb), 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  scroll-margin-top: 92px;
}

.dex-hero-workflow-visual::before,
.dex-hero-workflow-visual::after {
  display: none;
}

.dex-hero-workflow-top {
  margin-bottom: 12px;
}

.dex-hero-workflow-top span {
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.dex-hero-workflow-top strong {
  max-width: none;
  font-size: clamp(22px, 2.7vw, 32px);
  line-height: 1.05;
}

.dex-delivery-surface {
  overflow: hidden;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.dex-project-flow {
  margin: 0;
  padding: 12px;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid rgba(var(--dex-blue-rgb), 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dex-project-flow-row {
  grid-template-columns: repeat(8, minmax(92px, 1fr));
  gap: 8px;
}

.dex-project-flow-card {
  min-height: 104px;
  gap: 6px;
  padding: 10px 8px 9px;
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.06);
}

.dex-project-flow-card:not(:last-child)::after {
  right: -10px;
  width: 16px;
  height: 16px;
}

.dex-project-flow-card small {
  top: 6px;
  left: 6px;
  width: 18px;
  height: 18px;
  font-size: 9px;
}

.dex-project-flow-card > span {
  width: 34px;
  height: 34px;
  margin-top: 1px;
  box-shadow: 0 7px 16px rgba(var(--dex-blue-rgb), 0.18);
}

.dex-project-flow-card svg {
  width: 18px;
  height: 18px;
}

.dex-project-flow-card p {
  margin-bottom: 4px;
  font-size: 8px;
}

.dex-project-flow-card strong {
  margin-bottom: 0;
  font-size: clamp(11px, 0.92vw, 14px);
  line-height: 1.08;
}

.dex-project-flow-card em {
  display: none;
}

.dex-project-flow-card.is-active {
  box-shadow: 0 12px 26px rgba(var(--dex-blue-rgb), 0.16);
  transform: translateY(-2px);
}

.dex-project-flow-card.is-active > span {
  box-shadow:
    0 10px 22px rgba(var(--dex-blue-rgb), 0.26),
    0 0 0 5px rgba(var(--dex-blue-rgb), 0.07);
  transform: translateY(-1px) scale(1.02);
}

.dex-hero-workflow-status {
  margin-top: 0;
  padding: 0 12px 12px;
}

.dex-stage-console {
  padding: 12px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.dex-stage-console-head {
  gap: 14px;
  margin-bottom: 10px;
}

.dex-stage-console-head > div {
  gap: 10px;
}

.dex-stage-console-head span {
  width: 38px;
  height: 38px;
  box-shadow: 0 8px 18px rgba(var(--dex-blue-rgb), 0.16);
}

.dex-stage-console-head small {
  margin-bottom: 1px;
  font-size: 9px;
}

.dex-stage-console-head strong {
  margin-bottom: 2px;
  font-size: clamp(16px, 1.5vw, 20px);
}

.dex-stage-console-head p {
  max-width: 720px;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dex-stage-console-head button {
  padding: 8px 11px;
  box-shadow: 0 8px 18px rgba(var(--dex-blue-rgb), 0.14);
  font-size: 11px;
}

.dex-stage-tabs {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  margin-bottom: 10px;
}

.dex-stage-tabs button {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
}

.dex-stage-tabs i {
  width: 22px;
  height: 22px;
  font-size: 10px;
}

.dex-stage-tabs b {
  font-size: 11px;
}

.dex-stage-console-body {
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
  gap: 10px;
}

.dex-stage-panel {
  padding: 10px;
}

.dex-stage-panel-top {
  margin-bottom: 8px;
  padding-bottom: 8px;
}

.dex-stage-panel-top strong,
.dex-stage-panel-top span {
  font-size: 10px;
}

.dex-stage-table b,
.dex-stage-table span {
  padding: 7px 9px;
  font-size: 10px;
  line-height: 1.25;
}

.dex-stage-terminal {
  min-height: 136px;
}

.dex-terminal-top {
  padding: 8px 10px;
}

.dex-terminal-top b {
  font-size: 10px;
}

.dex-stage-terminal pre {
  padding: 11px;
  font-size: 10px;
  line-height: 1.5;
}

.dex-delivery-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-top: 1px solid rgba(var(--dex-blue-rgb), 0.12);
  background: rgba(var(--dex-blue-rgb), 0.035);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dex-delivery-metrics.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dex-delivery-metrics article {
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.05);
}

.dex-delivery-metrics article:nth-child(2),
.dex-delivery-metrics article:nth-child(4) {
  border-color: rgba(var(--dex-yellow-rgb), 0.34);
  background: rgba(255, 251, 235, 0.94);
}

.dex-delivery-metrics small {
  display: block;
  margin-bottom: 6px;
  color: var(--dex-text-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dex-delivery-metrics div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.dex-delivery-metrics strong {
  color: var(--dex-text);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.dex-delivery-metrics span {
  color: var(--dex-text-muted);
  font-size: 12px;
  font-weight: 700;
}

@media screen and (max-width: 991px) {
  .rt-hero-v1-heading-main {
    transform: translateY(-88px);
  }

  .dex-project-workspace-shell {
    margin-top: -10px;
  }

  .dex-project-flow {
    overflow-x: auto;
  }

  .dex-project-flow-row {
    grid-template-columns: repeat(8, 116px);
    min-width: 984px;
  }

  .dex-stage-console-body {
    grid-template-columns: 1fr 0.82fr;
  }
}

@media screen and (max-width: 767px) {
  .rt-hero-v1 {
    padding-bottom: 56px !important;
  }

  .rt-hero-v1-heading-main {
    transform: translateY(-24px);
  }

  .rt-hero-v1-heading-wrap h1 {
    font-size: clamp(36px, 10vw, 44px);
  }

  .dex-hero-intro-copy {
    margin-top: 12px;
    font-size: 15px;
  }

  .rt-hero-v1-button-wrap {
    width: 100%;
    align-items: stretch !important;
    flex-direction: column;
  }

  .rt-hero-v1-button-wrap > a {
    width: 100%;
  }

  .rt-hero-v1-button-wrap .rt-button-v1-main {
    width: 100%;
  }

  .dex-hero-workflow-visual {
    padding: 16px 12px 18px;
  }

  .dex-hero-workflow-top strong {
    font-size: 22px;
  }

  .dex-project-flow {
    margin: 0;
    border-radius: 0;
  }

  .dex-project-flow-row {
    grid-template-columns: repeat(8, 110px);
    gap: 8px;
    min-width: 936px;
  }

  .dex-project-flow-card {
    min-height: 102px;
  }

  .dex-stage-console-head p {
    white-space: normal;
  }

  .dex-stage-console-head button {
    width: auto;
  }

  .dex-stage-tabs {
    grid-template-columns: repeat(3, minmax(112px, 1fr));
    overflow-x: auto;
  }

  .dex-stage-tabs button {
    border-right: 1px solid rgba(var(--dex-blue-rgb), 0.1);
    border-bottom: 0;
  }

  .dex-stage-console-body {
    grid-template-columns: 1fr;
  }

  .dex-delivery-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .dex-delivery-metrics {
    transition: none;
  }
}

/* Spacious workflow canvas and independent metrics section */
.rt-hero-v1::before {
  top: 124px;
  right: clamp(44px, 6vw, 88px);
  width: clamp(360px, 37vw, 500px);
  opacity: 0.07;
}

.rt-hero-v1-heading-wrap .dex-hero-badge {
  display: block;
  min-height: 0;
  margin: 0 auto 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dex-project-workspace-shell {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.dex-project-workspace {
  overflow: hidden;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.24);
  border-radius: 28px;
  background: #f8fbff;
  box-shadow: 0 24px 68px rgba(var(--dex-blue-rgb), 0.14);
}

.dex-hero-workflow-visual {
  padding: 28px clamp(22px, 2.6vw, 36px) 30px;
  border-radius: 27px;
}

.dex-hero-workflow-top {
  margin-bottom: 18px;
}

.dex-hero-workflow-top span {
  margin-bottom: 6px;
  font-size: 11px;
}

.dex-hero-workflow-top strong {
  font-size: clamp(28px, 3vw, 38px);
}

.dex-delivery-surface {
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.09);
}

.dex-project-flow {
  padding: 18px;
}

.dex-project-flow-row {
  gap: 10px;
}

.dex-project-flow-card {
  min-height: 126px;
  gap: 8px;
  padding: 14px 10px 12px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.dex-project-flow-card small {
  top: 8px;
  left: 8px;
  width: 20px;
  height: 20px;
  font-size: 10px;
}

.dex-project-flow-card > span {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.dex-project-flow-card svg {
  width: 20px;
  height: 20px;
}

.dex-project-flow-card p {
  margin-bottom: 5px;
  font-size: 9px;
}

.dex-project-flow-card strong {
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.12;
}

.dex-hero-workflow-status {
  padding: 0 18px 22px;
}

.dex-stage-console {
  padding-top: 18px;
}

.dex-stage-console-head {
  margin-bottom: 16px;
}

.dex-stage-console-head > div {
  gap: 14px;
}

.dex-stage-console-head span {
  width: 46px;
  height: 46px;
  border-radius: 11px;
}

.dex-stage-console-head small {
  margin-bottom: 3px;
  font-size: 10px;
}

.dex-stage-console-head strong {
  margin-bottom: 3px;
  font-size: clamp(20px, 2vw, 26px);
}

.dex-stage-console-head p {
  font-size: 13px;
  line-height: 1.4;
}

.dex-stage-console-head button {
  padding: 11px 15px;
  border-radius: 10px;
  font-size: 12px;
}

.dex-stage-tabs {
  margin-bottom: 14px;
  border-radius: 12px;
}

.dex-stage-tabs button {
  min-height: 48px;
  gap: 10px;
  padding: 9px 12px;
}

.dex-stage-tabs i {
  width: 26px;
  height: 26px;
}

.dex-stage-tabs b {
  font-size: 12px;
}

.dex-stage-console-body {
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 14px;
}

.dex-stage-panel,
.dex-stage-terminal {
  min-height: 260px;
  border-radius: 14px;
}

.dex-stage-panel {
  padding: 16px;
}

.dex-stage-panel-top {
  margin-bottom: 14px;
  padding-bottom: 12px;
}

.dex-stage-panel-top strong {
  font-size: 13px;
}

.dex-stage-panel-top span {
  font-size: 11px;
}

.dex-stage-table {
  border-radius: 10px;
}

.dex-stage-table b,
.dex-stage-table span {
  padding: 12px 13px;
  font-size: 12px;
  line-height: 1.35;
}

.dex-terminal-top {
  padding: 12px 14px;
}

.dex-terminal-top b {
  font-size: 12px;
}

.dex-stage-terminal pre {
  padding: 18px;
  font-size: 12px;
  line-height: 1.65;
}

.dex-delivery-metrics {
  max-width: 1320px;
  margin: 24px auto 0;
  padding: 0 4px;
  border-top: 0;
  background: transparent;
}

.dex-delivery-metrics article {
  min-height: 118px;
  padding: 20px 22px;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.dex-delivery-metrics small {
  margin-bottom: 12px;
  font-size: 10px;
}

.dex-delivery-metrics strong {
  font-size: clamp(34px, 3.5vw, 48px);
}

.dex-delivery-metrics span {
  font-size: 14px;
}

.dex-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media screen and (max-width: 991px) {
  .rt-hero-v1::before {
    top: 150px;
    right: 14px;
    width: clamp(320px, 58vw, 440px);
  }

  .dex-hero-workflow-visual {
    padding: 24px 18px 26px;
  }

  .dex-project-flow-card {
    min-height: 122px;
  }

  .dex-stage-console-body {
    grid-template-columns: 1fr;
  }

  .dex-stage-panel,
  .dex-stage-terminal {
    min-height: 220px;
  }
}

@media screen and (max-width: 767px) {
  .rt-hero-v1::before {
    top: 152px;
    right: 8px;
    width: 300px;
    opacity: 0.065;
  }

  .rt-hero-v1-heading-wrap .dex-hero-badge {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .dex-project-workspace {
    border-radius: 22px;
  }

  .dex-hero-workflow-visual {
    padding: 20px 12px 22px;
    border-radius: 21px;
  }

  .dex-delivery-surface {
    border-radius: 16px;
  }

  .dex-project-flow {
    padding: 14px;
  }

  .dex-project-flow-card {
    min-height: 116px;
  }

  .dex-hero-workflow-status {
    padding: 0 14px 18px;
  }

  .dex-stage-console-head button {
    width: 100%;
  }

  .dex-stage-panel,
  .dex-stage-terminal {
    min-height: 210px;
  }

  .dex-delivery-metrics {
    gap: 12px;
    margin-top: 18px;
    padding: 0;
  }

  .dex-delivery-metrics article {
    min-height: 102px;
    padding: 16px;
    border-radius: 14px;
  }
}

/* Headline annotation and roomier delivery console */
.rt-hero-micro-v2,
.rt-hero-v1-ai-boat,
.rt-hero-v1-shape,
.rt-hero-v1-glow-image,
.rt-hero-micro-v1,
.rt-hero-micro-v4,
.rt-hero-v1-circule {
  display: none !important;
}

.dex-agentic-ai-marker {
  position: absolute;
  top: 145px;
  right: -20px;
  z-index: 3;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.24);
  border-radius: 10px;
  color: var(--dex-white);
  background: var(--dex-blue);
  box-shadow: 0 12px 28px rgba(var(--dex-blue-rgb), 0.2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  animation: dex-agentic-marker-float 4.5s ease-in-out infinite;
}

.dex-agentic-ai-marker::before {
  content: "";
  position: absolute;
  top: -14px;
  left: -18px;
  width: 22px;
  height: 26px;
  background: var(--dex-blue);
  clip-path: polygon(0 0, 100% 48%, 58% 61%, 45% 100%);
  filter: drop-shadow(0 5px 7px rgba(var(--dex-blue-rgb), 0.2));
  transform: rotate(-22deg);
}

.dex-agentic-ai-marker::after {
  display: none;
}

.rt-hero-v1-heading-wrap .dex-hero-badge {
  margin-bottom: 22px;
}

.rt-hero-v1-heading-main {
  transform: translateY(-172px);
}

.rt-hero-v1-heading-wrap h1 {
  line-height: 1.09;
}

.dex-hero-title-accent {
  color: var(--dex-blue);
  background: linear-gradient(100deg, var(--dex-blue-dark) 0%, var(--dex-blue) 58%, #d89b00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dex-hero-intro-copy {
  margin-top: 20px;
}

.rt-hero-v1-button-wrap {
  margin-top: 22px;
}

.dex-project-workspace-shell {
  margin-top: -26px;
}

@keyframes dex-agentic-marker-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.dex-hero-workflow-visual {
  padding-bottom: 38px;
}

.dex-hero-workflow-top {
  margin-bottom: 30px;
}

.dex-delivery-surface {
  border-radius: 22px;
}

.dex-project-flow {
  padding: 20px;
}

.dex-project-flow-row {
  gap: 12px;
}

.dex-project-flow-card {
  min-height: 132px;
  padding: 16px 11px 14px;
  border-radius: 14px;
}

.dex-hero-workflow-status {
  padding: 0 24px 30px;
}

.dex-stage-console {
  padding-top: 26px;
}

.dex-stage-console-head {
  margin-bottom: 24px;
}

.dex-stage-console-head > div {
  gap: 18px;
}

.dex-stage-console-head span {
  width: 52px;
  height: 52px;
  border-radius: 13px;
}

.dex-project-workspace .dex-stage-console-head span {
  position: relative;
  box-sizing: border-box;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 18px;
  color: var(--dex-white);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.42), transparent 28%),
    linear-gradient(145deg, #4f82f8, var(--dex-blue) 48%, var(--dex-blue-dark));
  box-shadow:
    0 7px 0 #16368e,
    0 18px 30px rgba(var(--dex-blue-rgb), 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transform: translateY(-2px) rotate(-2deg);
}

.dex-project-workspace .dex-stage-console-yellow .dex-stage-console-head span {
  color: var(--dex-text);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.72), transparent 30%),
    linear-gradient(145deg, #ffe58a, var(--dex-yellow) 54%, #e3a20d);
  box-shadow:
    0 7px 0 #b77c00,
    0 18px 30px rgba(var(--dex-yellow-rgb), 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.dex-project-workspace .dex-stage-console-head span::before,
.dex-project-workspace .dex-stage-console-head span::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.dex-project-workspace .dex-stage-console-head span::before {
  display: none;
}

.dex-project-workspace .dex-stage-console-head span::after {
  top: 6px;
  right: 7px;
  width: 9px;
  height: 9px;
  z-index: 2;
  border: 3px solid #fff;
  background: var(--dex-yellow);
  box-shadow: 0 5px 13px rgba(var(--dex-yellow-rgb), 0.35);
}

.dex-project-workspace .dex-stage-console-yellow .dex-stage-console-head span::before {
  display: none;
}

.dex-project-workspace .dex-stage-console-yellow .dex-stage-console-head span::after {
  background: var(--dex-blue);
  box-shadow: 0 5px 13px rgba(var(--dex-blue-rgb), 0.3);
}

.dex-project-workspace .dex-stage-console-head span svg {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 4px 5px rgba(15, 23, 42, 0.18));
}

.dex-project-workspace .dex-project-flow-card > span {
  position: relative;
  box-sizing: border-box;
  width: 54px;
  height: 54px;
  margin-top: 6px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 17px;
  color: var(--dex-white);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.42), transparent 28%),
    linear-gradient(145deg, #4f82f8, var(--dex-blue) 48%, var(--dex-blue-dark));
  box-shadow:
    0 6px 0 #16368e,
    0 16px 26px rgba(var(--dex-blue-rgb), 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transform: translateY(-2px) rotate(-3deg);
}

.dex-project-workspace .dex-project-flow-card.dex-flow-tone-yellow > span {
  color: var(--dex-text);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.72), transparent 30%),
    linear-gradient(145deg, #ffe58a, var(--dex-yellow) 54%, #e3a20d);
  box-shadow:
    0 6px 0 #b77c00,
    0 16px 26px rgba(var(--dex-yellow-rgb), 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.dex-project-workspace .dex-project-flow-card > span::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--dex-yellow);
  box-shadow: 0 5px 13px rgba(var(--dex-yellow-rgb), 0.35);
}

.dex-project-workspace .dex-project-flow-card.dex-flow-tone-yellow > span::after {
  background: var(--dex-blue);
  box-shadow: 0 5px 13px rgba(var(--dex-blue-rgb), 0.3);
}

.dex-project-workspace .dex-project-flow-card > span svg {
  width: 27px;
  height: 27px;
  filter: drop-shadow(0 4px 5px rgba(15, 23, 42, 0.18));
}

.dex-project-workspace .dex-project-flow-card.is-active > span {
  transform: translateY(-5px) rotate(-5deg) scale(1.03);
  box-shadow:
    0 8px 0 #16368e,
    0 20px 32px rgba(var(--dex-blue-rgb), 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.dex-project-workspace .dex-project-flow-card.dex-flow-tone-yellow.is-active > span {
  box-shadow:
    0 8px 0 #b77c00,
    0 20px 32px rgba(var(--dex-yellow-rgb), 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.dex-stage-console-head strong {
  margin-bottom: 6px;
  font-size: clamp(22px, 2.1vw, 29px);
}

.dex-stage-console-head p {
  font-size: 14px;
  line-height: 1.5;
}

.dex-stage-tabs {
  margin-bottom: 22px;
  border-radius: 14px;
}

.dex-stage-tabs button {
  min-height: 58px;
  gap: 12px;
  padding: 12px 16px;
}

.dex-stage-tabs i {
  width: 30px;
  height: 30px;
}

.dex-stage-tabs b {
  font-size: 13px;
}

.dex-stage-console-body {
  gap: 20px;
}

.dex-stage-panel,
.dex-stage-terminal {
  min-height: 350px;
  border-radius: 16px;
}

.dex-stage-panel {
  padding: 22px;
}

.dex-stage-panel-top {
  margin-bottom: 18px;
  padding-bottom: 16px;
}

.dex-stage-panel-top strong {
  font-size: 14px;
}

.dex-stage-table {
  border-radius: 12px;
}

.dex-stage-table b,
.dex-stage-table span {
  padding: 16px;
  font-size: 13px;
  line-height: 1.45;
}

.dex-terminal-top {
  padding: 15px 18px;
}

.dex-stage-terminal pre {
  padding: 24px;
  font-size: 13px;
  line-height: 1.8;
}

.dex-delivery-metrics {
  margin-top: 32px;
}

@media screen and (max-width: 1199px) {
  .dex-agentic-ai-marker {
    right: -38px;
  }

  .dex-project-flow-row {
    gap: 9px;
  }
}

@media screen and (max-width: 991px) {
  .rt-hero-v1-heading-main {
    transform: translateY(-72px);
  }

  .dex-agentic-ai-marker {
    top: 125px;
    right: 6px;
  }

  .dex-agentic-ai-marker::before {
    top: -11px;
    left: -14px;
    width: 18px;
    height: 22px;
  }

  .dex-project-workspace-shell {
    margin-top: -12px;
  }

  .dex-hero-workflow-status {
    padding: 0 18px 26px;
  }

  .dex-stage-panel,
  .dex-stage-terminal {
    min-height: 270px;
  }
}

@media screen and (max-width: 767px) {
  .rt-hero-v1-heading-main {
    transform: translateY(-8px);
  }

  .dex-agentic-ai-marker {
    position: relative;
    top: auto;
    right: auto;
    min-height: 30px;
    margin: 12px auto 0;
    padding: 7px 11px;
    border-radius: 8px;
    font-size: 10px;
    animation: none;
  }

  .dex-agentic-ai-marker::before {
    top: -9px;
    left: -12px;
    width: 16px;
    height: 19px;
  }

  .rt-hero-v1-heading-wrap .dex-hero-badge {
    margin-bottom: 14px;
  }

  .rt-hero-v1-heading-wrap h1 {
    line-height: 1.08;
  }

  .dex-hero-intro-copy {
    margin-top: 16px;
  }

  .rt-hero-v1-button-wrap {
    margin-top: 20px;
  }

  .dex-project-workspace-shell {
    margin-top: -2px;
  }

  .dex-hero-workflow-visual {
    padding-bottom: 26px;
  }

  .dex-hero-workflow-top {
    margin-bottom: 22px;
  }

  .dex-project-flow {
    padding: 14px;
  }

  .dex-project-flow-card {
    min-height: 116px;
    padding: 14px 10px 12px;
    border-radius: 12px;
  }

  .dex-hero-workflow-status {
    padding: 0 14px 22px;
  }

  .dex-stage-console {
    padding-top: 20px;
  }

  .dex-stage-console-head {
    margin-bottom: 18px;
  }

  .dex-stage-tabs {
    margin-bottom: 18px;
  }

  .dex-stage-panel,
  .dex-stage-terminal {
    min-height: 230px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dex-agentic-ai-marker {
    animation: none;
  }
}

/* End-to-end agent engine */
.rt-ai-agents-v1 {
  position: relative;
  padding: clamp(82px, 9vw, 128px) 0 !important;
  background:
    radial-gradient(circle at 10% 18%, rgba(var(--dex-blue-rgb), 0.09), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(var(--dex-yellow-rgb), 0.12), transparent 24%),
    var(--dex-surface) !important;
}

.rt-ai-agents-v1::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--dex-blue-rgb), 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--dex-blue-rgb), 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

.rt-ai-agents-v1 .rt-container {
  position: relative;
  z-index: 1;
  max-width: 1320px;
}

.dex-engine-heading {
  max-width: 900px;
  margin: 0 auto clamp(42px, 5vw, 66px);
  text-align: center;
}

.dex-engine-heading .rt-sub-text {
  display: block;
  margin-bottom: 14px;
  color: var(--dex-blue-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dex-engine-heading h2 {
  color: var(--dex-text);
  font-size: clamp(42px, 5.2vw, 70px);
  font-weight: 500;
  line-height: 1.04;
}

.dex-engine-heading p {
  max-width: 800px;
  margin: 22px auto 0;
  color: var(--dex-text-secondary);
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 600;
  line-height: 1.5;
}

.dex-engine-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.dex-engine-card {
  position: relative;
  display: flex;
  min-height: 310px;
  grid-column: span 2;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 2.6vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.07);
  transition: border-color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.dex-engine-card:nth-child(4),
.dex-engine-card:nth-child(5) {
  grid-column: span 3;
}

.dex-engine-card::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -74px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 22px rgba(var(--dex-blue-rgb), 0.025),
    0 0 0 46px rgba(var(--dex-yellow-rgb), 0.025);
  pointer-events: none;
}

.dex-engine-card:hover {
  border-color: rgba(var(--dex-blue-rgb), 0.36);
  box-shadow: 0 24px 58px rgba(var(--dex-blue-rgb), 0.13);
  transform: translateY(-6px);
}

.dex-agent-avatar {
  position: relative;
  width: 104px;
  height: 104px;
  flex: 0 0 auto;
  margin-bottom: 26px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 72% 20%, rgba(var(--dex-yellow-rgb), 0.28), transparent 27%),
    linear-gradient(145deg, rgba(var(--dex-blue-rgb), 0.12), rgba(255, 255, 255, 0.96));
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.58);
}

.dex-engine-card-yellow .dex-agent-avatar {
  background:
    radial-gradient(circle at 26% 18%, rgba(var(--dex-blue-rgb), 0.2), transparent 25%),
    linear-gradient(145deg, rgba(var(--dex-yellow-rgb), 0.2), rgba(255, 255, 255, 0.96));
}

.dex-agent-head {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 54px;
  height: 44px;
  border: 3px solid var(--dex-blue-dark);
  border-radius: 18px 18px 15px 15px;
  background: var(--dex-white);
  transform: translateX(-50%);
}

.dex-agent-head i {
  position: absolute;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dex-blue);
  box-shadow: 0 0 0 4px rgba(var(--dex-blue-rgb), 0.1);
}

.dex-agent-head i:first-child {
  left: 12px;
}

.dex-agent-head i:nth-child(2) {
  right: 12px;
}

.dex-agent-head b {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 14px;
  height: 3px;
  border-radius: 999px;
  background: var(--dex-yellow);
  transform: translateX(-50%);
}

.dex-agent-antenna {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 2px;
  height: 14px;
  background: var(--dex-blue-dark);
  transform: translateX(-50%);
}

.dex-agent-antenna::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dex-yellow);
  box-shadow: 0 0 0 4px rgba(var(--dex-yellow-rgb), 0.16);
  transform: translateX(-50%);
}

.dex-agent-body {
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 64px;
  height: 29px;
  border: 3px solid var(--dex-blue-dark);
  border-radius: 22px 22px 10px 10px;
  background: linear-gradient(90deg, var(--dex-blue), var(--dex-blue-dark));
  transform: translateX(-50%);
}

.dex-agent-role-mark {
  position: absolute;
  right: -8px;
  bottom: -8px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 3px solid var(--dex-white);
  border-radius: 12px;
  color: var(--dex-white);
  background: var(--dex-blue);
  box-shadow: 0 10px 22px rgba(var(--dex-blue-rgb), 0.24);
}

.dex-engine-card-yellow .dex-agent-role-mark {
  color: var(--dex-text);
  background: var(--dex-yellow);
}

.dex-agent-role-mark svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dex-engine-card-copy {
  position: relative;
  z-index: 1;
}

.dex-engine-card h3 {
  margin: 0 0 14px;
  color: var(--dex-text);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 900;
  line-height: 1.15;
}

.dex-engine-card p {
  margin: 0;
  color: var(--dex-text-secondary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.dex-engine-outcome {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  padding: 22px 26px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.34);
  border-radius: 8px;
  background: rgba(var(--dex-blue-rgb), 0.075);
  box-shadow: 0 12px 30px rgba(var(--dex-blue-rgb), 0.08);
}

.dex-engine-outcome > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dex-blue);
  box-shadow: 0 0 0 8px rgba(var(--dex-blue-rgb), 0.1);
}

.dex-engine-outcome strong {
  display: block;
  margin-bottom: 3px;
  color: var(--dex-text);
  font-size: 17px;
  font-weight: 900;
}

.dex-engine-outcome p {
  margin: 0;
  color: var(--dex-blue-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.dex-engine-outcome small {
  color: var(--dex-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.dex-scroll-reveal .dex-engine-heading,
.dex-scroll-reveal .dex-engine-card,
.dex-scroll-reveal .dex-engine-outcome {
  opacity: 0;
  transform: translateY(36px) scale(0.985);
  transition:
    opacity 560ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dex-scroll-reveal.is-in-view .dex-engine-heading,
.dex-scroll-reveal.is-in-view .dex-engine-card,
.dex-scroll-reveal.is-in-view .dex-engine-outcome {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.dex-scroll-reveal.is-in-view .dex-engine-card:nth-child(1) { transition-delay: 80ms; }
.dex-scroll-reveal.is-in-view .dex-engine-card:nth-child(2) { transition-delay: 150ms; }
.dex-scroll-reveal.is-in-view .dex-engine-card:nth-child(3) { transition-delay: 220ms; }
.dex-scroll-reveal.is-in-view .dex-engine-card:nth-child(4) { transition-delay: 290ms; }
.dex-scroll-reveal.is-in-view .dex-engine-card:nth-child(5) { transition-delay: 360ms; }
.dex-scroll-reveal.is-in-view .dex-engine-outcome { transition-delay: 430ms; }

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

  .dex-engine-card,
  .dex-engine-card:nth-child(4),
  .dex-engine-card:nth-child(5) {
    grid-column: auto;
  }

  .dex-engine-card:last-child {
    grid-column: span 2;
  }
}

@media screen and (max-width: 767px) {
  .rt-ai-agents-v1 {
    padding: 70px 0 !important;
  }

  .dex-engine-heading {
    margin-bottom: 34px;
  }

  .dex-engine-heading h2 {
    font-size: 40px;
  }

  .dex-engine-heading p {
    margin-top: 16px;
    font-size: 16px;
  }

  .dex-engine-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dex-engine-card,
  .dex-engine-card:last-child {
    min-height: 0;
    grid-column: auto;
    padding: 22px;
  }

  .dex-agent-avatar {
    width: 90px;
    height: 90px;
    margin-bottom: 22px;
  }

  .dex-agent-head {
    top: 19px;
    transform: translateX(-50%) scale(0.88);
  }

  .dex-agent-body {
    bottom: 8px;
    transform: translateX(-50%) scale(0.88);
  }

  .dex-engine-outcome {
    grid-template-columns: 16px 1fr;
    padding: 20px;
  }

  .dex-engine-outcome small {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dex-scroll-reveal .dex-engine-heading,
  .dex-scroll-reveal .dex-engine-card,
  .dex-scroll-reveal .dex-engine-outcome {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Connected BRD, SRS, and FSD documentation */
.rt-feature-v1 {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 9vw, 120px) 0 !important;
  background:
    radial-gradient(circle at 8% 22%, rgba(var(--dex-blue-rgb), 0.12), transparent 30%),
    radial-gradient(circle at 92% 78%, rgba(var(--dex-yellow-rgb), 0.16), transparent 27%),
    linear-gradient(180deg, #f8fbff, #f4f8ff 58%, #fffdf5) !important;
}

.rt-feature-v1::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(var(--dex-blue-rgb), 0.15) 1px, transparent 1.4px),
    linear-gradient(rgba(var(--dex-blue-rgb), 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--dex-blue-rgb), 0.035) 1px, transparent 1px);
  background-position: 0 0, 12px 12px, 12px 12px;
  background-size: 28px 28px, 56px 56px, 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  pointer-events: none;
}

.dex-spec-section {
  position: relative;
  z-index: 1;
}

.dex-spec-layout {
  display: grid;
  grid-template-columns: minmax(560px, 1.14fr) minmax(0, 0.86fr);
  gap: clamp(48px, 5vw, 64px);
  align-items: start;
}

.dex-spec-copy {
  grid-column: 2;
  grid-row: 1;
  padding-top: 18px;
}

.dex-spec-copy > .rt-sub-text {
  display: block;
  margin-bottom: 16px;
  color: var(--dex-blue-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dex-spec-copy h2 {
  color: var(--dex-text);
  font-size: clamp(42px, 4.4vw, 62px);
  font-weight: 500;
  line-height: 1.05;
}

.dex-spec-lead {
  margin: 24px 0 32px;
  color: var(--dex-text-secondary);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}

.dex-spec-value-list {
  display: grid;
  gap: 14px;
}

.dex-spec-value-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(var(--dex-blue-rgb), 0.12);
}

.dex-spec-value-list article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.16);
  border-radius: 8px;
  color: var(--dex-blue);
  background: var(--dex-white);
  box-shadow: 0 10px 24px rgba(var(--dex-blue-rgb), 0.08);
}

.dex-spec-value-list svg,
.dex-spec-selector svg,
.dex-spec-topic-grid svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dex-spec-value-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--dex-text);
  font-size: 16px;
  font-weight: 900;
}

.dex-spec-value-list p {
  margin: 0;
  color: var(--dex-text-secondary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.dex-spec-linkage {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(var(--dex-blue-rgb), 0.08);
}

.dex-spec-linkage > strong {
  color: var(--dex-text);
  font-size: 15px;
  font-weight: 900;
}

.dex-spec-linkage > div {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 14px 0 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.dex-spec-linkage span {
  flex: 0 0 auto;
  padding: 7px 9px;
  border-radius: 6px;
  color: var(--dex-blue-dark);
  background: rgba(var(--dex-blue-rgb), 0.09);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.dex-spec-linkage i {
  color: var(--dex-yellow);
  font-size: 15px;
  font-style: normal;
  font-weight: 900;
}

.dex-spec-linkage p {
  margin: 0;
  color: var(--dex-text-secondary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.dex-spec-workspace {
  display: grid;
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
  gap: 18px;
}

.dex-spec-selectors {
  display: grid;
  min-width: 0;
  gap: 12px;
}

.dex-spec-selector {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 46px minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: var(--dex-text);
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.dex-spec-selector > div,
.dex-spec-selector h3,
.dex-spec-selector p,
.dex-spec-preview-stage {
  min-width: 0;
}

.dex-spec-selector::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--dex-blue), var(--dex-yellow));
  opacity: 0;
  transition: opacity 220ms ease;
}

.dex-spec-selector:hover,
.dex-spec-selector.is-active {
  border-color: rgba(var(--dex-blue-rgb), 0.38);
  box-shadow: 0 16px 36px rgba(var(--dex-blue-rgb), 0.11);
  transform: translateX(4px);
}

.dex-spec-selector.is-active::before {
  opacity: 1;
}

.dex-spec-selector > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  color: var(--dex-blue);
  background: rgba(var(--dex-blue-rgb), 0.09);
}

.dex-spec-selector:nth-child(2) > span {
  color: #9a6700;
  background: rgba(var(--dex-yellow-rgb), 0.18);
}

.dex-spec-selector small {
  display: block;
  margin-bottom: 2px;
  color: var(--dex-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.dex-spec-selector h3 {
  margin: 0 0 4px;
  color: var(--dex-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.dex-spec-selector p {
  margin: 0;
  color: var(--dex-text-secondary);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.dex-spec-selector > i {
  color: var(--dex-text-muted);
  font-size: 18px;
  font-style: normal;
  transition: color 220ms ease, transform 220ms ease;
}

.dex-spec-selector.is-active > i {
  color: var(--dex-blue);
  transform: translateX(3px);
}

.dex-spec-preview-stage {
  position: relative;
  min-height: 510px;
}

.dex-spec-preview {
  position: absolute;
  inset: 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--dex-blue-rgb), 0.035), transparent 42%),
    #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.99);
  transition:
    opacity 320ms ease,
    visibility 0s linear 320ms,
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dex-spec-preview.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.dex-spec-preview header {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.dex-spec-preview header > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  color: var(--dex-white);
  background: linear-gradient(135deg, var(--dex-blue), var(--dex-blue-dark));
  font-size: 13px;
  font-weight: 900;
}

.dex-spec-preview header small {
  display: block;
  margin-bottom: 2px;
  color: var(--dex-text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dex-spec-preview header strong {
  color: var(--dex-text);
  font-size: 15px;
  font-weight: 700;
}

.dex-spec-preview header > i {
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--dex-blue-dark);
  background: rgba(var(--dex-blue-rgb), 0.09);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.dex-spec-preview > p {
  margin: 0 0 20px;
  color: var(--dex-text-secondary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.dex-spec-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dex-spec-topic-grid > span {
  display: grid;
  min-height: 48px;
  grid-template-columns: 15px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.1);
  border-radius: 6px;
  color: var(--dex-blue);
  background: #f8fbff;
}

.dex-spec-topic-grid svg {
  width: 14px;
  height: 14px;
}

.dex-spec-topic-grid b {
  color: var(--dex-text-secondary);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.dex-scroll-reveal .dex-spec-copy,
.dex-scroll-reveal .dex-spec-workspace {
  opacity: 0;
  transform: translateY(34px);
}

.dex-scroll-reveal.is-in-view .dex-spec-copy,
.dex-scroll-reveal.is-in-view .dex-spec-workspace {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 760ms ease,
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dex-scroll-reveal.is-in-view .dex-spec-workspace {
  transition-delay: 160ms;
}

@media screen and (max-width: 991px) {
  .dex-spec-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .dex-spec-copy {
    max-width: 760px;
    grid-column: auto;
    grid-row: auto;
    padding-top: 0;
  }

  .dex-spec-workspace {
    grid-column: auto;
    grid-row: auto;
  }
}

@media screen and (max-width: 767px) {
  .rt-feature-v1 {
    padding: 70px 0 !important;
  }

  .dex-spec-layout {
    gap: 38px;
  }

  .dex-spec-copy h2 {
    font-size: 40px;
  }

  .dex-spec-lead {
    margin-top: 18px;
    font-size: 16px;
  }

  .dex-spec-selector {
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    gap: 11px;
    padding: 14px;
  }

  .dex-spec-selector > span {
    width: 42px;
    height: 42px;
  }

  .dex-spec-selector h3 {
    font-size: 14px;
  }

  .dex-spec-selector p {
    font-size: 10px;
  }

  .dex-spec-preview-stage {
    min-height: 650px;
  }

  .dex-spec-preview {
    padding: 18px;
  }

  .dex-spec-preview header {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .dex-spec-preview header > span {
    width: 42px;
    height: 42px;
  }

  .dex-spec-preview header > i {
    display: none;
  }

  .dex-spec-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .dex-scroll-reveal .dex-spec-copy,
  .dex-scroll-reveal .dex-spec-workspace {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .dex-spec-preview,
  .dex-spec-selector {
    transition: none;
  }
}

/* Document console left, document selectors right */
.dex-spec-heading {
  max-width: 920px;
  margin: 0 auto clamp(42px, 5vw, 62px);
  text-align: center;
}

.dex-spec-heading .rt-sub-text {
  display: block;
  margin-bottom: 14px;
  color: var(--dex-blue-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dex-spec-heading h2 {
  color: var(--dex-text);
  font-size: clamp(42px, 4.8vw, 66px);
  font-weight: 500;
  line-height: 1.05;
}

.dex-spec-heading p {
  max-width: 820px;
  margin: 22px auto 0;
  color: var(--dex-text-secondary);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  line-height: 1.55;
}

.dex-spec-layout {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: clamp(40px, 4.5vw, 60px);
}

.dex-spec-preview-stage {
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
}

.dex-spec-selectors {
  min-width: 0;
  height: 510px;
  grid-column: 2;
  grid-row: 1;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  align-content: start;
}

.dex-spec-selectors .dex-spec-selector {
  grid-template-columns: 40px minmax(0, 1fr) 18px;
  gap: 10px;
  padding: 9px 11px;
}

.dex-spec-selectors .dex-spec-selector > span {
  width: 40px;
  height: 40px;
}

.dex-spec-selectors .dex-spec-selector h3 {
  margin-bottom: 2px;
  font-size: 13px;
}

.dex-spec-selectors .dex-spec-selector p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 9px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dex-spec-selector {
  min-height: 0;
}

.dex-scroll-reveal .dex-spec-heading,
.dex-scroll-reveal .dex-spec-preview-stage,
.dex-scroll-reveal .dex-spec-selectors {
  opacity: 0;
  transform: translateY(34px);
}

.dex-scroll-reveal.is-in-view .dex-spec-heading,
.dex-scroll-reveal.is-in-view .dex-spec-preview-stage,
.dex-scroll-reveal.is-in-view .dex-spec-selectors {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 760ms ease,
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dex-scroll-reveal.is-in-view .dex-spec-preview-stage {
  transition-delay: 100ms;
}

.dex-scroll-reveal.is-in-view .dex-spec-selectors {
  transition-delay: 190ms;
}

@media screen and (max-width: 991px) {
  .dex-spec-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .dex-spec-selectors {
    height: auto;
    grid-column: auto;
    grid-row: 1;
    grid-template-rows: none;
  }

  .dex-spec-preview-stage {
    grid-column: auto;
    grid-row: 2;
  }
}

@media screen and (max-width: 767px) {
  .dex-spec-heading {
    margin-bottom: 34px;
  }

  .dex-spec-heading h2 {
    font-size: 40px;
  }

  .dex-spec-heading p {
    margin-top: 16px;
    font-size: 16px;
  }

  .dex-spec-selector {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dex-scroll-reveal .dex-spec-heading,
  .dex-scroll-reveal .dex-spec-preview-stage,
  .dex-scroll-reveal .dex-spec-selectors {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Branded orbit motifs and directional section choreography */
.dex-engine-card {
  min-height: 370px;
}

.dex-agent-avatar {
  width: 154px;
  height: 142px;
  margin: 0 0 24px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.dex-agent-avatar img {
  position: absolute;
  inset: 5px 12px 3px;
  z-index: 2;
  width: 130px;
  height: 134px;
  border-radius: 24px;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  mix-blend-mode: multiply;
}

.dex-agent-orbit,
.dex-agent-avatar::before,
.dex-agent-avatar::after {
  position: absolute;
  pointer-events: none;
}

.dex-agent-orbit {
  inset: 8px -5px 4px;
  z-index: 0;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 10px rgba(var(--dex-blue-rgb), 0.04),
    0 0 0 20px rgba(var(--dex-blue-rgb), 0.025);
  transform: rotate(-12deg);
}

.dex-agent-avatar::before {
  content: "";
  top: 9px;
  right: 2px;
  z-index: 3;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dex-blue);
  box-shadow:
    -135px 82px 0 -1px var(--dex-yellow),
    -35px 124px 0 -2px var(--dex-blue);
}

.dex-agent-avatar::after {
  content: "";
  right: 5px;
  bottom: 3px;
  z-index: 1;
  width: 56px;
  height: 56px;
  border: 5px solid transparent;
  border-top-color: var(--dex-blue);
  border-radius: 50%;
  transform: rotate(36deg);
}

.dex-engine-card::after {
  right: -72px;
  bottom: -38px;
  width: 250px;
  height: 164px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.12);
  border-radius: 50%;
  background:
    radial-gradient(circle at 18% 48%, var(--dex-blue) 0 3px, transparent 4px),
    radial-gradient(circle at 76% 12%, var(--dex-yellow) 0 4px, transparent 5px);
  box-shadow:
    0 0 0 18px rgba(var(--dex-blue-rgb), 0.035),
    0 0 0 38px rgba(var(--dex-blue-rgb), 0.022);
  transform: rotate(-18deg);
}

.dex-engine-card::before {
  content: "";
  position: absolute;
  right: 38px;
  bottom: 28px;
  width: 72px;
  height: 72px;
  border: 6px solid transparent;
  border-top-color: rgba(var(--dex-blue-rgb), 0.5);
  border-radius: 50%;
  transform: rotate(28deg);
  pointer-events: none;
}

.dex-spec-selector::after {
  background:
    radial-gradient(circle at 91% 22%, var(--dex-blue) 0 3px, transparent 4px),
    radial-gradient(circle at 78% 82%, var(--dex-yellow) 0 3px, transparent 4px),
    repeating-radial-gradient(ellipse at 102% 50%, transparent 0 22px, rgba(var(--dex-blue-rgb), 0.08) 23px 24px),
    linear-gradient(90deg, rgba(var(--dex-blue-rgb), 0.04), transparent 45%);
}

.dex-spec-preview {
  background:
    radial-gradient(circle at 94% 12%, rgba(var(--dex-blue-rgb), 0.5) 0 3px, transparent 4px),
    repeating-radial-gradient(ellipse at 110% 8%, transparent 0 28px, rgba(var(--dex-blue-rgb), 0.045) 29px 30px),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(var(--dex-blue-rgb), 0.028) 31px 32px),
    linear-gradient(135deg, rgba(var(--dex-blue-rgb), 0.035), transparent 42%),
    #fff;
}

.dex-spec-topic-grid > span::after {
  right: -26px;
  bottom: -17px;
  width: 72px;
  height: 46px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.09);
  border-radius: 50%;
  background: radial-gradient(circle at 25% 50%, rgba(var(--dex-blue-rgb), 0.45) 0 2px, transparent 3px);
  box-shadow:
    0 0 0 9px rgba(var(--dex-blue-rgb), 0.025),
    0 0 0 18px rgba(var(--dex-yellow-rgb), 0.018);
  transform: rotate(-14deg);
}

.dex-scroll-reveal .dex-engine-card:nth-child(odd) {
  transform: translateX(-54px) scale(0.98);
}

.dex-scroll-reveal .dex-engine-card:nth-child(even) {
  transform: translateX(54px) scale(0.98);
}

.dex-scroll-reveal.is-in-view .dex-engine-card {
  transform: translateX(0) scale(1);
}

.dex-scroll-reveal .dex-agent-avatar img {
  opacity: 0;
  transform: translateX(-20px) scale(0.9) rotate(0deg);
  transition:
    opacity 620ms ease,
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dex-scroll-reveal .dex-engine-card:nth-child(even) .dex-agent-avatar img {
  transform: translateX(20px) scale(0.9) rotate(0deg);
}

.dex-scroll-reveal.is-in-view .dex-agent-avatar img {
  opacity: 1;
  transform: translateX(0) scale(1) rotate(0);
  transition-delay: 170ms;
}

.dex-scroll-reveal .dex-spec-preview-stage {
  transform: translateX(-58px);
}

.dex-scroll-reveal .dex-spec-selectors {
  transform: translateX(58px);
}

.dex-scroll-reveal.is-in-view .dex-spec-preview-stage,
.dex-scroll-reveal.is-in-view .dex-spec-selectors {
  transform: translateX(0);
}

@media screen and (max-width: 767px) {
  .dex-agent-avatar {
    width: 138px;
    height: 128px;
  }

  .dex-agent-avatar img {
    inset: 4px 10px 2px;
    width: 118px;
    height: 122px;
  }

  .dex-scroll-reveal .dex-engine-card:nth-child(odd),
  .dex-scroll-reveal .dex-engine-card:nth-child(even) {
    transform: translateY(34px) scale(0.985);
  }

  .dex-scroll-reveal.is-in-view .dex-engine-card {
    transform: translateY(0) scale(1);
  }

  .dex-scroll-reveal .dex-spec-preview-stage,
  .dex-scroll-reveal .dex-spec-selectors {
    transform: translateY(34px);
  }

  .dex-scroll-reveal.is-in-view .dex-spec-preview-stage,
  .dex-scroll-reveal.is-in-view .dex-spec-selectors {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dex-scroll-reveal .dex-engine-card,
  .dex-scroll-reveal .dex-agent-avatar img,
  .dex-scroll-reveal .dex-spec-preview-stage,
  .dex-scroll-reveal .dex-spec-selectors {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Polished generated-document surfaces */
.dex-spec-selector {
  isolation: isolate;
}

.dex-spec-selector::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(var(--dex-blue-rgb), 0.045), transparent 36%),
    radial-gradient(circle at 94% 18%, rgba(var(--dex-yellow-rgb), 0.12), transparent 28%);
  opacity: 0;
  transition: opacity 240ms ease;
}

.dex-spec-selector.is-active::after,
.dex-spec-selector:hover::after {
  opacity: 1;
}

.dex-spec-selector.is-active > span {
  color: var(--dex-white);
  background: linear-gradient(145deg, var(--dex-blue), var(--dex-blue-dark));
  box-shadow: 0 10px 22px rgba(var(--dex-blue-rgb), 0.22);
}

.dex-spec-preview {
  padding: 30px 30px 28px 38px;
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(var(--dex-blue-rgb), 0.028) 31px 32px),
    linear-gradient(135deg, rgba(var(--dex-blue-rgb), 0.035), transparent 42%),
    #fff;
}

.dex-spec-preview::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--dex-blue), var(--dex-blue-dark) 62%, var(--dex-yellow));
}

.dex-spec-preview::after {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 28px;
  left: 20px;
  border-left: 1px dashed rgba(var(--dex-blue-rgb), 0.2);
  pointer-events: none;
}

.dex-spec-preview header {
  margin-bottom: 20px;
  padding-bottom: 18px;
}

.dex-spec-preview header > span {
  position: relative;
  box-shadow:
    0 10px 24px rgba(var(--dex-blue-rgb), 0.2),
    7px 7px 0 rgba(var(--dex-yellow-rgb), 0.18);
}

.dex-spec-preview header > i {
  color: var(--dex-blue-dark);
  background: linear-gradient(90deg, rgba(var(--dex-blue-rgb), 0.1), rgba(var(--dex-yellow-rgb), 0.14));
}

.dex-spec-preview > p {
  max-width: 92%;
  margin-bottom: 22px;
  font-size: 13px;
}

.dex-spec-topic-grid {
  gap: 11px;
}

.dex-spec-topic-grid > span {
  position: relative;
  min-height: 52px;
  grid-template-columns: 14px minmax(0, 1fr);
  padding: 11px 12px;
  overflow: hidden;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.1);
  border-left: 3px solid rgba(var(--dex-blue-rgb), 0.55);
  background: rgba(248, 251, 255, 0.94);
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.035);
}

.dex-spec-topic-grid > span:nth-child(3n + 2) {
  border-left-color: rgba(var(--dex-yellow-rgb), 0.9);
  background: rgba(255, 251, 235, 0.72);
}

.dex-spec-topic-grid > span::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -17px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.07);
  border-radius: 50%;
}

.dex-spec-topic-grid b {
  color: #334155;
  font-size: 10.5px;
  line-height: 1.35;
}

.dex-spec-preview.is-active .dex-spec-topic-grid > span {
  animation: dex-spec-topic-in 460ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dex-spec-preview.is-active .dex-spec-topic-grid > span:nth-child(2) { animation-delay: 25ms; }
.dex-spec-preview.is-active .dex-spec-topic-grid > span:nth-child(3) { animation-delay: 50ms; }
.dex-spec-preview.is-active .dex-spec-topic-grid > span:nth-child(4) { animation-delay: 75ms; }
.dex-spec-preview.is-active .dex-spec-topic-grid > span:nth-child(5) { animation-delay: 100ms; }
.dex-spec-preview.is-active .dex-spec-topic-grid > span:nth-child(6) { animation-delay: 125ms; }
.dex-spec-preview.is-active .dex-spec-topic-grid > span:nth-child(n + 7) { animation-delay: 150ms; }

@keyframes dex-spec-topic-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 767px) {
  .dex-spec-preview {
    padding: 24px 18px 22px 28px;
  }

  .dex-spec-preview::after {
    left: 14px;
  }

  .dex-spec-topic-grid > span {
    min-height: 50px;
    padding: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dex-spec-preview.is-active .dex-spec-topic-grid > span {
    animation: none;
  }
}

/* Final DeX orbit and content-slot treatment */
.dex-agent-avatar {
  width: 166px;
  height: 146px;
  margin-bottom: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dex-engine-card-yellow .dex-agent-avatar {
  background: transparent;
}

.dex-agent-avatar img {
  position: relative;
  inset: auto;
  width: 154px;
  height: 146px;
  border-radius: 0;
  object-fit: contain;
  mix-blend-mode: normal;
}

.dex-scroll-reveal.is-in-view .dex-engine-card:nth-child(even) .dex-agent-avatar img {
  transform: translateX(0) scale(1) rotate(0deg);
}

.dex-agent-orbit,
.dex-agent-avatar::before,
.dex-agent-avatar::after {
  display: none;
}

.dex-engine-card::after {
  top: -140px;
  right: -140px;
  bottom: auto;
  z-index: 0;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle at 23% 77%, var(--dex-blue) 0 4px, transparent 5px),
    radial-gradient(circle at 41% 93%, var(--dex-yellow) 0 4px, transparent 5px),
    radial-gradient(circle, transparent 0 76px, rgba(var(--dex-blue-rgb), 0.2) 77px 78px, transparent 79px 100px, rgba(var(--dex-blue-rgb), 0.16) 101px 102px, transparent 103px 123px, rgba(var(--dex-blue-rgb), 0.12) 124px 125px, transparent 126px);
  box-shadow:
    0 0 0 13px rgba(var(--dex-blue-rgb), 0.04),
    0 0 0 27px rgba(var(--dex-blue-rgb), 0.022);
  opacity: 0.82;
  transform: none;
}

.dex-engine-card::before {
  top: -115px;
  right: -115px;
  bottom: auto;
  z-index: 0;
  width: 230px;
  height: 230px;
  border-width: 7px;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: var(--dex-blue);
  border-left-color: var(--dex-blue);
  opacity: 0.9;
  transform: rotate(18deg);
}

.dex-agent-avatar,
.dex-engine-card-copy {
  position: relative;
  z-index: 2;
}

.dex-spec-topic-grid > span::after {
  display: none;
  content: none;
}

@media screen and (max-width: 1199px) {
  .dex-engine-card::after {
    top: -125px;
    right: -125px;
    width: 250px;
    height: 250px;
  }

  .dex-engine-card::before {
    top: -102px;
    right: -102px;
    width: 204px;
    height: 204px;
  }
}

@media screen and (max-width: 767px) {
  .dex-agent-avatar {
    width: 148px;
    height: 132px;
  }

  .dex-agent-avatar img {
    width: 138px;
    height: 132px;
  }

  .dex-engine-card::after {
    top: -112px;
    right: -112px;
    width: 224px;
    height: 224px;
  }

  .dex-engine-card::before {
    top: -91px;
    right: -91px;
    width: 182px;
    height: 182px;
    border-width: 6px;
  }
}

/* Mobile optimization for hero, agent engine, and documentation */
@media screen and (max-width: 767px) {
  .rt-hero-v1 {
    padding-bottom: 42px !important;
  }

  .rt-hero-v1-heading-main {
    transform: translateY(-4px);
  }

  .rt-hero-v1-heading-wrap h1 {
    font-size: clamp(34px, 9.5vw, 40px);
    line-height: 1.08;
  }

  .dex-hero-intro-copy {
    max-width: 34ch;
    margin: 14px auto 0;
    font-size: 14px;
    line-height: 1.55;
  }

  .rt-hero-v1-button-wrap {
    gap: 10px;
    margin-top: 18px;
  }

  .rt-hero-v1-button-wrap > a {
    min-height: 52px;
  }

  .dex-project-workspace-shell {
    margin-top: 10px;
  }

  .dex-hero-workflow-visual {
    padding: 14px 10px 16px;
    border-radius: 18px;
  }

  .dex-hero-workflow-top {
    margin-bottom: 18px;
  }

  .dex-hero-workflow-top strong {
    font-size: 27px;
    line-height: 1.08;
  }

  .dex-project-flow {
    padding: 10px;
    scrollbar-width: thin;
  }

  .dex-project-flow-row {
    grid-template-columns: repeat(8, 104px);
    gap: 8px;
    min-width: 888px;
  }

  .dex-project-flow-card {
    min-height: 100px;
    padding: 11px 9px;
  }

  .dex-hero-workflow-status {
    padding: 0 12px 16px;
  }

  .dex-stage-console {
    padding-top: 16px;
  }

  .dex-stage-console-head {
    margin-bottom: 14px;
  }

  .dex-stage-console-head > div {
    gap: 12px;
    align-items: flex-start;
  }

  .dex-stage-console-head span {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
  }

  .dex-project-workspace .dex-stage-console-head span {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 15px;
    box-shadow:
      0 5px 0 #16368e,
      0 14px 24px rgba(var(--dex-blue-rgb), 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.42);
  }

  .dex-project-workspace .dex-stage-console-yellow .dex-stage-console-head span {
    box-shadow:
      0 5px 0 #b77c00,
      0 14px 24px rgba(var(--dex-yellow-rgb), 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.58);
  }

  .dex-project-workspace .dex-stage-console-head span svg {
    width: 22px;
    height: 22px;
  }

  .dex-stage-console-head strong {
    margin-bottom: 4px;
    font-size: 21px;
    line-height: 1.12;
  }

  .dex-stage-console-head p {
    font-size: 13px;
    line-height: 1.45;
  }

  .dex-stage-console-head button {
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
  }

  .dex-stage-tabs {
    margin-bottom: 14px;
  }

  .dex-stage-tabs button {
    min-height: 52px;
    padding: 9px 10px;
  }

  .dex-stage-tabs i {
    width: 26px;
    height: 26px;
  }

  .dex-stage-tabs b {
    font-size: 12px;
  }

  .dex-stage-console-body {
    gap: 12px;
    min-height: 0;
  }

  .dex-stage-console-body.is-document-layout,
  .dex-stage-console-body.is-build-layout,
  .dex-stage-console-body.is-code-layout,
  .dex-stage-console-body.is-qa-layout,
  .dex-stage-console-body.is-deploy-layout,
  .dex-stage-console-body.is-history-layout {
    grid-template-columns: 1fr;
  }

  .dex-stage-panel,
  .dex-stage-terminal {
    min-height: 0;
    border-radius: 12px;
  }

  .dex-stage-panel {
    padding: 16px;
  }

  .dex-stage-panel-top {
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .dex-stage-substep-copy {
    min-height: 0;
    padding: 16px;
  }

  .dex-stage-substep-copy small {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .dex-stage-substep-copy p {
    font-size: 15px;
    line-height: 1.48;
  }

  .dex-stage-stream-meter {
    margin-top: 13px;
  }

  .dex-stage-stream-meter b {
    font-size: 10px;
  }

  .dex-stage-document-writer,
  .dex-stage-document-paper {
    min-height: 260px;
  }

  .dex-stage-document-paper {
    gap: 8px;
    padding: 15px;
  }

  .dex-stage-document-paper p {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px;
    font-size: 11.5px;
    line-height: 1.42;
  }

  .dex-stage-document-paper p span {
    width: 20px;
    height: 20px;
    font-size: 9px;
  }

  .dex-document-cursor {
    height: 15px;
    margin-left: 30px;
  }

  .dex-stage-document-aside {
    padding: 16px;
  }

  .dex-stage-document-aside strong {
    font-size: 20px;
  }

  .dex-stage-document-aside p {
    margin-top: 10px;
    font-size: 12px;
  }

  .dex-stage-document-result {
    margin: 16px 0 0;
  }

  .dex-stage-document-result b {
    font-size: 12px;
  }

  .dex-stage-document-aside ul {
    margin-top: 16px;
    padding-top: 14px;
  }

  .dex-code-build-showcase,
  .dex-qa-showcase,
  .dex-build-duo,
  .dex-deploy-board,
  .dex-history-checklist,
  .dex-build-status {
    min-height: 0;
  }

  .dex-build-duo,
  .dex-qa-showcase,
  .dex-deploy-board {
    grid-template-columns: 1fr;
  }

  .dex-build-duo > div,
  .dex-qa-main,
  .dex-deploy-board > div {
    padding: 14px;
  }

  .dex-code-preview,
  .dex-live-preview,
  .dex-history-log,
  .dex-qa-terminal {
    min-height: 230px;
  }

  .dex-deploy-command {
    grid-column: auto;
  }

  .dex-history-checklist p {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .dex-history-checklist b {
    grid-column: 2;
  }

  .dex-stage-table div {
    grid-template-columns: minmax(88px, 0.72fr) minmax(0, 1.28fr);
  }

  .dex-stage-table b,
  .dex-stage-table span {
    padding: 10px;
    font-size: 11.5px;
    line-height: 1.4;
  }

  .dex-terminal-top {
    padding: 11px 14px;
  }

  .dex-stage-terminal pre {
    min-height: 150px;
    padding: 16px;
    font-size: 11px;
    line-height: 1.55;
  }

  .dex-terminal-cursor {
    right: 14px;
    bottom: 14px;
    height: 15px;
  }

  .dex-delivery-metrics {
    gap: 8px;
    margin-top: 18px;
    padding: 10px;
  }

  .dex-delivery-metrics article {
    padding: 11px;
  }

  .dex-delivery-metrics strong {
    font-size: 26px;
  }

  .rt-ai-agents-v1 {
    padding: 56px 0 !important;
  }

  .dex-engine-heading {
    margin-bottom: 28px;
  }

  .dex-engine-heading .rt-sub-text {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .dex-engine-heading h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .dex-engine-heading p {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.48;
  }

  .dex-engine-grid {
    gap: 12px;
  }

  .dex-engine-card,
  .dex-engine-card:last-child {
    display: grid;
    min-height: 190px;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 18px;
  }

  .dex-agent-avatar {
    width: 104px;
    height: 112px;
    margin: 0;
  }

  .dex-agent-avatar img {
    width: 104px;
    height: 112px;
  }

  .dex-engine-card-copy {
    align-self: center;
  }

  .dex-engine-card h3 {
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 1.15;
  }

  .dex-engine-card p {
    font-size: 13.5px;
    line-height: 1.48;
  }

  .dex-engine-card::after {
    top: -80px;
    right: -80px;
    width: 160px;
    height: 160px;
    opacity: 0.52;
  }

  .dex-engine-card::before {
    top: -64px;
    right: -64px;
    width: 128px;
    height: 128px;
    border-width: 5px;
    opacity: 0.58;
  }

  .dex-engine-outcome {
    gap: 12px;
    margin-top: 18px;
    padding: 16px;
  }

  .dex-engine-outcome strong {
    font-size: 15px;
  }

  .dex-engine-outcome p {
    font-size: 12.5px;
  }

  .rt-feature-v1 {
    padding: 56px 0 !important;
  }

  .dex-spec-heading {
    margin-bottom: 28px;
  }

  .dex-spec-heading .rt-sub-text {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .dex-spec-heading h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .dex-spec-heading p {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.48;
  }

  .dex-spec-layout {
    gap: 26px;
  }

  .dex-spec-selectors {
    gap: 10px;
  }

  .dex-spec-selector {
    grid-template-columns: 40px minmax(0, 1fr) 18px;
    gap: 10px;
    padding: 12px;
  }

  .dex-spec-selector > span {
    width: 40px;
    height: 40px;
  }

  .dex-spec-selector h3 {
    font-size: 13px;
  }

  .dex-spec-selector p {
    font-size: 9.5px;
    line-height: 1.3;
  }

  .dex-spec-preview-stage {
    min-height: 570px;
  }

  .dex-spec-preview {
    padding: 22px 16px 20px 26px;
  }

  .dex-spec-preview > p {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: 12px;
  }

  .dex-spec-topic-grid {
    gap: 8px;
  }

  .dex-spec-topic-grid > span {
    min-height: 44px;
    padding: 8px;
  }

  .dex-spec-topic-grid b {
    font-size: 9.5px;
  }
}

@media screen and (max-width: 374px) {
  .rt-hero-v1-heading-wrap h1,
  .dex-engine-heading h2,
  .dex-spec-heading h2 {
    font-size: 32px;
  }

  .dex-engine-card,
  .dex-engine-card:last-child {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .dex-agent-avatar,
  .dex-agent-avatar img {
    width: 88px;
    height: 100px;
  }

  .dex-engine-card h3 {
    font-size: 18px;
  }
}

/* DeX business outcomes */
.dex-business-outcomes-section {
  position: relative;
  padding: clamp(86px, 9vw, 128px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 4%, rgba(var(--dex-blue-rgb), 0.1), transparent 26%),
    radial-gradient(circle at 0% 96%, rgba(var(--dex-yellow-rgb), 0.14), transparent 24%),
    #fff;
}

.dex-business-outcomes-section::before,
.dex-business-outcomes-section::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.dex-business-outcomes-section::before { top: -280px; right: -240px; width: 620px; height: 620px; }
.dex-business-outcomes-section::after { bottom: -290px; left: -250px; width: 600px; height: 600px; border-color: rgba(var(--dex-yellow-rgb), 0.18); }

.dex-business-outcomes-inner { position: relative; z-index: 1; }

.dex-business-outcomes-heading {
  max-width: 1080px;
  margin: 0 auto clamp(38px, 5vw, 62px);
  text-align: center;
}

.dex-business-outcomes-heading > small,
.dex-outcome-copy > small {
  color: var(--dex-blue-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dex-business-outcomes-heading h2 {
  margin: 12px 0 0;
  color: #0f172a;
  font-size: clamp(43px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.03;
}

.dex-business-outcomes-heading h2 span { display: block; color: #2563eb; font-weight: 700; }

.dex-business-outcomes-heading p {
  max-width: 850px;
  margin: 22px auto 0;
  color: #475569;
  font-size: clamp(16px, 1.55vw, 20px);
  font-weight: 600;
  line-height: 1.55;
}

.dex-outcome-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f1f5f9;
  scrollbar-width: none;
}

.dex-outcome-tabs::-webkit-scrollbar { display: none; }

.dex-outcome-tab {
  display: flex;
  min-width: 0;
  min-height: 58px;
  gap: 9px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #64748b;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.dex-outcome-tab:hover { color: #1e40af; transform: translateY(-1px); }
.dex-outcome-tab:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.24); outline-offset: 2px; }

.dex-outcome-tab span {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
}

.dex-outcome-tab svg,
.dex-outcome-panel svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dex-outcome-tab b { min-width: 0; font-size: 12px; line-height: 1.15; white-space: nowrap; }

.dex-outcome-tab.is-active {
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.2);
  background: #fff;
  box-shadow: 0 7px 20px rgba(15, 23, 42, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.dex-outcome-tab-yellow.is-active { color: #8a5b00; border-color: rgba(251, 191, 36, 0.45); }

.dex-outcome-panel {
  --outcome-accent: #2563eb;
  --outcome-accent-rgb: 37, 99, 235;
  display: grid;
  min-height: 610px;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: center;
  margin-top: 38px;
  padding: clamp(38px, 5vw, 66px);
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.075);
}

.dex-outcome-panel-yellow { --outcome-accent: #d99a00; --outcome-accent-rgb: 251, 191, 36; }

.dex-outcome-panel.is-changing .dex-outcome-copy,
.dex-outcome-panel.is-changing .dex-outcome-console-body { opacity: 0; transform: translateX(10px); }

.dex-outcome-copy,
.dex-outcome-console-body { transition: opacity 300ms ease, transform 360ms ease; }

.dex-outcome-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 32px;
  border: 1px solid rgba(var(--outcome-accent-rgb), 0.3);
  border-radius: 20px;
  color: var(--outcome-accent);
  background: rgba(var(--outcome-accent-rgb), 0.08);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.65);
}

.dex-outcome-icon svg { width: 31px; height: 31px; }
.dex-outcome-copy > small { color: var(--outcome-accent); }

.dex-outcome-copy h3 {
  margin: 11px 0 20px;
  color: #0f172a;
  font-size: clamp(34px, 3.7vw, 50px);
  line-height: 1.06;
}

.dex-outcome-copy > p { margin: 0; color: #475569; font-size: 17px; font-weight: 550; line-height: 1.65; }
.dex-outcome-copy ul { display: grid; gap: 15px; margin: 29px 0 0; padding: 0; list-style: none; }
.dex-outcome-copy li { display: grid; grid-template-columns: 27px minmax(0, 1fr); gap: 12px; align-items: center; color: #334155; font-size: 14px; font-weight: 750; line-height: 1.35; }

.dex-outcome-copy li > svg {
  width: 27px;
  height: 27px;
  padding: 6px;
  border: 1px solid rgba(var(--outcome-accent-rgb), 0.28);
  border-radius: 50%;
  color: var(--outcome-accent);
  background: rgba(var(--outcome-accent-rgb), 0.09);
}

.dex-outcome-console {
  overflow: hidden;
  border: 1px solid #dbe4ef;
  border-radius: 22px;
  background: #f8fafc;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1), inset 0 0 0 8px rgba(226, 232, 240, 0.45);
}

.dex-outcome-console > header { display: flex; height: 47px; gap: 7px; align-items: center; padding: 0 17px; border-bottom: 1px solid #e2e8f0; background: #fff; }
.dex-outcome-console > header > i { width: 8px; height: 8px; border: 1px solid #cbd5e1; border-radius: 50%; background: transparent; }
.dex-outcome-console > header > i:nth-child(2) { border-color: var(--outcome-accent); }
.dex-outcome-console > header > span { margin-left: 8px; color: #64748b; font-size: 10px; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.dex-outcome-console > header > b { margin-left: auto; color: var(--outcome-accent); font-size: 9px; letter-spacing: 0.1em; }
.dex-outcome-console-body { display: grid; min-height: 420px; place-items: center; padding: clamp(24px, 3vw, 42px); }

.dex-outcome-flow { display: flex; width: 100%; align-items: center; justify-content: center; }
.dex-hollow-node { display: grid; width: 112px; height: 112px; flex: 0 0 112px; place-items: center; border: 2px solid #d7e1ec; border-radius: 25px; color: #4f8df7; background: transparent; box-shadow: 0 9px 22px rgba(15, 23, 42, 0.06); }
.dex-hollow-node svg { width: 36px; height: 36px; }
.dex-hollow-node span { color: #475569; font-size: 10px; font-weight: 800; }
.dex-hollow-node.is-primary { width: 128px; height: 128px; flex-basis: 128px; border-color: var(--outcome-accent); color: #fff; background: var(--outcome-accent); box-shadow: 0 15px 34px rgba(var(--outcome-accent-rgb), 0.28); }
.dex-hollow-node.is-primary span { color: #fff; }
.dex-flow-line { position: relative; width: clamp(25px, 4vw, 52px); height: 2px; flex: 0 1 52px; margin: 0 9px; overflow: visible; background: #cbd5e1; }
.dex-flow-line::after { content: ""; position: absolute; top: -4px; right: 0; width: 8px; height: 8px; border-top: 2px solid #94a3b8; border-right: 2px solid #94a3b8; transform: rotate(45deg); }
.dex-flow-line::before { content: ""; position: absolute; top: -2px; left: 0; width: 10px; height: 6px; border-radius: 99px; background: var(--outcome-accent); animation: dexOutcomeTravel 2s ease-in-out infinite; }

.dex-outcome-timelines,
.dex-outcome-bars,
.dex-outcome-status,
.dex-outcome-comparison,
.dex-advantage-console-visual { width: 100%; }

.dex-outcome-timelines > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-bottom: 30px; color: #64748b; font-size: 12px; font-weight: 750; }
.dex-outcome-timelines > div strong { color: #334155; }
.dex-outcome-timelines > div i { grid-column: 1 / -1; height: 15px; border-radius: 99px; background: #e2e8f0; }
.dex-outcome-timelines > div i.is-traditional { width: 100%; }
.dex-outcome-timelines > div i.is-dex { width: 36%; background: linear-gradient(90deg, #2563eb, #fbbf24); animation: dexOutcomeGrow 2.6s ease-in-out infinite alternate; }
.dex-outcome-timelines footer { display: flex; gap: 11px; align-items: center; margin-top: 45px; color: var(--outcome-accent); }
.dex-outcome-timelines footer svg { width: 27px; height: 27px; }
.dex-outcome-timelines footer b { color: #334155; font-size: 11px; }
.dex-outcome-timelines footer em { height: 1px; flex: 1; background: repeating-linear-gradient(90deg, #94a3b8 0 5px, transparent 5px 10px); }

.dex-outcome-bars header { margin-bottom: 30px; }
.dex-outcome-bars header span { display: block; color: var(--outcome-accent); font-size: 10px; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.dex-outcome-bars header strong { display: block; margin-top: 7px; color: #0f172a; font-size: 20px; }
.dex-outcome-bars > div { display: grid; grid-template-columns: 105px minmax(0, 1fr) 70px; gap: 12px; align-items: center; margin: 19px 0; color: #64748b; font-size: 11px; font-weight: 750; }
.dex-outcome-bars > div i { height: 24px; border-radius: 6px; transform-origin: left; animation: dexOutcomeBar 2.4s ease-in-out infinite alternate; }
.dex-outcome-bars .is-cost { width: 42%; background: #cbd5e1; }
.dex-outcome-bars .is-output { width: 92%; background: linear-gradient(90deg, #1e40af, #2563eb); animation-delay: 180ms; }
.dex-outcome-bars > div b { color: #334155; font-size: 10px; }
.dex-outcome-bars footer { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 18px; margin-top: 35px; padding-top: 22px; border-top: 1px solid #e2e8f0; }
.dex-outcome-bars footer small { color: #94a3b8; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.dex-outcome-bars footer strong { color: var(--outcome-accent); font-size: 18px; }

.dex-outcome-status > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; color: #334155; font-size: 12px; font-weight: 800; }
.dex-outcome-status > header b { color: var(--outcome-accent); font-size: 9px; text-transform: uppercase; }
.dex-outcome-status > header b i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--outcome-accent); box-shadow: 0 0 0 5px rgba(var(--outcome-accent-rgb), 0.1); animation: dexOutcomePulse 1.8s ease-in-out infinite; }
.dex-outcome-status > div { display: grid; grid-template-columns: 30px minmax(0, 1fr) 80px 25px; gap: 10px; align-items: center; margin: 9px 0; padding: 15px 12px; border: 1px solid #e2e8f0; border-radius: 10px; color: #64748b; background: #fff; font-size: 11px; opacity: 0; animation: dexOutcomeRow 500ms ease forwards calc(var(--dex-row) * 130ms); }
.dex-outcome-status > div > span { color: #94a3b8; font-size: 9px; }
.dex-outcome-status > div > strong { color: #334155; }
.dex-outcome-status > div > i { height: 5px; overflow: hidden; border-radius: 99px; background: rgba(var(--outcome-accent-rgb), 0.12); }
.dex-outcome-status > div > i::after {
  content: "";
  display: block;
  width: var(--dex-progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1e40af 0%, #2563eb 55%, #fbbf24 82%, #2563eb 100%);
  background-size: 220% 100%;
  transform-origin: left;
  animation:
    dexOutcomeGrow 1.25s cubic-bezier(0.22, 1, 0.36, 1) both calc(220ms + var(--dex-row) * 150ms),
    dexQualityFlow 2.6s linear infinite calc(1.4s + var(--dex-row) * 150ms);
}
.dex-outcome-status > div > svg { width: 20px; height: 20px; padding: 4px; border-radius: 50%; color: #fff; background: var(--outcome-accent); }

.dex-advantage-copy-comparison {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.dex-advantage-copy-comparison article {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 24px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 13px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #fff;
  opacity: 0;
  animation: dexOutcomeRow 500ms ease forwards calc(var(--dex-row) * 120ms);
}

.dex-advantage-copy-comparison article b { color: #334155; font-size: 9px; text-transform: uppercase; }
.dex-advantage-copy-comparison article span { color: #94a3b8; font-size: 9px; font-weight: 700; }
.dex-advantage-copy-comparison article i { color: #cbd5e1; text-align: center; }
.dex-advantage-copy-comparison article strong { color: var(--outcome-accent); font-size: 10px; }

.dex-outcome-network { position: relative; width: min(100%, 450px); height: 350px; }
.dex-outcome-network::before { content: ""; position: absolute; inset: 52px 75px 80px; border: 1px dashed rgba(var(--outcome-accent-rgb), 0.48); border-radius: 50%; animation: dexOutcomeSpin 24s linear infinite; }
.dex-network-core { position: absolute; top: 50%; left: 50%; display: grid; width: 104px; height: 104px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #2563eb, #1e40af); box-shadow: 0 14px 34px rgba(37, 99, 235, 0.26); transform: translate(-50%, -58%); }
.dex-network-core svg { width: 30px; height: 30px; }
.dex-network-core strong { font-size: 13px; }
.dex-outcome-network > span { position: absolute; display: grid; width: 102px; min-height: 70px; place-items: center; padding: 10px; border: 1px solid #d8e1ec; border-radius: 15px; color: var(--outcome-accent); background: #fff; box-shadow: 0 9px 22px rgba(15, 23, 42, 0.07); }
.dex-outcome-network > span b { color: #475569; font-size: 9px; text-align: center; }
.dex-outcome-network > span:nth-of-type(1) { top: 8px; left: 20px; }
.dex-outcome-network > span:nth-of-type(2) { top: 18px; right: 12px; }
.dex-outcome-network > span:nth-of-type(3) { right: 0; bottom: 44px; }
.dex-outcome-network > span:nth-of-type(4) { bottom: 48px; left: 5px; }
.dex-outcome-network footer { position: absolute; bottom: 0; left: 50%; display: flex; gap: 8px; align-items: center; min-width: 210px; padding: 10px 15px; border: 1px solid rgba(var(--outcome-accent-rgb), 0.3); border-radius: 99px; color: var(--outcome-accent); background: #fff; transform: translateX(-50%); }
.dex-outcome-network footer strong { color: #334155; font-size: 11px; }
.dex-outcome-network footer span { margin-left: auto; color: #64748b; font-size: 9px; }

.dex-outcome-comparison > header { display: grid; grid-template-columns: 1fr 42px 1fr; align-items: center; margin-bottom: 15px; color: #94a3b8; font-size: 10px; font-weight: 850; text-align: center; text-transform: uppercase; }
.dex-outcome-comparison > header strong { color: var(--outcome-accent); }
.dex-outcome-comparison > header i { height: 1px; background: #dbe4ef; }
.dex-outcome-comparison > .dex-comparison-row { display: grid; grid-template-columns: 75px minmax(0, 1fr) 24px minmax(0, 1fr); gap: 9px; align-items: center; margin: 9px 0; padding: 13px; border: 1px solid #e2e8f0; border-radius: 11px; background: #fff; opacity: 0; animation: dexOutcomeRow 500ms ease forwards calc(var(--dex-row) * 120ms); }
.dex-outcome-comparison > .dex-comparison-row b { color: #334155; font-size: 9px; text-transform: uppercase; }
.dex-outcome-comparison > .dex-comparison-row span { color: #94a3b8; font-size: 9px; font-weight: 700; }
.dex-outcome-comparison > .dex-comparison-row i { color: #cbd5e1; }
.dex-outcome-comparison > .dex-comparison-row strong { color: var(--outcome-accent); font-size: 10px; }

.dex-advantage-shift {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.dex-advantage-shift > article {
  position: relative;
  min-height: 180px;
  padding: 22px 16px;
  overflow: hidden;
  border: 1px solid #dbe4ef;
  border-radius: 18px;
  background: #fff;
}

.dex-advantage-shift > article small {
  display: block;
  color: #94a3b8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dex-advantage-shift > article strong {
  display: block;
  margin-top: 7px;
  color: #475569;
  font-size: 15px;
}

.dex-advantage-shift > article > div {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 25px;
}

.dex-advantage-shift > article > div i {
  display: block;
  width: 27px;
  height: 34px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #f8fafc;
  animation: dexLegacyDrift 2.8s ease-in-out infinite;
}

.dex-advantage-shift > article > div i:nth-child(2) { animation-delay: 180ms; }
.dex-advantage-shift > article > div i:nth-child(3) { animation-delay: 360ms; }
.dex-advantage-shift > article > div i:nth-child(4) { animation-delay: 540ms; }

.dex-advantage-shift > article.is-dex {
  border-color: rgba(var(--outcome-accent-rgb), 0.48);
  background:
    radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.13), transparent 35%),
    linear-gradient(145deg, #fff, rgba(var(--outcome-accent-rgb), 0.07));
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.11);
}

.dex-advantage-shift > article.is-dex small { color: var(--outcome-accent); }
.dex-advantage-shift > article.is-dex strong { color: #0f172a; }

.dex-advantage-shift > article.is-dex > div {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, #2563eb, #1e40af);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.26);
}

.dex-advantage-shift > article.is-dex > div svg { width: 26px; height: 26px; }
.dex-advantage-shift > article.is-dex > div em,
.dex-advantage-shift > article.is-dex > div::before,
.dex-advantage-shift > article.is-dex > div::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 20px;
  animation: dexAdvantageOrbit 2.4s ease-out infinite;
}

.dex-advantage-shift > article.is-dex > div::before { animation-delay: 800ms; }
.dex-advantage-shift > article.is-dex > div::after { animation-delay: 1600ms; }

.dex-advantage-bridge {
  position: relative;
  display: grid;
  min-height: 90px;
  place-items: center;
  color: #2563eb;
}

.dex-advantage-bridge::before {
  content: "";
  position: absolute;
  right: 5px;
  left: 5px;
  height: 2px;
  background: linear-gradient(90deg, #cbd5e1, #2563eb 58%, #fbbf24);
}

.dex-advantage-bridge::after {
  content: "";
  position: absolute;
  right: 4px;
  width: 9px;
  height: 9px;
  border-top: 2px solid #d99a00;
  border-right: 2px solid #d99a00;
  transform: rotate(45deg);
}

.dex-advantage-bridge > i {
  position: absolute;
  left: 6px;
  width: 14px;
  height: 8px;
  border-radius: 99px;
  background: #2563eb;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.1);
  animation: dexAdvantageTravel 2.1s ease-in-out infinite;
}

.dex-advantage-bridge > svg {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  padding: 9px;
  border: 1px solid #dbe4ef;
  border-radius: 50%;
  background: #fff;
}

.dex-advantage-bridge > b {
  position: absolute;
  bottom: 2px;
  color: #64748b;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.dex-advantage-console-visual > footer {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 38px;
  padding: 13px 16px;
  border: 1px solid rgba(var(--outcome-accent-rgb), 0.35);
  border-radius: 999px;
  color: #475569;
  background: #fff;
  font-size: 10px;
  font-weight: 800;
}

.dex-advantage-console-visual > footer i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.11);
  animation: dexOutcomePulse 1.8s ease-in-out infinite;
}

.dex-advantage-console-visual > footer b {
  margin-left: auto;
  color: var(--outcome-accent);
  font-size: 8px;
  letter-spacing: 0.1em;
}

@keyframes dexOutcomeTravel { 0% { transform: translateX(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(42px); opacity: 0; } }
@keyframes dexOutcomeGrow { from { transform: scaleX(0.18); } to { transform: scaleX(1); } }
@keyframes dexOutcomeBar { from { transform: scaleX(0.72); } to { transform: scaleX(1); } }
@keyframes dexOutcomePulse { 50% { transform: scale(0.7); opacity: 0.55; } }
@keyframes dexOutcomeRow { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dexOutcomeSpin { to { transform: rotate(360deg); } }
@keyframes dexQualityFlow { to { background-position: -220% 0; } }
@keyframes dexLegacyDrift { 50% { transform: translateY(-5px); border-color: #94a3b8; } }
@keyframes dexAdvantageOrbit { 0% { transform: scale(0.82); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.28); opacity: 0; } }
@keyframes dexAdvantageTravel { 0% { transform: translateX(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(118px); opacity: 0; } }

@media screen and (max-width: 1100px) {
  .dex-outcome-tabs { grid-template-columns: repeat(6, 180px); border-radius: 22px; }
  .dex-outcome-tab { justify-content: flex-start; }
  .dex-outcome-panel { min-height: 560px; gap: 32px; padding: 38px; }
  .dex-hollow-node { width: 90px; height: 90px; flex-basis: 90px; }
  .dex-hollow-node.is-primary { width: 104px; height: 104px; flex-basis: 104px; }
}

@media screen and (max-width: 767px) {
  .dex-business-outcomes-section { padding: 64px 0; }
  .dex-business-outcomes-heading { margin-bottom: 28px; }
  .dex-business-outcomes-heading h2 { font-size: 36px; line-height: 1.08; }
  .dex-business-outcomes-heading p { margin-top: 16px; font-size: 15px; }
  .dex-outcome-tabs { grid-template-columns: repeat(6, 178px); margin-right: -20px; padding-right: 20px; border-radius: 18px 0 0 18px; }
  .dex-outcome-tab { min-height: 52px; }
  .dex-outcome-panel { min-height: 0; grid-template-columns: 1fr; gap: 35px; margin-top: 24px; padding: 26px 20px; border-radius: 22px; }
  .dex-advantage-shift { grid-template-columns: 1fr 48px 1fr; gap: 6px; margin-bottom: 26px; }
  .dex-advantage-shift > article { min-height: 135px; padding: 16px 10px; }
  .dex-advantage-shift > article strong { font-size: 11px; }
  .dex-advantage-shift > article > div { gap: 4px; margin-top: 20px; }
  .dex-advantage-shift > article > div i { width: 24px; height: 27px; }
  .dex-advantage-shift > article.is-dex > div { width: 48px; height: 48px; }
  .dex-advantage-bridge > svg { width: 30px; height: 30px; padding: 7px; }
  .dex-advantage-bridge > b { display: none; }
  .dex-advantage-bridge > i { animation-name: dexAdvantageTravelMobile; }
  .dex-advantage-copy-comparison article { grid-template-columns: 68px minmax(0, 1fr) 18px minmax(0, 1fr); gap: 6px; padding: 12px 8px; }
  .dex-advantage-console-visual > footer { margin-top: 24px; }
  .dex-outcome-icon { width: 58px; height: 58px; margin-bottom: 22px; border-radius: 17px; }
  .dex-outcome-copy h3 { font-size: 31px; }
  .dex-outcome-copy > p { font-size: 15px; }
  .dex-outcome-console-body { min-height: 350px; padding: 20px 14px; }
  .dex-hollow-node { width: 75px; height: 88px; flex-basis: 75px; border-radius: 18px; }
  .dex-hollow-node.is-primary { width: 86px; height: 104px; flex-basis: 86px; }
  .dex-hollow-node svg { width: 27px; height: 27px; }
  .dex-flow-line { margin: 0 5px; }
  .dex-outcome-bars > div { grid-template-columns: 86px minmax(0, 1fr) 56px; gap: 8px; }
  .dex-outcome-status > div { grid-template-columns: 25px minmax(0, 1fr) 45px 21px; gap: 7px; padding: 13px 9px; }
  .dex-outcome-comparison > .dex-comparison-row { grid-template-columns: 56px minmax(0, 1fr) 19px minmax(0, 1fr); padding: 11px 8px; }
}

@keyframes dexAdvantageTravelMobile { 0% { transform: translateX(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(32px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .dex-business-outcomes-section *,
  .dex-business-outcomes-section *::before,
  .dex-business-outcomes-section *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: 0.01ms !important; }
  .dex-outcome-status > div,
  .dex-outcome-comparison > .dex-comparison-row,
  .dex-advantage-copy-comparison article { opacity: 1; }
}

/* DeX delivery workflow, phases, and core capabilities */
.dex-delivery-system-section {
  position: relative;
  padding: clamp(86px, 9vw, 126px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 18%, rgba(var(--dex-blue-rgb), 0.09), transparent 25%),
    radial-gradient(circle at 94% 78%, rgba(var(--dex-yellow-rgb), 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff, #f7faff 52%, #fffdf5);
}

.dex-delivery-system-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(var(--dex-blue-rgb), 0.13) 1px, transparent 1.4px),
    linear-gradient(rgba(var(--dex-blue-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--dex-blue-rgb), 0.03) 1px, transparent 1px);
  background-size: 28px 28px, 56px 56px, 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  pointer-events: none;
}

.dex-delivery-system-inner {
  position: relative;
  z-index: 1;
}

.dex-delivery-system-heading {
  max-width: 910px;
  margin: 0 auto clamp(44px, 5vw, 66px);
  text-align: center;
}

.dex-delivery-system-heading .rt-sub-text,
.dex-delivery-phase-section > header small,
.dex-core-capabilities > header small,
.dex-workflow-board > header small {
  display: block;
  color: var(--dex-blue-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.dex-delivery-system-heading h2 {
  margin: 14px 0 0;
  color: var(--dex-text);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.05;
}

.dex-delivery-system-heading h2 span {
  color: var(--dex-blue);
  background: linear-gradient(100deg, var(--dex-blue-dark), var(--dex-blue) 62%, #d89b00);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dex-delivery-system-heading p {
  max-width: 800px;
  margin: 22px auto 0;
  color: var(--dex-text-secondary);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  line-height: 1.55;
}

.dex-workflow-board {
  padding: clamp(26px, 3.2vw, 42px);
  border: 1px solid rgba(var(--dex-blue-rgb), 0.17);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.08);
}

.dex-workflow-board > header,
.dex-delivery-phase-section > header,
.dex-core-capabilities > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.dex-workflow-board > header h3,
.dex-delivery-phase-section > header h3,
.dex-core-capabilities > header h3 {
  margin: 8px 0 0;
  color: var(--dex-text);
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.12;
}

.dex-workflow-board > header > span {
  padding: 8px 12px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.2);
  border-radius: 999px;
  color: var(--dex-blue-dark);
  background: rgba(var(--dex-blue-rgb), 0.06);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.dex-delivery-workflow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(36px, 4vw, 54px);
}

.dex-delivery-workflow-track::before {
  content: "";
  position: absolute;
  top: 35px;
  right: 5%;
  left: 5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(var(--dex-blue-rgb), 0.18), var(--dex-blue), var(--dex-yellow));
  transform-origin: left;
}

.dex-delivery-workflow-step {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: center;
}

.dex-delivery-workflow-icon {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.2);
  border-radius: 8px;
  color: var(--dex-blue);
  background: #fff;
  box-shadow: 0 12px 28px rgba(var(--dex-blue-rgb), 0.12);
}

.dex-delivery-workflow-icon svg,
.dex-core-capability-card > span svg,
.dex-delivery-phase-card li svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dex-delivery-workflow-icon i {
  position: absolute;
  top: -8px;
  left: -8px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--dex-blue);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.dex-delivery-workflow-step:nth-child(even) .dex-delivery-workflow-icon i {
  color: var(--dex-text);
  background: var(--dex-yellow);
}

.dex-delivery-workflow-step strong {
  display: block;
  min-height: 40px;
  color: var(--dex-text);
  font-size: 14px;
  line-height: 1.28;
}

.dex-delivery-workflow-step > small {
  display: block;
  margin-top: 5px;
  color: var(--dex-text-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dex-workflow-board > footer {
  display: flex;
  max-width: 720px;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 38px auto 0;
  padding: 14px 20px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.17);
  border-radius: 8px;
  color: var(--dex-blue-dark);
  background: rgba(var(--dex-blue-rgb), 0.055);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.dex-workflow-board > footer i {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--dex-blue);
  box-shadow: 0 0 0 6px rgba(var(--dex-blue-rgb), 0.1);
}

.dex-delivery-phase-section,
.dex-core-capabilities {
  margin-top: clamp(74px, 8vw, 112px);
}

.dex-delivery-phase-section > header,
.dex-core-capabilities > header {
  display: block;
  justify-content: flex-start;
  text-align: center;
}

.dex-delivery-phase-section > header small,
.dex-core-capabilities > header small {
  margin-bottom: 10px;
}

.dex-delivery-phase-section > header h3,
.dex-core-capabilities > header h3 {
  margin-top: 0;
}

.dex-delivery-phase-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.dex-delivery-phase-grid::before {
  content: "";
  position: absolute;
  top: 30px;
  right: 12.5%;
  left: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(var(--dex-blue-rgb), 0.2), var(--dex-blue) 68%, var(--dex-yellow));
}

.dex-delivery-phase-card {
  position: relative;
  z-index: 1;
  padding-top: 62px;
}

.dex-delivery-phase-marker {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.dex-delivery-phase-marker span {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 7px solid #edf3ff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--dex-blue), var(--dex-blue-dark));
  box-shadow: 0 10px 24px rgba(var(--dex-blue-rgb), 0.22);
  font-size: 15px;
  font-weight: 900;
}

.dex-delivery-phase-card:nth-child(even) .dex-delivery-phase-marker span {
  border-color: #fff6d8;
  color: var(--dex-text);
  background: linear-gradient(145deg, var(--dex-yellow), #f0a90a);
}

.dex-delivery-phase-content {
  display: grid;
  min-height: 450px;
  grid-template-rows: 14px 70px 76px minmax(138px, 1fr) auto;
  padding: 34px 24px 24px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.065);
}

.dex-delivery-phase-content > small {
  color: var(--dex-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dex-delivery-phase-content h4 {
  align-self: start;
  margin: 8px 0 12px;
  color: var(--dex-text);
  font-size: 22px;
  line-height: 1.12;
}

.dex-delivery-phase-content > p {
  align-self: start;
  margin: 0;
  color: var(--dex-text-secondary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.dex-delivery-phase-content ul {
  display: grid;
  align-content: start;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dex-delivery-phase-content li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: var(--dex-text-secondary);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.35;
}

.dex-delivery-phase-card li svg {
  width: 17px;
  height: 17px;
  color: var(--dex-blue);
}

.dex-delivery-phase-content footer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(var(--dex-blue-rgb), 0.11);
  color: var(--dex-blue-dark);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.4;
}

.dex-core-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.dex-core-capability-card {
  position: relative;
  display: grid;
  min-height: 210px;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.dex-core-capability-card::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -72px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(var(--dex-blue-rgb), 0.025);
}

.dex-core-capability-card > span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 8px;
  color: var(--dex-blue);
  background: rgba(var(--dex-blue-rgb), 0.08);
}

.dex-core-capability-card:nth-child(even) > span {
  color: #9a6700;
  background: rgba(var(--dex-yellow-rgb), 0.17);
}

.dex-core-capability-card h4 {
  margin: 5px 0 12px;
  color: var(--dex-text);
  font-size: 20px;
  line-height: 1.18;
}

.dex-core-capability-card p {
  margin: 0;
  color: var(--dex-text-secondary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.dex-scroll-reveal .dex-delivery-system-heading,
.dex-scroll-reveal .dex-workflow-board,
.dex-scroll-reveal .dex-delivery-phase-section > header,
.dex-scroll-reveal .dex-delivery-phase-card,
.dex-scroll-reveal .dex-core-capabilities > header,
.dex-scroll-reveal .dex-core-capability-card {
  opacity: 0;
  transform: translateY(34px);
}

.dex-scroll-reveal .dex-delivery-workflow-track::before,
.dex-scroll-reveal .dex-delivery-phase-grid::before {
  transform: scaleX(0);
  transform-origin: left;
}

.dex-scroll-reveal.is-in-view .dex-delivery-system-heading,
.dex-scroll-reveal.is-in-view .dex-workflow-board,
.dex-scroll-reveal.is-in-view .dex-delivery-phase-section > header,
.dex-scroll-reveal.is-in-view .dex-delivery-phase-card,
.dex-scroll-reveal.is-in-view .dex-core-capabilities > header,
.dex-scroll-reveal.is-in-view .dex-core-capability-card {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 650ms ease, transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dex-scroll-reveal.is-in-view .dex-workflow-board { transition-delay: 90ms; }
.dex-scroll-reveal.is-in-view .dex-delivery-phase-section > header { transition-delay: 170ms; }
.dex-scroll-reveal.is-in-view .dex-delivery-phase-card { transition-delay: calc(220ms + var(--dex-order) * 80ms); }
.dex-scroll-reveal.is-in-view .dex-core-capabilities > header { transition-delay: 300ms; }
.dex-scroll-reveal.is-in-view .dex-core-capability-card { transition-delay: calc(340ms + var(--dex-order) * 60ms); }

.dex-scroll-reveal.is-in-view .dex-delivery-workflow-track::before,
.dex-scroll-reveal.is-in-view .dex-delivery-phase-grid::before {
  transform: scaleX(1);
  transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1) 260ms;
}

.dex-scroll-reveal .dex-delivery-workflow-step {
  opacity: 0;
  transform: translateY(16px) scale(0.96);
}

.dex-scroll-reveal.is-in-view .dex-delivery-workflow-step {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  transition: opacity 500ms ease calc(180ms + var(--dex-order) * 70ms), transform 650ms cubic-bezier(0.22, 1, 0.36, 1) calc(180ms + var(--dex-order) * 70ms);
}

@media screen and (max-width: 991px) {
  .dex-delivery-workflow-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 28px;
  }

  .dex-delivery-workflow-track::before {
    display: none;
  }

  .dex-delivery-phase-grid,
  .dex-core-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dex-delivery-phase-grid::before {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .dex-delivery-system-section {
    padding: 58px 0;
  }

  .dex-delivery-system-heading {
    margin-bottom: 30px;
  }

  .dex-delivery-system-heading h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .dex-delivery-system-heading p {
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.48;
  }

  .dex-workflow-board {
    padding: 20px 16px;
  }

  .dex-workflow-board > header,
  .dex-delivery-phase-section > header,
  .dex-core-capabilities > header {
    display: block;
  }

  .dex-workflow-board > header h3,
  .dex-delivery-phase-section > header h3,
  .dex-core-capabilities > header h3 {
    font-size: 27px;
  }

  .dex-workflow-board > header > span {
    display: inline-flex;
    margin-top: 12px;
  }

  .dex-delivery-workflow-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }

  .dex-delivery-workflow-step {
    display: grid;
    min-height: 116px;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 10px;
    align-content: center;
    padding: 12px;
    border: 1px solid rgba(var(--dex-blue-rgb), 0.12);
    border-radius: 8px;
    background: rgba(248, 251, 255, 0.9);
    text-align: left;
  }

  .dex-delivery-workflow-icon {
    width: 48px;
    height: 48px;
    margin: 0;
  }

  .dex-delivery-workflow-icon svg {
    width: 22px;
    height: 22px;
  }

  .dex-delivery-workflow-icon i {
    top: -7px;
    left: -7px;
    width: 22px;
    height: 22px;
    border-width: 2px;
  }

  .dex-delivery-workflow-step strong {
    min-height: 0;
    align-self: center;
    font-size: 13px;
  }

  .dex-workflow-board > footer {
    margin-top: 22px;
    padding: 12px;
    font-size: 12px;
  }

  .dex-delivery-phase-section,
  .dex-core-capabilities {
    margin-top: 58px;
  }

  .dex-delivery-phase-grid,
  .dex-core-capability-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
  }

  .dex-delivery-phase-card {
    padding: 0 0 0 44px;
  }

  .dex-delivery-phase-card::before {
    content: "";
    position: absolute;
    top: 50px;
    bottom: -13px;
    left: 18px;
    width: 2px;
    background: rgba(var(--dex-blue-rgb), 0.18);
  }

  .dex-delivery-phase-card:last-child::before {
    display: none;
  }

  .dex-delivery-phase-marker {
    top: 18px;
    left: 0;
    transform: none;
  }

  .dex-delivery-phase-marker span {
    width: 38px;
    height: 38px;
    border-width: 4px;
    font-size: 11px;
  }

  .dex-delivery-phase-content {
    min-height: 0;
    grid-template-rows: auto;
    padding: 22px 18px;
  }

  .dex-delivery-phase-content h4 {
    font-size: 20px;
  }

  .dex-delivery-phase-content > p {
    margin-top: 10px;
  }

  .dex-delivery-phase-content ul {
    margin-top: 16px;
  }

  .dex-delivery-phase-content footer {
    margin-top: 18px;
  }

  .dex-core-capability-card {
    min-height: 0;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
  }

  .dex-core-capability-card > span {
    width: 48px;
    height: 48px;
  }

  .dex-core-capability-card > span svg {
    width: 24px;
    height: 24px;
  }

  .dex-core-capability-card h4 {
    margin-top: 2px;
    font-size: 18px;
  }

  .dex-core-capability-card p {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dex-scroll-reveal .dex-delivery-system-heading,
  .dex-scroll-reveal .dex-workflow-board,
  .dex-scroll-reveal .dex-delivery-workflow-step,
  .dex-scroll-reveal .dex-delivery-phase-section > header,
  .dex-scroll-reveal .dex-delivery-phase-card,
  .dex-scroll-reveal .dex-core-capabilities > header,
  .dex-scroll-reveal .dex-core-capability-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .dex-scroll-reveal .dex-delivery-workflow-track::before,
  .dex-scroll-reveal .dex-delivery-phase-grid::before {
    transform: none;
    transition: none;
  }
}

/* Live documentation console */
.dex-spec-preview {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 16px 30px;
}

.dex-spec-preview header {
  margin-bottom: 10px;
  padding-bottom: 12px;
}

.dex-spec-preview > p {
  max-width: 100%;
  margin-bottom: 9px;
  font-size: 11.5px;
  line-height: 1.4;
}

.dex-spec-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 9px;
}

.dex-spec-status-row span {
  display: inline-flex;
  min-height: 23px;
  gap: 5px;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.15);
  border-radius: 999px;
  color: var(--dex-blue-dark);
  background: rgba(var(--dex-blue-rgb), 0.055);
  font-size: 8.5px;
  font-weight: 850;
}

.dex-spec-status-row span:nth-child(2) {
  border-color: rgba(var(--dex-yellow-rgb), 0.34);
  color: #7a5600;
  background: rgba(var(--dex-yellow-rgb), 0.13);
}

.dex-spec-status-row svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.dex-spec-live-line {
  display: flex;
  min-height: 34px;
  gap: 8px;
  align-items: center;
  margin-bottom: 9px;
  padding: 8px 10px;
  overflow: hidden;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.14);
  border-radius: 8px;
  color: #dbeafe;
  background: #0f172a;
  box-shadow: inset 3px 0 0 var(--dex-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  white-space: nowrap;
}

.dex-spec-live-line > i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--dex-yellow);
  box-shadow: 0 0 0 4px rgba(var(--dex-yellow-rgb), 0.12);
}

.dex-spec-live-line > span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.dex-spec-live-line > b {
  width: 2px;
  height: 14px;
  flex: 0 0 2px;
  background: var(--dex-yellow);
  animation: dex-spec-cursor 900ms steps(1, end) infinite;
}

.dex-spec-preview .dex-spec-topic-grid {
  gap: 6px;
}

.dex-spec-preview .dex-spec-topic-grid > span {
  min-height: 36px;
  padding: 7px 8px;
  transition: border-color 320ms ease, background 320ms ease, box-shadow 320ms ease, transform 320ms ease;
}

.dex-spec-preview .dex-spec-topic-grid b {
  font-size: 9px;
  line-height: 1.25;
}

.dex-spec-preview .dex-spec-topic-grid > span.is-active {
  z-index: 1;
  border-color: rgba(var(--dex-blue-rgb), 0.5);
  border-left-color: var(--dex-yellow);
  background: linear-gradient(100deg, rgba(var(--dex-blue-rgb), 0.12), rgba(var(--dex-yellow-rgb), 0.12));
  box-shadow: 0 8px 20px rgba(var(--dex-blue-rgb), 0.13), inset 0 0 0 1px rgba(var(--dex-yellow-rgb), 0.2);
  transform: translateY(-1px);
}

.dex-spec-preview .dex-spec-topic-grid > span.is-active svg {
  color: var(--dex-blue);
}

.dex-spec-trace-strip {
  display: grid;
  min-height: 32px;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 5px;
  align-items: center;
  margin-top: 9px;
  padding: 7px 9px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.13);
  border-radius: 8px;
  color: var(--dex-text-secondary);
  background: linear-gradient(90deg, rgba(var(--dex-blue-rgb), 0.05), rgba(var(--dex-yellow-rgb), 0.08));
  font-size: 7.5px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.dex-spec-trace-strip i {
  color: var(--dex-blue);
  font-size: 11px;
  font-style: normal;
}

@keyframes dex-spec-cursor {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@media screen and (max-width: 767px) {
  .dex-spec-preview {
    padding: 20px 14px 18px 24px;
  }

  .dex-spec-live-line {
    font-size: 9px;
  }

  .dex-spec-preview .dex-spec-topic-grid > span {
    min-height: 36px;
  }

  .dex-spec-trace-strip {
    gap: 3px;
    padding-inline: 6px;
    font-size: 6.8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dex-spec-live-line > b {
    opacity: 1;
    animation: none;
  }

  .dex-spec-preview .dex-spec-topic-grid > span {
    transition: none;
  }
}

/* Document blueprint route */
.dex-spec-preview .dex-spec-topic-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 34px;
  padding: 3px 0;
}

.dex-spec-preview .dex-spec-topic-grid::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 50%;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(var(--dex-blue-rgb), 0.18), var(--dex-blue) 48%, var(--dex-yellow));
  transform: translateX(-50%);
}

.dex-spec-preview .dex-spec-topic-grid::after {
  content: "";
  position: absolute;
  top: var(--dex-active-progress, 0%);
  left: 50%;
  z-index: 3;
  width: 10px;
  height: 10px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--dex-yellow);
  box-shadow: 0 0 0 5px rgba(var(--dex-yellow-rgb), 0.18), 0 5px 14px rgba(var(--dex-blue-rgb), 0.2);
  transform: translate(-50%, -50%);
  transition: top 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dex-spec-preview .dex-spec-topic-grid > span {
  position: relative;
  display: grid;
  min-height: 26px;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  padding: 2px 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dex-spec-preview .dex-spec-topic-grid > span:nth-child(odd) {
  grid-template-columns: minmax(0, 1fr) 24px;
  text-align: right;
}

.dex-spec-preview .dex-spec-topic-grid > span:nth-child(odd) em {
  order: 2;
}

.dex-spec-preview .dex-spec-topic-grid > span:nth-child(odd) b {
  order: 1;
}

.dex-spec-preview .dex-spec-topic-grid em {
  position: relative;
  z-index: 2;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.22);
  border-radius: 50%;
  color: var(--dex-blue-dark);
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
  transition: color 320ms ease, background 320ms ease, border-color 320ms ease, box-shadow 320ms ease, transform 320ms ease;
}

.dex-spec-preview .dex-spec-topic-grid em::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 17px;
  height: 1px;
  background: rgba(var(--dex-blue-rgb), 0.2);
}

.dex-spec-preview .dex-spec-topic-grid > span:nth-child(odd) em::after {
  right: -17px;
}

.dex-spec-preview .dex-spec-topic-grid > span:nth-child(even) em::after {
  left: -17px;
}

.dex-spec-preview .dex-spec-topic-grid b {
  color: var(--dex-text-secondary);
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1.18;
  transition: color 320ms ease, font-weight 320ms ease;
}

.dex-spec-preview .dex-spec-topic-grid > span.is-active {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.dex-spec-preview .dex-spec-topic-grid > span:nth-child(odd).is-active {
  transform: translateX(4px);
}

.dex-spec-preview .dex-spec-topic-grid > span:nth-child(even).is-active {
  transform: translateX(-4px);
}

.dex-spec-preview .dex-spec-topic-grid > span.is-active em {
  color: #fff;
  border-color: var(--dex-blue);
  background: linear-gradient(145deg, var(--dex-blue), var(--dex-blue-dark));
  box-shadow: 0 0 0 4px rgba(var(--dex-blue-rgb), 0.12), 0 8px 18px rgba(var(--dex-blue-rgb), 0.2);
  transform: scale(1.08);
}

.dex-spec-preview .dex-spec-topic-grid > span.is-active b {
  color: var(--dex-blue-dark);
  font-weight: 900;
}

.dex-spec-preview.is-active .dex-spec-topic-grid > span {
  animation: dex-blueprint-stop-in 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes dex-blueprint-stop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media screen and (max-width: 767px) {
  .dex-spec-preview .dex-spec-topic-grid {
    gap: 5px 28px;
  }

  .dex-spec-preview .dex-spec-topic-grid > span {
    min-height: 29px;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 6px;
  }

  .dex-spec-preview .dex-spec-topic-grid > span:nth-child(odd) {
    grid-template-columns: minmax(0, 1fr) 22px;
  }

  .dex-spec-preview .dex-spec-topic-grid em {
    width: 22px;
    height: 22px;
  }

  .dex-spec-preview .dex-spec-topic-grid em::after {
    width: 14px;
  }

  .dex-spec-preview .dex-spec-topic-grid > span:nth-child(odd) em::after {
    right: -14px;
  }

  .dex-spec-preview .dex-spec-topic-grid > span:nth-child(even) em::after {
    left: -14px;
  }

  .dex-spec-preview .dex-spec-topic-grid b {
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dex-spec-preview .dex-spec-topic-grid::after,
  .dex-spec-preview .dex-spec-topic-grid > span,
  .dex-spec-preview .dex-spec-topic-grid em,
  .dex-spec-preview .dex-spec-topic-grid b {
    transition: none;
    animation: none;
  }
}

/* Focused document journey */
.dex-spec-preview {
  padding: 26px 30px 24px;
}

.dex-spec-preview header {
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: 0;
}

.dex-spec-preview > p {
  margin-bottom: 22px;
  font-size: 12px;
}

.dex-spec-preview .dex-spec-topic-grid {
  flex: 1;
  align-content: space-around;
  gap: 0 52px;
  padding: 8px 0;
}

.dex-spec-preview .dex-spec-topic-grid::before {
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(
    to bottom,
    var(--dex-blue) 0%,
    var(--dex-blue) var(--dex-active-progress, 0%),
    rgba(var(--dex-blue-rgb), 0.12) var(--dex-active-progress, 0%),
    rgba(var(--dex-blue-rgb), 0.12) 100%
  );
  box-shadow: 0 0 18px rgba(var(--dex-blue-rgb), 0.09);
  transition: background 280ms linear;
}

.dex-spec-preview .dex-spec-topic-grid::after {
  width: 12px;
  height: 12px;
  border-width: 3px;
  box-shadow: 0 0 0 6px rgba(var(--dex-yellow-rgb), 0.17), 0 0 24px rgba(var(--dex-yellow-rgb), 0.55);
  transition: top 260ms cubic-bezier(0.22, 1, 0.36, 1), transform 260ms ease, box-shadow 260ms ease;
}

.dex-spec-preview .dex-spec-topic-grid > span {
  min-height: 30px;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
}

.dex-spec-preview .dex-spec-topic-grid > span:nth-child(odd) {
  grid-template-columns: minmax(0, 1fr) 20px;
}

.dex-spec-preview .dex-spec-topic-grid > span::after {
  content: none;
}

.dex-spec-preview .dex-spec-topic-grid em {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(var(--dex-blue-rgb), 0.22);
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.92);
}

.dex-spec-preview .dex-spec-topic-grid em::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: rgba(var(--dex-blue-rgb), 0.16);
  transition: background 220ms ease, transform 220ms ease;
}

.dex-spec-preview .dex-spec-topic-grid em::after {
  width: 27px;
  background: rgba(var(--dex-blue-rgb), 0.15);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.dex-spec-preview .dex-spec-topic-grid > span:nth-child(odd) em::after {
  right: -27px;
}

.dex-spec-preview .dex-spec-topic-grid > span:nth-child(even) em::after {
  left: -27px;
}

.dex-spec-preview .dex-spec-topic-grid b {
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  transition: color 220ms ease, transform 220ms ease;
}

.dex-spec-preview .dex-spec-topic-grid > span.is-complete em {
  border-color: var(--dex-blue);
  background: var(--dex-blue);
  box-shadow: 0 0 0 5px rgba(var(--dex-blue-rgb), 0.08);
}

.dex-spec-preview .dex-spec-topic-grid > span.is-complete em::before {
  background: #fff;
  transform: scale(0.38);
}

.dex-spec-preview .dex-spec-topic-grid > span.is-complete em::after {
  background: var(--dex-blue);
  box-shadow: 0 0 9px rgba(var(--dex-blue-rgb), 0.2);
}

.dex-spec-preview .dex-spec-topic-grid > span.is-complete b {
  color: var(--dex-text-secondary);
}

.dex-spec-preview .dex-spec-topic-grid > span.is-active em {
  border-color: var(--dex-yellow);
  background: var(--dex-yellow);
  box-shadow: 0 0 0 6px rgba(var(--dex-yellow-rgb), 0.17), 0 0 20px rgba(var(--dex-yellow-rgb), 0.42);
  transform: scale(1.14);
}

.dex-spec-preview .dex-spec-topic-grid > span.is-active em::before {
  background: var(--dex-blue-dark);
  transform: scale(0.48);
}

.dex-spec-preview .dex-spec-topic-grid > span.is-active em::after {
  background: linear-gradient(90deg, var(--dex-blue), var(--dex-yellow));
}

.dex-spec-preview .dex-spec-topic-grid > span.is-active b {
  color: var(--dex-blue-dark);
}

.dex-spec-preview.is-route-complete .dex-spec-topic-grid::after {
  transform: translate(-50%, -50%) scale(1.35);
  box-shadow: 0 0 0 9px rgba(var(--dex-yellow-rgb), 0.15), 0 0 30px rgba(var(--dex-yellow-rgb), 0.64);
}

@media screen and (max-width: 767px) {
  .dex-spec-preview {
    padding: 22px 18px 20px;
  }

  .dex-spec-preview > p {
    margin-bottom: 16px;
  }

  .dex-spec-preview .dex-spec-topic-grid {
    gap: 0 34px;
  }

  .dex-spec-preview .dex-spec-topic-grid > span,
  .dex-spec-preview .dex-spec-topic-grid > span:nth-child(odd) {
    min-height: 31px;
  }

  .dex-spec-preview .dex-spec-topic-grid b {
    font-size: 8.4px;
  }

  .dex-spec-preview .dex-spec-topic-grid em::after {
    width: 18px;
  }

  .dex-spec-preview .dex-spec-topic-grid > span:nth-child(odd) em::after {
    right: -18px;
  }

  .dex-spec-preview .dex-spec-topic-grid > span:nth-child(even) em::after {
    left: -18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dex-spec-preview .dex-spec-topic-grid::before,
  .dex-spec-preview .dex-spec-topic-grid::after,
  .dex-spec-preview .dex-spec-topic-grid em::before,
  .dex-spec-preview .dex-spec-topic-grid em::after {
    transition: none;
  }
}

/* Minimal Colakin footer */
.floating-popup,
.wand-tooltip,
.similar-panel {
  display: none !important;
}

.rt-footer.colakin-footer {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-top: 0;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 255, 255, 0.1), transparent 22%),
    radial-gradient(circle at 90% 90%, rgba(var(--dex-yellow-rgb), 0.12), transparent 28%),
    linear-gradient(135deg, var(--dex-blue-dark), #123a9f 58%, #0f338b) !important;
}

.colakin-footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(34px, 5vw, 62px);
  padding-top: clamp(50px, 6vw, 72px);
  padding-bottom: clamp(26px, 3.5vw, 38px);
}

.colakin-footer-top,
.colakin-footer-middle,
.colakin-footer-bottom {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: center;
}

.colakin-footer-connect {
  display: inline-flex;
  width: fit-content;
  gap: 20px;
  align-items: center;
  color: #fff;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.04em;
  text-decoration: none;
  text-shadow:
    -1px -1px 0 rgba(255, 255, 255, 0.72),
    1px -1px 0 rgba(255, 255, 255, 0.72),
    -1px 1px 0 rgba(255, 255, 255, 0.72),
    1px 1px 0 rgba(255, 255, 255, 0.72);
}

.colakin-footer-connect i {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  font-style: normal;
  line-height: 1;
  text-shadow: none;
}

.colakin-footer-nav {
  display: grid;
  grid-column: 3;
  gap: 20px;
  justify-items: start;
}

.colakin-footer-nav a,
.colakin-footer-policy a,
.colakin-footer-regions span,
.colakin-footer-contact address,
.colakin-footer-contact a,
.rt-footer .colakin-footer-copyright {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.colakin-footer-nav a,
.colakin-footer-policy a,
.colakin-footer-contact a {
  transition: color 180ms ease, opacity 180ms ease;
}

.colakin-footer-nav a:hover,
.colakin-footer-policy a:hover,
.colakin-footer-contact a:hover {
  color: var(--dex-yellow);
}

.colakin-footer-middle {
  align-items: center;
}

.colakin-footer-social {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--dex-blue-dark);
  background: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.colakin-footer-line {
  display: block;
  height: 3px;
  background: rgba(255, 255, 255, 0.82);
}

.colakin-footer-policy {
  display: flex;
  grid-column: 3;
  gap: 22px;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
}

.colakin-footer-bottom {
  align-items: end;
}

.colakin-footer-regions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.colakin-footer-contact {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.colakin-footer-contact address,
.colakin-footer-contact a {
  margin: 0;
  font-style: normal;
  line-height: 1.45;
}

.colakin-footer-contact address {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.rt-footer .colakin-footer-copyright {
  grid-column: 3;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.45;
  text-align: right;
}

@media screen and (max-width: 991px) {
  .colakin-footer-top,
  .colakin-footer-middle,
  .colakin-footer-bottom {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .colakin-footer-nav,
  .colakin-footer-policy,
  .rt-footer .colakin-footer-copyright {
    grid-column: auto;
  }

  .colakin-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .colakin-footer-policy,
  .colakin-footer-contact {
    justify-content: flex-start;
    justify-items: start;
    text-align: left;
  }

  .rt-footer .colakin-footer-copyright {
    text-align: left;
  }
}

@media screen and (max-width: 767px) {
  .colakin-footer-inner {
    gap: 28px;
    padding-top: 42px;
    padding-bottom: 30px;
  }

  .colakin-footer-connect {
    gap: 14px;
    font-size: 36px;
  }

  .colakin-footer-connect i {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .colakin-footer-nav {
    gap: 14px 20px;
  }

  .colakin-footer-middle {
    gap: 20px;
  }

  .colakin-footer-line {
    width: 100%;
  }

  .colakin-footer-policy,
  .colakin-footer-regions {
    gap: 14px;
  }

  .colakin-footer-nav a,
  .colakin-footer-policy a,
  .colakin-footer-regions span,
  .colakin-footer-contact address,
  .colakin-footer-contact a,
  .rt-footer .colakin-footer-copyright {
    font-size: 13px;
  }
}

/* Partner program is a full page section, not a contained white card. */
.rt-cta-v1 .dex-partner-program-v2 {
  gap: clamp(64px, 8vw, 110px);
  margin: 0;
  padding: clamp(82px, 9vw, 124px) 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

@media screen and (max-width: 767px) {
  .rt-cta-v1 .dex-partner-program-v2 {
    gap: 54px;
    padding: 64px 0;
  }
}

/* Dimensional DeX agent emblems replace character avatars. */
.dex-agent-avatar.dex-agent-emblem,
.dex-engine-card-yellow .dex-agent-avatar.dex-agent-emblem {
  position: relative;
  display: grid;
  width: 150px;
  height: 140px;
  place-items: center;
  margin-bottom: 24px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.dex-agent-emblem-ring {
  position: absolute;
  width: 128px;
  height: 94px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.23);
  border-radius: 50%;
  transform: rotate(-14deg);
  animation: dexAgentEmblemOrbit 9s linear infinite;
}

.dex-agent-emblem-ring::before,
.dex-agent-emblem-ring::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--dex-yellow);
  box-shadow: 0 5px 13px rgba(var(--dex-yellow-rgb), 0.35);
}

.dex-agent-emblem-ring::before { top: 6px; right: 14px; }
.dex-agent-emblem-ring::after { bottom: 5px; left: 16px; background: var(--dex-blue); box-shadow: 0 5px 13px rgba(var(--dex-blue-rgb), 0.3); }

.dex-agent-emblem-core {
  position: relative;
  z-index: 3;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 27px;
  color: #fff;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.4), transparent 27%),
    linear-gradient(145deg, #4f82f8, var(--dex-blue) 48%, var(--dex-blue-dark));
  box-shadow:
    0 10px 0 #16368e,
    0 22px 35px rgba(var(--dex-blue-rgb), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-5px) rotate(-5deg);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 300ms ease;
}

.dex-agent-emblem-yellow .dex-agent-emblem-core {
  color: var(--dex-text);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.68), transparent 28%),
    linear-gradient(145deg, #ffe58a, var(--dex-yellow) 54%, #e3a20d);
  box-shadow:
    0 10px 0 #b77c00,
    0 22px 35px rgba(var(--dex-yellow-rgb), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.dex-agent-emblem-core svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 4px 5px rgba(15, 23, 42, 0.18));
  transform: rotate(5deg);
}

.dex-engine-card:hover .dex-agent-emblem-core {
  box-shadow:
    0 6px 0 #16368e,
    0 16px 30px rgba(var(--dex-blue-rgb), 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(0) rotate(0deg);
}

.dex-engine-card-yellow:hover .dex-agent-emblem-core {
  box-shadow:
    0 6px 0 #b77c00,
    0 16px 30px rgba(var(--dex-yellow-rgb), 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.dex-agent-emblem > i {
  position: absolute;
  z-index: 4;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 4px;
  background: var(--dex-blue);
  box-shadow: 0 5px 12px rgba(var(--dex-blue-rgb), 0.3);
}

.dex-agent-emblem > i:nth-of-type(1) { top: 14px; left: 19px; transform: rotate(18deg); }
.dex-agent-emblem > i:nth-of-type(2) { top: 20px; right: 14px; border-radius: 50%; background: var(--dex-yellow); }
.dex-agent-emblem > i:nth-of-type(3) { right: 24px; bottom: 11px; transform: rotate(45deg); }

.dex-agent-emblem > small {
  position: absolute;
  z-index: 5;
  right: 19px;
  bottom: 5px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 10px;
  color: var(--dex-blue-dark);
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
  font-size: 9px;
  font-weight: 950;
}

@keyframes dexAgentEmblemOrbit { to { transform: rotate(346deg); } }

@media screen and (max-width: 767px) {
  .dex-agent-avatar.dex-agent-emblem,
  .dex-engine-card-yellow .dex-agent-avatar.dex-agent-emblem {
    width: 104px;
    height: 108px;
    margin: 0;
  }

  .dex-agent-emblem-ring { width: 96px; height: 72px; }
  .dex-agent-emblem-core { width: 72px; height: 72px; border-radius: 22px; box-shadow: 0 7px 0 #16368e, 0 16px 25px rgba(var(--dex-blue-rgb), 0.25); }
  .dex-agent-emblem-yellow .dex-agent-emblem-core { box-shadow: 0 7px 0 #b77c00, 0 16px 25px rgba(var(--dex-yellow-rgb), 0.25); }
  .dex-agent-emblem-core svg { width: 32px; height: 32px; }
  .dex-agent-emblem > i:nth-of-type(1) { top: 8px; left: 3px; }
  .dex-agent-emblem > i:nth-of-type(2) { top: 10px; right: 2px; }
  .dex-agent-emblem > i:nth-of-type(3) { right: 8px; bottom: 8px; }
  .dex-agent-emblem > small { right: 5px; bottom: 1px; width: 27px; height: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  .dex-agent-emblem-ring { animation: none; }
  .dex-agent-emblem-core { transition: none; }
}

.dex-engine-card::before,
.dex-engine-card::after,
.dex-agent-emblem > i {
  display: none;
  content: none;
}

/* Desktop agent rail: five purpose-built modules in one connected system. */
@media screen and (min-width: 1200px) {
  .dex-engine-grid {
    position: relative;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }

  .dex-engine-grid::before {
    content: "";
    position: absolute;
    top: 78px;
    right: 4%;
    left: 4%;
    z-index: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(var(--dex-blue-rgb), 0.12), var(--dex-blue), var(--dex-yellow), var(--dex-blue), rgba(var(--dex-blue-rgb), 0.12));
  }

  .dex-engine-card,
  .dex-engine-card:nth-child(4),
  .dex-engine-card:nth-child(5) {
    min-height: 370px;
    grid-column: auto;
    padding: 22px 20px 24px;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(var(--dex-blue-rgb), 0.035)),
      #fff;
  }

  .dex-engine-card-yellow {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(var(--dex-yellow-rgb), 0.065)),
      #fff;
  }

  .dex-agent-avatar.dex-agent-emblem,
  .dex-engine-card-yellow .dex-agent-avatar.dex-agent-emblem {
    width: 116px;
    height: 112px;
    margin-bottom: 22px;
  }

  .dex-agent-emblem-ring { width: 106px; height: 78px; }
  .dex-agent-emblem-core { width: 78px; height: 78px; border-radius: 23px; box-shadow: 0 8px 0 #16368e, 0 18px 30px rgba(var(--dex-blue-rgb), 0.26); }
  .dex-agent-emblem-yellow .dex-agent-emblem-core { box-shadow: 0 8px 0 #b77c00, 0 18px 30px rgba(var(--dex-yellow-rgb), 0.26); }
  .dex-agent-emblem-core svg { width: 34px; height: 34px; }
  .dex-agent-emblem > i:nth-of-type(1) { top: 8px; left: 5px; }
  .dex-agent-emblem > i:nth-of-type(2) { top: 10px; right: 3px; }
  .dex-agent-emblem > i:nth-of-type(3) { right: 10px; bottom: 5px; }
  .dex-agent-emblem > small { right: 5px; bottom: 0; width: 27px; height: 27px; }

  .dex-engine-card-copy {
    display: block;
    min-height: 0;
  }

  .dex-engine-card h3 {
    min-height: 0;
    margin-bottom: 9px;
    font-size: 21px;
  }

  .dex-engine-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
  }
}

/* Keep each agent emblem optically centered while the supporting copy stays left aligned. */
.dex-engine-card .dex-agent-emblem {
  justify-self: center;
  margin-left: auto;
  margin-right: auto;
}

/* Build-ready documentation: a stable console fed by a selectable document pipeline. */
.dex-doc-flow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.72fr);
  gap: 34px;
  align-items: stretch;
  margin-top: 52px;
}

.dex-doc-console-stage {
  display: grid;
  height: 610px;
  min-width: 0;
}

.dex-doc-console {
  position: relative;
  grid-area: 1 / 1;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 8%, rgba(var(--dex-yellow-rgb), 0.18), transparent 27%),
    linear-gradient(145deg, #071b4f 0%, var(--dex-blue-dark) 58%, var(--dex-blue) 145%);
  box-shadow: 0 28px 70px rgba(var(--dex-blue-rgb), 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.985);
  transition: opacity 280ms ease, transform 380ms cubic-bezier(0.22, 1, 0.36, 1), visibility 280ms ease;
  pointer-events: none;
}

.dex-doc-console.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.dex-doc-console::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -110px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--dex-yellow-rgb), 0.17), transparent 68%);
  pointer-events: none;
}

.dex-doc-console-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #a9b8d4;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dex-doc-window-dots {
  display: flex;
  gap: 6px;
}

.dex-doc-window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.dex-doc-window-dots i:nth-child(2) { background: var(--dex-yellow); }
.dex-doc-window-dots i:nth-child(3) { background: var(--dex-blue); }

.dex-doc-console-bar > b {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #dce7fb;
  font-size: 10px;
}

.dex-doc-console-bar > b i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dex-yellow);
  box-shadow: 0 0 0 5px rgba(var(--dex-yellow-rgb), 0.12);
  animation: dexDocStatusPulse 1.8s ease-in-out infinite;
}

.dex-doc-status-ready { display: none; }

.dex-doc-console.is-route-complete .dex-doc-status-running { display: none; }
.dex-doc-console.is-route-complete .dex-doc-status-ready { display: inline; }

.dex-doc-console.is-route-complete .dex-doc-console-bar > b i {
  background: var(--dex-yellow);
  box-shadow: 0 0 0 5px rgba(var(--dex-yellow-rgb), 0.14);
}

.dex-doc-console-body {
  position: relative;
  z-index: 1;
  display: flex;
  height: calc(100% - 45px);
  min-height: 0;
  flex-direction: column;
  padding: 34px 38px 28px;
  color: #fff;
}

.dex-doc-console-intro {
  display: flex;
  gap: 17px;
  align-items: center;
}

.dex-doc-console-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  color: #071328;
  background: linear-gradient(145deg, #ffe57d, var(--dex-yellow));
  box-shadow: 0 12px 28px rgba(var(--dex-yellow-rgb), 0.18);
}

.dex-doc-console-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.dex-doc-console-intro small {
  display: block;
  margin-bottom: 4px;
  color: #82a8fa;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dex-doc-console-intro h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.12;
}

.dex-doc-console-body > p {
  max-width: 760px;
  margin: 20px 0 24px;
  color: #b7c5dc;
  font-size: 15px;
  line-height: 1.65;
}

.dex-doc-console-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dex-doc-console-stats > span {
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
}

.dex-doc-console-stats small,
.dex-doc-console-stats strong {
  display: block;
}

.dex-doc-console-stats small {
  margin-bottom: 3px;
  color: #7f91ad;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dex-doc-console-stats strong {
  color: #f4f7fc;
  font-size: 12px;
}

.dex-doc-generation-flow {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.24);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(var(--dex-blue-rgb), 0.1), rgba(255, 255, 255, 0.025));
}

.dex-doc-flow-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: #91a3bf;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dex-doc-flow-head span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.dex-doc-flow-head span i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--dex-blue);
  box-shadow: 0 0 14px rgba(var(--dex-blue-rgb), 0.8);
}

.dex-doc-flow-head b { color: var(--dex-yellow); }

.dex-doc-flow-progress {
  height: 4px;
  overflow: hidden;
  margin: 13px 0 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.dex-doc-flow-progress i {
  display: block;
  width: var(--dex-active-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--dex-blue), #6fa0ff, var(--dex-yellow));
  box-shadow: 0 0 18px rgba(var(--dex-blue-rgb), 0.55);
  transition: width 420ms ease;
}

.dex-doc-focus-list {
  position: relative;
  min-height: 72px;
}

.dex-doc-focus-item {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 40px 1fr 30px;
  gap: 13px;
  align-items: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 260ms ease, transform 320ms ease;
  pointer-events: none;
}

.dex-doc-focus-item.is-active {
  opacity: 1;
  transform: none;
}

.dex-doc-focus-item > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.4);
  border-radius: 12px;
  color: #a9c5ff;
  background: rgba(var(--dex-blue-rgb), 0.12);
  font-size: 11px;
  font-weight: 900;
}

.dex-doc-focus-item small,
.dex-doc-focus-item strong {
  display: block;
}

.dex-doc-focus-item small {
  margin-bottom: 3px;
  color: #7688a5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dex-doc-focus-item strong {
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dex-doc-focus-item > i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #081329;
  background: var(--dex-yellow);
}

.dex-doc-focus-item > i svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.dex-doc-console-body footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.dex-doc-console-body footer span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: #8fa0bb;
  background: rgba(255, 255, 255, 0.035);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dex-doc-switcher {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 17px;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.13);
  border-radius: 24px;
  background: linear-gradient(180deg, #f8faff, #f1f5fc);
  box-shadow: 0 20px 54px rgba(26, 51, 102, 0.09);
}

.dex-doc-switcher-head {
  padding: 5px 7px 11px;
}

.dex-doc-switcher-head small,
.dex-doc-switcher-head strong {
  display: block;
}

.dex-doc-switcher-head small {
  margin-bottom: 3px;
  color: var(--dex-blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dex-doc-switcher-head strong {
  color: var(--dex-text);
  font-size: 17px;
}

.dex-doc-switch {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 43px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: var(--dex-text);
  background: rgba(255, 255, 255, 0.7);
  text-align: left;
  cursor: pointer;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease, background 220ms ease;
}

.dex-doc-switch:hover { transform: none; }

.dex-doc-switch.is-active {
  border-color: rgba(var(--dex-blue-rgb), 0.25);
  background: #fff;
  box-shadow: 0 11px 28px rgba(var(--dex-blue-rgb), 0.12);
  transform: none;
}

.dex-doc-switch-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 13px;
  color: var(--dex-blue);
  background: rgba(var(--dex-blue-rgb), 0.09);
  transition: color 220ms ease, background 220ms ease;
}

.dex-doc-switch.is-active .dex-doc-switch-icon {
  color: #071328;
  background: var(--dex-yellow);
}

.dex-doc-switch-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.dex-doc-switch small,
.dex-doc-switch h3 {
  display: block;
  margin: 0;
}

.dex-doc-switch small {
  margin-bottom: 2px;
  color: #7b8ba6;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.dex-doc-switch h3 {
  color: var(--dex-text);
  font-size: 12px;
  line-height: 1.25;
}

@keyframes dexDocStatusPulse {
  50% { opacity: 0.45; transform: scale(0.78); }
}

@media screen and (max-width: 991px) {
  .dex-doc-flow-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 38px;
  }

  .dex-doc-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dex-doc-switcher-head { grid-column: 1 / -1; }
  .dex-doc-switch:hover,
  .dex-doc-switch.is-active { transform: none; }
}

@media screen and (max-width: 767px) {
  .dex-doc-flow-layout { margin-top: 30px; }
  .dex-doc-console-stage { height: 620px; }
  .dex-doc-console { border-radius: 19px; }
  .dex-doc-console-bar { grid-template-columns: auto 1fr; padding: 12px 15px; }
  .dex-doc-console-bar > b { display: none; }
  .dex-doc-console-body { height: calc(100% - 43px); min-height: 0; padding: 24px 19px 20px; }
  .dex-doc-console-intro { align-items: flex-start; }
  .dex-doc-console-icon { width: 44px; height: 44px; flex-basis: 44px; border-radius: 13px; }
  .dex-doc-console-intro h3 { font-size: 21px; }
  .dex-doc-console-body > p { margin: 17px 0 19px; font-size: 13px; line-height: 1.55; }
  .dex-doc-console-stats { grid-template-columns: 1fr 1fr; }
  .dex-doc-console-stats > span:last-child { grid-column: 1 / -1; }
  .dex-doc-generation-flow { margin-top: 16px; padding: 15px; }
  .dex-doc-flow-head > b { display: none; }
  .dex-doc-focus-item { grid-template-columns: 36px 1fr 26px; gap: 10px; }
  .dex-doc-focus-item > span { width: 36px; height: 36px; }
  .dex-doc-focus-item strong { font-size: 13px; }
  .dex-doc-console-body footer { padding-top: 16px; }
  .dex-doc-switcher { grid-template-columns: 1fr; padding: 12px; border-radius: 18px; }
  .dex-doc-switcher-head { padding-bottom: 6px; }
  .dex-doc-switch { grid-template-columns: 39px 1fr; padding: 11px; }
  .dex-doc-switch-icon { width: 39px; height: 39px; }
}

@media (prefers-reduced-motion: reduce) {
  .dex-doc-console,
  .dex-doc-focus-item,
  .dex-doc-flow-progress i,
  .dex-doc-switch { transition: none; }
  .dex-doc-console-bar > b i { animation: none; }
}

/* Mobile flow corrections: keep hero metrics inside their section and reveal tall content promptly. */
@media screen and (max-width: 767px) {
  .rt-hero-v1 {
    padding-bottom: 160px !important;
  }

  .dex-delivery-metrics,
  .dex-delivery-metrics.is-visible {
    position: relative;
    z-index: 3;
    opacity: 1;
    transform: none;
  }

  .dex-delivery-system-section.dex-scroll-reveal .dex-delivery-system-heading,
  .dex-delivery-system-section.dex-scroll-reveal .dex-workflow-board,
  .dex-delivery-system-section.dex-scroll-reveal .dex-delivery-phase-section > header,
  .dex-delivery-system-section.dex-scroll-reveal .dex-delivery-phase-card,
  .dex-delivery-system-section.dex-scroll-reveal .dex-core-capabilities > header,
  .dex-delivery-system-section.dex-scroll-reveal .dex-core-capability-card,
  .dex-delivery-system-section.dex-scroll-reveal .dex-delivery-workflow-step {
    opacity: 1;
    transform: none;
  }
}

/* New project contact section following the Channel Partner Program. */
.dex-contact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 6vw, 78px) 0;
  color: var(--dex-text);
  background:
    radial-gradient(circle at 12% 16%, rgba(var(--dex-blue-rgb), 0.12), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(var(--dex-yellow-rgb), 0.18), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 58%, #fffaf0 100%);
}

.dex-contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.48;
  background-image:
    radial-gradient(circle, rgba(var(--dex-blue-rgb), 0.14) 1px, transparent 1.5px),
    linear-gradient(rgba(var(--dex-blue-rgb), 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--dex-blue-rgb), 0.035) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  pointer-events: none;
}

.dex-contact-inner {
  position: relative;
  z-index: 1;
}

.dex-contact-heading {
  max-width: 740px;
  margin: 0 auto 28px;
  text-align: center;
}

.dex-contact-heading > small {
  display: block;
  margin-bottom: 10px;
  color: var(--dex-blue-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dex-contact-heading h2 {
  margin: 0;
  color: var(--dex-text);
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.05;
}

.dex-contact-heading h2 span {
  background: linear-gradient(100deg, var(--dex-blue-dark), var(--dex-blue) 62%, #d89b00);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dex-contact-heading p {
  max-width: 620px;
  margin: 13px auto 0;
  color: var(--dex-text-secondary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.dex-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.76fr);
  gap: 22px;
  align-items: stretch;
}

.dex-contact-form-card,
.dex-strategy-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.15);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.dex-contact-form-card { padding: clamp(22px, 2.6vw, 32px); }

.dex-contact-card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  place-items: center;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.18);
  border-radius: 14px;
  color: var(--dex-blue);
  background: linear-gradient(145deg, rgba(var(--dex-blue-rgb), 0.1), #fff);
  box-shadow: 0 12px 26px rgba(var(--dex-blue-rgb), 0.12);
}

.dex-contact-card-icon svg,
.dex-strategy-orbit svg,
.dex-contact-form button svg,
.dex-strategy-card > a svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dex-contact-form-card h3,
.dex-strategy-card h3 {
  margin: 0;
  color: var(--dex-text);
  font-size: clamp(24px, 2.25vw, 32px);
  line-height: 1.1;
}

.dex-contact-form-card > p {
  margin: 7px 0 18px;
  color: var(--dex-text-secondary);
  font-size: 15px;
  font-weight: 650;
}

.dex-contact-form {
  display: grid;
  gap: 12px;
}

.dex-contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dex-contact-form label {
  display: grid;
  gap: 6px;
  color: var(--dex-text-secondary);
  font-size: 12px;
  font-weight: 800;
}

.dex-contact-form label b {
  display: inline;
  color: #b77900;
}

.dex-contact-form input,
.dex-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.16);
  border-radius: 12px;
  outline: 0;
  color: var(--dex-text);
  background: rgba(248, 251, 255, 0.88);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.dex-contact-form input { height: 44px; padding: 0 14px; }
.dex-contact-form textarea { height: 96px; min-height: 92px; padding: 12px 14px; resize: vertical; }

.dex-contact-form input::placeholder,
.dex-contact-form textarea::placeholder { color: #8a98ad; }

.dex-contact-form input:focus,
.dex-contact-form textarea:focus {
  border-color: var(--dex-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(var(--dex-blue-rgb), 0.14);
}

.dex-contact-form button,
.dex-strategy-card > a {
  display: inline-flex;
  min-height: 46px;
  justify-content: center;
  gap: 11px;
  align-items: center;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--dex-blue), var(--dex-blue-dark));
  box-shadow: 0 15px 34px rgba(var(--dex-blue-rgb), 0.28);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.dex-contact-form button:hover,
.dex-strategy-card > a:hover {
  box-shadow: 0 18px 38px rgba(var(--dex-blue-rgb), 0.36);
  transform: translateY(-2px);
}

.dex-contact-form > small {
  color: var(--dex-text-muted);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.dex-strategy-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(26px, 3.4vw, 42px);
  text-align: center;
}

.dex-strategy-card::before,
.dex-strategy-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.dex-strategy-card::before { top: -120px; right: -110px; width: 250px; height: 250px; background: rgba(var(--dex-blue-rgb), 0.04); }
.dex-strategy-card::after { right: -72px; bottom: -92px; width: 180px; height: 180px; background: rgba(var(--dex-yellow-rgb), 0.08); }

.dex-strategy-orbit {
  position: relative;
  display: grid;
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid rgba(var(--dex-blue-rgb), 0.22);
  border-radius: 50%;
  color: var(--dex-blue);
  background: linear-gradient(145deg, #fff, rgba(var(--dex-blue-rgb), 0.08));
  box-shadow: 0 14px 32px rgba(var(--dex-blue-rgb), 0.12);
}

.dex-strategy-orbit i {
  position: absolute;
  inset: -9px;
  border: 1px dashed rgba(var(--dex-yellow-rgb), 0.65);
  border-radius: 50%;
  animation: dexContactOrbit 14s linear infinite;
}

.dex-strategy-orbit i::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 14px;
  width: 9px;
  height: 9px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--dex-yellow);
}

.dex-strategy-orbit svg { width: 28px; height: 28px; }

.dex-strategy-card > small {
  margin-bottom: 12px;
  color: var(--dex-blue-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dex-strategy-card > p {
  max-width: 440px;
  margin: 14px 0 20px;
  color: var(--dex-text-secondary);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.dex-strategy-card > a {
  width: 100%;
  max-width: 520px;
  text-decoration: none;
}

.dex-strategy-card footer {
  margin-top: 18px;
  color: var(--dex-text-muted);
  font-size: 11px;
  font-weight: 750;
}

@keyframes dexContactOrbit { to { transform: rotate(360deg); } }

@media screen and (max-width: 991px) {
  .dex-contact-grid { grid-template-columns: 1fr; }
  .dex-strategy-card { min-height: 300px; }
}

@media screen and (max-width: 767px) {
  .dex-contact-section { padding: 44px 0; }
  .dex-contact-heading { margin-bottom: 22px; text-align: left; }
  .dex-contact-heading h2 { font-size: 30px; }
  .dex-contact-heading p { margin-top: 12px; font-size: 14px; }
  .dex-contact-grid { gap: 18px; }
  .dex-contact-form-card,
  .dex-strategy-card { border-radius: 20px; }
  .dex-contact-form-card { padding: 20px 16px; }
  .dex-contact-form-card h3,
  .dex-strategy-card h3 { font-size: 26px; }
  .dex-contact-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dex-contact-form input { height: 44px; }
  .dex-contact-form textarea { height: 92px; min-height: 88px; }
  .dex-strategy-card { min-height: 0; padding: 24px 18px; }
  .dex-strategy-card > p { margin: 12px 0 18px; font-size: 14px; line-height: 1.45; }
  .dex-strategy-card footer { margin-top: 14px; }
  .dex-strategy-orbit { width: 66px; height: 66px; margin-bottom: 16px; }
  .dex-strategy-orbit svg { width: 26px; height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .dex-strategy-orbit i { animation: none; }
  .dex-contact-form button,
  .dex-strategy-card > a { transition: none; }
}

/* Stabilize the rotating hero console and contain long outcome labels on mobile. */
@media screen and (max-width: 767px) {
  .dex-hero-workflow-status {
    height: 820px;
    overflow: hidden;
  }

  .dex-stage-console {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(var(--dex-blue-rgb), 0.35) transparent;
    scrollbar-width: thin;
  }

  .dex-stage-console::-webkit-scrollbar { width: 5px; }
  .dex-stage-console::-webkit-scrollbar-track { background: transparent; }
  .dex-stage-console::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(var(--dex-blue-rgb), 0.35);
  }

  .dex-outcome-tab {
    min-width: 0;
    overflow: hidden;
    justify-content: flex-start;
  }

  .dex-outcome-tab b {
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

@media screen and (max-width: 374px) {
  .dex-hero-workflow-status { height: 850px; }
}
/* Compact Partner Program while retaining 6-card animation */
.rt-cta-v1 .dex-partner-program-v2.dex-partner-program-compact {
  gap: clamp(28px, 3.5vw, 44px);
  padding: clamp(42px, 5vw, 68px) clamp(18px, 3vw, 42px);
}

.dex-partner-program-compact .dex-partner-compact-heading {
  max-width: 900px;
}

.dex-partner-program-compact .dex-partner-v2-heading h2 {
  margin-top: 10px;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.03;
}

.dex-partner-program-compact .dex-partner-v2-heading > p {
  max-width: 760px;
  margin-top: 14px;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.45;
}

.dex-partner-program-compact .dex-partner-actions {
  margin-top: 20px;
}

.dex-partner-program-compact .dex-partner-value-section > header,
.dex-partner-program-compact .dex-partner-tier-section > header {
  margin-bottom: clamp(20px, 2.5vw, 28px);
}

.dex-partner-program-compact .dex-partner-value-section > header p,
.dex-partner-program-compact .dex-partner-tier-section > header p {
  display: none;
}

.dex-partner-program-compact .dex-partner-value-section > header h3,
.dex-partner-program-compact .dex-partner-tier-section > header h3 {
  font-size: clamp(26px, 3vw, 40px);
}

.dex-partner-program-compact .dex-partner-value-map {
  grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(92px, auto));
  gap: 12px 24px;
}

.dex-partner-program-compact .dex-partner-core {
  width: 178px;
  height: 178px;
  padding: 30px;
}

.dex-partner-program-compact .dex-partner-core > i {
  inset: -9px;
}

.dex-partner-program-compact .dex-partner-core > i:nth-child(2) {
  inset: -22px;
}

.dex-partner-program-compact .dex-partner-core > i:nth-child(3) {
  inset: 20px;
}

.dex-partner-program-compact .dex-partner-core > span {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.dex-partner-program-compact .dex-partner-core svg {
  width: 21px;
  height: 21px;
}

.dex-partner-program-compact .dex-partner-core > strong {
  font-size: 15px;
}

.dex-partner-program-compact .dex-partner-core > small {
  font-size: 8px;
}

.dex-partner-program-compact .dex-partner-value-map > article {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  min-height: 92px;
  padding: 15px;
  border-radius: 14px;
}

.dex-partner-program-compact .dex-partner-value-map > article > span {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.dex-partner-program-compact .dex-partner-value-map article svg {
  width: 19px;
  height: 19px;
}

.dex-partner-program-compact .dex-partner-value-map article strong {
  font-size: 14px;
}

.dex-partner-program-compact .dex-partner-value-map article p {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.35;
}

.dex-partner-program-compact .dex-partner-tier-section {
  padding-top: clamp(28px, 4vw, 42px);
}

.dex-partner-program-compact .dex-partner-v2-tiers {
  gap: 14px;
}

.dex-partner-program-compact .dex-partner-v2-tiers > article {
  min-height: 0;
  padding: clamp(20px, 2vw, 26px);
  border-radius: 18px;
}

.dex-partner-program-compact .dex-partner-v2-tiers > article > header {
  grid-template-columns: 42px minmax(0, 1fr) 26px;
}

.dex-partner-program-compact .dex-partner-v2-tiers > article > header > span {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.dex-partner-program-compact .dex-partner-v2-tiers h4 {
  margin-top: 18px;
  font-size: clamp(21px, 2vw, 28px);
}

.dex-partner-program-compact .dex-partner-v2-tiers ul {
  gap: 9px;
  margin: 18px 0;
}

.dex-partner-program-compact .dex-partner-v2-tiers li {
  font-size: 12px;
  line-height: 1.32;
}

.dex-partner-program-compact .dex-partner-v2-tiers > article > a {
  min-height: 42px;
  font-size: 12px;
}

@media screen and (max-width: 1100px) {
  .dex-partner-program-compact .dex-partner-value-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .dex-partner-program-compact .dex-partner-core {
    grid-column: 1 / -1;
    grid-row: auto;
    margin: 14px auto 22px;
  }
}

@media screen and (max-width: 767px) {
  .rt-cta-v1 .dex-partner-program-v2.dex-partner-program-compact {
    gap: 38px;
    padding: 42px 14px;
  }

  .dex-partner-program-compact .dex-partner-v2-heading h2 {
    font-size: 34px;
  }

  .dex-partner-program-compact .dex-partner-value-map,
  .dex-partner-program-compact .dex-partner-v2-tiers {
    grid-template-columns: 1fr;
  }

  .dex-partner-program-compact .dex-partner-core {
    width: 160px;
    height: 160px;
    padding: 26px;
  }

  .dex-partner-program-compact .dex-partner-value-map > article {
    min-height: 0;
  }
}
/* Minimal document console with prev/current/next section animation */
.dex-doc-console-bar > span {
  color: #d8e4f8;
}

.dex-doc-console-body-minimal {
  justify-content: flex-start;
  padding: 28px 34px 28px;
}

.dex-doc-console-body-minimal .dex-doc-console-intro {
  margin-bottom: 22px;
}

.dex-doc-generation-flow-minimal {
  margin-top: 0;
  padding: 22px;
  border-radius: 20px;
}

.dex-doc-focus-list-stack {
  display: grid;
  gap: 14px;
  min-height: 250px;
}

.dex-doc-focus-list-stack .dex-doc-focus-item {
  position: relative;
  inset: auto;
  min-height: 78px;
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  grid-template-columns: 42px 1fr 30px;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition:
    opacity 280ms ease,
    transform 320ms ease,
    border-color 280ms ease,
    background 280ms ease,
    box-shadow 280ms ease;
  pointer-events: none;
}

.dex-doc-focus-list-stack .dex-doc-focus-item.is-prev,
.dex-doc-focus-list-stack .dex-doc-focus-item.is-active,
.dex-doc-focus-list-stack .dex-doc-focus-item.is-next {
  opacity: 1;
  pointer-events: auto;
}

.dex-doc-focus-list-stack .dex-doc-focus-item.is-prev {
  transform: translateY(0) scale(0.98);
  opacity: 0.45;
  background: rgba(255, 255, 255, 0.03);
}

.dex-doc-focus-list-stack .dex-doc-focus-item.is-active {
  transform: translateY(0) scale(1);
  border-color: rgba(var(--dex-yellow-rgb), 0.42);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 36px rgba(6, 20, 59, 0.22);
}

.dex-doc-focus-list-stack .dex-doc-focus-item.is-next {
  transform: translateY(0) scale(0.99);
  opacity: 0.72;
  background: rgba(255, 255, 255, 0.05);
}

.dex-doc-focus-list-stack .dex-doc-focus-item > span {
  width: 42px;
  height: 42px;
}

.dex-doc-focus-list-stack .dex-doc-focus-item small {
  margin-bottom: 4px;
}

.dex-doc-focus-list-stack .dex-doc-focus-item strong {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.28;
}

.dex-doc-focus-list-stack .dex-doc-focus-item > i {
  opacity: 0.35;
  transform: scale(0.9);
  transition: opacity 220ms ease, transform 220ms ease;
}

.dex-doc-focus-list-stack .dex-doc-focus-item.is-prev > i,
.dex-doc-focus-list-stack .dex-doc-focus-item.is-active > i {
  opacity: 1;
  transform: scale(1);
}

.dex-doc-switcher {
  overflow: visible;
}

.dex-doc-switch {
  position: relative;
}

.dex-doc-switch.is-active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -34px;
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, rgba(var(--dex-blue-rgb), 0.25), rgba(var(--dex-blue-rgb), 0.85));
  transform: translateY(-50%);
}

.dex-doc-switch.is-active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -42px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dex-blue);
  box-shadow: 0 0 0 6px rgba(var(--dex-blue-rgb), 0.12);
  transform: translateY(-50%);
}

@media screen and (max-width: 991px) {
  .dex-doc-switch.is-active::before,
  .dex-doc-switch.is-active::after {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .dex-doc-console-body-minimal {
    padding: 22px 18px 20px;
  }

  .dex-doc-generation-flow-minimal {
    padding: 16px;
  }

  .dex-doc-focus-list-stack {
    min-height: 224px;
    gap: 10px;
  }

  .dex-doc-focus-list-stack .dex-doc-focus-item {
    min-height: 70px;
    padding: 14px;
    grid-template-columns: 36px 1fr 26px;
  }

  .dex-doc-focus-list-stack .dex-doc-focus-item > span {
    width: 36px;
    height: 36px;
  }

  .dex-doc-focus-list-stack .dex-doc-focus-item strong {
    font-size: 13px;
  }
}
/* Fix document console step animation clipping after step 04 */
.dex-doc-focus-list-stack {
  position: relative;
  display: block;
  min-height: 250px;
  overflow: hidden;
}

.dex-doc-focus-list-stack .dex-doc-focus-item {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  min-height: 76px;
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  grid-template-columns: 42px 1fr 30px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.96);
  transition:
    opacity 320ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 280ms ease,
    background 280ms ease,
    box-shadow 280ms ease;
}

.dex-doc-focus-list-stack .dex-doc-focus-item.is-prev {
  opacity: 0.42;
  pointer-events: auto;
  transform: translateY(calc(-50% - 92px)) scale(0.96);
  background: rgba(255, 255, 255, 0.035);
}

.dex-doc-focus-list-stack .dex-doc-focus-item.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
  border-color: rgba(var(--dex-yellow-rgb), 0.45);
  background: rgba(255, 255, 255, 0.085);
  box-shadow: 0 16px 38px rgba(6, 20, 59, 0.22);
}

.dex-doc-focus-list-stack .dex-doc-focus-item.is-next {
  opacity: 0.68;
  pointer-events: auto;
  transform: translateY(calc(-50% + 92px)) scale(0.97);
  background: rgba(255, 255, 255, 0.045);
}

.dex-doc-focus-list-stack .dex-doc-focus-item.is-complete:not(.is-prev) {
  opacity: 0;
  transform: translateY(calc(-50% - 150px)) scale(0.94);
}

.dex-doc-focus-list-stack .dex-doc-focus-item:not(.is-prev):not(.is-active):not(.is-next):not(.is-complete) {
  opacity: 0;
  transform: translateY(calc(-50% + 150px)) scale(0.94);
}

/* Make active item brighter */
.dex-doc-focus-list-stack .dex-doc-focus-item.is-active > span {
  color: #ffffff;
  border-color: rgba(var(--dex-yellow-rgb), 0.4);
  background: rgba(var(--dex-blue-rgb), 0.28);
}

.dex-doc-focus-list-stack .dex-doc-focus-item.is-active > i {
  opacity: 1;
  transform: scale(1);
}

/* Mobile adjustment */
@media screen and (max-width: 767px) {
  .dex-doc-focus-list-stack {
    min-height: 220px;
  }

  .dex-doc-focus-list-stack .dex-doc-focus-item {
    min-height: 68px;
    padding: 13px;
    grid-template-columns: 36px 1fr 26px;
  }

  .dex-doc-focus-list-stack .dex-doc-focus-item.is-prev {
    transform: translateY(calc(-50% - 78px)) scale(0.96);
  }

  .dex-doc-focus-list-stack .dex-doc-focus-item.is-next {
    transform: translateY(calc(-50% + 78px)) scale(0.97);
  }
}

/* Hero buttons: same size, blue at rest, yellow on hover */
.rt-hero-v1 .rt-hero-v1-button-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 22px !important;
  margin: 24px auto 0 !important;
  overflow: visible !important;
}

.rt-hero-v1 .rt-hero-v1-button-wrap .rt-button-v1-main {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  transform: none !important;
}

/* Same resting style for BOTH buttons */
.rt-hero-v1 .rt-hero-v1-button-wrap .rt-button-v1-main .rt-button-v1 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 220px !important;
  min-width: 220px !important;
  max-width: 220px !important;
  height: 56px !important;
  min-height: 56px !important;

  padding: 0 24px !important;
  border: 1px solid var(--dex-blue) !important;
  border-radius: 8px !important;

  background: var(--dex-blue) !important;
  color: #ffffff !important;
  box-shadow: none !important;

  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1 !important;

  transition:
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease !important;
}

.rt-hero-v1 .rt-hero-v1-button-wrap .rt-button-v1-main .rt-button-text {
  color: #ffffff !important;
}

/* Same hover style for BOTH buttons */
.rt-hero-v1 .rt-hero-v1-button-wrap .rt-button-v1-main:hover {
  transform: none !important;
}

.rt-hero-v1 .rt-hero-v1-button-wrap .rt-button-v1-main:hover .rt-button-v1 {
  background: var(--dex-yellow) !important;
  border-color: var(--dex-yellow) !important;
  color: #ffffff !important;
  box-shadow: 5px 5px 0 #111827 !important;
}

.rt-hero-v1 .rt-hero-v1-button-wrap .rt-button-v1-main:hover .rt-button-text {
  color: #ffffff !important;
}

/* Remove previous Webflow overlay hover */
.rt-hero-v1 .rt-hero-v1-button-wrap .rt-button-overlay {
  display: none !important;
}

/* Mobile */
@media screen and (max-width: 767px) {
  .rt-hero-v1 .rt-hero-v1-button-wrap {
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .rt-hero-v1 .rt-hero-v1-button-wrap .rt-button-v1-main,
  .rt-hero-v1 .rt-hero-v1-button-wrap .rt-button-v1-main .rt-button-v1 {
    width: 100% !important;
    max-width: 300px !important;
    min-width: 0 !important;
  }

  .rt-hero-v1 .rt-hero-v1-button-wrap .rt-button-v1-main .rt-button-v1 {
    height: 54px !important;
    min-height: 54px !important;
  }
}
/* Hero buttons: yellow hover shadow with thin black edge */
.rt-hero-v1 .rt-hero-v1-button-wrap .rt-button-v1-main:hover .rt-button-v1 {
  background: var(--dex-yellow) !important;
  border-color: #111827 !important;
  color: #ffffff !important;

  /* yellow body shadow + thin black line */
  box-shadow:
    5px 5px 0 var(--dex-yellow),
    6px 6px 0 #111827 !important;
}

.rt-hero-v1 .rt-hero-v1-button-wrap .rt-button-v1-main:hover .rt-button-text {
  color: #ffffff !important;
}
/* Hero hover: no black top border, black only behind the shadow */
.rt-hero-v1 .rt-hero-v1-button-wrap .rt-button-v1-main:hover .rt-button-v1 {
  border-color: var(--dex-yellow) !important;
  background: var(--dex-yellow) !important;
  color: #ffffff !important;

  box-shadow:
    5px 5px 0 var(--dex-yellow),
    6px 6px 0 #111827 !important;
}

.rt-hero-v1 .rt-hero-v1-button-wrap .rt-button-v1-main:hover .rt-button-text {
  color: #ffffff !important;
}
/* Hero buttons: slightly shorter width */
.rt-hero-v1 .rt-hero-v1-button-wrap .rt-button-v1-main .rt-button-v1 {
  width: 190px !important;
  min-width: 190px !important;
  max-width: 190px !important;
  height: 54px !important;
  min-height: 54px !important;
}
/* Header restore + Services mega menu fix */
@media screen and (min-width: 992px) {
  /* Restore original-feeling header height */
  .rt-top-nav,
  .rt-nav {
    min-height: 76px !important;
    overflow: visible !important;
  }

  .rt-nav .rt-container-xl,
  .rt-navbar-wrapper {
    min-height: 76px !important;
    display: flex !important;
    align-items: center !important;
    overflow: visible !important;
  }

  .rt-navbar-logo-wrap,
  .rt-navbar-logo {
    display: flex !important;
    align-items: center !important;
    min-height: 76px !important;
  }

  .rt-navbar-logo .dex-header-logo-full {
    width: clamp(150px, 11vw, 180px) !important;
    max-height: 48px !important;
    object-fit: contain !important;
  }

  .rt-navbar-v1-menu-desktop {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(34px, 4vw, 64px) !important;
    height: 76px !important;
  }

  .dex-header-dropdown,
  .rt-navbar-dropdown,
  .rt-navber-dropdown {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    min-height: 76px !important;
  }

  .rt-navbar-dropdown-toggle {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 76px !important;
    padding: 0 !important;
  }

  .rt-menu-text,
  .dex-header-access-link {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }

  /* Prevent dropdowns from being clipped */
  .rt-top-nav,
  .rt-nav,
  .rt-navbar-wrapper,
  .rt-navbar-v1-menu-desktop,
  .dex-header-dropdown {
    overflow: visible !important;
  }

  .dex-header-dropdown > .w-dropdown-list {
    top: 100% !important;
    z-index: 99999 !important;
  }

  /* Simple dropdowns */
  .dex-header-simple-menu {
    min-width: 260px !important;
    padding: 12px !important;
    border-radius: 14px !important;
  }

  .dex-header-simple-menu .rt-nav-menu-link {
    padding: 12px 14px !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
  }

  /* Services mega menu */
  .dex-header-mega-dropdown {
    position: relative !important;
  }

  .dex-header-mega-menu {
    left: 50% !important;
    width: 940px !important;
    min-width: 940px !important;
    max-width: calc(100vw - 64px) !important;
    padding: 22px !important;
    overflow: visible !important;
    border: 1px solid rgba(var(--dex-blue-rgb), 0.14) !important;
    border-radius: 16px !important;
    background: var(--dex-white) !important;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14) !important;
    transform: translateX(-50%) translateY(10px) !important;
  }

  .dex-header-dropdown:hover > .dex-header-mega-menu,
  .dex-header-dropdown:focus-within > .dex-header-mega-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(10px) !important;
  }

  .dex-header-mega-wrap {
    display: grid !important;
    grid-template-columns: 320px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: stretch !important;
  }

  .dex-header-menu-left {
    width: 320px !important;
    min-width: 320px !important;
    min-height: 250px !important;
    padding: 34px 30px !important;
    border-radius: 12px !important;
  }

  .dex-header-menu-left .rt-text-style-h6 {
    font-size: 22px !important;
    line-height: 1.35 !important;
    color: #ffffff !important;
  }

  .dex-header-menu-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(230px, 1fr)) !important;
    gap: 0 28px !important;
    align-items: stretch !important;
  }

  .dex-header-menu-grid .rt-pages-menu-list-wrap {
    display: grid !important;
    gap: 12px !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .dex-header-menu-grid .rt-pages-menu-list-wrap.border {
    padding-right: 28px !important;
    border-right: 1px solid rgba(var(--dex-blue-rgb), 0.14) !important;
  }

  .dex-header-mega-menu .rt-pages-menu-link-wrap {
    display: flex !important;
    align-items: center !important;
    min-height: 58px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    border: 0 !important;
  }

  .dex-header-mega-menu .rt-pages-menu-content {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
  }

  .dex-header-menu-icon {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
  }

  .dex-header-mega-menu .rt-nav-menu-link.rt-padding-off {
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: var(--dex-text) !important;
    white-space: normal !important;
  }
}
/* Final header + Services mega menu alignment fix */
@media screen and (min-width: 992px) {
  /* Header shell */
  .rt-top-nav,
  .rt-nav {
    min-height: 88px !important;
    overflow: visible !important;
  }

  .rt-nav .rt-container-xl {
    max-width: none !important;
    width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .rt-navbar-wrapper {
    display: grid !important;
    grid-template-columns: 220px minmax(0, 1fr) 220px !important;
    align-items: center !important;
    min-height: 88px !important;
    overflow: visible !important;
  }

  /* Logo back to left, like original reference */
  .rt-navbar-logo-wrap {
    grid-column: 1 !important;
    justify-self: start !important;
    position: relative !important;
    z-index: 3 !important;
  }

  .rt-navbar-logo {
    display: flex !important;
    align-items: center !important;
    min-height: 88px !important;
    padding: 0 !important;
  }

  .rt-navbar-logo .dex-header-logo-full {
    width: 180px !important;
    max-width: 180px !important;
    max-height: 48px !important;
    object-fit: contain !important;
  }

  /* Center nav, but do not overlap logo */
  .rt-navbar-v1-menu-desktop {
    grid-column: 2 !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: clamp(34px, 4vw, 62px) !important;
    height: 88px !important;
    min-width: 0 !important;
    z-index: 2 !important;
  }

  .dex-header-dropdown,
  .rt-navbar-dropdown,
  .rt-navber-dropdown {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    min-height: 88px !important;
  }

  .rt-navbar-dropdown-toggle {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 88px !important;
    padding: 0 !important;
  }

  .rt-menu-text,
  .dex-header-access-link {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  .dex-header-access-link {
    min-height: 88px !important;
    padding: 0 !important;
  }

  /* Prevent dropdown clipping */
  .rt-top-nav,
  .rt-nav,
  .rt-navbar-wrapper,
  .rt-navbar-v1-menu-desktop,
  .dex-header-dropdown {
    overflow: visible !important;
  }

  /* Kill the double-white-card effect */
  .dex-header-mega-dropdown > .rt-navbar-menu-dropdown,
  .dex-header-mega-dropdown > .rt-pages-menu,
  .dex-header-mega-menu {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
  }

  /* Make ONE visible mega menu card */
  .dex-header-mega-menu {
    position: absolute !important;
    top: 88px !important;
    left: 50% !important;
    width: min(1040px, calc(100vw - 96px)) !important;
    min-width: min(1040px, calc(100vw - 96px)) !important;
    max-width: calc(100vw - 96px) !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: translateX(-50%) !important;
    z-index: 99999 !important;
  }

  .dex-header-dropdown:hover > .dex-header-mega-menu,
  .dex-header-dropdown:focus-within > .dex-header-mega-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) !important;
  }

  .dex-header-mega-wrap {
    display: grid !important;
    grid-template-columns: 320px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: stretch !important;

    width: 100% !important;
    padding: 28px !important;
    border: 1px solid rgba(var(--dex-blue-rgb), 0.14) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14) !important;
  }

  /* Left blue panel */
  .dex-header-menu-left {
    width: 320px !important;
    min-width: 320px !important;
    min-height: 300px !important;
    padding: 34px 30px !important;
    border-radius: 12px !important;
    background: linear-gradient(145deg, var(--dex-blue), var(--dex-blue-dark)) !important;
  }

  .dex-header-menu-left .rt-text-style-h6 {
    max-width: 250px !important;
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
  }

  .dex-header-menu-mark {
    width: 52px !important;
    height: 52px !important;
    margin-bottom: 32px !important;
  }

  .dex-header-menu-mark img {
    width: 46px !important;
    height: 46px !important;
    object-fit: contain !important;
  }

  /* Right services grid */
  .dex-header-menu-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(230px, 1fr)) !important;
    gap: 0 32px !important;
    align-items: stretch !important;
    flex: none !important;
    min-width: 0 !important;
  }

  .dex-header-menu-grid .rt-pages-menu-list-wrap {
    display: grid !important;
    gap: 18px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .dex-header-menu-grid .rt-pages-menu-list-wrap.border {
    padding-right: 32px !important;
    border-right: 1px solid rgba(var(--dex-blue-rgb), 0.14) !important;
  }

  .dex-header-mega-menu .rt-pages-menu-link-wrap {
    display: flex !important;
    align-items: center !important;
    min-height: 60px !important;
    padding: 8px 10px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .dex-header-mega-menu .rt-pages-menu-link-wrap:hover {
    background: rgba(var(--dex-blue-rgb), 0.045) !important;
  }

  .dex-header-mega-menu .rt-pages-menu-content {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
  }

  .dex-header-menu-icon {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    border-radius: 11px !important;
  }

  .dex-header-menu-icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  .dex-header-mega-menu .rt-nav-menu-link.rt-padding-off {
    color: #000000 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  /* Keep simple dropdowns separate and neat */
  .dex-header-simple-menu {
    top: 88px !important;
    min-width: 260px !important;
    padding: 12px !important;
    border: 1px solid rgba(var(--dex-blue-rgb), 0.12) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12) !important;
  }
}
/* Force header logo to true left corner */
@media screen and (min-width: 992px) {
  .rt-top-nav .rt-nav {
    min-height: 88px !important;
  }

  .rt-top-nav .rt-nav > .rt-container-xl,
  .rt-top-nav .rt-nav .rt-container-xl.w-container {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  .rt-top-nav .rt-navbar-wrapper {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    min-height: 88px !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
  }

  .rt-top-nav .rt-navbar-logo-wrap {
    position: absolute !important;
    left: 28px !important;
    top: 50% !important;
    z-index: 20 !important;
    display: flex !important;
    align-items: center !important;
    transform: translateY(-50%) !important;
  }

  .rt-top-nav .rt-navbar-logo {
    display: flex !important;
    min-height: 0 !important;
    height: auto !important;
    align-items: center !important;
    padding: 0 !important;
  }

  .rt-top-nav .rt-navbar-logo .dex-header-logo-full {
    width: 190px !important;
    max-width: 190px !important;
    height: auto !important;
    max-height: 52px !important;
    object-fit: contain !important;
  }

  .rt-top-nav .rt-navbar-v1-menu-desktop {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;

    display: flex !important;
    height: 88px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(34px, 4vw, 64px) !important;
    margin: 0 auto !important;
  }

  .rt-top-nav .dex-header-dropdown,
  .rt-top-nav .rt-navbar-dropdown,
  .rt-top-nav .rt-navber-dropdown,
  .rt-top-nav .rt-navbar-dropdown-toggle,
  .rt-top-nav .dex-header-access-link {
    min-height: 88px !important;
    display: flex !important;
    align-items: center !important;
  }
}