/* Browshell promotional page — matches byaleksander.com software banners. */

.bsh {
	box-sizing: border-box;
	max-width: 1290px;
	margin: 0 auto;
	padding: 108px 28px 88px;
	color: #3a4f66;
	font-family: "Myriad Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.86;
}

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

.bsh-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.bsh-hero {
	margin: 0 0 36px;
}

.bsh-hero-art {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.bsh-hero-copy {
	max-width: 640px;
	margin: -28px auto 0;
	padding: 0 12px;
	text-align: center;
	position: relative;
}

.bsh-lede {
	margin: 0;
	color: #3a4f66;
	font-size: 18px;
	line-height: 1.7;
}

.bsh-lede + .bsh-lede {
	margin-top: 4px;
}

.bsh-store {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 22px;
}

.bsh-appicon {
	width: 76px;
	height: 76px;
	flex: 0 0 auto;
}

.bsh-store-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.bsh-badge {
	display: block;
	width: 177px;
	height: auto;
}

.bsh-platforms {
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
	color: #3a4f66;
	text-align: left;
}

.bsh-close .bsh-platforms {
	color: #f4f7fa;
}

.bsh-card {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 28px 0;
	padding: 32px 40px 36px;
	border-radius: 8px;
	background: linear-gradient(180deg, #5a7694 0%, #86a4c4 100%);
}

.bsh-card--soft {
	background: linear-gradient(180deg, #5a7694 0%, #86a4c4 100%);
}

.bsh-card--flip {
	flex-direction: row-reverse;
}

.bsh-card--stack {
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding-bottom: 36px;
}

.bsh-copy {
	flex: 0.9 1 340px;
	max-width: 440px;
	min-width: 0;
}

.bsh-card--stack .bsh-copy {
	flex: none;
	max-width: 680px;
}

.bsh-copy h2 {
	margin: 0 0 10px;
	color: #ffffff;
	font-family: inherit;
	font-size: clamp(15px, 4.7vw, 26px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
}

.bsh-copy p {
	margin: 0;
	color: #f4f7fa;
	font-size: 16px;
	line-height: 1.86;
}

.bsh-stage {
	flex: 1.15 1 0;
	min-width: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	position: relative;
	z-index: 1;
	padding: 0 10px 20px;
	overflow: visible;
}

.bsh-card--stack .bsh-stage {
	width: 100%;
	flex: none;
	margin-top: 8px;
}

.bsh-shot {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	overflow: visible;
}

.ratio-ipad { aspect-ratio: 1712 / 1249; }
.ratio-mac { aspect-ratio: 1744 / 1146; }
.ratio-phone { aspect-ratio: 856 / 1680; }
.ratio-split { aspect-ratio: 1696 / 933; }

.bsh-stage--phone .is-primary {
	width: 70%;
}

.bsh-stage--phone .is-secondary {
	width: 28%;
	margin-left: -5%;
	position: relative;
	z-index: 1;
}

.bsh-stage--balanced .is-primary {
	width: 58%;
}

.bsh-stage--balanced .is-secondary {
	width: 52%;
	margin-left: -10%;
	position: relative;
	z-index: 1;
}

.bsh-stage--solo .ratio-phone {
	width: auto;
		height: 520px;
}

.bsh-stage--solo .ratio-ipad,
.bsh-stage--solo .ratio-mac {
	width: 88%;
}

.bsh-stage--wide .is-primary {
	width: 92%;
}

.bsh-stage--trio {
	align-items: flex-end;
}

.bsh-stage--trio .is-mac {
	width: 46%;
}

.bsh-stage--trio .is-ipad {
	width: 36%;
	margin-left: -3%;
	position: relative;
	z-index: 1;
}

.bsh-stage--trio .is-phone {
	width: 15%;
	margin-left: -2%;
	position: relative;
	z-index: 2;
}

.bsh-close {
	margin-top: 36px;
	padding: 42px 36px 36px;
	border-radius: 8px;
	background: linear-gradient(180deg, #5a7694 0%, #86a4c4 100%);
	text-align: center;
}

.bsh-close h2 {
	margin: 0 0 8px;
	color: #ffffff;
	font-family: inherit;
	font-size: clamp(15px, 4.7vw, 26px);
	font-weight: 700;
	line-height: 1.25;
}

.bsh-close p {
	max-width: 560px;
	margin: 0 auto;
	color: #f4f7fa;
	font-size: 16px;
	line-height: 1.86;
}

@media (max-width: 980px) {
	.bsh-card,
	.bsh-card--flip {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 28px 24px 36px;
		gap: 8px;
	}

	.bsh-copy,
	.bsh-card--stack .bsh-copy {
		flex: none;
		max-width: 38rem;
	}

	.bsh-stage,
	.bsh-card--stack .bsh-stage {
		width: 100%;
	}

	.bsh-stage {
		padding: 0 10px 20px;
	}

	.bsh-stage--phone .is-primary {
		width: 72%;
	}

	.bsh-stage--phone .is-secondary {
		width: 34%;
		margin-left: -8%;
	}

	.bsh-stage--solo .ratio-phone {
		height: 480px;
	}

	.bsh-stage--solo .ratio-ipad,
	.bsh-stage--solo .ratio-mac {
		width: 92%;
	}

	.bsh-stage--trio {
		flex-wrap: wrap;
		row-gap: 8px;
	}

	.bsh-stage--trio .is-mac {
		width: 92%;
		margin-left: 0;
	}

	.bsh-stage--trio .is-ipad {
		width: 62%;
		margin-left: 0;
	}

	.bsh-stage--trio .is-phone {
		width: 30%;
		margin-left: -8%;
	}
}

@media (max-width: 640px) {
	.bsh {
		padding: 92px 16px 64px;
	}

	.bsh-hero-copy {
		margin-top: -8px;
	}

	.bsh-lede {
		font-size: 16px;
	}

	.bsh-appicon {
		width: 64px;
		height: 64px;
	}

	.bsh-badge {
		width: 145px;
	}

	.bsh-platforms {
		font-size: 13px;
	}

	.bsh-card {
		margin: 18px 0;
		padding: 24px 18px 32px;
	}

	.bsh-stage--phone .is-secondary {
		margin-left: -14px;
	}

	.bsh-stage--balanced .is-secondary {
		margin-left: -24px;
	}

	.bsh-close {
		padding: 32px 16px 28px;
	}
}
