/* Brow Haus "get the app" block — [browhaus_app] (0.16.2). Black + gold, Montserrat, matching the app itself. */
.bh-app {
	--bh-ink: #0e0d0c;
	--bh-ink-2: #1a1816;
	--bh-line: #2e2a26;
	--bh-paper: #f4efe6;
	--bh-text: #f4efe6;
	--bh-muted: #c9c0b2;
	--bh-gold: #b08d57;
	--bh-gold-hi: #c9a46c;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
	max-width: 1100px;
	margin: clamp(24px, 4vw, 56px) auto;
	padding: clamp(28px, 5vw, 64px);
	border-radius: 16px;
	background: var(--bh-ink);
	color: var(--bh-text);
	font-family: 'BH Montserrat', Montserrat, system-ui, sans-serif;
	font-weight: 500;
}
.bh-app *, .bh-app *::before, .bh-app *::after { box-sizing: inherit; }
.bh-app ::selection { background: var(--bh-gold); color: var(--bh-ink); }

.bh-app-title {
	margin: 0 0 16px;
	color: var(--bh-text);
	font-family: inherit;
	font-size: clamp(28px, 3.6vw, 44px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-transform: none;
	text-wrap: balance;
}
.bh-app-lead {
	max-width: 46ch;
	margin: 0 0 32px;
	color: var(--bh-muted);
	font-size: clamp(16px, 1.4vw, 18px);
	line-height: 1.55;
}
.bh-app-howto {
	margin: 0 0 16px;
	color: var(--bh-text);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}
.bh-app-howto--tap { display: none; }

.bh-app-stores {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 250px));
	gap: 20px;
}
.bh-app-store {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 16px;
	border: 1px solid var(--bh-line);
	border-radius: 14px;
	background: var(--bh-ink-2);
	color: var(--bh-text);
	text-decoration: none;
	transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s cubic-bezier(.16, 1, .3, 1), border-color .2s ease;
}
.bh-app-store:hover {
	transform: translateY(-3px);
	border-color: var(--bh-gold);
	box-shadow: 0 14px 32px -12px rgba(0, 0, 0, .7);
	color: var(--bh-text);
}
.bh-app-store:focus-visible {
	outline: 2px solid var(--bh-gold-hi);
	outline-offset: 3px;
}
.bh-app-qr {
	display: block;
	padding: 14px;
	border-radius: 10px;
	background: var(--bh-paper);
}
.bh-app-qr img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	image-rendering: pixelated;
}
.bh-app-label {
	display: flex;
	align-items: center;
	gap: 12px;
}
.bh-app-icon {
	flex: none;
	width: 28px;
	height: 28px;
	color: var(--bh-gold);
}
.bh-app-label-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.25;
}
.bh-app-label-text strong {
	font-size: 22px;
	font-weight: 600;
	color: var(--bh-text);
}
.bh-app-shop {
	font-size: 14px;
	color: var(--bh-muted);
}
.bh-app-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--bh-gold);
	color: var(--bh-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
}
.bh-app-cta .bh-app-icon { width: 18px; height: 18px; color: var(--bh-ink); }
.bh-app-store:hover .bh-app-cta { background: var(--bh-gold-hi); }

.bh-app-note {
	margin: 24px 0 0;
	color: var(--bh-muted);
	font-size: 14px;
	line-height: 1.5;
}

.bh-app-phone {
	margin: 0;
	justify-self: center;
	width: 100%;
	max-width: 300px;
}
.bh-app-phone img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--bh-line);
	border-radius: 32px;
	box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .85), 0 8px 18px -10px rgba(176, 141, 87, .25);
}

/* Phones (and any narrow screen): no QR to scan on your own screen — big store buttons instead. */
@media (max-width: 760px) {
	.bh-app {
		grid-template-columns: 1fr;
		border-radius: 0;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		max-width: none;
		width: 100vw;
		padding: 40px 16px 48px;
	}
	.bh-app-phone { order: -1; max-width: 170px; }
	.bh-app-howto--scan { display: none; }
	.bh-app-howto--tap { display: block; }
	.bh-app-stores { grid-template-columns: 1fr; gap: 12px; }
	.bh-app-qr { display: none; }
	.bh-app-store { padding: 0; border: 0; background: none; gap: 0; }
	.bh-app-store:hover { transform: none; box-shadow: none; }
	.bh-app-label { display: none; }
	.bh-app-cta { min-height: 56px; font-size: 16px; }
	.bh-app-store + .bh-app-store .bh-app-cta { background: transparent; color: var(--bh-text); border: 1px solid var(--bh-gold); }
	.bh-app-store + .bh-app-store .bh-app-cta .bh-app-icon { color: var(--bh-gold); }
}
/* A desktop-sized tablet still gets QR codes; a detected phone always gets buttons. */
.bh-app--phone .bh-app-qr { display: none; }
.bh-app--phone .bh-app-howto--scan { display: none; }
.bh-app--phone .bh-app-howto--tap { display: block; }
.bh-app--phone .bh-app-label { display: none; }

@media (prefers-reduced-motion: reduce) {
	.bh-app-store { transition: none; }
	.bh-app-store:hover { transform: none; }
}
