/* Capability cards share content tracks within each native horizontal rail. */
.cc-page .cc-card h3 {
  font-family: var(--font-display);
  font-size: var(--type-subhead-size);
  font-weight: 700;
  line-height: 1.35;
}
.cc-page :is(article, aside, figure, .cc-heading > *) { min-width: 0; }
.cc-page figure { margin: 0; }
.cc-page [hidden] { display: none !important; }
.cc-hero-art .cch-stage { inset: 0; }
.cc-page .cc-hero-scope {
  border-top: 1px solid #497589;
  padding-top: 18px;
  margin: 24px 0 0;
  color: var(--body-text-on-dark);
  max-width: 1000px;
}
.cc-heading { margin-bottom: 30px; }
.cc-heading h2 { margin-bottom: 22px; max-width: 1150px; }
.cc-heading > p { max-width: 920px; margin: 0; }
.cc-heading .ip-label { margin-bottom: 18px; }

.cc-rail {
  --cc-card-width: clamp(320px, 30vw, 390px);
  --cc-card-inset: 24px;
  --cc-card-border: #76aab8;
  --cc-card-accent: #169da5;
  --cc-card-surface: var(--ip-pale);
  --cc-card-ink: #0a344a;
  --cc-card-body: var(--body-text);
  --cc-resource-surface: var(--cc-card-surface);
  --cc-card-shadow: 0 4px 14px #0a344a14;
  min-width: 0;
}
.cc-page .cc-rail-instructions {
  color: var(--body-text);
  font-size: var(--type-secondary-size);
  margin: 0 0 12px;
}
.cc-card-viewport {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(var(--cc-card-width), calc(100% - 28px));
  grid-template-rows: repeat(10, auto);
  column-gap: 22px;
  row-gap: 0;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 4px;
  padding: 8px 4px 20px;
  scrollbar-width: thin;
  scrollbar-color: #659aa9 #e5eef2;
  position: relative;
  min-width: 0;
  touch-action: auto;
}
.cc-card-viewport::-webkit-scrollbar { height: 7px; }
.cc-card-viewport::-webkit-scrollbar-track { background: #e5eef2; }
.cc-card-viewport::-webkit-scrollbar-thumb { background: #659aa9; border-radius: 6px; }
.cc-card-viewport:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
.cc-card {
  grid-row: 1 / span 10;
  scroll-snap-align: start;
  scroll-margin-inline: 0;
  display: flex;
  flex-direction: column;
  background: var(--cc-card-surface);
  color: var(--cc-card-body);
  border: 1px solid var(--cc-card-border);
  box-shadow: var(--cc-card-shadow);
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow-wrap: anywhere;
}
/* Complete natural-flow fallback; row subgrid adds cross-card alignment below. */
.cc-card-heading { padding: 24px var(--cc-card-inset) 20px; }
.cc-card-label {
  display: block;
  color: #087f8d;
  font-size: var(--type-secondary-size);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.5;
}
.cc-card h3 { margin: 0; color: var(--cc-card-ink); }
.cc-card-visual {
  display: flex;
  align-items: stretch;
  padding: 0 var(--cc-card-inset) 22px;
  min-width: 0;
}
.cc-card-media {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  background: #fff;
}
.cc-card-media img {
  display: block;
  max-width: 300px;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}
.cc-card-copy { padding: 0 var(--cc-card-inset) 24px; }
.cc-card-copy > p { margin: 0 0 18px; color: var(--cc-card-body); }
.cc-card-summary { font-weight: 600; }
.cc-card-outcome {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--cc-card-border);
}
.cc-card-outcome > span {
  display: block;
  font-size: var(--type-secondary-size);
  font-weight: 700;
  color: #087f8d;
  margin-bottom: 8px;
}
.cc-card-outcome p { margin: 0; color: var(--cc-card-body); }
.cc-card-resource {
  margin-top: auto;
  padding: 20px var(--cc-card-inset) 24px;
  border-top: 1px solid var(--cc-card-border);
  background: var(--cc-resource-surface);
}
.cc-resource-caption {
  display: block;
  color: #087f8d;
  font-size: var(--type-secondary-size);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
}
.cc-resource-link {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  color: var(--cc-card-ink);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cc-card-border);
}
.cc-resource-link > span:first-child { min-width: 0; }
.cc-resource-link > span:last-child { flex-shrink: 0; }
.cc-resource-link[href]:is(:hover, :focus-visible) {
  color: var(--link-hover);
  border-color: var(--cyan);
}
.cc-resource-placeholder {
  color: var(--cc-card-body);
  border-bottom-style: dashed;
  cursor: default;
}
.cc-resource-meta {
  display: block;
  color: var(--cc-card-body);
  font-size: var(--type-secondary-size);
  line-height: 1.65;
}
.cc-card:is(:hover, :focus-within) { border-color: var(--cc-card-accent); }

/* All cards in a section contribute to the same ten intrinsic content rows. */
@supports (grid-template-rows: subgrid) {
  .cc-card {
    display: grid;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .cc-card-heading {
    grid-row: 1 / span 2;
    display: grid;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .cc-card-label { grid-row: 1; }
  .cc-card h3 { grid-row: 2; }
  .cc-card-visual { grid-row: 3; }
  .cc-card-copy {
    grid-row: 4 / span 4;
    display: grid;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .cc-card-summary { grid-row: 1; }
  .cc-card-context { grid-row: 2; }
  .cc-card-outcome {
    grid-row: 3 / span 2;
    display: grid;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .cc-card-outcome > span { grid-row: 1; }
  .cc-card-outcome > p { grid-row: 2; }
  .cc-card-resource {
    grid-row: 8 / span 3;
    display: grid;
    grid-template-rows: subgrid;
    row-gap: 0;
    margin-top: 0;
  }
  .cc-resource-caption { grid-row: 1; }
  .cc-resource-link { grid-row: 2; }
  .cc-resource-meta { grid-row: 3; }
}

.cc-rail-controls { display: flex; align-items: center; gap: 24px; padding: 16px 4px 0; }
.cc-page .cc-rail-status {
  margin: 0;
  color: var(--body-text);
  font-size: var(--type-secondary-size);
  min-width: 145px;
}
.cc-rail-progress {
  display: block;
  appearance: none;
  flex: 1;
  min-width: 0;
  width: auto;
  height: 3px;
  border: 0;
  background: #d3e2e8;
  color: #169da5;
  accent-color: #169da5;
}
.cc-rail-progress::-webkit-progress-bar { background: #d3e2e8; }
.cc-rail-progress::-webkit-progress-value { background: #169da5; }
.cc-rail-progress::-moz-progress-bar { background: #169da5; }
.cc-rail-buttons { display: flex; gap: 10px; }
.cc-rail-button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid #759eaf;
  background: transparent;
  color: #123d52;
  cursor: pointer;
  border-radius: 50%;
  padding: 11px;
}
.cc-rail-button svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cc-rail-button:disabled { opacity: .35; cursor: default; }
.cc-rail-button:not(:disabled):is(:hover, :focus-visible) {
  color: #087f8d;
  border-color: #169da5;
  background: var(--ip-pale);
}
.cc-card-viewport.is-cc-rail-dragging { scroll-snap-type: none; user-select: none; cursor: grabbing; }
.is-cc-rail-ready .cc-card-viewport { cursor: grab; }
.cc-card-viewport :is(a[href], button, summary) { cursor: pointer; }
.cc-card-viewport.is-cc-rail-dragging * { cursor: grabbing; }

/* The subject variants change paint and rules; content order stays consistent. */
.cc-rail--studio .cc-card { border-top: 0; box-shadow: var(--cc-card-shadow), inset 0 1px 0 var(--cc-card-border); }
.cc-rail--studio .cc-card-label { padding-bottom: 9px; border-bottom: 1px solid #c4dbe2; }
.cc-section-parametric-design { background: var(--ip-pale); }
.cc-section-parametric-design .cc-rail,
.cc-section-simulation-analysis .cc-rail,
.cc-section-model-based-definition .cc-rail,
.cc-section-data-exchange .cc-rail { --cc-card-surface: #fff; }
.cc-rail--specification .cc-card { border-top: 3px solid #169da5; }
.cc-rail--specification .cc-card-heading { background: var(--cc-card-surface); border-bottom: 1px solid #d2e2e8; }
.cc-rail--specification .cc-card-label { letter-spacing: .04em; }
.cc-rail--specification .cc-card-outcome { border-left: 2px solid #84bbc6; border-top: 0; padding: 0 0 0 16px; }
.cc-rail--assembly .cc-card { border-left: 3px solid #76aab8; }
.cc-rail--assembly .cc-card-label:before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 1px solid #168d9c;
  transform: rotate(45deg);
  margin-right: 10px;
}
.cc-rail--assembly .cc-card-visual { padding-top: 16px; border-top: 1px solid #d2e2e8; }
.cc-section-simulation-analysis { background: var(--ip-pale); }
.cc-rail--analysis .cc-card-heading { background: var(--pr-dark); }
.cc-rail--analysis .cc-card h3 { color: #fff; }
.cc-rail--analysis .cc-card-label { color: #94d9df; }
.cc-rail--analysis .cc-card-visual { padding-top: 22px; }
.cc-rail--analysis .cc-card-outcome { background: var(--cc-card-surface); padding: 18px; border-top: 0; }

.cc-section-artificial-intelligence { background: var(--ip-navy); color: var(--body-text-on-dark); }
.cc-page .cc-section-artificial-intelligence p { color: var(--body-text-on-dark); }
.cc-section-artificial-intelligence :is(h2, h3) { color: #fff; }
.cc-section-artificial-intelligence h2 em,
.cc-section-artificial-intelligence .ip-label { color: var(--cyan); }
.cc-rail--intelligence {
  --cc-card-width: clamp(340px, 39vw, 560px);
  --cc-card-border: #8cd4de;
  --cc-card-accent: #8cd4de;
  --cc-card-surface: var(--navy);
  --cc-card-ink: #fff;
  --cc-card-body: var(--body-text-on-dark);
  --cc-resource-surface: var(--cc-card-surface);
}
.cc-rail--intelligence :is(.cc-card-label, .cc-card-outcome > span, .cc-resource-caption) { color: #94d9df; }
.cc-rail--intelligence .cc-card-heading { border-top: 3px solid var(--cyan); }
.cc-rail--intelligence .cc-card-media { padding: 12px; background: var(--ip-pale); }
.cc-rail--intelligence .cc-resource-link[href]:is(:hover, :focus-visible) { color: var(--link-hover-on-dark); }
.cc-section-artificial-intelligence :is(.cc-rail-instructions, .cc-rail-status) { color: var(--body-text-on-dark); }
.cc-section-artificial-intelligence .cc-rail-button { color: #b2dce4; border-color: #739dad; }
.cc-section-artificial-intelligence .cc-rail-button:not(:disabled):is(:hover, :focus-visible) { background: #16455b; color: #fff; }
.cc-section-artificial-intelligence .cc-scope-note { border-color: #4c7588; color: var(--body-text-on-dark); }
.cc-section-artificial-intelligence .cc-scope-note .ip-inline-link { color: #fff; }
.cc-section-artificial-intelligence .cc-scope-note .ip-inline-link:is(:hover, :focus-visible) { color: var(--link-hover-on-dark); }
.cc-section-artificial-intelligence .cc-question { color: var(--body-text-on-dark); }
.cc-section-artificial-intelligence .cc-question > span { color: #94d9df; }
.cc-rail--connections .cc-card { border-top: 3px double #6f9fac; }
.cc-rail--connections .cc-card-heading { padding-left: calc(var(--cc-card-inset) + 8px); border-left: 4px solid #a3ced5; }
.cc-rail--connections .cc-card-outcome { border-top: 2px solid #89bdc8; }
.cc-section-model-based-definition { background: var(--ip-pale); }
.cc-rail--definition .cc-card:before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 25px;
  height: 25px;
  background: linear-gradient(225deg, #c5dce4 49%, transparent 50%);
}
.cc-rail--definition .cc-card-label { border-left: 2px solid #169da5; padding-left: 12px; }
.cc-rail--definition .cc-card-outcome { border-left: 2px solid #89bdc8; border-top: 0; padding-left: 16px; padding-top: 0; }
.cc-rail--production .cc-card { border-top: 3px solid #103448; }
.cc-rail--production .cc-card-outcome { background: var(--pr-dark); color: var(--body-text-on-dark); padding: 18px; border-top: 0; }
.cc-rail--production .cc-card-outcome > span { color: #94d9df; }
.cc-rail--production .cc-card-outcome p { color: var(--body-text-on-dark); }
.cc-section-data-exchange { background: var(--ip-pale); }
.cc-rail--exchange .cc-card-heading { border-bottom: 1px solid #c4dbe2; }
.cc-rail--exchange .cc-card-outcome { padding: 16px; background: var(--cc-card-surface); border: 0; }
.cc-rail--operations .cc-card { box-shadow: var(--cc-card-shadow), inset 0 4px 0 #97bfca; }
.cc-rail--operations .cc-card-label { border-bottom: 1px solid #c4dbe2; padding-bottom: 12px; }
.cc-rail--operations .cc-card-visual { border-bottom: 1px solid #d2e2e8; padding-bottom: 20px; }

.cc-question {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  border-left: 3px solid #169da5;
  margin-top: 28px;
  padding: 10px 0 10px 22px;
}
.cc-question > span { color: #087f8d; font-weight: 700; }
.cc-question p { margin: 0; max-width: 75ch; }
.cc-scope-note {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  border-top: 1px solid #b8d2dc;
  margin-top: 28px;
  padding-top: 22px;
  color: var(--body-text);
}
.cc-scope-note p { margin: 0; max-width: 95ch; }
.cc-scope-note .ip-inline-link { max-width: 620px; }
.cpc-video { min-width: 0; width: 100%; }
.cpc-video-stage { position: relative; aspect-ratio: 16 / 9; background: #082a3d; overflow: hidden; }
.cpc-video-stage img,
.cpc-video-stage iframe { display: block; width: 100%; height: 100%; object-fit: contain; border: 0; }
.cpc-video-stage iframe { position: absolute; inset: 0; }
.cpc-watch {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: #fff;
  color: #082a3d;
  border: 0;
  padding: 10px 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 8px 24px #0003;
}
.cpc-watch span { color: #087f8d; margin-right: 8px; }
.cpc-video-tools { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 12px 0; }
.cpc-video-tools a { color: #087f8d; font-weight: 700; }
.cc-page .cpc-video-tools a:is(:hover, :focus-visible) { color: var(--link-hover); }
.cpc-close { background: transparent; border: 1px solid #9fbfcf; padding: 8px 12px; font: inherit; cursor: pointer; }
.cc-page .cpc-player-status { font-size: var(--type-secondary-size); margin: 0; }
.cpc-player-status:empty { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .cc-card { transition: border-color .2s, box-shadow .2s; }
  .cc-rail-button,
  .cc-resource-link[href] { transition: color .2s, border-color .2s, background .2s; }
}
@media (max-width: 1000px) {
  .cc-question { grid-template-columns: 150px 1fr; }
}
@media (max-width: 700px) {
  .cc-rail { --cc-card-inset: 20px; }
  .cc-heading { margin-bottom: 24px; }
  .cc-card-viewport {
    grid-auto-columns: calc(100% - 24px);
    column-gap: 16px;
    padding-inline: 3px;
    scroll-padding-inline: 3px;
  }
  .cc-card-heading { padding-block: 22px 18px; }
  .cc-card-copy { padding-bottom: 22px; }
  .cc-card-resource { padding-bottom: 22px; }
  .cc-rail--connections .cc-card-heading { padding-left: 24px; }
  .cc-rail--intelligence .cc-card-media { padding: 8px; }
  .cc-rail-controls { gap: 14px; flex-wrap: wrap; }
  .cc-page .cc-rail-status { min-width: 0; flex: 1; }
  .cc-rail-progress { order: 3; flex-basis: 100%; width: 100%; }
  .cc-rail-button { width: 44px; height: 44px; }
  .cc-question { grid-template-columns: 1fr; gap: 14px; padding-left: 18px; }
  .cc-hero-scope { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-page *,
  .cc-page *:before,
  .cc-page *:after { animation: none !important; transition: none !important; }
}
