:root {
	--help-bg: linear-gradient(160deg, #101222 0%, #13182c 45%, #0c0f1a 100%);
	--help-card: rgba(15, 23, 42, .82);
	--help-border: rgba(120, 132, 180, .18);
	--help-text: #e6ebff;
	--help-muted: rgba(226, 234, 255, .65);
	--help-accent: #22d3ee;
	--help-accent-soft: rgba(34, 211, 238, .22);
	--help-glow: 0 22px 60px -32px rgba(34, 211, 238, .55);
}

body.help-page {
	background: var(--help-bg);
	color: var(--help-text);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	min-height: 100dvh;
	margin: 0;
}

#help-main {
	padding: clamp(72px, 6vw, 120px) 0 90px;
}

.help-container {
	width: min(1160px, 92vw);
	margin: 0 auto;
}

.help-hero {
	position: relative;
	padding: clamp(48px, 6vw, 80px) clamp(28px, 5vw, 64px);
	border-radius: 28px;
	background: radial-gradient(circle at 16% 14%, rgba(122, 60, 255, .22), transparent 62%),
				radial-gradient(circle at 82% 24%, rgba(34, 211, 238, .18), transparent 70%),
				var(--help-card);
	border: 1px solid var(--help-border);
	box-shadow: var(--help-glow);
	overflow: hidden;
	isolation: isolate;
}

.help-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .08), transparent 55%);
	mix-blend-mode: screen;
	opacity: .35;
	pointer-events: none;
}

.help-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	padding: .4rem .85rem;
	border-radius: 999px;
	border: 1px solid rgba(34, 211, 238, .35);
	background: rgba(34, 211, 238, .12);
	font-size: .85rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--help-accent);
}

.help-hero h1 {
	font-size: clamp(2.4rem, 6.2vw, 3.9rem);
	margin: 26px 0 16px;
	letter-spacing: .045em;
}


.help-hero p {
	max-width: 960px;
	font-size: clamp(1rem, 2vw, 1.2rem);
	color: var(--help-muted);
	margin: 0 0 28px;
	line-height: 1.6;
}

.help-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.help-actions a {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	padding: .85rem 1.25rem;
	border-radius: 16px;
	border: 1px solid rgba(122, 60, 255, .28);
	background: rgba(122, 60, 255, .18);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.help-actions a:hover,
.help-actions a:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(122, 60, 255, .45);
	box-shadow: 0 18px 46px -26px rgba(122, 60, 255, .65);
	outline: none;
}

.help-grid {
	margin-top: clamp(42px, 5vw, 60px);
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.help-card {
	position: relative;
	padding: 24px;
	border-radius: 20px;
	border: 1px solid var(--help-border);
	background: color-mix(in srgb, var(--help-card) 92%, rgba(8, 12, 22, .65) 8%);
	box-shadow: 0 24px 60px -40px rgba(0, 0, 0, .88);
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 200px;
}

.help-card h2 {
	margin: 0;
	font-size: 1.15rem;
	letter-spacing: .04em;
}

.help-card p {
	margin: 0;
	color: var(--help-muted);
	line-height: 1.5;
	font-size: .95rem;
}

.help-card footer {
	margin-top: auto;
	display: flex;
	gap: .75rem;
	flex-wrap: wrap;
}

.help-pill {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .35rem .75rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .18);
	background: rgba(255, 255, 255, .08);
	font-size: .8rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--help-muted);
}

.help-search {
	margin: clamp(48px, 5vw, 72px) auto 0;
	padding: clamp(28px, 4vw, 48px);
	border-radius: 24px;
	border: 1px solid var(--help-border);
	background: rgba(10, 14, 26, .85);
	backdrop-filter: blur(14px) saturate(1.1);
	box-shadow: 0 24px 70px -42px rgba(0, 0, 0, .82);
}

.help-search h2 {
	margin: 0 0 18px;
	letter-spacing: .04em;
}

.help-search p {
	margin: 0 0 24px;
	color: var(--help-muted);
}

.help-searchbar {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, .14);
	background: rgba(8, 12, 20, .9);
	box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .06);
}

.help-searchbar input {
	flex: 1;
	border: none;
	background: transparent;
	color: var(--help-text);
	font-size: 1rem;
	font-family: inherit;
}

.help-searchbar input::placeholder {
	color: rgba(226, 234, 255, .45);
}

.help-searchbar input:focus {
	outline: none;
}

.help-searchbar svg {
	width: 20px;
	height: 20px;
	color: rgba(226, 234, 255, .6);
	flex: 0 0 auto;
}

.help-reset {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .18);
	background: rgba(255, 255, 255, .08);
	color: var(--help-text);
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease;
}

.help-reset:hover,
.help-reset:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 12px 32px -18px rgba(122, 60, 255, .55);
	outline: none;
}

.help-quicklinks {
	margin-top: 26px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.help-quicklinks button {
	border: 1px solid rgba(122, 60, 255, .35);
	background: rgba(122, 60, 255, .16);
	color: #fff;
	padding: .4rem .9rem;
	border-radius: 999px;
	font-size: .85rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.help-quicklinks button:hover,
.help-quicklinks button:focus-visible {
	transform: translateY(-1px);
	border-color: rgba(122, 60, 255, .5);
	box-shadow: 0 12px 30px -18px rgba(122, 60, 255, .6);
	outline: none;
}

.help-search-status {
	margin-top: 18px;
	color: var(--help-muted);
	font-size: .9rem;
}

.help-sections {
	margin-top: clamp(56px, 6vw, 80px);
}

.help-sections h2 {
	margin: 0 0 20px;
	letter-spacing: .04em;
}

.help-sections p.section-lead {
	margin: 0 0 32px;
	color: var(--help-muted);
	max-width: 920px;
	line-height: 1.6;
}

.help-accordion {
	display: grid;
	gap: 18px;
}

.help-group-title {
	margin: clamp(32px, 4vw, 48px) 0 12px;
	font-size: 1.6rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: rgba(226, 234, 255, .78);
	font-weight: 600;
}


.help-accordion details {
	position: relative;
	overflow: visible;
	border-radius: 20px;
	border: 1px solid rgba(34, 211, 238, .35);
	background: radial-gradient(circle at 16% 14%, rgba(122, 60, 255, .22), transparent 62%),
				radial-gradient(circle at 82% 24%, rgba(34, 211, 238, .18), transparent 70%),
				color-mix(in srgb, var(--help-card) 92%, rgba(8, 12, 22, .6) 8%);
	box-shadow: var(--help-glow);
	isolation: isolate;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.help-accordion details::before {
	content: "";
	position: absolute;
	inset: -34px;
	border-radius: inherit;
	background: radial-gradient(circle, rgba(34, 211, 238, .55) 25%, rgba(34, 211, 238, .12) 55%, transparent 72%);
	filter: blur(22px);
	opacity: .9;
	z-index: -1;
	pointer-events: none;
	mask: radial-gradient(circle, transparent calc(100% - 48px), black 100%);
	-webkit-mask: radial-gradient(circle, transparent calc(100% - 48px), black 100%);
}

.help-accordion details::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .08), transparent 55%);
	mix-blend-mode: screen;
	opacity: .35;
	pointer-events: none;
}

.help-accordion details[open] {
	border-color: rgba(34, 211, 238, .38);
	box-shadow: var(--help-glow), 0 26px 68px -34px rgba(34, 211, 238, .5);
}

#section-architecture::before {
	mask: radial-gradient(circle, transparent calc(100% - 48px), black 100%);
	-webkit-mask: radial-gradient(circle, transparent calc(100% - 48px), black 100%);
}

#section-architecture::after {
	display: none;
}

.help-accordion summary {
	list-style: none;
	padding: 18px 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	cursor: pointer;
	font-weight: 600;
	letter-spacing: .04em;
}

.help-accordion summary::-webkit-details-marker {
	display: none;
}

.help-accordion summary .meta {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	font-size: .85rem;
	color: var(--help-muted);
}

.help-accordion summary .arrow {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .16);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform .2s ease;
}

.help-accordion details[open] summary .arrow {
	transform: rotate(90deg);
}

.help-accordion .panel {
	padding: 0 22px 22px;
	max-height: min(62vh, 680px);
	overflow-y: auto;
	border-top: 1px solid rgba(255, 255, 255, .08);
}

.help-accordion ul {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}

.help-accordion li a {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	padding: .55rem .75rem;
	border-radius: 12px;
	border: 1px solid transparent;
	color: var(--help-text);
	text-decoration: none;
	transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.help-accordion li a:hover,
.help-accordion li a:focus-visible {
	transform: translateX(2px);
	border-color: rgba(34, 211, 238, .35);
	background: rgba(34, 211, 238, .12);
	outline: none;
}

.help-accordion .empty {
	margin: 22px 0 10px;
	color: var(--help-muted);
	font-size: .95rem;
}

.help-badge {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .35rem .65rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .12);
	background: rgba(255, 255, 255, .06);
	font-size: .78rem;
	color: var(--help-muted);
}

.help-highlight {
	background: rgba(34, 211, 238, .22) !important;
	border-color: rgba(34, 211, 238, .5) !important;
}

@media (max-width: 720px) {
	.help-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.help-actions a {
		justify-content: center;
	}

	.help-searchbar {
		flex-direction: column;
		align-items: stretch;
	}

	.help-reset {
		width: 100%;
		height: 42px;
		border-radius: 12px;
	}

	.help-accordion summary {
		flex-direction: column;
		align-items: flex-start;
	}

	.help-accordion summary .meta {
		flex-wrap: wrap;
	}
}
