/*
 * Home page styles.
 *
 * Mobile-first: base rules are for small screens, the desktop design
 * (Figma 1:111, 1440px) starts at 1024px (1280px for the header navigation
 * and footer columns). Base (mobile) values are provisional until the
 * mobile frame (1:600) is built.
 */

/* Page --------------------------------------------------------------- */

.vs-body {
	margin: 0;
	background-color: var(--vs-color-white);
}

/* Figma renders text with grayscale antialiasing; this matches it on macOS. */
.vs-site {
	position: relative;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.vs-skip-link:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.vs-skip-link:focus {
	position: absolute;
	top: var(--vs-space-2);
	left: var(--vs-space-2);
	z-index: 100;
	padding: var(--vs-space-2) var(--vs-space-4);
	border-radius: var(--vs-radius-md);
	background-color: var(--vs-color-white);
	color: var(--vs-color-text);
	font-family: var(--vs-font-sans);
	font-size: var(--vs-text-sm);
	font-weight: 600;
	line-height: var(--vs-leading-sm);
	text-decoration: none;
}

.vs-site a:focus-visible {
	outline: 2px solid var(--vs-focus-color, currentColor);
	outline-offset: 2px;
}

/* No focus ring on mouse clicks (overrides parent-theme a:focus outlines). */
.vs-site a:focus:not(:focus-visible) {
	outline: none;
}

/* Buttons ------------------------------------------------------------ */

.vs-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	margin: 0;
	padding: 12px var(--vs-space-6);
	border: 0;
	border-radius: var(--vs-radius-md);
	/* Sections whose Figma buttons use Biotif set --vs-button-font. */
	font-family: var(--vs-button-font, var(--vs-font-sans));
	font-size: var(--vs-text-md);
	font-weight: 700;
	line-height: var(--vs-leading-md);
	letter-spacing: 0;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.vs-site .vs-button:focus-visible {
	outline: 2px solid var(--vs-focus-color, var(--vs-color-primary));
	outline-offset: 2px;
}

.vs-button--sm {
	padding: var(--vs-space-2) var(--vs-space-6);
	font-size: var(--vs-text-sm);
	line-height: var(--vs-leading-sm-tight);
}

.vs-button--primary,
.vs-button--primary:visited,
.vs-button--primary:focus {
	background-color: var(--vs-color-primary);
	color: var(--vs-color-white);
}

.vs-button--primary:hover {
	background-color: color-mix(in srgb, var(--vs-color-primary) 85%, #000);
	color: var(--vs-color-white);
}

/* 1px border drawn inside the 44px height, like the Figma stroke. */
.vs-button--outline-light,
.vs-button--outline-light:visited,
.vs-button--outline-light:focus {
	padding: 11px 23px;
	border: 1px solid var(--vs-color-white);
	background-color: transparent;
	color: var(--vs-color-white);
}

.vs-button--outline-light:hover {
	background-color: rgb(255 255 255 / 0.12);
	color: var(--vs-color-white);
}

.vs-button--outline,
.vs-button--outline:visited,
.vs-button--outline:focus {
	padding: 11px 23px;
	border: 1px solid var(--vs-color-primary);
	background-color: transparent;
	color: var(--vs-color-primary);
}

.vs-button--outline:hover {
	background-color: var(--vs-color-tint);
	color: var(--vs-color-primary);
}

/* Layout helpers ------------------------------------------------------ */

.vs-container {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--vs-container) + 2 * var(--vs-gutter));
	margin-inline: auto;
	padding-inline: var(--vs-gutter);
}

/* Section headings (Figma: Newsreader 40/52). Color and tracking vary per section. */
.vs-heading {
	clear: none;
	margin: 0;
	padding: 0;
	font-family: var(--vs-font-serif);
	font-size: 32px;
	font-weight: 400;
	line-height: 40px;
	letter-spacing: 0;
	color: var(--vs-color-black);
	overflow-wrap: break-word;
}

.vs-heading em {
	font-style: italic;
	font-weight: inherit;
}

/* Vertical rhythm: Figma leaves 120px between most sections. */
.vs-choose,
.vs-steps,
.vs-report,
.vs-products,
.vs-faq {
	margin-top: var(--vs-section-gap);
}

.vs-home {
	padding-bottom: var(--vs-section-gap);
}

@media (min-width: 1024px) {
	.vs-heading {
		font-size: var(--vs-text-h2);
		line-height: var(--vs-leading-h2);
	}
}

/* Header (Figma 1:521) ----------------------------------------------- */

.vs-header {
	--vs-focus-color: var(--vs-color-white);

	position: relative;
	z-index: 10;
	filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.08));
}

.vs-header--overlay {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
}

.vs-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--vs-container) + 2 * var(--vs-gutter));
	margin-inline: auto;
	padding: var(--vs-space-6) var(--vs-gutter);
}

.vs-header__logo {
	display: block;
	flex: none;
	line-height: 0;
}

.vs-header__logo img,
.vs-footer__logo img {
	display: block;
	width: 140px;
	max-width: none;
	height: 26px;
	margin: 0;
	border-radius: 0;
}

/* Hidden below 1280px until the mobile navigation (frame 1:600) is built. */
.vs-header__nav {
	display: none;
}

.vs-header__menu {
	display: flex;
	align-items: center;
	gap: var(--vs-space-10);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-header__menu-item {
	margin: 0;
	padding: 0;
}

.vs-header__menu-link {
	display: flex;
	align-items: center;
	gap: 2px;
	font-family: var(--vs-font-ui);
	font-size: var(--vs-text-sm);
	font-weight: 600;
	line-height: var(--vs-leading-sm);
	letter-spacing: 0;
	text-decoration: none;
	white-space: nowrap;
}

.vs-header__menu-link,
.vs-header__menu-link:is(:visited, :hover, :focus) {
	color: var(--vs-color-white);
}

.vs-header__chevron {
	display: block;
	flex: none;
	width: 16px;
	max-width: none;
	height: 16px;
	margin: 0;
	border-radius: 0;
	transform: scaleY(-1);
}

.vs-header__actions {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: flex-end;
	gap: var(--vs-space-4);
	width: 140px;
}

.vs-header__action {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	gap: var(--vs-space-1);
	box-sizing: border-box;
	border-radius: var(--vs-radius-md);
	background-color: var(--vs-color-surface);
	font-family: var(--vs-font-ui);
	font-size: var(--vs-text-sm);
	font-weight: 500;
	line-height: var(--vs-leading-sm);
	letter-spacing: 0;
	text-decoration: none;
	white-space: nowrap;
}

.vs-header__action,
.vs-header__action:is(:visited, :hover, :focus) {
	color: var(--vs-color-text);
}

.vs-header__action--search {
	height: 34px;
	padding: 6px 10px 6px var(--vs-space-2);
}

.vs-header__action--cart {
	padding: 6px;
}

.vs-header__action-icon {
	display: block;
	flex: none;
	width: 20px;
	max-width: none;
	height: 20px;
	margin: 0;
	border-radius: 0;
}

@media (min-width: 1280px) {
	.vs-header__nav {
		display: block;
	}
}

/* Hero (Figma 1:112) ------------------------------------------------- */

.vs-hero {
	--vs-focus-color: var(--vs-color-white);

	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	box-sizing: border-box;
	min-height: 560px;
	/* The overlaid header sits on top, so content never starts under it. */
	padding-top: calc(var(--vs-header-height) + var(--vs-space-10));
	padding-bottom: var(--vs-space-10);
	overflow: hidden;
	background-color: #6f675a; /* Shown until the image loads. */
	color: var(--vs-color-white);
}

.vs-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
}

.vs-hero__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--vs-container) + 2 * var(--vs-gutter));
	margin-inline: auto;
	padding-inline: var(--vs-gutter);
}

.vs-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--vs-space-10);
}

.vs-hero__text {
	display: flex;
	flex-direction: column;
	gap: var(--vs-space-6);
	width: 100%;
	max-width: 895px;
}

.vs-hero__title {
	margin: 0;
	padding: 0;
	font-family: var(--vs-font-serif);
	font-size: 40px;
	font-weight: 400;
	line-height: 44px;
	letter-spacing: -1px;
	color: inherit;
	overflow-wrap: break-word;
}

.vs-hero__lead {
	max-width: 752px;
	margin: 0;
	padding: 0;
	font-family: var(--vs-font-sans);
	font-size: var(--vs-text-md);
	font-weight: 400;
	line-height: 22px;
	letter-spacing: 0;
	color: inherit;
}

.vs-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vs-space-4);
}

.vs-hero__proof {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--vs-space-4) var(--vs-space-10);
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--vs-font-sans);
	font-size: var(--vs-text-md);
	font-weight: 400;
	line-height: var(--vs-leading-lg-tight);
}

.vs-hero__proof-item {
	display: flex;
	flex: none;
	align-items: center;
	gap: var(--vs-space-2);
	max-width: 100%;
	margin: 0;
	padding: 0;
}

.vs-hero__proof-item strong {
	font-weight: 700;
}

.vs-hero__proof-icon {
	flex: none;
	display: block;
	width: 30px;
	max-width: none;
	height: 30px;
	margin: 0;
	border-radius: 0;
}

@media (min-width: 1024px) {
	.vs-hero {
		min-height: 700px;
		padding-bottom: var(--vs-space-20);
	}

	.vs-hero__title {
		font-size: var(--vs-text-display);
		line-height: var(--vs-leading-display);
		letter-spacing: var(--vs-tracking-display);
	}

	.vs-hero__lead {
		font-size: var(--vs-text-lg);
		line-height: var(--vs-leading-lg);
	}

	.vs-hero__proof {
		font-size: var(--vs-text-lg);
	}

	/* Figma gives this item a fixed 208px width, which sets where the next item starts. */
	.vs-hero__proof-item--analyses {
		min-width: 208px;
	}
}

/* USP bar (Figma 1:571) ---------------------------------------------- */

.vs-usp {
	background-color: var(--vs-color-grey);
	color: var(--vs-color-white);
}

.vs-usp__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--vs-space-4) var(--vs-space-8);
	box-sizing: border-box;
	max-width: calc(var(--vs-container) + 2 * var(--vs-gutter));
	margin: 0 auto;
	padding: var(--vs-space-4) var(--vs-gutter);
	list-style: none;
}

.vs-usp__item {
	display: flex;
	align-items: center;
	gap: var(--vs-space-4);
	margin: 0;
	padding: 0;
	font-family: var(--vs-font-sans);
	font-size: var(--vs-text-md);
	font-weight: 500;
	line-height: 22px;
	white-space: nowrap;
}

.vs-usp__icon {
	display: block;
	flex: none;
	width: 28px;
	max-width: none;
	height: 28px;
	margin: 0;
	border-radius: 0;
}

@media (min-width: 1280px) {
	.vs-usp__list {
		flex-wrap: nowrap;
		gap: var(--vs-space-20);
	}
}

/* Topics + test finder (Figma 1:132) --------------------------------- */

.vs-choose {
	--vs-button-font: var(--vs-font-ui);
}

.vs-choose__title {
	letter-spacing: 0.5px;
	color: var(--vs-color-grey);
}

.vs-choose__body {
	display: flex;
	flex-direction: column;
	gap: var(--vs-space-4);
	margin-top: var(--vs-space-4);
}

.vs-choose__topics {
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	align-items: center;
	gap: 10px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-choose__topics li {
	margin: 0;
	padding: 0;
}

.vs-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: var(--vs-space-2) var(--vs-space-4);
	border: 1px solid var(--vs-color-background);
	border-radius: 50px;
	background-color: var(--vs-color-chip);
	font-family: var(--vs-font-sans);
	font-size: var(--vs-text-md);
	font-weight: 500;
	line-height: var(--vs-leading-md);
	letter-spacing: 0;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.15s ease;
}

.vs-chip,
.vs-chip:is(:visited, :hover, :focus) {
	color: var(--vs-color-primary);
}

.vs-chip:hover,
.vs-chip.is-active {
	border-color: var(--vs-color-primary);
}

.vs-choose__finder {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--vs-space-6);
	box-sizing: border-box;
	padding: var(--vs-space-6);
	border-radius: var(--vs-radius-lg);
	background-color: var(--vs-color-tint);
}

.vs-choose__finder-text {
	display: flex;
	flex-direction: column;
	gap: var(--vs-space-4);
	color: var(--vs-color-black);
}

.vs-choose__finder-title {
	clear: none;
	margin: 0;
	padding: 0;
	font-family: var(--vs-font-serif);
	font-size: 28px;
	font-weight: 500;
	line-height: 34px;
	letter-spacing: 0.5px;
	color: inherit;
}

.vs-choose__finder-lead {
	margin: 0;
	padding: 0;
	font-family: var(--vs-font-sans);
	font-size: var(--vs-text-md);
	font-weight: 400;
	line-height: 22px;
}

@media (min-width: 1280px) {
	.vs-choose__body {
		flex-direction: row;
		align-items: flex-start;
	}

	.vs-choose__topics {
		flex: 1 1 0;
		min-width: 1px;
	}

	/* Figma sizes the card to its 620px text. */
	.vs-choose__finder {
		flex: none;
		width: 668px;
	}
}

/* Steps (Figma 1:161) ------------------------------------------------- */

.vs-steps {
	--vs-button-font: var(--vs-font-ui);

	background-color: var(--vs-color-background);
}

.vs-steps__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--vs-space-10);
	padding-block: var(--vs-section-gap);
}

.vs-steps__title {
	letter-spacing: 0.5px;
	color: var(--vs-color-grey);
	text-align: center;
}

.vs-steps__list {
	display: grid;
	gap: var(--vs-space-4);
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-steps__item {
	position: relative;
	margin: 0;
	padding: 0;
}

/* The arrows sit in the gap between cards and only fit the desktop row. */
.vs-steps__arrow {
	display: none;
}

.vs-step {
	display: flex;
	flex-direction: column;
	gap: var(--vs-space-6);
	box-sizing: border-box;
	height: 100%;
	padding: var(--vs-space-6);
	border-radius: var(--vs-radius-lg);
	background-color: var(--vs-color-white);
	box-shadow: var(--vs-shadow-card);
}

.vs-step__head {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.vs-step__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 6px;
	background-color: var(--vs-color-tint-strong);
}

.vs-step__icon img {
	display: block;
	width: 28px;
	max-width: none;
	height: 28px;
	margin: 0;
	border-radius: 0;
}

.vs-step__number {
	position: absolute;
	top: -24px;
	/* The Geist web font spaces these heavy digits ~5px wider than the Figma file's Geist Black. */
	right: -5px;
	font-family: var(--vs-font-sans);
	font-size: 127.111px;
	font-weight: 900;
	line-height: normal;
	color: #f4f4f4;
	pointer-events: none;
}

.vs-step__text {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--vs-space-4);
}

.vs-step__title {
	clear: none;
	margin: 0;
	padding: 0;
	font-family: var(--vs-font-sans);
	font-size: var(--vs-text-lg);
	font-weight: 600;
	line-height: 28px;
	letter-spacing: 0;
	color: var(--vs-color-grey);
}

.vs-step__description {
	margin: 0;
	padding: 0;
	font-family: var(--vs-font-sans);
	font-size: var(--vs-text-sm);
	font-weight: 400;
	line-height: 20px;
	color: var(--vs-color-grey-2);
}

.vs-steps__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--vs-space-4);
}

@media (min-width: 1024px) {
	.vs-steps__inner {
		padding-block: var(--vs-space-20);
	}

	/* 16px + 40px arrow + 16px between cards, as in Figma. */
	.vs-steps__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 72px;
	}

	.vs-steps__arrow {
		position: absolute;
		top: 0;
		left: -56px;
		display: block;
		width: 40px;
		max-width: none;
		height: 208px;
		margin: 0;
		border-radius: 0;
	}
}

/* Sample report (Figma 1:208) ---------------------------------------- */

.vs-report {
	display: flex;
	flex-direction: column;
	gap: var(--vs-space-10);
}

.vs-report__intro {
	display: flex;
	flex-direction: column;
	gap: var(--vs-space-4);
	max-width: 632px;
}

.vs-report__title {
	max-width: 512px;
	color: var(--vs-color-ink);
}

.vs-report__lead {
	margin: 0;
	padding: 0;
	font-family: var(--vs-font-sans);
	font-size: var(--vs-text-lg);
	font-weight: 400;
	line-height: 28px;
	color: var(--vs-color-black);
}

.vs-report__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	max-width: 585px;
	border-radius: var(--vs-radius-lg);
	background-color: #ececec;
	box-shadow: 0 0 3px 0 rgb(0 0 0 / 0.1), 0 0 2px -1px rgb(0 0 0 / 0.1);
	font-family: var(--vs-font-sans);
}

.vs-report__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--vs-space-4);
	box-sizing: border-box;
	min-height: 52px;
	padding: var(--vs-space-4) var(--vs-space-6);
	background-color: #fcfcfc;
	font-size: 13px;
	line-height: 19.5px;
}

.vs-report__name {
	font-weight: 600;
	letter-spacing: 0.65px;
	text-transform: uppercase;
	color: #2a2a2a;
}

.vs-report__date {
	font-family: var(--vs-font-inter);
	font-weight: 400;
	color: #888;
	white-space: nowrap;
}

.vs-report__body {
	padding: 0 var(--vs-space-6);
	background-color: var(--vs-color-white);
}

.vs-report__rows {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-report__row {
	margin: 0;
	padding: 20px 0;
	border-bottom: 1px solid var(--vs-color-divider);
}

.vs-report__row-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--vs-space-4);
	font-size: 15px;
	line-height: 22.5px;
}

.vs-report__marker-name {
	color: #3a3a3a;
}

.vs-report__result {
	display: flex;
	flex: none;
	align-items: center;
	gap: 10px;
}

.vs-report__value {
	color: #5a5a5a;
	white-space: nowrap;
}

.vs-report__value strong {
	font-weight: 600;
	color: var(--vs-color-ink);
}

.vs-badge {
	padding: var(--vs-space-1) 10px;
	border-radius: var(--vs-radius-pill);
	font-size: 12px;
	font-weight: 500;
	line-height: 16px;
	white-space: nowrap;
}

.vs-badge--normal {
	background-color: #ede9e0;
	color: #6b6150;
}

.vs-badge--low {
	background-color: #fbf0c0;
	color: #8b6a00;
}

.vs-badge--high {
	background-color: #fad9a0;
	color: #8b4a00;
}

.vs-range {
	position: relative;
	display: flex;
	height: 12px;
	margin-top: 10px;
}

.vs-range__segment {
	flex: none;
	height: 100%;
}

.vs-range__segment--low,
.vs-range__segment--high {
	background-color: #e8c49a;
}

.vs-range__segment--normal {
	background-color: #7ec8a0;
}

.vs-range__segment:first-child {
	border-radius: var(--vs-radius-pill) 0 0 var(--vs-radius-pill);
}

/* The last segment fills the rest of the bar unless Figma gives it a width. */
.vs-range__segment--high {
	flex: 1 1 0;
	border-radius: 0 var(--vs-radius-pill) var(--vs-radius-pill) 0;
}

.vs-range__segment--high[style] {
	flex: none;
}

.vs-range__marker {
	position: absolute;
	top: -4px;
	display: block;
	width: 2px;
	max-width: none;
	height: 20px;
	margin: 0;
	border-radius: 0;
}

.vs-report__scale {
	display: flex;
	justify-content: space-between;
	box-sizing: border-box;
	height: 20px;
	padding-top: var(--vs-space-1);
	font-size: 11px;
	line-height: 16.5px;
	color: #9a9a9a;
}

/* Figma: the last row's scale is 1px taller. */
.vs-report__row:last-child .vs-report__scale {
	height: 21px;
}

.vs-report__portal {
	display: flex;
	width: fit-content;
	align-items: center;
	gap: var(--vs-space-2);
	padding: 20px 0;
	font-size: 13px;
	line-height: 19.5px;
	text-decoration: none;
}

.vs-report__portal,
.vs-report__portal:is(:visited, :hover, :focus) {
	color: #4a8fa8;
}

.vs-report__portal:hover span {
	text-decoration: underline;
}

.vs-report__portal img,
.vs-report__download img {
	display: block;
	flex: none;
	max-width: none;
	margin: 0;
	border-radius: 0;
}

.vs-report__portal img {
	width: 14px;
	height: 14px;
}

.vs-report__download {
	--vs-focus-color: var(--vs-color-white);

	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-sizing: border-box;
	min-height: 64px;
	padding: 20px var(--vs-space-6);
	background-color: var(--vs-color-primary);
	font-size: 15px;
	font-weight: 600;
	line-height: 22.5px;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.vs-report__download,
.vs-report__download:is(:visited, :hover, :focus) {
	color: var(--vs-color-white);
}

.vs-report__download:hover {
	background-color: color-mix(in srgb, var(--vs-color-primary) 85%, #000);
}

.vs-report__download img {
	width: 23px;
	height: 23px;
}

.vs-report .vs-report__download:focus-visible {
	outline-offset: -4px;
}

@media (min-width: 1280px) {
	.vs-report {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.vs-report__intro {
		width: 632px;
	}

	.vs-report__card {
		flex: none;
		width: 585px;
		height: 498px;
	}
}

/* Best-selling tests (Figma 1:301) ----------------------------------- */

.vs-products {
	--vs-button-font: var(--vs-font-ui);

	background-color: var(--vs-color-background);
}

.vs-products__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--vs-space-10);
	padding-block: var(--vs-section-gap);
}

.vs-products__title,
.vs-reviews__title {
	letter-spacing: -1px;
	text-align: center;
}

.vs-products__list,
.vs-reviews__list {
	display: grid;
	gap: var(--vs-space-4);
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-product {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	border-radius: var(--vs-radius-md);
	box-shadow: 0 0 34px rgb(0 0 0 / 0.05);
}

.vs-product__image {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	margin: 0;
	aspect-ratio: 416 / 309;
	border-radius: var(--vs-radius-md) var(--vs-radius-md) 0 0;
	object-fit: cover;
}

.vs-product__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: var(--vs-space-4);
	padding: var(--vs-space-6);
	border-radius: 0 0 var(--vs-radius-md) var(--vs-radius-md);
	background-color: var(--vs-color-white);
	font-family: var(--vs-font-sans);
	color: var(--vs-color-grey);
}

.vs-product__title {
	clear: none;
	margin: 0;
	padding: 0;
	font-family: var(--vs-font-sans);
	font-size: 20px;
	font-weight: 600;
	line-height: 24px;
	letter-spacing: 0;
	color: var(--vs-color-grey);
}

.vs-product__details {
	display: flex;
	flex-direction: column;
	gap: var(--vs-space-6);
}

.vs-product__markers {
	margin: 0;
	padding: 0;
	font-size: var(--vs-text-sm);
	font-weight: 400;
	line-height: 18px;
}

.vs-product__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--vs-space-4);
}

.vs-product__price {
	font-family: var(--vs-font-ui);
	font-size: 20px;
	font-weight: 700;
	line-height: 24px;
	color: var(--vs-color-black);
	white-space: nowrap;
}

.vs-product__cart {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	gap: var(--vs-space-2);
	padding: var(--vs-space-2) 10px;
	border-radius: var(--vs-radius-md);
	background-color: var(--vs-color-tint-button);
	font-family: var(--vs-font-ui);
	font-size: var(--vs-text-sm);
	font-weight: 400;
	line-height: 18px;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease;
}

.vs-product__cart,
.vs-product__cart:is(:visited, :hover, :focus) {
	color: var(--vs-color-primary);
}

.vs-product__cart:hover {
	background-color: var(--vs-color-tint-strong);
}

.vs-product__cart img {
	display: block;
	flex: none;
	width: 18px;
	max-width: none;
	height: 18px;
	margin: 0;
	border-radius: 0;
}

@media (min-width: 1024px) {
	.vs-products__inner {
		padding-block: var(--vs-space-30);
	}

	.vs-products__list,
	.vs-reviews__list {
		grid-template-columns: repeat(3, minmax(0, 416px));
		justify-content: center;
	}
}

/* Reviews (Figma 1:347) ----------------------------------------------- */

.vs-reviews {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--vs-space-10);
	padding-top: var(--vs-section-gap);
}

.vs-review {
	display: flex;
	flex-direction: column;
	gap: var(--vs-space-6);
	margin: 0;
	padding: var(--vs-space-6);
	border-radius: var(--vs-radius-lg);
	background-color: var(--vs-color-white);
	box-shadow: 0 10px 30px rgb(30 27 75 / 0.04);
	font-family: var(--vs-font-sans);
}

.vs-review__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--vs-space-4);
}

.vs-review__stars {
	display: block;
	flex: none;
	width: 93px;
	max-width: none;
	height: 16px;
	margin: 0;
	border-radius: 0;
}

.vs-review__verified {
	font-size: var(--vs-text-sm);
	line-height: 24px;
	color: var(--vs-color-muted);
	white-space: nowrap;
}

.vs-review__content {
	display: flex;
	flex-direction: column;
	gap: var(--vs-space-4);
}

/* Two lines at most, in a fixed 56px box as in Figma. */
.vs-review__title {
	display: -webkit-box;
	clear: none;
	overflow: hidden;
	height: 56px;
	margin: 0;
	padding: 0;
	font-family: var(--vs-font-serif);
	font-size: var(--vs-text-lg);
	font-weight: 600;
	line-height: 28px;
	letter-spacing: 0;
	color: var(--vs-color-black);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.vs-review__quote {
	margin: 0;
	padding: 0;
	font-size: var(--vs-text-md);
	font-weight: 400;
	line-height: 26px;
	color: var(--vs-color-grey);
}

.vs-review__author {
	display: flex;
	align-items: center;
	gap: var(--vs-space-4);
	min-width: 0;
	margin-top: auto;
}

.vs-review__initials {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: var(--vs-radius-lg);
	background-color: #f1f1f1;
	font-family: var(--vs-font-sora);
	font-size: 12px;
	font-weight: 800;
	line-height: normal;
	color: var(--vs-color-grey-2);
}

.vs-review__name {
	overflow: hidden;
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	color: var(--vs-color-grey-2);
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (min-width: 1024px) {
	.vs-reviews {
		padding-top: var(--vs-space-20);
	}
}

/* FAQ (Figma 1:409) --------------------------------------------------- */

.vs-faq {
	--vs-button-font: var(--vs-font-ui);

	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--vs-space-10);
}

.vs-faq__title {
	letter-spacing: 0.5px;
	text-align: center;
}

.vs-faq__list {
	width: 100%;
	max-width: 720px;
	font-family: var(--vs-font-sans);
}

/* Figma draws the divider inside each item's box, so it doesn't add height. */
.vs-faq__item {
	margin: 0;
	padding: var(--vs-space-8) var(--vs-space-4);
	box-shadow: inset 0 -1px 0 var(--vs-color-border);
}

.vs-faq__item:first-child {
	padding-top: 0;
}

.vs-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--vs-space-4);
	font-size: var(--vs-text-lg);
	font-weight: 400;
	line-height: 28px;
	color: var(--vs-color-black);
	list-style: none;
	cursor: pointer;
}

.vs-faq__question::-webkit-details-marker {
	display: none;
}

.vs-faq__question:focus-visible {
	outline: 2px solid var(--vs-color-primary);
	outline-offset: 4px;
}

.vs-faq__item--compact .vs-faq__question {
	line-height: 23px;
}

.vs-faq__icon {
	display: block;
	flex: none;
	width: 20px;
	max-width: none;
	height: 20px;
	margin: 0;
	border-radius: 0;
}

.vs-faq__item[open] .vs-faq__icon--closed,
.vs-faq__item:not([open]) .vs-faq__icon--open {
	display: none;
}

.vs-faq__answer {
	margin-top: var(--vs-space-6);
	font-size: var(--vs-text-md);
	line-height: 26px;
	color: var(--vs-color-grey);
}

.vs-faq__answer p {
	margin: 0;
	padding: 0;
}

/* Footer (Figma 1:446) ----------------------------------------------- */

.vs-footer {
	--vs-focus-color: var(--vs-color-white);

	background-color: var(--vs-color-grey);
	box-shadow: 0 -1px 7px rgb(0 0 0 / 0.1);
	color: var(--vs-color-white);
	font-family: var(--vs-font-sans);
	font-size: var(--vs-text-md);
	font-weight: 400;
	line-height: var(--vs-leading-md-loose);
	letter-spacing: var(--vs-tracking-footer);
}

.vs-footer__inner {
	display: flex;
	flex-direction: column;
	gap: var(--vs-space-6);
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--vs-container) + 2 * var(--vs-gutter));
	margin-inline: auto;
	padding: var(--vs-space-10) var(--vs-gutter);
}

.vs-footer__top {
	display: flex;
	flex-direction: column;
	gap: var(--vs-space-10);
}

.vs-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	max-width: 276px;
}

.vs-footer__logo {
	display: block;
	line-height: 0;
}

.vs-footer__tagline {
	margin: 0;
	padding: 0;
	line-height: var(--vs-leading-lg);
}

.vs-footer__social {
	display: flex;
	gap: var(--vs-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-footer__social li {
	margin: 0;
	padding: 0;
}

.vs-footer__social-link {
	display: block;
	line-height: 0;
}

.vs-footer__social-link img {
	display: block;
	width: 20px;
	max-width: none;
	height: 20px;
	margin: 0;
	border-radius: 0;
}

.vs-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vs-space-10);
}

.vs-footer__column {
	width: 184px;
}

.vs-footer__heading {
	clear: none;
	margin: 0 0 var(--vs-space-4);
	padding: 0;
	font: inherit;
	font-weight: 700;
	letter-spacing: inherit;
	color: inherit;
	text-transform: none;
}

.vs-footer__links {
	display: flex;
	flex-direction: column;
	gap: var(--vs-space-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-footer__links li {
	margin: 0;
	padding: 0;
}

.vs-footer__link,
.vs-footer__link:is(:visited, :hover, :focus) {
	color: inherit;
	text-decoration: none;
}

.vs-footer__link:hover {
	text-decoration: underline;
}

/* Figma draws the 1px line just above the divider's zero-height box. */
.vs-footer__divider {
	box-sizing: content-box;
	height: 1px;
	margin: -1px 0 0;
	padding: 0;
	border: 0;
	background-color: var(--vs-color-divider);
}

.vs-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--vs-space-2) var(--vs-space-6);
	min-height: 32px;
}

.vs-footer__copyright,
.vs-footer__legal {
	margin: 0;
	padding: 0;
}

.vs-footer__legal {
	font-weight: 600;
}

@media (min-width: 1280px) {
	.vs-footer__top {
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
	}

	.vs-footer__brand {
		width: 276px;
	}

	.vs-footer__nav {
		flex-wrap: nowrap;
		gap: 120px;
	}
}
