/* Cards inside the navy sheets (template pages), group "ark": the glass row and the four-step card.
   Loaded right after p3-overrides.css; every class is p3-in-*. Animated: transform and opacity only. */

.p3-sheets .p3-sheet > .p3-in-glass,
.p3-sheets .p3-sheet > .p3-in-steps {
	grid-column: 2 / 4;
}

/* Glass row: three equal glass cards (explanation, assessment with price and button, own text), radius 24, blur 37 (Hims glass). */
.p3-sheets .p3-in-glass {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--p3-gap);
	min-width: 0;
}

.p3-sheets .p3-in-glass__card {
	position: relative;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	min-height: 340px;
	padding: 32px 24px 28px;
	overflow: hidden;
	border-radius: var(--p3-r);
	background: var(--p3-glass);
	-webkit-backdrop-filter: blur(37px);
	backdrop-filter: blur(37px);
	box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .18);
	color: #fff;
	transition: transform .4s var(--p3-spring);
}

.p3-sheets .p3-in-glass__card:hover {
	transform: translateY(-4px);
}

.p3-sheets .p3-in-glass__card:active {
	transform: scale(.985);
}

.p3-sheets .p3-in-glass__card h3 {
	margin: 0 0 10px;
	font-size: 30px;
	line-height: 1.1;
	letter-spacing: -.04em;
	font-weight: var(--heading-weight);
}

.p3-sheets .p3-in-glass__card p {
	margin: 0;
	font-size: 17px;
	line-height: 1.5;
	color: rgba(255, 255, 255, .8);
}

.p3-sheets .p3-in-glass__card--go {
	background: linear-gradient(180deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .07) 100%);
}

.p3-sheets .p3-in-glass__foot {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	margin-top: auto;
	padding-top: 28px;
}

.p3-sheets .p3-in-glass .button {
	background: #fff;
	color: var(--p3-ink);
	box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .45);
}

.p3-sheets .p3-in-glass .button__icon {
	background: rgba(31, 39, 54, .1);
}

/* Steps card: the wide tinted card with the four steps as four columns, no phone, no button. */
.p3-sheets .p3-in-steps {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 56px 50px 48px;
}

.p3-sheets .p3-in-steps__cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
}

.p3-sheets .p3-in-steps__col {
	position: relative;
}

.p3-sheets .p3-in-steps__col:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 24px;
	left: 64px;
	right: -32px;
	height: 1px;
	background: rgba(255, 255, 255, .28);
}

.p3-sheets .p3-in-steps__no {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 24px;
	border-radius: 50%;
	background: #fff;
	color: var(--p3-ink);
	font-size: 20px;
	font-weight: var(--heading-weight);
}

.p3-sheets .p3-in-steps h3 {
	margin: 0 0 12px;
	font-size: clamp(22px, 2.2vw, 28px);
	line-height: 1.1;
	letter-spacing: -.035em;
	font-weight: var(--heading-weight);
}

.p3-sheets .p3-in-steps p {
	max-width: 19em;
	color: rgba(255, 255, 255, .85);
	line-height: 1.5;
}

@media (max-width: 900px) {
	.p3-sheets .p3-sheet > .p3-in-glass,
	.p3-sheets .p3-sheet > .p3-in-steps {
		grid-column: 1;
	}

	.p3-sheets .p3-in-glass {
		grid-template-columns: minmax(0, 1fr);
	}

	.p3-sheets .p3-in-glass__card {
		min-height: 0;
	}

	.p3-sheets .p3-in-steps {
		gap: 24px;
		padding: 40px 24px 32px;
	}

	.p3-sheets .p3-in-steps__cols {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.p3-sheets .p3-in-steps__col:not(:last-child)::after {
		display: none;
	}

	.p3-sheets .p3-in-steps__no {
		margin-bottom: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.p3-sheets .p3-in-glass__card {
		transition: none;
	}

	.p3-sheets .p3-in-glass__card:hover,
	.p3-sheets .p3-in-glass__card:active {
		transform: none;
	}
}
