/* BasisOrigin — home page sections. Requires base.css. */

/* ---------- section: top ---------- */
.section_top { background: var(--white); height: 100vh; display: flex; flex-flow: column; }
.section_top > .conteiner { flex: 1; display: flex; }
.top_body { flex: 1; display: flex; flex-flow: column; }
.ul_top { margin: auto 0; }
.ul_top {
	display: flex;
	justify-content: space-between;
	width: 100%;
	text-transform: uppercase;
	color: #000;
	font: 400 12px/14px var(--font);
}
.div_h1 { display: flex; justify-content: space-between; padding-bottom: 40px; margin: 0; }
.div_h1 span { width: 52.7%; }
.div_h1 span:first-child { width: 41.6%; }
.div_h1 img { width: 100%; vertical-align: middle; }

/* ---------- section: about ---------- */
.section_about { background: var(--gray); width: 100%; overflow: hidden; }
.section_about .header_page { border-bottom: 1px solid rgba(0, 0, 0, .2); }
.section_about .header_title { background: var(--white); }
.section_about .conteiner::after {
	content: '';
	position: absolute;
	top: 70px;
	left: calc(50% + 26px);
	width: 1px;
	height: 357px;
	background: rgba(0, 0, 0, .2);
}
.logo_big { position: absolute; left: 50%; margin-left: -413px; top: 427px; z-index: 1; }
.logo_big svg path { fill: var(--ink); }
.logo_big svg path.path_3 { fill: var(--orange); }
.logo_big::after, .logo_big::before {
	content: '';
	position: absolute;
	width: 2000px;
	height: 1px;
	background: rgba(0, 0, 0, .2);
}
.logo_big::after { top: 1089px; right: 50%; margin-right: 237px; transform: rotate(150.43deg); }
.logo_big::before { top: 1176px; left: 50%; margin-left: 235px; transform: rotate(29.87deg); }
.about_body { position: relative; z-index: 2; }
.about_card_body { padding: 78px 100px 0; display: flex; justify-content: space-between; }
.about_card {
	display: flex;
	flex-flow: column;
	justify-content: space-between;
	position: relative;
	z-index: 5;
	width: 329px;
	height: 327px;
	padding: 24px;
	background: var(--white);
	border-radius: 12px;
}
.about_card::after {
	content: '';
	position: absolute;
	top: 28px;
	right: 28px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--gray);
}
.about_card_2 { margin-top: 300px; }
.card_head {
	letter-spacing: -.04em;
	text-transform: uppercase;
	color: var(--ink);
	font: 500 100px/80px var(--font);
}
.card_head span { color: var(--orange); font-size: 62px; display: inline-block; padding-left: 10px; position: relative; top: -16px; }
.about_card h3 {
	max-width: 230px;
	text-transform: uppercase;
	color: var(--ink);
	font: 500 20px/24px var(--font);
}
.about_bottom {
	position: relative;
	padding: 667px 0 214px;
	text-align: center;
	letter-spacing: -.04em;
	text-transform: uppercase;
	color: rgba(0, 0, 0, .15);
	font: 500 43px/52px var(--font);
}
.about_bottom_text { max-width: 854px; margin: 0 auto; }
.about_bottom span { color: #000; }

/* ---------- section: web ---------- */
.section_web { background: var(--ink); padding-bottom: 120px; }
.section_web .header_page { border-bottom: 1px solid rgba(255, 255, 255, .2); }
.section_web .header_title { background: var(--ink-2); color: var(--white); }
.web_intro {
	max-width: 854px;
	padding: 80px 0 64px;
	letter-spacing: -.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .25);
	font: 500 43px/52px var(--font);
}
.web_intro span { color: var(--white); }
.web_grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 24px; }
.web_card {
	display: flex;
	flex-flow: column;
	min-height: 260px;
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: var(--radius-l);
	background: rgba(255, 255, 255, .04);
	color: #B1B1B1;
	transition: border-color .3s, background .3s;
}
.web_card { scroll-margin-top: 24px; }
.web_card:target { border-color: var(--accent); }
.web_card:hover { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .07); }
.web_card_head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.web_type {
	padding: 6px 13px;
	border-radius: var(--radius-s);
	background: rgba(255, 255, 255, .1);
	color: var(--white);
	text-transform: uppercase;
	font: 400 12px/14px var(--font);
}
.web_dot { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); }
.web_card h3 {
	margin-bottom: 12px;
	letter-spacing: -.04em;
	text-transform: uppercase;
	font: 500 32px/36px var(--font);
	overflow-wrap: break-word;
}
.web_card h3 a { color: var(--white); }
.web_card h3 a:hover { color: var(--accent); }
.web_card p { flex: 1; margin-bottom: 24px; font-size: 15px; line-height: 1.55; }
.web_links { display: flex; gap: 8px; flex-wrap: wrap; }
.web_links a {
	padding: 11px 16px 9px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: var(--radius);
	color: var(--white);
	text-transform: uppercase;
	font: 400 12px/18px var(--font);
}
.web_links a:hover { background: rgba(255, 255, 255, .85); border-color: transparent; color: var(--ink); }

/* ---------- section: apps ---------- */
.section_apps { background: var(--gray); padding-bottom: 120px; }
.section_apps .header_page { border-bottom: 1px solid rgba(0, 0, 0, .2); }
.section_apps .header_title { background: var(--white); }
.apps_intro {
	max-width: 854px;
	padding: 80px 0 64px;
	letter-spacing: -.04em;
	text-transform: uppercase;
	color: rgba(0, 0, 0, .15);
	font: 500 43px/52px var(--font);
}
.apps_intro span { color: #000; }
.apps_grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 24px;
}
.app_card {
	position: relative;
	display: flex;
	flex-flow: column;
	min-height: 420px;
	padding: 24px;
	background: var(--white);
	border-radius: var(--radius-l);
	color: var(--text);
}
.app_card_head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; }
.app_icon {
	width: 72px;
	height: 72px;
	border-radius: 18px;
	background: var(--app-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--app-accent);
	font: 500 28px/1 var(--font);
	text-transform: uppercase;
	overflow: hidden;
}
.app_icon img { width: 100%; height: 100%; display: block; }
.app_dot { width: 28px; height: 28px; border-radius: 50%; background: var(--app-accent); }
.app_platform {
	display: inline-block;
	align-self: flex-start;
	margin-bottom: 12px;
	padding: 6px 13px;
	border-radius: var(--radius-s);
	background: var(--gray);
	color: var(--ink);
	font: 400 12px/14px var(--font);
	text-transform: uppercase;
}
.app_card h3 {
	margin-bottom: 12px;
	letter-spacing: -.04em;
	text-transform: uppercase;
	color: var(--ink);
	font: 500 36px/40px var(--font);
}
.app_card p { flex: 1; margin-bottom: 24px; }
.app_links { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.app_links a:not(.play_badge) {
	padding: 15px 20px 13px;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: var(--radius);
	color: var(--ink);
	text-transform: uppercase;
	font: 400 13px/20px var(--font);
}
.app_links a:not(.play_badge):hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
	.about_card_body { padding: 20px 0 0; width: 450px; margin: 0 auto; }
	.about_card { width: 215px; height: 239px; scroll-snap-align: start; }
	.about_card_2 { margin-top: 0; }
	.about_card_1 img { width: 40px; }
	.about_card h3 { font-size: 14px; line-height: 18px; }
	.card_head { font-size: 54px; line-height: 44px; }
	.card_head span { font-size: 33px; padding-left: 5px; top: -10px; }
	.about_bottom { padding: 85px 0 80px; font-size: 28px; line-height: 34px; }
	.section_about .conteiner::after { display: none; }
	.logo_big { top: 375px; margin-left: -138px; }
	.logo_big svg { width: 263px; height: 230px; opacity: .1; }
	.logo_big svg path.path_3 { fill: var(--ink); }
	.apps_intro, .web_intro { font-size: 28px; line-height: 34px; padding: 56px 0 40px; }
}
@media (max-width: 767px) {
	html, body { overflow-x: hidden; }
	.ul_top { font-size: 10px; line-height: 12px; }
	.div_h1 { flex-wrap: wrap; padding-bottom: 0; }
	.div_h1 span { width: 350px; padding-bottom: 16px; }
	.div_h1 span:first-child { width: 270px; }
	.section_about .conteiner::after, .logo_big::before, .logo_big::after { display: none; }
	.about_body_scroll { overflow-x: auto; margin: 0 -16px; padding: 0 16px 40px; width: calc(100% + 32px); }
	.about_card::after { width: 20px; height: 20px; top: 20px; right: 20px; }
	.section_apps, .section_web { padding-bottom: 64px; }
	.web_card { min-height: 0; }
	.web_card_head { margin-bottom: 24px; }
	.web_card h3 { font-size: 24px; line-height: 28px; }
	.apps_grid { grid-template-columns: 1fr; gap: 16px; }
	.app_card { min-height: 0; }
	.app_card_head { margin-bottom: 32px; }
	.app_card h3 { font-size: 28px; line-height: 32px; }
}
@media screen and (orientation: landscape) {
	.section_top { height: auto; min-height: 100vh; }
	.ul_top { padding: 20px 0; }
}

/* phones: content height, no full-screen gaps (after the landscape rule on purpose) */
@media (max-width: 767px) {
	.section_top { height: auto; min-height: 0; }
	.ul_top { margin: 0; padding: 48px 0 40px; }
	.div_h1 { padding-bottom: 32px; }
}
