/* Font */
@font-face {
	font-family: "Haffer";
	src: url("/fonts/HafferXH-SemiBold.woff2") format("woff2"), url("/fonts/HafferXH-SemiBold.woff") format("woff");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Haffer";
	src: url("/fonts/HafferXH-Regular.woff2") format("woff2"), url("/fonts/HafferXH-Regular.woff") format("woff");
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Haffer-Fallback-1";
	src: local("Arial");
}

@font-face {
	font-family: "Haffer-Fallback-2";
	src: local("Helvetica");
}

.hide-mobile {
	display: none !important;

	@media (width >=750px) {
		& {
			display: block !important;
		}
	}
}

.hide-desktop {
	display: block !important;

	@media (width >=750px) {
		& {
			display: none !important;
		}
	}
}

/* Root */
:root,
.color-scheme {
	--color-background: #ffffff;
	--color-foreground: #37352f;
	--color-block: #fafafc;
	--color-button-share: #e9e9e9;
	--color-brand: #34c759;
	--color-brand-highlight: #3fda66;
	--color-heading: #161617;
	--color-highlight: #474747;
	--color-header-footer: #ffffff;
	--color-button: #000000;
	--color-button-highlight: #34c759;
	--color-button-text: #ffffff;
	--color-nav-text: #7e7e7e;
	--color-form-background: #ffffff;
}

body,
.color-scheme {
	color: var(--color-foreground);
	background-color: var(--color-background);
}

:root {
	color-scheme: light;
	--font-body-family: "Haffer", "Haffer-Fallback-1", "Haffer-Fallback-2";
	--font-body-style: normal;
	--font-body-weight-bold: 200;

	--page-full-width: 90rem;
	--page-width: 70rem;

	--spacing-sections-desktop: 5rem;
	--spacing-sections-mobile: 6rem;
}

/* General */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
	height: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 4.5rem;

	@media (width >=750px) {
		& {
			scroll-padding-top: 6.25rem;
		}
	}
}

body {
	margin: 0;
	font-size: 1rem;
	line-height: 170%;
	font-family: var(--font-body-family);
	font-style: var(--font-body-style);
	font-weight: 200;
	background-color: var(--color-background);
}

p {
	margin-top: 0rem;
	margin-bottom: 0.5rem;
	width: 100%;
}

ul {
	padding: 0 1rem;
	margin-bottom: 0;

	li {
		margin-bottom: 0.5rem;
	}
}

ol {
	padding: 0 2rem;

	li {
		margin-bottom: 0.5rem;
	}

	li::marker {
		color: var(--color-brand);
		font-weight: 600;
	}
}

.page-full-width {
	margin: 0 auto;
	padding: 0 1.5rem;
	max-width: var(--page-full-width);

	@media (width >=750px) {
		& {
			padding: 0 1rem;
		}
	}

	@media (width >=990px) {
		& {
			padding: 0 1rem;
		}
	}
}

.page-width {
	margin: 0 auto;
	padding: 0 1.5rem;

	@media (width >=750px) {
		& {
			padding: 0 1rem;
		}
	}

	@media (width >=990px) {
		& {
			padding: 0 1rem;
			max-width: var(--page-width);
		}
	}
}

/* Header */
header {
	position: relative;
	box-sizing: content-box;
	padding: 0.5rem 0.5rem;
	background-color: var(--color-header-footer);
	display: grid;
	align-items: center;
	grid-template-areas: "heading cta";

	@media (width >=750px) {
		& {
			grid-template-areas: "heading nav cta";
			grid-template-columns: 1fr min-content auto;
		}
	}
}

.heading {
	grid-area: heading;
	margin: 0;
	display: grid;
	align-items: center;
	padding: 0.5rem 0rem;

	@media (width >=750px) {
		& {
			padding: 0.5rem 0rem;
		}
	}

	.logo {
		width: 6rem;
		height: auto;
	}
}

.main-menu {
	grid-area: nav;
	display: grid;
	margin: 0;
	grid-gap: 0.1rem;
	grid-auto-flow: column;
	align-items: right;
	justify-self: right;
	justify-content: right;
	background-color: var(--color-background);
	overflow-x: scroll;
	overflow-y: hidden;
	white-space: nowrap;
	padding: 0.5rem 1rem;
	-ms-overflow-style: none;
	scrollbar-width: none;

	a {
		background-color: var(--color-header-footer);
		color: var(--color-heading);
		text-align: center;
		font-family: "Haffer";
		padding: 0.4rem 0.8rem;
		font-weight: 600;
		font-size: 90%;
	}

	&::-webkit-scrollbar {
		display: none;
	}

	@media (width >=750px) {
		& {
			background-color: transparent;

			a {
				background-color: transparent;
			}
		}
	}
}

.main-menu {
	display: none;

	@media (width >=750px) {
		& {
			display: grid;
		}
	}
}

.cta {
	grid-area: cta;
	display: grid;
	align-items: center;
	justify-self: end;
	margin: 0;
	font-size: 90%;

	.link--primary {
		margin-bottom: 0.2rem;
		padding: 0.2rem 0.8rem;
	}
}

/* Quick Menu */

.quick-menu-wrapper {
	overflow-x: scroll;
	overflow-y: hidden;
	-ms-overflow-style: none;
	scrollbar-width: none;
	margin: 0 -1.5rem;
	font-size: 0.9rem;
	background: var(--color-background);

	&::-webkit-scrollbar {
		display: none;
	}
}

.quick-menu {
	display: flex;
	gap: 0rem;
	margin: 0;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: left;
	background-color: var(--color-background);
	white-space: nowrap;
	padding: 1rem 1.5rem;

	a {
		background-color: #ececec;
		color: var(--color-heading);
		text-align: left;
		border-radius: 1rem;
		text-decoration: none;
		font-family: "Haffer";
		font-weight: 600;
		padding: 0.5rem 0.5rem;
		font-size: 0.8rem;
		-webkit-tap-highlight-color: rgba(0,0,0,0);
	}

	a:last-child {
		margin-right: 2rem;
	}

	span {
		color: var(--color-nav-text);
	}
}

/* Section */
.section {
	padding: 3rem 0rem;
	margin-top: var(--spacing-sections-mobile);
	box-sizing: content-box;
	overflow: visible;
	background-color: transparent;

	@media (width >=750px) {
		& {
			padding: 4rem 1rem;
			margin-top: var(--spacing-sections-desktop);
		}
	}

	@media (width >=990px) {
		& {
			padding: 4rem 4rem;
			margin-top: var(--spacing-sections-desktop);
		}
	}

	.row-full {
		display: grid;
		grid-template-columns: 1fr;
		column-gap: 1rem;
	}
}

.row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	background-clip: border-box;

	@media (width >=750px) {
		& {
			grid-template-columns: 1fr 1fr;
		}
	}

	&.row-60-40 {
		grid-template-columns: 1fr;

		@media (width >=750px) {
			& {
				grid-template-columns: auto 40%;
			}
		}
	}
}

.column {
	display: grid;
	grid-auto-flow: row;
	grid-template-columns: 1fr;
	gap: 2rem;
	background-clip: border-box;

	@media (width >=750px) {
		& {
			grid-template-columns: 1fr;
		}
	}
}

h1 {
	font-size: 2.9rem;
	color: var(--color-heading);
	line-height: 120%;
	margin-bottom: 2rem;
	margin-top: 0;
	text-wrap: balance;

	@media (width >=750px) {
		& {
			font-size: 4rem;
		}
	}

	@media (width >=990px) {
		& {
			font-size: 4.2rem;
		}
	}
}

h2 {
	font-size: 2rem;
	color: var(--color-heading);
	line-height: 120%;
	margin-bottom: 0.1rem;
	margin-top: 0;
	text-wrap: balance;

	@media (width >=750px) {
		& {
			font-size: 2.1rem;
		}
	}

	@media (width >=990px) {
		& {
			font-size: 2.2rem;
		}
	}
}

h3 {
	font-size: 1.2rem;
	color: var(--color-heading);
	line-height: 120%;
	margin-bottom: 0.2rem;
	margin-top: 0;
	text-wrap: balance;

	@media (width >=750px) {
		& {
			font-size: 1.3rem;
			margin-bottom: 0.4rem;
		}
	}

	@media (width >=990px) {
		& {
			font-size: 1.4rem;
		}
	}
}

.footer-label {
	font-size: 1rem;
	color: var(--color-heading);
	line-height: 100%;
	margin-top: 0;
	text-wrap: balance;
	margin-bottom: 0.5rem;

	@media (width >=750px) {
		& {
			margin-bottom: 0.5rem;
		}
	}
}

p.sub-heading {
	font-size: 1.1rem;
	font-weight: 400;
	color: var(--color-heading);
	line-height: 160%;
	margin-top: 0;
	margin-bottom: 0;
	text-wrap: balance;

	@media (width >=750px) {
		& {
			font-size: 1.2rem;
		}
	}

	@media (width >=990px) {
		& {
			font-size: 1.3rem;
		}
	}
}

.centered {
	text-align: center;
}

.nowrap {
	text-wrap: nowrap;
}

.icon {
	height: 26px;
	width: 26px;
	margin-bottom: 1rem;
	fill: var(--color-brand) !important;
	stroke: var(--color-brand) !important;
}

.icon-inline {
	margin-top: 1rem;
	margin-bottom: 0;
}

.highlight {
	color: var(--color-highlight);
}

.green {
	color: var(--color-brand);
}

.buttons {
	display: flex;
	gap: 0.8rem;
	align-items: center;
	justify-content: left;
}
.button-primary {
	background-color: var(--color-button);
	color: var(--color-button-text);
	border-radius: 0.4rem;
	margin: 0.2rem 0 1rem 0;
	padding: 0.6rem 0.8rem;
	font-weight: 600;
	font-size: 0.9rem;
	-moz-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	-webkit-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;

	&:hover {
		background-color: var(--color-highlight);
	}
}
.button-share {
	background-color: var(--color-button-share);
	color: var(--color-heading);

	&:hover {
		background-color: var(--color-button-highlight);
		color: var(--color-background);
	}
	&:active {
		text-decoration: none;
	}

	&:visited {
		text-decoration: none;
	}
}

/* Buttons */
.link--primary {
	display: inline-block;
	align-items: center;
	text-decoration: none;
	background-color: var(--color-button);
	color: var(--color-button-text);
	border-radius: 0.4rem;
	margin: 0.2rem 0 1rem 0;
	padding: 0.3rem 0.8rem;
	font-weight: 600;
	font-size: 0.9rem;
	-moz-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	-webkit-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;

	&:hover {
		background-color: var(--color-highlight);
	}

	&:active {
		text-decoration: none;
	}

	&:visited {
		text-decoration: none;
	}
}


.link--secondary {
	list-style: none;
	padding: 0;
	margin: 0;
	display: block;
	align-items: center;
	color: var(--color-heading);
	text-decoration: none;
	font-weight: normal;
	text-decoration: none;
	padding-bottom: 0.5rem;
	padding-top: 0.5rem;
	font-weight: 600;
	font-size: 90%;
	cursor: pointer;
	-moz-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	-webkit-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;

	&:hover {
		color: var(--color-highlight) !important;
	}

	@media (width >=750px) {
		& {
			padding-bottom: 0.5rem;
			padding-top: 0.5rem;
		}
	}
}

/* Section Grid */
.section-grid {
	display: grid;
	grid-template-rows: 1fr;
	gap: 2rem;
}

.text-block {
	display: grid;
	justify-items: left;

	&.centered {
		justify-items: center;
	}
}

.hero-block {
	display: grid;
	justify-items: left;
	margin-bottom: 2.5rem;
	padding: 0 1rem;

	&.centered {
		justify-items: center;
	}

	.link--primary {
		margin: 1rem 0;

		@media (width >=750px) {
			margin: 3rem 0;
		}
	}

	h1 {
		.underline {
			position: relative;
		}

		.underline::after {
			content: "";
			position: absolute;
			height: 15px;
			width: 100%;
			bottom: -7px;
			left: 0;
			background-image: url(../images/underline.svg);
			background-size: 100%;
			background-repeat: no-repeat;
			z-index: -1;
		}
	}
}

.border-block {
	padding: 1rem;
	border-radius: 0.6rem;
	box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 1px 0px, rgba(61, 59, 53, 0.16) 0px 0px 0px 1px, rgba(61, 59, 53, 0.08) 0px 3px 9px 0px, rgba(61, 59, 53, 0.08) 0px 2px 5px 0px;
	overflow: hidden;

	@media (width >=750px) {
		padding: 2rem;
	}
}

.border-block-green {
	box-shadow: rgb(52, 199, 89) 0px 0px 0px 2px, rgba(52, 199, 89, 0.36) 0px 0px 0px 4px !important;
}

.border-block-blue {
	box-shadow: rgba(0, 122, 255, 1) 0px 0px 0px 2px, rgba(0, 122, 255, 0.36) 0px 0px 0px 4px !important;
}

.border-block-red {
	box-shadow: rgba(234, 75, 99, 1) 0px 0px 0px 2px, rgba(234, 75, 99, 0.36) 0px 0px 0px 4px !important;
}

.border-block-img {
	padding: 1rem 1rem 0rem 1rem !important;
	display: flex;
	flex-direction: column;

	@media (width >=750px) {
		padding: 2rem 2rem 0rem 2rem !important;
		justify-content: space-between;
	}

	picture {
		display: block;
		margin: 1rem 1rem 0 1rem;
		line-height: 0;

		img {
			border-radius: 0.6rem 0.6rem 0 0;
			width: 100%;
			height: auto;
			object-position: right bottom;
			box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 1px 0px, rgba(61, 59, 53, 0.16) 0px 0px 0px 1px, rgba(61, 59, 53, 0.08) 0px 3px 9px 0px, rgba(61, 59, 53, 0.08) 0px 2px 5px 0px;
		}
	}
}

.partner-icons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 3rem;
	row-gap: 1rem;
	margin: 0;
	padding: 1rem 0rem;

	@media (width >=750px) {
		gap: 3rem;
	}
}

.partner-svg {
	width: auto;
	max-width: 150px;
	height: 2.5rem;
	color: var(--color-heading);
	overflow: visible;
}

.partner-svg.small {
	height: 2rem;
}

.stat-list {
	display: flex;
	width: 100%;
	flex-wrap: nowrap;
	flex-direction: column;
	justify-content: left;
	gap: 0.8rem;
	margin-left: -2rem;
	padding: 0.5rem 2rem;
	float: left;
	font-weight: 600;
	color: var(--color-nav-text);

	&::-webkit-scrollbar {
		display: none;
	}

	@media (width >=750px) {
		display: flex;
		width: 100%;
		flex-wrap: nowrap;
		flex-direction: row;
		overflow-x: scroll;
		gap: 3rem;
	}
}

.stat-list-item {
	width: auto;
	display: grid;
	grid-template-columns: 1fr;

	.stat-list-item-heading {
		white-space: nowrap;
	}

	.stat-list-item-footer {
		margin-top: 0.2rem;
		white-space: nowrap;
	}
}

.h1-number {
	font-size: 4.5rem;
	font-weight: 600;
	margin: 1rem 0;
	color: var(--color-brand);
	white-space: nowrap;

	@media (width >=750px) {
		font-size: 5rem;
		margin: 2rem 0;
	}

	@media (width >=990px) {
		& {
			font-size: 6rem;
		}
	}
}

/* Collapisble */
.collapsible {
	border-bottom: 1px solid #e6e6e6;
}

.wrap-collapsible {
	border-top: 1px solid #e6e6e6;
}

input[type="checkbox"] {
	display: none;
}

.lbl-toggle {
	display: flex;
	justify-content: space-between;
	font-weight: bold;
	padding: 1rem 0rem;
	color: #000000;
	cursor: pointer;
	border-radius: 7px;
	transition: all 0.25s ease-out;
	background-color: var(--color-background);

	&:hover {
		color: var(--color-highlight) !important;
	}
}

.chevron {
	&::after {
		transition: all 0.25s ease-out;
		border-style: solid;
		border-width: 0.15em 0.15em 0 0;
		content: "";
		display: inline-block;
		height: 0.4em;
		right: 0.2em;
		position: relative;
		top: 0.5em;
		transform: rotate(135deg);
		vertical-align: top;
		width: 0.4em;
		color: #e6e6e6;
	}
}

.lbl-toggle:hover {
	color: #000000;
}

.collapsible-content {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.3s ease-out;

	.collapsible-inner {
		overflow:hidden;
	}
}

.toggle:checked + .lbl-toggle + .collapsible-content {
	grid-template-rows: 1fr;
	transition: grid-template-rows 0.3s ease-in-out;
}

.toggle:checked + .lbl-toggle::before {
	transform: rotate(-45deg) translateX(-3px);
}

.toggle:checked + .lbl-toggle .chevron::after {
	border-style: solid;
	border-width: 0.15em 0.15em 0 0;
	content: "";
	display: inline-block;
	height: 0.4em;
	right: 0.2em;
	position: relative;
	top: 0.5em;
	transform: rotate(-45deg);
	vertical-align: top;
	width: 0.4em;
}

.toggle:checked + .lbl-toggle {
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

/* Footer */
footer {
	margin-top: var(--spacing-sections-mobile);

	.footer-content {
		border-top: 1px solid #e6e6e6;
		padding: 3rem 0;
		display: grid;
		grid-template-areas: "company-info" "footer-menus";
		grid-template-columns: 1fr;
		gap: 2rem;
		justify-items: left;

		@media (width >=750px) {
			& {
				gap: 3rem;
				padding: 6rem 0;
				grid-template-areas: "company-info footer-menus";
				grid-template-columns: 30% auto;
			}
		}
	}
}

.company-info {
	grid-area: company-info;
	display: inline-grid;
	font-size: 100%;
	gap: 0.6rem;
	grid-template-columns: 1fr;
	color: var(--color-heading);

	.logo {
		margin-bottom: 1.2rem;
	}

	svg {
		width: 7rem;
		height: auto;
	}
}

.footer-menus {
	grid-area: footer-menus;
	width: 100%;
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;

	@media (width >=750px) {
		& {
			grid-template-columns: 1fr 1fr 1fr;
		}
	}

	.footer-menu {
		display: flex;
		flex-direction: column;
		margin: 0;
		gap: 0rem;
		justify-content: left;
		font-size: 1rem;
		padding: 0;
		font-weight: 600;

		p {
			margin: 0;
			padding: 0;
			line-height: 100%;
		}

		a {
			font-family: "Haffer";
			font-weight: 200;
			font-size: 100%;
			line-height: 120%;
			color: var(--color-heading);
		}
	}
}

.help-toggle {
	position: fixed;
	display: block;
	bottom: 10px;
	right: 10px;
	height: 44px;
	width: 44px;
	z-index: 99;
	cursor: pointer;
	background-color: var(--color-brand);
	border-radius: 100%;
	-moz-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	-webkit-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;

	&:hover {
		background-color: var(--color-brand-highlight);
	}

	svg {
		height: 32px;
		width: 32px;
		margin: -12px;
		fill: var(--color-background) !important;
		stroke: var(--color-brand) !important;
	}

	@media (width >=990px) {
		& {
			bottom: 20px;
			right: 20px;
		}
	}
}

.social-media {
	display: flex;
	gap: 0.8rem;
	margin: 0rem;

	div {
		height: 25px;
	}

	svg {
		width: 20px;
		height: 20px;
		fill: var(--color-heading) !important;
	}
}

.cky-switch input[type="checkbox"] {
	display: unset !important;
 }

 .cky-overlay {
	transition: all 0.25s ease-out;
}