/* ==========================================================
   Lead Generation page styles
   Loaded by templates/views/assets/lead-generation.html
   ========================================================== */

.gx-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.gx-split {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
}
.gx-split .h2 {
	margin-top: 18px;
}
.gx-split .lead {
	margin-top: 20px;
	line-height: 1.7;
}
.gx-tabs {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.gx-tabs button {
	height: 40px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	font-size: 14.5px;
	color: #9aa3ae;
	background: transparent;
	transition:
		background 0.3s,
		color 0.3s;
}
.gx-tabs button[aria-selected='true'] {
	color: #04231a;
	background: var(--mint);
}
.gx-panel {
	display: none;
}
.gx-panel.on {
	display: block;
	animation: gx-in 0.5s var(--ease);
}
@keyframes gx-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
}
.gx-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 11px;
	border-radius: 999px;
	font: 400 11.5px/1 var(--font-mono);
	color: #9aa3ae;
	background: rgba(255, 255, 255, 0.06);
}
@media (max-width: 1000px) {
	.gx-cards {
		grid-template-columns: 1fr 1fr;
	}
	.gx-split {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 640px) {
	.gx-cards {
		grid-template-columns: 1fr;
	}
	.gx-tabs {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		border-radius: 16px;
	}
	.gx-tabs button {
		flex: none;
	}
}

.lg-dash {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 12px;
}
.lg-f {
	display: grid;
	gap: 18px;
	padding: 20px;
}
.lg-f small,
.lg-r header span {
	font: 400 11px/1 var(--font-mono);
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #7d8691;
}
.lg-ch {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
}
.lg-ch button {
	padding: 8px 13px;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	font-size: 13.5px;
	color: #c9ced6;
	background: rgba(255, 255, 255, 0.06);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
	transition:
		background 0.25s,
		color 0.25s;
}
.lg-ch button[aria-pressed='true'] {
	color: #04231a;
	background: var(--mint);
	box-shadow: none;
}
.lg-r {
	padding: 18px 20px;
}
.lg-r header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lg-r header b {
	font: 400 34px/1 var(--font-display);
	color: #fff;
	font-weight: 400;
}
.lg-r ul {
	display: grid;
	gap: 6px;
	margin-top: 10px;
}
.lg-r li {
	display: grid;
	grid-template-columns: 34px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 9px 10px;
	border-radius: 12px;
	font-size: 13.5px;
	color: #e7eaee;
	background: rgba(255, 255, 255, 0.03);
	animation: gx-in 0.4s var(--ease) both;
}
.lg-r li i {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	font-style: normal;
	font: 400 11px/1 var(--font-mono);
	color: #04231a;
	background: linear-gradient(135deg, var(--mint), #7ce7ff);
}
.lg-r li span {
	display: block;
	font-size: 12px;
	color: #7d8691;
}
.lg-r li em {
	font-style: normal;
	font: 400 11.5px/1 var(--font-mono);
	color: var(--mint);
}
.lg-r .none {
	color: #7d8691;
	font-size: 14px;
	padding: 14px 0;
}

.lg-seq {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
}
.lg-tl {
	position: relative;
	display: grid;
	gap: 10px;
}
.lg-tl::before {
	content: '';
	position: absolute;
	left: 21px;
	top: 20px;
	bottom: 20px;
	width: 2px;
	background: rgba(255, 255, 255, 0.1);
}
.lg-tl button {
	position: relative;
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 0 14px;
	padding: 14px 16px 14px 0;
	border: 0;
	border-radius: 16px;
	cursor: pointer;
	text-align: left;
	color: #c9ced6;
	background: transparent;
	transition: background 0.3s;
}
.lg-tl button::before {
	content: '';
	grid-row: span 3;
	justify-self: center;
	margin-top: 4px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--night);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3);
	transition:
		background 0.3s,
		box-shadow 0.3s;
}
.lg-tl button[aria-selected='true'] {
	background: rgba(255, 255, 255, 0.05);
}
.lg-tl button[aria-selected='true']::before {
	background: var(--mint);
	box-shadow: 0 0 0 6px rgba(0, 195, 137, 0.2);
}
.lg-tl small {
	font: 400 11px/1 var(--font-mono);
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--mint);
}
.lg-tl b {
	margin-top: 6px;
	font: 400 17px/1.2 var(--font-display);
	color: #fff;
	font-weight: 400;
}
.lg-tl span {
	margin-top: 2px;
	font-size: 13.5px;
	color: #9aa3ae;
}
.lg-msg {
	padding: 24px;
	border-radius: 22px;
	color: var(--ink);
	background: #fff;
	box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6);
}
.lg-msg header {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
	font-size: 12.5px;
	color: var(--muted);
}
.lg-msg h4 {
	margin: 16px 0 0;
	font: 400 20px/1.3 var(--font-display);
}
.lg-msg p {
	margin-top: 12px;
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--ink-2);
}
.lg-msg.li {
	box-shadow:
		0 30px 60px -24px rgba(0, 0, 0, 0.6),
		inset 4px 0 0 #0a66c2;
}
.lg-att {
	display: inline-flex;
	margin-top: 14px;
	padding: 9px 12px;
	border-radius: 10px;
	font: 400 12px/1 var(--font-mono);
	background: var(--paper);
	box-shadow: inset 0 0 0 1px var(--line);
}

.lg-score {
	padding: 26px;
	border-radius: 24px;
	background: #fff;
	box-shadow:
		0 0 0 1px var(--line),
		var(--shadow-md);
}
.lg-sig {
	display: grid;
	gap: 8px;
}
.lg-sig label {
	display: grid;
	grid-template-columns: 24px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 13px 14px;
	border-radius: 14px;
	cursor: pointer;
	font-size: 15px;
	background: var(--paper);
	box-shadow: inset 0 0 0 1px var(--line);
	transition:
		box-shadow 0.25s,
		background 0.25s;
}
.lg-sig input {
	position: absolute;
	opacity: 0;
}
.lg-sig i {
	width: 22px;
	height: 22px;
	border-radius: 7px;
	box-shadow: inset 0 0 0 2px var(--line-strong);
	transition: background 0.25s;
}
.lg-sig input:checked + i {
	background: #00a676
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4'%3E%3Cpath d='m4.5 8.5 2.2 2.2L11.5 6'/%3E%3C/svg%3E")
		center / 13px no-repeat;
	box-shadow: none;
}
.lg-sig label:has(input:checked) {
	background: rgba(0, 195, 137, 0.07);
	box-shadow: inset 0 0 0 1px rgba(0, 166, 118, 0.35);
}
.lg-sig input:focus-visible + i {
	outline: 2px solid #00a676;
	outline-offset: 2px;
}
.lg-sig em {
	font-style: normal;
	font: 400 12.5px/1 var(--font-mono);
	color: #0b6b4f;
}
.lg-meter {
	margin-top: 22px;
}
.lg-bar {
	position: relative;
	height: 14px;
	border-radius: 14px;
	background: linear-gradient(90deg, #f3e7e1 0 40%, #f6f0dd 40% 70%, #e1f4ec 70%);
}
.lg-bar i {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, #e2774a, #e2a04a 50%, #00a676);
	transition: width 0.6s var(--ease);
}
.lg-bar span {
	position: absolute;
	top: 20px;
	transform: translateX(-50%);
	font: 400 10.5px/1 var(--font-mono);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--subtle);
}
.lg-bar span::before {
	content: '';
	position: absolute;
	left: 50%;
	top: -20px;
	width: 2px;
	height: 14px;
	background: #fff;
}
.lg-st {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-top: 34px;
}
.lg-st b {
	font: 400 48px/1 var(--font-display);
	letter-spacing: -0.03em;
	font-weight: 400;
}
.lg-st span {
	font-size: 15px;
	color: var(--muted);
}
.lg-score.hot .lg-st span {
	color: #0b6b4f;
}

@media (max-width: 1000px) {
	.lg-dash,
	.lg-seq {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 640px) {
	.lg-msg {
		padding: 18px;
	}
	.lg-score {
		padding: 18px;
	}
	.lg-sig label {
		font-size: 14px;
	}
}
