:root {
	--bg-color: white;
	--text-color: #222;
	--primary-opacity: 1;
	--primary-color-values: 51, 94, 234;
	--primary-color: rgba(var(--primary-color-values), var(--primary-opacity));
	--primary-color-dark: color-mix(in srgb, var(--primary-color), black 20%);
	--primary-color-light: color-mix(in srgb, var(--primary-color), white 20%);
	--on-primary-color: #FFF;
	--border-color: #dcdcf4;
	--highlight: #f6f6f6;
	--on-highlight: #222;
	--nav-link-color: #506690;
	--padd: 20px;
	--scroll: 0;
}

:root.dark {
	--bg-color: #0d1117;
	--text-color: #c9d1d9;
	--border-color: #4c4c51;
	--primary-color-values: 178, 197, 255;
	--on-primary-color: #000;
	--highlight: #222;
	--on-highlight: #edecec;
	--nav-link-color: var(--primary-color-dark);
}

@font-face {
	font-display: swap;
	font-family: 'Hanken Grotesk';
	font-style: normal;
	font-weight: 400;/* it is actually a 300*/
	src: url('fonts/hanken-grotesk-v12-latin-300.woff2?v=2025_01') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Hanken Grotesk';
	font-style: normal;
	font-weight: 600;/* it is actually a 400*/
	src: url('fonts/hanken-grotesk-v12-latin-regular.woff2?v=2025_01') format('woff2');
}

* {
	box-sizing: border-box;
}

html {
	background-color: var(--bg-color);
	color: var(--text-color);
	line-height: 1.4;
	scrollbar-gutter: stable;
}

body {
	margin: 0;
	font-family: 'Hanken Grotesk', "Times New Roman", sans-serif;
	color: var(--text-color);
	font-size: 17px;
	line-height: 1.6;
}

a {
	color: var(--primary-color);
	/*text-decoration: none;*/
	text-decoration-thickness: 1%;
	text-decoration-color: var(--primary-color-light);
}

a:hover {
	text-decoration-thickness: 10%;
}

a:not(.button) {
	transition: .4s;
	display: inline-block;
	/*&:hover {*/
	/*	transform: skew(-8deg);*/
	/*}*/
}

.container {
	margin-left: auto;
	margin-right: auto;
	padding: 0 var(--padd);
}

section {
	overflow: hidden;
	padding: calc(var(--padd) * 7) 0;
}

h1, h2 {
	margin-top: 0;
	margin-bottom: 1rem;
	font-weight: 400;
}

h1 {
	font-size: 3rem;
}

h2 {
	line-height: 1.35;
	letter-spacing: -.01em;
	font-size: 1.9375rem;
}

h3 {
	line-height: 1.4;
	letter-spacing: -.01em;
	font-size: 1.3125rem;
	font-weight: 400;
	margin-bottom: .5rem;
	margin-top: 0;
}

.text-body-secondary {
	color: rgba(111, 129, 157);
}

.button {
	border-radius: 6px;
	background-color: rgba(var(--primary-color-values), var(--primary-opacity));
	color: var(--on-primary-color);
	text-decoration: none;
	padding: 0.5625rem 1rem;
	font-size: 1.0625rem;
	font-weight: bold;
	transition: box-shadow .25s ease,
	transform .25s ease;
}

.secondary {
	background-color: transparent;
	border: 1px solid rgba(var(--primary-color-values), var(--primary-opacity));
	color: rgba(var(--primary-color-values), var(--primary-opacity));
}

input {
	font-family: 'Hanken Grotesk', "Times New Roman", sans-serif;
}

input[type=text],
input[type=email],
select,
textarea {
	height: 2.5rem;
	padding: .5rem;
	font-size: 1rem;
	border: 1px solid var(--border-color);
	border-radius: .3rem;

	&:focus-visible {
		outline: 1px solid var(--primary-color);
		outline-offset: -1px;
	}
}

.dark {

	input[type=text],
	input[type=email],
	select,
	textarea {
		background-color: var(--highlight);
		color: var(--on-highlight);
	}

}

textarea {
	height: auto;
}

input.button {
	border: none;
	cursor: pointer;
}

.button:hover {
	box-shadow: 0 1rem 2.5rem rgba(22, 28, 45, .1), 0 .5rem 1rem -.75rem rgba(22, 28, 45, .1) !important;
	transform: translate3d(0, -3px, 0);
	background-color: var(--primary-color-dark);
}

.secondary:hover {
	background-color: transparent;
}

.subtle {
	--primary-opacity: .1;
	color: var(--primary-color);
}

.subtle:hover {
	--primary-opacity: .15;
	background-color: rgba(var(--primary-color-values), var(--primary-opacity));
}

.row {
	display: flex;
	align-items: center;
	gap: var(--padd);
	flex-wrap: wrap;

	> * {
		flex: 1;
	}
}

.row.gap {
	gap: calc(var(--padd) * 3);
}

ul:not(.simple) {
	list-style: none;
	padding: 0;
	margin: 0;

	li {
		width: 100%;
		margin-top: .5rem;

		&:before {
			display: inline-flex;
			justify-content: center;
			align-items: center;

			font-family: Arial, serif;
			content: '-';

			font-size: 1.2rem;
			border-radius: 50%;
			background-color: rgba(66, 186, 150, 0.1);
			color: rgb(66, 186, 150);
			aspect-ratio: 1;
			width: 2rem;
			height: 2rem;
			margin-right: 1rem;

			text-align: center;
			white-space: nowrap;
		}
	}

	ul {
		margin-left: 1rem;

		li:before {
			margin-right: .5rem;
			background-color: transparent;
			width: 1.5rem;
			height: 1.5rem;
		}
	}
}

ul.checkmarks li:before,
ul:not(.simple) li.checkmark:before {
	content: 'L';
	transform: rotate(45deg) scaleX(-1);
	font-size: .9rem;
}

ul:not(.simple) li.negative:before {
	content: '❌';
	font-size: .5rem;
	background-color: rgba(66, 186, 150, 0.1);
}

mark {
	margin: 0 -0.4em;
	padding: 0.1em 0.4em;
	border-radius: 0.8em 0.3em;
	background: transparent linear-gradient(to right,
	rgb(0 9 255 / 0%),
	rgb(0 44 255 / 6%) 8%,
	rgb(0 2 255 / 4%)
	);
	box-decoration-break: clone;
}

.dark mark {
	color: var(--text-color);
	background: transparent linear-gradient(
			to right,
			rgb(99 179 255 / 0%),
			rgb(99 179 255 / 18%) 8%,
			rgb(120 160 255 / 12%)
	);
}

/* Header */

header {
	align-items: center;
	display: flex;
	justify-content: space-between;
	height: 110px;
	user-select: none;

	.logo {
		display: inline-block;
		line-height: 0;
		color: transparent;
		text-decoration: none;

		height: 36px;
		width: 108px;
		background-image: url(../images/logo.svg);
		background-size: contain;
	}
}

.dark .logo {
	background-image: url(../images/logo_dark.svg);
}

#nav-toggle-box,
#contactInNav {
	display: none;
}

#nav-toggle {
	background-color: transparent;
	border: none;
	display: none;
}

#burger-icon {
	cursor: pointer;
	background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23506690' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") no-repeat 50%;
	padding: 5px;
	background-size: 80%;
	display: inline-block;
	height: 1.4em;
	vertical-align: middle;
	width: 1.4em;
	font-size: 1.2rem;
	border-radius: 6px;
	transition: background-color .2s ease,
	box-shadow .2s ease;
	border: 1px solid transparent;
}

.dark #burger-icon {
	border-color: var(--border-color);
}

/* Elements */

nav a,
.footer-nav a {
	color: var(--nav-link-color);
	padding: 20px;
	font-weight: bold;
	vertical-align: middle;
	text-decoration: none;

	&.highlighted,
	&:hover {
		color: var(--primary-color);
	}
}

.dark {
	nav a,
	.footer-nav a {
		color: var(--primary-color-dark);
	}
}

.footer {
	margin-top: calc(var(--padd) * 6);

	.row {
		padding: calc(var(--padd) * 3) 0;
		border-top: 1px solid var(--border-color);
		justify-content: center;
		flex-direction: column;
		text-align: center;
	}
}

@keyframes rotateScreenshot {
	to {
		opacity: 1;
		transform: rotateY(-35deg) rotateX(15deg) translateZ(0);
	}
}

.screenshot {
	img,
	video {
		border: 1px solid var(--border-color);
		border-radius: 0.7rem;
	}

	&.with-shadow {
		img, video {
			box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
		}
	}
}

.lead {
	color: rgb(111, 129, 157);
	font-size: 1.3125rem;
	font-weight: 400;
}

.hero {
	position: relative;
	padding: calc(var(--padd) * 6) 0;

	.shape {
		color: rgba(241, 244, 248, .7);
		position: absolute;
		top: 0;
		left: 50%;
		bottom: 0;
		right: 0;

		svg {
			height: 100%;
		}
	}

	h1 {
		line-height: 1.2;
		letter-spacing: -.02em;
	}

	.button {
		padding: 1.25rem 0.8125rem;
	}

	.screenshot {
		flex: 1.2;
		perspective-origin: 0;
		perspective: 1500px;
		transform-style: preserve-3d;

		img {
			box-shadow: 25px 60px 125px -25px rgba(80, 102, 144, .1),
			16px 40px 75px -40px rgba(0, 0, 0, .2);

			max-width: 124%;
			filter: saturate(130%);
			transform: rotateY(-20deg) rotateX(5deg) translate3d(0, 100px, 0);
			opacity: 0;
			transition-delay: .1s;
			transition-timing-function: cubic-bezier(.25, .46, .45, .94);
			transition-duration: .7s;
			transition-property: opacity, transform;
			will-change: opacity, transform, -webkit-transform;
			animation: rotateScreenshot 1s forwards;
		}
	}
}

.dark .hero .shape {
	color: #000;
}

.page-main-title {
	margin-top: calc(var(--padd) * 1);
	margin-bottom: calc(var(--padd) * 2);
	text-align: center;
}

.page-sub-title {
	margin: calc(var(--padd) * 2) 0;
	text-align: center;
}

/* Responsiveness */

@media (min-width: 576px) {
	.container {
		max-width: 540px;
	}
}

@media (min-width: 768px) {
	.container {
		max-width: 720px;
	}
}

@media (min-width: 992px) {
	.container {
		max-width: 960px;
	}
}

@media (min-width: 1200px) {
	.container {
		max-width: 1040px;
	}
}

@media (max-width: 992px) {
	nav,
	header .call2action {
		display: none;
	}

	#nav-toggle,
	#contactInNav {
		display: block;
	}

	body:has(#nav-toggle-box:checked) {
		nav {
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
			align-items: center;
			gap: var(--padd);
			padding: var(--padd);
			position: absolute;
			z-index: 99;
			background-color: var(--highlight);
			top: 80px;
			right: 0;
			width: 100%;
			box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
		}

		#burger-icon {
			background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 640 640%22%3E%3Cpath stroke=%22%23506690%22 stroke-width=%2232%22 d=%22M504.6 148.5C515.9 134.9 514.1 114.7 500.5 103.4C486.9 92.1 466.7 93.9 455.4 107.5L320 270L184.6 107.5C173.3 93.9 153.1 92.1 139.5 103.4C125.9 114.7 124.1 134.9 135.4 148.5L278.3 320L135.4 491.5C124.1 505.1 125.9 525.3 139.5 536.6C153.1 547.9 173.3 546.1 184.6 532.5L320 370L455.4 532.5C466.7 546.1 486.9 547.9 500.5 536.6C514.1 525.3 515.9 505.1 504.6 491.5L361.7 320L504.6 148.5z%22/%3E%3C/svg%3E");
			background-size: 70%;
			box-shadow: inset 1px 1px 10px 0 rgba(0, 0, 0, 0.1);
		}
	}

	section {
		padding: calc(var(--padd) * 2) 0;
	}

	.row > * {
		flex: 0 0 auto;
		width: 100%;
	}

	.row.no-gap-when-narrow {
		gap: 0;
	}

	.shape {
		display: none;
	}

	.hero {
		padding-top: calc(var(--padd) * 2);
		padding-bottom: calc(var(--padd) * 4);

		.screenshot img {
			transform: unset;
			animation: none;
			opacity: 1;
			max-width: 100%;
			box-shadow: none;
		}

		.row {
			gap: calc(var(--padd) * 6);
		}
	}
}

@media (max-width: 991.98px) {

	.screenshot {
		order: 2;

		text-align: center;

		img, video {
			max-width: 100% !important;
			transform: none !important;
			border: none !important;
			box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px !important;
		}

		&.with-shadow {
			padding-bottom: calc(var(--padd) * 4);
		}
	}

	nav a {
		padding: 10px;
	}

	.hero {
		h1 {
			font-size: 2.25rem;
		}
	}

	.lead {
		font-size: 1.1875rem;
	}
}

#topBanner {
	display: flex;
	background-color: var(--primary-color);
	color: var(--on-primary-color);
	justify-content: center;
	align-items: center;
	height: 3rem;

	a {
		color: inherit;
		font-weight: 650;
		text-decoration: none;

		&:hover {
			text-decoration: underline;
		}
	}
}

code {
	all: unset;
	background-color: var(--highlight);
	font-weight: bold;
	padding: 0 .3rem;
	border-radius: .2rem;
}

.dark-toggle {
	border: 1px solid transparent;
	border-radius: 100%;
	background-color: transparent;
	cursor: pointer;
	background-image: url(../images/moon.svg?v=2025);
	background-size: 80%;
	background-position: center;
	background-repeat: no-repeat;
	width: 1.5rem;
	height: 1.5rem;
	margin-left: var(--padd);
	padding: 0;

	&:hover {
		border-color: var(--table-border-color);
	}
}

.dark .dark-toggle {
	background-image: url(../images/sun.svg?v=2025);
}

.highlightedText {
	background-color: var(--highlight);
	color: var(--on-highlight);
}