/**
 * How It Works styles — enqueued only on the "How It Works" page template.
 */

.page-head {
	background: linear-gradient(180deg, var(--hh-blue-ink) 0%, #0C3282 100%);
	color: var(--hh-on-navy);
	padding: 60px 0 0;
	text-align: center;
}

.page-head .eyebrow {
	color: var(--hh-gold);
}

.page-head h1 {
	color: #fff;
	font-size: clamp(30px, 4.6vw, 42px);
	margin-top: 14px;
}

.page-head p.sub {
	margin-top: 14px;
	font-size: 17px;
	color: var(--hh-on-navy-soft);
	max-width: 540px;
	margin-left: auto;
	margin-right: auto;
}

.tab-toggle {
	display: inline-flex;
	gap: 4px;
	background: rgba(237, 241, 251, 0.08);
	border: 1.5px solid rgba(237, 241, 251, 0.2);
	border-radius: 999px;
	padding: 5px;
	margin-top: 34px;
}

.tab-btn {
	border: none;
	background: none;
	padding: 12px 26px;
	border-radius: 999px;
	font-family: var(--hh-font-display);
	font-weight: 600;
	font-size: 15px;
	color: var(--hh-on-navy-soft);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
	display: flex;
	align-items: center;
	gap: 9px;
}

.tab-btn svg {
	width: 17px;
	height: 17px;
}

.tab-btn[aria-selected="true"] {
	background: var(--hh-gold);
	color: #23180A;
}

.tab-head-spacer {
	height: 56px;
}

.hiw-section {
	padding: 72px 0;
}

.section-lede {
	max-width: 640px;
	margin-bottom: 40px;
}

.section-lede p {
	font-size: 16.5px;
	color: var(--hh-ink-soft);
}

.tab-panel {
	display: none;
}

.tab-panel.active {
	display: block;
}

.paths {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 26px;
	align-items: start;
}

.path-card {
	background: var(--hh-surface-raised);
	border: 1.5px solid var(--hh-line);
	border-radius: var(--hh-radius-l);
	padding: 30px;
}

.path-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 24px;
}

.path-label .tag {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--hh-blue);
	background: color-mix(in srgb, var(--hh-blue) 12%, transparent);
	padding: 4px 10px;
	border-radius: 999px;
}

.path-label h3 {
	font-size: 18.5px;
}

.steps-connected {
	position: relative;
}

.p-step {
	position: relative;
	padding: 0 0 26px 42px;
}

.p-step:last-child {
	padding-bottom: 0;
}

.p-step::before {
	content: "";
	position: absolute;
	left: 14px;
	top: 32px;
	bottom: -2px;
	width: 1.5px;
	background: var(--hh-line);
}

.p-step:last-child::before {
	display: none;
}

.p-num {
	position: absolute;
	left: 0;
	top: 0;
	width: 29px;
	height: 29px;
	border-radius: 50%;
	background: var(--hh-cloud);
	border: 1.5px solid var(--hh-blue);
	color: var(--hh-blue);
	font-family: var(--hh-font-display);
	font-weight: 700;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.p-step h4 {
	font-size: 15.5px;
	margin-bottom: 3px;
}

.p-step p {
	font-size: 14px;
	color: var(--hh-ink-soft);
}

.path-card .btn {
	margin-top: 28px;
}

@media (max-width: 860px) {
	.paths {
		grid-template-columns: 1fr;
	}
}

.single-path {
	max-width: 640px;
}

.single-path .btn {
	margin-top: 30px;
}

.bonus-card {
	margin-top: 28px;
	background: color-mix(in srgb, var(--hh-gold) 10%, transparent);
	border: 1px solid color-mix(in srgb, var(--hh-gold) 30%, transparent);
	border-radius: var(--hh-radius-m);
	padding: 22px 24px;
	max-width: 640px;
}

.bonus-card .tag {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #8A5C00;
}

.bonus-card h4 {
	font-size: 15.5px;
	margin: 6px 0 6px;
}

.bonus-card p {
	font-size: 14.5px;
	color: var(--hh-ink-soft);
}

.company-note {
	margin-top: 26px;
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 18px 20px;
	background: var(--hh-cloud);
	border-radius: var(--hh-radius-m);
	max-width: 640px;
}

.company-note svg {
	width: 20px;
	height: 20px;
	color: var(--hh-blue);
	flex-shrink: 0;
	margin-top: 1px;
}

.company-note p {
	font-size: 14px;
	color: var(--hh-ink-soft);
}

.company-note a {
	color: var(--hh-blue);
	font-weight: 700;
}

.callout {
	border-radius: var(--hh-radius-m);
	padding: 18px 20px;
	display: flex;
	gap: 13px;
	align-items: flex-start;
	margin-top: 34px;
	max-width: 700px;
	background: color-mix(in srgb, var(--hh-green) 8%, transparent);
	border: 1px solid color-mix(in srgb, var(--hh-green) 25%, transparent);
}

.callout svg {
	width: 19px;
	height: 19px;
	color: var(--hh-green);
	flex-shrink: 0;
	margin-top: 1px;
}

.callout p {
	font-size: 14px;
	color: var(--hh-ink);
}

.faq-more {
	margin-top: 22px;
	font-size: 14.5px;
	color: var(--hh-ink-soft);
}

.faq-more a {
	color: var(--hh-blue);
	font-weight: 700;
}

.cta-band {
	background: var(--hh-blue-ink);
	color: var(--hh-on-navy);
	position: relative;
	overflow: hidden;
	padding: 78px 0;
}

.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(560px 320px at 85% 15%, rgba(245, 166, 35, 0.14), transparent 60%);
}

.cta-inner {
	position: relative;
	text-align: center;
	max-width: 560px;
	margin: 0 auto;
}

.cta-inner h2 {
	color: #fff;
	font-size: clamp(24px, 3.4vw, 30px);
}

.cta-inner p {
	margin-top: 12px;
	color: var(--hh-on-navy-soft);
	font-size: 16px;
}

.cta-actions {
	margin-top: 26px;
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}
