/*
 * /vs/<rival>/ pages (page-vs-competitor.php, inc/vs-rival.php), 2026-11-20 rebuild. Loaded after css/landing_pages.css.
 * Colors are the theme's own: brand blue #0042ff, ink #0b1220, the veefly table's green check #0a7d32. Every block is in
 * its finished state unless html.vsr-motion is set (JS, IntersectionObserver, no reduced-motion preference).
 */

.template-landing-vsr {
	--vsr-blue: #0042ff;
	--vsr-blue-ink: #002ba5;
	--vsr-ink: #0b1220;
	--vsr-text: #3b4150;
	--vsr-muted: #5f6675;
	--vsr-line: #e3e8f2;
	--vsr-tint: #eef3ff;
	--vsr-panel: #f4f6fb;
	--vsr-green: #0a7d32;
}

/* ------------------------------------------------------------------ hero */

.template-landing-vsr .vsr-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px 0;
	padding: 6px 14px 6px 10px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 20px;
	align-self: flex-start;
}

.template-landing-vsr .vsr-eyebrow svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: #8fb0ff;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.template-landing-vsr .hero-section .inner .inner_wrapper .vsr-hero__visual {
	display: flex;
	align-items: center;
}

/* The verdict card */
.vsr-card {
	width: 100%;
	max-width: 560px;
	margin: 0 0 0 auto;
	padding: 20px 20px 16px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	color: var(--vsr-ink);
	text-align: left;
	box-sizing: border-box;
}

.vsr-card__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px 0;
}

.vsr-card__brand {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 12px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	line-height: 18px;
}

.vsr-card__brand--us {
	background: var(--vsr-blue);
	color: #fff;
}

.vsr-card__brand--them {
	background: #eef0f4;
	color: var(--vsr-text);
}

.vsr-card__brand .vsr-mark {
	width: 12px;
	height: 17px;
}

.vsr-card__vs {
	font-size: 14px;
	font-weight: 600;
	color: var(--vsr-muted);
}

.vsr-card__rows {
	margin: 0;
}

.vsr-card__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 10px;
	padding: 12px 0 0;
}

.vsr-card__row dt {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 16px;
	text-transform: uppercase;
	color: var(--vsr-muted);
}

.vsr-card__cell {
	margin: 0;
	padding: 9px 11px;
	border-radius: 10px;
	font-size: 17px;
	line-height: 21px;
}

.vsr-card__cell--us {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	background: var(--vsr-tint);
	font-weight: 700;
	color: var(--vsr-ink);
}

.vsr-card__cell--them {
	background: #f6f7f9;
	color: var(--vsr-text);
}

.vsr-card__cell--them small {
	display: block;
	margin-top: 3px;
	font-size: 12px;
	line-height: 15px;
	color: var(--vsr-muted);
}

.vsr-card__foot {
	margin: 14px 0 0;
	font-size: 15px;
	line-height: 20px;
}

.vsr-card__foot a {
	color: var(--vsr-blue-ink);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vsr-card__foot a::after {
	content: " \2193";
}

.vsr-card__foot a:focus-visible,
.vsr-table a:focus-visible,
.vsr-gnote a:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px #ffd600;
	border-radius: 3px;
}

/* A check in a green disc (the card and the table) */
.vsr-tick {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--vsr-green);
}

.vsr-tick svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: #fff;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ------------------------------------------------------------- the table */

.template-landing-vsr .vsr-compare .text_wrapper h2 {
	margin-top: 96px;
}

.template-landing-vsr .content .vsr-compare .text_wrapper .vsr-answer {
	max-width: 780px;
	margin-top: 18px;
	text-align: left;
	font-size: 20px;
	line-height: 30px;
	color: var(--vsr-text);
}

.vsr-table-wrap {
	max-width: 920px;
	margin: 32px auto 0;
	padding: 0 16px;
	box-sizing: border-box;
}

.vsr-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
	font-size: 17px;
	line-height: 25px;
	color: #292929;
	background: #fff;
	border: 1px solid #d9d6d2;
	border-radius: 12px;
	overflow: hidden;
}

.vsr-table caption {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.vsr-table th,
.vsr-table td {
	padding: 16px 18px;
	text-align: left;
	vertical-align: top;
	border-top: 1px solid #d9d6d2;
}

.vsr-table thead th,
.vsr-table thead td {
	border-top: 0;
	font-size: 18px;
	font-weight: 700;
	color: #000;
	background: #f7f6f6;
}

.vsr-table thead th.vsr-us {
	background: var(--vsr-blue);
	color: #fff;
}

.vsr-table thead th .vsr-mark {
	width: 12px;
	height: 17px;
	margin-right: 7px;
	vertical-align: -2px;
}

.vsr-table tbody th {
	font-weight: 700;
	color: #000;
}

.vsr-table .vsr-col-label {
	width: 30%;
}

.vsr-table td.vsr-us {
	background: var(--vsr-tint);
	color: #000;
	font-weight: 700;
}

.vsr-table td.vsr-us {
	position: relative;
	padding-left: 46px;
}

.vsr-table td.vsr-us .vsr-tick {
	position: absolute;
	left: 16px;
	top: 18px;
}

.vsr-table td.vsr-us a {
	font-weight: 400;
}

.vsr-table a {
	color: var(--vsr-blue-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.vsr-table .vsr-src {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	line-height: 20px;
	color: var(--vsr-muted);
}

.vsr-fine {
	margin: 14px 0 0;
	font-size: 14px;
	line-height: 20px;
	color: var(--vsr-muted);
}

/* ------------------------------------------------------- the guarantee */

.vsr-gsteps {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	max-width: 1000px;
	margin: 36px auto 0;
	padding: 0 16px;
	box-sizing: border-box;
	counter-reset: vsrg;
}

.vsr-gsteps li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 20px 20px;
	background: var(--vsr-panel);
	border: 1px solid var(--vsr-line);
	border-radius: 16px;
	text-align: left;
}

.vsr-gsteps li:last-child {
	background: #ecf8f0;
	border-color: #bfe5cb;
}

.vsr-gsteps__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 6px;
	border-radius: 50%;
	background: var(--vsr-blue);
	color: #fff;
}

.vsr-gsteps li:last-child .vsr-gsteps__icon {
	background: var(--vsr-green);
}

.vsr-gsteps__icon .lp_icon {
	width: 24px;
	height: 24px;
}

.vsr-gsteps strong {
	font-size: 20px;
	line-height: 25px;
	color: var(--vsr-ink);
}

.vsr-gsteps li > span:last-child {
	font-size: 16px;
	line-height: 23px;
	color: var(--vsr-text);
}

.vsr-gsteps li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 44px;
	right: -14px;
	width: 12px;
	height: 12px;
	border-top: 2px solid #9aa6bd;
	border-right: 2px solid #9aa6bd;
	transform: rotate(45deg);
	z-index: 1;
}

.vsr-gnote {
	max-width: 760px;
	margin: 22px auto 0;
	padding: 0 16px;
	text-align: center;
	font-size: 17px;
	line-height: 25px;
	color: var(--vsr-text);
}

.vsr-gnote__them {
	display: block;
	margin-bottom: 8px;
}

.vsr-gnote a {
	color: var(--vsr-blue-ink);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ------------------------------------------------------- YouTube Studio */

.vsr-studio__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
	max-width: 1100px;
	margin: 112px auto 0;
	padding: 0 24px;
	box-sizing: border-box;
}

.vsr-studio__copy h2 {
	margin: 0;
	font-size: 46px;
	line-height: 1.05;
	letter-spacing: -0.9px;
	color: #000;
}

.vsr-studio__copy h2 span {
	color: var(--vsr-blue);
}

.vsr-studio__answer {
	margin: 16px 0 0;
	font-size: 20px;
	line-height: 30px;
	color: var(--vsr-text);
}

.vsr-studio__list {
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.vsr-studio__list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 17px;
	line-height: 24px;
	color: var(--vsr-text);
}

.vsr-studio__list .lp_icon {
	flex: none;
	width: 24px;
	height: 24px;
	color: var(--vsr-blue);
}

.vsr-studio__list strong {
	color: var(--vsr-ink);
}

.vsr-frame {
	margin: 0;
	background: #fff;
	border: 1px solid var(--vsr-line);
	border-radius: 16px;
	box-shadow: 0 18px 48px rgba(11, 18, 32, 0.12);
	overflow: hidden;
}

.vsr-frame__bar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	background: #282828;
}

.vsr-frame__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #5a5a5a;
}

.vsr-frame__app {
	margin-left: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
}

.vsr-frame__body {
	padding: 18px 20px 6px;
}

.vsr-frame__title {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
	color: var(--vsr-ink);
}

.vsr-frame__rows {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.vsr-frame__rows li {
	display: grid;
	grid-template-columns: 158px 1fr;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	line-height: 20px;
	color: var(--vsr-text);
}

.vsr-frame__track {
	position: relative;
	height: 10px;
	border-radius: 5px;
	background: #eef0f4;
	overflow: hidden;
}

.vsr-frame__fill {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	border-radius: 5px;
	background: #c9cfdb;
	width: var(--w, 20%);
}

.vsr-frame__rows li:nth-child(1) { --w: 64%; }
.vsr-frame__rows li:nth-child(2) { --w: 38%; }
.vsr-frame__rows li:nth-child(3) { --w: 27%; }
.vsr-frame__rows li:nth-child(4) { --w: 18%; }
.vsr-frame__rows li:nth-child(5) { --w: 9%; }

.vsr-frame__rows li.is-ad {
	font-weight: 700;
	color: var(--vsr-blue-ink);
}

.vsr-frame__rows li.is-ad .vsr-frame__fill {
	background: var(--vsr-blue);
}

.vsr-frame__pill {
	display: inline-block;
	margin: 14px 0 12px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--vsr-tint);
	color: var(--vsr-blue-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
}

.vsr-frame__pill::before {
	content: "\2191  ";
}

.vsr-frame figcaption {
	padding: 10px 20px 14px;
	border-top: 1px solid var(--vsr-line);
	font-size: 13px;
	line-height: 18px;
	color: var(--vsr-muted);
}

/* ------------------------------------------------------- explainer video */

.vsr-video__frame {
	position: relative;
	max-width: 880px;
	margin: 32px auto 0;
	aspect-ratio: 16 / 9;
	border-radius: 14px;
	overflow: hidden;
	background: #0b0b0b;
	box-shadow: 0 18px 48px rgba(11, 18, 32, 0.18);
}

.vsr-video__frame video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vsr-video__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.12);
	cursor: pointer;
}

.vsr-video__play.is-hidden {
	display: none;
}

.vsr-video__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	padding-left: 6px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
	box-sizing: border-box;
	transition: transform 0.15s;
}

.vsr-video__play:hover .vsr-video__btn,
.vsr-video__play:focus-visible .vsr-video__btn {
	transform: scale(1.06);
}

.vsr-video__play:focus-visible {
	outline: 3px solid #ffd600;
	outline-offset: -3px;
}

.vsr-video__dur {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 4px 8px;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.78);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}

/* ------------------------------------------------------------- reviews */

.vsr-reviews .vsr-rs {
	max-width: 1100px;
	margin: 32px auto 0;
	padding: 0 24px;
	box-sizing: border-box;
}

.vsr-reviews .rs-say {
	text-align: left;
}

@media screen and (min-width: 980px) {
	.vsr-reviews .rs-says__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ------------------------------------------------------------- crosslinks */

.vsr-crosslinks a {
	justify-content: flex-start;
	gap: 0;
}

.vsr-crosslinks a .xl-verb {
	flex: none;
	white-space: nowrap;
	margin-right: 0.3em;
	font-weight: 400;
	color: #64748b;
}

.vsr-crosslinks a::after {
	margin-left: auto;
	padding-left: 10px;
}

.vsr-vary {
	margin: 16px auto 0;
	text-align: center;
	font-size: 14px;
	color: var(--vsr-muted);
}

/* ------------------------------------------------------------- motion */

.vsr-card__row,
.vsr-gsteps li,
.vsr-frame__fill {
	transition: opacity 0.45s ease, transform 0.45s ease, width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: calc(var(--i, 0) * 140ms + 120ms);
}

.vsr-tick {
	transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
	transition-delay: calc(var(--i, 0) * 140ms + 420ms);
}

html.vsr-motion .vsr-card:not(.is-in) .vsr-card__row,
html.vsr-motion .vsr-gsteps:not(.is-in) li {
	opacity: 0;
	transform: translateY(12px);
}

html.vsr-motion .vsr-card:not(.is-in) .vsr-tick {
	transform: scale(0);
}

html.vsr-motion .vsr-frame:not(.is-in) .vsr-frame__fill {
	width: 0;
}

@media (prefers-reduced-motion: reduce) {
	.vsr-card__row,
	.vsr-gsteps li,
	.vsr-frame__fill,
	.vsr-tick {
		transition: none;
	}
}

/* ------------------------------------------------------------- phones */

@media (max-width: 980px) {
	.vsr-studio__grid {
		grid-template-columns: 1fr;
		gap: 28px;
		margin-top: 88px;
	}
}

@media (max-width: 767px) {
	/* The basic header sits at 40 px on these pages, so its label ends at 105 px: start the headline clear of it. */
	.template-landing-vsr .hero-section .inner {
		padding-top: 128px;
	}

	.template-landing-vsr .vsr-eyebrow {
		margin-bottom: 12px;
		font-size: 15px;
		padding: 5px 12px 5px 9px;
	}

	.vsr-card {
		max-width: none;
		margin: 0;
		padding: 14px 14px 12px;
		border-radius: 16px;
	}

	.vsr-card__head {
		margin-bottom: 0;
	}

	.vsr-card__brand {
		padding: 5px 10px;
		font-size: 14px;
	}

	.vsr-card__row {
		padding-top: 9px;
		gap: 5px 8px;
	}

	.vsr-card__row dt {
		font-size: 11px;
		line-height: 14px;
	}

	.vsr-card__cell {
		padding: 7px 9px;
		font-size: 15px;
		line-height: 19px;
	}

	.vsr-card__cell--them small {
		font-size: 11px;
		line-height: 13px;
	}

	.vsr-tick {
		width: 18px;
		height: 18px;
		margin-top: 0;
	}

	.vsr-tick svg {
		width: 12px;
		height: 12px;
	}

	.vsr-card__foot {
		margin-top: 10px;
		font-size: 14px;
	}

	.template-landing-vsr .vsr-compare .text_wrapper h2 {
		margin-top: 64px;
	}

	.template-landing-vsr .vsr-compare .text_wrapper {
		padding: 0 16px;
	}

	.template-landing-vsr .content .vsr-compare .text_wrapper .vsr-answer {
		font-size: 18px;
		line-height: 27px;
	}

	.vsr-table-wrap {
		margin-top: 24px;
	}

	.vsr-table {
		font-size: 15px;
		line-height: 21px;
	}

	.vsr-table th,
	.vsr-table td {
		padding: 12px 10px;
	}

	.vsr-table thead th,
	.vsr-table thead td {
		font-size: 15px;
	}

	.vsr-table .vsr-col-label {
		width: 27%;
	}

	.vsr-table td.vsr-us {
		padding-left: 10px;
	}

	.vsr-table td.vsr-us .vsr-tick {
		position: static;
		display: flex;
		margin-bottom: 6px;
	}

	.vsr-table .vsr-src {
		font-size: 13px;
		line-height: 18px;
	}

	.vsr-gsteps {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-top: 24px;
	}

	.vsr-gsteps li {
		display: grid;
		grid-template-columns: 46px 1fr;
		column-gap: 14px;
		row-gap: 2px;
		padding: 16px;
	}

	.vsr-gsteps__icon {
		grid-row: span 2;
		margin: 0;
	}

	.vsr-gsteps strong {
		font-size: 18px;
		line-height: 23px;
	}

	.vsr-gsteps li > span:last-child {
		font-size: 15px;
		line-height: 21px;
	}

	.vsr-gsteps li:not(:last-child)::after {
		top: auto;
		bottom: -12px;
		right: auto;
		left: 38px;
		transform: rotate(135deg);
	}

	.vsr-studio__grid {
		margin-top: 72px;
		padding: 0 16px;
	}

	.vsr-studio__copy h2 {
		font-size: 36px;
	}

	.vsr-studio__answer {
		font-size: 18px;
		line-height: 27px;
	}

	.vsr-frame__rows li {
		grid-template-columns: 132px 1fr;
		font-size: 14px;
	}

	.vsr-video__frame {
		margin: 24px 16px 0;
		border-radius: 12px;
	}

	.vsr-video__btn {
		width: 68px;
		height: 68px;
	}

	.vsr-reviews .vsr-rs {
		padding: 0 16px;
	}

	/* The h1 beside the logo already says "<rival> Review": the pill would repeat it in the first screen. */
	.template-landing-vsr .vsr-eyebrow {
		display: none;
	}

	.template-landing-vsr .content .vsr-compare .text_wrapper,
	.template-landing-vsr .content .vsr-guarantee .text_wrapper,
	.template-landing-vsr .content .vsr-video .text_wrapper,
	.template-landing-vsr .content .vsr-reviews .text_wrapper {
		padding: 0 16px;
	}
}

/* The shared placements frames (sprizzy_landing_placements) run 5px past a 375px screen; clip them as /youtube-views/
   does (css/youtube_views.css .vw-how), so the page body never grows wider than the screen. */
.template-landing-vsr .content .section-placements {
	overflow-x: clip;
}
