/**
 * Hair Hub Home Foundation — Step 1.
 * SWELL-safe, mobile-first front-page body styles.
 */
.hh-home {
	--hh-home-primary: #16b8aa;
	--hh-home-primary-dark: #0d8f88;
	--hh-home-text: #263638;
	--hh-home-muted: #647476;
	--hh-home-border: #dce9e9;
	--hh-home-soft: #f3fbfa;
	background: #fff;
	color: var(--hh-home-text);
}

.hh-home *,
.hh-home *::before,
.hh-home *::after {
	box-sizing: border-box;
}

.hh-home-hero {
	padding: clamp(3.2rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 6rem);
	background:
		radial-gradient(circle at 15% 20%, rgba(22, 184, 170, .10), transparent 34%),
		linear-gradient(180deg, #ffffff 0%, #f7fcfb 100%);
}

.hh-home-hero__inner,
.hh-home-start__inner {
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
}

.hh-home-hero__inner {
	max-width: 860px;
	text-align: center;
}

.hh-home-hero__eyebrow,
.hh-home-section-heading > p {
	margin: 0 0 .65rem;
	color: var(--hh-home-primary-dark);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .14em;
}

.hh-home-hero__title {
	margin: 0;
	font-size: clamp(2rem, 6vw, 3.65rem);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.02em;
}

.hh-home-hero__lead {
	max-width: 680px;
	margin: 1.15rem auto 0;
	color: var(--hh-home-muted);
	font-size: clamp(.95rem, 2.4vw, 1.08rem);
	line-height: 1.9;
}

.hh-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .75rem;
	margin-top: 1.8rem;
}

.hh-home-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .65rem;
	min-height: 48px;
	padding: .8rem 1.35rem;
	border: 1px solid var(--hh-home-primary);
	border-radius: 999px;
	font-size: .92rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.hh-home-button--primary {
	background: var(--hh-home-primary);
	color: #fff;
	box-shadow: 0 10px 24px rgba(13, 143, 136, .16);
}

.hh-home-button--secondary {
	background: #fff;
	color: var(--hh-home-primary-dark);
}

.hh-home-button:hover,
.hh-home-button:focus-visible {
	transform: translateY(-2px);
	border-color: var(--hh-home-primary-dark);
}

.hh-home-button--primary:hover,
.hh-home-button--primary:focus-visible {
	background: var(--hh-home-primary-dark);
	color: #fff;
}

.hh-home-button:focus-visible {
	outline: 3px solid rgba(22, 184, 170, .24);
	outline-offset: 3px;
}

.hh-home-start {
	padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}

.hh-home-section-heading {
	max-width: 720px;
	margin: 0 auto 1.6rem;
	text-align: center;
}

.hh-home-section-heading h2 {
	margin: 0;
	font-size: clamp(1.55rem, 4vw, 2.25rem);
	font-weight: 800;
	line-height: 1.35;
}

.hh-home-start__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.hh-home-start-card {
	position: relative;
	min-width: 0;
	padding: 1.45rem;
	border: 1px solid var(--hh-home-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(41, 73, 74, .055);
}

.hh-home-start-card__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.4rem;
	height: 1.7rem;
	padding: 0 .55rem;
	border-radius: 999px;
	background: var(--hh-home-soft);
	color: var(--hh-home-primary-dark);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .06em;
}

.hh-home-start-card h3 {
	margin: .9rem 0 .45rem;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.45;
}

.hh-home-start-card p {
	margin: 0;
	color: var(--hh-home-muted);
	font-size: .9rem;
	line-height: 1.8;
}

@media (max-width: 767px) {
	.hh-home-hero__inner,
	.hh-home-start__inner {
		width: min(100% - 24px, 1120px);
	}

	.hh-home-hero__inner,
	.hh-home-section-heading {
		text-align: left;
	}

	.hh-home-hero__lead {
		margin-left: 0;
		margin-right: 0;
	}

	.hh-home-hero__actions {
		justify-content: flex-start;
	}

	.hh-home-start__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 420px) {
	.hh-home-hero {
		padding-top: 2.5rem;
	}

	.hh-home-hero__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.hh-home-button {
		width: 100%;
	}

	.hh-home-start-card {
		padding: 1.15rem;
		border-radius: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hh-home-button {
		transition: none;
	}
}


/* Home Foundation Step 2-1: Popular Ranking. */
.hh-home-ranking {
	padding: clamp(3.4rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem);
	background: linear-gradient(180deg, #fff 0%, #f8fcfb 100%);
	border-top: 1px solid rgba(220, 233, 233, .72);
}

.hh-home-ranking__inner {
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
}

.hh-home-ranking__intro {
	max-width: 760px;
	margin: 0 auto 1.2rem;
	text-align: center;
}

.hh-home-ranking__eyebrow {
	margin: 0 0 .55rem;
	color: var(--hh-home-primary-dark);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .14em;
}

.hh-home-ranking__lead {
	margin: 0;
	color: var(--hh-home-muted);
	font-size: .94rem;
	line-height: 1.85;
}

.hh-home-ranking .hh-ranking-public {
	margin: 0;
}

.hh-home-ranking .hh-ranking-public__title {
	justify-content: center;
	margin-bottom: 1.35rem;
	font-size: clamp(1.55rem, 4vw, 2.25rem);
}

.hh-home-ranking .hh-heading-icon img {
	display: block;
	width: 44px;
	height: 44px;
	object-fit: contain;
}

.hh-home-ranking__actions {
	display: flex;
	justify-content: center;
	margin-top: 1.5rem;
}

@media (max-width: 767px) {
	.hh-home-ranking__inner {
		width: min(100% - 24px, 1120px);
	}

	.hh-home-ranking__intro {
		margin-left: 0;
		margin-right: 0;
		text-align: left;
	}

	.hh-home-ranking .hh-ranking-public__title {
		justify-content: flex-start;
		align-items: center;
	}

	.hh-home-ranking__actions {
		justify-content: flex-start;
	}
}

@media (max-width: 420px) {
	.hh-home-ranking__actions {
		display: grid;
		grid-template-columns: 1fr;
	}
}
