/*
 * Premium header layer.
 *
 * Loaded after site.css. Two rows on desktop: a large brand lockup with the
 * utility actions, then a quiet uppercase navigation bar. Phones keep the
 * brand, theme control and menu button on one line.
 */

.hs-header {
	background:
		radial-gradient(900px 260px at 8% -80%, rgba(240, 168, 60, .10), transparent 62%),
		linear-gradient(180deg, #0d1627 0%, #0a111d 100%);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	box-shadow: 0 22px 42px -34px rgba(0, 0, 0, .95);
}

.hs-header__inner {
	min-height: 90px;
	padding-top: 14px;
	padding-bottom: 14px;
	gap: 16px;
	flex-wrap: nowrap;
}

.hs-brand {
	gap: 14px;
}

.hs-brand__mark svg {
	width: 46px;
	height: 46px;
	filter: drop-shadow(0 0 16px rgba(240, 168, 60, .22));
}

.hs-brand__name {
	font-size: clamp(1.32rem, 1.08rem + .9vw, 1.9rem);
	font-weight: 800;
	letter-spacing: -.032em;
	line-height: 1.05;
}

.hs-brand__tag {
	margin-top: 4px;
	font-size: .82rem;
	letter-spacing: .012em;
	color: rgba(255, 255, 255, .62);
}

.hs-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	flex: 0 0 auto;
}

.hs-header__search {
	display: none;
	width: 264px;
	margin: 0;
}

.hs-header__search .hs-search__input {
	min-height: 42px;
	border-color: rgba(255, 255, 255, .16);
	background: rgba(255, 255, 255, .06);
	color: #fff;
	font-size: .88rem;
}

.hs-header__search .hs-search__input::placeholder {
	color: rgba(255, 255, 255, .45);
}

.hs-header__search .hs-search__button {
	width: 44px;
	min-height: 42px;
	border-color: rgba(255, 255, 255, .18);
	background: rgba(255, 255, 255, .1);
}

.hs-account-link {
	min-height: 42px;
	padding: 9px 17px;
	border-radius: 10px;
	border-color: rgba(255, 255, 255, .2);
	background: rgba(255, 255, 255, .055);
	font-size: .8rem;
	font-weight: 650;
	letter-spacing: .01em;
}

.hs-account-link:hover {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .42);
}

.hs-theme-toggle {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 42px;
	padding: 8px 13px;
	border-radius: 10px;
	font-size: .78rem;
	font-weight: 600;
}

.hs-theme-toggle__icon {
	font-size: 1.05rem;
	line-height: 1;
	color: #f0a83c;
}

.hs-theme-toggle__label {
	display: none;
}

.hs-nav-toggle {
	min-height: 42px;
	padding: 0 13px;
}

.hs-nav-toggle__text {
	display: none;
}

/* ---------------------------------------------------------- navigation row --- */

.hs-navbar {
	display: none;
	border-top: 1px solid rgba(255, 255, 255, .07);
	background: rgba(255, 255, 255, .022);
}

.hs-navbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 50px;
}

.hs-navbar__list {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hs-navbar__list li {
	margin: 0;
}

.hs-navbar__list a {
	display: block;
	padding: 13px 0 11px;
	border-bottom: 2px solid transparent;
	color: rgba(255, 255, 255, .7);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .085em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: color .15s ease, border-color .15s ease;
}

.hs-navbar__list a:hover {
	color: #fff;
}

.hs-navbar__list li.is-active a {
	color: #fff;
	border-bottom-color: #f0a83c;
}

.hs-navbar__links {
	display: flex;
	align-items: center;
	gap: 18px;
	flex: 0 0 auto;
}

.hs-navbar__links > a {
	color: rgba(255, 255, 255, .58);
	font-size: .77rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.hs-navbar__links > a:hover {
	color: #fff;
}

.hs-navbar__links > a.hs-navbar__search {
	display: inline;
}

.hs-navbar__more {
	position: relative;
}

.hs-navbar__more > summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 0;
	list-style: none;
	cursor: pointer;
	color: rgba(255, 255, 255, .58);
	font-size: .77rem;
	font-weight: 600;
	white-space: nowrap;
}

.hs-navbar__more > summary::-webkit-details-marker {
	display: none;
}

.hs-navbar__more > summary::after {
	content: "+";
	color: #f0a83c;
	font-weight: 700;
}

.hs-navbar__more[open] > summary {
	color: #fff;
}

.hs-navbar__more[open] > summary::after {
	content: "\2013";
}

.hs-navbar__more ul {
	position: absolute;
	right: 0;
	top: calc(100% + 12px);
	z-index: 80;
	width: 268px;
	max-height: 380px;
	overflow: auto;
	list-style: none;
	margin: 0;
	padding: 8px;
	background: #0b1220;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 12px;
	box-shadow: 0 26px 48px -22px rgba(0, 0, 0, .9);
}

.hs-navbar__more li {
	margin: 0;
}

.hs-navbar__more li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 10px;
	border-radius: 8px;
	color: rgba(255, 255, 255, .82);
	font-size: .84rem;
	text-decoration: none;
}

.hs-navbar__more li a:hover {
	background: rgba(255, 255, 255, .08);
	color: #fff;
}

/* ---------------------------------------------------------------- responsive --- */

@media (max-width: 699px) {
	.hs-account-link {
		display: none;
	}

	.hs-theme-toggle__label,
	.hs-nav-toggle__text {
		display: none;
	}

	.hs-notification-menu {
		display: none;
	}

	.hs-brand__mark svg {
		width: 42px;
		height: 42px;
	}

	.hs-header__inner {
		min-height: 76px;
		padding-top: 10px;
		padding-bottom: 10px;
		gap: 10px;
	}
}

@media (min-width: 700px) {
	.hs-account-link {
		display: inline-flex;
	}

	.hs-theme-toggle__label {
		display: inline;
	}

	.hs-nav-toggle__text {
		display: inline;
	}
}

@media (min-width: 860px) {
	.hs-header__inner {
		min-height: 100px;
	}

	.hs-navbar {
		display: block;
	}

	.hs-nav-details--mobile {
		display: none;
	}

	.hs-brand__name {
		font-size: 1.72rem;
	}

	.hs-brand__tag {
		font-size: .86rem;
	}

	.hs-navbar__list {
		gap: 16px;
	}

	.hs-navbar__list a {
		font-size: .72rem;
	}

	.hs-navbar__links > a {
		display: none;
	}
}

@media (min-width: 1100px) {
	.hs-header__search {
		display: flex;
	}

	.hs-navbar__list {
		gap: 24px;
	}

	.hs-navbar__list a {
		font-size: .75rem;
	}

	.hs-navbar__links > a {
		display: inline;
	}

	.hs-navbar__links > a.hs-navbar__search {
		display: none;
	}
}

@media (min-width: 1320px) {
	.hs-brand__name {
		font-size: 2.08rem;
	}

	.hs-brand__tag {
		font-size: .9rem;
	}

	.hs-brand__mark svg {
		width: 52px;
		height: 52px;
	}

	.hs-header__inner {
		min-height: 112px;
	}
}

/* Dark mode keeps the same header; only the toggle changes colour. */
.hs-dark-mode .hs-header {
	background:
		radial-gradient(900px 260px at 8% -80%, rgba(240, 168, 60, .12), transparent 62%),
		linear-gradient(180deg, #0c1524 0%, #080e18 100%);
}

.hs-badge.is-disabled {
	background: #eef2f6;
	border-color: #d5dde6;
	color: #53647b;
}

.hs-dark-mode .hs-badge.is-disabled {
	background: #1b2738;
	border-color: #324158;
	color: #b7c3d2;
}

.hs-account__item-title .hs-badge {
	margin-left: 8px;
	vertical-align: middle;
}

/* Auth and account cards were paper-white; give them dark surfaces too. */
.hs-dark-mode .hs-auth-box,
.hs-dark-mode .hs-gate,
.hs-dark-mode .hs-account__card {
	background: #131d2e;
	border-color: #2a3a52;
}

.hs-dark-mode .hs-auth-box .hs-field label,
.hs-dark-mode .hs-gate__title,
.hs-dark-mode .hs-account__name {
	color: #e7edf5;
}

.hs-dark-mode .hs-auth-alt,
.hs-dark-mode .hs-account__meta,
.hs-dark-mode .hs-account__empty {
	color: rgba(255, 255, 255, .62);
}

/* The hero was designed on paper white. In dark mode it needs its own ink. */
.hs-dark-mode .hs-hero {
	background: linear-gradient(180deg, #0f1a2b 0%, #0b1422 100%);
	border-bottom-color: #223047;
}

.hs-dark-mode .hs-hero__sub {
	color: rgba(255, 255, 255, .72);
}

.hs-dark-mode .hs-hero__meta {
	color: rgba(255, 255, 255, .55);
}

.hs-dark-mode .hs-hero .hs-deal-finder {
	background: rgba(255, 255, 255, .04);
	border-color: rgba(255, 255, 255, .12);
}
