/* Product content after the opening stays in natural document flow.
   Only Trading Terminal participates in the separate ridge transition. */
@supports (overflow: clip) {
  /* The legacy page uses overflow-x:hidden on both document ancestors, which
     creates a separate scroll container and prevents a sticky stage. */
  html:root:not(.vr-shot-modal-open),
  html:not(.vr-shot-modal-open) body.vr-ridge-home { overflow-x: clip !important; }
}
.vr-product-story {
  --story-top: 64px;
  --story-height: calc(100svh - var(--story-top));
  --story-runway: 360svh;
  --story-gutter: clamp(22px, 2.85vw, 60px);
  position: relative;
  isolation: isolate;
  color: #eeeef0;
  background: #050708;
  font-family: 'Inter', Arial, sans-serif;
  border-top: 1px solid rgba(223, 234, 239, .16);
  scroll-margin-top: 64px;
}
.vr-product-story *, .vr-product-story *::before, .vr-product-story *::after { box-sizing: border-box; }
.vr-product-story__stage {
  position: relative;
  padding: 35px var(--story-gutter) 24px;
  background: radial-gradient(ellipse at 74% 50%, rgba(49, 80, 104, .09), transparent 58%), #050708;
}
.vr-product-story__header { position: relative; z-index: 3; }
.vr-product-story__eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #899297;
  font: 400 10px/1.4 'JetBrains Mono', Consolas, monospace;
  letter-spacing: .18em;
}
.vr-product-story__count { color: #56636b; }
.vr-product-story__count [data-vr-story-current] { color: #e6eaec; }
.vr-product-story__navigation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 20px;
}
.vr-product-story__navigation a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 0 16px;
  color: #899297;
  border-bottom: 1px solid rgba(216, 228, 237, .17);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.3;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}
.vr-product-story__navigation a[aria-current='step'],
.vr-product-story__navigation a:hover { color: #f2f4f5; border-bottom-color: #b6c9d6; }
.vr-product-story__nav-index { color: #677782; font: 400 10px/1 'JetBrains Mono', Consolas, monospace; }
.vr-product-story__navigation a[aria-current='step'] .vr-product-story__nav-index { color: #bed7e6; }
.vr-product-story svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; flex: 0 0 auto; }
.vr-product-story__navigation svg { width: 15px; height: 15px; margin-left: auto; }
.vr-product-story__deck { position: relative; }
.vr-product-story__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(285px, .34fr) minmax(0, .66fr);
  align-items: center;
  gap: clamp(32px, 4vw, 80px);
  padding: clamp(60px, 7vw, 112px) 0;
  scroll-margin-top: 104px;
}
.vr-product-story__panel + .vr-product-story__panel { border-top: 1px solid rgba(216, 228, 237, .12); }
.vr-product-story__copy { position: relative; z-index: 1; min-width: 0; }
.vr-product-story__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(16px, 2.3vh, 26px);
  color: #9aadb9;
  font: 400 9px/1.5 'JetBrains Mono', Consolas, monospace;
  letter-spacing: .12em;
}
.vr-product-story__kicker > span { color: #52616c; }
.vr-product-story__copy h2 {
  margin: 0;
  color: #f2f3f4;
  font: 300 clamp(42px, 4.5vw, 78px)/1.04 'Inter', Arial, sans-serif;
  letter-spacing: -.055em;
}
.vr-product-story__description {
  max-width: 370px;
  margin: clamp(18px, 2.7vh, 30px) 0 0;
  color: #a3abb0;
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: -.012em;
}
.vr-product-story__features {
  display: grid;
  gap: 10px;
  max-width: 390px;
  margin: clamp(22px, 3.5vh, 38px) 0 0;
  padding: 0;
  list-style: none;
  color: #b8c1c7;
  font-size: clamp(11px, .85vw, 13px);
  line-height: 1.45;
}
.vr-product-story__features li { position: relative; padding-left: 17px; }
.vr-product-story__features li::before { content: ''; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border: 1px solid #6d8798; transform: rotate(45deg); }
.vr-product-story__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 46px;
  margin-top: clamp(24px, 4vh, 42px);
  padding: 8px 0;
  color: #e8ecef;
  border-bottom: 1px solid #869ba8;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
}
.vr-product-story__cta svg { transition: transform .2s ease; }
.vr-product-story__cta:hover svg { transform: translate(2px, -2px); }
.vr-product-story__availability { margin: 14px 0 0; max-width: 330px; color: #839099; font-size: 10px; line-height: 1.5; }
.vr-product-story__visual { position: relative; min-width: 0; margin: 0; }
.vr-product-story__visual::before {
  content: '';
  position: absolute;
  inset: -13% -4%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(57, 95, 121, .13), transparent 68%);
}
.vr-product-story__window-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  color: #6e818d;
  font: 400 8px/1.5 'JetBrains Mono', Consolas, monospace;
  letter-spacing: .1em;
}
.vr-product-story__window-label > span:first-child { display: flex; align-items: center; gap: 8px; color: #a5b5bf; }
.vr-product-story__window-label i { width: 4px; height: 4px; background: #91b1c7; border-radius: 50%; }
.vr-product-story .vr-product-story__screen {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(174, 197, 213, .25) !important;
  border-radius: 4px;
  background: #080b0e !important;
  color: #d8e4ec !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
  cursor: default;
}
.vr-product-story__screen picture { display: block; width: 100%; }
.vr-product-story__screen img { display: block; width: 100%; height: auto; object-fit: contain; }
.vr-product-story__visual figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  color: #7f8d97;
  font-size: 10px;
  font-weight: 300;
  line-height: 1.5;
}
.vr-product-story__visual figcaption > span:last-child { font: 400 8px/1.5 'JetBrains Mono', Consolas, monospace; color: #586771; white-space: nowrap; }
.vr-product-story__footer { display: none; }
.vr-product-story a:focus-visible,
.vr-product-story button:focus-visible,
.vr-product-story h2:focus-visible { outline: 2px solid #b1d6ef; outline-offset: 6px; }
.vr-product-story a, .vr-product-story button { touch-action: manipulation; -webkit-tap-highlight-color: rgba(177, 214, 239, .15); }

/* Use the approved Vector Ridge interface unchanged at every breakpoint.
   Keep the complete frame and synthetic-results disclosure visible. */
.vr-ridge-journey .vr-ai-arrival .vr-product-story__screen,
.vr-ridge-journey .vr-research-arrival .vr-product-story__screen {
  border: 1px solid #2b3033 !important;
  border-radius: 6px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
}
.vr-ridge-journey .vr-ai-arrival .vr-product-story__window-label {
  padding: 0 2px 18px;
  color: #9ba4aa;
  font-size: 10px;
}
.vr-ridge-journey .vr-ai-arrival .vr-product-story__window-label i { background: #9acbbb; }
@media (max-width: 768px) {
  .vr-ridge-journey .vr-ai-arrival .vr-product-story__screen picture { aspect-ratio: 1710 / 920; }
  .vr-ridge-journey .vr-research-arrival .vr-product-story__screen picture { aspect-ratio: 1771 / 888; }
  .vr-ridge-journey .vr-ai-arrival .vr-product-story__screen img,
  .vr-ridge-journey .vr-research-arrival .vr-product-story__screen img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center;
  }
  .vr-ridge-journey .vr-ai-arrival .vr-product-story__window-label { font-size: 8px; gap: 8px; }
  .vr-ridge-journey .vr-ai-arrival .vr-product-story__window-label > span:last-child { display: block; }
  /* The fallback shares the same selected picture source when scripts are off. */
  .vr-ridge-journey .vr-ai-arrival .vr-product-story__screen noscript img { object-fit: contain; }
}

@media (min-width: 1025px) and (max-height: 850px) {
  .vr-product-story__copy h2 { font-size: clamp(42px, 4vw, 60px); }
  .vr-product-story__kicker { margin-bottom: 14px; }
  .vr-product-story__description { font-size: 14px; line-height: 1.55; margin-top: 18px; }
  .vr-product-story__features { margin-top: 20px; gap: 7px; font-size: 11px; }
  .vr-product-story__cta { margin-top: 20px; min-height: 44px; }
  .vr-product-story__availability { margin-top: 10px; }
}

@media (max-width: 1024px) {
  .vr-product-story__panel { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 64px 0; scroll-margin-top: 132px; }
  .vr-product-story__copy { max-width: 580px; }
  .vr-product-story__copy h2 { font-size: clamp(46px, 7vw, 68px); }
  .vr-product-story__description { max-width: 520px; }
  .vr-product-story__visual { width: 100%; }
  .vr-product-story__count { display: none; }
}

@media (max-width: 600px) {
  .vr-product-story__stage { padding-top: 28px; }
  .vr-product-story__eyebrow { font-size: 8px; letter-spacing: .13em; }
  .vr-product-story__navigation { gap: 14px; margin-top: 14px; }
  .vr-product-story__navigation a { display: grid; grid-template-columns: 1fr; align-content: start; gap: 10px; min-height: 76px; padding-bottom: 12px; font-size: 11px; }
  .vr-product-story__navigation svg { display: none; }
  .vr-product-story__nav-index { font-size: 8px; }
  .vr-product-story__panel { padding: 48px 0 58px; gap: 30px; }
  .vr-product-story__kicker { font-size: 8px; letter-spacing: .08em; gap: 10px; margin-bottom: 18px; }
  .vr-product-story__copy h2 { font-size: clamp(44px, 11.5vw, 60px); }
  .vr-product-story__description { margin-top: 22px; font-size: 14px; }
  .vr-product-story__features { margin-top: 24px; font-size: 12px; }
  .vr-product-story__cta { margin-top: 26px; font-size: 12px; }
  .vr-product-story__window-label { font-size: 7px; padding: 12px 0; gap: 8px; letter-spacing: .02em; }
  .vr-product-story__window-label > span:last-child { display: none; }
  .vr-product-story__visual figcaption { margin-top: 12px; font-size: 9px; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html:root { scroll-behavior: auto; }
  .vr-product-story *, .vr-product-story *::before, .vr-product-story *::after { transition: none !important; }
}
