/* Larger, high-contrast ICP content, with the question below the orbit on mobile. */
.lens-title > p:last-child { color: #fff; font-size: 1.0625rem; line-height: 1.55; }
.lens-copy { width: min(520px, 36vw, 67vh); height: min(520px, 36vw, 67vh); padding: 35px; overflow: visible; }
.lens-count { color: #fff; font-size: .875rem; }
.lens-copy h3 { max-width: 380px; color: #fff; font-size: clamp(28px, 2.35vw, 35px); line-height: 1.14; margin-bottom: 14px; }
.lens-question { max-width: 380px; color: #fff; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.4; margin-bottom: 16px; }
.lens-answer { max-width: 380px; color: #fff; font-size: 1.0625rem; line-height: 1.5; }
.lens-mobile h3 { color: #fff; font-size: clamp(30px, 5vw, 38px); }
.lens-mobile small { color: #fff; font-size: .875rem; }
.lens-mobile p, .lens-mobile .lens-mobile-answer { color: #fff !important; font-size: 1.125rem; line-height: 1.55; }
.signal-card { min-height: 460px; }
.card-bottom { grid-template-rows: auto auto; align-content: end; gap: 20px; margin-top: 48px; }
.card-bottom p { font-size: 1.0625rem; line-height: 1.6; }

/* Separate charcoal cards with the supplied reference's warm edge illumination. */
.analytics-section { padding-block: clamp(90px, 8vw, 130px); background: var(--cream, #f3f1ed); color: #071f2d; }
.analytics-heading-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(55px, 8vw, 130px); align-items: start; }
.analytics-heading-row h2 { max-width: 660px; margin: 0; color: #071f2d; font-size: clamp(42px, 4.6vw, 68px); line-height: 1.04; letter-spacing: -.055em; }
.analytics-summary { max-width: 620px; margin: 0 0 20px; color: #244352; font-size: clamp(21px, 1.7vw, 25px); line-height: 1.45; }
.analytics-benefit { max-width: 620px; margin: 0; color: #6f6c68; font-size: 1.0625rem; line-height: 1.65; }
.journey-platform { position: relative; margin-top: clamp(45px, 5vw, 74px); color: #071f2d; }
.journey-platform-toolbar { display: flex; min-height: 72px; align-items: center; gap: 26px; padding: 0 0 28px; }
.journey-platform-toolbar .preview-motion-control { margin-left: auto; color: #071f2d; border-color: #a8b8c1; }
.journey-platform-panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: clamp(20px, 2vw, 30px); }
.platform-pane { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #354048; border-radius: 28px; background: linear-gradient(155deg,#151b1f,#0b1115 78%,#0c202a); color: #fff; box-shadow: 0 24px 48px -24px rgba(3,19,28,.36), inset 0 1px 0 rgba(255,255,255,.09); }
.platform-pane > * { position: relative; z-index: 1; }
.platform-evidence-pane { background: #0d1317; }
.platform-evidence-pane::before { content: ""; position: absolute; z-index: 0; inset: 0; background: radial-gradient(ellipse at 109% 4%,rgba(240,185,132,.46),transparent 49%), radial-gradient(ellipse at 107% 57%,rgba(156,83,32,.18),transparent 64%), linear-gradient(160deg,transparent 70%,#0c3348); pointer-events: none; animation-play-state: inherit; }
[data-started="true"] .platform-evidence-pane::before { animation: platform-illumination 7.4s ease-in-out infinite; animation-play-state: inherit; }
.platform-question-pane { background: radial-gradient(ellipse at 100% 0,rgba(232,163,101,.1),transparent 55%),linear-gradient(155deg,#151b1f,#0b1115 78%,#0c202a); }
.platform-pane-head { display: flex; min-height: 72px; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-bottom: 1px solid rgba(228,232,234,.12); color: #f7f5f2; font-size: 1.0625rem; line-height: 1.4; }
.platform-pane-head > svg { width: 23px; height: 23px; fill: none; stroke: #d4dde3; stroke-width: 1.4; }
.platform-pane-dot { width: 7px; height: 7px; border-radius: 50%; background: #e8a365; box-shadow: 0 0 14px rgba(232,163,101,.35); }
.journey-map-canvas { position: relative; width: calc(100% - 40px); max-width: 360px; flex: 0 0 auto; aspect-ratio: 360 / 410; margin: auto; }
.journey-map-links > g:first-child { stroke: #52616a; stroke-opacity: .8; }
.journey-map-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.journey-map-node { position: absolute; top: var(--node-y); left: var(--node-x); display: flex; width: 90px; min-height: 100px; flex-direction: column; align-items: center; gap: 11px; padding: 0; border: 0; background: transparent; color: #b9c3c9; text-align: center; font: inherit; font-size: .875rem; line-height: 1.35; transform: translate(-50%, -28px); }
button.journey-map-node { cursor: pointer; }
.journey-map-node > span:last-child { max-width: 90px; padding: 2px 4px; border-radius: 5px; background: #11181d; box-shadow: 0 0 0 3px #11181d; }
.journey-node-icon { display: grid; width: 56px; height: 56px; flex: 0 0 56px; place-items: center; border: 1px solid #48545b; border-radius: 50%; background: #131a1f; color: #d4dde3; transition: background .45s, color .45s, border-color .45s; }
.journey-node-icon > svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.journey-map-node.is-active { color: #fff; }
.journey-map-node.is-active .journey-node-icon { border-color: #f0b984; background: #e8a365; color: #071f2d; box-shadow: 0 0 26px rgba(232,163,101,.13); }
button.journey-map-node:hover .journey-node-icon { border-color: #e8a365; }
button.journey-map-node:focus-visible { outline: 2px solid #f3d2b3; outline-offset: 5px; border-radius: 8px; }
.journey-map-progress > path { opacity: .1; }
[data-journey-index="0"] .journey-map-progress [data-path="0"], [data-journey-index="1"] .journey-map-progress [data-path="1"], [data-journey-index="2"] .journey-map-progress [data-path="2"] { opacity: 1; }
[data-started="true"][data-journey-index="0"] .journey-map-progress [data-path="0"], [data-started="true"][data-journey-index="1"] .journey-map-progress [data-path="1"], [data-started="true"][data-journey-index="2"] .journey-map-progress [data-path="2"] { stroke-dasharray: 1; animation: platform-trace 1.8s var(--ease) both; }
.journey-map-hint { margin: 0; padding: 24px 26px 28px; color: #b9c3c9; font-size: .875rem; line-height: 1.5; }
.platform-evidence-content { display: flex; flex: 1; flex-direction: column; padding: 24px 26px 28px; }
.platform-stage-kicker { margin: 0 0 8px; color: #f0b984; font-size: .8125rem; line-height: 1.5; }
/* Reuse the title's second-line space and the original detail area; keep the cards steady. */
.platform-stage-heading { position: relative; min-height: calc(1.15 * clamp(25px, 2.1vw, 30px) + 45.5px); padding-bottom: 18px; }
.platform-evidence-content h3 { margin: 0; color: #fff; font-size: clamp(25px, 2.1vw, 30px); line-height: 1.15; letter-spacing: -.04em; }
.platform-example { margin: 8px 0 0; color: #bcc6cc; font-size: .8125rem; line-height: 1.5; }
.platform-evidence-total { padding-bottom: calc(20px - max(0px, 34.5px - 1.15 * clamp(25px, 2.1vw, 30px))); }
.platform-evidence-total > span { display: block; margin-bottom: 8px; color: #c3cbd0; font-size: .875rem; line-height: 1.4; }
.platform-evidence-total > strong { display: block; color: #fff; font-size: clamp(50px, 4.3vw, 64px); font-weight: 400; line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.platform-evidence-detail { min-height: 318.6px; }
.platform-evidence-metrics { display: flex; flex-direction: column; }
.platform-evidence-metrics > .is-empty { height: 0; min-height: 0; padding: 0; border: 0; visibility: hidden; }
.platform-evidence-metrics > div { display: flex; min-width: 0; height: 60px; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid rgba(228,232,234,.15); }
.platform-evidence-metrics span { max-width: 56%; color: #bcc6cc; font-size: .875rem; line-height: 1.4; }
.platform-evidence-metrics strong { display: block; flex: 0 0 auto; color: #fff; font-size: clamp(22px, 1.9vw, 28px); font-weight: 400; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.platform-evidence-metrics strong small { display: inline-block; margin-left: 4px; color: #bcc6cc; font-size: .8125rem; letter-spacing: 0; line-height: 1.4; }
.platform-evidence-content h4 { margin: 18px 0 7px; color: #bcc6cc; font-size: .875rem; line-height: 1.4; font-weight: 400; }
.platform-evidence-themes { display: grid; align-content: start; gap: 4px; margin: 0; padding: 0; list-style: none; }
.platform-evidence-themes li { display: flex; min-width: 0; align-items: baseline; justify-content: space-between; gap: 12px; color: #f5f3f0; font-size: .9375rem; line-height: 1.5; }
.platform-evidence-themes li > span { min-width: 0; }
.platform-evidence-themes li > strong { flex: 0 0 auto; color: #f0b984; font-size: inherit; font-weight: 400; font-variant-numeric: tabular-nums; }
.platform-next-stage { position: relative; margin-top: 22px; padding: 18px 28px 0 0; border-top: 1px solid rgba(228,232,234,.15); }
.platform-next-stage > span { display: block; margin-bottom: 7px; color: #bcc6cc; font-size: .8125rem; line-height: 1.4; }
.platform-next-stage > strong { color: #fff; font-size: .9375rem; font-weight: 400; line-height: 1.4; }
.platform-next-stage > svg { position: absolute; top: 50%; right: 0; width: 20px; height: 20px; fill: none; stroke: #e8a365; stroke-width: 1.5; transform: translateY(-50%); }
.platform-question-content { display: flex; flex: 1; flex-direction: column; align-items: stretch; padding: 28px 26px; }
.platform-question { max-width: 100%; margin: 0 0 28px; padding: 18px; border: 1px solid #655346; border-radius: 16px 16px 4px 16px; background: rgba(232,163,101,.055); color: #f3d2b3; font-size: 1.0625rem; line-height: 1.5; }
.platform-response { padding: 2px 0 0; }
.platform-response > p:first-child { margin: 0 0 32px; color: #d4dde3; font-size: 1rem; line-height: 1.7; }
.platform-response strong { color: #fff; font-weight: 500; }
.platform-response-measure { display: flex; justify-content: space-between; gap: 14px; align-items: end; color: #bcc6cc; font-size: .875rem; line-height: 1.5; }
.platform-response-measure > strong { flex: 0 0 auto; color: #f0b984; font-size: 1.125rem; font-weight: 400; }
.platform-response-bar { height: 4px; margin-top: 16px; overflow: hidden; border-radius: 99px; background: #313b41; }
.platform-response-bar > i { display: block; width: var(--response-width); height: 100%; border-radius: inherit; background: linear-gradient(90deg,#b77440,#f0b984); transition: width 1s var(--ease); }
.platform-response .platform-response-source { margin: 24px 0 0; color: #b9c3c9; font-size: .8125rem; line-height: 1.5; }
.platform-question-note { margin: auto 0 0; padding-top: 30px; color: #b9c3c9; font-size: .875rem; line-height: 1.5; }
.platform-team-eyebrow { display: block; margin-bottom: 8px; color: #bcc6cc; font-size: .8125rem; }
.platform-team-label { display: block; margin-bottom: 4px; color: #f0b984; }
.platform-question-note > p { margin: 0; }
.journey-platform-caption { margin: 24px 0 0; color: #526e7d; font-size: .875rem; line-height: 1.5; }
@keyframes platform-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes platform-illumination { 0%,100% { opacity: .78; } 50% { opacity: 1; } }
@media (max-width: 1160px) {
  .analytics-heading-row { gap: 44px; }
  .journey-platform-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-map-pane { grid-column: 1 / -1; }
  .platform-evidence-pane { translate: none; }
  .journey-map-canvas { display: grid; width: auto; max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; aspect-ratio: auto; margin: 18px 24px 0; }
  .journey-map-links, .journey-map-canvas > div.journey-map-node { display: none; }
  button.journey-map-node { position: relative; top: auto; left: auto; width: 100%; min-height: 100px; gap: 10px; padding: 12px 8px; border-bottom: 2px solid transparent; border-radius: 8px 8px 0 0; transform: none; }
  button.journey-map-node > span:last-child { max-width: none; padding: 0; background: transparent; box-shadow: none; }
  button.journey-map-node.is-active { border-bottom-color: #e8a365; background: rgba(232,163,101,.065); }
  .journey-node-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .journey-node-icon > svg { width: 19px; height: 19px; }
  .journey-map-hint { padding: 18px 24px 22px; }
  .platform-evidence-content h3 { font-size: 30px; }
  .platform-stage-heading { min-height: 80px; }
  .platform-evidence-total { padding-bottom: 20px; }
}
@media (min-width: 721px) and (max-width: 760px) { .platform-evidence-content { padding-inline: 18px; } }
@media (max-width: 820px) {
  .signal-card { min-height: 450px; }
  .card-bottom { margin-top: 38px; }
  .card-bottom p { font-size: 1.0625rem; }
  .lens-title > p:last-child { font-size: 1.125rem; }
  .lens-visual { gap: 20px; padding-block: 16px 24px; }
  .lens-copy { width: calc(var(--mobile-orbit-size) - 70px); height: calc(var(--mobile-orbit-size) - 70px); padding: 18px; }
  .lens-count { font-size: .875rem; margin-bottom: 12px; }
  .lens-copy h3 { margin-bottom: 0; font-size: clamp(23px, 6.2vw, 28px); line-height: 1.15; }
  .lens-copy .lens-question, .lens-copy .lens-answer { display: none; }
  .lens-mobile-question { display: block; color: #fff; font-size: 1.25rem; line-height: 1.35; }
  .lens-mobile-detail { color: #fff; font-size: 1.125rem; line-height: 1.5; }
  .analytics-section { padding-block: 88px; }
  .analytics-heading-row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .analytics-heading-row h2 { font-size: clamp(38px, 9vw, 56px); }
  .analytics-summary { font-size: 1.25rem; }
  .analytics-benefit { font-size: 1.0625rem; }
}
@media (max-width: 720px) {
  .journey-platform { margin-top: 40px; }
  .journey-platform-toolbar { min-height: 68px; padding: 0 0 24px; gap: 16px; }
  .journey-platform-panels { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .platform-pane { border-radius: 20px; }
  .platform-pane-head { min-height: 62px; padding: 19px 18px; }
  .journey-map-canvas { gap: 6px; margin: 16px 16px 0; }
  button.journey-map-node { min-height: 110px; padding: 12px 5px; font-size: .875rem; }
  .journey-map-hint { padding: 18px; font-size: .875rem; }
  .platform-evidence-content { padding: 24px 20px; }
  .platform-evidence-content h3 { font-size: 30px; }
  .platform-evidence-metrics { column-gap: 16px; }
  .platform-evidence-metrics > div { height: 76px; padding: 16px 0; }
  .platform-evidence-metrics span { font-size: .9375rem; }
  .platform-evidence-metrics strong { font-size: 26px; }
  .platform-evidence-content h4, .platform-evidence-themes li { font-size: 1rem; }
  .platform-evidence-detail { min-height: 369.4px; }
  .platform-question-content { padding: 23px 20px; }
  .platform-question { max-width: 100%; min-height: calc(3em + 34px); padding: 16px; font-size: 1rem; }
  .platform-response { padding: 0; }
  .platform-response > p:first-child { min-height: 6.8em; font-size: 1rem; }
  .platform-response-measure, .platform-response .platform-response-source { font-size: .875rem; }
  .platform-question-note { font-size: .875rem; }
  .journey-platform-caption { font-size: .875rem; }
}
@media (max-width: 480px) {
  .platform-evidence-detail { min-height: 395.4px; }
  .platform-question { min-height: calc(4.5em + 34px); }
  .platform-response > p:first-child { min-height: 10.2em; }
}
@media (max-width: 380px) {
  .platform-stage-heading { min-height: 114.5px; }
  .platform-evidence-detail { min-height: 376.9px; }
  .platform-evidence-total > span { margin-bottom: 4px; }
  .platform-next-stage { margin-top: 14px; padding-top: 14px; }
}
@media (max-width: 820px) and (max-height: 700px) {
  .lens-visual { gap: 14px; padding-block: 14px 20px; }
  .lens-mobile-question { font-size: 1.125rem; }
  .lens-mobile-detail { font-size: 1.0625rem; }
  .lens-copy h3 { font-size: 1.5rem; }
}
/* Mirrors the lensMotion() floor in main.js. This used to read 779px, which is
   taller than the viewport mobile Safari reports on almost every handset, so
   this file hid the orbit again after main.css had enabled it. */
@media (max-width: 359px), (max-width: 820px) and (max-height: 559px) {
  .lens-section { height: auto; padding-block: 88px; }
  .lens-stage { height: auto; min-height: 0; padding-top: 0; }
  .lens-visual { display: none; }
  .lens-mobile { display: grid; margin-top: 45px; }
}
/* Match the rail's CSS layout to the JS condition that disables its scroll motion. */
@media (max-width: 1100px), (max-height: 880px) {
  .rail-section { height: auto; padding-block: 88px; }
  .rail-stage { position: relative; min-height: 0; padding: 0; overflow: visible; }
  .rail-track { width: auto; overflow-x: auto; transform: none !important; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding-bottom: 18px; }
  .signal-card { scroll-snap-align: start; }
  .rail-progress { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .journey-map-progress > path { animation: none !important; stroke-dasharray: none !important; }
  .journey-node-icon, .platform-response-bar > i { transition: none; }
  .platform-evidence-pane::before, .journey-map-node.is-active .journey-node-icon::after { animation: none !important; }
}
/* Shorthand animation declarations cannot bypass either preview's pause state. */
[data-animated-visual][data-running="false"] * { animation-play-state: paused !important; }
[data-animated-visual][data-running="true"] * { animation-play-state: running !important; }
/* A selected stage remains fully drawn when a visitor holds the preview. */
[data-journey-demo][data-manual-selection="true"] .journey-map-progress > path { animation: none !important; stroke-dasharray: none !important; }
