/*
 * Block: cy/redesign-vp-compliance
 * Source parity: static Platform "Compliance for Security Growth" block.
 */

.vpcm {
	position: relative;
	isolation: isolate;
	scroll-margin-top: var(--nav-total-height, 112px);
	padding: 96px 0;
	background: var(--color-light-warm, #fcfcfb);
	box-sizing: border-box;
}

.vpcm__panel {
	width: min(100% - 80px, 1296px);
	height: 520px;
	min-height: 520px;
	margin: 0 auto;
	padding: 40px 0 40px 119px;
	overflow: hidden;
	border-radius: 16px;
	background: var(--color-sand-warm, #eae9e3);
	display: grid;
	grid-template-columns: minmax(0, 654px) minmax(443px, 1fr);
	gap: 80px;
	align-items: center;
	box-sizing: border-box;
}

.vpcm__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
}

.vpcm__heading {
	max-width: 470px;
	margin: 0;
	color: var(--color-dark-navy, #093055);
	font-family: var(--font-display);
	font-size: 44px;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: 0;
}

.vpcm__body {
	margin: 0;
	color: var(--color-dark-navy, #093055);
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.58;
	letter-spacing: 0;
}

.vpcm__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 49px;
	margin-top: 4px;
	padding: 14px 24px;
	border-radius: 8px;
	background: var(--color-blue-300, #2191ff);
	color: #fff;
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background-color 180ms ease, transform 180ms ease;
}

.vpcm__cta,
.vpcm__cta:link,
.vpcm__cta:visited,
.vpcm__cta:hover,
.vpcm__cta:focus,
.vpcm__cta:active {
	color: #fff;
}

.vpcm__cta:hover,
.vpcm__cta:focus {
	background: #0f7ce6;
	text-decoration: none;
	transform: translateY(-1px);
}

.vpcm__visuals {
	position: relative;
	min-height: 439px;
	overflow: visible;
}

.vpcm__mock-img {
	display: block;
	width: 327px;
	max-width: 100%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 16px 38px rgba(9, 48, 85, 0.11);
}

.vpcm__card,
.vpcm__stack-card {
	position: absolute;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 16px 38px rgba(9, 48, 85, 0.11);
	border: 1px solid rgba(9, 48, 85, 0.08);
	box-sizing: border-box;
}

.vpcm__card--compliance {
	left: 0;
	top: 0;
	width: 327px;
	min-height: 439px;
	padding: 25px 31px 26px;
	z-index: 3;
}

.vpcm__stack-card {
	top: 0;
	width: 327px;
	min-height: 439px;
	pointer-events: none;
	box-shadow: 0 14px 38px rgba(9, 48, 85, 0.08);
}

.vpcm__stack-card--mid {
	left: 22px;
	top: 20px;
	z-index: 2;
	background: rgba(255, 255, 255, 0.46);
	border-color: rgba(255, 255, 255, 0.46);
}

.vpcm__stack-card--back {
	left: 44px;
	top: 40px;
	z-index: 1;
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.16);
	box-shadow: 0 14px 38px rgba(9, 48, 85, 0.04);
	-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0, 0, 0, 0.6) 76%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0, 0, 0, 0.6) 76%, transparent 100%);
}

.vpcm__card-head {
	margin-bottom: 18px;
	color: #434959;
	font-family: var(--font-body);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

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

.vpcm__rows li {
	padding: 9px 0;
	border-top: 1px solid rgba(9, 48, 85, 0.08);
}

.vpcm__rows span {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	color: var(--color-dark-navy, #093055);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.vpcm__rows b {
	margin-left: auto;
	color: rgba(9, 48, 85, 0.56);
	font-weight: 600;
}

.vpcm__rows i {
	display: block;
	height: 8px;
	margin-top: 8px;
	border-radius: 99px;
	background: linear-gradient(90deg, #0fbaff var(--p), #dedcd0 var(--p));
}

@media (max-width: 1100px) {
	.vpcm__panel {
		width: min(100% - 48px, 820px);
		height: auto;
		padding: 56px;
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.vpcm__visuals {
		width: min(100%, 520px);
		min-height: 430px;
		justify-self: center;
	}
}

@media (max-width: 760px) {
	.vpcm {
		padding: 64px 0;
	}

	.vpcm__panel {
		width: min(calc(100vw - 32px), 560px);
		padding: 28px 22px;
	}

	.vpcm__heading {
		font-size: 30px;
	}

	.vpcm__body {
		font-size: 16px;
	}

	.vpcm__visuals {
		min-height: auto;
	}

	.vpcm__card--compliance {
		position: relative;
		left: auto;
		right: auto;
		top: auto;
		bottom: auto;
		width: 100%;
		min-height: auto;
	}

	.vpcm__stack-card {
		display: none;
	}
}

@media (max-width: 640px) {
	.vpcm__cta {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.vpcm__panel {
		width: min(calc(100vw - 48px), 432px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.vpcm__cta {
		transition: none;
	}
}
