/**
 * Sub-Hub-only sections (stats, alert, how+tracker, testi2, role-extra).
 * Shared hero / logos / FAQ / recruiters: landing-shared.css (eh-lp-*).
 * Role cards / recent / bottom CTA patterns mirror Pillar under .eh-subhub.
 */

.eh-subhub {
	--eh-dark: #0e0e0e;
	--eh-navy: #1a1535;
	--eh-purple: #7b48fe;
}

.separate-containers .eh-subhub.site-main {
	margin-top: 0;
	margin-bottom: 0;
}

.separate-containers .eh-subhub.site-main > * {
	margin-bottom: 0;
}

.eh-subhub .eh-lp-hero-h1 {
	font-size: clamp(26px, 4vw, 52px);
}

.eh-subhub a {
	color: inherit;
}

.eh-subhub a:hover {
	color: inherit;
}

/* ── Stats bar ───────────────────────────────────── */
.eh-subhub .sh-stats {
	background: #1a1a1a;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 48px 48px;
	padding: 0;
}

.eh-subhub .sh-stats-grid {
	display: grid;
	grid-template-columns: repeat(var(--eh-stat-count, 4), minmax(0, 1fr));
	max-width: 1200px;
	margin: 0 auto;
}

.eh-subhub .sh-stat {
	padding: 44px 32px;
	text-align: center;
	border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.eh-subhub .sh-stat:last-child {
	border-right: none;
}

.eh-subhub .sh-stat-n {
	font-size: clamp(26px, 3.2vw, 42px);
	font-weight: 800;
	letter-spacing: -1.5px;
	color: #fff;
	line-height: 1;
	margin-bottom: 10px;
}

.eh-subhub .sh-stat-l {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.4;
}

.eh-subhub .sh-stat-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.eh-subhub .sh-stat-link:hover .sh-stat-n,
.eh-subhub .sh-stat-link:focus .sh-stat-n {
	text-decoration: underline;
}

.eh-subhub .sh-stat-link:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.7);
	outline-offset: 4px;
}

@media (max-width: 600px) {
	.eh-subhub .sh-stats-grid {
		grid-template-columns: 1fr 1fr;
	}

	.eh-subhub .sh-stat:nth-child(2) {
		border-right: none;
	}
}

/* ── Alert / cost section ────────────────────────── */
.eh-subhub .sh-alert {
	background: #0e0e0e;
	padding: 120px 24px;
	position: relative;
	overflow: hidden;
}

.eh-subhub .sh-alert::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 600px;
	height: 400px;
	background: radial-gradient(ellipse, rgba(180, 140, 0, 0.1), transparent 70%);
	pointer-events: none;
}

.eh-subhub .sh-alert-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 80px;
	align-items: start;
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.eh-subhub .sh-alert-h2 {
	font-size: clamp(22px, 2.8vw, 38px);
	font-weight: 700;
	letter-spacing: -0.5px;
	color: #fff;
	margin: 0;
	line-height: 1.25;
	overflow-wrap: anywhere;
	word-break: normal;
}

.eh-subhub .sh-alert-body {
	max-width: 58ch;
	min-width: 0;
}

.eh-subhub .sh-alert-body p,
.eh-subhub .sh-alert-sub {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.65);
	line-height: 1.75;
	margin: 0 0 1.1em;
	overflow-wrap: anywhere;
}

.eh-subhub .sh-alert-body p:last-child,
.eh-subhub .sh-alert-sub:last-of-type {
	margin-bottom: 24px;
}

.eh-subhub .sh-alert-chip {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	max-width: 100%;
	box-sizing: border-box;
	background: rgba(255, 200, 0, 0.12);
	border: 1px solid rgba(255, 200, 0, 0.25);
	border-radius: 999px;
	padding: 10px 20px;
	font-size: 13px;
	color: rgba(255, 220, 80, 0.9);
	font-weight: 600;
	line-height: 1.4;
}

.eh-subhub .sh-alert-chip-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(255, 200, 0, 0.25);
	font-size: 12px;
	font-weight: 800;
	flex-shrink: 0;
	margin-top: 1px;
}

@media (max-width: 768px) {
	.eh-subhub .sh-alert {
		padding: 72px 24px;
	}

	.eh-subhub .sh-alert-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.eh-subhub .sh-alert-chip {
		border-radius: 16px;
		white-space: normal;
	}
}

/* ── How we work + tracker ───────────────────────── */
.eh-subhub .sh-how {
	background: #fff;
	padding: 88px 24px;
}

.eh-subhub .sh-how-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 72px;
	align-items: start;
	max-width: 1200px;
	margin: 0 auto;
}

.eh-subhub .sh-section-h2 {
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 800;
	letter-spacing: -1.5px;
	color: #111;
	line-height: 1.15;
	margin-bottom: 16px;
}

.eh-subhub .sh-section-sub {
	font-size: 16px;
	color: #666;
	line-height: 1.7;
	margin-bottom: 32px;
}

.eh-subhub .sh-step {
	display: flex;
	gap: 16px;
	margin-bottom: 28px;
}

.eh-subhub .sh-step-num {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--eh-navy);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 2px;
}

.eh-subhub .sh-step-title {
	font-size: 15px;
	font-weight: 700;
	color: #111;
	margin-bottom: 4px;
}

.eh-subhub .sh-step-body {
	font-size: 14px;
	color: #666;
	line-height: 1.65;
}

.eh-subhub .sh-tracker {
	background: #f9f8ff;
	border-radius: 20px;
	padding: 24px;
}

.eh-subhub .sh-tracker-title {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #888;
	margin-bottom: 16px;
}

.eh-subhub .sh-placement-item {
	padding: 12px 0;
	border-bottom: 1px solid #ebebeb;
}

.eh-subhub .sh-placement-item:last-child {
	border-bottom: none;
}

.eh-subhub .sh-placement-role {
	font-size: 14px;
	font-weight: 500;
	color: #111;
}

.eh-subhub .sh-placement-loc {
	font-size: 12px;
	color: #888;
	margin-top: 2px;
}

@media (max-width: 900px) {
	.eh-subhub .sh-how-grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}
}

/* ── Testimonials (sh-testi2 — mirrors Sub-Role / Pillar) ── */
.eh-subhub .sh-testi2 {
	background: linear-gradient(170deg, #b8cce8 0%, #5b82c0 40%, #2a4a8a 75%, #1a3070 100%);
	padding: 80px 24px 72px;
	position: relative;
	overflow: hidden;
}

.eh-subhub .sh-testi2::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.35) 0%, transparent 60%);
	pointer-events: none;
}

.eh-subhub .sh-testi2-inner {
	max-width: 820px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.eh-subhub .sh-testi2-card {
	background: #fff;
	border-radius: 24px;
	padding: 48px 56px 44px;
	text-align: center;
	box-shadow: 0 8px 48px rgba(0, 0, 20, 0.18);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.eh-subhub .sh-testi2-stars {
	color: #f5a623;
	font-size: 20px;
	letter-spacing: 3px;
}

.eh-subhub .sh-testi2-quote {
	font-size: clamp(17px, 2vw, 21px);
	line-height: 1.6;
	color: #2a3050;
	margin: 0;
	font-weight: 400;
}

.eh-subhub .sh-testi2-name {
	font-size: 16px;
	font-weight: 700;
	color: #111;
	margin: 0 0 4px;
}

.eh-subhub .sh-testi2-role {
	font-size: 14px;
	color: #8892a4;
	margin: 0;
}

.eh-subhub .sh-testi2-avatars {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}

.eh-subhub .sh-testi2-av {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid transparent;
	cursor: pointer;
	transition: border-color 0.2s, transform 0.2s, opacity 0.2s;
	opacity: 0.7;
	flex-shrink: 0;
	background: #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
	color: #555;
	padding: 0;
}

.eh-subhub .sh-testi2-av--static {
	cursor: default;
	opacity: 1;
	border-color: #fff;
	transform: scale(1.12);
	pointer-events: none;
}

.eh-subhub .sh-testi2-av:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.eh-subhub .sh-testi2-av img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eh-subhub .sh-testi2-av.active {
	border-color: #fff;
	opacity: 1;
	transform: scale(1.12);
}

.eh-subhub .sh-testi2-av-initials {
	line-height: 1;
}

@media (max-width: 600px) {
	.eh-subhub .sh-testi2-card {
		padding: 36px 24px 32px;
	}

	.eh-subhub .sh-testi2-av {
		width: 48px;
		height: 48px;
	}
}

/* ── Sub-roles + role-extra ──────────────────────── */
.eh-subhub .sh-subroles {
	background: #fff;
	padding: 88px 24px;
	border-top: 1px solid #ebebeb;
}

.eh-subhub .sh-subroles-inner {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 72px;
	max-width: 1200px;
	margin: 0 auto;
	align-items: start;
}

.eh-subhub .sh-subroles-left {
	position: sticky;
	top: 96px;
}

.eh-subhub .sh-subroles-left h2 {
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 800;
	letter-spacing: -1.5px;
	color: #111;
	line-height: 1.15;
	margin: 0 0 16px;
}

.eh-subhub .sh-subroles-left p {
	font-size: 16px;
	color: #666;
	line-height: 1.7;
	margin: 0;
}

.eh-subhub .sh-subroles-right {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

@media (max-width: 860px) {
	.eh-subhub .sh-subroles-inner {
		grid-template-columns: 1fr;
	}

	.eh-subhub .sh-subroles-left {
		position: static;
	}
}

.eh-subhub .sh-role-card {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 20px;
	padding: 22px;
	min-height: 44px;
	background: #fff;
	border: 1.5px solid #e5e7eb;
	border-radius: 18px;
	text-decoration: none;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.eh-subhub .sh-role-card:hover,
.eh-subhub .sh-role-card:focus {
	box-shadow: 0 6px 28px rgba(0, 0, 0, 0.07);
	border-color: #d1d5db;
	outline: none;
}

.eh-subhub .sh-role-card:focus-visible {
	outline: 2px solid #7b48fe;
	outline-offset: 2px;
}

.eh-subhub .sh-role-card.sh-role-card--static {
	cursor: default;
}

.eh-subhub .sh-role-card.sh-role-card--static:hover,
.eh-subhub .sh-role-card.sh-role-card--static:focus {
	box-shadow: none;
	border-color: #e5e7eb;
}

.eh-subhub .sh-role-card.sh-role-card--static .sh-role-content {
	padding-right: 0;
}

.eh-subhub .sh-role-card.sh-role-card--no-body {
	align-items: center;
}

.eh-subhub .sh-role-card.sh-role-card--no-body .sh-role-arrow {
	top: 50%;
	transform: translateY(-50%);
}

.eh-subhub .sh-role-icon {
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: linear-gradient(#fff, #fff) padding-box,
		linear-gradient(135deg, #ff6b9d, #7b48fe 50%, #60afff) border-box;
	border: 1.5px solid transparent;
	display: flex;
	align-items: center;
	justify-content: center;
}

.eh-subhub .sh-role-icon svg {
	width: 26px;
	height: 26px;
	color: #111;
}

.eh-subhub .sh-role-content {
	display: flex;
	flex-direction: column;
	gap: 5px;
	flex: 1;
	padding-right: 36px;
}

.eh-subhub .sh-role-title {
	font-size: 16px;
	font-weight: 700;
	color: #111;
}

.eh-subhub .sh-role-body {
	font-size: 13px;
	color: #666;
	line-height: 1.65;
}

.eh-subhub .sh-role-arrow {
	display: flex;
	position: absolute;
	top: 16px;
	right: 16px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1.5px solid #d5dcfa;
	align-items: center;
	justify-content: center;
	color: #41496a;
	background: #fff;
	transition: border-color 0.2s;
}

.eh-subhub .sh-role-arrow svg {
	width: 13px;
	height: 13px;
}

.eh-subhub .sh-role-card:hover .sh-role-arrow {
	border-color: #111;
}

.eh-subhub .sh-role-extra {
	background: #ebf0fa;
	border-radius: 22px;
	padding: 48px 52px;
	max-width: 1200px;
	margin: 32px auto 0;
}

.eh-subhub .sh-role-extra h2 {
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 800;
	letter-spacing: -1px;
	color: #0e0e0e;
	margin: 0 0 18px;
	line-height: 1.15;
}

.eh-subhub .sh-role-extra .re-body {
	font-size: 17px;
	color: #444;
	line-height: 1.7;
	margin: 0 0 32px;
	max-width: 820px;
}

.eh-subhub .sh-role-extra .re-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 28px;
	background: #0e0e0e;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	border-radius: 999px;
	text-decoration: none;
	max-width: 100%;
	box-sizing: border-box;
	transition: transform 0.18s, box-shadow 0.18s;
}

.eh-subhub .sh-role-extra .re-btn svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.eh-subhub .sh-role-extra .re-btn:hover,
.eh-subhub .sh-role-extra .re-btn:focus {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
	color: #fff;
	outline: none;
}

.eh-subhub .sh-role-extra .re-btn:focus-visible {
	outline: 2px solid #7b48fe;
	outline-offset: 2px;
}

.eh-subhub .sh-role-extra .re-note {
	margin: 24px 0 0;
	font-size: 14px;
	color: #555;
	line-height: 1.75;
}

.eh-subhub .sh-role-extra .re-note a {
	color: #3b82f6;
	text-decoration: underline;
}

@media (max-width: 768px) {
	.eh-subhub .sh-role-extra {
		padding: 32px 24px;
	}

	.eh-subhub .sh-role-extra .re-btn {
		white-space: normal;
		line-height: 1.35;
		gap: 8px;
		padding: 14px 20px;
	}

	.eh-subhub .sh-subroles-right {
		gap: 10px;
	}
}

/* ── Recent placements ───────────────────────────── */
.eh-subhub .sh-recent {
	background: #fff;
	padding: 88px 24px 72px;
	border-top: 1px solid #ebebeb;
}

.eh-subhub .sh-recent-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.eh-subhub .sh-recent-header {
	margin-bottom: 40px;
}

.eh-subhub .sh-recent-header h2 {
	font-size: clamp(28px, 3.5vw, 44px);
	font-weight: 800;
	letter-spacing: -1.5px;
	color: #111;
	margin: 0 0 10px;
}

.eh-subhub .sh-recent-header p {
	font-size: 15px;
	color: #888;
	margin: 0;
	max-width: 48ch;
}

.eh-subhub .sh-recent-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 36px;
}

.eh-subhub .sh-recent-item {
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: #f8f9fa;
	border: 1px solid #e8e8e8;
	border-radius: 20px;
	padding: 24px 26px 22px;
}

.eh-subhub .sh-recent-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.eh-subhub .sh-recent-role {
	font-size: 15px;
	font-weight: 600;
	color: #111;
}

.eh-subhub .sh-recent-detail {
	font-size: 14px;
	color: #888;
}

.eh-subhub .sh-recent-cta {
	text-align: center;
}

.eh-subhub .sh-badge {
	font-size: 13px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 999px;
	white-space: nowrap;
}

.eh-subhub .sh-badge.green {
	background: #dcfce7;
	color: #15803d;
}

@media (max-width: 768px) {
	.eh-subhub .sh-recent-grid {
		grid-template-columns: 1fr;
	}
}

/* ── Bottom CTA ──────────────────────────────────── */
.eh-subhub .sh-bottom-cta {
	background: #0e0e0e;
	padding: 110px 24px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.eh-subhub .sh-bottom-cta::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 900px;
	height: 600px;
	background: radial-gradient(ellipse, rgba(99, 67, 255, 0.12), transparent 70%);
	pointer-events: none;
}

.eh-subhub .sh-bottom-cta::after {
	content: "";
	position: absolute;
	right: -80px;
	top: 50%;
	transform: translateY(-50%);
	width: 500px;
	height: 500px;
	border: 1.5px solid rgba(99, 67, 255, 0.2);
	border-radius: 50%;
	pointer-events: none;
}

.eh-subhub .sh-google-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: 100%;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 999px;
	padding: 9px 20px;
	margin-bottom: 28px;
	position: relative;
	z-index: 1;
	text-decoration: none;
	white-space: nowrap;
}

.eh-subhub .sh-google-pill svg {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
}

.eh-subhub .sh-google-pill:focus-visible {
	outline: 2px solid #7b48fe;
	outline-offset: 2px;
}

.eh-subhub .sh-google-pill-stars {
	color: #fbbc04;
	font-size: 15px;
	letter-spacing: 1px;
	flex-shrink: 0;
	line-height: 1;
}

.eh-subhub .sh-google-pill-text {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 500;
	line-height: 1.2;
}

.eh-subhub .sh-google-pill-reviews {
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (max-width: 480px) {
	.eh-subhub .sh-google-pill {
		gap: 6px;
		padding: 8px 12px;
	}

	.eh-subhub .sh-google-pill svg {
		width: 15px;
		height: 15px;
	}

	.eh-subhub .sh-google-pill-stars {
		font-size: 11px;
		letter-spacing: 0.4px;
	}

	.eh-subhub .sh-google-pill-text {
		font-size: 11px;
	}
}

.eh-subhub .sh-bottom-cta h2 {
	font-size: clamp(28px, 3.2vw, 46px);
	font-weight: 800;
	letter-spacing: -1.5px;
	color: #fff;
	margin-bottom: 16px;
	position: relative;
	z-index: 1;
	line-height: 1.15;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.eh-subhub .sh-bottom-cta-text {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.7);
	max-width: 60ch;
	margin: 0 auto 36px;
	line-height: 1.7;
	position: relative;
	z-index: 1;
}

.eh-subhub .sh-bottom-cta .note {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
	margin-top: 12px;
	position: relative;
	z-index: 1;
}

.eh-subhub .sh-cta-wrap {
	position: relative;
	z-index: 1;
}
