/* Homepage block styles */
/* ── Steps (Get started) ── */
.ll-how-it-works {
	--ll-steps-accent-1: #0066ff;
	--ll-steps-accent-2: #0052cc;
	--ll-steps-accent-3: #00a32a;
	position: relative;
	overflow-x: clip;
	isolation: isolate;
}
.ll-how-it-works::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(244, 247, 252, 0) 28%),
		radial-gradient(ellipse 90% 55% at 12% -8%, rgba(0, 102, 255, 0.09) 0%, transparent 58%),
		radial-gradient(ellipse 70% 50% at 88% 108%, rgba(0, 163, 42, 0.07) 0%, transparent 55%);
	pointer-events: none;
}
.ll-how-it-works::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(2, 12, 42, 0.045) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 88%);
	pointer-events: none;
}
.ll-how-it-works .ll-container {
	position: relative;
	z-index: 1;
}

/* Intro */
.ll-how-it-works__intro {
	text-align: center;
	max-width: 44rem;
	margin: 0 auto 3.25rem;
}
.ll-how-it-works__intro .ll-section-eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 1rem;
	padding: 0.4rem 0.95rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--ll-primary);
}
.ll-how-it-works__intro h2 {
	font-size: clamp(1.875rem, 3.2vw, 2.375rem);
	margin: 0;
	font-family: "DM Sans", sans-serif;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.025em;
	color: var(--ll-navy);
	text-wrap: balance;
}
.ll-how-it-works__intro p {
	color: #5b6b7c;
	margin: 1rem auto 0;
	font-size: 1.0625rem;
	line-height: 1.65;
	max-width: 38rem;
	text-wrap: pretty;
}

/* Step grid + timeline rail */
.ll-steps {
	display: grid;
	gap: 1.5rem;
	position: relative;
}
@media (min-width: 900px) {
	.ll-steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.25rem;
		padding-top: 0;
		overflow: visible;
	}
	.ll-steps::before {
		content: "";
		position: absolute;
		/* Align through center of in-card step numbers */
		top: 2.875rem;
		left: calc(16.666% + 1.5rem);
		right: calc(16.666% + 1.5rem);
		height: 2px;
		background: linear-gradient(
			90deg,
			transparent 0%,
			var(--ll-surface) 8%,
			var(--ll-surface) 92%,
			transparent 100%
		);
		z-index: 0;
	}
	.ll-steps::after {
		content: "";
		position: absolute;
		top: 2.875rem;
		left: calc(16.666% + 1.5rem);
		width: calc(66.666% - 3rem);
		height: 2px;
		background: linear-gradient(90deg, var(--ll-steps-accent-1), var(--ll-steps-accent-2) 50%, var(--ll-steps-accent-3));
		opacity: 0.35;
		z-index: 0;
		border-radius: 2px;
	}
}

/* Step cards — shared */
.ll-step-card {
	--ll-step-accent: var(--ll-steps-accent-1);
	--ll-step-tint: rgba(0, 102, 255, 0.05);
	--ll-step-border: rgba(0, 102, 255, 0.14);
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1.375rem 1.25rem 1.25rem;
	border-radius: 16px;
	border: 1px solid var(--ll-step-border);
	background:
		linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, #fff 38%),
		linear-gradient(180deg, var(--ll-step-tint) 0%, transparent 42%);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.9) inset,
		0 10px 28px rgba(2, 12, 42, 0.05),
		0 2px 8px rgba(2, 12, 42, 0.03);
	transition:
		transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.28s ease;
	overflow: hidden;
}
.ll-step-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--ll-step-accent),
		color-mix(in srgb, var(--ll-step-accent) 55%, #fff)
	);
}
.ll-step-card::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 70%;
	height: 70%;
	background: radial-gradient(circle at 100% 0%, var(--ll-step-tint) 0%, transparent 72%);
	pointer-events: none;
	z-index: 0;
}
.ll-step-card--setup {
	--ll-step-accent: var(--ll-steps-accent-1);
	--ll-step-tint: rgba(0, 102, 255, 0.07);
	--ll-step-border: rgba(0, 102, 255, 0.14);
}
.ll-step-card--connect {
	--ll-step-accent: var(--ll-steps-accent-2);
	--ll-step-tint: rgba(0, 82, 204, 0.07);
	--ll-step-border: rgba(0, 82, 204, 0.14);
}
.ll-step-card--grow {
	--ll-step-accent: var(--ll-steps-accent-3);
	--ll-step-tint: rgba(0, 163, 42, 0.07);
	--ll-step-border: rgba(0, 163, 42, 0.16);
}
@media (hover: hover) {
	.ll-step-card:hover {
		transform: translateY(-4px);
		border-color: color-mix(in srgb, var(--ll-step-accent) 28%, #fff);
		box-shadow:
			0 1px 0 rgba(255, 255, 255, 0.95) inset,
			0 18px 40px rgba(2, 12, 42, 0.09),
			0 4px 12px rgba(2, 12, 42, 0.04);
	}
}
.ll-step-card:focus-within {
	outline: 2px solid color-mix(in srgb, var(--ll-step-accent) 45%, transparent);
	outline-offset: 3px;
}

/* Card head — floating on desktop */
.ll-step-card__head,
.ll-step-card h3,
.ll-step-card__action,
.ll-step-card__gets,
.ll-step-card__ui {
	position: relative;
	z-index: 1;
}
.ll-step-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
	position: relative;
	z-index: 2;
}
@media (min-width: 900px) {
	.ll-step-card__head {
		margin-bottom: 1.125rem;
	}
}
.ll-step__num {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-weight: 800;
	font-size: 1.0625rem;
	line-height: 1;
	font-family: "DM Sans", sans-serif;
	color: #fff;
	background: linear-gradient(
		145deg,
		var(--ll-step-accent),
		color-mix(in srgb, var(--ll-step-accent) 68%, #020c2a)
	);
	box-shadow:
		0 0 0 5px #fff,
		0 0 0 7px color-mix(in srgb, var(--ll-step-accent) 16%, transparent),
		0 8px 18px color-mix(in srgb, var(--ll-step-accent) 28%, transparent);
}
@media (min-width: 900px) {
	.ll-step__num {
		width: 3.25rem;
		height: 3.25rem;
		font-size: 1.125rem;
	}
}
.ll-step-card__meta {
	display: inline-flex;
	align-items: center;
	min-height: 1.625rem;
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--ll-step-accent);
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid color-mix(in srgb, var(--ll-step-accent) 22%, transparent);
	box-shadow: 0 2px 6px rgba(2, 12, 42, 0.04);
	white-space: nowrap;
}

/* Step icon + title */
.ll-step-card h3 {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	margin: 0 0 0.625rem;
	font-family: "DM Sans", sans-serif;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.015em;
	color: var(--ll-navy);
}
.ll-step-card h3::before {
	content: "";
	flex-shrink: 0;
	width: 1.375rem;
	height: 1.375rem;
	margin-top: 0.1rem;
	border-radius: 8px;
	background-color: color-mix(in srgb, var(--ll-step-accent) 10%, #fff);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 0.875rem;
	border: 1px solid color-mix(in srgb, var(--ll-step-accent) 18%, transparent);
}
.ll-step-card--setup h3::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2.5 12.5V5.75L7 2.75L11.5 5.75V12.5' stroke='%230066ff' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5.5 12.5V8.75H8.5V12.5' stroke='%230066ff' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ll-step-card--connect h3::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M7 2.5V7.75M7 7.75L9.25 5.5M7 7.75L4.75 5.5' stroke='%230052cc' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2.75 11.5H11.25' stroke='%230052cc' stroke-width='1.35' stroke-linecap='round'/%3E%3C/svg%3E");
}
.ll-step-card--grow h3::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2.75 7.25L5.5 10L11.25 4.25' stroke='%2300a32a' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='2.25' y='2.25' width='9.5' height='9.5' rx='2' stroke='%2300a32a' stroke-width='1.35'/%3E%3C/svg%3E");
}

.ll-step-card__action {
	margin: 0 0 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(232, 238, 248, 0.95);
	font-size: 0.9375rem;
	line-height: 1.6;
	color: #5b6b7c;
}

/* Benefit list — inset panel */
.ll-step-card__gets {
	margin: 0 0 1rem;
	padding: 0.75rem 0.875rem;
	list-style: none;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(232, 238, 248, 0.95);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
	display: flex;
	flex-direction: column;
	gap: 0;
}
.ll-step-card__gets li {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	padding: 0.5rem 0;
	font-size: 0.84375rem;
	line-height: 1.5;
	color: var(--ll-navy);
	border-bottom: 1px solid rgba(232, 238, 248, 0.75);
}
.ll-step-card__gets li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}
.ll-step-card__gets li:first-child {
	padding-top: 0;
}
.ll-step-card__gets li::before {
	content: "";
	flex: 0 0 1rem;
	width: 1rem;
	height: 1rem;
	margin-top: 0.2em;
	border-radius: 50%;
	background-color: color-mix(in srgb, var(--ll-step-accent) 10%, #fff);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none'%3E%3Cpath d='M2.5 5.25L4.2 7L7.5 3.5' stroke='%2300a32a' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 0.625rem;
	border: 1px solid color-mix(in srgb, var(--ll-step-accent) 22%, transparent);
}

/* Mini app preview */
.ll-step-card__ui {
	margin-top: auto;
	position: relative;
	padding: 2.125rem 0.875rem 0.875rem;
	border-radius: 11px;
	overflow: hidden;
	font-size: 0.71875rem;
	line-height: 1.55;
	color: #5b6b7c;
	background: #fbfcfe;
	border: 1px solid #d8e2f0;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.9) inset,
		0 6px 16px rgba(2, 12, 42, 0.04);
	font-family: ui-monospace, "SF Mono", "Cascadia Code", "Segoe UI Mono", monospace;
}
.ll-step-card__ui::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1.75rem;
	background: linear-gradient(180deg, #f3f6fb 0%, #e9eff8 100%);
	border-bottom: 1px solid #d8e2f0;
	background-image:
		radial-gradient(circle at 0.875rem 50%, #ff5f57 0.22rem, transparent 0.23rem),
		radial-gradient(circle at 1.75rem 50%, #febc2e 0.22rem, transparent 0.23rem),
		radial-gradient(circle at 2.625rem 50%, #28c840 0.22rem, transparent 0.23rem);
	background-repeat: no-repeat;
}
.ll-step-card__ui::after {
	content: "";
	position: absolute;
	top: 1.75rem;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.12), transparent);
}
.ll-step-card__ui strong {
	color: var(--ll-navy);
	font-weight: 600;
}
.ll-step-card__ui .ll-ui-status {
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 0.6875rem;
	vertical-align: 0.05em;
}

/* Mobile — full-width cards, no cramped gutter rail */
@media (max-width: 899px) {
	.ll-steps {
		gap: 1.25rem;
	}
	.ll-steps::before,
	.ll-steps::after {
		display: none;
	}
	.ll-step-card {
		margin-left: 0;
		padding: 1.25rem 1.125rem 1.125rem;
	}
	.ll-step-card__head {
		position: static;
		flex-direction: row;
		align-items: center;
		margin-bottom: 0.875rem;
	}
	.ll-step__num {
		width: 2.75rem;
		height: 2.75rem;
		font-size: 1rem;
		box-shadow:
			0 0 0 4px #fff,
			0 0 0 6px color-mix(in srgb, var(--ll-step-accent) 14%, transparent),
			0 4px 10px color-mix(in srgb, var(--ll-step-accent) 22%, transparent);
	}
}

/* Footer */
.ll-how-it-works__footer {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem 2rem;
	margin-top: 5.5rem;
	text-align: left;
}
.ll-how-it-works__footer p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: #5b6b7c;
	max-width: 34rem;
}
.ll-how-it-works__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.85rem;
	justify-content: flex-start;
	flex-shrink: 0;
}
.ll-how-it-works__footer .ll-btn + .ll-btn {
	margin-left: 0;
}

@media (max-width: 640px) {
	.ll-how-it-works__footer {
		flex-direction: column;
		align-items: stretch;
		margin-top: 2.5rem;
	}
	.ll-how-it-works__intro {
		margin-bottom: 2rem;
	}
	.ll-how-it-works__intro h2 {
		font-size: clamp(1.625rem, 7vw, 2rem);
	}
	.ll-how-it-works__intro p {
		font-size: 1rem;
	}
	.ll-step-card h3 {
		font-size: 1.0625rem;
	}
	.ll-step-card {
		padding: 1.125rem 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ll-step-card {
		transition: none;
	}
}

