/* A connected cloud sales journey. Diagrams explain the process; product captures
   remain authentic evidence and retain their original proportions. */
.hero-opening { grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); }
.hero h1 { font-size: clamp(48px,4.8vw,68px); }
.hero p.lede { max-width: 39ch; }
.hero .ctas { flex-wrap: nowrap; }
.hero .btn { white-space: nowrap; }
.journey-map { margin-top: 40px; padding: 28px 32px 0; background: var(--home-navy); color: #fff; border-radius: 10px; text-align: left; }
.journey-map-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.journey-map-heading > p { color: rgba(255,255,255,.85); margin: 0; font: 400 14px/1.5 var(--font-body); }
.journey-clouds,.program-path-clouds { display: flex; align-items: center; gap: 24px; }
.journey-clouds > span,.program-path-clouds > span { display: inline-flex; align-items: center; gap: 7px; font: 400 12px/1.5 var(--font-body); color: #fff; white-space: nowrap; }
.journey-clouds img,.program-path-clouds img { display: block; flex-shrink: 0; object-fit: contain; }
.journey-map-stages { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); list-style: none; padding: 0; margin: 36px 0 24px; gap: 0; }
.journey-map-stages > li { min-width: 0; position: relative; }
.journey-map-stages > li::before { content: ''; position: absolute; top: 21px; left: 24px; right: 0; height: 1px; background: rgba(109,203,255,.4); }
.journey-map-stages > li:last-child::before { display: none; }
.journey-map-stages button { display: flex; flex-direction: column; align-items: flex-start; position: relative; width: 100%; height: 100%; padding: 0 24px 20px 0; margin: 0; border: 0; border-radius: 0; background: transparent; color: #fff; text-align: left; cursor: pointer; font-family: var(--font-body); }
.journey-map-stages button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 8px; }
.journey-map-number { display: grid; place-items: center; position: relative; background: var(--home-navy); width: 44px; height: 44px; margin-bottom: 24px; border: 1px solid rgba(109,203,255,.55); border-radius: 50%; color: var(--cyan); font: 500 12px/1 var(--font-mono,monospace); transition: background-color 180ms ease,color 180ms ease; }
.journey-map-stages strong { font-size: clamp(18px,1.7vw,23px); font-weight: 500; line-height: 1.25; letter-spacing: -.025em; margin-bottom: 12px; }
.journey-map-stages button > span:not(.journey-map-number):not(.journey-map-link) { color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.6; max-width: 25ch; }
.journey-map-stages .journey-map-link { display: flex; align-items: center; gap: 8px; padding-top: 22px; margin-top: auto; color: var(--cyan); font-size: 12px; line-height: 1.5; }
.journey-map-stages .journey-map-link > span { transition: transform 180ms ease; }
@media (hover:hover) {
  .journey-map-stages button:hover .journey-map-number { background: var(--cyan); color: var(--home-navy); }
  .journey-map-stages button:hover .journey-map-link > span { transform: translate(2px,-2px); }
}
.journey-map-foot { display: flex; align-items: center; gap: 24px; border-top: 1px solid rgba(255,255,255,.18); padding-block: 20px; }
.journey-map-foot > img { width: 116px; height: 28px; object-fit: contain; object-position: left center; }
.journey-map-foot > p { margin: 0; color: rgba(255,255,255,.8); font-size: 12px; line-height: 1.5; }
.journey-map-foot > a { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; font-size: 13px; white-space: nowrap; }
.journey-map-foot > a:focus-visible { outline-color: var(--cyan); }
#marketplace-journey { scroll-margin-top: 72px; }
.product-story .product-story-head h2 { max-width: 900px; }
.journey-lede { max-width: 60ch; font: 400 17px/1.65 var(--font-body); color: var(--home-on-dark); margin: 24px 0 0; }
.product-story .fe-tab { flex: 1; justify-content: flex-start; padding-inline: 20px; }
.product-story .fe-tab:first-child { padding-left: 0; }
.product-story .fe-panel-text { grid-template-columns: 1fr 1.15fr; gap: 24px 64px; }
.product-story .fe-panel-text h3 { grid-column: 1; grid-row: 1; }
.product-story .fe-panel-text > p:not(.journey-result) { grid-column: 2; grid-row: 1; margin: 0; }
.product-story .feature-details { grid-column: 2; grid-row: 2; }
.product-story .fe-panel-text > .journey-result { grid-column: 1; grid-row: 2; font-size: 14px; line-height: 1.65; margin: 0; padding-left: 16px; border-left: 1px solid rgba(109,203,255,.5); color: var(--home-on-dark); }
.journey-result > span { display: block; color: var(--cyan); font-size: 12px; margin-bottom: 6px; }
.product-story .program-path { min-height: 0; margin: 0; background: #f0f2fa; border-radius: 8px; padding: 32px; color: var(--ink); }
.program-path > figcaption { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.program-path > figcaption > span { color: var(--ink-soft); }
.program-path-clouds { margin-top: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line-2); }
.program-path-clouds > span { color: var(--ink); font-size: 14px; }
.program-path-clouds > span:first-child img { filter: brightness(.2); }
.program-path ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; margin: 32px 0; padding: 0; gap: 32px; }
.program-path li > span { color: var(--blue); font: 500 12px/1.5 var(--font-mono,monospace); }
.program-path h4 { font: 500 22px/1.3 var(--font-body); color: var(--ink); margin: 14px 0 12px; letter-spacing: -.025em; }
.program-path li > p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; margin: 0; }
.program-path .program-boundary { color: var(--ink-soft); font-size: 13px; line-height: 1.65; border-top: 1px solid var(--line-2); padding-top: 24px; margin: 0; max-width: 90ch; }
.journey-transactions { display: flex; gap: 32px; justify-content: space-between; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--home-rule-dark); margin-top: 32px; }
.journey-transactions h3 { color: #fff; font: 500 18px/1.4 var(--font-body); margin: 0 0 8px; }
.journey-transactions p { color: var(--home-on-dark); font-size: 14px; line-height: 1.6; margin: 0; max-width: 65ch; }
.journey-transactions > a { color: var(--cyan); font-size: 14px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.product-story .product-story-cta { margin-top: 32px; }
@media (max-width:1100px) {
  .hero-opening { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(48px,6.5vw,68px); }
  .journey-map-stages strong { font-size: 19px; }
  .journey-map { padding-inline: 24px; }
  .journey-map-stages button { padding-right: 20px; }
  .journey-map-foot > p { max-width: 30ch; }
}
@media (max-width:800px) {
  .journey-map-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .journey-map-stages { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 0; }
  .journey-map-stages > li:nth-child(2)::before { display: none; }
  .journey-map-foot { flex-wrap: wrap; gap: 12px 20px; }
  .journey-map-foot > p { flex: 1; max-width: none; }
  .journey-map-foot > a { margin-left: 0; }
  .product-story .fe-panel-text { column-gap: 32px; }
  .program-path > figcaption { flex-direction: column; gap: 4px; }
}
@media (max-width:600px) {
  .hero h1 { font-size: clamp(36px,10.5vw,54px); }
  .hero .ctas { flex-wrap: wrap; }
  .hero .btn { padding-inline: 14px; font-size: 13px; }
  .journey-map { margin-top: 28px; padding: 24px 20px 0; }
  .journey-map-heading > p { font-size: 13px; }
  .journey-clouds { gap: 16px; }
  .journey-clouds > span { font-size: 11px; gap: 5px; }
  .journey-clouds img { width: 22px; height: 20px; }
  .journey-map-stages { display: block; margin: 28px 0 0; }
  .journey-map-stages > li::before,.journey-map-stages > li:nth-child(2)::before { display: block; left: 18px; right: auto; top: 20px; bottom: 0; height: auto; width: 1px; }
  .journey-map-stages > li:last-child::before { display: none; }
  .journey-map-stages button { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 6px 16px; padding: 0 0 28px; }
  .journey-map-number { grid-column: 1; grid-row: 1 / 4; width: 38px; height: 38px; margin: 0; font-size: 11px; }
  .journey-map-stages strong { grid-column: 2; margin: 2px 0 0; font-size: 20px; }
  .journey-map-stages button > span:not(.journey-map-number) { grid-column: 2; }
  .journey-map-stages button > span:not(.journey-map-number):not(.journey-map-link) { max-width: none; font-size: 13px; }
  .journey-map-stages .journey-map-link { padding-top: 4px; font-size: 12px; }
  .journey-map-foot { padding-block: 20px; gap: 12px; }
  .journey-map-foot > img { width: 100px; }
  .journey-map-foot > p { font-size: 12px; min-width: 140px; }
  .journey-map-foot > a { width: 100%; }
  .product-story .product-story-head h2 { font-size: 34px; }
  .journey-lede { font-size: 16px; }
  .product-story .fe-tab { padding-inline: 8px; justify-content: center; font-size: 13px; }
  .product-story .fe-tab:first-child { padding-left: 8px; }
  .product-story .fe-panel-text { grid-template-columns: 1fr; gap: 20px; }
  .product-story .fe-panel-text h3 { grid-column: 1; grid-row: 1; }
  .product-story .fe-panel-text > p:not(.journey-result) { grid-column: 1; grid-row: 2; }
  .product-story .fe-panel-text > .journey-result { grid-column: 1; grid-row: 3; }
  .product-story .feature-details { grid-column: 1; grid-row: 4; }
  .product-story .program-path { padding: 24px 20px; }
  .program-path-clouds { flex-wrap: wrap; gap: 16px; margin-top: 24px; }
  .program-path-clouds > span { font-size: 12px; }
  .program-path ol { grid-template-columns: 1fr; gap: 28px; margin-block: 28px; }
  .program-path h4 { margin-top: 8px; font-size: 20px; }
  .journey-transactions { display: block; }
  .journey-transactions > a { margin-top: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  .journey-map-number,.journey-map-link > span { transition: none; }
}
/* Reset the shared screenshot flex layout for this semantic process diagram. */
.product-story .program-path { display: block; }
.product-story .program-path-clouds img { width: 24px; height: 24px; max-width: 24px; max-height: 24px; filter: none; }
.crm-handoff { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 20px; width: 100%; padding: 12px 0 28px; border-bottom: 1px solid var(--line-2); }
.crm-handoff > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.crm-handoff strong { color: var(--ink); font: 500 18px/1.4 var(--font-body); letter-spacing: -.02em; }
.crm-handoff > div > span { color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.product-story .crm-handoff img { width: 128px; height: 28px; max-width: 100%; max-height: none; object-fit: contain; object-position: left center; border-radius: 0; }
.crm-handoff-arrow { color: var(--blue); font-size: 24px; }
@media (max-width:600px) {
  .crm-handoff { grid-template-columns: 1fr; gap: 12px; padding-bottom: 24px; }
  .crm-handoff > div { gap: 4px; }
  .crm-handoff-arrow { transform: rotate(90deg); transform-origin: center; width: 24px; font-size: 20px; line-height: 24px; }
}
.product-story .real-product-view figcaption { text-align: left; align-items: center; }
.screen-full-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-size: 12px; text-underline-offset: 4px; }
.screen-full-link:hover { text-decoration: underline; }
.product-story .screen-full-link:focus-visible { outline-color: var(--blue); }

/* Purpose-built spatial illustration: cloud signals become an organised pipeline. */
.cloud-flow-art { margin: 20px 0 0; width: 100%; }
.cloud-flow-canvas { display: block; width: 100%; height: 300px; }
.cloud-flow-art figcaption { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 0 18px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.75); font: 400 12px/1.6 var(--font-body); }
.journey-map-stages { margin-top: 24px; }
.journey-map-number { width: 32px; height: 32px; margin-bottom: 18px; font-size: 10px; }
.journey-map-stages > li::before { top: 16px; }
.journey-map-stages strong { font-size: 20px; }
@media (max-width:600px) {
  .cloud-flow-canvas { height: 350px; }
  .cloud-flow-art { margin-top: 10px; }
  .cloud-flow-art figcaption { align-items: flex-start; gap: 12px; font-size: 11px; }
  .journey-map-stages button { padding-bottom: 24px; }
  .journey-map-number { width: 32px; height: 32px; margin: 0; }
  .journey-map-stages > li::before,.journey-map-stages > li:nth-child(2)::before { left: 15px; }
}
/* The source logos are part of the artwork itself. */
.journey-map-heading .journey-clouds { display: none; }
@media (max-width:600px) {
  .cloud-flow-art figcaption { flex-direction: column; gap: 6px; }
}

/* The artwork tells the story; the rail provides concise navigation. */
.journey-map-stages { margin: 0; padding-block: 22px; }
.journey-map-stages button { flex-direction: row; align-items: center; gap: 12px; padding: 0 16px 0 0; min-height: 48px; }
.journey-map-stages strong { margin: 0; font-size: 16px; }
.journey-map-number { margin: 0; flex-shrink: 0; }
.journey-map-stages > li::before { display: none; }
.cloud-flow-art figcaption { padding-block: 8px 16px; }
.product-story .feature-details { grid-row: 2; }
@media (max-width:800px) {
  .journey-map-stages { gap: 12px 0; }
}
@media (max-width:600px) {
  .journey-map-stages { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .journey-map-stages > li::before,.journey-map-stages > li:nth-child(2)::before { display: none; }
  .journey-map-stages button { display: flex; flex-direction: row; gap: 8px; padding: 0; }
  .journey-map-stages strong { font-size: 13px; line-height: 1.4; }
  .journey-map-number { width: 28px; height: 28px; }
  .product-story .feature-details { grid-row: 3; }
}
.product-story .product-recording > video { display: block; width: 100%; max-width: 100%; height: auto; max-height: 640px; object-fit: contain; border-radius: 5px; background: #fff; }
.product-recording video:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.product-recording figcaption > span:first-child { color: var(--ink-soft); }

/* One restrained motion language across the product journey. */
@media (prefers-reduced-motion: no-preference) {
  .journey-motion-active .fe-panel-vis { animation: journey-reveal 480ms cubic-bezier(.23,1,.32,1) both; }
  .journey-motion-active .real-product-view > img { animation: journey-screen-settle 1400ms cubic-bezier(.23,1,.32,1) both; }
  .journey-motion-active .program-path li,
  .journey-motion-active .crm-handoff > div { animation: journey-reveal 500ms cubic-bezier(.23,1,.32,1) both; }
  .journey-motion-active .program-path li:nth-child(2),
  .journey-motion-active .crm-handoff > div:nth-of-type(2) { animation-delay: 100ms; }
  .journey-motion-active .program-path li:nth-child(3),
  .journey-motion-active .crm-handoff > div:nth-of-type(3) { animation-delay: 200ms; }
}
@keyframes journey-reveal { from { opacity: .35; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes journey-screen-settle { from { opacity: .7; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
