/* Uphoff Value Index section: drivers table and report screenshot. */

.uvi-section {
	padding: 96px 80px;
	background: var(--navy);

	.section-label {
		color: var(--gold-mid);
	}

	.section-headline {
		color: var(--white);
	}

	.section-sub {
		margin-bottom: 40px;
		color: rgb(255 255 255 / 65%);
	}

	@media (max-width: 1279.98px) {
		padding: 80px 48px;
	}

	@media (max-width: 767.98px) {
		padding: 56px 16px;
	}
}

.uvi-inner {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.33fr);
	gap: 80px;

	@media (max-width: 1279.98px) {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

.uvi-driver {
	display: grid;
	grid-template-columns: 32px 160px 1fr;
	gap: 16px;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid rgb(255 255 255 / 10%);

	.driver-bullet {
		width: 32px;
		height: 32px;
		border-radius: 50%;
		background: var(--bronze);
		color: var(--white);
		/* Line height equals the circle height so digits center optically. */
		font: 700 20px/32px var(--display);
		text-align: center;
	}

	strong {
		color: var(--white);
		font-size: 15px;
		font-weight: 600;
		line-height: 1.6;
	}

	> span:last-child {
		color: rgb(255 255 255 / 50%);
		font-size: 13px;
		line-height: 1.5;
	}

	@media (max-width: 767.98px) {
		grid-template-columns: 32px 120px 1fr;
		gap: 8px;
	}
}

.uvi-visual {
	position: relative;
	align-self: center;

	@media (max-width: 1279.98px) {
		width: min(100%, 720px);
		margin-inline: auto;
	}
}

.uvi-screenshot {
	width: 100%;
	height: auto;
	opacity: 0.8;
	border: 1px solid #35362d; /* Figma: hairline around the report screenshot. */
	border-radius: 6px;
	box-shadow: 0 32px 80px rgb(155 188 255 / 10%);
}

.uvi-badge {
	position: absolute;
	right: -16px;
	bottom: -16px;
	padding: 8px 12px;
	background: var(--gold-light);
	color: var(--navy-nav);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;

	@media (max-width: 767.98px) {
		right: 8px;
		padding: 4px 8px;
		font-size: 10px;
	}
}
