/* Connected workflow pages */

.autonemo-workflow-page {
	--wf-accent: #e2231a;
	--wf-accent-soft: rgba(226, 35, 26, 0.1);
	--wf-ink: #0b0c0c;
	--wf-muted: #5c6570;
	--wf-border: rgba(11, 12, 12, 0.08);
	--wf-radius: 20px;
}

.wf-inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 clamp(16px, 3vw, 24px);
}

.wf-hero {
	padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px);
	background:
		radial-gradient(ellipse 80% 60% at 10% 0%, rgba(226, 35, 26, 0.08), transparent 55%),
		linear-gradient(180deg, #fff 0%, #f8fafb 100%);
	border-bottom: 1px solid var(--wf-border);
}

.wf-hero--hub {
	text-align: center;
}

.wf-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 20px;
	font-size: 0.875rem;
	color: var(--wf-muted);
}

.wf-breadcrumb a {
	color: var(--wf-accent);
	text-decoration: none;
}

.wf-breadcrumb a:hover {
	text-decoration: underline;
}

.wf-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wf-accent) !important;
	-webkit-text-fill-color: var(--wf-accent) !important;
}

.wf-eyebrow__step {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--wf-accent-soft);
}

.wf-hero__title {
	margin: 0 0 16px;
	font-size: clamp(1.85rem, 4vw, 3rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--wf-ink) !important;
	-webkit-text-fill-color: var(--wf-ink) !important;
}

.wf-hero__lead {
	max-width: 720px;
	margin: 0;
	font-size: clamp(1rem, 1.4vw, 1.125rem);
	line-height: 1.7;
	color: var(--wf-muted) !important;
	-webkit-text-fill-color: var(--wf-muted) !important;
}

.wf-hero--hub .wf-hero__lead {
	margin-left: auto;
	margin-right: auto;
}

.wf-hero__actions {
	margin-top: 28px;
}

.wf-hero__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-top: 24px;
	border-radius: 16px;
	background: var(--wf-accent-soft);
	color: var(--wf-accent);
	font-size: 1.35rem;
}

.wf-module-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}

.wf-module-tag {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid var(--wf-border);
	background: #fff;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--wf-ink) !important;
	-webkit-text-fill-color: var(--wf-ink) !important;
}

.wf-hub-grid {
	padding-top: 0;
}

.wf-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
}

.wf-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	min-height: 100%;
	padding: clamp(20px, 2.5vw, 28px);
	border-radius: var(--wf-radius);
	border: 1px solid var(--wf-border);
	background: #fff;
	box-shadow: 0 8px 28px rgba(11, 12, 12, 0.04);
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.wf-card:hover,
.wf-card:focus-visible {
	transform: translateY(-4px);
	border-color: rgba(226, 35, 26, 0.25);
	box-shadow: 0 16px 40px rgba(226, 35, 26, 0.1);
}

.wf-card__step {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--wf-accent) !important;
	-webkit-text-fill-color: var(--wf-accent) !important;
}

.wf-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 12px 0 14px;
	border-radius: 12px;
	background: var(--wf-accent-soft);
	color: var(--wf-accent);
	font-size: 1.1rem;
}

.wf-card__title {
	margin: 0 0 10px;
	font-size: 1.15rem;
	line-height: 1.3;
	color: var(--wf-ink) !important;
	-webkit-text-fill-color: var(--wf-ink) !important;
}

.wf-card__excerpt {
	flex: 1;
	margin: 0 0 16px;
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--wf-muted) !important;
	-webkit-text-fill-color: var(--wf-muted) !important;
}

.wf-card__link {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--wf-accent) !important;
	-webkit-text-fill-color: var(--wf-accent) !important;
}

.wf-section {
	padding: clamp(40px, 5vw, 64px) 0;
}

.wf-section:nth-child(even) {
	background: #f8fafb;
}

.wf-section__title {
	margin: 0 0 12px;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	color: var(--wf-ink) !important;
	-webkit-text-fill-color: var(--wf-ink) !important;
}

.wf-section__lead {
	max-width: 820px;
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.75;
	color: var(--wf-muted) !important;
	-webkit-text-fill-color: var(--wf-muted) !important;
}

.wf-flow-list {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.wf-flow-step {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 16px;
	align-items: start;
	padding: 18px 20px;
	border-radius: 16px;
	border: 1px solid var(--wf-border);
	background: #fff;
}

.wf-flow-step__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--wf-accent);
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	font-weight: 800;
}

.wf-flow-step strong {
	display: block;
	margin-bottom: 6px;
	color: var(--wf-ink) !important;
	-webkit-text-fill-color: var(--wf-ink) !important;
}

.wf-flow-step p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--wf-muted) !important;
	-webkit-text-fill-color: var(--wf-muted) !important;
}

.wf-key-list {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 20px;
}

.wf-key-list li {
	position: relative;
	padding-left: 22px;
	font-size: 0.96rem;
	line-height: 1.55;
	color: var(--wf-ink) !important;
	-webkit-text-fill-color: var(--wf-ink) !important;
}

.wf-key-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--wf-accent);
}

.wf-benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 20px;
}

.wf-benefit {
	padding: 20px;
	border-radius: 16px;
	border: 1px solid var(--wf-border);
	background: #fff;
}

.wf-benefit__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: var(--wf-accent-soft);
	color: var(--wf-accent);
	font-weight: 800;
	font-size: 0.85rem;
}

.wf-benefit p {
	margin: 0;
	font-size: 0.94rem;
	line-height: 1.6;
	color: var(--wf-muted) !important;
	-webkit-text-fill-color: var(--wf-muted) !important;
}

.wf-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	padding: 0 clamp(16px, 3vw, 24px) clamp(40px, 5vw, 56px);
	max-width: 1140px;
	margin: 0 auto;
}

.wf-nav__link {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px 20px;
	border-radius: 16px;
	border: 1px solid var(--wf-border);
	background: #fff;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wf-nav__link:hover {
	border-color: rgba(226, 35, 26, 0.3);
	box-shadow: 0 8px 24px rgba(11, 12, 12, 0.06);
}

.wf-nav__link span {
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--wf-muted) !important;
	-webkit-text-fill-color: var(--wf-muted) !important;
}

.wf-nav__link strong {
	font-size: 1rem;
	color: var(--wf-ink) !important;
	-webkit-text-fill-color: var(--wf-ink) !important;
}

.wf-nav__link--next {
	text-align: right;
}

.wf-cta {
	padding: clamp(48px, 6vw, 72px) 0;
	background: linear-gradient(135deg, #0b0c0c 0%, #1a1d24 100%);
	color: #fff;
	isolation: isolate;
}

.wf-cta__inner {
	text-align: center;
}

.wf-cta__title {
	margin: 0 0 12px;
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}

.wf-cta__lead {
	max-width: 640px;
	margin: 0 auto 24px;
	color: rgba(255, 255, 255, 0.85) !important;
	-webkit-text-fill-color: rgba(255, 255, 255, 0.85) !important;
}

.wf-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

body.autonemo-workflow-page-active .autonemo-workflow-page .wf-cta .primary-btn2 {
	background: rgba(255, 255, 255, 0.1) !important;
	border: 1px solid rgba(255, 255, 255, 0.35) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}

body.autonemo-workflow-page-active .autonemo-workflow-page .wf-cta .primary-btn2 > span,
body.autonemo-workflow-page-active .autonemo-workflow-page .wf-cta .primary-btn2::after {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}

body.autonemo-workflow-page-active .autonemo-workflow-page .wf-cta .primary-btn2:hover {
	background: #fff !important;
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

body.autonemo-workflow-page-active .autonemo-workflow-page .wf-cta .primary-btn2:hover > span,
body.autonemo-workflow-page-active .autonemo-workflow-page .wf-cta .primary-btn2:hover::after {
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
}

body.autonemo-workflow-page-active .autonemo-workflow-page .wf-cta .primary-btn1 > span,
body.autonemo-workflow-page-active .autonemo-workflow-page .wf-cta .primary-btn1::after {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}

.wf-empty {
	padding: 80px 0;
	text-align: center;
}

/* Homepage process card links */
.autonemo-process-card-link {
	display: block;
	height: 100%;
	text-decoration: none;
	color: inherit;
	border-radius: inherit;
}

.autonemo-process-card-link:focus-visible {
	outline: 2px solid var(--autonemo-red, #e2231a);
	outline-offset: 3px;
}

.home3-process-section .autonemo-process-card-link .process-card {
	height: 100%;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home3-process-section .autonemo-process-card-link:hover .process-card,
.home3-process-section .autonemo-process-card-link:focus-visible .process-card {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(11, 12, 12, 0.1);
}

.autonemo-process-hub-cta {
	margin: 0 0 8px;
}

.home3-process-section .autonemo-process-title-link {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.home3-process-section .autonemo-process-title-link:hover,
.home3-process-section .autonemo-process-title-link:focus-visible {
	color: var(--autonemo-red, #e2231a);
	text-decoration: none;
}

@media (max-width: 991px) {
	.wf-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wf-benefits {
		grid-template-columns: 1fr;
	}

	.wf-key-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575px) {
	.wf-cards {
		grid-template-columns: 1fr;
	}

	.wf-nav {
		grid-template-columns: 1fr;
	}

	.wf-nav__link--next {
		text-align: left;
	}
}
