/* Perfect Teams global header — lightweight site-wide asset. */
body.pt-global-header-enabled #top-header,
body.pt-global-header-enabled #main-header,
body.pt-global-header-enabled .et-l--header {
	display: none !important;
}

body.pt-global-header-enabled,
body.pt-global-header-enabled #page-container {
	padding-top: 0 !important;
}

.pt-header,
.pt-header * {
	box-sizing: border-box;
}

.pt-header {
	position: relative;
	z-index: 100;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	width: 100%;
	height: 96px;
	padding: 0 clamp(24px, 4vw, 68px);
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	background: rgba(5, 13, 25, .97);
	color: #fff;
	font-family: "Mulish", Arial, sans-serif;
}

.pt-header a {
	color: #d7dfeb;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.pt-header a:focus-visible,
.pt-header button:focus-visible {
	outline: 2px solid #b994e3;
	outline-offset: 3px;
}

.pt-brand {
	display: flex;
	align-items: center;
	gap: 13px;
	width: max-content;
	color: #fff !important;
}

.pt-brand-logo {
	display: block;
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	border-radius: 11px;
	object-fit: cover;
	box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 7px 18px rgba(0,0,0,.2);
}

.pt-brand-wordmark {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: .86;
}

.pt-brand-wordmark strong,
.pt-brand-wordmark b {
	display: block;
	color: #fff;
	font-size: 15px;
	font-weight: 900;
	letter-spacing: .055em;
}

.pt-brand-wordmark b {
	margin-top: 4px;
}

.pt-brand-wordmark small {
	margin-top: 8px;
	color: #d8e0ea;
	font-size: 8.5px;
	line-height: 1;
	letter-spacing: .025em;
	white-space: nowrap;
}

.registered-mark {
	display: inline-block;
	margin-left: .05em;
	font-size: .55em;
	line-height: 0;
	vertical-align: .55em;
}

.pt-header nav {
	display: flex;
	align-items: center;
	gap: 30px;
}

.pt-header nav > a:hover,
.pt-header nav > a:focus-visible {
	color: #fff;
}

.pt-account {
	display: flex;
	align-items: center;
	justify-self: end;
	gap: 20px;
}

.pt-account a:last-child {
	padding: 10px 17px;
	border: 1px solid #a989d4;
	border-radius: 8px;
}

.pt-account a:last-child:hover {
	background: #fff;
	color: #07111f;
}

.pt-nav-dropdown {
	position: relative;
	display: flex;
	align-items: center;
	height: 96px;
}

.pt-nav-pathways {
	display: flex;
	align-items: center;
	gap: 5px;
	height: 100%;
}

.pt-nav-pathways span {
	color: #a989d4;
	font-size: 9px;
	transition: transform .25s ease;
}

.pt-nav-dropdown:hover .pt-nav-pathways span,
.pt-nav-dropdown:focus-within .pt-nav-pathways span {
	transform: rotate(180deg);
}

.pt-nav-menu {
	position: absolute;
	z-index: 110;
	top: calc(100% - 8px);
	left: 50%;
	display: grid;
	visibility: hidden;
	width: 245px;
	padding: 10px;
	gap: 2px;
	transform: translate(-50%, 10px);
	border: 1px solid rgba(255,255,255,.13);
	border-radius: 12px;
	opacity: 0;
	background: rgba(5,14,25,.98);
	box-shadow: 0 22px 55px rgba(0,0,0,.42);
	transition: opacity .22s ease, transform .22s ease, visibility .22s;
}

@supports (backdrop-filter: blur(16px)) {
	.pt-nav-menu { backdrop-filter: blur(16px); }
}

.pt-nav-dropdown:hover .pt-nav-menu,
.pt-nav-dropdown:focus-within .pt-nav-menu {
	visibility: visible;
	transform: translate(-50%, 0);
	opacity: 1;
}

.pt-header .pt-nav-menu a {
	display: block;
	padding: 9px 11px;
	border-radius: 7px;
	color: #aeb9c7;
	font-size: 10px;
	font-weight: 650;
	line-height: 1.2;
}

.pt-header .pt-nav-menu a:hover,
.pt-header .pt-nav-menu a:focus-visible {
	color: #fff;
	background: rgba(185,148,227,.14);
}

.pt-menu-toggle,
.pt-mobile-account-links {
	display: none;
}

.pt-hero-mount > .pt-header {
	display: none !important;
}

html.pt-navigation-open {
	overflow: hidden;
}

@media (max-width: 1180px) {
	.pt-header.pt-mobile-nav-ready {
		display: grid !important;
		height: 82px;
		grid-template-columns: 1fr auto;
		padding: 0 20px;
	}

	.pt-header.pt-mobile-nav-ready .pt-account { display: none; }

	.pt-header.pt-mobile-nav-ready .pt-menu-toggle {
		position: absolute;
		z-index: 113;
		top: 50%;
		right: 20px;
		display: flex;
		width: 44px;
		height: 44px;
		padding: 0;
		transform: translateY(-50%);
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 5px;
		border: 1px solid rgba(255,255,255,.16);
		border-radius: 9px;
		background: rgba(255,255,255,.045);
		cursor: pointer;
	}

	.pt-menu-toggle span {
		display: block;
		width: 19px;
		height: 2px;
		border-radius: 2px;
		background: #fff;
		transition: transform .25s ease, opacity .2s ease;
	}

	.pt-menu-open .pt-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.pt-menu-open .pt-menu-toggle span:nth-child(2) { opacity: 0; }
	.pt-menu-open .pt-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

	.pt-header.pt-mobile-nav-ready nav {
		position: absolute;
		z-index: 111;
		top: calc(100% + 8px);
		right: 14px;
		left: 14px;
		display: flex;
		visibility: hidden;
		max-height: calc(100vh - 106px);
		padding: 14px;
		overflow: auto;
		flex-direction: column;
		align-items: stretch;
		gap: 5px;
		transform: translateY(-10px);
		border: 1px solid rgba(255,255,255,.14);
		border-radius: 15px;
		opacity: 0;
		pointer-events: none;
		background: rgba(5,14,25,.99);
		box-shadow: 0 24px 65px rgba(0,0,0,.5);
		transition: opacity .22s ease, transform .22s ease, visibility .22s;
	}

	.pt-header.pt-menu-open nav {
		visibility: visible;
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}

	.pt-header.pt-mobile-nav-ready nav > a,
	.pt-header.pt-mobile-nav-ready .pt-nav-pathways {
		display: flex;
		width: 100%;
		height: auto;
		min-height: 43px;
		padding: 11px 13px;
		align-items: center;
		justify-content: space-between;
		border-radius: 8px;
		color: #f4f7fb;
		font-size: 13px;
	}

	.pt-header.pt-mobile-nav-ready .pt-nav-dropdown {
		display: block;
		width: 100%;
		height: auto;
		padding-bottom: 6px;
		border-bottom: 1px solid rgba(255,255,255,.08);
	}

	.pt-header.pt-mobile-nav-ready .pt-nav-pathways span { transform: none !important; }

	.pt-header.pt-mobile-nav-ready .pt-nav-menu {
		position: static;
		display: grid;
		visibility: visible;
		width: 100%;
		padding: 3px 8px 4px 22px;
		gap: 2px;
		transform: none;
		border: 0;
		border-radius: 0;
		opacity: 1;
		background: transparent;
		box-shadow: none;
	}

	.pt-header.pt-mobile-nav-ready .pt-nav-menu a {
		padding: 9px 11px;
		border-left: 2px solid rgba(185,148,227,.3);
		border-radius: 0 7px 7px 0;
		font-size: 11px;
	}

	.pt-mobile-account-links {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		margin-top: 8px;
		padding-top: 13px;
		border-top: 1px solid rgba(255,255,255,.1);
	}

	.pt-header .pt-mobile-account-links a {
		display: flex;
		min-height: 42px;
		align-items: center;
		justify-content: center;
		border: 1px solid rgba(185,148,227,.42);
		border-radius: 8px;
		color: #fff;
		font-size: 11px;
	}

	.pt-header .pt-mobile-account-links a:last-child {
		background: #fff;
		color: #07111f;
	}
}

@media (max-width: 600px) {
	.pt-header.pt-mobile-nav-ready { height: 78px; }
	.pt-brand { gap: 8px; }
	.pt-brand-logo { width: 42px; height: 42px; flex-basis: 42px; border-radius: 9px; }
	.pt-brand-wordmark strong,
	.pt-brand-wordmark b { font-size: 11.5px; }
	.pt-brand-wordmark small { margin-top: 5px; font-size: 6.5px; }
}

@media (prefers-reduced-motion: reduce) {
	.pt-menu-toggle span,
	.pt-header.pt-mobile-nav-ready nav,
	.pt-nav-pathways span { transition: none; }
}
