.home-hero-link {
	display: block;
	width: 100%;
	height: 100%;
	min-height: inherit;
	color: inherit;
	text-decoration: none;
}

.home-hero-link:focus-visible {
	outline: 3px solid #fff;
	outline-offset: -5px;
}

.home-ai-disclosure {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
}

.home-ai-badge {
	display: inline-flex;
	min-height: 30px;
	align-items: center;
	gap: 5px;
	padding: 6px 9px;
	border: 0;
	border-radius: 4px;
	background: rgb(31 35 40 / .25);
	box-shadow: none;
	color: #fff;
	opacity: .7;
	font: 500 12px/1 "Inter", Arial, sans-serif;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.home-ai-badge:focus-visible,
.home-ai-close:focus-visible {
	outline: 2px solid #d71920;
	outline-offset: 3px;
}

.home-ai-icon {
	display: block;
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.home-ai-icon[hidden],
.home-ai-tooltip[hidden] {
	display: none;
}

.home-ai-info {
	flex: 0 0 12px;
}

.home-ai-tooltip {
	position: fixed;
	inset: auto;
	z-index: 1100;
	box-sizing: border-box;
	width: min(300px, calc(100vw - 32px));
	max-height: calc(100dvh - 32px);
	margin: 0;
	padding: 16px;
	overflow: auto;
	overscroll-behavior: contain;
	border: 0;
	border-radius: 4px;
	background: var(--ui-tooltip-bg, rgb(31 35 40 / .9));
	box-shadow: 0 8px 24px rgb(17 20 24 / .16);
	color: #fff;
	font: 400 12px/1.45 "Inter", Arial, sans-serif;
	text-align: left;
	overflow-wrap: anywhere;
}

.home-ai-title {
	margin: 0 28px 8px 0;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.home-ai-description {
	margin: 0;
}

.home-ai-close {
	position: absolute;
	top: 6px;
	right: 6px;
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: rgb(255 255 255 / .8);
	cursor: pointer;
}

.home-ai-close:hover {
	background: rgb(255 255 255 / .12);
	color: #fff;
}

@media (pointer: coarse) {
	.home-ai-badge {
		min-height: 44px;
		padding-inline: 11px;
	}

	.home-ai-close {
		top: 0;
		right: 0;
		width: 44px;
		height: 44px;
	}
}
