/* How it works (howitworks.html): the step overview and the timeline that links the five steps.
   Bands, hero, proof strip, headings, cards, notes and buttons are shared roles of products/editorial.css and
   care/landing.css (.mc-care); what follows is the timeline layout only.
   One rail ties the steps together: a dashed line across the overview, continued by a solid line down the
   numbered markers of the steps. */
.mc-hiw .hiw-steps>.me-wrap>:is(h2,.me-section-lead){text-align:center;margin-inline:auto}

/* overview: five linked stops along a dashed line */
.mc-hiw .hiw-overview{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;list-style:none;margin:40px 0 0;padding:0}
.mc-hiw .hiw-overview::before{content:"";position:absolute;top:31px;left:10%;right:10%;height:2px;background:repeating-linear-gradient(90deg,var(--terracotta,#c6522d) 0 10px,transparent 10px 18px)}
.mc-hiw .hiw-overview li{position:relative;margin:0;padding:0;text-align:center}
.mc-hiw .hiw-overview a{display:flex;flex-direction:column;align-items:center;gap:6px;padding:0 4px 8px;border-radius:12px;color:inherit;text-decoration:none}
.mc-hiw .hiw-overview a:hover strong,.mc-hiw .hiw-overview a:focus-visible strong{text-decoration:underline;text-underline-offset:4px}
.mc-hiw .hiw-dot{position:relative;display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin-bottom:6px;border:2px solid var(--terracotta,#c6522d);border-radius:50%;background:#fff;transition:background .15s}
.mc-hiw .hiw-overview a:hover .hiw-dot{background:#fcf1ea}
.mc-hiw .hiw-dot .me-icon{width:30px;height:30px}
.mc-hiw .hiw-dot b{position:absolute;top:-6px;right:-8px;display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--forest-green,#2c3e2f);color:#fff;font:700 14px/1 Manrope,sans-serif}
.mc-hiw .hiw-overview strong{font-size:18px;line-height:1.25}
.mc-hiw .hiw-overview small{font-size:14px;line-height:1.35;color:var(--pm-muted,#6f6a62)}

/* timeline: each step hangs from a marker on the rail */
.mc-hiw .hiw-timeline{position:relative;list-style:none;margin:72px 0 0;padding:0}
.mc-hiw .hiw-timeline::before{content:"";position:absolute;top:32px;bottom:0;left:31px;width:2px;background:linear-gradient(var(--terracotta,#c6522d) 85%,transparent)}
.mc-hiw .hiw-step{position:relative;margin:0;padding:0 0 0 96px;scroll-margin-top:calc(var(--header) + 24px)}
.mc-hiw .hiw-step+.hiw-step{margin-top:88px}
.mc-hiw .hiw-marker{position:absolute;top:0;left:0;display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;background:var(--forest-green,#2c3e2f);color:#fff;box-shadow:0 0 0 8px var(--pm-section-bg,#fff)}
.mc-hiw .hiw-marker .me-icon{width:30px;height:30px;color:#fff;fill:currentColor}
.mc-hiw .hiw-marker b{position:absolute;top:-6px;right:-8px;display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--terracotta,#c6522d);color:#fff;font:700 14px/1 Manrope,sans-serif}
.mc-hiw .hiw-step-head{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:48px;align-items:center}
.mc-hiw .hiw-step-copy .me-eyebrow{margin:6px 0 10px}
.mc-hiw .hiw-step-copy h3{margin:0 0 16px;font-size:clamp(28px,2.8vw,38px);line-height:1.15;letter-spacing:-.02em}
.mc-hiw .hiw-step-copy .me-section-lead{margin:0}
.mc-hiw .hiw-step-copy .me-actions{margin-top:20px}
.mc-hiw .hiw-photo{margin:0}
.mc-hiw .hiw-photo img{display:block;width:100%;height:auto;max-width:none;margin:0;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
.mc-hiw .hiw-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;list-style:none;margin:32px 0 0;padding:0}
.mc-hiw .hiw-details[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.mc-hiw .hiw-details li{margin:0;padding:22px 20px}
.mc-hiw :is(.hiw-details,.hiw-inside) h4{margin:0 0 10px;font-size:18px;line-height:1.3;letter-spacing:-.01em}
/* each line of a card text (split at <br> in the view) is its own bulleted paragraph, a little apart from the previous one */
.mc-hiw .hiw-details p{font-size:16px;line-height:1.55;margin:0}.mc-hiw .hiw-details p+p{margin-top:10px}
.mc-hiw .hiw-details p{position:relative;padding-left:18px}.mc-hiw .hiw-details p::before{content:"";position:absolute;left:2px;top:.66em;width:6px;height:6px;border-radius:50%;background:var(--forest-green,#2c3e2f)}
.mc-hiw .hiw-details p a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.mc-hiw .hiw-details li:has(>.me-link){display:flex;flex-direction:column;align-items:flex-start}.mc-hiw .hiw-details li>.me-link{display:inline-flex;margin-top:auto;padding-top:16px;font-size:16px}
.mc-hiw .hiw-inside{margin-top:16px;padding:22px 24px;background:#fcf8f3}
.mc-hiw .hiw-inside .sn-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 32px;margin:0}
.mc-hiw .hiw-step>.me-note{margin-top:18px}
.mc-hiw .hiw-steps .pm-start-cta{margin-top:72px}

@media(max-width:1100px){
	.mc-hiw .hiw-details,.mc-hiw .hiw-details[data-count="3"]{grid-template-columns:repeat(2,minmax(0,1fr))}
	.mc-hiw .hiw-details[data-count="3"]>li:last-child{grid-column:1/-1}
}
@media(max-width:900px){
	.mc-hiw .hiw-step-head{grid-template-columns:1fr;gap:24px}
	.mc-hiw .hiw-photo img{aspect-ratio:3/2}
	.mc-hiw .hiw-step+.hiw-step{margin-top:64px}
}
@media(max-width:760px){
	.mc-hiw .hiw-overview{gap:4px}
	.mc-hiw .hiw-overview::before{top:23px}
	.mc-hiw .hiw-dot{width:48px;height:48px}
	.mc-hiw .hiw-dot .me-icon{width:22px;height:22px}
	.mc-hiw .hiw-dot b{width:20px;height:20px;font-size:12px;top:-5px;right:-7px}
	.mc-hiw .hiw-overview strong{font-size:14px}
	.mc-hiw .hiw-overview small{display:none}
	.mc-hiw .hiw-timeline{margin-top:48px}
	.mc-hiw .hiw-timeline::before{top:24px;left:23px}
	.mc-hiw .hiw-step{padding-left:64px}
	.mc-hiw .hiw-marker{width:48px;height:48px;box-shadow:0 0 0 6px var(--pm-section-bg,#fff)}
	.mc-hiw .hiw-marker .me-icon{width:22px;height:22px}
	.mc-hiw .hiw-marker b{width:20px;height:20px;font-size:12px;top:-5px;right:-7px}
	.mc-hiw .hiw-inside .sn-checks{grid-template-columns:1fr}
}
@media(max-width:560px){
	.mc-hiw .hiw-details,.mc-hiw .hiw-details[data-count="3"]{grid-template-columns:1fr;gap:12px}
	.mc-hiw .hiw-overview strong{font-size:12px;letter-spacing:-.01em;-webkit-hyphens:auto;hyphens:auto}
	.mc-hiw .hiw-details li{padding:18px}
	.mc-hiw .hiw-timeline::before{left:19px}
	.mc-hiw .hiw-step{padding-left:52px}
	.mc-hiw .hiw-marker{width:40px;height:40px}
	.mc-hiw .hiw-marker .me-icon{width:20px;height:20px}
	.mc-hiw .hiw-step-copy h3{font-size:26px}
	.mc-hiw .hiw-steps .pm-start-cta{margin-top:48px}
}
