/* Complete articles are the normal reading experience, including without JavaScript. */
.journey-scene{padding-block:64px;--journey-environment-opacity:.16}
.journey-track,.journey-pin,.journey-steps,.journey-step{min-width:0}
.journey-scene .act-heading{display:block;margin-bottom:14px}
.journey-scene .act-heading h2{margin-top:0;font-size:clamp(30px,3.3vw,44px)}
.journey-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;position:relative;z-index:5}
.journey-controls>div{display:flex;align-items:center;gap:12px}
.journey-controls a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;font-size:16px;padding-block:12px;text-underline-offset:6px}
.journey-controls a[aria-current="step"]{color:var(--accent,#075bff);text-decoration:underline}
.journey-environment{position:absolute;inset:0;opacity:var(--journey-environment-opacity);overflow:hidden;pointer-events:none;z-index:-1}
.journey-environment>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.journey-pin{position:relative;isolation:isolate}
.journey-steps{display:grid;gap:100px;position:relative}
.journey-step{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;min-width:0;scroll-margin-top:24px}
.journey-card-frame{display:flex;justify-content:center;min-width:0}
.journey-card{margin:0;min-width:0;width:390px;max-width:100%;background:var(--journey-card-bg,#fff);border:1px solid var(--line,#dce4ef);border-radius:12px;overflow:hidden}
.journey-card>img{display:block;width:100%;height:auto}
.journey-explanation{min-width:0;max-width:680px;width:100%;margin-inline:auto;text-align:center;color:var(--ink,#071a36)}
.journey-scene .journey-explanation>p{font-size:clamp(20px,2vw,24px);line-height:1.4;font-weight:600;margin:0}
.journey-explanation h3{font-size:28px;line-height:1.2;margin:0 0 10px}
.journey-explanation>.journey-section-link{margin:10px 0 0}
.journey-scene .journey-explanation .text-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;font-size:18px;line-height:1.35;font-weight:600;margin:0;text-underline-offset:6px}
.journey-step:focus-visible{outline:3px solid var(--accent,#075bff);outline-offset:6px}
.journey-office-band{background:radial-gradient(ellipse at 12% 12%,#d5efff 0%,transparent 48%),radial-gradient(ellipse at 100% 75%,#ffb8a54d 0%,transparent 60%),#eef7ff}

/* Every pinned stage reserves the complete heading, card and reading area.
   Scroll distance belongs to the document; no wheel or touch events are captured. */
@media(min-width:360px) and (min-height:540px) and (prefers-reduced-motion:no-preference){
 .journey-scene.is-journey-pinned .journey-track{height:calc(100svh + var(--journey-timeline-span,2.9) * 125svh)}
 .journey-scene.is-journey-pinned .journey-pin{position:sticky;top:12px;height:calc(100svh - 24px);display:flex;flex-direction:column}
 .journey-scene.is-journey-pinned .journey-pin>.act-heading{flex:none;margin-bottom:16px}
 .journey-scene.is-journey-pinned .journey-steps{flex:1;min-height:0;display:block}
 .journey-scene.is-journey-pinned .journey-step{position:absolute;inset:0;grid-template-rows:auto auto;align-content:start;gap:14px;visibility:hidden;pointer-events:none}
 .journey-scene.is-journey-pinned .journey-step.is-journey-visible{visibility:visible}
 .journey-scene.is-journey-pinned .journey-step.is-current{pointer-events:auto}
 .journey-scene.is-journey-pinned .journey-card-frame{min-height:0;height:auto;padding:0 0 4px;align-items:flex-start;overflow:clip}
 .journey-scene.is-journey-pinned .journey-card{flex:none;height:auto;min-height:0;opacity:var(--journey-card-opacity,1);transform:translate3d(0,var(--journey-card-y,0px),0);transform-origin:center bottom}
 .journey-scene.is-journey-pinned .journey-explanation{align-self:start}
 .journey-scene.is-journey-pinned .journey-explanation> :not(.journey-closing-link){opacity:var(--journey-caption-opacity,0)}
 .journey-scene.is-journey-pinned .journey-closing-link{opacity:var(--journey-link-opacity,0);transform:translate3d(0,var(--journey-link-y,0px),0)}
 .journey-scene.is-journey-pinned .journey-closing-link .text-link{max-width:100%;transform:scale(calc(1 + var(--journey-link-growth,0) * .5));transform-origin:center}
 .journey-scene.is-journey-pinned .journey-step:not(.is-current) .journey-explanation{pointer-events:none}
}

/* Reduced motion and short windows keep every article and link in ordinary flow. */
.journey-scene.is-journey-flow .journey-pin{display:grid;grid-template-columns:minmax(0,1fr)}
.journey-scene.is-journey-flow .journey-steps{grid-area:1/1;gap:100px}
.journey-scene.is-journey-flow .journey-card-frame{padding-top:20px}
.journey-scene.is-journey-flow .journey-environment{grid-area:1/1;position:sticky;top:20px;align-self:start;height:min(80svh,480px)}
@media(prefers-reduced-motion:reduce){
 .journey-scene.is-journey-flow .journey-environment{position:absolute;inset:0;height:100%;margin:0}
}
@media(max-width:999px){
 .journey-scene{padding-block:40px}
 .journey-scene .act-heading{margin-bottom:18px}
 .journey-card{width:340px}
 .journey-scene .journey-explanation>p{font-size:20px;line-height:1.4}
 .journey-scene .journey-explanation .text-link{font-size:18px}
 .journey-scene.is-journey-pinned .journey-closing-link .text-link{transform:scale(calc(1 + var(--journey-link-growth,0) * .3))}
}

/* Existing paper, people and integration styling. */
.journey-card{--line:#dce4ef;--muted:#52637b;--accent:#075bff;padding:28px 30px;box-shadow:0 18px 48px #020b1f40;color:var(--ink);font-size:15px;line-height:1.5}
.journey-document-label{font-size:10px;font-weight:650;letter-spacing:.12em;text-transform:uppercase;color:#52637b;margin-bottom:25px}
.journey-person{display:flex;align-items:center;gap:13px;margin-bottom:22px}
.journey-person strong,.journey-work-row strong{display:block;font-size:17px;letter-spacing:-.025em}
.journey-person>div>span,.journey-work-row>div>span{display:block;margin-top:3px;color:#52637b;font-size:12px}
.journey-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e3efff;color:#19458a;font-size:13px;font-weight:650;flex:none}
.journey-message{background:#f1edff;border-radius:2px 16px 16px 16px;padding:18px 20px;font-size:18px;line-height:1.45;letter-spacing:-.025em;margin-top:0}
.journey-photo-context{display:flex;gap:13px;align-items:center;margin-top:18px;color:#52637b;font-size:15px;line-height:1.5}
.journey-photo-context svg{width:92px;flex:none;border-radius:7px;overflow:hidden}
.journey-photo-context>span{max-width:220px}
.journey-paper-brand{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-bottom:17px;border-bottom:1px solid #e1e8f0;font-size:10px}
.journey-paper-brand strong{font-size:12px;letter-spacing:-.03em}.journey-paper-brand>span{color:#52637b}
.journey-card h4{font-size:29px;line-height:1.13;letter-spacing:-.045em;margin:22px 0 8px;font-weight:600}
.journey-document-sub{font-size:15px;color:#52637b}
.journey-document-rows{margin:20px 0 0}.journey-document-rows>div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #e4eaf1;padding:10px 0;font-size:15px}
.journey-document-rows dt{color:#52637b}.journey-document-rows dd{margin:0;text-align:right;font-weight:550}
.journey-signature{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:23px}.journey-signature>span:first-child{font-family:Georgia,serif;font-style:italic;font-size:25px;letter-spacing:-.06em;color:#234c76}
.journey-signature-status{display:flex;gap:5px;align-items:center;font-size:10px;color:#23614d}.journey-signature-status svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7}
.journey-work-row{display:flex;gap:14px;padding:18px 0;border-top:1px solid #e1e8f0}.journey-work-icon{font-size:17px;color:#075bff;flex:none;width:20px;text-align:center}
.journey-paper-foot{border-top:1px solid #e1e8f0;padding-top:18px;margin-top:8px;font-size:12px;color:#52637b}
.journey-detail{font-size:13px;margin-top:19px}
.journey-evidence{background:none;border:0;padding-inline:0}
.journey-field-band{background:radial-gradient(ellipse at 12% 18%,#d4f4df 0%,transparent 48%),radial-gradient(ellipse at 100% 68%,#ffd0a666 0%,transparent 60%),#e9faf3;color:var(--ink)}
.journey-field{--muted:#435f76;--line:#bfd7df;--journey-environment-opacity:.16}
.journey-field .journey-controls a[aria-current=step]{color:#86e6f1}
.journey-field .journey-card{--line:#dce4ef}
.journey-result-band{background:radial-gradient(ellipse at 12% 18%,#ffe4cf 0%,transparent 48%),radial-gradient(ellipse at 100% 72%,#aeddff66 0%,transparent 62%),#fff2e5}
.journey-result{--journey-environment-opacity:.16}
.journey-field .journey-crew-visit{border:5px solid #d6e5f9;border-radius:25px}
.journey-result .journey-accounting-result{border-top:5px solid #2ca01c}
.journey-result .journey-invoice-payment{border-top:5px solid #7662f2}
.journey-field .journey-explanation .text-link{color:#075bff}
.journey-field .journey-explanation>.eyebrow{color:#315a79}
.journey-result .journey-work-row .stripe-logo{flex:none}
/* Dispatch is a wide working view, so its crop has a wider stage. */
.journey-planning-preview{display:block;width:100%;padding:0;border:0;background:none;margin-bottom:20px;cursor:zoom-in}
.journey-planning-preview img{display:block;width:100%;height:auto;border-radius:6px}
.journey-planning-card .journey-person{margin-bottom:8px}
/* Real office review stays inside the story frame. */
.journey-review-capture{position:relative;background:transparent;border:0;box-shadow:none;padding:12px}.journey-review-capture .review-accent{inset:0 0 15px 12px;border-radius:38px 12px 38px 12px}.journey-review-capture .review-shot{width:100%;max-width:100%;transform:none;border-width:6px}.journey-review-capture .review-shot img{width:100%;height:auto}.journey-card-frame:has(.journey-review-capture){padding-inline:5%}
.journey-documents-band{background:radial-gradient(ellipse at 90% 15%,#e0e4fc 0%,transparent 48%),radial-gradient(ellipse at 8% 80%,#ffd8b74d 0%,transparent 55%),#f2f5ff}
.journey-customer-path .act-heading,.journey-documents .act-heading{display:block}
.journey-customer-path .act-heading h2,.journey-documents .act-heading h2{max-width:800px;margin-top:0}
.journey-customer-path .journey-card,.journey-documents .journey-card{width:420px;max-width:100%;margin-inline:auto}
.journey-customer-path .journey-evidence{margin-top:2px;min-height:44px}
.journey-channels{display:flex;align-items:center;gap:9px;color:#52637b;font-size:12px;line-height:1.4;margin-bottom:20px}
.journey-channels>span{color:#9aa8b8}
.journey-splash-preparer{display:flex;gap:10px;align-items:center;color:#315a79;font-size:15px;line-height:1.4;padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid #e1e8f0}
.journey-splash-preparer img{width:42px;height:42px;flex:none}
.journey-request .journey-document-label{margin-bottom:0}
.journey-request h4{margin-top:8px}
.journey-inline-check{color:#23614d;margin-left:4px}
.journey-ticket-ready{display:flex;align-items:center;gap:9px;margin-top:25px;font-size:15px;color:#23614d}
.journey-ticket-ready>span:first-child{display:grid;place-items:center;width:27px;height:27px;background:#e4f4ec;border-radius:50%}
.journey-document-setting{isolation:isolate}
.journey-document-setting img{opacity:.67}
.journey-setting-paper{position:absolute;left:13%;top:22%;width:20%;height:43%;background:repeating-linear-gradient(white 0 22px,#d7e3f0 23px 24px);border:1px solid #cbdce5;border-radius:5px;box-shadow:0 12px 20px #52637b13;transform:rotate(-12deg);z-index:-1}
.journey-setting-pen{position:absolute;right:18%;top:29%;height:34%;width:9px;border-radius:5px;background:#8aa7c4;transform:rotate(22deg);z-index:-1}
.journey-template-tab{display:flex;align-items:center;justify-content:space-between;background:#edf1ff;color:#405a86;font-size:12px;padding:10px 12px;border:1px solid #d7def4;border-radius:5px;margin-bottom:18px}
.journey-template-tab>span{color:#758dba;font-size:17px}
.journey-approved-quote{display:flex;gap:8px;align-items:center;color:#23614d;font-size:15px;line-height:1.4;padding-bottom:16px}
.journey-ticket-stack{margin-top:20px}
.journey-work-tickets .journey-work-row{padding:13px 0}
.journey-work-tickets .journey-work-row strong{font-size:15px}
.journey-work-tickets .journey-work-icon{font-size:14px}
.journey-ready-label{display:inline-flex;background:#edf4ff;color:#315a79;border-radius:5px;font-size:15px;padding:7px 10px;margin-top:16px}
/* Crew tickets follow the shipped visit hierarchy. These are filled, static
   illustrations; office review stays separate from customer delivery. */
.journey-crew-story .act-heading,.journey-office-story .act-heading{display:block}
.journey-crew-story .act-heading h2,.journey-office-story .act-heading h2{margin-top:0}
.journey-crew-ticket{width:370px;max-width:100%;margin-inline:auto;background:#f6fbfa;border:5px solid #d6e5e9;border-radius:25px;padding:18px 20px;font-size:15px;line-height:1.4;color:#173e4d}
.crew-ticket-brand{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;font-weight:700;padding-bottom:10px;border-bottom:1px solid #d2e1e6}
.crew-ticket-brand>span{font-size:11px;font-weight:500;color:#526f7c}
.journey-crew-ticket h4{font-size:25px;line-height:1.1;margin:12px 0 7px;color:#173e4d;letter-spacing:-.04em}
.crew-ticket-customer{font-size:14px;line-height:1.45}
.crew-ticket-access{font-size:15px;line-height:1.4;color:#526f7c;margin-top:5px}
.crew-ticket-section{padding-top:11px;margin-top:10px;border-top:1px solid #d2e1e6}
.crew-ticket-section>strong{font-size:14px}
.crew-ticket-checks{list-style:none;padding:0;margin:5px 0 0;font-size:15px;line-height:1.5}
.crew-ticket-checks li{display:flex;gap:7px;margin:3px 0}
.crew-ticket-checks li>span{color:#0b7492;flex:none}
.crew-ticket-pool>span{font-size:12px;color:#526f7c;margin-left:8px}
.crew-ticket-pool>p{font-size:12px;color:#526f7c;line-height:1.4;margin-top:3px}
.crew-ticket-readings{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}
.crew-ticket-readings>div{border:1px solid #d2e1e6;background:#fff;padding:6px 10px;border-radius:8px}
.crew-ticket-readings span{display:block;color:#526f7c;font-size:15px;line-height:1.35}
.crew-ticket-readings strong{display:block;font-size:18px;line-height:1.3;font-weight:600}
.crew-ticket-evidence{display:flex;gap:10px;align-items:center;margin-top:12px}
.crew-ticket-photo{width:76px;height:46px;flex:none;border-radius:6px;overflow:hidden}
.crew-ticket-evidence strong{font-size:15px}
.crew-ticket-evidence p{font-size:15px;line-height:1.4;margin-top:3px}
.crew-ticket-times{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px 0;margin:12px 0 0;border-block:1px solid #d2e1e6}
.crew-ticket-times dt{font-size:15px;color:#526f7c;line-height:1.5}
.crew-ticket-times dd{font-size:23px;font-weight:650;margin:3px 0 0;letter-spacing:-.04em}
.crew-gps{font-size:9px;letter-spacing:.05em;margin-left:5px;color:#0b7492}
/* The fictional clock example uses the same phone frame and readable visit scale. */
.journey-time-clock-content{padding:22px 22px 18px;display:flex;flex-direction:column}
.journey-time-clock-gps{display:flex;align-items:center;gap:7px;color:#087b93;font-size:13px;font-weight:650;margin-bottom:18px}
.journey-time-clock-gps svg{flex:none}
.journey-time-clock-content h4{font-family:inherit;font-size:25px;line-height:1.15;margin:0 0 12px}
.journey-time-clock-content .crew-ticket-customer{font-size:15px;line-height:1.5}
.journey-time-clock-content .crew-ticket-times{margin-top:24px;padding-block:18px;gap:16px}
.journey-time-clock-content .crew-ticket-times dt{font-size:13px}
.journey-time-clock-content .crew-ticket-times dd{font-size:26px;white-space:nowrap;font-variant-numeric:tabular-nums}
.journey-time-clock-content .crew-ticket-times dd span{font-size:13px;font-weight:500;letter-spacing:0}
.journey-time-clock-total{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0;padding-top:14px;color:#526f7c}
.journey-time-clock-total dt{font-size:13px;line-height:1.5}
.journey-time-clock-total dd{margin:3px 0 0;color:#173e4d;font-size:26px;font-weight:650;line-height:1.3;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.journey-time-clock-total dd span{font-size:13px;font-weight:500;letter-spacing:0}

.crew-ticket-handoff{display:flex;align-items:center;gap:7px;margin-top:12px;padding-top:10px;border-top:1px solid #d2e1e6;font-size:15px;color:#23614d}
.crew-ticket-handoff>span:last-child{margin-left:auto;color:#526f7c}
.journey-office-story .journey-card{margin-inline:auto}
.journey-bill-email{max-width:420px}
.journey-email-from{font-size:12px;line-height:1.4;color:#52637b;margin-top:18px}
.journey-bill-email h4{margin-top:12px}
.journey-email-message{font-size:15px;line-height:1.55;margin-top:22px}
.journey-email-payment-link{display:inline-flex;align-items:center;justify-content:center;border-radius:6px;background:#39758b;color:white;font-size:15px;font-weight:600;padding:12px 16px;margin-top:20px;min-height:44px}
.journey-payment-outcome{display:flex;align-items:center;gap:18px;padding-top:20px;border-top:1px solid #e1e8f0;margin-top:24px}
.journey-payment-outcome span{display:block;font-size:15px;line-height:1.4;color:#52637b;margin-bottom:4px}
.journey-payment-outcome strong{display:block;font-size:15px;letter-spacing:-.02em}
.journey-office-story .journey-accounting-result{width:420px;max-width:100%}
.journey-qb-name{color:#237b16;font-weight:700;white-space:nowrap}

.journey-office-story .journey-review-capture{background:#f3f9fa;border:1px solid #cbdce5;border-radius:12px;padding:20px;box-shadow:0 18px 48px #020b1f24}
 .journey-office-story .journey-review-capture .review-accent{display:none}
 .journey-review-detail{display:block;color:#233f4b;font-size:15px;line-height:1.5}
 .journey-review-detail .journey-document-label{font-size:10px;margin-bottom:10px}
 .journey-review-identity{display:flex;justify-content:space-between;gap:10px;align-items:center}
 .journey-review-identity strong{font-size:16px}
 .journey-review-identity>span{font-size:10px;color:#745923;background:#fff3d8;padding:2px 6px;border-radius:3px}
 .journey-review-detail>p{font-size:12px;line-height:1.5;margin-top:7px}
 .journey-review-note{border-top:1px solid #d3e0e5;padding-top:12px;margin-top:12px}
 .journey-review-note p{font-size:13px;line-height:1.5;margin-top:5px}
 .journey-review-detail .journey-review-photo{margin-top:12px;color:#52637b}
 .journey-review-action{display:inline-flex;align-items:center;background:#39758b;border-radius:4px;color:white;font-size:15px;min-height:40px;padding:9px 12px;margin-top:16px}
 .journey-office-story .journey-review-capture .review-shot{margin-top:12px;border:0;border-radius:0;box-shadow:none;overflow:visible;background:transparent;width:auto}
 .journey-office-story .journey-review-capture .review-shot img{display:none}
 .journey-office-story .journey-review-capture .review-shot .image-hint{position:static;display:inline-flex;align-items:center;min-height:44px;padding:0;font-size:12px;color:#087b93;background:none;opacity:1}
/* The document itself stays readable rather than being scaled to fit. */
@media(max-width:999px){
 .journey-card,.journey-customer-path .journey-card,.journey-documents .journey-card{width:340px;padding:18px;font-size:15px;line-height:1.4}
 .journey-card h4{font-size:25px;margin:12px 0 8px}
 .journey-document-label{margin-bottom:14px}
 .journey-person{margin-bottom:14px}
 .journey-document-rows{margin-top:14px}
 .journey-document-rows>div{padding:7px 0;font-size:15px;gap:12px}
 .journey-paper-brand{padding-bottom:12px}
 .journey-message{font-size:17px;padding:14px;margin-bottom:0}
 .journey-splash-preparer{padding-bottom:10px;margin-bottom:12px}
 .journey-template-tab{margin-bottom:12px}
 .journey-work-row{padding:12px 0}
 .journey-crew-ticket{width:340px;padding:16px}
 .crew-ticket-section{padding-top:8px;margin-top:8px}
 .crew-ticket-readings{margin-top:8px}
 .crew-ticket-times{padding:10px 0;margin-top:10px}
 .journey-office-story .journey-accounting-result{width:340px}
 .journey-scene.is-journey-pinned .journey-card-frame{padding:0 0 4px}
}

/* App views lead each scene. The explanation stays attached to its own screen. */
.journey-scene{--journey-visual-height:min(53svh,470px)}
.journey-scene .journey-explanation{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:720px}
.journey-scene .journey-explanation>p{margin:0;line-height:1.35}
.journey-scene .journey-explanation>.journey-section-link{margin:0}
.journey-scene .journey-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 20px;border:1px solid #075bff;border-radius:8px;background:#075bff;color:#fff;font-size:16px;line-height:1.25;font-weight:650;letter-spacing:0;text-decoration:none;text-align:center;box-shadow:none;cursor:pointer}
.journey-scene .journey-action:hover{background:#0349d6;border-color:#0349d6}
.journey-scene .journey-action:focus-visible{outline:3px solid #071a36;outline-offset:4px}
#customer-agreement-state .journey-section-link>.journey-action{background:#075bff;border-color:#075bff;color:#fff;box-shadow:0 4px 14px #075bff30}
.journey-card .journey-action{margin-top:16px}
.journey-scene .journey-card.journey-app-phone{width:310px;max-width:100%;padding:8px;border:0;border-radius:34px;background:#293e58;box-shadow:0 18px 44px #102f4826;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;overflow:hidden}
.journey-app-phone .journey-app-screen{background:#f4faf9;color:#183e48;border-radius:26px;overflow:hidden;max-height:var(--journey-visual-height);position:relative}
.journey-app-phone .journey-app-screen>img{display:block;width:100%;height:auto;max-width:none;object-fit:cover;object-position:top}
.journey-app-phone .journey-app-header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px 18px;border-bottom:1px solid #d2e1e6;font-size:13px;font-weight:650;color:#183e48;background:#f8fbfb}
.journey-app-phone .journey-app-header img{width:24px;height:24px;flex:none}
.journey-app-content{padding:18px;color:#183e48;font-size:14px;line-height:1.45}
.journey-app-content h4{margin:4px 0 12px;font-family:inherit;font-size:24px;line-height:1.15;letter-spacing:-.035em}
.journey-app-content p{margin:8px 0;font-size:14px;line-height:1.4}
.journey-app-footer{padding:0 16px 16px;text-align:center}
.journey-step-title{margin:0 0 8px;text-align:center;font-size:15px;font-weight:650;color:#315a79;letter-spacing:.01em}
.journey-scene .journey-card.journey-document-preview{padding:20px 24px;width:420px;max-width:100%;border-color:#d2e1e6;background:#fff;border-radius:14px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#183e48;box-shadow:0 18px 44px #102f4826}
.journey-document-preview h4{margin:6px 0 14px;font-family:inherit;font-size:25px;letter-spacing:-.035em}
.journey-document-preview .journey-document-rows{margin-top:12px}
.journey-document-preview .journey-signature{margin-top:14px;padding-top:12px}
.journey-chat-bubble{padding:12px 14px;margin:12px 0;max-width:90%;border-radius:14px;font-size:15px;line-height:1.4}
.journey-chat-bubble.is-customer{margin-right:auto;background:#e7f0f4;border-bottom-left-radius:4px}
.journey-chat-bubble.is-office{margin-left:auto;background:#d9f1ee;border-bottom-right-radius:4px}
.journey-scene .journey-card.journey-screen-capture{padding:0;background:transparent;border:0;box-shadow:0 18px 44px #102f4826;max-height:var(--journey-visual-height);overflow:hidden}
.journey-screen-capture>img{width:100%;height:auto;display:block}
@media(max-width:760px){
 .journey-scene{--journey-visual-height:min(50svh,430px)}
 .journey-scene .act-heading h2{font-size:30px;line-height:1.15}
 .journey-scene.is-journey-pinned .journey-pin>.act-heading{margin-bottom:12px}
 .journey-scene .journey-card.journey-app-phone{width:280px;border-radius:30px;padding:7px}
 .journey-app-phone .journey-app-screen{border-radius:23px}
 .journey-scene .journey-card.journey-document-preview{padding:16px 18px;width:340px}
 .journey-scene .journey-explanation{gap:10px}
 .journey-scene .journey-explanation>p{font-size:19px;line-height:1.35}
 .journey-scene .journey-action{font-size:15px;padding:10px 16px}
}
@media(prefers-reduced-motion:reduce){.journey-scene{--journey-visual-height:520px}}

/* Match the app's phone shell without enlarging brand logos to document width. */
.journey-scene .journey-card.journey-app-phone,.journey-scene .journey-card.journey-app-phone.journey-document-preview{width:310px;padding:0;border:7px solid #30405a;border-radius:33px;background:#f4faf9;box-shadow:0 18px 44px #102f4826}
.journey-app-phone>.journey-step-title{margin:0;padding:7px 10px 8px;color:#eaf7fa;background:#30405a;font-size:13px;line-height:1.2;font-weight:600}
.journey-app-phone>.journey-app-header{border-radius:24px 24px 0 0}
.journey-app-phone .journey-app-content,.journey-app-phone .journey-app-footer{background:#f4faf9}
.journey-app-phone>.journey-app-footer{border-radius:0 0 24px 24px;padding-top:4px}
.journey-app-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.journey-app-title>span{font-size:11px;color:#526f7c}
.journey-app-customer{font-size:13px;line-height:1.5}
.journey-app-line-items{margin:16px 0;padding:0}
.journey-app-line-items>div{display:flex;justify-content:space-between;gap:18px;padding:9px 0;border-bottom:1px solid #d2e1e6;font-size:14px;line-height:1.35}
.journey-app-line-items dt,.journey-app-line-items dd{margin:0}
.journey-app-line-items dd{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;font-weight:650}
.journey-app-brand-mark{display:inline-grid;place-items:center;width:26px;height:26px;background:#087f98;border-radius:7px;color:white;font-size:11px}
.journey-app-status{background:#e2f2e9;border-radius:5px;padding:4px 6px;color:#23614d;font-size:11px}
.journey-app-content .journey-app-terms{font-size:12px;color:#526f7c;margin-top:16px}
.journey-app-signature{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #d2e1e6;color:#183e48}
.journey-app-signature>span{font-size:12px;color:#526f7c}
.journey-app-content .journey-signed-status{display:flex;align-items:center;gap:6px;margin-top:10px;color:#238456}
.journey-app-work-list>div{padding:12px 0;border-bottom:1px solid #d2e1e6}
.journey-app-work-list strong,.journey-app-work-list span{display:block}
.journey-app-work-list span{font-size:12px;color:#526f7c;margin-top:3px}
.journey-app-handoff{display:flex;align-items:center;gap:10px;padding-top:12px;border-top:1px solid #d2e1e6;margin-top:12px;font-size:13px}
.journey-app-handoff img{flex:none}
.journey-chat-thread .journey-chat-bubble>p{margin:0;font-size:14px}
.journey-chat-thread .journey-chat-photo{display:block;max-width:100%;height:auto;border-radius:8px;margin-top:8px}
.journey-office-v2 .journey-office-document{width:500px;max-width:100%;padding:0;background:#fff;border:1px solid #d2e1e6;border-radius:14px;overflow:hidden}
.journey-office-v2 .journey-office-document>img{display:block;width:100%;height:auto;max-height:var(--journey-visual-height);object-fit:cover;object-position:top}
.journey-office-v2 .journey-maintenance-review h4{margin:0;padding:14px 20px 6px;font-size:23px}
.journey-office-v2 .journey-maintenance-review .journey-office-screen{height:min(42svh,340px);overflow:hidden;background:#f4faf9}
.journey-office-v2 .journey-maintenance-review .journey-office-screen>img{display:block;width:100%;height:auto;max-width:none}
.journey-office-v2 .journey-billing-terms{font-size:14px;line-height:1.4;font-weight:500;color:#52637b}
/* A complete representative email keeps its message and both actions in view. */
.journey-invoice-email{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#183e48}
.journey-invoice-email-header{display:flex;align-items:center;gap:8px;padding:6px 20px;background:#f4faf9;border-bottom:1px solid #d2e1e6;font-size:14px}
.journey-invoice-email-body{padding:10px 20px 12px;font-size:14px;line-height:1.35}
.journey-invoice-email-body p{font-size:14px;line-height:1.35;margin:6px 0 0}
.journey-invoice-email-body .journey-invoice-email-from{margin:0;font-size:11px;line-height:1.3;color:#526f7c}
.journey-invoice-email-body h4{font-family:inherit;font-size:22px;line-height:1.15;letter-spacing:-.035em;margin:8px 0 6px}
.journey-invoice-email-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:6px;margin-top:8px;border-block:1px solid #d2e1e6;font-size:14px;line-height:1.25}
.journey-invoice-email-summary small{color:#526f7c;font-size:12px}
.journey-invoice-email-summary strong{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}
.journey-invoice-ticket-link{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin-top:4px;color:#087b93;font-weight:650;text-decoration:underline;text-underline-offset:4px}
.journey-invoice-pay-example{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;margin-top:4px;padding:6px 18px;border-radius:7px;background:#635bff;color:#fff;font-size:14px;font-weight:650}
.journey-invoice-pay-example img{width:57px;height:auto}
.journey-invoice-email-body .journey-invoice-email-signoff{display:flex;align-items:baseline;gap:4px;font-size:12px;line-height:1.3;margin-top:8px}
.journey-invoice-email-signoff br{display:none}

.journey-card>img.quickbooks-logo{width:165px;height:auto;max-width:100%;margin:0 0 20px}
.journey-card>img.stripe-logo{width:83px;height:auto;max-width:100%}
@media(max-width:760px){
 .journey-scene .journey-card.journey-app-phone,.journey-scene .journey-card.journey-app-phone.journey-document-preview{width:280px;border-width:6px;border-radius:29px;padding:0}
 .journey-office-v2 .journey-office-document{width:340px;padding:0}
 .journey-app-content{padding:16px}
 .journey-app-line-items>div{font-size:13px}
 .journey-office-v2 .journey-maintenance-review h4{font-size:21px;padding:12px 16px 6px}
}

.journey-scene .journey-card.journey-contract-paper{padding:0}
.journey-contract-paper>.journey-app-header{padding:12px 18px;background:#f4faf9;border-bottom:1px solid #d2e1e6}
.journey-contract-paper>.journey-app-content{padding:16px 20px}

/* Keep the same scroll story in a shorter browser pane without shrinking its text. */
@media(min-width:360px) and (min-height:540px) and (max-height:719px) and (prefers-reduced-motion:no-preference){
 /* The existing compact document width avoids extra ticket wrapping in short panes. */
 .journey-documents .journey-card.journey-app-phone{width:340px}
 .journey-scene .journey-app-header{padding:10px 14px}
 .journey-scene .journey-app-content{padding:10px 14px}
 .journey-scene .journey-app-title h4{margin:2px 0 8px}
 .journey-scene .journey-app-content p{margin:5px 0}
 .journey-scene .journey-app-details{margin:8px 0}
 .journey-scene .journey-app-handoff{padding-top:8px;margin-top:8px}
 .journey-scene .journey-app-footer{padding:4px 12px 10px}
 .journey-scene .journey-card .journey-action{margin-top:8px}
 .journey-scene .journey-chat-bubble{padding:8px 10px;margin:8px 0}
 .journey-scene .journey-app-work-list>div{padding:8px 0}
}

/* One short native-scroll pause keeps the complete map composition together. */
.journey-map-band{background:linear-gradient(110deg,#e9f5ff 0%,#f1f8fa 60%,#fff1e8 100%)}
.journey-map-scene{padding-block:32px 42px}
.journey-map-pin{min-width:0}
.journey-map-scene .act-heading{margin-bottom:18px}
.journey-map-scene .act-heading h2{font-size:clamp(30px,3.3vw,44px);line-height:1.15;margin:0}
.journey-map-desktop{width:min(100%,1040px,100svh);margin:0 auto 14px;opacity:var(--map-opacity,1);transform:translateY(var(--map-settle-y,0)) scale(var(--map-scale,1));transform-origin:center}
.journey-map-screen{overflow:hidden;border:7px solid #30405a;border-radius:15px;background:#fff;box-shadow:0 22px 55px #102f4826}
.journey-map-screen>img{display:block;width:100%;height:auto}
.journey-map-credit{font-size:11px;color:#52637b;text-align:right;margin-top:9px;line-height:1.4}
.journey-map-credit a{color:inherit;text-underline-offset:3px}
.journey-map-explanation{display:flex;flex-direction:column;gap:12px;align-items:center;text-align:center;max-width:760px;margin-inline:auto}
.journey-map-explanation>p{font-size:clamp(19px,1.8vw,22px);font-weight:600;line-height:1.4;margin:0}
.journey-map-explanation .journey-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 20px;border:1px solid #075bff;border-radius:8px;background:#075bff;color:#fff;font-size:16px;font-weight:650;text-decoration:none}
.journey-desktop-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;background:#f6f9fb;color:#52637b;font-size:11px;line-height:1.3;border-bottom:1px solid #d7e3e9}
.journey-desktop-bar strong{font-size:12px;font-weight:650;color:#183e48}
.journey-desktop-dots{color:#a5b7c4;letter-spacing:3px;font-size:9px}
@media(min-width:360px) and (min-height:540px) and (prefers-reduced-motion:no-preference){
 .journey-map-scene.is-map-pinned{padding-block:0;min-height:calc(100svh + clamp(280px,60svh,560px))}
 .journey-map-scene.is-map-pinned .journey-map-pin{position:sticky;top:12px;height:calc(100svh - 24px);padding-block:20px;display:flex;flex-direction:column;align-items:stretch}
 .journey-map-scene.is-map-pinned .journey-map-pin>.act-heading,.journey-map-scene.is-map-pinned .journey-map-explanation{flex:none}
 .journey-map-scene.is-map-pinned .journey-map-desktop{flex:none;width:min(100%,1040px,max(240px,calc((100svh - 326px)*1.84)))}
 .journey-map-scene.is-map-pinned .journey-map-explanation{opacity:var(--map-copy-opacity,1)}
}
@media(max-width:760px){
 .journey-map-screen{border-width:4px;border-radius:10px}
 .journey-map-credit{text-align:left;font-size:10px}
 .journey-map-explanation>p{font-size:19px}
 .journey-desktop-bar{padding:7px 9px;font-size:9px;gap:6px}
 .journey-desktop-bar strong{font-size:10px}
 .journey-desktop-dots{font-size:7px;letter-spacing:2px}
}
@media(prefers-reduced-motion:reduce){.journey-map-desktop{opacity:1;transform:none}}

/* Billing choices have their own banner directly after the partner bar. */
.journey-billing-banner{padding-block:20px;background:#e8f4fa;border-block:1px solid #d5e4ed;color:#183e48}
.journey-billing-banner p{max-width:1060px;margin:auto;text-align:center;font-size:clamp(16px,1.7vw,21px);line-height:1.6;font-weight:650}

/* The one large invitation is the final Office story frame. */
.journey-office-story .journey-card.journey-demo-invitation{width:1080px;max-width:100%;padding:36px 40px;border:1px solid #cee4ec;border-radius:20px;background:radial-gradient(ellipse at 22% 50%,#c3edf4 0%,transparent 58%),linear-gradient(110deg,#e5f5fb,#f0f2ff);color:#071a36;overflow:visible}
.journey-demo-inner{display:grid;grid-template-columns:190px minmax(0,1fr) 190px;align-items:center;gap:30px;width:100%}
.journey-demo-logo{width:190px;height:auto;justify-self:center}
.journey-demo-mascot{width:155px;height:auto;justify-self:center;object-fit:contain}
.journey-demo-copy{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0}
.journey-demo-copy h3{font-family:var(--font-display);font-size:clamp(28px,3.1vw,43px);line-height:1.12;margin:0 0 24px}
.journey-demo-invitation .journey-demo-action{min-height:82px;max-width:100%;padding:22px 28px;border-radius:14px;font-size:clamp(21px,2.2vw,29px);line-height:1.2}
.journey-demo-step .journey-explanation{display:none}
@media(min-width:360px) and (min-height:540px) and (prefers-reduced-motion:no-preference){
 .journey-scene.is-journey-pinned .journey-demo-step{align-content:center}
 .journey-scene.is-journey-pinned .journey-card.journey-demo-invitation{transform:translate3d(0,calc((1 - var(--journey-card-opacity,1)) * 100px),0)}
}
@media(max-width:760px){
 .journey-billing-banner{padding-block:18px}
 .journey-time-clock-content{padding:18px 18px 16px}
 .journey-time-clock-gps{font-size:12px}
 .journey-time-clock-content .crew-ticket-times,.journey-time-clock-total{gap:10px}
 .journey-time-clock-content .crew-ticket-times dd,.journey-time-clock-total dd{font-size:24px}
 .journey-invoice-email-header{padding:13px 18px;font-size:15px}
 .journey-invoice-email-body{padding:16px 20px 20px}
 .journey-invoice-email-body h4{font-size:24px;margin-top:16px}
 .journey-invoice-email-body p{font-size:14px}
 .journey-invoice-email-summary{padding-block:13px}
 .journey-office-story .journey-card.journey-demo-invitation{padding:24px 20px;border-radius:16px}
 .journey-demo-inner{grid-template-columns:1fr 1fr;gap:12px}
 .journey-demo-logo{grid-column:1;grid-row:1;width:100px}
 .journey-demo-mascot{grid-column:2;grid-row:1;width:82px}
 .journey-demo-copy{grid-column:1/-1;grid-row:2;width:100%}
 .journey-demo-copy h3{font-size:30px;margin-bottom:20px}
 .journey-demo-invitation .journey-demo-action{width:100%;min-height:76px;padding:20px 16px;font-size:23px}
}
