/**
 * Header pill — loaded last, high specificity to beat Gutenberg / menu floats.
 */

/* Reserve space in document flow so content isn't hidden under the fixed pill.
 * On marketing pages the hero starts at body top (like Home); header pill floats over it. */
header.bw-site-header {
	position: relative !important;
	top: auto !important;
	z-index: auto !important;
	width: 100% !important;
	height: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
	display: block !important;
	pointer-events: none !important;
}

header.bw-site-header .bw-site-header__shell {
	max-width: none !important;
	width: 100% !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	pointer-events: none !important;
}

/* Fixed centered pill with top spacing */
.bw-site-header__bar {
	position: fixed !important;
	top: 24px !important;
	left: 50% !important;
	right: auto !important;
	bottom: auto !important;
	transform: translateX(-50%) !important;
	z-index: 1000 !important;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 0 !important;
	width: calc(100% - 40px) !important;
	max-width: 80rem !important;
	margin: 0 !important;
	min-height: 68px !important;
	padding: 10px 12px 10px 20px !important;
	box-sizing: border-box !important;
	background: #ffffffb5 !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 999px !important;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06) !important;
	overflow: visible !important;
	pointer-events: auto !important;
	transition:
		transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.22s ease,
		box-shadow 0.22s ease !important;
}

@media (min-width: 768px) {
	.bw-site-header__bar {
		top: 28px !important;
		width: calc(100% - 64px) !important;
	}
}

header.bw-site-header.is-scrolled .bw-site-header__bar {
	box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1) !important;
}

header.bw-site-header.is-header-hidden .bw-site-header__bar {
	transform: translateX(-50%) translateY(calc(-100% - 48px)) !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

header.bw-site-header:has(.bw-nav__item.is-open) .bw-site-header__bar,
header.bw-site-header:has(.bw-nav__item.is-open).is-header-hidden .bw-site-header__bar {
	transform: translateX(-50%) !important;
	opacity: 1 !important;
	pointer-events: auto !important;
}

@media (prefers-reduced-motion: reduce) {
	.bw-site-header__bar {
		transition: box-shadow 0.22s ease !important;
	}

	header.bw-site-header.is-header-hidden .bw-site-header__bar {
		transform: translateX(-50%) !important;
		opacity: 1 !important;
		pointer-events: auto !important;
	}
}

.bw-site-header__left,
.bw-site-header__right {
	position: relative !important;
	z-index: 5 !important;
	display: flex !important;
	align-items: center !important;
	flex: 0 0 auto !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	float: none !important;
}

.bw-site-header__right {
	gap: 14px !important;
	padding-right: 4px !important;
	margin-left: auto !important;
}

/* True center nav — sibling of the pill (not inside transform), fixed to viewport */
.bw-site-header__center {
	position: fixed !important;
	left: 50% !important;
	top: 24px !important;
	transform: translateX(-50%) !important;
	z-index: 1001 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	max-width: min(680px, calc(100% - 360px)) !important;
	height: 68px !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	overflow: visible !important;
	pointer-events: none;
	box-sizing: border-box !important;
}

@media (min-width: 768px) {
	.bw-site-header__center {
		top: 28px !important;
	}
}

header.bw-site-header.is-header-hidden .bw-site-header__center {
	transform: translateX(-50%) translateY(calc(-100% - 48px)) !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

header.bw-site-header:has(.bw-nav__item.is-open) .bw-site-header__center,
header.bw-site-header:has(.bw-nav__item.is-open).is-header-hidden .bw-site-header__center {
	transform: translateX(-50%) !important;
	opacity: 1 !important;
	pointer-events: none !important;
}

.bw-site-header__center .bw-nav,
.bw-site-header__center .bw-nav__list,
.bw-site-header__center .bw-nav__item,
.bw-site-header__center .bw-mega,
.bw-site-header__center .bw-mega *,
.bw-site-header__center a,
.bw-site-header__center button {
	pointer-events: auto !important;
}

/* Anchor Product mega to the fixed pill (not clipped by center column) — see rule after item relative */

.bw-site-header__bar .bw-brand-logo {
	display: inline-flex !important;
	flex-direction: column !important;
	align-items: flex-end !important;
	flex-shrink: 0 !important;
	line-height: 0 !important;
}

.bw-site-header__bar .bw-brand-logo__img {
	display: block !important;
	height: 32px !important;
	width: auto !important;
	max-width: 160px !important;
}

.bw-site-header__bar .bw-brand-logo__by {
	color: var(--brand-navy, #0f172a);
	font-size: 10px;
	letter-spacing: 0.06em;
}

/* Kill classic menu floats / block styles */
header.bw-site-header .bw-nav,
header.bw-site-header .bw-nav * {
	box-sizing: border-box;
}

header.bw-site-header .bw-nav {
	display: block !important;
	width: auto !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

header.bw-site-header .bw-nav__list,
header.bw-site-header ul.bw-nav__list,
header.bw-site-header .bw-nav > ul {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 16px !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	max-width: 100% !important;
	float: none !important;
	clear: none !important;
}

header.bw-site-header .bw-nav__list::before,
header.bw-site-header .bw-nav__list::after {
	content: none !important;
	display: none !important;
}

header.bw-site-header .bw-nav__item,
header.bw-site-header .bw-nav__list > li,
.bw-site-header__bar li.menu-item {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	float: none !important;
	clear: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	background: transparent !important;
}

/* Card megas stay under their trigger */
header.bw-site-header .bw-nav__item.bw-nav__item--cards,
header.bw-site-header .bw-nav__item.bw-nav__item--product {
	position: relative !important;
}

header.bw-site-header .bw-nav__link,
header.bw-site-header .bw-nav__trigger {
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
	padding: 8px 11px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	color: #0f172a !important;
	font-family: "DM Sans", sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	cursor: pointer !important;
	box-shadow: none !important;
}

header.bw-site-header .bw-nav__link:hover,
header.bw-site-header .bw-nav__trigger:hover,
header.bw-site-header .bw-nav__item.is-open > .bw-nav__trigger {
	color: #2563eb !important;
	background: #eff6ff !important;
}

header.bw-site-header .bw-nav__chevron {
	display: inline-flex !important;
	width: 12px !important;
	height: 12px !important;
}

header.bw-site-header .bw-nav__chevron svg {
	width: 12px !important;
	height: 12px !important;
}

/* Dropdowns */
header.bw-site-header .bw-mega {
	position: absolute !important;
	top: 100% !important;
	left: 0 !important;
	z-index: 60 !important;
	width: 220px !important;
	padding: 8px 8px 8px !important;
	margin: 0 !important;
	float: none !important;
	background: #fff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 16px !important;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12) !important;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(0);
	transition: opacity 200ms ease, visibility 200ms ease;
}

/* Invisible hover bridge so cursor can move into the panel */
header.bw-site-header .bw-mega::before {
	content: "" !important;
	position: absolute !important;
	top: -16px !important;
	left: 0 !important;
	right: 0 !important;
	height: 16px !important;
	display: block !important;
}

/* Icon-card megas — Product / Industries / Resources / Company */
header.bw-site-header .bw-nav__item.bw-nav__item--cards,
header.bw-site-header .bw-nav__item.bw-nav__item--product {
	position: relative !important;
}

header.bw-site-header .bw-mega.bw-mega--cards,
header.bw-site-header .bw-mega.bw-mega--product {
	min-width: 480px !important;
	width: min(480px, calc(100vw - 48px)) !important;
	padding: 14px 12px 12px !important;
	left: 50% !important;
	right: auto !important;
	/* Clear the rest of the 68px pill below the trigger text */
	top: calc(100% + 28px) !important;
	margin-top: 0 !important;
	transform: translateX(-50%) !important;
	border-radius: 18px !important;
	z-index: 120 !important;
}

header.bw-site-header .bw-mega.bw-mega--cards:not(.bw-mega--product):not(.bw-mega--resources-split) {
	min-width: 280px !important;
	width: min(320px, calc(100vw - 48px)) !important;
}

header.bw-site-header .bw-mega.bw-mega--resources-split {
	min-width: 560px !important;
	width: min(620px, calc(100vw - 48px)) !important;
	padding: 0 !important;
	overflow: hidden !important;
}

header.bw-site-header .bw-mega__resources {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) !important;
	align-items: stretch !important;
	min-height: 220px !important;
}

header.bw-site-header .bw-mega__resources-nav {
	padding: 18px 16px 18px 18px !important;
}

header.bw-site-header .bw-mega__resources-nav .bw-mega__label {
	margin: 0 0 10px 4px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.01em !important;
	text-transform: none !important;
	color: #94a3b8 !important;
}

header.bw-site-header .bw-mega__link-list {
	display: flex !important;
	flex-direction: column !important;
	gap: 2px !important;
}

header.bw-site-header .bw-mega__link-item {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	padding: 10px 12px !important;
	border-radius: 12px !important;
	text-decoration: none !important;
	color: #0f172a !important;
}

header.bw-site-header .bw-mega__link-item:hover {
	background: #f8fafc !important;
}

header.bw-site-header .bw-mega__link-item .bw-mega__ico {
	flex: 0 0 40px !important;
	width: 40px !important;
	height: 40px !important;
	border-radius: 10px !important;
	background: #eff6ff !important;
	color: #2563eb !important;
}

header.bw-site-header .bw-mega__link-item .bw-mega__ico svg {
	width: 18px !important;
	height: 18px !important;
}

header.bw-site-header .bw-mega__link-title {
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	color: #0f172a !important;
}

header.bw-site-header .bw-mega__resources-feature {
	padding: 14px !important;
	background: linear-gradient(160deg, #eff6ff 0%, #f8fafc 55%, #f1f5f9 100%) !important;
}

header.bw-site-header .bw-mega__spotlight {
	display: flex !important;
	flex-direction: column !important;
	gap: 12px !important;
	height: 100% !important;
	padding: 12px !important;
	border-radius: 14px !important;
	background: #ffffff !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
	text-decoration: none !important;
	color: inherit !important;
	box-sizing: border-box !important;
	transition: box-shadow 200ms ease, transform 200ms ease !important;
}

header.bw-site-header .bw-mega__spotlight:hover {
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
	transform: translateY(-1px) !important;
}

header.bw-site-header .bw-mega__spotlight-media {
	position: relative !important;
	display: block !important;
	overflow: hidden !important;
	border-radius: 10px !important;
	aspect-ratio: 16 / 9 !important;
	background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 45%, #93c5fd 100%) !important;
}

header.bw-site-header .bw-mega__spotlight-media img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

header.bw-site-header .bw-mega__spotlight-eyebrow {
	position: absolute !important;
	top: 10px !important;
	left: 10px !important;
	padding: 4px 8px !important;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, 0.92) !important;
	color: #334155 !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	line-height: 1 !important;
}

header.bw-site-header .bw-mega__spotlight-title {
	display: block !important;
	padding: 0 2px !important;
	font-size: 15px !important;
	font-weight: 650 !important;
	line-height: 1.35 !important;
	color: #0f172a !important;
}

header.bw-site-header .bw-mega__spotlight-more {
	display: inline-flex !important;
	margin-top: auto !important;
	padding: 0 2px 2px !important;
	color: #64748b !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	text-decoration: underline !important;
	text-underline-offset: 0.18em !important;
}

header.bw-site-header .bw-mega__spotlight:hover .bw-mega__spotlight-more {
	color: #2563eb !important;
}

@media (max-width: 720px) {
	header.bw-site-header .bw-mega.bw-mega--resources-split {
		min-width: 280px !important;
		width: min(360px, calc(100vw - 48px)) !important;
	}

	header.bw-site-header .bw-mega__resources {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	header.bw-site-header .bw-mega__resources-feature {
		display: none !important;
	}
}

header.bw-site-header .bw-mega.bw-mega--cards::before,
header.bw-site-header .bw-mega.bw-mega--product::before {
	top: -28px !important;
	height: 28px !important;
}

header.bw-site-header .bw-mega[hidden] {
	display: none !important;
}

header.bw-site-header .bw-nav__item.is-open > .bw-mega {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
}

header.bw-site-header .bw-nav__item.is-open > .bw-mega.bw-mega--cards,
header.bw-site-header .bw-nav__item.is-open > .bw-mega.bw-mega--product {
	transform: translateX(-50%) !important;
}

header.bw-site-header .bw-mega__feature {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	padding: 14px 16px !important;
	margin: 0 0 10px !important;
	border-radius: 12px !important;
	background: linear-gradient(90deg, #eff6ff 0%, #f8fafc 100%) !important;
	color: #0f172a !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
}

header.bw-site-header .bw-mega__feature:hover {
	background: linear-gradient(90deg, #dbeafe 0%, #eff6ff 100%) !important;
}

header.bw-site-header .bw-mega__feature-arrow {
	display: inline-flex !important;
	width: 16px !important;
	height: 16px !important;
	opacity: 0.7 !important;
}

header.bw-site-header .bw-mega__feature-arrow svg {
	width: 16px !important;
	height: 16px !important;
}

header.bw-site-header .bw-mega__label {
	margin: 0 0 8px !important;
	padding: 0 4px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	color: #64748b !important;
}

header.bw-site-header .bw-mega__grid {
	display: grid !important;
	gap: 4px !important;
	width: 100% !important;
}

/* Product: Voice + Chat side by side */
header.bw-site-header .bw-mega--product .bw-mega__grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

/* Industries / Resources / Company: stack in narrow panel (no overlap) */
header.bw-site-header .bw-mega--cards:not(.bw-mega--product) .bw-mega__grid,
header.bw-site-header .bw-mega--cards:not(.bw-mega--product) .bw-mega__grid--1,
header.bw-site-header .bw-mega--cards:not(.bw-mega--product) .bw-mega__grid--2,
header.bw-site-header .bw-mega--cards:not(.bw-mega--product) .bw-mega__grid--3 {
	grid-template-columns: minmax(0, 1fr) !important;
}

header.bw-site-header .bw-mega--cards:not(.bw-mega--product) .bw-mega__item {
	overflow: hidden !important;
}

header.bw-site-header .bw-mega--cards:not(.bw-mega--product) .bw-mega__title,
header.bw-site-header .bw-mega--cards:not(.bw-mega--product) .bw-mega__desc {
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

header.bw-site-header .bw-mega__item {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	width: 100% !important;
	padding: 10px 12px !important;
	border-radius: 12px !important;
	text-decoration: none !important;
	color: inherit !important;
	box-sizing: border-box !important;
}

header.bw-site-header .bw-mega__item:hover {
	background: #f8fafc !important;
}

header.bw-site-header .bw-mega__ico {
	flex: 0 0 36px !important;
	width: 36px !important;
	height: 36px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 10px !important;
	background: #eff6ff !important;
	color: #2563eb !important;
}

header.bw-site-header .bw-mega__ico svg {
	width: 18px !important;
	height: 18px !important;
}

header.bw-site-header .bw-mega__copy {
	display: flex !important;
	flex-direction: column !important;
	gap: 2px !important;
	min-width: 0 !important;
	text-align: left !important;
}

header.bw-site-header .bw-mega__title {
	display: block !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #0f172a !important;
	line-height: 1.25 !important;
}

header.bw-site-header .bw-mega__desc {
	display: block !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	color: #64748b !important;
	line-height: 1.35 !important;
}

header.bw-site-header .bw-mega__list {
	display: grid !important;
	gap: 2px !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

header.bw-site-header .bw-mega__link {
	display: block !important;
	padding: 10px 12px !important;
	border-radius: 10px !important;
	color: #0f172a !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
}

header.bw-site-header .bw-mega__link:hover {
	background: #eff6ff !important;
	color: #2563eb !important;
}

.bw-site-header__bar .bw-header-signin {
	display: inline-flex !important;
	align-items: center !important;
	padding: 8px 4px !important;
	color: #0f172a !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}

.bw-site-header__bar .bw-header-signin:hover {
	color: #2563eb !important;
}

.bw-site-header__bar .bw-header-demo {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
	padding: 11px 18px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #2563eb !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	white-space: nowrap !important;
	cursor: pointer !important;
	box-shadow: none !important;
}

/* Drawer chrome — hidden on desktop */
.bw-nav-panel__footer,
.bw-nav-panel__top {
	display: none;
}

.bw-site-header__bar .bw-header-demo:hover {
	background: #1d4ed8 !important;
	color: #fff !important;
}

/* Mobile drawer extras — desktop hidden */
.bw-nav-toggle,
.bw-nav-backdrop {
	display: none;
}

@media (max-width: 980px) {
	/* Keep document flow at body top — pill floats over the hero (same as desktop) */
	header.bw-site-header {
		height: 0 !important;
		min-height: 0 !important;
		padding: 0 !important;
	}

	header.bw-site-header .bw-site-header__bar,
	.bw-site-header__bar {
		top: 12px !important;
		left: 12px !important;
		right: 12px !important;
		width: auto !important;
		max-width: none !important;
		flex-wrap: nowrap !important;
		border-radius: 999px !important;
		gap: 8px !important;
		padding: 10px 12px !important;
		/* Must stay transform:none — any transform makes the fixed drawer
		   position relative to the pill instead of the viewport */
		transform: none !important;
		align-items: center !important;
	}

	header.bw-site-header.is-scrolled .bw-site-header__bar,
	header.bw-site-header.is-header-hidden .bw-site-header__bar,
	header.bw-site-header.is-nav-open .bw-site-header__bar,
	header.bw-site-header:has(.bw-nav__item.is-open) .bw-site-header__bar,
	header.bw-site-header:has(.bw-nav__item.is-open).is-header-hidden .bw-site-header__bar {
		transform: none !important;
		opacity: 1 !important;
		pointer-events: auto !important;
	}

	.bw-site-header__left {
		order: 1 !important;
		flex: 0 0 auto !important;
		min-width: 0 !important;
	}

	.bw-site-header__left .bw-brand-logo__img {
		height: 28px !important;
		max-width: 132px !important;
	}

	.bw-site-header__right {
		order: 2 !important;
		margin-left: auto !important;
		gap: 8px !important;
		flex: 0 0 auto !important;
		flex-shrink: 0 !important;
		align-items: center !important;
		padding-right: 0 !important;
	}

	/* Move Login into the drawer on mobile */
	.bw-site-header__bar .bw-header-signin {
		display: none !important;
	}

	.bw-site-header__bar .bw-header-demo {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		min-height: 36px !important;
		padding: 8px 14px !important;
		font-size: 13px !important;
		white-space: nowrap !important;
	}

	.bw-nav-toggle {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		flex-shrink: 0;
		padding: 0;
		border: 1px solid var(--brand-border, #e2e8f0);
		border-radius: 999px;
		background: #fff;
		color: var(--brand-navy, #0f172a);
		cursor: pointer;
	}

	.bw-nav-toggle__bars {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 18px;
	}

	.bw-nav-toggle__bars span {
		display: block;
		height: 2px;
		width: 100%;
		border-radius: 2px;
		background: currentColor;
		transition: transform 0.2s ease, opacity 0.2s ease;
	}

	header.bw-site-header.is-nav-open .bw-nav-toggle__bars span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	header.bw-site-header.is-nav-open .bw-nav-toggle__bars span:nth-child(2) {
		opacity: 0;
	}

	header.bw-site-header.is-nav-open .bw-nav-toggle__bars span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.bw-nav-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 998;
		border: 0;
		padding: 0;
		margin: 0;
		width: 100%;
		height: 100%;
		background: rgba(15, 23, 42, 0.4);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		cursor: pointer;
		transition: opacity 0.2s ease, visibility 0.2s ease;
	}

	.bw-nav-backdrop.is-open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.bw-nav-backdrop[hidden] {
		display: none !important;
	}

	header.bw-site-header.is-nav-open .bw-site-header__bar {
		z-index: 1000 !important;
	}

	.bw-site-header__center {
		position: fixed !important;
		top: 0 !important;
		right: 0 !important;
		left: auto !important;
		bottom: 0 !important;
		z-index: 1001 !important;
		transform: translateX(100%) !important;
		order: unset !important;
		flex: none !important;
		display: flex !important;
		flex-direction: column !important;
		width: min(100vw, 22rem) !important;
		max-width: 100% !important;
		height: 100% !important;
		max-height: 100dvh !important;
		margin: 0 !important;
		padding: 88px 16px 28px !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		justify-content: flex-start !important;
		align-items: stretch !important;
		background: #fff !important;
		box-shadow: -12px 0 40px rgba(15, 23, 42, 0.12);
		pointer-events: auto !important;
		visibility: hidden;
		opacity: 1 !important;
		transition: transform 0.25s ease, visibility 0.25s ease;
	}

	/* Kill desktop center transforms (hide-up / translateX(-50%)) on mobile */
	header.bw-site-header.is-header-hidden .bw-site-header__center,
	header.bw-site-header:has(.bw-nav__item.is-open) .bw-site-header__center,
	header.bw-site-header:has(.bw-nav__item.is-open).is-header-hidden .bw-site-header__center {
		transform: translateX(100%) !important;
		opacity: 1 !important;
		visibility: hidden;
		pointer-events: none !important;
	}

	header.bw-site-header.is-nav-open .bw-site-header__center,
	header.bw-site-header.is-nav-open:has(.bw-nav__item.is-open) .bw-site-header__center,
	header.bw-site-header.is-nav-open.is-header-hidden .bw-site-header__center,
	header.bw-site-header.is-nav-open:has(.bw-nav__item.is-open).is-header-hidden .bw-site-header__center {
		transform: translateX(0) !important;
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
	}

	header.bw-site-header .bw-nav {
		width: 100% !important;
		max-width: none !important;
		flex: 1 1 auto !important;
	}

	.bw-nav-panel__top {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 12px !important;
		flex: 0 0 auto !important;
		margin: 0 0 12px !important;
		padding: 0 0 12px !important;
		border-bottom: 1px solid var(--brand-border, #e2e8f0) !important;
	}

	.bw-nav-panel__title {
		margin: 0 !important;
		padding: 0 4px !important;
		color: var(--brand-navy, #0f172a) !important;
		font-size: 15px !important;
		font-weight: 700 !important;
		line-height: 1.2 !important;
		letter-spacing: -0.01em !important;
	}

	.bw-nav-panel__close {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 40px !important;
		height: 40px !important;
		padding: 0 !important;
		border: 1px solid var(--brand-border, #e2e8f0) !important;
		border-radius: 999px !important;
		background: #fff !important;
		color: var(--brand-navy, #0f172a) !important;
		cursor: pointer !important;
		flex-shrink: 0 !important;
	}

	.bw-nav-panel__close svg {
		width: 18px !important;
		height: 18px !important;
	}

	.bw-nav-panel__close:hover,
	.bw-nav-panel__close:focus-visible {
		border-color: var(--brand-primary-border, #bfdbfe) !important;
		background: var(--brand-primary-soft, #eff6ff) !important;
		color: var(--brand-primary, #2563eb) !important;
		outline: none !important;
	}

	.bw-nav-panel__footer {
		display: block !important;
		margin-top: auto !important;
		padding-top: 20px !important;
		border-top: 1px solid var(--brand-border, #e2e8f0) !important;
	}

	.bw-nav-panel__login {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		min-height: 48px !important;
		padding: 12px 16px !important;
		border: 1px solid var(--brand-border, #e2e8f0) !important;
		border-radius: 12px !important;
		background: #fff !important;
		color: var(--brand-navy, #0f172a) !important;
		font-size: 16px !important;
		font-weight: 600 !important;
		line-height: 1.2 !important;
		text-align: center !important;
		text-decoration: none !important;
		box-sizing: border-box !important;
	}

	.bw-nav-panel__login:hover,
	.bw-nav-panel__login:focus-visible {
		border-color: var(--brand-primary-border, #bfdbfe) !important;
		background: var(--brand-primary-soft, #eff6ff) !important;
		color: var(--brand-primary, #2563eb) !important;
		outline: none !important;
	}

	header.bw-site-header .bw-nav__list,
	header.bw-site-header ul.bw-nav__list,
	header.bw-site-header .bw-nav > ul {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
		width: 100% !important;
		max-width: none !important;
		gap: 4px !important;
	}

	header.bw-site-header .bw-nav__item,
	header.bw-site-header .bw-nav__list > li,
	.bw-site-header__bar li.menu-item {
		width: 100% !important;
		display: block !important;
	}

	header.bw-site-header .bw-nav__link,
	header.bw-site-header .bw-nav__trigger {
		width: 100% !important;
		justify-content: space-between !important;
		padding: 14px 12px !important;
		font-size: 16px !important;
		border-radius: 12px !important;
	}

	header.bw-site-header .bw-nav__item.is-open > .bw-nav__trigger {
		background: var(--brand-primary-soft, #eff6ff) !important;
		color: var(--brand-primary, #2563eb) !important;
	}

	header.bw-site-header .bw-mega,
	header.bw-site-header .bw-mega.bw-mega--cards,
	header.bw-site-header .bw-mega.bw-mega--product,
	header.bw-site-header .bw-mega.bw-mega--resources-split {
		position: static !important;
		left: auto !important;
		right: auto !important;
		top: auto !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		margin: 4px 0 10px !important;
		padding: 10px !important;
		border: 1px solid var(--brand-border, #e2e8f0) !important;
		border-radius: 14px !important;
		box-shadow: none !important;
		overflow: visible !important;
		/* Kill desktop centered-dropdown shift (translateX(-50%)) */
		transform: none !important;
		background: #f8fafc !important;
	}

	header.bw-site-header .bw-mega::before,
	header.bw-site-header .bw-mega.bw-mega--cards::before,
	header.bw-site-header .bw-mega.bw-mega--product::before {
		display: none !important;
	}

	header.bw-site-header .bw-nav__item.is-open > .bw-mega,
	header.bw-site-header .bw-nav__item.is-open > .bw-mega.bw-mega--cards,
	header.bw-site-header .bw-nav__item.is-open > .bw-mega.bw-mega--product {
		display: block !important;
		transform: none !important;
	}

	header.bw-site-header .bw-mega__resources {
		display: block !important;
	}

	header.bw-site-header .bw-mega__resources-feature {
		display: none !important;
	}

	header.bw-site-header .bw-mega__grid,
	header.bw-site-header .bw-mega--product .bw-mega__grid--2,
	header.bw-site-header .bw-mega--cards:not(.bw-mega--product) .bw-mega__grid {
		display: flex !important;
		flex-direction: column !important;
		gap: 2px !important;
		grid-template-columns: minmax(0, 1fr) !important;
	}

	header.bw-site-header .bw-mega__item,
	header.bw-site-header .bw-mega__link-item,
	header.bw-site-header .bw-mega__feature {
		width: 100% !important;
		min-width: 0 !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 12px !important;
		border-radius: 10px !important;
		box-sizing: border-box !important;
		background: #fff !important;
	}

	header.bw-site-header .bw-mega__feature {
		margin-bottom: 8px !important;
		background: #fff !important;
	}

	header.bw-site-header .bw-mega__title,
	header.bw-site-header .bw-mega__desc {
		white-space: normal !important;
		overflow: visible !important;
		text-overflow: unset !important;
	}

	header.bw-site-header .bw-mega__label {
		margin: 6px 4px 8px !important;
	}

	header.bw-site-header .bw-mega__section {
		margin: 0 !important;
	}

	html.bw-nav-open,
	html.bw-nav-open body {
		overflow: hidden !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bw-site-header__center,
	.bw-nav-backdrop,
	.bw-nav-toggle__bars span {
		transition: none !important;
	}
}
