/* VisualBase and Genesis AI landing pages. Scoped to .vsm. Fonts are the site's own (served locally). */

.vsm {
	--vsm-navy: #0a1628;
	--vsm-navy-2: #14304f;
	--vsm-teal: #00c4b4;
	--vsm-teal-dark: #00786f;
	--vsm-gold: #d4af37;
	--vsm-ink: #102a43;
	--vsm-text: #334e68;
	--vsm-line: #d9e2ec;
	--vsm-tint: #f4f7fa;
	color: var(--vsm-text);
	font-size: 17px;
	line-height: 1.65;
}

.vsm *,
.vsm *:before,
.vsm *:after {
	box-sizing: border-box;
}

.vsm-inner {
	width: 90%;
	max-width: 1120px;
	margin: 0 auto;
}

.vsm-narrow {
	max-width: 780px;
}

.vsm h1,
.vsm h2,
.vsm h3 {
	margin: 0;
	padding: 0;
	font-family: 'Raleway', 'Open Sans', Arial, sans-serif;
	line-height: 1.2;
}

.vsm p {
	margin: 0;
	padding: 0;
}

.vsm ul,
.vsm dl,
.vsm dd {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Hero ------------------------------------------------------------------ */

.vsm-hero {
	padding: 96px 0 88px;
	background: linear-gradient(135deg, var(--vsm-navy) 0%, var(--vsm-navy-2) 60%, #1d4468 100%);
	color: #e6edf5;
}

.vsm-hero--genesis {
	background: linear-gradient(135deg, var(--vsm-navy) 0%, #12283f 55%, #0c4a52 100%);
}

.vsm-eyebrow {
	margin-bottom: 18px !important;
	color: var(--vsm-teal);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.vsm-hero h1 {
	max-width: 880px;
	color: #fff;
	font-size: 46px;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.vsm-tagline {
	margin-top: 14px !important;
	color: var(--vsm-gold);
	font-family: 'Raleway', Arial, sans-serif;
	font-size: 24px;
	font-weight: 600;
}

.vsm-lead {
	max-width: 760px;
	margin-top: 22px !important;
	color: #d0dbe7;
	font-size: 19px;
	line-height: 1.6;
}

.vsm-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px !important;
}

.vsm a.vsm-btn {
	display: inline-block;
	padding: 14px 28px;
	border: 2px solid transparent;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.vsm a.vsm-btn--primary {
	border-color: var(--vsm-teal);
	background: var(--vsm-teal);
	color: var(--vsm-navy);
}

.vsm a.vsm-btn--primary:hover,
.vsm a.vsm-btn--primary:focus {
	border-color: #fff;
	background: #fff;
	color: var(--vsm-navy);
}

.vsm a.vsm-btn--ghost {
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

.vsm a.vsm-btn--ghost:hover,
.vsm a.vsm-btn--ghost:focus {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

.vsm a.vsm-btn:focus {
	outline: 3px solid var(--vsm-gold);
	outline-offset: 3px;
}

/* Numbers --------------------------------------------------------------- */

.vsm-stats {
	border-bottom: 1px solid var(--vsm-line);
	background: #fff;
}

.vsm-stats dl {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.vsm-stats dl > div {
	padding: 30px 20px;
	border-left: 1px solid var(--vsm-line);
	text-align: center;
}

.vsm-stats dl > div:first-child {
	border-left: 0;
}

.vsm-stats dt {
	color: var(--vsm-ink);
	font-family: 'Raleway', Arial, sans-serif;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.15;
}

.vsm-stats dd {
	margin-top: 6px;
	color: #52606d;
	font-size: 14.5px;
}

/* Sections -------------------------------------------------------------- */

.vsm-section {
	padding: 76px 0;
	background: #fff;
}

.vsm-section--tint {
	background: var(--vsm-tint);
}

.vsm-section h2,
.vsm-cta h2 {
	color: var(--vsm-ink);
	font-size: 32px;
	font-weight: 800;
}

.vsm-section h2:after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin-top: 16px;
	border-radius: 2px;
	background: var(--vsm-teal);
}

.vsm-intro {
	max-width: 760px;
	margin-top: 20px !important;
	font-size: 18px;
}

.vsm-section p + p {
	margin-top: 16px;
}

.vsm-split > div > p,
.vsm-narrow > p {
	margin-top: 20px;
}

.vsm-section a {
	color: #0b5cad;
	font-weight: 600;
	text-decoration: underline;
}

.vsm-grid {
	display: grid;
	gap: 28px 32px;
	margin-top: 40px !important;
}

.vsm-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.vsm-grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

.vsm-grid h3 {
	color: var(--vsm-ink);
	font-size: 19px;
	font-weight: 700;
}

.vsm-grid > li > p {
	margin-top: 8px;
	font-size: 16px;
	line-height: 1.6;
}

.vsm-grid:not(.vsm-grid--cards) > li {
	padding-top: 18px;
	border-top: 2px solid var(--vsm-line);
}

.vsm-grid--cards > li {
	padding: 28px 26px;
	border: 1px solid var(--vsm-line);
	border-top: 4px solid var(--vsm-teal);
	border-radius: 8px;
	background: #fff;
}

.vsm-gate {
	margin-bottom: 6px !important;
	color: var(--vsm-teal-dark);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.vsm-gates h3 {
	font-size: 24px;
}

.vsm-gates dl {
	margin-top: 14px;
}

.vsm-gates dt {
	margin-top: 14px;
	color: var(--vsm-ink);
	font-weight: 700;
}

.vsm-gates dd {
	font-size: 16px;
	line-height: 1.55;
}

.vsm-split {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 56px;
	align-items: center;
}

.vsm-checks li {
	position: relative;
	padding: 14px 0 14px 34px;
	border-bottom: 1px solid var(--vsm-line);
	color: var(--vsm-ink);
	font-weight: 600;
}

.vsm-checks li:first-child {
	border-top: 1px solid var(--vsm-line);
}

.vsm-checks li:before {
	content: "";
	position: absolute;
	top: 22px;
	left: 4px;
	width: 14px;
	height: 8px;
	border-bottom: 3px solid var(--vsm-teal-dark);
	border-left: 3px solid var(--vsm-teal-dark);
	transform: rotate(-45deg);
}

.vsm-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin-top: 22px !important;
}

.vsm-note {
	margin-top: 22px !important;
	padding: 16px 20px;
	border-left: 4px solid var(--vsm-gold);
	background: #fff;
	font-size: 15.5px;
}

/* Closing call to action ------------------------------------------------ */

.vsm-cta {
	padding: 72px 0;
	background: var(--vsm-navy);
	color: #d0dbe7;
	text-align: center;
}

.vsm-cta h2 {
	color: #fff;
}

.vsm-cta p {
	max-width: 620px;
	margin: 16px auto 0;
}

.vsm-cta .vsm-actions {
	justify-content: center;
}

.vsm-contact {
	margin-top: 26px !important;
	color: #9fb3c8;
	font-size: 15px;
}

.vslc-draft--bar {
	margin: 0;
	padding: 10px 5%;
	border-left: 0;
	background: #fff7e6;
	color: #5c3c00;
	font-size: 14px;
	text-align: center;
}

/* Smaller screens ------------------------------------------------------- */

@media (max-width: 980px) {
	.vsm-grid--3,
	.vsm-grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.vsm-stats dl {
		grid-template-columns: repeat(2, 1fr);
	}

	.vsm-stats dl > div:nth-child(3) {
		border-left: 0;
	}

	.vsm-stats dl > div:nth-child(n+3) {
		border-top: 1px solid var(--vsm-line);
	}

	.vsm-split {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.vsm-hero h1 {
		font-size: 38px;
	}
}

@media (max-width: 600px) {
	.vsm {
		font-size: 16px;
	}

	.vsm-hero {
		padding: 64px 0 56px;
	}

	.vsm-hero h1 {
		font-size: 30px;
	}

	.vsm-lead {
		font-size: 17px;
	}

	.vsm-section {
		padding: 52px 0;
	}

	.vsm-section h2,
	.vsm-cta h2 {
		font-size: 26px;
	}

	.vsm-grid--3,
	.vsm-grid--4 {
		grid-template-columns: 1fr;
	}

	.vsm-stats dl {
		grid-template-columns: 1fr;
	}

	.vsm-stats dl > div {
		border-top: 1px solid var(--vsm-line);
		border-left: 0;
	}

	.vsm-stats dl > div:first-child {
		border-top: 0;
	}

	.vsm a.vsm-btn {
		width: 100%;
		text-align: center;
	}
}

/* Arabic pages (right to left) ------------------------------------------ */

.vsm[dir="rtl"] {
	font-family: 'Noto Kufi Arabic', Tahoma, Arial, sans-serif;
	text-align: right;
}

.vsm[dir="rtl"] h1,
.vsm[dir="rtl"] h2,
.vsm[dir="rtl"] h3,
.vsm[dir="rtl"] .vsm-tagline,
.vsm[dir="rtl"] .vsm-stats dt {
	font-family: 'Noto Kufi Arabic', Tahoma, Arial, sans-serif;
	letter-spacing: 0;
	line-height: 1.45;
}

.vsm[dir="rtl"] .vsm-eyebrow,
.vsm[dir="rtl"] .vsm-gate {
	letter-spacing: 0;
}

.vsm[dir="rtl"] .vsm-stats dl > div {
	border-right: 1px solid var(--vsm-line);
	border-left: 0;
}

.vsm[dir="rtl"] .vsm-stats dl > div:first-child {
	border-right: 0;
}

.vsm[dir="rtl"] .vsm-stats dt {
	direction: ltr;
	unicode-bidi: isolate;
}

.vsm[dir="rtl"] .vsm-checks li {
	padding: 14px 34px 14px 0;
}

.vsm[dir="rtl"] .vsm-checks li:before {
	right: 4px;
	left: auto;
}

.vsm[dir="rtl"] .vsm-note {
	border-right: 4px solid var(--vsm-gold);
	border-left: 0;
}

.vsm[dir="rtl"] .vsm-cta {
	text-align: center;
}

@media (max-width: 980px) {
	.vsm[dir="rtl"] .vsm-stats dl > div:nth-child(3) {
		border-right: 0;
	}
}

@media (max-width: 600px) {
	.vsm[dir="rtl"] .vsm-stats dl > div {
		border-right: 0;
	}
}
/* Marketplace cards ------------------------------------------------------ */

.vsm-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 34px !important;
}

.vsm-card {
	display: flex;
	flex-direction: column;
	padding: 24px 24px 20px;
	border: 1px solid var(--vsm-line);
	border-radius: 10px;
	background: #fff;
	transition: box-shadow 0.15s, transform 0.15s;
}

.vsm-card:hover {
	box-shadow: 0 10px 26px rgba(16, 42, 67, 0.12);
	transform: translateY(-2px);
}

.vsm-card--featured {
	border-top: 4px solid var(--vsm-teal);
}

.vsm-card__tag {
	align-self: flex-start;
	margin-bottom: 10px !important;
	padding: 2px 10px;
	border-radius: 999px;
	background: #e6f6f4;
	color: var(--vsm-teal-dark);
	font-size: 12.5px;
	font-weight: 700;
}

.vsm-card h3 {
	color: var(--vsm-ink);
	font-size: 19px;
	font-weight: 700;
}

.vsm-card > p {
	margin-top: 10px !important;
	font-size: 15.5px;
	line-height: 1.6;
}

.vsm-card .vsm-card__link {
	margin-top: auto !important;
	padding-top: 14px;
}

.vsm-card__link a {
	color: #0b5cad;
	font-weight: 700;
	text-decoration: none;
}

.vsm-card__link a:after {
	content: " \2192";
}

.vsm[dir="rtl"] .vsm-card__link a:after {
	content: " \2190";
}

.vsm-card__link a:hover,
.vsm-card__link a:focus {
	text-decoration: underline;
}

.vsm-subhead {
	margin-bottom: 14px !important;
	color: var(--vsm-ink);
	font-size: 19px;
}

.vsm-checks--issues li:before {
	top: 21px;
	width: 10px;
	height: 10px;
	border: 0;
	border-radius: 50%;
	background: #d97706;
	transform: none;
}

.vsm a.vsm-crumb {
	color: var(--vsm-teal);
	text-decoration: none;
}

.vsm a.vsm-crumb:hover {
	text-decoration: underline;
}

@media (max-width: 980px) {
	.vsm-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.vsm-cards {
		grid-template-columns: 1fr;
	}
}