* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 0;
}

body {
	min-height: 100vh;
    display: flex;
    flex-direction: column;
	font-family: "Source Sans Pro", system-ui, sans-serif;
	font-size: 14px;
	background: #FFFFFF;
	color: #525146;
}

/* Typography */
h1 {
	font-family: "foco", system-ui, sans-serif;
	font-size: 32px;
	font-weight: normal;
	line-height: 1.25;
	margin-bottom: 16px;
	text-rendering: optimizeLegibility;
}

h2 {
	font-family: "foco", system-ui, sans-serif;
	font-size: 28px;
	font-weight: normal;
	line-height: 1.25;
	margin-top: 16px;
	margin-bottom: 16px;
	text-rendering: optimizeLegibility;
}

h3 {
	font-family: "foco", system-ui, sans-serif;
	font-size: 24px;
	font-weight: normal;
	line-height: 1.5;
	margin-top: 8px;
	margin-bottom: 8px;
}

p {
	font-size: 16px;
}

@media (min-width: 992px) {
	h1 {
		font-size: 40px;
	}

	h2 {
		font-size: 32px;
	}

	h3 {
		font-size: 28px;
	}
}

/* Header */
.header {
	position: absolute;
	background: #FFFFFF;
	left: 0;
	right: 0;
	top: 0;
	height: 69px;
	box-shadow: 0 0 5px 1px rgba(147,148,142,0.2);
	z-index: 2;
}

.logo-container {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 16.375px 16px;
}

.logo {
	display: block;
	height: 36.25px;
	margin: 0;
	padding: 0;
}

@media (min-width: 992px) {
	.header {
		height: 72.63px;
	}

	.logo-container {
		padding: 8px 16px;
	}

	.logo {
		height: 56.63px
	}
}

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

/* Layout */
.container {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 0 16px;
}

.container-narrow {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 0 16px;
}

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

	.container-narrow {
		max-width: 540px;
	}
}

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

	.container-narrow {
		max-width: 720px;
	}
}

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

	.container-narrow {
		max-width: 800px;
	}
}

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

	.container-narrow {
		max-width: 760px;
	}
}

/* Charmer */
.charmer {
	width: 100%;
	height: 320px;
	margin-top: 69px;
	background-image: url("../images/api-landingpage_320x274.jpg");
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	z-index: 1;
}

.charmer-container {
	padding-top: 24px;
	padding-bottom: 24px;
}

.charmer-content {
	display: none;
	width: 100%;
	min-height: 223px;
	margin-top: 232px;
	padding: 16px;
	background-color: #ba0c2f;
	color: #fff;
}

.charmer-content-mobile-container {
	z-index: 5;
}

.charmer-content-mobile {
	width: 100%;
	min-height: 223px;
	margin-top: -64px;
	padding: 16px;
	background-color: #ba0c2f;
	color: #fff;
}

.charmer-subtitle {
	font-family: "foco", system-ui, sans-serif;
	font-size: 21px;
	line-height: 1.5;
}

@media (min-width: 576px) {
	.charmer {
		height: auto;
		background-position: right top;
		background-image: url("../images/api-landingpage_576x336.jpg");
	}

	.charmer-content {
		display: block;
		width: 305px;
		min-height: 305px;
		margin-top: 0;
	}

	.charmer-content-mobile-container {
		display: none;
	}
	
	.charmer-subtitle {
		font-size: 22px;
	}
}

@media (min-width: 768px) {
	.charmer {
		background-image: url("../images/api-landingpage_768x409.jpg");
	}

	.charmer-container {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.charmer-content {
		padding: 24px;
		width: 348px;
		min-height: 348px;
	}
	
	.charmer-subtitle {
		font-size: 24px;
		line-height: 1.5;
	}
}

@media (min-width: 992px) {
	.charmer {
		margin-top: 72.63px;
	}

	.charmer-content {
		padding: 32px;
		min-height: 370px;
	}
}

@media (min-width: 1024px) {
	.charmer {
		background-image: url("../images/api-landingpage_1024x428.jpg");
	}
}

@media (min-width: 1440px) {
	.charmer {
		background-position: right center;
		background-image: url("../images/api-landingpage_1440x428.jpg");
	}
}

/* Main Content */
.main-content {
	padding: 48px 0 64px 0;
}

a:link, a:visited, a:hover, a:active {
    color: #525146;
    text-decoration: none;
}

.button {
	display: block;
	background-color: #fff;
	box-shadow: 0 2px 10px 0 rgba(147,148,142,0.3);
	padding: 24px 16px;
	margin-top: 0;
	margin-bottom: 32px;
	transition: all 250ms ease-in-out 0ms;
}

.button:hover {
	margin-top: -4px;
	margin-bottom: 36px;
	box-shadow: 0 2px 40px 0 rgba(147,148,142,0.3);
}

.button-signin {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	color: #ba0c2f;
	font-size: 18px;
	font-weight: 600;
	margin-top: 12px;
}

.button-signin--arrow {
	padding-top: 5px;
}

.button-signin--arrow svg {
	width: 18px;
	height: 18px;
	fill: #ba0c2f;
}

@media (min-width: 768px) {
	.button-grid {
		display: grid;
		grid-gap: 32px;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
	}
}

@media (min-width: 992px) {
	.button {
		padding: 32px 24px;
	}
}

/* Footer */
.footer {
	margin-top: auto;
	background: #f0f0ef;
}

.footer-container {
	padding-top: 24px;
	padding-bottom: 24px;
	text-align: center;
}

@media (min-width: 992px) {
	.footer-container {
		text-align: left;
	}
}
