/* Scoped to the need explorer and its native dialog. */
.journey-section{background:#f5f5f3;color:#171717;padding-block:100px;scroll-margin-top:90px}
#journey{--jy-ink:#171717;--jy-muted:#60605d;--jy-line:#dfdfda}
#journey *, .journey-dialog *{box-sizing:border-box}
#journey button,.journey-dialog button{font:inherit;cursor:pointer}
#journey button:focus-visible,.journey-dialog button:focus-visible,.journey-dialog a:focus-visible,.journey-dialog textarea:focus-visible{outline:3px solid #353532;outline-offset:4px}
#journey [hidden],.journey-dialog [hidden]{display:none!important}
#journey svg,.journey-dialog svg{display:block;flex-shrink:0}
.jy-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:48px;margin-bottom:38px}
.jy-eyebrow{font-size:10px;font-weight:600;letter-spacing:.13em;line-height:1.7;color:#60605d;margin:0}
.jy-heading h2{font-size:clamp(36px,4.2vw,58px);line-height:1.08;letter-spacing:-.055em;margin:18px 0 0;font-weight:600}
.jy-heading h2 span{color:#696966}
.jy-heading>p{font-size:13px;line-height:1.85;color:#60605d;max-width:300px;margin:0 0 3px}
.jy-needs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
#journey .jy-need{position:relative;display:flex;align-items:center;gap:12px;min-width:0;min-height:86px;padding:17px 16px;background:#fff;border:1px solid #dfdfda;border-radius:15px;text-align:left;color:#393936;font-size:12px;font-weight:600;line-height:1.4;transition:border-color .18s,background .18s,box-shadow .18s}
#journey .jy-need:hover{border-color:#aaa9a2;background:#fafaf8}
#journey .jy-need[aria-pressed=true]{background:#eeeeea;border-color:#222220;box-shadow:inset 0 0 0 1px #222220;color:#171717}
.jy-need-icon{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0}
.jy-need-icon svg{width:26px;height:26px}
.jy-choice-dot{width:5px;height:5px;border-radius:50%;background:currentColor;position:absolute;right:12px;top:12px;opacity:0}
.jy-need[aria-pressed=true] .jy-choice-dot{opacity:1}
.jy-empty{display:flex;align-items:center;justify-content:center;gap:22px;padding:52px 25px 10px;min-height:172px}
.jy-empty h3{font-size:19px;font-weight:600;letter-spacing:-.025em;line-height:1.35;margin:0}
.jy-empty p{font-size:12px;line-height:1.8;color:#696966;margin:9px 0 0}
.jy-empty-orbit{display:block;width:48px;height:48px;border:1px solid #bcbcb6;border-radius:50%;position:relative;flex-shrink:0}
.jy-empty-orbit:before{content:'';position:absolute;inset:9px;border:1px solid #d5d5ce;border-radius:50%}
.jy-empty-orbit:after{content:'';position:absolute;top:3px;right:5px;width:7px;height:7px;border-radius:50%;background:#66665f;border:2px solid #f5f5f3}
.jy-context{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 0 25px}
.jy-question{font-size:13px;font-weight:600;line-height:1.6;margin:0;color:#393936}
.jy-options{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
#journey .jy-option{background:#fff;color:#60605d;border:1px solid #dcdcd5;border-radius:28px;padding:12px 17px;min-height:44px;font-size:11px;line-height:1.5;transition:background .18s,border-color .18s,color .18s}
#journey .jy-option:hover{background:#f1f1ed;border-color:#aaa99f}
#journey .jy-option[aria-pressed=true]{background:#222220;color:#fff;border-color:#222220}
.jy-route-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr);border:1px solid #dfdfda;border-radius:22px;overflow:hidden;background:#fff}
.jy-result{padding:36px;min-width:0}
.jy-branches{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:16px}
.jy-branch-chip{display:inline-flex;align-items:center;gap:7px;background:#f0f0eb;color:#353532;font-size:10px;font-weight:600;line-height:1.5;padding:7px 11px;border-radius:20px;letter-spacing:.01em}
.jy-branch-chip:before{content:'';display:block;width:5px;height:5px;background:currentColor;border-radius:50%}
.jy-branch-chip[data-branch=realestate]{background:#eaf1f9;color:#335f91}
.jy-branch-chip[data-branch=terra]{background:#eaf3ed;color:#35664a}
.jy-branch-chip[data-branch=financial]{background:#f0ecf7;color:#695293}
.jy-result h3{font-size:clamp(26px,2.7vw,37px);line-height:1.12;letter-spacing:-.045em;font-weight:600;margin:26px 0 0;max-width:520px}
.jy-summary{font-size:13px;line-height:1.9;color:#60605d;margin:19px 0 0;max-width:550px}
.jy-steps{list-style:none;margin:29px 0 0;padding:0;display:grid;gap:0}
.jy-steps li{display:flex;align-items:flex-start;gap:15px;padding:14px 0;border-top:1px solid #e7e7e1;font-size:12px;line-height:1.7;color:#393936}
.jy-step-number{display:grid;place-items:center;flex-shrink:0;width:25px;height:25px;border:1px solid #dfdfda;border-radius:50%;font-size:9px;font-weight:600;font-variant-numeric:tabular-nums;color:#696966}
.jy-routing{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin-top:24px}
.jy-routing>span{font-size:9px;line-height:1.6;color:#696966}
.jy-routing .jy-branches{margin:0}
.jy-prep{padding:36px;background:#fafaf8;border-left:1px solid #e2e2db;min-width:0;display:flex;flex-direction:column}
.jy-prep h3{font-size:23px;line-height:1.2;letter-spacing:-.035em;margin:18px 0 0;font-weight:600}
.jy-prep-intro{font-size:11px;color:#696966;line-height:1.8;margin:10px 0 0}
.jy-data{list-style:none;margin:23px 0 0;padding:0}
.jy-data li{display:flex;align-items:flex-start;gap:13px;padding:13px 0;border-top:1px solid #e2e2db;font-size:12px;color:#393936;line-height:1.75}
.jy-data-number{font-size:9px;font-weight:600;color:#74746c;flex-shrink:0;line-height:2.4;font-variant-numeric:tabular-nums}
.jy-next{margin:18px 0 22px}
.jy-next>span{font-size:8px;font-weight:600;letter-spacing:.12em;line-height:1.7;color:#696966}
.jy-next p{font-size:11px;line-height:1.8;color:#60605d;margin:7px 0 0}
#journey .jy-button,.journey-dialog .jy-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:48px;border:1px solid transparent;border-radius:30px;padding:14px 20px;font-size:11px;font-weight:600;line-height:1.6;text-decoration:none;transition:background .18s,border-color .18s}
#journey .jy-button-primary,.journey-dialog .jy-button-primary{background:#171717;color:#fff;border-color:#171717}
#journey .jy-button-primary:hover,.journey-dialog .jy-button-primary:hover{background:#383833;border-color:#383833}
.jy-button svg{width:18px;height:18px}
.jy-prep .jy-button{width:100%;margin-top:auto}
.jy-prep-note{font-size:10px;line-height:1.7;text-align:center;color:#696966;margin:11px 0 0}
.jy-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.jy-dialog-open{overflow:hidden}
dialog.journey-dialog{width:min(700px,calc(100% - 28px));max-height:calc(100svh - 36px);padding:0;border:1px solid #dfdfda;border-radius:26px;background:#fff;color:#171717;overflow:auto;box-shadow:0 32px 100px #00000030;overscroll-behavior:contain}
dialog.journey-dialog[open]{animation:none!important;opacity:1;transform:none}
dialog.journey-dialog::backdrop{background:#1111108c;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.journey-dialog .jy-dialog-close{position:absolute;right:17px;top:17px;width:44px;height:44px;display:grid;place-items:center;background:#f0f0eb;color:#41413b;border:0;border-radius:50%;z-index:2}
.journey-dialog .jy-dialog-close:hover{background:#e5e5de}
.jy-dialog-close svg{width:21px;height:21px}
.jy-dialog-body{padding:48px 42px 34px}
.jy-dialog-body>.jy-eyebrow{padding-right:45px}
.jy-dialog-body h2{font-size:37px;line-height:1.12;letter-spacing:-.045em;margin:20px 0 0;font-weight:600;max-width:470px}
.jy-dialog-body h2:focus{outline:none}
.jy-dialog-intro{font-size:12px;line-height:1.85;color:#60605d;margin:17px 0 0;max-width:480px}
.jy-brief-label{display:block;font-size:11px;font-weight:600;color:#393936;line-height:1.7;margin-top:26px}
.jy-brief-label span{display:block;font-size:10px;font-weight:400;color:#696966;margin-top:3px}
.journey-dialog .jy-brief{display:block;width:100%;min-height:240px;max-height:420px;resize:vertical;border:1px solid #dfdfda;border-radius:12px;background:#fafaf8;color:#393936;font:inherit;font-size:12px;line-height:1.8;padding:17px;margin-top:10px;tab-size:2;white-space:pre-wrap;overflow-wrap:anywhere}
.jy-brief-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.journey-dialog .jy-button-secondary{background:#fff;color:#393936;border-color:#d1d1c8}
.journey-dialog .jy-button-secondary:hover{background:#f3f3ef;border-color:#aaa99f}
.jy-copy-status{font-size:11px;line-height:1.8;color:#353532;margin:11px 0 0;min-height:20px}
.jy-contact{display:flex;align-items:center;justify-content:space-between;gap:22px;border-top:1px solid #dfdfda;padding-top:23px;margin-top:21px}
.jy-contact h3{font-size:14px;font-weight:600;letter-spacing:-.02em;line-height:1.5;margin:0}
.jy-contact p{font-size:11px;line-height:1.8;color:#696966;margin:6px 0 0;max-width:290px}
.jy-contact-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;color:#353532;font-size:12px;font-weight:600;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
.jy-contact-link svg{width:19px;height:19px}
.motion-paused #journey *,.motion-paused .journey-dialog *{transition:none!important;animation:none!important}
@media(max-width:1100px){.jy-heading{gap:32px}.jy-heading>p{max-width:260px}.jy-needs{gap:8px}#journey .jy-need{padding:17px 10px;gap:6px;font-size:11px;min-height:83px}.jy-need-icon{width:27px}.jy-need-icon svg{width:23px;height:23px}.jy-result,.jy-prep{padding:28px}.jy-route-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.jy-context{align-items:flex-start}.jy-options{max-width:70%}}
@media(max-width:820px){.journey-section{padding-block:72px;scroll-margin-top:78px}.jy-heading{display:block;margin-bottom:28px}.jy-heading h2{font-size:43px}.jy-heading>p{max-width:470px;margin-top:22px;font-size:12px}.jy-needs{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}#journey .jy-need{min-height:76px;padding:15px 13px;gap:9px;font-size:11px}.jy-context{display:block;padding:25px 0}.jy-options{justify-content:flex-start;max-width:none;margin-top:13px}.jy-route-grid{grid-template-columns:minmax(0,1fr)}.jy-result{padding:30px}.jy-prep{padding:30px;border-left:0;border-top:1px solid #e2e2db}.jy-prep .jy-button{max-width:360px}.jy-prep-note{text-align:left}.jy-result h3{font-size:33px;max-width:550px}.jy-prep h3{font-size:25px}.jy-empty{justify-content:flex-start;padding:35px 8px 0;min-height:143px}}
@media(max-width:480px){.journey-section{padding-block:57px}.jy-heading h2{font-size:34px;letter-spacing:-.05em;line-height:1.12}.jy-heading>p{font-size:12px;line-height:1.85;margin-top:20px}.jy-eyebrow{font-size:9px}.jy-needs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}#journey .jy-need{flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;font-size:10px;min-height:88px;padding:12px 10px;border-radius:12px}.jy-need-icon{width:25px;height:25px}.jy-need-icon svg{width:24px;height:24px}.jy-choice-dot{right:9px;top:9px;width:4px;height:4px}.jy-empty{gap:14px;padding-top:30px}.jy-empty-orbit{width:39px;height:39px}.jy-empty h3{font-size:16px}.jy-empty p{font-size:11px;margin-top:7px}.jy-question{font-size:12px}#journey .jy-option{font-size:10px;padding:11px 13px}.jy-route-grid{border-radius:18px}.jy-result,.jy-prep{padding:25px 21px}.jy-result h3{font-size:29px;margin-top:22px}.jy-summary{font-size:12px;line-height:1.85;margin-top:16px}.jy-steps{margin-top:24px}.jy-steps li{font-size:11px;gap:12px;padding:12px 0}.jy-routing{margin-top:20px}.jy-prep h3{font-size:22px}.jy-data li{font-size:11px}.jy-next p{font-size:11px}.jy-dialog-body{padding:52px 23px 26px}.jy-dialog-body h2{font-size:29px}.jy-dialog-body>.jy-eyebrow{font-size:8px;padding-right:22px}.journey-dialog .jy-dialog-close{top:11px;right:11px;width:44px;height:44px}.jy-dialog-intro{font-size:11px}.jy-brief-label{margin-top:22px}.journey-dialog .jy-brief{font-size:11px;min-height:240px;padding:13px}.jy-brief-actions{display:grid;grid-template-columns:1fr;gap:9px}.journey-dialog .jy-button{width:100%;font-size:11px}.jy-contact{align-items:flex-start;flex-direction:column;gap:12px;padding-top:20px;margin-top:18px}.jy-contact-link{min-height:44px;font-size:12px}.jy-copy-status{font-size:10px}.jy-contact p{max-width:none}}
@media(prefers-reduced-motion:reduce){#journey *,#journey *::before,#journey *::after,.journey-dialog,.journey-dialog *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Keep the close action within reach while reviewing a long summary. */
.journey-dialog .jy-dialog-close{position:sticky;top:14px;right:auto;margin:14px 14px -58px auto;z-index:5}
@media(max-width:480px){.journey-dialog .jy-dialog-close{top:11px;margin:11px 11px -55px auto}}

/* Fixed header offset is supplied by the shared document scroll padding. */
.journey-section{scroll-margin-top:0}
