/* Audience cards */
.hx-acard {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--hx-plum);
	border-radius: var(--hx-r-lg);
	color: var(--hx-white);
	text-decoration: none;
	box-shadow: var(--hx-shadow-card);
}

.hx-acard:hover {
	color: var(--hx-white);
}

.hx-acard img {
	width: 100%;
	aspect-ratio: 372 / 342;
	object-fit: cover;
}

.hx-acard__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 34px 34px 40px;
}

.hx-acard h3 {
	font-size: 1.65rem;
	font-weight: 500;
}

.hx-acard p {
	color: rgba(255, 255, 255, 0.82);
}

/* Dark product box */
.hx-plumbox {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	padding: clamp(36px, 5vw, 56px) clamp(20px, 4vw, 48px);
	background: var(--hx-green-900);
	border-radius: var(--hx-r-xl);
	box-shadow: var(--hx-shadow-dark);
	color: var(--hx-white);
	text-align: center;
}

.hx-plumbox h2 {
	max-width: 19ch;
	color: var(--hx-white);
	font-size: clamp(1.9rem, 3.4vw, 3rem);
}

.hx-plumbox p {
	max-width: 62ch;
	font-size: 1.12rem;
	line-height: 1.6;
}

.hx-plumbox .hx-btn {
	margin-top: 10px;
	color: var(--hx-white);
}

/* Metrics */
.hx-metrics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin-top: 44px;
}

.hx-metric {
	display: flex;
	min-height: 260px;
	flex-direction: column;
	padding: 22px 16px;
	border: 1px solid var(--hx-plum-100);
	border-radius: 18px;
	color: var(--hx-plum);
}

.hx-metric b {
	color: var(--hx-ink);
	font-size: 0.95rem;
	font-weight: 500;
}

.hx-metric > span:not(.hx-metric__value) {
	color: var(--hx-plum-soft);
	font-size: 0.92rem;
}

.hx-metric__value {
	align-self: flex-end;
	margin-top: auto;
	color: #d8c2d8;
	font-size: clamp(4rem, 9vw, 8rem);
	font-weight: 400;
	letter-spacing: -0.05em;
	line-height: 0.85;
}

.hx-metric__value small {
	margin-left: 0.08em;
	font-size: 0.28em;
	font-weight: 400;
	letter-spacing: 0;
}

/* Steps */
.hx-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin-top: 56px;
	text-align: center;
}

.hx-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.hx-step .hx-pill {
	align-self: center;
}

.hx-step h3 {
	font-size: 1.45rem;
}

.hx-step p {
	max-width: 28ch;
	color: var(--hx-grey);
}

/* Stats */
.hx-statbox {
	padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 32px) clamp(40px, 5vw, 64px);
	background: var(--hx-plum);
	border-radius: var(--hx-r-xl);
	box-shadow: var(--hx-shadow-dark);
	color: var(--hx-white);
}

.hx-statbox__logo {
	color: var(--hx-white);
}

.hx-statbox__logo svg {
	width: auto;
	height: 24px;
}

.hx-statrow {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 40px;
}

.hx-statrow > div {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hx-statrow b {
	font-size: clamp(3rem, 7vw, 6rem);
	font-weight: 300;
	letter-spacing: -0.04em;
	line-height: 1;
}

.hx-statrow b small {
	margin-left: 0.08em;
	font-size: 0.42em;
	letter-spacing: 0;
}

.hx-statrow > div > span {
	margin-top: 6px;
	font-size: clamp(1rem, 1.8vw, 1.5rem);
	font-weight: 300;
}

/* Reviews */
.hx-reviews {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin-top: 44px;
}

.hx-review {
	display: flex;
	min-height: 260px;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 22px 20px 30px;
	border: 1px solid var(--hx-line);
	border-radius: 18px;
}

.hx-review__stars {
	color: #d0ccd0;
	font-size: 1rem;
	letter-spacing: 3px;
}

.hx-review p {
	color: var(--hx-grey);
	font-size: 1rem;
}

.hx-review footer {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid #c8c8c8;
	color: var(--hx-grey);
	font-size: 0.75rem;
	text-transform: uppercase;
}

.hx-review footer strong {
	font-weight: 700;
}

/* FAQ */
.hx-section-head.hx-center {
	margin-inline: auto;
}

/* Values */
.hx-values {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 40px;
}

.hx-value {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px;
	background: var(--hx-muted);
	border-radius: 20px;
	color: var(--hx-plum);
}

.hx-value svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: var(--hx-plum);
	stroke-width: 1.5;
}

.hx-value small {
	color: var(--hx-plum-soft);
	font-size: 0.9rem;
}

/* Info cards */
.hx-info {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px;
	background: var(--hx-earth);
	border-radius: 20px;
}

.hx-info small {
	color: var(--hx-plum);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.hx-info b {
	font-size: 1.1rem;
	font-weight: 500;
}

.hx-info a {
	color: var(--hx-plum);
}

.hx-offices {
	margin-top: 28px;
}

.hx-office {
	padding: clamp(24px, 3vw, 32px);
	background: var(--hx-white);
	border: 1px solid var(--hx-line);
	border-radius: var(--hx-r-xl);
}

.hx-office h3 {
	margin: 0 0 10px;
	color: var(--hx-ink);
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.2;
}

.hx-office address {
	margin: 12px 0 0;
	color: var(--hx-ink);
	font-size: 0.9375rem;
	font-style: normal;
	line-height: 1.55;
	text-wrap: pretty;
}

.hx-office address span {
	color: var(--hx-ink-soft);
}

/* Pagination */
.pagination,
.hx-pagination {
	margin-top: 2.5rem;
}

.pagination .nav-links,
.hx-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.pagination .page-numbers,
.hx-pagination .page-numbers {
	display: inline-grid;
	min-width: 2.75rem;
	height: 2.75rem;
	place-items: center;
	padding: 0 0.7rem;
	background: var(--hx-white);
	border: 1px solid var(--hx-line);
	border-radius: var(--hx-r);
	color: var(--hx-body);
	text-decoration: none;
}

.pagination .page-numbers.current,
.hx-pagination .page-numbers.current {
	background: var(--hx-plum);
	border-color: var(--hx-plum);
	color: var(--hx-white);
}

.pagination .page-numbers.dots,
.hx-pagination .page-numbers.dots {
	background: transparent;
	border-color: transparent;
}

@media (max-width: 980px) {
	.hx-metrics,
	.hx-reviews,
	.hx-values {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hx-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 40px;
	}
}

@media (max-width: 620px) {
	.hx-metrics,
	.hx-reviews,
	.hx-values {
		grid-template-columns: 1fr;
	}

	.hx-steps {
		grid-template-columns: 1fr;
	}

	.hx-statrow {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

.hx-count {
	font-variant-numeric: tabular-nums;
}

/* -------------------------------------------------------------------------
   Design refresh: shared components
   ------------------------------------------------------------------------- */

.hx-acard {
	border-radius: var(--hx-r-xl);
	background: var(--hx-plum);
	box-shadow: 0 16px 40px rgba(50, 20, 50, 0.12);
}

.hx-acard img {
	height: 340px;
	aspect-ratio: auto;
	object-fit: cover;
}

.hx-acard__body {
	gap: 12px;
	padding: 32px 32px 56px;
}

.hx-acard h3 {
	font-size: 1.75rem;
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 1.15;
}

.hx-acard p {
	color: var(--hx-on-plum);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.hx-acard .hx-pill {
	display: none;
}

.hx-plumbox {
	gap: 22px;
	padding: clamp(48px, 6vw, 72px) clamp(24px, 4vw, 48px);
	background: var(--hx-green-band);
	border-radius: var(--hx-r-lg);
	box-shadow: none;
}

.hx-plumbox h2 {
	max-width: 22ch;
	color: var(--hx-white);
	font-size: clamp(1.875rem, 4vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.15;
}

.hx-plumbox p {
	max-width: 720px;
	color: #dce6da;
	font-size: 0.875rem;
	line-height: 1.6;
}

.hx-plumbox p + p {
	margin-top: -10px;
}

.hx-metric {
	border-color: var(--hx-line);
	border-radius: var(--hx-r-lg);
}

.hx-metric__value {
	color: var(--hx-stone);
}

.hx-statbox {
	border-radius: var(--hx-r-xl);
	box-shadow: none;
}

.hx-review {
	border-color: var(--hx-line);
	border-radius: var(--hx-r-lg);
}

.hx-faq-layout {
	display: flex;
	flex-wrap: wrap;
	gap: 32px 64px;
	align-items: flex-start;
}

.hx-faq-intro {
	display: flex;
	flex: 1 1 260px;
	flex-direction: column;
	gap: 20px;
	max-width: 320px;
}

.hx-faq-aside {
	margin: 0;
	color: var(--hx-ink);
	font-size: clamp(1.875rem, 4vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.12;
}

.hx-faq {
	display: flex;
	flex: 999 1 520px;
	flex-direction: column;
	gap: 12px;
	max-width: 720px;
	margin: 0;
}

.hx-faq__item {
	padding: 0 24px;
	background: var(--hx-white);
	border: 1px solid var(--hx-line);
	border-radius: var(--hx-r);
}

.hx-faq__item summary {
	position: relative;
	padding: 20px 40px 20px 0;
	color: var(--hx-ink);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

.hx-faq__item summary::-webkit-details-marker {
	display: none;
}

.hx-faq__item summary:focus-visible {
	outline-offset: -3px;
}

.hx-faq__item summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
	transform: translateY(-50%);
	transition: transform 0.2s;
}

.hx-faq__item[open] summary::after {
	transform: translateY(-50%) rotate(180deg);
}

.hx-faq__answer {
	max-width: 62ch;
	padding: 0 0 22px;
	color: var(--hx-ink);
	font-size: 0.875rem;
	line-height: 1.6;
}

.hx-faq__answer p {
	margin: 0;
}

@media (prefers-reduced-motion: reduce) {
	.hx-faq__item summary::after {
		transition: none;
	}
}

.hx-values {
	gap: 20px;
	margin-top: 40px;
}

.hx-value {
	padding: 28px;
	background: var(--hx-earth);
	border-radius: var(--hx-r-lg);
	color: var(--hx-ink);
}

.hx-value svg {
	color: var(--hx-ink);
}

.hx-value small {
	color: var(--hx-ink-soft);
	font-size: 0.875rem;
}

.hx-info {
	padding: 24px;
	background: var(--hx-earth);
	border-radius: var(--hx-r-lg);
}

.hx-info small {
	color: var(--hx-ink);
	font-size: 0.6875rem;
	font-weight: 400;
	letter-spacing: 0.08em;
}

.hx-info a {
	color: var(--hx-ink);
}

.pagination .page-numbers,
.hx-pagination .page-numbers {
	border-color: var(--hx-stone);
	border-radius: 999px;
	color: var(--hx-ink);
}

.pagination .page-numbers.current,
.hx-pagination .page-numbers.current {
	background: var(--hx-plum);
	border-color: var(--hx-plum);
	color: var(--hx-white);
}

@media (max-width: 900px) {
	.hx-faq-layout {
		gap: 32px;
	}

	.hx-faq-intro,
	.hx-faq {
		flex-basis: 100%;
		max-width: none;
	}
}

@media (max-width: 820px) {
	.hx-acard img {
		height: 300px;
	}

	.hx-acard__body {
		padding: 28px 28px 40px;
	}
}

.hx-btn--plum:focus-visible,
.hx-btn--green-dark:focus-visible {
	outline-color: var(--hx-lime);
}
