/**
 * ViewCounter — How It Works Page styles
 */

.how-page {
	background: #fff;
	overflow: hidden;
}

.how-hero {
	padding: 150px 0 88px;
	background: linear-gradient(135deg, var(--slate-900), var(--purple-950));
	color: #fff;
	position: relative;
}

.how-hero::before {
	content: '';
	position: absolute;
	inset: auto -180px -240px auto;
	width: 560px;
	height: 560px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(139,47,198,0.3), transparent 70%);
}

.how-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
	gap: 56px;
	align-items: center;
}

.how-hero .section-label {
	color: var(--purple-300);
}

.how-hero h1 {
	font-family: 'Fraunces', serif;
	font-size: clamp(42px, 5vw, 62px);
	font-weight: 600;
	line-height: 1.06;
	letter-spacing: -1.8px;
	color: #fff;
	margin: 14px 0 20px;
}

.how-hero p {
	max-width: 560px;
	font-size: 18px;
	line-height: 1.75;
	font-weight: 300;
	color: var(--purple-100);
	margin: 0 0 32px;
}

.how-hero-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.how-flow {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.how-flow-card {
	background: #fff;
	color: var(--slate-800);
	border: 1px solid rgba(255,255,255,0.72);
	border-radius: 16px;
	padding: 22px;
	box-shadow: 0 22px 60px rgba(0,0,0,0.2);
}

.how-flow-card:nth-child(2),
.how-flow-card:nth-child(4) {
	transform: translateY(24px);
}

.how-flow-card span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 11px;
	background: var(--purple-100);
	color: var(--purple-700);
	font-family: 'JetBrains Mono', monospace;
	font-size: 13px;
	font-weight: 800;
	margin-bottom: 16px;
}

.how-flow-card h2 {
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.3px;
	color: var(--slate-900);
	margin: 0 0 7px;
}

.how-flow-card p {
	font-size: 13px;
	line-height: 1.6;
	color: var(--slate-500);
	margin: 0;
}

.how-detail {
	padding: 76px 0 88px;
	background: linear-gradient(180deg, #fff 0%, var(--slate-50) 100%);
}

.how-section-header {
	text-align: center;
	max-width: 680px;
	margin: 0 auto 44px;
}

.how-section-header .section-title {
	margin-bottom: 12px;
}

.how-band-stack {
	max-width: 1040px;
	margin: 0 auto;
	display: grid;
	gap: 18px;
}

.how-band {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 36px;
	align-items: start;
	background: #fff;
	border: 1px solid var(--slate-200);
	border-radius: 18px;
	padding: 32px;
	box-shadow: 0 14px 44px rgba(15,23,42,0.05);
}

.how-band h3 {
	font-size: 26px;
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.6px;
	color: var(--slate-900);
	margin: 8px 0 10px;
}

.how-band p {
	font-size: 15px;
	line-height: 1.7;
	color: var(--slate-500);
	margin: 0;
}

.how-band ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.how-band li {
	position: relative;
	background: var(--slate-50);
	border: 1px solid var(--slate-200);
	border-radius: 12px;
	padding: 13px 14px 13px 38px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--slate-600);
}

.how-band li::before {
	content: '';
	position: absolute;
	top: 17px;
	left: 15px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--purple-600);
	box-shadow: 0 0 0 4px var(--purple-100);
}

@media (max-width: 980px) {
	.how-hero-grid,
	.how-band {
		grid-template-columns: 1fr;
	}

	.how-flow-card:nth-child(2),
	.how-flow-card:nth-child(4) {
		transform: none;
	}
}

@media (max-width: 700px) {
	.how-hero {
		padding: 120px 0 56px;
	}

	.how-hero h1 {
		font-size: 40px;
		letter-spacing: -1px;
	}

	.how-flow {
		grid-template-columns: 1fr;
	}

	.how-band {
		padding: 24px;
	}
}
