/* A request becomes coordinated work. Keep the outcome in the foreground. */
.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 5%; }
.hero-copy { min-width: 0; }
.workflow-showcase { position: relative; isolation: isolate; min-width: 0; width: 100%; max-width: 580px; justify-self: end; margin: 0 0 32px; }
.workflow-showcase::before { content: ""; pointer-events: none; position: absolute; inset: 18% -10% 10%; z-index: -1; background: radial-gradient(ellipse, #7294c51c, transparent 67%); }
.workflow-showcase::after { content: ""; pointer-events: none; position: absolute; width: 180px; height: 180px; right: -68px; top: 74px; z-index: -1; border: 1px solid #9ebbe222; border-radius: 50%; box-shadow: 0 0 0 28px #7c9aca07, 0 0 72px #769ddc1c; animation: request-pulse 4.8s ease-in-out infinite; }
.workflow-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.workflow-kicker { margin: 0 0 11px; color: #aebfda; font-size: .75rem; font-weight: 600; letter-spacing: .16em; }
.story-toggle { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; min-height: 40px; margin-top: 2px; padding: 9px 12px; color: #dce8fa; border: 1px solid #a9c6ec50; border-radius: 999px; background: #25344a99; box-shadow: 0 8px 30px #0005; font-size: .75rem; font-weight: 600; letter-spacing: .02em; transition: transform .2s, border-color .2s, background .2s; }
.story-toggle:hover { transform: translateY(-2px); border-color: #c6ddff; background: #334762; }
.story-toggle-icon { display: grid; place-items: center; width: 16px; height: 16px; color: #bcd8ff; font-size: .65rem; line-height: 1; }
.workflow-heading { margin: 0 0 22px; max-width: 440px; font-size: clamp(24px, 2.1vw, 32px); line-height: 1.18; font-weight: 450; letter-spacing: -.035em; text-wrap: balance; }
.workflow-tabs { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 4px; border: 1px solid #b9cce824; border-radius: 13px; padding: 5px; margin-bottom: 22px; background: #0d1118b3; }
.workflow-tabs[hidden], .journey-buttons[hidden] { display: none; }
.workflow-tabs button { border: 1px solid transparent; border-radius: 9px; background: transparent; color: #aeb8c7; font-size: .875rem; line-height: 1.4; min-height: 44px; padding: 9px 7px; transition: background .2s, color .2s, border-color .2s; }
.workflow-tabs button:hover { color: #f5f5f7; background: #b9cce809; }
.workflow-tabs button[aria-selected="true"] { color: #f1f4fa; background: linear-gradient(130deg, #283240, #1a222e); border-color: #b9cce845; box-shadow: 0 2px 7px #0003; }
.workflow-showcase :focus-visible { outline: 2px solid #b9d1fc; outline-offset: 4px; }
.journey { list-style: none; padding: 0; margin: 0; }
.journey > li { position: relative; padding: 0; margin: 0; }
.journey-card { position: relative; padding: 19px 22px; border: 1px solid #a4bbdb33; border-radius: 17px; background: linear-gradient(120deg, #242c37e8, #141920f5 75%); box-shadow: 0 12px 36px #0003; }
.is-playing .journey-card { overflow: hidden; }
.is-playing .journey-card::before { content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, #d4e5ff2b 50%, transparent 65%); transform: translateX(-115%); animation: story-sweep 3.26s ease-in-out infinite; }
.is-playing .journey-action-card::before { animation-delay: 1.08s; }
.is-playing .journey-outcome-card::before { animation-delay: 2.16s; }
.journey-request-card { margin-right: 34px; }
.journey-request-card::after { content: ""; position: absolute; top: 18px; right: 19px; width: 8px; height: 8px; border-radius: 50%; background: #b8d3fb; box-shadow: 0 0 0 6px #b8d3fb12, 0 0 18px #b8d3fb88; animation: request-signal 2.5s ease-in-out infinite; }
.journey-card .journey-step-label { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.journey-step-label > span:first-child { font-size: .875rem; line-height: 1.4; color: #b8c5d9; }
.journey-number { color: #8b9ab1; font-size: .75rem; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.journey-request-card blockquote { font-size: 1.0625rem; line-height: 1.45; letter-spacing: -.015em; margin: 0; font-weight: 450; }
.journey-connector { height: 22px; width: 1px; margin-left: 37px; position: relative; overflow: hidden; background: #a4bbdb2c; }
.journey-connector-light { display: block; position: absolute; inset: 0; opacity: 0; background: linear-gradient(transparent, #bdd4f5 55%, transparent); }
.journey-action-card { margin-left: 18px; border-color: #b5c9e13b; background: linear-gradient(130deg, #1e2835f0, #141a23f5 75%); }
.journey-agent-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.journey-agent-heading img { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.journey-agent-heading strong { font-size: 1rem; font-weight: 550; line-height: 1.2; }
.journey-agent-heading .journey-number { margin-left: auto; }
.journey-agent-description { display: block; font-size: .875rem; color: #aabbd2; line-height: 1.4; margin-top: 3px; }
.journey-action { margin: 0; color: #d6dfec; font-size: 1rem; line-height: 1.5; }
.journey-decision { display: flex; align-items: flex-start; gap: 10px; margin-top: 15px; padding-top: 13px; border-top: 1px solid #b9cce823; }
.journey-decision > .icon { color: #a6bfdf; width: 17px; height: 17px; margin-top: 2px; }
.journey-decision span { display: block; color: #acbbd0; font-size: .875rem; line-height: 1.35; margin-bottom: 5px; }
.journey-decision blockquote { margin: 0; color: #e0e8f4; font-size: 1rem; line-height: 1.4; }
.journey-outcome-card { padding: 21px 22px 22px; background: linear-gradient(130deg, #263448f2, #17202bf5 70%); border-color: #b9cce855; box-shadow: 0 12px 40px #0003, 0 0 40px #a7c7f008; }
.journey-outcome-card .journey-step-label > span:first-child { display: flex; align-items: center; gap: 8px; color: #bacddf; }
.journey-outcome-card .icon { width: 17px; height: 17px; color: #b4d0c1; }
.journey-outcome-card h3 { font-size: clamp(22px, 1.85vw, 27px); font-weight: 500; line-height: 1.18; letter-spacing: -.035em; margin: 13px 0 11px; text-wrap: balance; }
.journey-outcome-card > p { font-size: 1rem; color: #bac8dc; line-height: 1.5; margin: 0; }
.journey-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 19px 0 14px; }
.journey-caption { min-width: 0; }
.journey-caption strong { display: block; font-size: .875rem; line-height: 1.4; font-weight: 450; color: #d0d9e7; }
.journey-caption > span { display: block; font-size: .75rem; line-height: 1.5; color: #a0aabb; margin-top: 4px; }
.journey-caption b { font-weight: 400; font-variant-numeric: tabular-nums; margin-left: 9px; }
.journey-buttons { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.journey-buttons button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; min-width: 44px; padding: 10px; border: 1px solid #91a6c340; border-radius: 10px; background: #111821a6; color: #c4d0e1; font-size: .875rem; }
.journey-buttons button:hover { color: #edf4ff; background: #a7c7f012; border-color: #a7c7f066; }
.journey-buttons .icon { width: 16px; height: 16px; }
.journey-buttons button > span:not([hidden]) { display: inline-flex; }
.journey-buttons [hidden] { display: none !important; }
.journey-note { font-size: .75rem; line-height: 1.55; color: #9aa8bc; margin: 0; padding-top: 12px; border-top: 1px solid #b9cce81e; }
.workflow-showcase [role="tabpanel"] { scroll-margin-top: 100px; }
@keyframes request-pulse { 0%,100% { transform: scale(.94); opacity: .38; } 50% { transform: scale(1.08); opacity: .8; } }
@keyframes request-signal { 0%,100% { transform: scale(.85); opacity: .68; } 50% { transform: scale(1.2); opacity: 1; } }
@keyframes story-sweep { 0%,18% { transform: translateX(-115%); opacity: 0; } 25%,53% { opacity: 1; } 62%,100% { transform: translateX(115%); opacity: 0; } }
@media (max-width: 1100px) {
  .hero { column-gap: 4%; }
  .hero-copy .desktop { display: none; }
  .journey-card { padding: 17px 18px; }
  .journey-controls { flex-wrap: wrap; }
  .journey-buttons { margin-left: auto; }
}
@media (max-width: 1000px) and (min-width: 761px) {
  .hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); column-gap: 4%; }
  .hero h1 { font-size: clamp(52px, 7vw, 72px); }
  .hero-actions { flex-wrap: wrap; }
  .journey-request-card { margin-right: 14px; }
  .journey-action-card { margin-left: 8px; }
}
@media (max-width: 760px) {
  .workflow-topline { display: block; }
  .story-toggle { margin: 0 0 18px; }
  .workflow-showcase { max-width: 520px; margin: 48px auto 28px; }
  .workflow-heading { font-size: 1.625rem; margin-bottom: 19px; max-width: 380px; }
  .workflow-tabs { margin-bottom: 20px; }
  .journey-card { padding: 17px 18px; border-radius: 15px; }
  .journey-request-card { margin-right: 14px; }
  .journey-action-card { margin-left: 10px; }
  .journey-outcome-card { padding: 20px; }
  .journey-outcome-card h3 { font-size: 1.5rem; }
  .journey-connector { height: 20px; margin-left: 30px; }
  .journey-controls { gap: 12px; padding-top: 17px; }
  .journey-caption { flex: 1 1 110px; }
  .journey-buttons { gap: 5px; }
  .journey-note { font-size: .75rem; }
}
@media (max-width: 360px) {
  .journey-card { padding: 16px; }
  .journey-request-card { margin-right: 8px; }
  .journey-action-card { margin-left: 6px; }
  .journey-caption { flex-basis: 100%; }
  .journey-buttons { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .journey-connector-light { display: none; }
  .workflow-showcase::after, .journey-request-card::after, .is-playing .journey-card::before { animation: none; }
}
