/* ============================================================
   Help Center — landing page (categories grid).
   Standalone CSS, no Tailwind JIT. Enqueued on centre-aide/*.
   Tokens aligned with the other custom landings (hl/cl/prl/dml/sl).
   ============================================================ */

:root {
	--hcl-max-width: 1200px;
	--hcl-text: #0d1321;
	--hcl-muted: #5b6574;
	--hcl-soft: #8a93a3;
	--hcl-strong: #0d1321;
	--hcl-surface: #ffffff;
	--hcl-bg-subtle: #f7f8fb;
	--hcl-bg-tint: #eef3ff;
	--hcl-border: 1px solid #e6e8ed;
	--hcl-border-strong: #d6dae3;
	--hcl-brand: #1552e3;
	--hcl-brand-hover: #0e3fb2;
	--hcl-brand-soft: #eef3ff;
	--hcl-radius-sm: 10px;
	--hcl-radius-md: 14px;
	--hcl-radius-lg: 20px;
	--hcl-shadow-1: 0 1px 2px rgba(13, 19, 33, 0.04);
	--hcl-shadow-2: 0 1px 2px rgba(13, 19, 33, 0.04), 0 12px 32px rgba(13, 19, 33, 0.06);
}

/* ---------- Hero ---------- */
.hcl-hero {
	position: relative;
	padding: clamp(72px, 9vw, 96px) 24px clamp(48px, 6vw, 64px);
	overflow: hidden;
	text-align: center;
	background: linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}
.hcl-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle at 1px 1px, rgba(21, 82, 227, 0.16) 1px, transparent 0);
	background-size: 22px 22px;
	mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 70%);
	pointer-events: none;
}
.hcl-hero__inner {
	position: relative;
	max-width: 720px;
	margin: 0 auto;
}
.hcl-hero__title {
	font-size: clamp(2.125rem, 4.4vw, 3rem);
	font-weight: 700;
	color: var(--hcl-strong);
	margin: 0 0 18px;
	line-height: 1.1;
	letter-spacing: -0.025em;
}
.hcl-hero__subtitle {
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
	color: var(--hcl-muted);
	margin: 0 0 36px;
	line-height: 1.55;
}

/* Search bar */
.hcl-search {
	position: relative;
	max-width: 560px;
	margin: 0 auto;
}
.hcl-search input {
	width: 100%;
	padding: 16px 20px 16px 52px;
	border-radius: var(--hcl-radius-md);
	border: var(--hcl-border);
	background: #fff;
	font-size: 1rem;
	font-family: inherit;
	box-shadow: var(--hcl-shadow-1);
	transition: border-color 0.15s, box-shadow 0.15s;
	box-sizing: border-box;
}
.hcl-search input:focus {
	outline: none;
	border-color: var(--hcl-brand);
	box-shadow: 0 2px 20px rgba(21, 82, 227, 0.15);
}
.hcl-search__icon {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--hcl-muted);
	pointer-events: none;
}
.hcl-search button {
	position: absolute;
	right: 6px;
	top: 6px;
	bottom: 6px;
	padding: 0 18px;
	border-radius: var(--hcl-radius-sm);
	border: 0;
	background: var(--hcl-brand);
	color: #fff;
	font-weight: 600;
	font-size: 0.875rem;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.15s;
}
.hcl-search button:hover { background: var(--hcl-brand-hover); }

/* ---------- Categories grid ---------- */
.hcl-categories {
	max-width: var(--hcl-max-width);
	margin: 0 auto;
	padding: 48px 24px 80px;
	background: var(--hcl-bg-subtle);
}
.hcl-categories__wrap {
	max-width: var(--hcl-max-width);
	margin: 0 auto;
}
.hcl-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}
@media (min-width: 768px) { .hcl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .hcl-grid { grid-template-columns: repeat(3, 1fr); } }

.hcl-card {
	background: var(--hcl-surface);
	border: var(--hcl-border);
	border-radius: var(--hcl-radius-lg);
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	box-shadow: var(--hcl-shadow-1);
	transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.hcl-card:hover {
	box-shadow: var(--hcl-shadow-2);
	transform: translateY(-3px);
	border-color: rgba(21, 82, 227, 0.25);
}

.hcl-card__icon {
	width: 52px;
	height: 52px;
	border-radius: var(--hcl-radius-sm);
	background: var(--hcl-brand-soft);
	color: var(--hcl-brand);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.hcl-card__icon svg { width: 24px; height: 24px; }

.hcl-card__header {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.hcl-card__title {
	font-size: 1.1875rem;
	font-weight: 700;
	color: var(--hcl-strong);
	margin: 0;
	line-height: 1.3;
	letter-spacing: -0.015em;
}
.hcl-card__desc {
	font-size: 0.9375rem;
	color: var(--hcl-muted);
	line-height: 1.55;
	margin: 0;
}
.hcl-card__count {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hcl-brand);
}

.hcl-card__list {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 0.9375rem;
}
.hcl-card__list a {
	color: var(--hcl-strong);
	text-decoration: none;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	line-height: 1.45;
	transition: color 0.15s;
}
.hcl-card__list a:hover { color: var(--hcl-brand); }
.hcl-card__list a::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--hcl-soft);
	margin-top: 10px;
	flex-shrink: 0;
	transition: background 0.15s;
}
.hcl-card__list a:hover::before { background: var(--hcl-brand); }

.hcl-card__more {
	margin-top: auto;
	padding-top: 12px;
	border-top: var(--hcl-border);
	color: var(--hcl-brand);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: gap 0.15s;
}
.hcl-card__more:hover { gap: 10px; }

/* ---------- Support CTA — unified dark banner pattern ---------- */
.hcl-support {
	padding: 0 24px 80px;
	background: var(--hcl-bg-subtle);
}
.hcl-support__inner {
	max-width: var(--hcl-max-width);
	margin: 0 auto;
	padding: 40px 48px;
	background: linear-gradient(135deg, #0b1225 0%, #1b2a55 100%);
	border-radius: var(--hcl-radius-lg);
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	box-shadow: 0 12px 40px rgba(11, 18, 37, 0.18);
	position: relative;
	overflow: hidden;
}
.hcl-support__inner::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
	background-size: 22px 22px;
	mask-image: radial-gradient(ellipse 60% 80% at 100% 50%, #000 0%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse 60% 80% at 100% 50%, #000 0%, transparent 70%);
	pointer-events: none;
}
.hcl-support__text { flex: 1 1 420px; position: relative; z-index: 1; }
.hcl-support__title {
	font-size: clamp(1.25rem, 2.4vw, 1.75rem);
	font-weight: 700;
	color: #fff;
	margin: 0 0 8px;
	line-height: 1.22;
	letter-spacing: -0.015em;
}
.hcl-support__desc {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.78);
	margin: 0;
	line-height: 1.55;
	max-width: 660px;
}
.hcl-support__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	position: relative;
	z-index: 1;
}
.hcl-support__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 24px;
	border-radius: var(--hcl-radius-sm);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.18s, box-shadow 0.2s, background 0.15s;
}
.hcl-support__btn--primary {
	background: #fff;
	color: #0b1225 !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.hcl-support__btn--primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.hcl-support__btn--ghost {
	background: transparent;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.28);
}
.hcl-support__btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }

@media (max-width: 760px) {
	.hcl-support { padding: 0 16px 56px; }
	.hcl-support__inner {
		flex-direction: column;
		align-items: flex-start;
		padding: 28px 24px;
		gap: 20px;
	}
	.hcl-support__btn { align-self: stretch; justify-content: center; }
}
