:root {
	--cmh-brand: #6904f2;
	--cmh-brand-2: #9b5cff;
	--cmh-text: #160a2e;
	--cmh-line: rgba(22, 10, 46, 0.1);
	--cmh-ov-bg: #12062b;
	--cmh-ov-text: #ffffff;
	--cmh-ov-muted: rgba(255, 255, 255, 0.6);
	--cmh-ease: cubic-bezier(0.77, 0, 0.18, 1);
}

.cmh {
	display: none;
	font-family: inherit;
	--cmh-top-offset: 0px;
}

.cmh,
.cmh * {
	box-sizing: border-box;
}

.cmh a,
.cmh a:hover,
.cmh a:focus,
.cmh a:active {
	color: inherit;
	text-decoration: none;
	background: transparent;
	border: 0;
	font-family: inherit;
}

.cmh button,
.cmh button:hover,
.cmh button:focus,
.cmh button:active {
	font: inherit;
	color: inherit;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	padding: 0;
	margin: 0;
	line-height: inherit;
	-webkit-appearance: none;
	appearance: none;
}

.cmh__header {
	position: fixed;
	top: var(--cmh-top-offset);
	left: 0;
	right: 0;
	z-index: 99998;
	height: 68px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: env(safe-area-inset-top, 0) 20px 0;
	background: color-mix(in srgb, #ffffff 82%, transparent);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--cmh-line);
	transition: background 0.4s, border-color 0.4s;
}

.cmh__logo {
	display: inline-flex;
	align-items: center;
	font-weight: 800;
	font-size: 22px;
	letter-spacing: 0.14em;
	transition: filter 0.4s 0.1s, color 0.4s 0.1s;
}

.cmh__logo-image {
	display: block;
	max-height: 34px;
	width: auto;
}

.cmh__logo-text {
	display: inline-block;
}

.cmh__burger {
	position: relative;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	z-index: 2;
	transition: background 0.3s;
}

.cmh__burger:active {
	background: rgba(105, 4, 242, 0.12);
}

.cmh__burger span {
	position: absolute;
	left: 13px;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: #fff;
	transition: transform 0.55s var(--cmh-ease), top 0.55s var(--cmh-ease), width 0.4s var(--cmh-ease), left 0.4s var(--cmh-ease), background 0.3s;
}

.cmh__burger span:nth-child(1) {
	top: 18px;
}

.cmh__burger span:nth-child(2) {
	top: 26px;
	width: 14px;
	left: 19px;
}

.cmh.is-open .cmh__header {
	background: transparent;
	border-color: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.cmh.is-open .cmh__logo {
	filter: brightness(0) invert(1);
	color: #fff;
}

.cmh.is-open .cmh__burger span {
	background: #fff;
}

.cmh.is-open .cmh__burger span:nth-child(1) {
	top: 22px;
	transform: rotate(45deg);
}

.cmh.is-open .cmh__burger span:nth-child(2) {
	top: 22px;
	width: 20px;
	left: 13px;
	transform: rotate(-45deg);
}

.cmh__overlay {
	position: fixed;
	inset: var(--cmh-top-offset) 0 0 0;
	z-index: 99997;
	background: var(--cmh-ov-bg);
	color: var(--cmh-ov-text);
	display: flex;
	flex-direction: column;
	padding: calc(var(--cmh-top-offset) + 96px) 28px calc(28px + env(safe-area-inset-bottom, 0));
	overflow-y: auto;
	visibility: hidden;
	clip-path: circle(0 at calc(100% - 43px) calc(var(--cmh-top-offset) + 34px));
	transition: clip-path 0.8s var(--cmh-ease), visibility 0s 0.8s;
}

.cmh__overlay::before,
.cmh__overlay::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	pointer-events: none;
	z-index: -1;
}

.cmh__overlay::before {
	width: 300px;
	height: 300px;
	background: var(--cmh-brand);
	opacity: 0.5;
	top: -90px;
	right: -110px;
}

.cmh__overlay::after {
	width: 260px;
	height: 260px;
	background: #3b0aa8;
	opacity: 0.7;
	bottom: -80px;
	left: -100px;
}

.cmh.is-open .cmh__overlay {
	visibility: visible;
	clip-path: circle(160% at calc(100% - 43px) calc(var(--cmh-top-offset) + 34px));
	transition: clip-path 0.9s var(--cmh-ease), visibility 0s;
}

.cmh__nav {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	counter-reset: cmh-nav;
}

.cmh__nav > li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	overflow: hidden;
	counter-increment: cmh-nav;
}

.cmh__row,
.cmh a.cmh__row,
.cmh .cmh__sub-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 16px 0;
	margin: 0;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
	text-align: left;
	color: var(--cmh-ov-text);
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.cmh .cmh__sub-btn .cmh__lbl {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	line-height: inherit;
}

.cmh__reveal {
	opacity: 0;
	transform: translateY(34px);
	transition: opacity 0.35s, transform 0.35s;
}

.cmh.is-open .cmh__reveal {
	opacity: 1;
	transform: none;
	transition: opacity 0.7s var(--cmh-ease), transform 0.8s var(--cmh-ease);
	transition-delay: calc(0.28s + var(--i) * 0.06s);
}

.cmh__num {
	font-size: 12px;
	font-weight: 600;
	color: var(--cmh-ov-muted);
	letter-spacing: 0.1em;
	margin-right: 14px;
	align-self: flex-start;
	padding-top: 12px;
}

.cmh__num::before {
	content: counter(cmh-nav, decimal-leading-zero);
}

.cmh__lbl {
	flex: 1;
	display: flex;
}

.cmh__row:active,
.cmh__sub-btn:active {
	color: var(--cmh-brand-2);
}

.cmh__chev {
	width: 22px;
	height: 22px;
	position: relative;
	flex: none;
	transition: transform 0.45s var(--cmh-ease);
}

.cmh__chev::before,
.cmh__chev::after {
	content: "";
	position: absolute;
	background: #fff;
	border-radius: 2px;
	top: 10px;
	left: 4px;
	width: 14px;
	height: 2px;
	transition: transform 0.45s var(--cmh-ease);
}

.cmh__chev::after {
	transform: rotate(90deg);
}

.cmh__sub-btn[aria-expanded="true"] .cmh__chev::after {
	transform: rotate(0deg);
}

.cmh__sub-btn[aria-expanded="true"] .cmh__chev {
	transform: rotate(180deg);
}

.cmh__sub {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.5s var(--cmh-ease);
}

.cmh__sub.is-open {
	grid-template-rows: 1fr;
}

.cmh__sub > ul {
	overflow: hidden;
	list-style: none;
	padding: 0;
	margin: 0;
}

.cmh__sub a {
	display: block;
	padding: 9px 0 9px 36px;
	font-size: 17px;
	color: var(--cmh-ov-muted);
	font-weight: 500;
	transition: color 0.25s, transform 0.25s;
}

.cmh__sub a:active {
	color: #fff;
	transform: translateX(4px);
}

.cmh__sub.is-open > ul {
	padding-bottom: 14px;
}

.cmh__foot {
	margin-top: auto;
	padding-top: 28px;
}

.cmh__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 17px 22px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--cmh-brand), var(--cmh-brand-2));
	font-weight: 700;
	font-size: 16px;
	box-shadow: 0 10px 30px rgba(105, 4, 242, 0.5);
	transition: transform 0.2s;
}

.cmh__cta:active {
	transform: scale(0.97);
}

.cmh__cta svg {
	width: 18px;
	height: 18px;
}

.cmh__meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 20px;
	font-size: 13px;
	color: var(--cmh-ov-muted);
}

.cmh__meta a {
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.cmh__burger:focus-visible,
.cmh__row:focus-visible,
.cmh__sub a:focus-visible,
.cmh__cta:focus-visible,
.cmh__meta a:focus-visible {
	outline: 2px solid var(--cmh-brand-2);
	outline-offset: 3px;
}

html.cmh-open {
	overflow: hidden;
}

@media (max-width: 1024px) {
	.cmh {
		display: block;
	}

	body {
		padding-top: 68px;
	}
}

@media (max-width: 1024px) {
	body.admin-bar .cmh {
		--cmh-top-offset: 32px;
	}
}

@media (max-width: 782px) {
	body.admin-bar .cmh {
		--cmh-top-offset: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cmh *,
	.cmh *::before,
	.cmh *::after {
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
		animation-duration: 0.01ms !important;
	}
}
