/* Black Friday in the homepage hero, drawn by bf-hero.js over the real
   hero while the offer runs. Lime is the offer's colour, as on
   /blackfriday/ and in the site bar. */
.bfh-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin-bottom: clamp(16px, 1.8vw, 24px);
}
.bfh-badge {
	display: inline-flex;
	align-items: stretch;
	overflow: hidden;
	border-radius: 999px;
	background: #e2ff52;
	color: #1d1d1f;
	font-size: 15px;
	line-height: 1;
	letter-spacing: -0.02em;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	text-decoration: none;
	box-shadow: 0 6px 24px #0b1f4a40;
	transition: transform 0.2s;
}
.bfh-badge:hover {
	transform: translateY(-1px);
}
.bfh-badge-k {
	display: inline-flex;
	align-items: center;
	padding: 0.62em 0.8em 0.64em 1em;
	background: #1d1d1f;
	color: #e2ff52;
	font-weight: 600;
}
.bfh-badge-t {
	display: inline-flex;
	align-items: baseline;
	gap: 0.4em;
	padding: 0.62em 1em 0.64em 0.8em;
}
.bfh-badge b {
	font-weight: 600;
}
.bfh-badge s {
	color: #1d1d1f80;
	text-decoration-thickness: 1.5px;
}
.bfh-left {
	color: #fff;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	text-shadow: 0 1px 6px #0005;
	white-space: nowrap;
}
.bfh-left b {
	font-weight: 600;
}

/* The offer hero carries longer copy: the name a size smaller and wider, so the
   block still sits under the header on a laptop screen. */
@media (min-width: 641px) {
	.bfh-on .hero-content h1 {
		max-width: 760px;
		font-size: clamp(44px, 4.1vw, 64px);
	}
	.bfh-on .hero-content .hero-copy {
		max-width: 560px;
	}
}

/* The offer button, in the look of "Product demo". */
.hero-content .bfh-offer {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	height: 52px;
	padding: 0 18px 0 16px;
	border: 1px solid #ffffff59;
	border-radius: 5px;
	background: #ffffff1f;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: -0.03em;
	text-decoration: none;
	pointer-events: auto;
	transition: background 0.2s, transform 0.2s;
}
.hero-content .bfh-offer:hover {
	background: #ffffff33;
	transform: translateY(-2px);
}
.bfh-offer i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #e2ff52;
	box-shadow: 0 0 0 4px #e2ff5233;
}
.bfh-offer small {
	font-size: 11px;
	font-weight: 400;
	opacity: 0.75;
	letter-spacing: 0;
	font-variant-numeric: tabular-nums;
}
.bfh-offer svg {
	width: 13px;
	height: 13px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}
.bfh-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: stretch;
}

@media (max-width: 640px) {
	.bfh-badge {
		font-size: 13px;
	}
	.bfh-left {
		font-size: 12px;
	}
	.bfh-on .hero-content h1 {
		font-size: 38px;
	}
}

/* The badge adds a row above the name: keep it clear of the header on a
   laptop-height screen. */
@media (min-width: 641px) and (max-height: 900px) {
	.bfh-on .hero-content {
		margin-top: 30px;
	}
	.bfh-on .hero-content .actions {
		margin-top: 18px;
	}
}
