/* ── 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 {
	--shb-h: 0px;
	scroll-padding-top: calc(84px + var(--shb-h));
}
.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;
}
/* The Black Friday bar: the first row of the header, so it stays with it.
   Hidden until site-nav.js shows it inside its dates. */
.shb-bar {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 6px 16px;
	background: #0f0f10;
	color: #fff;
	font-size: 14px;
	line-height: 1.35;
	text-align: center;
}
.shb-bar[hidden] {
	display: none;
}
/* The one movement: a faint lime light crosses the bar now and then.
   Nothing else moves; gone for people who ask for less motion. */
.shb-bar::after {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 34%;
	background: linear-gradient(
		100deg,
		transparent,
		rgba(226, 255, 82, 0.13) 45%,
		rgba(226, 255, 82, 0.13) 55%,
		transparent
	);
	transform: translateX(-110%);
	animation: shb-sheen 9s cubic-bezier(0.45, 0, 0.25, 1) 1.2s infinite;
	pointer-events: none;
}
@media (max-width: 1180px) {
	.shb-long {
		display: none;
	}
}
@keyframes shb-sheen {
	0% {
		transform: translateX(-110%);
	}
	30%,
	100% {
		transform: translateX(310%);
	}
}
@media (prefers-reduced-motion: reduce) {
	.shb-bar::after {
		display: none;
	}
}
.shb-bar p {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 14px;
	margin: 0;
}
.shb-tag {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	background: #e2ff52;
	color: #0f0f10;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: -0.01em;
	white-space: nowrap;
}
.shb-t {
	font-variant-numeric: tabular-nums;
}
.shb-t s {
	color: #8d8d96;
	text-decoration-thickness: 1.5px;
}
.shb-t b {
	color: #e2ff52;
	font-weight: 600;
}
.shb-left {
	color: #b9b9c1;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.shb-left b {
	color: #fff;
	font-weight: 600;
}
.shb-bar a {
	color: #e2ff52;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
}
.shb-bar a:hover {
	text-decoration-thickness: 2px;
}
.shb-bar a:focus-visible {
	outline: 2px solid #e2ff52;
	outline-offset: 3px;
	border-radius: 2px;
}
.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;
}
/* The app's log-in and sign-up as one button split in two: a white half and
   the lime sign-up half, one light outline around both with a line between
   them. Both halves open the app's log-in page, so hovering either one
   lights both. Left of it V2 (the previous app, for its customers): a light
   square that reads only "V2". */
.sh-entry {
	display: inline-flex;
	align-items: stretch;
	flex: none;
}
.sh-entry-login {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid #d2d2d7;
	border-radius: 5px 0 0 5px;
	background: #fff;
	color: #1d1d1f;
	font: 500 13px/1 Inter, Arial, sans-serif;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s;
}
.sh-entry:hover .sh-entry-login {
	background: #f5f5f7;
}
.sh-entry a:focus-visible,
.sh-v2:focus-visible {
	outline: 2px solid #1d1d1f;
	outline-offset: -3px;
}
.sh-v2 {
	box-sizing: border-box;
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border: 1px solid #e5e5ea;
	border-radius: 5px;
	background: #fff;
	color: #a1a1a6;
	font: 500 12px/1 Inter, Arial, sans-serif;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition:
		color 0.2s,
		border-color 0.2s;
}
.sh-v2:hover {
	border-color: #d2d2d7;
	color: #1d1d1f;
}
.sh-entry .sh-cta {
	box-sizing: border-box;
	border: 1px solid #d2d2d7;
	border-left: 0;
	border-radius: 0 5px 5px 0;
}
.sh-entry .sh-cta:hover {
	transform: none;
}
.sh-entry:hover .sh-cta {
	background: #d5f343;
}
.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);
}
/* Presale, while the presale runs: the one tab in ink and bold, with a still
   lime dot (Rafał, 3.11: no fill at rest, nothing pulsing). */
.sh-live {
	width: 7px;
	height: 7px;
	flex: none;
	border-radius: 50%;
	background: #e2ff52;
	box-shadow: inset 0 0 0 1px rgb(29 29 31 / 0.22);
}
.sh-link.sh-presale {
	gap: 7px;
	color: var(--sh-ink);
	font-weight: 600;
}

/* 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));
}
/* Skills: the library's groups, popular skills and the single tasks. */
.sh-panel-tools .sh-panel-in {
	max-width: 1060px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sh-panel-foots {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	grid-column: 1 / -1;
}
.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;
}
/* 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 + var(--shb-h, 0px) + 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;
}
/* In the phone sheet: a row like the others, the dot after the label so
   the text lines up with theirs. */
.sh-sheet-link.sh-presale > span {
	display: inline-flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 10px;
}
.sh-sheet-link.sh-presale .sh-live {
	width: 9px;
	height: 9px;
}
/* The phone menu ends with V2 Login: a row like the menu's own, in a
   lighter grey. Log in and Sign up stay in the header above the sheet. */
.sh-sheet-link.sh-sheet-v2 {
	border-bottom: 0;
	color: #a1a1a6;
	transition: color 0.2s;
}
.sh-sheet-link.sh-sheet-v2:hover {
	color: #1d1d1f;
}
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;
}

/* With Pricing and Presale the row is wider than the header up to about
   1190px: tighter tabs up to 1200px keep the side margins, and below 1120px the
   menu button takes over. */
@media (max-width: 1200px) {
	.sh-in {
		gap: 22px;
	}
	.sh-trigger,
	.sh-link {
		padding-inline: 8px;
	}
	.sh-actions {
		gap: 14px;
	}
}
@media (max-width: 1120px) {
	.sh-nav {
		display: none !important;
	}
	.sh-actions {
		margin-left: auto;
	}
	.sh-burger {
		display: block;
	}
}
@media (max-width: 980px) {
	.sh-in {
		width: calc(100% - 64px);
	}
}
/* Phones: one row (logo, the split button, the menu button), 61px tall.
   V2 lives only in the menu. */
@media (max-width: 640px) {
	html {
		scroll-padding-top: calc(68px + var(--shb-h));
	}
	.shb-bar {
		font-size: 13px;
		padding: 8px 16px;
	}
	.shb-left {
		display: none;
	}
	.shb-bar {
		padding-inline: 12px;
		font-size: 12.5px;
	}
	.shb-bar p {
		flex-wrap: nowrap;
		gap: 9px;
	}
	.shb-tag {
		height: 22px;
		padding: 0 8px;
		font-size: 11px;
	}
	.shb-t {
		white-space: nowrap;
	}
	.sh-in {
		display: grid;
		grid-template-columns: auto 1fr auto;
		width: calc(100% - 32px);
		height: auto;
		gap: 6px;
		padding-block: 8px;
	}
	.sh-logo img {
		width: 96px;
	}
	.sh-actions {
		display: contents;
	}
	.sh-actions .sh-v2 {
		display: none;
	}
	.sh-actions .sh-entry {
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
	}
	.sh-actions .sh-entry a {
		min-height: 38px;
		padding: 0 10px;
		font-size: 12.5px;
	}
	.sh-actions .sh-cta {
		gap: 6px;
	}
	.sh-burger {
		grid-column: 3;
		grid-row: 1;
	}
	.sh-sheet {
		padding-top: calc(64px + var(--shb-h, 0px) + env(safe-area-inset-top, 0px));
	}
}
/* The narrowest phones: "Sign up for free" would squeeze the logo. */
@media (max-width: 359px) {
	.sh-cta-free {
		display: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.sh-panel-in {
		animation: none;
	}
	.sh-chev,
	.sh-burger span,
	.sh-cta {
		transition: none;
	}
}
