/*
 * Insurance Buffalo product showcase
 */

.product-introduction {
	overflow: hidden;
}

.product-tabs {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 35px auto 25px;
}

.product-tab {
	position: relative;
	margin: 0;
	padding: 10px 22px;
	border: 1px solid #ddd;
	border-radius: 999px;
	background: #fff;
	color: inherit;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition:
		color 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.product-tab:hover {
	border-color: #b9b9b9;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-tab.is-active {
	background: var(--blue, #016183);
	border-color: var(--blue, #016183);
	color: #fff;
	box-shadow: 0 2px 10px rgba(1, 97, 131, 0.35);
}

.product-tab:focus-visible {
	outline: 2px solid var(--blue, #016183);
	outline-offset: 2px;
}

.product-showcase {
	margin-top: 10px;
}

.product-screenshot {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 520px;
	padding: 20px;
}

.product-screenshot img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 560px;
	height: auto;
	margin: 0 auto;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	transition: opacity 0.15s ease;
}

.product-showcase-copy {
	max-width: 700px;
	margin: 25px auto 0;
}

.product-showcase-copy h3 {
	margin-bottom: 10px;
}

.product-showcase-copy p {
	margin-bottom: 0;
}

.product-showcase.is-changing .product-screenshot img {
	opacity: 0;
}

@media screen and (max-width: 639px) {
	.product-tabs {
		justify-content: flex-start;
		overflow-x: auto;
		flex-wrap: nowrap;
	}

	.product-tab {
		flex: 0 0 auto;
		padding: 8px 16px;
		font-size: 14px;
	}

	.product-screenshot {
		min-height: 0;
		padding: 15px 0;
	}

	.product-screenshot img {
		max-height: none;
		width: 100%;
	}

	.product-showcase-copy {
		margin-top: 20px;
	}
}

/*
 * Landing: CORE BENEFITS + FEATURE BREADTH
 */

/* The .features h2 { color: white } rule in public.css targets the blue
   section_light2 variant; on white/grey sections it makes h2s invisible. */
.section_light.features h2 {
	color: inherit;
	margin: 0 0 20px;
}

.section_light.features h3 {
	border-bottom: 0;
	font-size: 2.6rem;
	line-height: 1.25;
	margin: 0 0 10px;
}

.feature-card h3 {
	font-size: 1.8rem;
	line-height: 1.25;
}

/* Icon badge replacing the grey dropcap glyphs */
.feature-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 15px;
	border-radius: 50%;
	background: var(--blue_transparent, #EBF4F8);
	color: var(--blue, #016183);
	font-size: 30px;
	margin-top: 16px;
}

.feature-icon::before {
	content: attr(title);
	font-family: "LigatureSymbols";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Feature cards (FEATURE BREADTH section) */
.feature-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 28px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	transition: box-shadow 0.2s ease;
}

.feature-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.feature-card p {
	margin-bottom: 10px;
}

.feature-card p:last-child {
	margin-top: auto;
	margin-bottom: 0;
}

/* Bottom-aligned CTA inside the CORE BENEFITS section */
.landing-cta {
	margin-top: 40px;
}