@charset "UTF-8";
html {
	display: flex;
	height: 100vh;
	justify-content: center;
	align-items: center;
}

body {
	font-weight: 400;
	font-size: 18px;
	line-height: 28px;
	max-width: 780px;
	margin: 0 auto;
}

article {
	background: white;
	padding: 80px 72px;
	border-radius: 40px;
	box-shadow: 0px 1.5px 3px rgba(0, 0, 0, 0.1);
}

a {
	color: #5B54E8;
	border-radius: 10px;
	padding: 10px 15px;
	margin: -10px -15px;
	transition: all 0.2s;
}

a:hover {
	color: #fff;
	background: #5B54E8;
}

a.disabled {
	color: rgba(0, 0, 0, 0.33);
}

nav a, footer a {
	margin: -5px -25px -5px 0;
	padding: 10px 12px;
	border: 2px solid rgba(91, 84, 231, 0.2);
}

ul {
	list-style: none;
}

li, p {
	padding: 10px 0;
}

header {
	padding: 0 20px 15px;
}

header h1 {
	font-weight: 600;
	font-size: 42px;
	line-height: 54px;
	letter-spacing: -1px;
}

header p {
	font-weight: 600;
	opacity: .5;
	padding: 0;
}

section, nav, footer {
	display: block;
	margin: 48px 0 0;
	padding: 0 20px;
}

section ul li a, nav ul li a, footer ul li a {
	display: inline-block;
}

section h3, nav a, footer a {
	font-weight: 600;
	font-size: 21px;
	display: inline-block;
}

nav {
	margin-top: 32px;
}

nav li {
	display: inline-block;
	margin: 0 42px 0 0;
}

.flow section {
	display: inline-block;
	width: calc(50% - 10px);
	vertical-align: top;
}

.flow section:nth-child(odd) {
	margin-right: 15px;
}

#more {
	padding-top: 0;
}

#more ul li {
	display: inline-block;
	width: calc(50% - 10px);
}

#more ul li:nth-child(odd) {
	margin-right: 15px;
}

#more ul li:nth-child(odd) a {
	/*padding-right: 10px;*/
	margin-right: -10px;
}

footer {
	margin-top: 38px;
}

/* !• ——— phones */

@media screen and (max-width: 520px) {
	html {
		height: auto;
	}
	
	body {
		margin: 0 auto;
	}
	
	article {
		padding: 84px 0;
	}
	
	body {
		margin: 120px auto;
	}
	
	.flow section {
		display: block;
		width: 100%;
	}
}
