/* Homepage app download promo — index.html */

.app-promo-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}

.app-promo-overlay.is-visible {
	opacity: 1;
	visibility: visible;
}

.app-promo-modal {
	position: relative;
	width: 100%;
	max-width: 520px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
	transform: translateY(16px) scale(0.98);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
	overflow: hidden;
}

.app-promo-overlay.is-visible .app-promo-modal {
	transform: translateY(0) scale(1);
}

.app-promo-modal::before {
	content: "";
	display: block;
	height: 4px;
	background: linear-gradient(90deg, #0088cc 0%, #006699 100%);
}

.app-promo-close {
	position: absolute;
	top: 12px;
	right: 14px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	color: #999;
	cursor: pointer;
	padding: 4px 8px;
	z-index: 2;
	transition: color 0.2s ease;
}

.app-promo-close:hover {
	color: #333;
}

.app-promo-inner {
	padding: 36px 32px 28px;
	text-align: center;
}

.app-promo-logo {
	max-width: 200px;
	height: auto;
	width: auto;
	margin: 0 auto 16px;
}

.app-promo-eyebrow {
	display: inline-block;
	margin: 0 0 8px;
	padding: 4px 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #0088cc;
	background: rgba(0, 136, 204, 0.08);
	border-radius: 999px;
}

.app-promo-inner h2 {
	margin: 0 0 10px;
	font-size: 26px;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.25;
}

.app-promo-lead {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.55;
	color: #666;
}

.app-promo-actions {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 28px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.app-promo-store-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.app-promo-badge-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	transition: opacity 0.2s ease;
}

.app-promo-badge-link:hover {
	opacity: 0.92;
}

.app-promo-badge {
	display: block;
	height: 48px;
	width: auto;
}

.app-promo-qr-block {
	text-align: center;
}

.app-promo-qr-label {
	margin: 0 0 6px;
	font-size: 12px;
	color: #888;
}

.app-promo-qr {
	width: 110px;
	height: 110px;
	padding: 6px;
	border: 1px solid #eee;
	border-radius: 8px;
	background: #fff;
}

.app-promo-ios {
	margin: 0 0 14px;
	font-size: 13px;
	color: #888;
}

.app-promo-ios i {
	color: #0088cc;
	margin-right: 4px;
}

.app-promo-link {
	display: inline-block;
	margin-bottom: 12px;
	font-size: 14px;
	font-weight: 600;
	color: #0088cc;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}

.app-promo-link:hover {
	color: #006699;
	border-bottom-color: #006699;
}

.app-promo-dismiss {
	display: block;
	width: 100%;
	margin: 0;
	padding: 10px 16px;
	border: 0;
	background: transparent;
	font-size: 13px;
	color: #999;
	cursor: pointer;
	transition: color 0.2s ease;
}

.app-promo-dismiss:hover {
	color: #555;
}

body.app-promo-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.app-promo-overlay {
		padding: 12px;
		align-items: flex-end;
	}

	.app-promo-modal {
		max-width: 100%;
		border-radius: 12px 12px 0 0;
	}

	.app-promo-inner {
		padding: 22px 18px 16px;
	}

	.app-promo-logo {
		max-width: 160px;
		margin-bottom: 10px;
	}

	.app-promo-eyebrow,
	.app-promo-lead,
	.app-promo-ios,
	.app-promo-link {
		display: none;
	}

	.app-promo-inner h2 {
		font-size: 20px;
		margin-bottom: 14px;
	}

	.app-promo-actions {
		flex-direction: row;
		justify-content: center;
		gap: 12px;
		margin-bottom: 10px;
	}

	.app-promo-store-col {
		gap: 0;
	}

	.app-promo-qr-block {
		display: none;
	}

	.app-promo-badge {
		height: 40px;
		max-width: none;
	}

	.app-promo-dismiss {
		padding: 8px;
		font-size: 12px;
	}
}

@media (max-width: 400px) {
	.app-promo-inner h2 {
		font-size: 18px;
	}

	.app-promo-badge {
		height: 36px;
	}

	.app-promo-actions {
		gap: 8px;
	}
}
