/* Homepage redesign — scoped to #pep-home only. */

.pep-home {
	--pep-blue: #2686ff;
	--pep-navy: #0e2d5a;
	--pep-text: #4b5f7c;
	--pep-line: rgba(14, 45, 90, 0.1);
	--pep-tint: #f4f8fd;
	--pep-radius: 18px;
	background: #fff;
	color: var(--pep-navy);
	font-size: 16px;
	line-height: 1.6;
}

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

.pep-home__wrap {
	width: min(1200px, calc(100% - 40px));
	margin-inline: auto;
}

.pep-home .pep-eyebrow {
	margin: 0 0 10px;
	color: var(--pep-blue);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.pep-home .pep-eyebrow--light {
	color: #9fc6ff;
}

.pep-home h1.pep-hero2__title,
.pep-home h2.pep-home__title {
	margin: 0;
	font-family: inherit;
	color: var(--pep-navy);
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.pep-home h1.pep-hero2__title {
	font-size: clamp(30px, 3.9vw, 52px);
	font-weight: 800;
	line-height: 1.08;
	max-width: 15ch;
}

.pep-home h2.pep-home__title {
	font-size: clamp(24px, 2.5vw, 34px);
	font-weight: 800;
	line-height: 1.15;
}

.pep-home .pep-home__title--light {
	color: #fff;
}

/* Hero ------------------------------------------------------------------ */
.pep-hero2 {
	padding: clamp(28px, 4vw, 56px) 0 clamp(32px, 4vw, 56px);
	background: linear-gradient(180deg, #f7fbff 0%, #fff 100%);
}

.pep-hero2__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	grid-template-areas:
		"copy media"
		"points media";
	gap: 0 clamp(24px, 4vw, 56px);
	align-items: start;
}

.pep-hero2__copy {
	grid-area: copy;
	align-self: end;
}

.pep-hero2__media {
	grid-area: media;
	align-self: center;
}

.pep-hero2__points {
	grid-area: points;
}

.pep-hero2__lede {
	margin: 18px 0 0;
	max-width: 46ch;
	color: var(--pep-text);
	font-size: 16.5px;
	line-height: 1.6;
}

.pep-hero2__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 26px;
}

.pep-home .pep-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 13px 22px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.pep-home .pep-btn--primary {
	background: var(--pep-blue);
	color: #fff;
	box-shadow: 0 10px 24px rgba(38, 134, 255, 0.28);
}

.pep-home .pep-btn--primary:hover {
	background: #1675ef;
	color: #fff;
}

.pep-home .pep-btn--ghost {
	border-color: #c7d9f0;
	background: #fff;
	color: var(--pep-navy);
}

.pep-home .pep-btn--ghost:hover {
	border-color: var(--pep-blue);
	color: var(--pep-navy);
}

.pep-home .pep-btn--light {
	background: #fff;
	color: var(--pep-navy);
}

.pep-home .pep-btn--light:hover {
	background: #eaf3ff;
	color: var(--pep-navy);
}

.pep-home .pep-btn:focus-visible,
.pep-home a:focus-visible,
.pep-home summary:focus-visible {
	outline: 3px solid var(--pep-blue);
	outline-offset: 3px;
}

.pep-home .pep-arrow {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

.pep-hero2__points {
	display: grid;
	gap: 8px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.pep-hero2__points li {
	position: relative;
	padding-left: 26px;
	color: var(--pep-text);
	font-size: 14.5px;
	line-height: 1.45;
}

.pep-hero2__points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 5px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #eaf3ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232686ff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 9px no-repeat;
}

.pep-hero2__media {
	position: relative;
	overflow: hidden;
	border-radius: 22px;
	background: linear-gradient(180deg, #eef5fd 0%, #fff 100%);
	aspect-ratio: 11 / 12;
	width: 100%;
}

.pep-hero2__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Shared section rhythm -------------------------------------------------- */
.pep-home-products,
.pep-home-cats,
.pep-home-faq {
	padding: clamp(40px, 5vw, 72px) 0;
}

.pep-home-products {
	background: #fff;
}

.pep-home-cats {
	background: var(--pep-tint);
	border-block: 1px solid var(--pep-line);
}

.pep-home__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 26px;
}

.pep-home .pep-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding-block: 11px;
	margin-block: -11px;
	color: var(--pep-blue);
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none;
}

.pep-home .pep-link:hover {
	text-decoration: underline;
}

/* Product grid ---------------------------------------------------------- */
.pep-home .pep-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pep-home .pep-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--pep-line);
	border-radius: var(--pep-radius);
	background: #fff;
	box-shadow: 0 10px 26px rgba(14, 45, 90, 0.05);
}

.pep-home .pep-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	background: #f2f6fb;
	overflow: hidden;
}

.pep-home .pep-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 220ms ease;
}

.pep-home .pep-card:hover .pep-card__img {
	transform: scale(1.03);
}

.pep-home .pep-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 16px 18px 18px;
}

.pep-home .pep-card__title {
	margin: 0;
	font-family: inherit;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.pep-home .pep-card__title a {
	color: var(--pep-navy);
	text-decoration: none;
}

.pep-home .pep-card__title a:hover {
	color: var(--pep-blue);
}

.pep-home .pep-card__title a,
.pep-home .pep-card__cta,
.pep-home .pep-link {
	display: inline-flex;
	align-items: center;
	padding-block: 11px;
	margin-block: -11px;
}

.pep-home .pep-card__title {
	margin-top: -11px;
}

.pep-home .pep-card__cta {
	margin-top: auto;
	padding-top: 5px;
}

.pep-home .pep-faq2__item p a {
	display: inline-block;
	padding-block: 12px;
	margin-block: -12px;
}

.pep-home .pep-card__meta {
	margin: 4px 0 0;
	color: #6b7c93;
	font-size: 13px;
	line-height: 1.4;
}

.pep-home .pep-card__price {
	margin: 12px 0 0;
	color: var(--pep-navy);
	font-size: 15.5px;
	font-weight: 800;
	line-height: 1.3;
}

.pep-home .pep-card__price del {
	color: #8a9ab0;
	font-weight: 500;
}

.pep-home .pep-card__price ins {
	background: none;
	text-decoration: none;
}

.pep-home .pep-card__stock {
	margin: 6px 0 0;
	font-size: 12.5px;
}

.pep-home .pep-stock {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 999px;
	font-weight: 700;
	line-height: 1.4;
}

.pep-home .pep-stock--in {
	background: #e7f7ee;
	color: #146c43;
}

.pep-home .pep-stock--out {
	background: #f2f5f9;
	color: #5c6d85;
}

.pep-home .pep-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 16px;
	color: var(--pep-blue);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	padding-bottom: 8px;
	margin-bottom: -8px;
}

.pep-home .pep-card__cta:hover {
	text-decoration: underline;
}

.pep-home .pep-card.is-out .pep-card__media {
	opacity: 0.72;
}

/* Categories ------------------------------------------------------------ */
.pep-home .pep-cats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pep-home .pep-cat {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 118px;
	padding: 20px 18px;
	border: 1px solid var(--pep-line);
	border-radius: 16px;
	background: #fff;
	color: var(--pep-navy);
	text-decoration: none;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.pep-home .pep-cat:hover {
	border-color: #a8c7ea;
	box-shadow: 0 10px 24px rgba(14, 45, 90, 0.07);
}

.pep-home .pep-cat__name {
	font-size: 16.5px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.pep-home .pep-cat__count {
	color: #6b7c93;
	font-size: 13px;
}

.pep-home .pep-cat__go {
	margin-top: auto;
	color: var(--pep-blue);
}

/* Evidence band --------------------------------------------------------- */
.pep-home-evidence {
	padding: clamp(40px, 5vw, 68px) 0;
	background: #0e2d5a;
	color: #fff;
}

.pep-evidence__copy {
	max-width: 760px;
}

.pep-evidence__text {
	margin: 16px 0 0;
	max-width: 62ch;
	color: #c8dcf5;
	font-size: 16px;
	line-height: 1.6;
}

.pep-home .pep-evidence__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.pep-home .pep-evidence__facts li {
	padding: 16px 18px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.06);
}

.pep-home .pep-evidence__facts strong {
	display: block;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.3;
}

.pep-home .pep-evidence__facts span {
	display: block;
	margin-top: 5px;
	color: #b9d2f0;
	font-size: 13.5px;
	line-height: 1.45;
}

.pep-home .pep-evidence__note {
	margin: 26px 0 0;
	color: #94b6dd;
	font-size: 12.5px;
	line-height: 1.5;
}

/* FAQ ------------------------------------------------------------------- */
.pep-faq2 {
	border-top: 1px solid var(--pep-line);
}

.pep-home .pep-faq2__item {
	border-bottom: 1px solid var(--pep-line);
}

.pep-home .pep-faq2__item summary {
	position: relative;
	padding: 20px 44px 20px 0;
	cursor: pointer;
	color: var(--pep-navy);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	list-style: none;
}

.pep-home .pep-faq2__item summary::-webkit-details-marker {
	display: none;
}

.pep-home .pep-faq2__item summary::after {
	content: "";
	position: absolute;
	right: 10px;
	top: 50%;
	width: 10px;
	height: 10px;
	margin-top: -6px;
	border-right: 2px solid var(--pep-blue);
	border-bottom: 2px solid var(--pep-blue);
	transform: rotate(45deg);
	transition: transform 160ms ease;
}

.pep-home .pep-faq2__item[open] summary::after {
	transform: rotate(-135deg);
	margin-top: -3px;
}

.pep-home .pep-faq2__item p {
	margin: 0 0 20px;
	max-width: 70ch;
	color: var(--pep-text);
	font-size: 15px;
	line-height: 1.6;
}

.pep-home .pep-faq2__item a {
	color: var(--pep-blue);
	font-weight: 600;
}

/* Closing action -------------------------------------------------------- */
.pep-home-close {
	padding: clamp(36px, 4vw, 56px) 0 clamp(44px, 5vw, 68px);
	background: var(--pep-tint);
	border-top: 1px solid var(--pep-line);
}

.pep-home .pep-close {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 32px;
	padding: clamp(22px, 3vw, 32px);
	border-radius: 20px;
	background: linear-gradient(120deg, #0e2d5a 0%, #16417c 100%);
}

.pep-home .pep-close h2 {
	font-size: clamp(22px, 2.2vw, 30px);
}

.pep-home .pep-close__text {
	margin: 6px 0 0;
	color: #c8dcf5;
	font-size: 15px;
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1024px) {
	.pep-hero2__grid {
		grid-template-columns: 1fr;
		grid-template-areas:
			"copy"
			"media"
			"points";
		gap: 20px;
	}

	.pep-home h1.pep-hero2__title {
		max-width: 22ch;
	}

	.pep-hero2__media {
		aspect-ratio: 4 / 3;
		max-width: 520px;
		margin-inline: auto;
		width: 100%;
	}

	.pep-home .pep-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.pep-home .pep-cats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.pep-home__wrap {
		width: min(1200px, calc(100% - 28px));
	}

	.pep-hero2 {
		padding-top: 14px;
		padding-bottom: 20px;
	}

	.pep-home .pep-hero2 .pep-eyebrow {
		margin-bottom: 6px;
		font-size: 10.5px;
	}

	.pep-home h1.pep-hero2__title {
		font-size: clamp(25px, 7.4vw, 30px);
		max-width: none;
		line-height: 1.1;
	}

	.pep-hero2__lede {
		margin-top: 10px;
		font-size: 14.5px;
		line-height: 1.5;
	}

	.pep-hero2__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		margin-top: 16px;
	}

	.pep-home .pep-btn {
		width: 100%;
		min-height: 46px;
		padding: 12px 18px;
		font-size: 14.5px;
	}

	.pep-hero2__media {
		aspect-ratio: 16 / 11;
		margin-top: 4px;
		max-width: none;
	}

	.pep-hero2__points {
		gap: 5px;
		margin-top: 14px;
	}

	.pep-hero2__points li {
		font-size: 13px;
		padding-left: 22px;
	}

	.pep-hero2__points li::before {
		width: 13px;
		height: 13px;
		top: 4px;
	}

	.pep-home-products {
		padding-top: 26px;
	}

	.pep-home__head {
		margin-bottom: 16px;
	}

	.pep-home .pep-grid {
		grid-template-columns: 1fr;
	}

	.pep-home .pep-card {
		flex-direction: row;
		align-items: stretch;
	}

	.pep-home .pep-card__media {
		flex: 0 0 38%;
		aspect-ratio: auto;
		min-height: 132px;
	}

	.pep-home .pep-card__body {
		padding: 14px 14px 14px 16px;
	}

	.pep-home .pep-card__title {
		font-size: 16px;
	}

	.pep-home .pep-card__cta {
		padding-top: 12px;
	}

	.pep-home .pep-evidence__facts {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.pep-home .pep-close {
		flex-direction: column;
		align-items: flex-start;
	}

	.pep-home .pep-close .pep-btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pep-home *,
	.pep-home *::before,
	.pep-home *::after {
		transition: none !important;
		animation: none !important;
	}
}
