:root {
	--ph-blue: #0065fc;
	--ph-blue-soft: #5e9fff;
	--ph-navy: #003a94;
	--ph-text: #171719;
	--ph-text-secondary: #5b6672;
	--ph-muted: #203040;
	--ph-bg-subtle: #e6eef9;
	--ph-bg-soft: #f2f7ff;
	--ph-white: #ffffff;
	--ph-radius: 12px;
	--ph-radius-lg: 32px;
	--ph-bar-h: 76px;
	--ph-font: "Soderberg Sans", "SoderbergSans", system-ui, -apple-system, sans-serif;
	--ph-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.ph-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99990; /* below WP admin bar */
	font-family: var(--ph-font);
	color: var(--ph-text);
	/* No backdrop-filter here — it creates a containing block and
	   breaks position:fixed on .ph-mega-backdrop (full-page overlay). */
	background: transparent;
	box-shadow: none;
}

/* Offset for WP admin bar when logged in.
   Spacer stays at --ph-bar-h only — WP already pads html for the admin bar. */
body.admin-bar .ph-header {
	top: 32px;
}

/* Salient material OCM wraps the page (and relocates #wpadminbar) in
   .ocm-effect-wrap { z-index: 10 }. Raising that wrap would paint the
   whole page over the header. JS hoists #wpadminbar onto body instead. */
body.admin-bar #wpadminbar {
	z-index: 100000 !important;
}

body.admin-bar .ph-drawer {
	top: calc(var(--ph-bar-h) + 32px);
	height: calc(100dvh - var(--ph-bar-h) - 32px);
	max-height: calc(100dvh - var(--ph-bar-h) - 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar .ph-header {
		top: 46px;
	}

	body.admin-bar .ph-drawer {
		top: calc(var(--ph-bar-h) + 46px);
		height: calc(100dvh - var(--ph-bar-h) - 46px);
		max-height: calc(100dvh - var(--ph-bar-h) - 46px);
	}
}

.ph-header.is-sticky .ph-header__bar,
.ph-header.is-hovered .ph-header__bar,
.ph-header.is-mega-open .ph-header__bar,
.ph-header.is-overlay-open .ph-header__bar,
.ph-header.is-drawer-open .ph-header__bar {
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: var(--ph-shadow);
}

.ph-header.is-mega-open .ph-header__bar,
.ph-header.is-overlay-open .ph-header__bar,
.ph-header.is-drawer-open .ph-header__bar {
	background: var(--ph-white);
}

/* Reserve space so content isn't under fixed header */
.ph-header-spacer {
	height: var(--ph-bar-h);
	width: 100%;
	flex: 0 0 auto;
	pointer-events: none;
}

.ph-header__bar {
	position: relative;
	z-index: 3;
	border-bottom: 1px solid transparent;
	background: linear-gradient(118deg, rgba(255, 255, 255, 0.60) 16.89%, rgba(255, 255, 255, 0.60) 101.07%);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: backdrop-filter 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.ph-header.is-mega-open .ph-header__bar,
.ph-header.is-overlay-open .ph-header__bar,
.ph-header.is-drawer-open .ph-header__bar {
	border-bottom-color: var(--ph-bg-subtle);
}

/* Full-page glass backdrop (desktop dropdowns / mega) */
.ph-mega-backdrop {
	display: none;
}

.ph-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1760px;
	margin: 0 auto;
	padding: 16px 40px;
	min-height: var(--ph-bar-h);
	box-sizing: border-box;
}

.ph-logo {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	text-decoration: none;
	color: inherit;
}

.ph-logo--desktop {
	width: 175px;
}

.ph-logo--desktop .ph-logo__img,
.ph-logo--desktop img {
	display: block;
	width: 175px;
	height: auto;
	max-height: 44px;
	object-fit: contain;
}

.ph-logo--mobile {
	display: none;
	width: 120px;
}

.ph-logo--mobile .ph-logo__img,
.ph-logo--mobile img {
	display: block;
	width: 120px;
	height: auto;
	object-fit: contain;
}

.ph-logo--text {
	font-size: 18px;
	font-weight: 700;
}

.ph-mobile-bar {
	display: none;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.ph-nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}

.ph-header ul,
.ph-header ol,
.ph-header li {
	list-style: none !important;
	list-style-type: none !important;
}

.ph-header ul li::before,
.ph-header ol li::before,
.ph-header li::marker {
	content: none !important;
	display: none !important;
}

.ph-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none !important;
	margin: 0;
	padding: 0;
}

.ph-nav__item {
	position: relative;
	margin: 0;
	list-style: none !important;
}

.ph-nav__link {
	appearance: none;
	border: 0;
	background: transparent;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 12px;
	border-radius: 12px;
	font-family: inherit;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--ph-text);
	text-decoration: none;
	position: relative;
}

.ph-nav__chevron {
	transition: transform 0.2s ease;
	flex: 0 0 auto;
}

.ph-nav__link[aria-expanded="true"] .ph-nav__chevron,
.ph-nav__item--mega.is-active .ph-nav__chevron {
	transform: rotate(180deg);
}

.ph-nav__link:hover,
.ph-nav__link:focus-visible,
.ph-nav__link[aria-expanded="true"],
.ph-nav__item--mega.is-active .ph-nav__link {
	color: var(--ph-text);
	background: var(--ph-bg-soft);
}

.ph-nav__link::after {
	display: none;
}

.ph-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	flex: 0 0 auto;
	min-height: 48px;
}

.ph-actions > * {
	display: flex;
	align-items: center;
	align-self: center;
}

.ph-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	height: 48px;
	padding: 8px 24px;
	border-radius: var(--ph-radius);
	font-family: inherit;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none !important;
	text-transform: none;
	letter-spacing: normal;
	box-sizing: border-box;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ph-header .ph-actions .ph-btn,
.ph-header .ph-drawer__footer .ph-btn,
.ph-header .ph-actions .ph-btn span,
.ph-header .ph-drawer__footer .ph-btn span {
	text-transform: none !important;
	letter-spacing: normal !important;
	font-variant: normal;
}

.ph-btn--login {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--ph-text) !important;
	min-height: 48px;
	height: 48px;
	padding: 0 8px !important;
	border-radius: 8px;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	gap: 8px;
}

.ph-header a.ph-btn--login,
.ph-header a.ph-btn--login:visited,
.ph-header a.ph-btn--login:focus {
	color: var(--ph-text) !important;
	text-decoration: none !important;
	background: transparent !important;
}

.ph-header a.ph-btn--login:hover {
	color: var(--ph-text) !important;
	background: transparent !important;
	opacity: 0.75;
}

.ph-btn--login svg {
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	display: block;
}

.ph-drawer__footer .ph-btn--login {
	border: 1px solid var(--ph-text) !important;
	border-radius: 12px;
	min-height: 48px;
	height: auto;
	padding: 8px 24px !important;
	justify-content: center;
	opacity: 1 !important;
}

.ph-drawer__footer .ph-btn--login:hover {
	background: var(--ph-bg-soft) !important;
	opacity: 1;
}

.ph-btn--demo {
	background: var(--ph-blue);
	border: 1px solid var(--ph-blue-soft);
	color: #fff !important;
	min-height: 48px;
	height: 48px;
	line-height: 1;
}

.ph-btn--demo:hover {
	background: #0052d6;
	border-color: #0052d6;
	color: #fff !important;
}

.ph-header a.ph-btn--demo,
.ph-header a.ph-btn--demo:visited,
.ph-header a.ph-btn--demo:focus {
	color: #fff !important;
	text-decoration: none !important;
	background: var(--ph-blue) !important;
	border-color: var(--ph-blue-soft) !important;
}

.ph-header a.ph-btn--demo:hover {
	background: #0052d6 !important;
	border-color: #0052d6 !important;
	color: #fff !important;
	opacity: 1;
}

.ph-btn--block {
	width: 100%;
	min-height: 48px;
}

.ph-drawer__footer .ph-btn--demo {
	background: var(--ph-blue);
	border-color: var(--ph-blue-soft);
	color: #fff !important;
}

.ph-drawer__footer .ph-btn--demo:hover {
	background: #0052d6;
	color: #fff !important;
}

.ph-burger {
	appearance: none;
	border: 0;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--ph-bg-soft);
	color: var(--ph-text);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

.ph-lang--desktop {
	position: relative;
	display: flex;
	align-items: center;
	height: 48px;
}

.ph-lang__toggle {
	appearance: none;
	border: 0;
	background: transparent;
	width: 40px;
	height: 40px;
	min-height: 40px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	color: var(--ph-text);
	cursor: pointer;
	border-radius: 8px;
	font-family: inherit;
	line-height: 0;
}

.ph-lang__toggle:hover,
.ph-lang.is-open .ph-lang__toggle {
	background: var(--ph-bg-soft);
}

.ph-lang__flag {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	flex: 0 0 24px;
}

.ph-lang__globe {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	color: currentColor;
	line-height: 0;
}

.ph-lang__globe svg {
	display: block;
	width: 24px;
	height: 24px;
}

.ph-lang__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 140px;
	margin: 0 !important;
	padding: 12px !important;
	list-style: none !important;
	background: #fff;
	border-radius: 16px;
	box-shadow: var(--ph-shadow);
	border: 1px solid var(--ph-bg-subtle);
	z-index: 5;
	display: none;
	flex-direction: column;
	gap: 4px;
}

.ph-lang.is-open .ph-lang__menu {
	display: flex;
}

.ph-lang__menu[hidden] {
	display: none !important;
}

.ph-lang__menu > li,
.ph-nav__list > li,
.ph-dd li {
	list-style: none !important;
	margin: 0;
	padding: 0;
}

.ph-lang__menu > li::before,
.ph-lang__menu > li::marker,
.ph-dd li::before,
.ph-dd li::marker,
.ph-nav__list > li::before,
.ph-nav__list > li::marker {
	content: none !important;
	display: none !important;
}

.ph-lang__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	text-decoration: none;
	color: var(--ph-navy);
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	background: transparent;
}

.ph-lang__link:hover {
	background: var(--ph-bg-soft);
}

.ph-lang__link.is-active {
	background: transparent;
	color: var(--ph-blue);
}

.ph-dd {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 220px;
	margin: 0 !important;
	padding: 12px !important;
	list-style: none !important;
	background: #fff;
	border-radius: 16px;
	box-shadow: var(--ph-shadow);
	border: 1px solid var(--ph-bg-subtle);
	z-index: 2;
}

.ph-nav__item--dropdown.is-dd-flip .ph-dd {
	left: auto;
	right: 0;
}

.ph-nav__item--dropdown.is-open::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 8px;
	z-index: 1;
}

.ph-dd[hidden] {
	display: none !important;
}

.ph-dd--icons {
	min-width: 300px;
	width: max-content;
	max-width: min(480px, calc(100vw - 32px));
	padding: 16px !important;
	border-radius: 24px;
	border: 1px solid var(--ph-bg-subtle);
	box-shadow:
		0 6px 16px rgba(13, 58, 128, 0.08),
		0 0 0.5px rgba(13, 58, 128, 0.08);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ph-dd--icons > li,
.ph-dd__item {
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none !important;
}

.ph-dd--icons .ph-dd__link {
	display: flex;
	align-items: center;
	gap: 0;
	width: 100%;
	min-height: 44px;
	padding: 0 8px;
	border-radius: 8px;
	box-sizing: border-box;
	color: var(--ph-text-secondary);
	text-decoration: none;
	font-family: var(--ph-font);
	font-size: 20px;
	font-weight: 400;
	line-height: 30px;
	white-space: nowrap;
	transition: color 0.15s ease, background 0.15s ease;
}

.ph-dd--icons .ph-dd__icon {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ph-dd--icons .ph-dd__icon-img {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.ph-dd--icons .ph-dd__label {
	flex: 0 1 auto;
	padding: 8px;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	white-space: nowrap;
}

.ph-dd--icons .ph-dd__link:hover,
.ph-dd--icons .ph-dd__link:focus-visible {
	background: var(--ph-bg-soft);
	color: var(--ph-blue);
}

.ph-dd__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
	border-radius: 12px;
	color: var(--ph-text-secondary);
	text-decoration: none;
	font-family: var(--ph-font);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
	transition: color 0.15s ease, background 0.15s ease;
}

.ph-dd__icon {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ph-dd__icon-img {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.ph-dd__label {
	flex: 1 1 auto;
	min-width: 0;
}

.ph-dd:not(.ph-dd--icons) a,
.ph-dd:not(.ph-dd--icons) .ph-dd__link {
	display: block;
	padding: 8px 10px;
	border-radius: 8px;
	color: var(--ph-text-secondary);
	text-decoration: none;
	font-family: var(--ph-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	transition: color 0.15s ease, background 0.15s ease;
}

.ph-dd:not(.ph-dd--icons) a:hover,
.ph-dd:not(.ph-dd--icons) .ph-dd__link:hover {
	background: var(--ph-bg-soft);
	color: var(--ph-blue);
}

.ph-dd ul {
	list-style: none !important;
	margin: 0;
	padding: 0 0 0 12px;
}

.ph-dd::before,
.ph-lang__menu::before {
	content: '';
	position: absolute;
	top: -8px;
	left: 0;
	right: 0;
	height: 8px;
}

/* Mega */
.ph-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 3;
	background: #fff;
	border-top: 1px solid var(--ph-bg-subtle);
	box-shadow: var(--ph-shadow);
	max-height: calc(100vh - var(--ph-bar-h));
	overflow: auto;
}

.ph-mega__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 24px 40px;
	align-items: stretch;
	max-width: 1760px;
	margin: 0 auto;
	padding: 16px 40px 40px;
	box-sizing: border-box;
}

.ph-mega__cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px 24px;
	align-items: start;
}

.ph-col {
	min-width: 0;
	overflow: visible;
}

.ph-col__head {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 16px;
	border-radius: 32px;
	background: transparent;
	transition: background 0.2s ease;
	overflow: visible;
}

.ph-col:hover .ph-col__head {
	background: var(--ph-bg-soft);
}

.ph-col__icon-wrap,
.ph-mega__footer-icon,
.ph-promo__integrations-icon {
	position: relative;
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}

.ph-col__icon-wrap::before,
.ph-mega__footer-icon::before,
.ph-promo__integrations-icon::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 80px;
	height: 80px;
	transform: translate(-50%, -50%);
	background: url("../icons/icon-glass-glow.svg") center / 80px 80px no-repeat;
	pointer-events: none;
	z-index: 0;
}

.ph-col__icon-glass {
	position: relative;
	z-index: 1;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 8px;
	background: #fff;
	border: none;
	box-shadow: none;
}

.ph-col__icon,
.ph-col__icon-glass img,
.ph-col__icon-glass .ph-icon-anim {
	width: 32px;
	height: 32px;
	object-fit: contain;
	display: block;
	position: relative;
	z-index: 1;
	color: var(--ph-blue);
	flex-shrink: 0;
}

.ph-icon-anim {
	overflow: visible;
}

.ph-col__copy {
	flex: 1 1 auto;
	min-width: 0;
	padding-top: 4px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ph-col__copy p {
	margin: 0;
	padding: 0;
}

.ph-col__title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 32px;
	line-height: 1.3;
	font-weight: 400;
	color: var(--ph-blue);
	text-decoration: none;
}

.ph-col__title-text {
	border-bottom: 1px dotted currentColor;
}

.ph-col__title:hover {
	color: #0052d6;
}

.ph-col__desc {
	font-size: 20px;
	line-height: 1.45;
	color: var(--ph-muted);
}

.ph-col__list {
	display: flex;
	flex-direction: column;
	padding: 0 8px 8px 80px;
}

.ph-feature {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 8px;
	border-radius: 10px;
	text-decoration: none;
	color: var(--ph-text-secondary);
	font-family: var(--ph-font);
	font-size: 20px;
	font-weight: 400;
	line-height: 30px;
	transition: color 0.15s ease;
}

.ph-feature:hover {
	background: transparent;
	color: var(--ph-blue);
}

.ph-feature__label {
	flex: 0 1 auto;
	min-width: 0;
}

.ph-feature__arrow {
	opacity: 0;
	color: var(--ph-blue);
	display: inline-flex;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	transition: opacity 0.15s ease;
	margin-left: 0;
}

.ph-feature:hover .ph-feature__arrow {
	opacity: 1;
}

.ph-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 24px;
	padding: 2px 12px;
	border-radius: 32px;
	font-size: 12px;
	font-weight: 600;
	line-height: 21px;
	text-transform: none;
}

.ph-badge--new {
	background: #217527;
	color: #fff;
}

.ph-badge--soon {
	background: #6d42ff;
	color: #fff;
}

.ph-promo {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-self: stretch;
	min-height: 100%;
	height: 100%;
}

/* Tablet footer — shown only 1024–1439 */
.ph-mega__footer {
	display: none;
}

.ph-promo__card {
	position: relative;
	flex: 1 1 auto;
	border-radius: 32px;
	overflow: hidden;
	min-height: 520px;
	height: auto;
	background: #0b1f3a;
	color: #fff;
}

.ph-promo__media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center top;
}

.ph-promo__media--placeholder {
	background: linear-gradient(160deg, #0b1f3a 0%, #004ba2 55%, #5e9fff 100%);
}

.ph-promo__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 20%, rgba(0, 0, 0, 0.65) 100%);
}

.ph-promo__body {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 8px;
	padding: 24px;
	z-index: 1;
	border-radius: 24px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 16px;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	background: rgba(255, 255, 255, 0.1);
	box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.7);
}

.ph-promo__body p {
	margin: 0;
	padding: 0;
}

.ph-promo__copy {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ph-promo__title {
	font-size: 22px;
	line-height: 1.15;
	font-weight: 500;
	color: #fff;
}

.ph-promo__subtitle {
	font-size: 16px;
	line-height: 1.3;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.9);
}

.ph-promo__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	min-height: 48px;
	padding: 0 16px;
	border-radius: 12px;
	border: 1px solid #fff;
	color: #fff !important;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.25;
	width: 100%;
	box-sizing: border-box;
}

.ph-promo__cta-label {
	flex: 1 1 auto;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ph-promo__cta-arrow {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
}

.ph-promo__cta:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff !important;
}

.ph-promo__integrations {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 0 0 auto;
	padding: 16px;
	border-radius: 32px;
	background: #fff;
	border: 2px solid var(--ph-bg-subtle);
	text-decoration: none;
	color: var(--ph-blue);
	font-size: 18px;
	font-weight: 500;
}

.ph-promo__integrations img {
	width: 32px;
	height: 32px;
}

.ph-promo__integrations-label {
	flex: 1 1 auto;
	border-bottom: 1px dotted currentColor;
}

/* Drawer (mobile) */
.ph-drawer {
	display: none;
	flex-direction: column;
	position: fixed;
	top: var(--ph-bar-h);
	right: 0;
	left: 0;
	bottom: auto;
	/* Prefer dynamic viewport on iOS so bottom chrome doesn’t clip the pin bar */
	height: calc(100dvh - var(--ph-bar-h));
	max-height: calc(100dvh - var(--ph-bar-h));
	background: #f7f9fc;
	z-index: 99999;
	box-sizing: border-box;
}

@supports not (height: 100dvh) {
	.ph-drawer {
		height: calc(100vh - var(--ph-bar-h));
		max-height: calc(100vh - var(--ph-bar-h));
	}
}

.ph-header.is-drawer-open .ph-drawer {
	display: flex;
}

.ph-drawer__scroll {
	flex: 1 1 auto;
	overflow: auto;
	padding: 16px 16px 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ph-drawer__sections {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ph-acc {
	border: 2px solid var(--ph-bg-subtle);
	border-radius: 32px;
	background: #fff;
	padding: 24px 32px;
}

.ph-acc.is-open {
	background: var(--ph-bg-soft);
}

.ph-acc:hover,
.ph-acc:focus-within {
	background: #fff;
}

.ph-acc.is-open:hover,
.ph-acc.is-open:focus-within {
	background: var(--ph-bg-soft);
}

.ph-acc__top {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ph-acc__top > * {
	margin: 0;
	padding: 0;
}

.ph-acc__title {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	font-size: 32px;
	line-height: 1.2;
	font-weight: 400;
	color: var(--ph-blue);
	text-decoration: none;
}

.ph-acc__title-text {
	border-bottom: 1px dotted currentColor;
}

.ph-acc__title-arrow {
	flex: 0 0 auto;
}

.ph-acc__toggle {
	appearance: none;
	border: 0;
	background: transparent;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	font-family: inherit;
	font-size: 18px;
	font-weight: 500;
	color: var(--ph-navy);
	cursor: pointer;
	text-align: left;
}

.ph-acc__toggle > .ph-acc__toggle-label {
	border-bottom: 1px dotted currentColor;
}

.ph-acc__toggle:hover,
.ph-acc__toggle:focus,
.ph-acc__toggle:active {
	background: transparent;
	color: var(--ph-text);
}

.ph-acc__chevron,
.ph-acc.is-open .ph-acc__toggle .ph-nav__chevron {
	transition: transform 0.2s ease;
	flex: 0 0 auto;
}

.ph-acc.is-open .ph-acc__chevron,
.ph-acc.is-open .ph-acc__toggle .ph-nav__chevron {
	transform: rotate(180deg);
}

.ph-acc__panel {
	display: none;
	flex-direction: column;
	margin-top: 12px;
	padding-top: 8px;
	border-top: 1px solid var(--ph-bg-subtle);
	background: transparent;
}

.ph-acc.is-open .ph-acc__panel {
	display: flex;
}

.ph-drawer .ph-acc__panel .ph-feature {
	padding: 12px 0;
}

.ph-acc__panel[hidden] {
	display: none !important;
}

.ph-acc__title--static {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	font-size: 32px;
	line-height: 1.2;
	font-weight: 400;
	color: var(--ph-text);
}

.ph-acc__title--static .ph-acc__title-text {
	border-bottom: none;
}

.ph-drawer .ph-dd__icon,
.ph-drawer .ph-acc__nav-link .ph-dd__icon {
	display: none !important;
}

.ph-drawer .ph-feature:hover,
.ph-drawer .ph-feature:focus,
.ph-drawer .ph-feature:active {
	background: transparent;
}

.ph-drawer__explore {
	border: 2px solid var(--ph-bg-subtle);
	border-radius: 32px;
	background: #fff;
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ph-drawer__explore-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ph-blue);
	text-decoration: none;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.55;
}

.ph-drawer__explore-link > span {
	border-bottom: 1px dotted currentColor;
}

.ph-lang--mobile {
	display: grid;
	grid-template-columns: repeat(3, max-content);
	justify-content: start;
	align-items: center;
	column-gap: 16px;
	row-gap: 16px;
	padding: 24px;
	border-radius: var(--ph-radius-lg);
	border: 2px solid var(--ph-bg-subtle);
	background: rgba(255, 255, 255, 0.6);
	margin-top: 0;
	box-sizing: border-box;
}

.ph-lang__pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px;
	border-radius: var(--ph-radius);
	text-decoration: none;
	color: var(--ph-text-secondary);
	font-size: 20px;
	font-weight: 400;
	line-height: 30px;
	text-transform: uppercase;
	white-space: nowrap;
	box-sizing: border-box;
}

.ph-lang__pill.is-active {
	background: var(--ph-bg-soft);
	color: var(--ph-blue);
}

.ph-lang__flag {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	object-fit: cover;
}

.ph-drawer__links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 0;
}

.ph-drawer__link {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	min-height: auto;
	padding: 24px 32px;
	border-radius: 32px;
	background: #fff;
	border: 2px solid var(--ph-bg-subtle);
	color: var(--ph-blue);
	text-decoration: none;
	font-size: 32px;
	font-weight: 400;
	line-height: 1.375;
}

.ph-drawer__link > span:first-child {
	border-bottom: 1px dotted currentColor;
}

.ph-drawer__link-arrow {
	flex: 0 0 auto;
	color: var(--ph-blue);
}

.ph-drawer__footer {
	flex: 0 0 auto;
	padding: 16px;
	/* iPhone home indicator + Safari chrome — JS may bump --ph-ios-bottom */
	padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--ph-ios-bottom, 0px));
	padding-left: calc(16px + env(safe-area-inset-left, 0px));
	padding-right: calc(16px + env(safe-area-inset-right, 0px));
	background: #fff;
	border-top: 1px solid var(--ph-bg-subtle);
	display: flex;
	flex-direction: column;
	gap: 12px;
	/* Keep pinned CTA block above iOS browser chrome */
	position: relative;
	z-index: 2;
}

@supports (padding-bottom: constant(safe-area-inset-bottom)) {
	.ph-drawer__footer {
		padding-bottom: calc(16px + constant(safe-area-inset-bottom) + var(--ph-ios-bottom, 0px));
		padding-left: calc(16px + constant(safe-area-inset-left));
		padding-right: calc(16px + constant(safe-area-inset-right));
	}
}

/* Desktop menus: scroll is blocked via JS events — scrollbar stays, no gutter jump.
   Mobile drawer: hide overflow. */
html.ph-scroll-lock--overflow,
html.ph-scroll-lock--overflow body,
body.ph-no-scroll {
	overflow: hidden !important;
	overscroll-behavior: none;
}

html.ph-scroll-lock .ph-mega,
html.ph-scroll-lock .ph-drawer__scroll {
	touch-action: pan-y;
	overscroll-behavior: contain;
}

@media (max-width: 1439px) and (min-width: 1024px) {
	.ph-mega__inner {
		display: flex;
		flex-direction: column;
		gap: 16px;
		grid-template-columns: none;
		max-width: none;
		padding: 8px clamp(40px, 8.33vw, 120px) 48px;
	}

	.ph-mega__cols {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
		width: 100%;
	}

	.ph-promo {
		display: none !important;
	}

	.ph-mega__footer {
		display: flex;
		align-items: center;
		gap: 24px;
		width: 100%;
		padding: 18px;
		border: 1px solid var(--ph-bg-subtle);
		border-radius: 24px;
		box-sizing: border-box;
		background: #fff;
	}

	.ph-mega__footer-link {
		display: flex;
		align-items: center;
		gap: 16px;
		flex: 1 1 0;
		min-width: 0;
		text-decoration: none;
		color: var(--ph-blue);
		padding: 0;
	}

	.ph-mega__footer-icon {
		flex: 0 0 56px;
		width: 56px;
		height: 56px;
		border-radius: 0;
		background: transparent;
	}

	.ph-mega__footer-icon img {
		width: 32px;
		height: 32px;
		object-fit: contain;
		display: block;
	}

	.ph-mega__footer-label {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		min-width: 0;
	}

	.ph-mega__footer-text {
		font-family: var(--ph-font);
		font-size: 18px;
		font-weight: 500;
		line-height: 28px;
		border-bottom: 1px dotted currentColor;
	}

	.ph-mega__footer-link:hover {
		color: #0052d6;
	}

	/* Stacked category head: icon above title (Figma 2950:31696) */
	.ph-col__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding: 16px;
	}

	.ph-col__icon-wrap {
		flex: 0 0 56px;
		width: 56px;
		height: 56px;
	}

	.ph-col__copy {
		padding-top: 0;
		width: 100%;
	}

	.ph-col__list {
		padding: 0 16px 8px 16px;
	}

	.ph-col__list .ph-feature {
		padding-left: 0;
		padding-right: 0;
	}
}

@media (max-width: 1023px) {
	.ph-header__inner {
		padding: 12px 16px;
		min-height: 64px;
	}

	:root {
		--ph-bar-h: 64px;
	}

	.ph-header-spacer {
		height: 64px;
	}

	.ph-logo--desktop,
	.ph-nav,
	.ph-actions {
		display: none !important;
	}

	.ph-mobile-bar {
		display: flex;
	}

	.ph-logo--mobile {
		display: inline-flex;
	}

	.ph-mega {
		display: none !important;
	}

	.ph-mega-backdrop {
		display: none !important;
	}
}

@media (min-width: 1024px) {
	.ph-drawer {
		display: none !important;
	}

	.ph-burger {
		display: none !important;
	}

	.ph-mega-backdrop {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: auto;
		height: auto;
		z-index: 1;
		margin: 0;
		padding: 0;
		border: 0;
		cursor: pointer;
		appearance: none;
		-webkit-appearance: none;
		background: rgba(0, 45, 114, 0.4); /* #002D72 @ 40% */
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 0.25s ease, visibility 0.25s ease;
	}

	.ph-header.is-mega-open .ph-mega-backdrop,
	.ph-header.is-overlay-open .ph-mega-backdrop {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.ph-mega-backdrop[hidden] {
		display: none !important;
	}
}

/* Salient rounded buttons: body[data-button-style^="rounded"] button { border-radius: 200px !important } */
body[data-button-style^="rounded"] .ph-header button.ph-mega-backdrop,
body[data-button-style*="rounded"] .ph-header button.ph-mega-backdrop,
body[data-button-style^="rounded"] button.ph-mega-backdrop,
body[data-button-style*="rounded"] button.ph-mega-backdrop {
	border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
}
