/*
 * OnlyaClick site header — same design language as /wordpress-downloads/
 * (oac-seo-landing: white translucent sticky bar, cropped wordmark, Inter,
 * #0866FF primary button, 18/14/10px radii, soft navy shadows).
 * Everything is scoped under .oac-sh; the theme's own styles never reach inside.
 */

.oac-sh {
	--oac-sh-navy: #071B2E;
	--oac-sh-blue: #0866FF;
	--oac-sh-blue-hover: #0057DC;
	--oac-sh-text: #102033;
	--oac-sh-muted: #5B6978;
	--oac-sh-soft: #F6F9FC;
	--oac-sh-soft-blue: #F2F7FF;
	--oac-sh-border: #DCE5EE;
	--oac-sh-border-dark: #C7D3DF;
	--oac-sh-font: "OAC Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--oac-sh-util: 36px;
	--oac-sh-bar: 72px;
	--oac-sh-gutter: 40px;
	--oac-sh-ease: cubic-bezier(.2, .8, .2, 1);

	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--oac-sh-util));
	z-index: 1000;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--oac-sh-text);
	font-family: var(--oac-sh-font);
	font-size: 15px;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

html:has(.oac-sh) {
	scroll-padding-top: 92px;
}

.oac-sh *,
.oac-sh *::before,
.oac-sh *::after {
	box-sizing: border-box;
}

.oac-sh ul,
.oac-sh li,
.oac-sh p {
	margin: 0;
	padding: 0;
	list-style: none;
}

.oac-sh a {
	text-decoration: none;
}

.oac-sh a,
.oac-sh button {
	font-family: inherit;
	-webkit-tap-highlight-color: transparent;
}

.oac-sh button {
	margin: 0;
	appearance: none;
	-webkit-appearance: none;
}

.oac-sh img {
	display: block;
	max-width: 100%;
	height: auto;
}

.oac-sh__icon {
	display: block;
	flex: none;
	width: 18px;
	height: 18px;
}

.oac-sh__sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.oac-sh a:focus-visible,
.oac-sh button:focus-visible {
	outline: 3px solid var(--oac-sh-blue);
	outline-offset: 2px;
}

.oac-sh__wrap {
	width: min(1360px, 100% - 2 * var(--oac-sh-gutter));
	margin-inline: auto;
}

/* ---------------------------------------------------------------- utility row */
.oac-sh__util {
	height: var(--oac-sh-util);
	border-bottom: 1px solid var(--oac-sh-border);
	background: var(--oac-sh-soft);
	font-size: 13px;
}

.oac-sh__util-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 100%;
}

.oac-sh__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	color: var(--oac-sh-text) !important;
	font-weight: 600;
	white-space: nowrap;
}

.oac-sh__phone .oac-sh__icon {
	width: 15px;
	height: 15px;
	color: var(--oac-sh-blue);
}

.oac-sh__phone:hover {
	color: var(--oac-sh-blue-hover) !important;
}

.oac-sh__util-end {
	display: flex;
	align-items: center;
	gap: 14px;
}

.oac-sh__social {
	display: flex;
	align-items: center;
	gap: 2px;
}

.oac-sh__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	color: var(--oac-sh-muted) !important;
	transition: color .15s ease, background-color .15s ease;
}

.oac-sh__social .oac-sh__icon {
	width: 16px;
	height: 16px;
}

.oac-sh__social a:hover {
	background: #fff;
	color: var(--oac-sh-blue-hover) !important;
}

.oac-sh__util-link {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding-left: 14px;
	border-left: 1px solid var(--oac-sh-border-dark);
	color: var(--oac-sh-text) !important;
	font-weight: 600;
	white-space: nowrap;
}

.oac-sh__util-link:hover {
	color: var(--oac-sh-blue-hover) !important;
}

/* ---------------------------------------------------------------- bar */
.oac-sh__bar {
	height: var(--oac-sh-bar);
	border-bottom: 1px solid transparent;
	background: rgba(255, 255, 255, .96);
	transition: border-color .2s ease, background-color .2s ease;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.oac-sh__bar {
		background: rgba(255, 255, 255, .86);
		-webkit-backdrop-filter: saturate(180%) blur(14px);
		backdrop-filter: saturate(180%) blur(14px);
	}
}

.oac-sh.is-scrolled .oac-sh__bar,
.oac-sh.is-menu-open .oac-sh__bar {
	border-bottom-color: var(--oac-sh-border);
}

.oac-sh.is-menu-open .oac-sh__bar {
	background: #fff;
}

.oac-sh__bar-inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 24px;
	height: 100%;
}

.oac-sh__brand {
	display: inline-flex;
	flex: none;
	align-items: center;
	min-height: 44px;
}

/* Same approved logo PNG as the product page, cropped to the wordmark rows. */
.oac-sh__logo {
	display: block;
	width: 168px;
	height: 28px;
	overflow: hidden;
}

.oac-sh__logo img {
	width: 100%;
}

/* ---------------------------------------------------------------- desktop menu */
.oac-sh__nav {
	display: flex;
	flex: 1;
	justify-content: center;
	height: 100%;
	min-width: 0;
}

.oac-sh__list {
	display: flex;
	align-items: stretch;
	gap: 2px;
	height: 100%;
}

.oac-sh__item {
	position: relative;
	display: flex;
	align-items: center;
}

.oac-sh__item.is-mega {
	position: static;
}

.oac-sh__link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 40px;
	padding: 0 11px;
	border: 0;
	border-radius: 8px;
	background: none;
	color: var(--oac-sh-text) !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}

.oac-sh__link .oac-sh__icon {
	width: 16px;
	height: 16px;
	color: var(--oac-sh-muted);
	transition: transform .18s var(--oac-sh-ease), color .15s ease;
}

.oac-sh__top {
	display: flex;
	align-items: center;
	border-radius: 8px;
	transition: background-color .15s ease;
}

.oac-sh__top .oac-sh__link {
	padding-right: 2px;
	border-radius: 8px 0 0 8px;
}

.oac-sh__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 40px;
	margin-right: 4px;
	padding: 0;
	border: 0;
	border-radius: 0 8px 8px 0;
	background: none;
	color: var(--oac-sh-muted);
	cursor: pointer;
}

.oac-sh__toggle .oac-sh__icon {
	width: 16px;
	height: 16px;
	transition: transform .18s var(--oac-sh-ease);
}

.oac-sh__link:hover,
.oac-sh__item.is-open > .oac-sh__link--button {
	background: var(--oac-sh-soft);
	color: var(--oac-sh-blue-hover) !important;
}

.oac-sh__top:hover,
.oac-sh__item.is-open > .oac-sh__top {
	background: var(--oac-sh-soft);
}

.oac-sh__top:hover .oac-sh__link,
.oac-sh__item.is-open > .oac-sh__top .oac-sh__link {
	background: none;
	color: var(--oac-sh-blue-hover) !important;
}

.oac-sh__item.is-open > .oac-sh__top .oac-sh__toggle,
.oac-sh__item.is-open > .oac-sh__link--button .oac-sh__icon {
	color: var(--oac-sh-blue-hover);
}

.oac-sh__toggle[aria-expanded="true"] .oac-sh__icon,
.oac-sh__link--button[aria-expanded="true"] .oac-sh__icon {
	transform: rotate(180deg);
}

.oac-sh__item.is-current > .oac-sh__link,
.oac-sh__item.is-current > .oac-sh__top .oac-sh__link,
.oac-sh__item.is-current > .oac-sh__link--button {
	color: var(--oac-sh-blue-hover) !important;
}

/* Dropdown card */
.oac-sh__panel {
	position: absolute;
	top: calc(50% + 26px);
	left: 0;
	z-index: 2;
	min-width: 250px;
	padding: 8px;
	border: 1px solid var(--oac-sh-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 24px 60px -14px rgba(7, 27, 46, .24), 0 2px 6px rgba(7, 27, 46, .05);
	visibility: hidden;
	opacity: 0;
	transform: translateY(6px);
	pointer-events: none;
	transition: opacity .16s ease, transform .16s var(--oac-sh-ease), visibility 0s linear .16s;
}

/* Hover bridge between the menu item and its card. */
.oac-sh__panel::before {
	position: absolute;
	top: -14px;
	right: 0;
	left: 0;
	height: 14px;
	content: "";
}

.oac-sh__item.is-open > .oac-sh__panel,
html:not(.oac-sh-js) .oac-sh__item.has-sub:hover > .oac-sh__panel {
	visibility: visible;
	opacity: 1;
	transform: none;
	pointer-events: auto;
	transition-delay: 0s;
}

.oac-sh__item.is-mega > .oac-sh__panel {
	top: calc(50% + 26px);
	left: 50%;
	width: min(calc(var(--oac-sh-cols, 3) * 232px + 18px), 100%);
	transform: translate(-50%, 6px);
}

.oac-sh__item.is-mega > .oac-sh__panel--grid {
	width: min(720px, 100%);
}

.oac-sh__item.is-mega.is-open > .oac-sh__panel,
html:not(.oac-sh-js) .oac-sh__item.is-mega:hover > .oac-sh__panel {
	transform: translate(-50%, 0);
}

.oac-sh__mega {
	display: grid;
	grid-template-columns: repeat(var(--oac-sh-cols, 3), minmax(0, 1fr));
	gap: 4px;
}

.oac-sh__col {
	padding: 6px 4px 8px;
}

.oac-sh__col + .oac-sh__col {
	border-left: 1px solid var(--oac-sh-border);
	padding-left: 10px;
}

.oac-sh__col-title {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 2px 6px 6px;
	padding: 6px 4px;
	color: var(--oac-sh-navy) !important;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.oac-sh__col-title .oac-sh__icon {
	width: 14px;
	height: 14px;
	color: var(--oac-sh-muted);
	transition: transform .15s ease, color .15s ease;
}

a.oac-sh__col-title:hover {
	color: var(--oac-sh-blue-hover) !important;
}

a.oac-sh__col-title:hover .oac-sh__icon {
	color: var(--oac-sh-blue-hover);
	transform: translateX(2px);
}

.oac-sh__sublist {
	display: grid;
	gap: 1px;
}

.oac-sh__sublink {
	display: block;
	padding: 9px 12px;
	border-radius: 8px;
	color: var(--oac-sh-text) !important;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.35;
	transition: background-color .12s ease, color .12s ease;
}

.oac-sh__sublink:hover,
.oac-sh__sublink[aria-current="page"] {
	background: var(--oac-sh-soft-blue);
	color: var(--oac-sh-blue-hover) !important;
}

.oac-sh__sublist--strong .oac-sh__sublink {
	font-weight: 600;
}

.oac-sh__sublist--grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px 4px;
}

.oac-sh__sublist--grid .oac-sh__sublink {
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
}

/* ---------------------------------------------------------------- actions + buttons */
.oac-sh__actions {
	display: flex;
	flex: none;
	align-items: center;
	gap: 8px;
}

.oac-sh__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

.oac-sh__btn:hover {
	transform: translateY(-1px);
}

.oac-sh__btn:active {
	transform: none;
}

.oac-sh__btn--primary {
	background: var(--oac-sh-blue);
	box-shadow: 0 1px 2px rgba(7, 27, 46, .12), inset 0 1px 0 rgba(255, 255, 255, .14);
	color: #fff !important;
}

.oac-sh__btn--primary:hover {
	background: var(--oac-sh-blue-hover);
}

.oac-sh__btn--secondary {
	border-color: var(--oac-sh-border-dark);
	background: #fff;
	color: var(--oac-sh-navy) !important;
}

.oac-sh__btn--secondary:hover {
	border-color: var(--oac-sh-navy);
}

.oac-sh__btn--block {
	display: flex;
	width: 100%;
	min-height: 52px;
	font-size: 16px;
}

.oac-sh__icon-btn {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--oac-sh-border);
	border-radius: 10px;
	background: #fff;
	color: var(--oac-sh-navy) !important;
	cursor: pointer;
}

.oac-sh__icon-btn .oac-sh__icon {
	width: 22px;
	height: 22px;
}

.oac-sh__call .oac-sh__icon {
	width: 20px;
	height: 20px;
	color: var(--oac-sh-blue);
}

.oac-sh__burger-close,
.oac-sh__burger[aria-expanded="true"] .oac-sh__burger-open {
	display: none;
}

.oac-sh__burger[aria-expanded="true"] .oac-sh__burger-close {
	display: block;
}

.oac-sh__menu-extra {
	display: none;
}

/* ---------------------------------------------------------------- compact desktop */
@media (max-width: 1359px) {
	.oac-sh {
		--oac-sh-gutter: 28px;
	}

	.oac-sh__bar-inner {
		gap: 16px;
	}

	.oac-sh__logo {
		width: 150px;
		height: 25px;
	}

	.oac-sh__link {
		padding: 0 7px;
		font-size: 14.5px;
	}

	.oac-sh__top .oac-sh__link {
		padding-right: 1px;
	}

	.oac-sh__toggle {
		width: 22px;
		margin-right: 2px;
	}

	.oac-sh__btn {
		padding: 0 15px;
		font-size: 14.5px;
	}
}

/* ---------------------------------------------------------------- below 1280px: menu becomes a dropdown panel */
@media (max-width: 1279px) {
	.oac-sh {
		--oac-sh-gutter: 24px;
	}

	html:has(.oac-sh) {
		scroll-padding-top: 88px;
	}

	.oac-sh__brand {
		margin-right: auto;
	}

	.oac-sh-js .oac-sh__burger {
		display: inline-flex;
	}

	.oac-sh__nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		flex-direction: column;
		height: auto;
		max-height: calc(100vh - var(--oac-sh-bar));
		max-height: calc(100dvh - var(--oac-sh-bar));
		overflow-y: auto;
		overscroll-behavior: contain;
		margin-inline: calc(-1 * var(--oac-sh-gutter));
		padding: 4px var(--oac-sh-gutter) calc(20px + env(safe-area-inset-bottom, 0px));
		border-bottom: 1px solid var(--oac-sh-border);
		background: #fff;
		box-shadow: 0 28px 48px -12px rgba(7, 27, 46, .18);
	}

	.oac-sh-js .oac-sh__nav.is-open {
		display: flex;
		animation: oac-sh-in .18s var(--oac-sh-ease);
	}

	/* No page scrolling behind the open panel (set by JS on the burger). */
	html.oac-sh-locked,
	html.oac-sh-locked body {
		overflow: hidden;
	}

	.oac-sh__list {
		display: block;
		height: auto;
	}

	.oac-sh__item,
	.oac-sh__item.is-mega {
		position: relative;
		display: block;
		border-bottom: 1px solid var(--oac-sh-border);
	}

	.oac-sh__link {
		width: 100%;
		min-height: 54px;
		padding: 0 4px;
		border-radius: 0;
		font-size: 17px;
	}

	.oac-sh__link:hover,
	.oac-sh__item.is-open > .oac-sh__link--button,
	.oac-sh__top:hover,
	.oac-sh__item.is-open > .oac-sh__top {
		background: none;
	}

	.oac-sh__link--button {
		justify-content: space-between;
		text-align: left;
	}

	.oac-sh__link .oac-sh__icon,
	.oac-sh__toggle .oac-sh__icon {
		width: 20px;
		height: 20px;
	}

	.oac-sh__top .oac-sh__link {
		flex: 1;
	}

	.oac-sh__toggle {
		width: 44px;
		height: 44px;
		margin: 0;
		border-radius: 10px;
	}

	.oac-sh__panel,
	.oac-sh__item.is-mega > .oac-sh__panel,
	.oac-sh__item.is-mega > .oac-sh__panel--grid {
		position: static;
		display: none;
		width: auto;
		min-width: 0;
		padding: 0 0 14px;
		border: 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
		visibility: visible;
		opacity: 1;
		transform: none;
		pointer-events: auto;
		transition: none;
	}

	.oac-sh__panel::before {
		display: none;
	}

	.oac-sh__item.is-open > .oac-sh__panel,
	.oac-sh__item.is-mega.is-open > .oac-sh__panel {
		display: block;
		transform: none;
	}

	html:not(.oac-sh-js) .oac-sh__item.has-sub:hover > .oac-sh__panel {
		display: none;
	}

	.oac-sh__mega {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px 16px;
	}

	.oac-sh__col,
	.oac-sh__col + .oac-sh__col {
		padding: 4px 0;
		border-left: 0;
	}

	.oac-sh__col-title {
		margin: 4px 0 2px;
		padding: 8px 8px 6px;
	}

	.oac-sh__sublink {
		padding: 11px 8px;
		font-size: 15.5px;
	}

	.oac-sh__sublist--grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.oac-sh__sublist--grid .oac-sh__sublink {
		font-size: 13.5px;
	}
}

@keyframes oac-sh-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 782px) {
	.oac-sh__util-link,
	.oac-sh__phone span {
		white-space: nowrap;
	}
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 599px) {
	.oac-sh {
		--oac-sh-bar: 64px;
		--oac-sh-gutter: 20px;

		top: 0;
	}

	html:has(.oac-sh) {
		scroll-padding-top: 80px;
	}

	.oac-sh__util,
	.oac-sh__cta {
		display: none;
	}

	.oac-sh__logo {
		width: 150px;
		height: 25px;
	}

	.oac-sh-js .oac-sh__call {
		display: inline-flex;
	}

	.oac-sh__bar-inner {
		gap: 8px;
	}

	.oac-sh__mega,
	.oac-sh__sublist--grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.oac-sh__sublist--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.oac-sh__menu-extra {
		display: grid;
		gap: 10px;
		padding-top: 20px;
	}

	.oac-sh__menu-phone {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 44px;
		margin-top: 4px;
		color: var(--oac-sh-text) !important;
		font-size: 15px;
		font-weight: 600;
	}

	.oac-sh__menu-phone .oac-sh__icon {
		width: 16px;
		height: 16px;
		color: var(--oac-sh-blue);
	}

	.oac-sh__menu-extra .oac-sh__social {
		justify-content: center;
		gap: 6px;
	}

	.oac-sh__menu-extra .oac-sh__social a {
		width: 44px;
		height: 44px;
		border: 1px solid var(--oac-sh-border);
		border-radius: 10px;
	}

	.oac-sh__menu-extra .oac-sh__social .oac-sh__icon {
		width: 18px;
		height: 18px;
	}
}

/* No-JS below the desktop breakpoint: logo + primary button (the menu needs JS). */
@media (max-width: 599px) {
	html:not(.oac-sh-js) .oac-sh__cta {
		display: inline-flex;
		min-height: 40px;
		padding: 0 12px;
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.oac-sh *,
	.oac-sh *::before,
	.oac-sh *::after {
		transition: none !important;
		animation: none !important;
	}
}
