/* ── The site header (D-SITE-NAV) ───────────────────────────────────────────
   One header, identical on the landing, the module pages and the tool pages:
   the logo, Features (the modules) and Tools (every tool page) as panels, the
   landing's sections, Book a demo and the sign-up action; on phones the menu
   button and its full-screen sheet. It owns its own sizes and colours so no
   page's styles can change it. Markup: scripts/landing/site-nav.mjs.
   Behaviour: site-nav.js (click, keys, the sheet, the hairline on scroll);
   hovering opens a panel even without the script. */
html {
	scroll-padding-top: 84px;
}
.sh-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgb(255 255 255 / 0.88);
	-webkit-backdrop-filter: saturate(1.6) blur(18px);
	backdrop-filter: saturate(1.6) blur(18px);
	border-bottom: 1px solid transparent;
	color: #1d1d1f;
	font-family: Inter, Arial, sans-serif;
	transition: border-color 0.3s;
}
.sh-header.is-scrolled {
	border-bottom-color: #e5e5ea;
}
.sh-in {
	position: relative;
	display: flex;
	align-items: center;
	gap: 34px;
	width: min(1280px, calc(100% - 112px));
	height: 72px;
	margin-inline: auto;
}
.sh-logo {
	display: block;
	flex: none;
	line-height: 0;
}
.sh-logo img {
	display: block;
	width: 112px;
	height: auto;
}
.sh-actions {
	display: flex;
	align-items: center;
	gap: 22px;
	flex: none;
}
.sh-out {
	width: 13px;
	height: 13px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.sh-demo {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 40px;
	color: #1d1d1f;
	font: 500 13px/1 Inter, Arial, sans-serif;
	text-decoration: none;
	white-space: nowrap;
}
.sh-demo:hover {
	text-decoration: underline;
	text-underline-offset: 5px;
}
.sh-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 5px;
	background: #e2ff52;
	color: #202022;
	font: 500 13px/1 Inter, Arial, sans-serif;
	text-decoration: none;
	white-space: nowrap;
	transition:
		background 0.2s,
		transform 0.2s;
}
.sh-cta:hover {
	background: #d5f343;
	transform: translateY(-1px);
}
.sh-nav {
	--sh-ink: #1d1d1f;
	--sh-ink-2: #3a3a3e;
	--sh-muted: #6e6e73;
	--sh-line: #e5e5ea;
	--sh-paper: #f5f5f7;
	--sh-lime: #e2ff52;
	align-self: stretch;
	margin-left: auto;
}
/* Each tab is as tall as the header, so the pointer never leaves it on
   the way from the tab down into its panel. */
.sh-list {
	display: flex;
	align-items: stretch;
	gap: 2px;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sh-item {
	position: static;
	display: flex;
	align-items: center;
}
.sh-trigger,
.sh-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 9px 13px;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--sh-muted);
	font: 500 13px/1 Inter, Arial, sans-serif;
	cursor: pointer;
	text-decoration: none;
	transition:
		color 0.2s,
		background 0.2s;
}
.sh-trigger:hover,
.sh-link:hover,
.sh-item.is-open > .sh-trigger {
	color: var(--sh-ink);
	background: var(--sh-paper);
}
.sh-chev {
	width: 12px;
	height: 12px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 0.2s;
}
.sh-item.is-open .sh-chev {
	transform: rotate(180deg);
}

/* The panels hang under the whole header row. */
.sh-panel {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 60;
	padding-top: 6px;
	color: var(--sh-ink);
}
.sh-item.is-open > .sh-panel {
	display: block;
}
/* Without the script, hovering opens a panel; with it, site-nav.js opens and
   closes panels with a short delay so the mouse can travel into them. */
@media (hover: hover) and (pointer: fine) {
	.sh-nav:not(.sh-js) .sh-item:hover > .sh-panel {
		display: block;
	}
	.sh-item:hover > .sh-trigger {
		color: var(--sh-ink);
		background: var(--sh-paper);
	}
	.sh-item:hover .sh-chev {
		transform: rotate(180deg);
	}
}
.sh-panel-in {
	display: grid;
	gap: 22px 28px;
	padding: 24px;
	border: 1px solid var(--sh-line);
	border-radius: 22px;
	background: #fff;
	box-shadow:
		0 1px 2px rgb(0 0 0 / 0.04),
		0 30px 60px -24px rgb(0 0 0 / 0.22);
	text-align: left;
	animation: sh-in 0.18s ease both;
}
@keyframes sh-in {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
}
.sh-panel-features .sh-panel-in,
.sh-panel-tools .sh-panel-in {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sh-group {
	min-width: 0;
}
.sh-group ul {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sh-group-h {
	margin: 0 0 10px;
	color: var(--sh-muted);
	font: 600 11px/1.2 Inter, Arial, sans-serif;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.sh-group-h a {
	color: inherit;
	text-decoration: none;
}
.sh-group-h a:hover {
	color: var(--sh-ink);
}
.sh-feature {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px;
	border-radius: 14px;
	color: var(--sh-ink);
	text-decoration: none;
	transition: background 0.2s;
}
.sh-feature:hover {
	background: var(--sh-paper);
}
.sh-feature-i {
	display: grid;
	place-items: center;
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--sh-paper);
	color: var(--sh-ink);
}
.sh-feature:hover .sh-feature-i {
	background: var(--sh-lime);
}
.sh-feature-i svg {
	width: 18px;
	height: 18px;
}
.sh-feature b {
	display: block;
	font: 600 14px/1.3 Inter, Arial, sans-serif;
	letter-spacing: -0.01em;
}
.sh-feature small {
	display: block;
	margin-top: 2px;
	color: var(--sh-muted);
	font: 400 12.5px/1.4 Inter, Arial, sans-serif;
}
.sh-panel-foot {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	grid-column: 1 / -1;
	justify-self: start;
	padding: 8px 10px;
	border-radius: 999px;
	color: var(--sh-ink);
	font: 600 13px/1 Inter, Arial, sans-serif;
	text-decoration: none;
}
.sh-panel-foot:hover {
	background: var(--sh-paper);
}
.sh-panel-foot svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}
/* A popular tool shows its cover in the icon's place. */
.sh-feature-i.is-img {
	overflow: hidden;
}
.sh-feature-i.is-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Solutions and Resources: smaller panels that open under their own tab. */
.sh-item:has(> .sh-panel-solutions),
.sh-item:has(> .sh-panel-resources) {
	position: relative;
}
.sh-panel-solutions,
.sh-panel-resources {
	left: 50%;
	right: auto;
	transform: translateX(-50%);
}
.sh-panel-solutions {
	width: 620px;
}
.sh-panel-resources {
	width: 360px;
}
.sh-panel-solutions .sh-panel-in {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sh-panel-resources .sh-panel-in {
	grid-template-columns: minmax(0, 1fr);
	padding: 14px;
}
.sh-login {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: #3a3a3e;
	font: 500 13px/1 Inter, Arial, sans-serif;
	text-decoration: none;
	white-space: nowrap;
}
.sh-login:hover {
	color: #1d1d1f;
	text-decoration: underline;
	text-underline-offset: 5px;
}

/* The phone menu. */
.sh-burger {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	flex: none;
	margin-right: -10px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: #1d1d1f;
	cursor: pointer;
}
.sh-burger span {
	position: absolute;
	left: 12px;
	right: 12px;
	height: 1.6px;
	border-radius: 2px;
	background: currentColor;
	transition:
		transform 0.25s ease,
		top 0.25s ease;
}
.sh-burger span:first-child {
	top: 17px;
}
.sh-burger span:last-child {
	top: 25px;
}
.sh-burger[aria-expanded="true"] span:first-child {
	top: 21px;
	transform: rotate(45deg);
}
.sh-burger[aria-expanded="true"] span:last-child {
	top: 21px;
	transform: rotate(-45deg);
}
.sh-sheet {
	position: fixed;
	inset: 0;
	z-index: 55;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: calc(76px + env(safe-area-inset-top, 0px)) 16px calc(28px + env(safe-area-inset-bottom, 0px));
	background: #fff;
	color: #1d1d1f;
}
.sh-sheet[hidden] {
	display: none;
}
.sh-sheet-in {
	display: grid;
	max-width: 560px;
	margin: 0 auto;
	font-family: Inter, Arial, sans-serif;
}
.sh-acc {
	border-bottom: 1px solid #e5e5ea;
}
.sh-acc summary,
.sh-sheet-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 60px;
	padding: 0 2px;
	color: #1d1d1f;
	font: 600 21px/1.2 Inter, Arial, sans-serif;
	letter-spacing: -0.02em;
	text-decoration: none;
}
.sh-acc summary {
	list-style: none;
	cursor: pointer;
}
.sh-acc summary::-webkit-details-marker {
	display: none;
}
.sh-acc summary .sh-chev {
	width: 18px;
	height: 18px;
}
.sh-acc[open] summary .sh-chev {
	transform: rotate(180deg);
}
.sh-acc ul {
	display: grid;
	gap: 0;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}
.sh-acc li a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 0 2px;
	color: #1d1d1f;
	font-size: 16px;
	text-decoration: none;
}
.sh-acc .sh-feature-i {
	width: 32px;
	height: 32px;
}
.sh-sheet-h {
	margin: 8px 0 2px;
	color: #6e6e73;
	font: 600 11px/1.2 Inter, Arial, sans-serif;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.sh-sheet-h a {
	color: inherit;
	text-decoration: none;
}
.sh-acc .sh-more {
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
}
.sh-acc .sh-more svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.sh-sheet-link {
	border-bottom: 1px solid #e5e5ea;
}
.sh-sheet-actions {
	display: grid;
	gap: 10px;
	margin-top: 26px;
}
.sh-cta-lg {
	min-height: 52px;
	font-size: 15px;
}
.sh-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 52px;
	border: 1px solid #d2d2d7;
	border-radius: 5px;
	color: #1d1d1f;
	font: 500 15px/1 Inter, Arial, sans-serif;
	text-decoration: none;
}
html.sh-locked,
html.sh-locked body {
	overflow: hidden;
}
/* The logo, the actions and the close button stay above the open sheet. */
html.sh-locked .sh-header {
	z-index: 60;
	background: #fff;
	border-bottom-color: transparent;
}

@media (max-width: 1080px) {
	.sh-nav,
	.sh-actions .sh-login {
		display: none !important;
	}
	.sh-actions {
		margin-left: auto;
	}
	.sh-burger {
		display: block;
	}
}
@media (max-width: 980px) {
	.sh-in {
		width: calc(100% - 64px);
	}
}
@media (max-width: 640px) {
	html {
		scroll-padding-top: 72px;
	}
	.sh-in {
		width: calc(100% - 32px);
		height: 62px;
		gap: 12px;
	}
	.sh-logo img {
		width: 96px;
	}
	.sh-actions {
		gap: 6px;
	}
	.sh-actions .sh-demo {
		display: none;
	}
	.sh-actions .sh-cta {
		min-height: 38px;
		padding: 0 13px;
		gap: 10px;
		font-size: 12.5px;
	}
	.sh-sheet {
		padding-top: calc(66px + env(safe-area-inset-top, 0px));
	}
}
@media (prefers-reduced-motion: reduce) {
	.sh-panel-in {
		animation: none;
	}
	.sh-chev,
	.sh-burger span,
	.sh-cta {
		transition: none;
	}
}
