/* A five-part companion to the illustrated seller journey. */
.page-buy .illustrated-buyer-journey.five{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;align-items:start;margin:32px 0 0;padding:0;list-style:none}
.page-buy .illustrated-buyer-journey>li{position:relative;min-width:0;padding:20px 16px;border:1px solid var(--border);border-radius:24px;background:white}
.page-buy .illustrated-buyer-journey>li:nth-child(odd){background:rgb(224 210 240 / .42);border-color:transparent}
.page-buy .illustrated-buyer-journey>li:nth-child(even){margin-top:32px}
.page-buy .buyer-step-cap{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:24px}
.page-buy .buyer-step-number{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:50%;background:var(--purple);color:white;font:500 24px/1 Outfit,Arial,sans-serif}
.page-buy .buyer-step-scene{display:block;flex:none;width:64px;height:64px;background:white;border-radius:50%}
.page-buy .illustrated-buyer-journey h3{font-size:23px;line-height:1.2;margin:0 0 12px}
.page-buy .illustrated-buyer-journey p{font-size:16px;line-height:1.55;margin:0;color:var(--muted)}
.page-buy .illustrated-buyer-journey>li:last-child{background:var(--purple);border-color:var(--purple);color:white}
.page-buy .illustrated-buyer-journey>li:last-child p{color:white}
.page-buy .illustrated-buyer-journey>li:last-child .buyer-step-number{background:white;color:var(--purple)}
.page-buy .illustrated-buyer-journey>li:not(:last-child)::after{content:'';position:absolute;left:100%;width:20px;top:36px;height:64px;background:url('/assets/selling-journey-bridge.svg') center/100% 100% no-repeat;pointer-events:none}
.page-buy .illustrated-buyer-journey>li:nth-child(even)::after{top:4px;transform:scaleY(-1)}
@media(min-width:768px) and (max-width:999px){
 .page-buy .illustrated-buyer-journey.five{grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}
 .page-buy .illustrated-buyer-journey>li{grid-column:span 2}
 .page-buy .illustrated-buyer-journey>li:nth-child(even){margin-top:0}
 .page-buy .illustrated-buyer-journey>li:nth-child(n+4){grid-column:span 3}
 .page-buy .illustrated-buyer-journey>li::after{display:none}
}
@media(max-width:767px){
 .page-buy .illustrated-buyer-journey.five{grid-template-columns:1fr;gap:12px;margin-top:24px}
 .page-buy .illustrated-buyer-journey>li{display:grid;grid-template-columns:48px minmax(0,1fr);gap:6px 16px;padding:16px 20px;border-radius:20px}
 .page-buy .illustrated-buyer-journey>li:nth-child(even){margin-top:0}
 .page-buy .buyer-step-cap{grid-column:1;grid-row:1/3;flex-direction:column;justify-content:flex-start;gap:6px;margin:0}
 .page-buy .buyer-step-number{font-size:23px}
 .page-buy .buyer-step-scene{width:40px;height:40px}
 .page-buy .illustrated-buyer-journey h3{grid-column:2;grid-row:1;font-size:23px;margin:0;align-self:end}
 .page-buy .illustrated-buyer-journey p{grid-column:2;grid-row:2;font-size:16px;line-height:1.5}
 .page-buy .illustrated-buyer-journey>li:not(:last-child)::after{left:43px;top:100%;width:2px;height:12px;background:var(--lavender);transform:none}
}
