/* Product proof sits directly on the page. Only the app itself has a surface. */
.product-story .fe-panel-vis.product-capture {
  min-height: 0;
  height: 500px;
  padding: 0;
  gap: 14px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.product-capture-window { width: 100%; min-width: 0; overflow: hidden; border-radius: 6px; }
.product-story .product-capture-window > :is(img,video) {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: none;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
}
.product-story .product-capture figcaption,
.product-story .product-capture figcaption > span:first-child { color: #c1cbe5; font-size: 11px; }
.product-story .product-capture .screen-full-link { color: #a9cfff; font-size: 11px; }
.product-story .product-capture .screen-full-link:focus-visible { outline-color: #a9cfff; }
/* Program routes keep their distinct requirements, then meet at the work we do. */
.product-story :is(.readiness-map,.opportunity-route) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  min-height: 0;
  height: 460px;
  margin: 0;
  padding: 0 8px;
  color: #fff;
  background: transparent;
}
.product-story :is(.readiness-map,.opportunity-route) > figcaption {
  color: #dce4fa;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 32px;
  text-align: center;
}
.readiness-lanes,.opportunity-sources { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; }
.readiness-lane { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.readiness-lane + .readiness-lane { border-left: 1px solid #34405d; }
.product-story .diagram-provider { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.product-story .diagram-provider img { width: 34px; max-width: none; height: 30px; object-fit: contain; border-radius: 0; }
.product-story .diagram-provider:first-child img[src*="aws"] { width: 40px; }
.diagram-provider strong { font-size: 13px; line-height: 1.4; font-weight: 500; color: #fff; }
.readiness-lane > span { color: #c1cbe5; font-size: 12px; line-height: 1.65; }
.readiness-connections,.opportunity-inbound,.opportunity-outbound { display: block; flex-shrink: 0; width: 100%; fill: none; stroke: #6379b5; stroke-width: 1; overflow: visible; }
.readiness-connections { height: 64px; }
.readiness-guidance { width: 100%; padding: 22px 0; border-block: 1px solid #445579; display: flex; align-items: center; justify-content: center; gap: 28px; }
.product-story .readiness-guidance > img { width: 132px; height: auto; max-width: none; border-radius: 0; }
.product-story .readiness-guidance p { margin: 0; color: #e0e7fa; font-size: 13px; line-height: 1.7; }
.product-story .diagram-note { font-size: 11px; line-height: 1.6; color: #b6c3e2; text-align: center; margin: 18px 0 0; }
/* The handoff is an opportunity, with context, arriving in the team's chosen CRM. */
.product-story .opportunity-route > figcaption { margin-bottom: 24px; }
.opportunity-inbound { height: 48px; }
.opportunity-hub { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 0 20px; }
.product-story .opportunity-hub > img { width: 148px; height: auto; max-width: none; border-radius: 0; }
.opportunity-hub > span { font-size: 12px; color: #c1cbe5; line-height: 1.6; text-align: center; }
.opportunity-record { display: flex; align-items: center; gap: 12px; width: 100%; padding: 17px 20px; border: 1px solid #52658e; border-radius: 7px; }
.opportunity-record-icon { display: grid; place-items: center; width: 32px; height: 36px; flex-shrink: 0; color: #99cfff; }
.opportunity-record-icon svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.3; fill: none; stroke-linejoin: round; }
.opportunity-record > div { display: flex; flex-direction: column; gap: 5px; }
.opportunity-record strong { font-size: 13px; font-weight: 500; color: #fff; }
.opportunity-record > div > span { font-size: 11px; color: #c1cbe5; line-height: 1.5; }
.opportunity-sync-label { margin-left: auto; font-size: 11px; white-space: nowrap; color: #b7d9ff; }
.opportunity-sync-label > span { padding-left: 6px; font-size: 16px; }
.opportunity-outbound { height: 36px; }
.opportunity-crms { display: grid; grid-template-columns: 1fr 24px 1fr; align-items: center; width: 100%; gap: 10px; }
.opportunity-crms > div { display: flex; align-items: center; justify-content: center; gap: 12px; background: #f6f8ff; min-height: 66px; padding: 14px; border-radius: 6px; }
.product-story .opportunity-crms img { width: 34px; height: 30px; max-width: none; object-fit: contain; border-radius: 0; }
.product-story .opportunity-crms > div:first-child img { width: 44px; }
.opportunity-crms strong { font-size: 13px; font-weight: 500; color: #121b48; }
.opportunity-crms > span { color: #c1cbe5; font-size: 11px; text-align: center; }
@media(min-width:901px) and (max-height:850px) {
  .product-story .fe-panel-vis.product-capture { height: 430px; }
  .product-story :is(.readiness-map,.opportunity-route) { height: 430px; }
  .product-story .readiness-map > figcaption { margin-bottom: 24px; }
}
@media(max-width:900px) {
  .product-story .fe-panel-vis.product-capture { height: 290px; min-height: 0; padding: 0; gap: 8px; }
  .product-story .product-capture-window { height: 240px; flex-shrink: 0; }
  .product-story .product-capture-window > :is(img,video) { width: 165%; max-width: none; height: auto; min-height: 100%; object-fit: cover; object-position: top left; }
  .product-story .product-capture figcaption { gap: 0 12px; font-size: 10px; }
  .product-story .product-capture .screen-full-link { font-size: 10px; }
  .product-story :is(.readiness-map,.opportunity-route) { height: 310px; padding: 0; }
  .product-story :is(.readiness-map,.opportunity-route) > figcaption { font-size: 12px; margin-bottom: 18px; }
  .product-story .diagram-provider { gap: 6px; }
  .product-story .diagram-provider img { width: 27px; height: 24px; }
  .product-story .diagram-provider:first-child img[src*="aws"] { width: 33px; }
  .diagram-provider strong { font-size: 11px; }
  .readiness-lane { gap: 10px; }
  .readiness-lane > span { font-size: 11px; line-height: 1.55; }
  .readiness-connections { height: 34px; }
  .readiness-guidance { padding: 14px 0; gap: 18px; }
  .product-story .readiness-guidance > img { width: 108px; }
  .product-story .readiness-guidance p { font-size: 11px; line-height: 1.6; }
  .product-story .diagram-note { font-size: 10px; margin-top: 12px; }
  .opportunity-inbound { height: 30px; }
  .opportunity-hub { gap: 6px; padding-bottom: 12px; }
  .product-story .opportunity-hub > img { width: 120px; }
  .opportunity-hub > span { font-size: 10px; }
  .opportunity-record { padding: 10px; gap: 6px; }
  .opportunity-record strong { font-size: 12px; }
  .opportunity-record > div > span { font-size: 10px; }
  .opportunity-sync-label { font-size: 10px; }
  .opportunity-sync-label > span { padding-left: 2px; }
  .opportunity-outbound { height: 22px; }
  .opportunity-crms { gap: 6px; grid-template-columns: 1fr 16px 1fr; }
  .opportunity-crms > div { min-height: 46px; padding: 9px 6px; gap: 8px; }
  .product-story .opportunity-crms img { width: 25px; height: 24px; }
  .product-story .opportunity-crms > div:first-child img { width: 33px; }
  .opportunity-crms strong { font-size: 11px; }
}
@media(min-width:601px) and (max-width:900px) {
  .product-story .product-capture-window > :is(img,video) { width: 120%; }
  .product-story :is(.readiness-map,.opportunity-route) { max-width: 620px; justify-self: center; }
}
@media(max-width:380px) {
  .opportunity-sync-label { display: none; }
  .readiness-guidance { gap: 12px; }
  .product-story .readiness-guidance > img { width: 94px; }
}

/* Keep the actual full-colour assets readable on the navy section. */
.product-story .diagram-provider img { background: #fbf9f4; padding: 9px; box-sizing: content-box; border-radius: 6px; }
.product-story .diagram-automatum-mark { display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 9px 12px; border-radius: 5px; background: #fbf9f4; }
.product-story .diagram-automatum-mark img { display: block; width: 132px; max-width: none; height: auto; border-radius: 0; }
.product-story .opportunity-hub .diagram-automatum-mark > img { width: 148px; }
@media(max-width:900px) {
  .product-story .diagram-provider img { padding: 6px; }
  .product-story .diagram-automatum-mark { padding: 7px 9px; }
  .product-story .diagram-automatum-mark img { width: 100px; }
  .product-story .opportunity-hub .diagram-automatum-mark > img { width: 116px; }
}
@media(max-width:380px) { .product-story .readiness-guidance .diagram-automatum-mark img { width: 84px; } }
