/* One continuous, illustrative Flo conversation. */
.journey { padding-block: 100px 90px; }
.journey-heading { text-align: center; max-width: 820px; margin: 0 auto 75px; }
.journey-heading h2 { font: 500 40px/1.2 var(--sans); letter-spacing: -.045em; margin-top: 24px; }
.journey-heading h2 em { font: inherit; color: var(--ember); }
.journey-heading>p { font-size: 14px; line-height: 1.9; color: var(--muted); margin-top: 23px; }
.journey-track { display: grid; grid-template-columns: 1.1fr 1fr; gap: 85px; align-items: start; }
.journey-chapters { position: relative; padding-left: 36px; }
.journey-chapters:before,.journey-chapters:after { content: ""; position: absolute; left: 6px; width: 1px; top: 26px; bottom: 40px; background: #ffffff0d; }
.journey-chapters:after { background: linear-gradient(var(--ice),#ffb86988); transform: scaleY(var(--journey-progress,0)); transform-origin: top; box-shadow: 0 0 10px #79c8ff30; }
.journey-chapter { position: relative; min-height: 450px; padding: 13px 0 96px; opacity: 1; }
.journey-chapter:before { content: ""; width: 7px; height: 7px; position: absolute; left: -33px; top: 25px; border-radius: 50%; border: 1px solid #587181; background: #14222d; box-shadow: 0 0 0 5px var(--bg); z-index: 2; }
.journey-chapter.is-active:before { border-color: var(--ice); background: var(--ice); box-shadow: 0 0 0 5px var(--bg),0 0 15px #79c8ff99; }
.journey.is-scroll-story .journey-chapter { opacity: .65; transition: opacity .4s; }
.journey.is-scroll-story .journey-chapter.is-active { opacity: 1; }
.journey-chapter:last-child { padding-bottom: 20px; min-height: 410px; }
.journey-step-label { display: flex; gap: 15px; color: var(--ice); font: 11px/1.7 "Roboto Mono",monospace; }
.journey-step-label>span { color: #a5b7c8; font-family: var(--sans); font-size: 12px; }
.journey-chapter h3 { font: 500 29px/1.22 var(--sans); letter-spacing: -.04em; margin-top: 25px; }
.journey-chapter>p { font-size: 14px; color: #aabaca; line-height: 1.85; margin-top: 20px; max-width: 410px; }
.journey-moment { position: relative; margin: 27px 0 0; border-radius: 13px; overflow: hidden; height: 205px; border: 1px solid #ffffff14; max-width: 390px; }
.journey-moment img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.journey-moment:after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 15%,#070a12b8); pointer-events: none; }
.journey-moment figcaption { position: absolute; z-index: 1; bottom: 18px; left: 21px; right: 17px; color: #edf3f8; font-size: 14px; font-weight: 500; }
.journey-moment figcaption span { display: block; font-size: 9px; color: #b7cbd9; font-weight: 400; margin-top: 6px; }
.journey-artifact { margin-top: 29px; padding: 19px 0 0; border-top: 1px solid #ffffff12; max-width: 390px; }
.journey-artifact-label { display: block; font-size: 11px; color: #91a7b9; margin-bottom: 16px; }
.journey-preparation>div { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; font-size: 13px; color: #c5d3df; }
.journey-preparation i { font-style: normal; color: #79c8ff85; padding-left: 7px; font-size: 15px; line-height: 1; }
.journey-preparation strong { font-weight: 500; color: var(--ice); }
.journey-decision>p { font-size: 19px; line-height: 1.55; letter-spacing: -.025em; color: #c4d0db; }
.journey-decision strong { color: var(--ember); font-weight: 500; }
.journey-artifact-note { display: block; font-size: 11px; color: #92a9bc; margin-top: 16px; }
.journey-receipt>div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 10px 0; border-top: 1px solid #ffffff08; font-size: 12px; }
.journey-receipt>div>span { color: #97acbd; }
.journey-receipt strong { color: #cbd9e4; font-weight: 400; }
.journey-stage { display: flex; flex-direction: column; align-items: center; width: 100%; position: relative; padding-top: 4px; }
.journey.is-scroll-story .journey-stage { position: sticky; top: 100px; }
.journey-stage:before { content: ""; position: absolute; z-index: -1; top: 120px; width: 380px; height: 420px; max-width: 110%; border-radius: 50%; background: radial-gradient(ellipse,#2873a62b,transparent 70%); filter: blur(15px); pointer-events: none; }
.journey-stage-heading { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; margin-bottom: 17px; color: #bfd0dd; font-size: 11px; }
.journey-stage-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 7px #79c8ff99; flex: none; }
.journey-example-label { margin-left: 10px; color: #96adbf; font-size: 9px; border: 1px solid #ffffff17; border-radius: 100px; padding: 3px 7px; }
.journey-phone { width: min(330px,100%); padding: 7px; background: linear-gradient(125deg,#506475,#0a0e14 15%,#172533 76%,#687c8a); border: 1px solid #a9bcc26b; border-radius: 42px; box-shadow: inset 0 0 0 2px #ffffff0b,0 28px 55px #0006,0 0 50px #79c8ff0b; position: relative; }
.journey-phone:before { content: ""; position: absolute; z-index: 2; pointer-events: none; left: 4px; width: 1px; top: 55px; bottom: 55px; background: linear-gradient(transparent,#a3d6f16b,transparent); }
.journey-hardware-side { position: absolute; width: 3px; height: 42px; top: 130px; left: -3px; background: #586f80; border-radius: 3px 0 0 3px; box-shadow: 0 51px 0 #405767; }
.journey-phone:after { content: ""; position: absolute; top: 147px; right: -3px; width: 3px; height: 65px; background: #586f80; border-radius: 0 3px 3px 0; }
.journey-phone-inner { border-radius: 35px; border: 1px solid #03070bc9; background: linear-gradient(165deg,#142231,#0e1823 70%); position: relative; overflow: hidden; padding-bottom: 22px; }
.journey-phone-status { height: 43px; padding: 3px 22px 0; display: flex; align-items: center; justify-content: space-between; color: #e5edf4; font-size: 11px; position: relative; font-weight: 500; }
.journey-phone-status>span:last-child { font-size: 10px; letter-spacing: 1px; }
.journey-island { position: absolute; width: 80px; height: 20px; left: calc(50% - 40px); top: 10px; background: #020508; border: 1px solid #ffffff04; border-radius: 100px; }
.journey-phone-header { padding: 10px 15px 15px; display: flex; gap: 9px; align-items: center; border-bottom: 1px solid #ffffff0f; font-size: 13px; font-weight: 500; }
.journey-phone-header small { display: block; font-size: 9px; color: #99b0c3; margin-top: 3px; font-weight: 400; }
.journey-phone-header>span:last-child { margin-left: auto; font-size: 20px; color: #93aabd; }
.journey-flo-icon { display: inline-grid; place-items: center; flex: none; width: 29px; height: 29px; border: 1px solid #ffffff1a; border-radius: 8px; background: #79c8ff09; font: italic 24px/1 "Instrument Serif",Georgia,serif; color: var(--ember); }
.journey-screen { position: relative; }
.journey.is-interactive .journey-screen { height: 445px; }
.journey-panel { padding: 20px 19px 15px; }
.journey [hidden] { display: none!important; }
.journey.is-interactive .journey-panel { height: 100%; }
.journey:not(.is-interactive) .journey-panel+.journey-panel { border-top: 1px solid #ffffff1a; padding-top: 25px; }
.journey-thread-label { display: block; text-align: center; color: #8fa9be; font-size: 10px; margin-bottom: 23px; }
.journey-message { font-size: 13px; line-height: 1.75; padding: 14px; border: 1px solid #79c8ff21; border-radius: 13px 13px 3px 13px; color: #d8e8f4; background: #79c8ff0e; }
.journey-message-you { margin-left: 21px; }
.journey-flo-reply { margin-top: 23px; }
.journey-flo-reply>span { color: var(--ember); font-size: 12px; display: block; margin-bottom: 6px; }
.journey-flo-reply>p { color: #c2d2df; font-size: 13px; line-height: 1.8; }
.journey-goal-note { border: 1px solid #ffffff11; border-radius: 8px; background: #ffffff02; margin-top: 23px; padding: 12px; display: flex; align-items: flex-start; gap: 9px; }
.journey-goal-note>span { color: var(--ice); font-size: 19px; }
.journey-goal-note strong { font-size: 11px; font-weight: 500; color: #d4e1ec; }
.journey-goal-note p { font-size: 10px; color: #93adc2; line-height: 1.7; margin-top: 5px; }
.journey-message-composer { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #91aabe; border: 1px solid #ffffff1a; border-radius: 19px; padding: 7px 8px 7px 13px; margin-top: 25px; }
.journey-message-composer>span:last-child { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #79c8ff13; color: #bad5e7; font-size: 16px; }
.journey-phone-checklist { border: 1px solid #ffffff13; border-radius: 10px; background: #ffffff02; padding: 0 13px; margin-top: 19px; }
.journey-phone-checklist>div { padding: 14px 0; display: flex; align-items: flex-start; gap: 10px; }
.journey-phone-checklist>div+div { border-top: 1px solid #ffffff0c; }
.journey-phone-checklist>div>span { font-size: 12px; color: #9bcfdf; width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid #79c8ff20; border-radius: 50%; margin-top: 1px; flex: none; }
.journey-phone-checklist strong { font-size: 12px; color: #d7e5ef; font-weight: 500; }
.journey-phone-checklist small { display: block; font-size: 10px; color: #94afc2; line-height: 1.65; margin-top: 5px; }
.journey-phone-note { display: block; text-align: center; font-size: 9px; color: #809bb0; margin-top: 10px; }
.journey-next-artifact { display: flex; align-items: center; gap: 10px; padding: 14px 0 0; }
.journey-document-icon { font-size: 21px; color: var(--ice); }
.journey-next-artifact strong { font-size: 11px; font-weight: 500; color: #cfdeea; }
.journey-next-artifact p { font-size: 10px; color: #95afc3; margin-top: 3px; }
.journey-phone-draft { margin-top: 18px; padding: 17px; border: 1px solid #ffb8692c; background: #ffb86904; border-radius: 10px; }
.journey-phone-draft>span { font-size: 10px; color: var(--ember); }
.journey-phone-draft>p { font-size: 13px; color: #d4e0ea; line-height: 1.85; margin-top: 10px; }
.journey-recipients { border-top: 1px solid #ffffff0c; display: flex; gap: 11px; margin-top: 15px; padding-top: 11px; align-items: flex-start; }
.journey-recipients>span { color: #88a3b9; font-size: 10px; padding-top: 1px; }
.journey-recipients p { font-size: 10px; color: #b9cddb; }
.journey-recipients small { display: block; font-size: 9px; color: #809bb0; margin-top: 3px; }
.journey-approve-button { display: flex; justify-content: center; align-items: center; gap: 20px; border: 1px solid #ffb86948; background: linear-gradient(145deg,#ffb86917,#ffb86906); color: var(--ember); font-size: 12px; border-radius: 9px; padding: 12px 15px; width: 100%; margin-top: 18px; }
.journey-approve-button:hover { background: #ffb86922; border-color: #ffb86980; }
.journey-approve-button:disabled { cursor: default; opacity: .65; }
#journey-approval-status { display: block; text-align: center; color: #98b1c4; font-size: 10px; margin-top: 10px; }
.journey-result { text-align: center; padding: 20px 8px 12px; }
#journey-result-icon { display: grid; place-items: center; width: 57px; height: 57px; border-radius: 50%; border: 1px solid #79c8ff2c; background: #79c8ff0b; color: var(--ice); font-size: 27px; margin: 0 auto 23px; box-shadow: 0 0 28px #79c8ff0b; }
#journey-result-title { font: 500 23px/1.25 var(--sans); letter-spacing: -.04em; color: #e4edf5; }
#journey-result-copy { color: #a9c0d1; font-size: 13px; line-height: 1.85; margin-top: 16px; }
.journey-result-footer { display: flex; gap: 11px; align-items: center; justify-content: center; border-top: 1px solid #ffffff0c; padding-top: 19px; margin-top: 26px; }
.journey-result-footer p { font-size: 11px; color: #9fb8cb; line-height: 1.6; }
.journey-home-indicator { position: absolute; bottom: 8px; left: calc(50% - 45px); width: 90px; height: 3px; border-radius: 3px; background: #c9dce9a3; }
.journey-progress { display: none; width: min(330px,100%); height: 2px; background: #ffffff0c; margin-top: 22px; overflow: hidden; }
.journey-progress>span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg,var(--ice),var(--ember)); transform: scaleX(var(--journey-progress,0)); transform-origin: left; }
.journey-controls { display: none; grid-template-columns: repeat(4,minmax(0,1fr)); width: min(360px,100%); margin-top: 10px; gap: 4px; }
.journey-controls>button { background: transparent; border: 1px solid transparent; border-radius: 7px; padding: 8px 4px; color: #91a8bb; font-size: 10px; min-height: 42px; }
.journey-controls>button>span { display: block; font-size: 8px; color: #7894ac; margin-bottom: 3px; }
.journey-controls>button[aria-pressed=true] { color: #e1edf6; border-color: #79c8ff20; background: #79c8ff08; }
.journey-controls>button[aria-pressed=true]>span { color: var(--ice); }
.journey.is-interactive .journey-controls { display: grid; }
.journey.is-interactive .journey-progress { display: block; }
.journey-stage-footer { margin-top: 13px; text-align: center; }
.journey-stage-footer>p { font-size: 9px; color: #8ea7bc; }
#journey-replay { display: none; color: #9bb7cd; border: none; background: transparent; font-size: 10px; margin-top: 7px; padding: 5px 10px; min-height: 30px; }
#journey-replay:hover { color: var(--ice); }
.journey.is-interactive #journey-replay { display: inline-block; }
.journey:not(.is-interactive) .journey-approve-button { display: none; }
@media (max-width: 1050px) {
  .journey-track { gap: 52px; }
  .journey-chapters { padding-left: 30px; }
  .journey-chapter:before { left: -27px; }
  .journey-chapter h3 { font-size: 27px; }
  .journey-stage-heading { gap: 6px; font-size: 10px; }
  .journey-example-label { margin-left: 4px; font-size: 8px; }
}
@media (max-width: 800px) {
  .journey { padding-block: 80px 60px; }
  .journey-heading { margin-bottom: 45px; }
  .journey-heading h2 { font-size: 36px; }
  .journey-track { grid-template-columns: 1fr; gap: 50px; }
  .journey-stage,.journey.is-scroll-story .journey-stage { position: relative; top: auto; grid-row: 1; }
  .journey-stage-heading { font-size: 11px; }
  .journey-example-label { font-size: 9px; margin-left: 10px; }
  .journey-chapters { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; padding-left: 0; }
  .journey-chapters:before,.journey-chapters:after,.journey-chapter:before { display: none; }
  .journey-chapter,.journey-chapter:last-child { min-height: 0; padding: 0 0 25px; }
  .journey.is-interactive .journey-chapter { opacity: 1; }
  .journey-chapter h3 { font-size: 26px; margin-top: 20px; }
  .journey-chapter>p { margin-top: 17px; }
  .journey-moment { height: 160px; margin-top: 22px; }
  .journey-moment figcaption { left: 14px; bottom: 15px; font-size: 12px; }
  .journey-artifact { margin-top: 22px; }
}
@media (max-width: 600px) {
  .journey { padding-block: 65px 45px; }
  .journey-heading h2 { font-size: 32px; }
  .journey-heading .badge { font-size: 10px; }
  .journey-heading>p { font-size: 14px; }
  .journey-heading>p br { display: none; }
  .journey-track { gap: 44px; }
  .journey-stage { padding-inline: 7px; }
  .journey-phone { width: min(330px,100%); }
  .journey-stage-heading { gap: 6px; font-size: 10px; }
  .journey-example-label { margin-left: 4px; font-size: 8px; }
  .journey.is-interactive .journey-screen { height: 455px; }
  .journey-panel { padding-inline: 17px; }
  .journey-phone-header { padding-inline: 13px; }
  .journey-phone-header small { font-size: 8px; }
  .journey-message { font-size: 12px; padding: 13px; }
  .journey-flo-reply>p { font-size: 13px; }
  .journey-chapters { grid-template-columns: 1fr; gap: 32px; padding-left: 20px; }
  .journey-chapter { border-left: 1px solid #ffffff12; padding-left: 20px; }
  .journey-chapter:last-child { padding-left: 20px; }
  .journey-chapter h3 { font-size: 27px; }
  .journey-chapter>p { font-size: 14px; }
  .journey-moment { height: 180px; }
  .journey-artifact-label { font-size: 11px; }
  .journey-decision>p { font-size: 19px; }
  .journey-artifact-note { font-size: 11px; }
  .journey-controls>button { font-size: 10px; }
}
@media (max-height: 740px) {
  .journey.is-scroll-story .journey-stage { position: relative; top: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .journey.is-scroll-story .journey-stage { position: relative; top: auto; }
  .journey.is-interactive .journey-chapter { opacity: 1; transition: none; }
  .journey [data-reveal] { opacity: 1!important; transform: none!important; filter: none!important; }
}

/* Compact the fixed example, keeping its controls and receipt inside desktop viewports. */
.journey-stage-heading { margin-bottom: 12px; line-height: 1.4; }
.journey-phone-status { height: 38px; }
.journey-island { top: 8px; height: 19px; }
.journey-phone-header { padding-top: 6px; padding-bottom: 10px; }
.journey-phone-inner { padding-bottom: 18px; }
.journey.is-interactive .journey-screen { height: 390px; }
.journey-panel { padding-top: 12px; padding-bottom: 10px; }
.journey-thread-label { margin-bottom: 13px; line-height: 1.5; }
.journey-flo-reply { margin-top: 14px; }
.journey-flo-reply>span { margin-bottom: 4px; line-height: 1.5; }
.journey-flo-reply>p { line-height: 1.65; }
.journey-message { padding-top: 11px; padding-bottom: 11px; }
.journey-goal-note { margin-top: 17px; padding-top: 10px; padding-bottom: 10px; }
.journey-message-composer { margin-top: 17px; padding-top: 5px; padding-bottom: 5px; }
.journey-phone-checklist { margin-top: 13px; }
.journey-phone-checklist>div { padding-block: 9px; }
.journey-phone-checklist small { margin-top: 3px; line-height: 1.5; }
.journey-phone-note { margin-top: 7px; line-height: 1.5; }
.journey-next-artifact { padding-top: 9px; }
.journey-phone-draft { margin-top: 13px; padding: 14px; }
.journey-phone-draft>p { line-height: 1.7; }
.journey-recipients { margin-top: 12px; padding-top: 9px; }
.journey-approve-button { padding-block: 10px; margin-top: 13px; min-height: 40px; }
#journey-approval-status { margin-top: 7px; line-height: 1.5; }
.journey-result { padding: 9px 7px; }
#journey-result-icon { width: 44px; height: 44px; font-size: 23px; margin-bottom: 14px; }
#journey-result-title { font-size: 21px; line-height: 1.23; }
#journey-result-copy { margin-top: 11px; line-height: 1.65; }
.journey-result-footer { margin-top: 14px; padding-top: 10px; }
.journey-progress { margin-top: 13px; }
.journey-controls { margin-top: 6px; }
.journey-controls>button { padding-top: 5px; padding-bottom: 5px; }
.journey-stage-footer { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; margin-top: 7px; padding: 0; }
.journey-stage-footer>p { margin: 0; padding: 0; line-height: 1.5; }
#journey-replay { margin-top: 0; padding-block: 3px; min-height: 26px; }
@media (max-width: 600px) {
  .journey.is-interactive .journey-screen { height: 430px; }
  .journey-stage-footer { max-width: 330px; gap: 2px; }
  .journey-stage-footer>p { width: 100%; }
  #journey-replay { min-height: 30px; }
}

@media (min-width: 801px) and (min-height: 741px) {
  /* Give the final receipt the same reading window before its phone leaves the track. */
  .journey-chapter:last-child { min-height: 700px; }
}

@media (prefers-reduced-motion: no-preference) {
  .journey.is-interactive .journey-panel:not([hidden]) { animation: journey-arrive .42s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes journey-arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
