/* Home page "How it works" ([card2tap_how_it_works], Setup\HowItWorks) — connected horizontal journey (owner's choice
   of 2026-10-02). Sits right under the products: a hairline and the heading start the section; the width is the
   products' container. Icons and numbers are decorative (aria-hidden); the ordered list and the h3 titles carry the
   order and meaning. */

.c2t-hiw {
	--c2t-hiw-ink: var(--c2t-color-ink, #0a0a0a);
	--c2t-hiw-muted: var(--c2t-color-muted, #525252);
	--c2t-hiw-line: var(--c2t-color-border, #e5e5e5);
	--c2t-hiw-accent: var(--c2t-color-accent, #2146f3);
	--c2t-hiw-soft: var(--c2t-color-accent-soft, #eef2ff);
		display: grid;
	gap: 2rem;
	padding-top: 3rem;
	border-top: 1px solid var(--c2t-hiw-line);
	color: var(--c2t-hiw-ink);
}

.c2t-hiw__head {
	display: grid;
	gap: 0.5rem;
}

.c2t-hiw .c2t-hiw__heading {
	margin: 0;
	scroll-margin-top: 96px;
}

.c2t-hiw .c2t-hiw__lead {
	max-width: 44rem;
	margin: 0;
	color: var(--c2t-hiw-muted);
	font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
	line-height: 1.55;
}

.c2t-hiw__list {
	position: relative;
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.c2t-hiw__step {
	position: relative;
	min-width: 0;
	margin: 0;
}

.c2t-hiw h3.c2t-hiw__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.3;
}

.c2t-hiw .c2t-hiw__text {
	margin: 0;
	color: var(--c2t-hiw-muted);
	font-size: 0.95rem;
	line-height: 1.5;
	text-wrap: pretty;
}

.c2t-hiw__icon {
	display: grid;
	place-items: center;
	color: var(--c2t-hiw-accent);
}

.c2t-hiw__glyph {
	width: 22px;
	height: 22px;
}

.c2t-hiw .c2t-hiw__more {
	margin: 0;
}

/* "Read the ordering guide": the site's secondary button (outline pill). The theme underlines links inside sections;
   this one is a button. */
.c2t-hiw a.c2t-hiw__btn,
.elementor .c2t-section .c2t-hiw a.c2t-hiw__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 1.6rem;
	border: 2px solid var(--c2t-hiw-ink);
	border-radius: 999px;
	background: transparent;
	color: var(--c2t-hiw-ink);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.c2t-hiw a.c2t-hiw__btn:hover,
.elementor .c2t-section .c2t-hiw a.c2t-hiw__btn:hover {
	background: var(--c2t-hiw-ink);
	color: #fff;
}

.c2t-hiw a:focus-visible {
	outline: 3px solid var(--c2t-color-focus, #2146f3);
	outline-offset: 3px;
}

/* The journey: icon circles with their numbers on one thin line from 900 px; a vertical line on narrower screens. */
.c2t-hiw .c2t-hiw__step {
	display: grid;
	align-content: start;
	gap: 0.4rem;
}

.c2t-hiw .c2t-hiw__icon {
	position: relative;
	z-index: 1;
	width: 56px;
	height: 56px;
	margin-bottom: 0.65rem;
	border-radius: 50%;
	background: var(--c2t-hiw-soft);
	box-shadow: 0 0 0 8px #fff;
}

.c2t-hiw .c2t-hiw__num {
	position: absolute;
	top: -4px;
	left: 38px;
	z-index: 2;
	display: grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: var(--c2t-hiw-ink);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	box-sizing: border-box;
}

.c2t-hiw .c2t-hiw__step:not(:last-child)::after {
	content: "";
	position: absolute;
	background: #d5dbf3;
}

@media (min-width: 900px) {
	.c2t-hiw .c2t-hiw__list {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 2rem;
	}

	.c2t-hiw .c2t-hiw__step:not(:last-child)::after {
		top: 27px;
		left: 70px;
		right: calc(-2rem + 10px);
		height: 2px;
	}
}

@media (max-width: 899px) {
	.c2t-hiw .c2t-hiw__step {
		grid-template-columns: 56px minmax(0, 1fr);
		column-gap: 1rem;
		padding-bottom: 1.6rem;
	}

	.c2t-hiw .c2t-hiw__step:last-child {
		padding-bottom: 0;
	}

	.c2t-hiw .c2t-hiw__icon {
		grid-row: 1 / span 2;
		margin: 0;
	}

	.c2t-hiw .c2t-hiw__title {
		align-self: end;
		padding-top: 0.35rem;
	}

	.c2t-hiw .c2t-hiw__step:not(:last-child)::after {
		top: 66px;
		bottom: 8px;
		left: 27px;
		width: 2px;
	}
}

@media (max-width: 560px) {
	.c2t-hiw {
		gap: 1.6rem;
		padding-top: 2.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.c2t-hiw a.c2t-hiw__btn {
		transition: none;
	}
}
