/* Shared top product navigation (AutoMounter / PixelPick / OtoMeter) */

.header_nav {
	display: flex;
	align-items: center;
	align-self: start;
	position: relative;
	padding: 20px 20px 0;
	gap: 10px;
	margin-top: 0;
	font-size: 14pt;
	font-weight: 300;
	line-height: 1.65;
}

.header_nav > a:first-child {
	margin-right: auto;
	border-bottom: none;
}

.header_nav .brand-logo,
.header_nav > a:first-child img {
	display: block;
	width: 200px;
	height: auto;
}

.header_nav .brand-logo.compact {
	width: 160px;
}

.header_nav a {
	color: #ffffff;
	text-decoration: none;
	line-height: 1.65;
	border-bottom: none;
	transition: color 0.2s ease, border-bottom 0.2s ease;
}

.header_nav a:hover,
.header_nav a.active {
	border-bottom: 1px solid white;
}

.header_nav > a:first-child:hover {
	border-bottom: none;
}

.header_nav a.active {
	font-weight: 400;
}

.header_nav span {
	color: #cccccc;
}

/* Product hero: logo + app name (AutoMounter reference, fixed size) */

#header.alt,
.content .header {
	font-size: 17pt;
	padding: 2em 0;
	text-align: center;
}

#header.alt .logo {
	display: block;
	margin: 0;
}

#header.alt .logo img,
.content .header img {
	display: block;
	margin: 0 auto;
	width: 300px;
	max-width: 300px;
	height: auto;
}

#header.alt h1,
.content .header h1,
.content .header h1.app {
	margin: 0 0 0.25em 0;
	padding-top: 0;
	font-family: "Helvetica Neue", "Source Sans Pro";
	font-size: 60px;
	font-weight: 100;
	letter-spacing: normal;
	color: #ffffff;
	text-align: center;
	text-shadow: none;
	background: none;
	-webkit-text-fill-color: #ffffff;
}

#header.alt p,
.content .header p {
	margin-bottom: 0;
}

/* Product hero load fade (body.is-loading removed by site.js) */

body.is-loading *,
body.is-loading *:before,
body.is-loading *:after {
	animation: none !important;
	transition: none !important;
}

#header.alt > *,
.content .header > * {
	transition: opacity 3s ease;
	transition-delay: 0.5s;
	opacity: 1;
}

#header.alt .logo,
.content .header .logo,
.content .header > div:first-child,
.content .header > img:first-child {
	transition: opacity 1.25s ease, transform 0.5s ease;
	transition-delay: 0s;
}

body.is-loading #header.alt > *,
body.is-loading .content .header > * {
	opacity: 0;
}

body.is-loading #header.alt .logo,
body.is-loading .content .header .logo,
body.is-loading .content .header > div:first-child,
body.is-loading .content .header > img:first-child {
	transform: scale(0.8) rotate(-30deg);
}

@media (prefers-reduced-motion: reduce) {

	#header.alt > *,
	.content .header > *,
	#header.alt .logo,
	.content .header .logo,
	.content .header > div:first-child,
	.content .header > img:first-child {
		transition: none;
		transition-delay: 0s;
		transform: none;
	}

}

/* Burger enhance (DOM built by site.js) */

.header_nav__panel {
	display: flex;
	align-items: center;
	gap: 10px;
}

.header_nav__toggle {
	display: none;
	position: relative;
	margin-left: auto;
	align-items: center;
	justify-content: center;
	width: 1.65em;
	height: 1.65em;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: #ffffff;
	cursor: pointer;
}

.header_nav__toggle:after {
	content: "";
	position: absolute;
	inset: -12px;
}

.header_nav__burger,
.header_nav__burger:before,
.header_nav__burger:after {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
}

.header_nav__burger {
	position: relative;
}

.header_nav__burger:before,
.header_nav__burger:after {
	content: "";
	position: absolute;
	left: 0;
}

.header_nav__burger:before { top: -7px; }
.header_nav__burger:after { top: 7px; }

.header_nav.is-open .header_nav__burger { background: transparent; }
.header_nav.is-open .header_nav__burger:before { top: 0; transform: rotate(45deg); }
.header_nav.is-open .header_nav__burger:after { top: 0; transform: rotate(-45deg); }

@media screen and (max-width: 736px) {

	.header_nav {
		font-size: 12pt;
		gap: 8px;
	}

	.header_nav[data-site-nav] > a:first-child {
		margin-right: 0;
	}

	.header_nav__toggle {
		display: inline-flex;
	}

	.header_nav__panel {
		position: absolute;
		top: 70px;
		right: 30px;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding: 16px 20px;
		border-radius: 10px;
		background: rgba(0, 0, 0, 0.55);
		backdrop-filter: blur(16px);
		-webkit-backdrop-filter: blur(16px);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(-0.5rem);
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	}

	.header_nav.is-open .header_nav__panel {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
	}

	.header_nav__panel span {
		display: none;
	}

}
