/**
 * App download — single variation
 */

.app {
	--app-title: #ffffff;
	--app-text: #ffffff;
	--app-btn-bg: #ffffff;
	--app-btn-text: #030025;
	--app-font: var(--site-font, "Open Sans", Inter, sans-serif);
	--app-bg: linear-gradient(90deg, #6b1a8a 0%, #c41e8a 45%, #e83a9a 100%);

	background: var(--app-bg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-sizing: border-box;
	color: #fff;
	font-family: var(--app-font);
	margin: 0;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}

.app--has-bg {
	background-image: var(--app-bg-image);
}

.app--has-color-bg {
	background: var(--app-bg);
}

.app *,
.app *::before,
.app *::after {
	box-sizing: border-box;
}

.app a {
	color: inherit;
	text-decoration: none;
}

.app__inner {
	align-items: center;
	display: flex;
	gap: 40px;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 946px;
	min-height: 0;
	padding: 50px 0 88px;
	position: relative;
	width: 100%;
	z-index: 1;
}

.app__content {
	display: flex;
	flex: 0 0 288px;
	flex-direction: column;
	gap: 0;
	max-width: 288px;
	min-width: 0;
}

.app h2.app__title {
	color: var(--app-title);
	font-size: 22px;
	font-weight: 700;
	line-height: 32px;
	margin: 0;
}

.app__text {
	color: var(--app-text);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	margin: 8px 0 0;
}

.app__btns {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 25px;
}

.app__btn {
	align-items: center;
	background: #ffffff;
	border-radius: 24px;
	box-sizing: border-box;
	color: var(--app-btn-text);
	display: inline-flex;
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 700;
	gap: 0;
	height: 49px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	transition: filter 0.2s ease;
	width: 127px;
}

.app a.app__btn {
	color: var(--app-btn-text);
}

.app a.app__btn:hover,
.app a.app__btn:focus-visible,
.app__btn:hover,
.app__btn:focus-visible {
	color: var(--app-btn-text);
	filter: brightness(0.96);
}

.app__btn-icon {
	display: inline-flex;
	flex-shrink: 0;
	height: 22px;
	line-height: 0;
	width: 22px;
}

.app__btn-icon svg {
	display: block;
	height: 22px;
	width: 22px;
}

.app__visual {
	flex: 0 1 auto;
	line-height: 0;
	margin: 0;
	max-width: 520px;
	min-width: 0;
	position: relative;
	width: min(520px, 48%);
}

.app__visual-img {
	display: block;
	height: auto;
	margin-bottom: -89px;
	max-width: 100%;
	object-fit: contain;
	width: 100%;
}

@media (max-width: 1100px) {
	.app__inner {
		padding: 50px 0 88px;
	}
}

@media (max-width: 1010px) {
	.app__inner {
		padding-left: 40px;
		padding-right: 40px;
	}
}

@media (max-width: 860px) {
	.app__inner {
		gap: 24px;
	}

	.app__content {
		flex: 1 1 288px;
		max-width: 340px;
	}

	.app__visual {
		width: min(420px, 46%);
	}

	.app__visual-img {
		margin-bottom: -60px;
	}
}

@media (max-width: 700px) {
	.app__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 0;
		padding: 50px 40px 60px;
	}

	.app__content {
		flex: 0 0 auto;
		max-width: none;
		width: 100%;
	}

	.app__btns {
		justify-content: center;
		margin-top: 32px;
		width: 100%;
	}

	.app__visual {
		display: none;
	}
}

/* Mobile 390 — Figma: banner 331, title 22/32, btns gap 10, pad 61 */
@media (max-width: 480px) {
	.app__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 0;
		justify-content: flex-start;
		padding: 61px 40px;
		text-align: left;
	}

	.app__content {
		align-items: flex-start;
		flex: 0 0 auto;
		max-width: none;
		width: 100%;
	}

	.app h2.app__title {
		font-size: 22px;
		font-weight: 700;
		justify-content: flex-start;
		line-height: 32px;
		text-align: left;
	}

	.app__text {
		font-size: 16px;
		font-weight: 400;
		line-height: 24px;
		margin-top: 8px;
		text-align: left;
	}

	.app__btns {
		gap: 10px;
		justify-content: center;
		margin-top: 40px;
		width: 100%;
	}

	.app__btn--ios {
		order: 1;
	}

	.app__btn--android {
		order: 2;
	}

	.app a.app__btn {
		color: #030025;
		font-size: 14px;
		font-weight: 700;
		line-height: 16px;
	}

	.app__btn-icon {
		height: 24px;
		width: 20px;
	}

	.app__btn-icon svg {
		height: 100%;
		width: 100%;
	}

	.app__btn--android .app__btn-icon {
		height: 11px;
		width: 20px;
	}

	.app__visual {
		display: none;
	}
}
