.cp-page {
	--cp-page-width: min(80%, var(--cp-content-width, 1250px));
	--cp-page-banner-art: url("../img/cp-pages-banner.jpg");
	--cp-page-banner-top: 169px;
	--cp-page-banner-bottom: 39px;
	--cp-page-prose-top: clamp(50px, 6vw, 86px);
	--cp-page-title-width: 47.25%;
	--cp-page-title-size: 60px;
	--cp-page-title-leading: 1.2;
	--cp-page-title-gold: linear-gradient(147deg, #d5b777 0%, #aa742d 100%);
	--cp-page-table-gold: #df941c;
}

.cp-page--about-us,
.cp-page--terms,
.cp-page--privacy {
	--cp-page-banner-art: url("../img/cp-pages-banner-alt.jpg");
	--cp-page-title-leading: 1.167;
}

.cp-page--about-us { --cp-page-banner-top: 118px; --cp-page-banner-bottom: 67px; }
.cp-page--terms { --cp-page-banner-bottom: 39px; }
.cp-page--privacy {
	--cp-page-banner-top: 97px;
	--cp-page-banner-bottom: 145px;
	--cp-page-title-width: 100%;
	--cp-page-prose-top: 39px;
}

.cp-page-banner {
	background: white var(--cp-page-banner-art) center / cover no-repeat;
	padding: var(--cp-page-banner-top) 0 var(--cp-page-banner-bottom);
}

.cp-page--coa .cp-page-banner { background-position: center calc(50% - 54px); }

.cp-page-banner-inner,
.cp-page-prose {
	width: var(--cp-page-width);
	margin-inline: auto;
}

.cp-page--terms .cp-page-banner-inner,
.cp-page--privacy .cp-page-banner-inner { width: min(88%, 1400px); }

.cp-page .cp-page-banner h1 {
	color: #aa742d;
	background: var(--cp-page-title-gold);
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin: 0;
	font-weight: 700;
}

.cp-page .cp-page-banner h1 {
	width: var(--cp-page-title-width);
	padding-bottom: 10px;
	font-size: var(--cp-page-title-size);
	line-height: var(--cp-page-title-leading);
	text-transform: uppercase;
}

.cp-page--terms { --cp-page-title-width: 43%; }
.cp-page-prose { padding-block: var(--cp-page-prose-top) clamp(42px, 6vw, 86px); overflow-wrap: anywhere; }
.cp-page-prose :where(h2, h3, h4) { margin: 0; color: #333; font-weight: 700; padding-bottom: 10px; }
.cp-page .cp-page-prose h2 { font-size: 26px; line-height: 1; }
.cp-page .cp-page-prose h3 { font-size: 22px; }
.cp-page .cp-page-prose h4 { font-size: 18px; }
.cp-page-prose p { margin: 0 0 15px; }
.cp-page-prose p:last-child { margin-bottom: 0; }
.cp-page-prose ul, .cp-page-prose ol { margin: 0 0 15px; padding-inline-start: 1em; }
.cp-page-prose li > p { margin: 0 0 6px; }
.cp-page-prose hr { border: 0; border-top: 1px solid var(--cp-border, #ddd); margin-block: 10px 18px; }
.cp-page-prose-space { height: 40px; }
.cp-page .cp-page-prose a, .cp-page .cp-page-contact-help p a {
	color: var(--cp-magenta, #cd2e80);
	text-decoration: none;
	font-weight: 600;
}
.cp-page .cp-page-prose a:hover, .cp-page .cp-page-contact-help a:hover { text-decoration: underline; }
.cp-page--privacy .cp-page-prose :where(h2, h3, h4) { margin-top: 22px; }
.cp-page--privacy .cp-page-prose h2 { font-size: 28px; }
.cp-page--terms .cp-page-prose h4 { text-transform: uppercase; }
.cp-page-about-testing {
	display: grid;
	grid-template-columns: 57.75% 36.75%;
	justify-content: space-between;
	align-items: start;
	margin-block: 28px 48px;
}
.cp-page-packing-image { width: 100%; display: block; }

.cp-page-table-wrap { position: relative; max-width: 100%; overflow-x: auto; margin-block: 10px 24px; }
.cp-page-table-wrap:focus-visible { outline-offset: -2px; }
.cp-page-prose table { width: 100%; border-collapse: collapse; border: 1px solid #eee; }
.cp-page-prose :where(td, th) {
	padding: 10px 16px;
	border-bottom: 1px solid #eee;
	line-height: 1.5;
	text-align: left;
	vertical-align: top;
}
.cp-page-shipping-rates { min-width: 605px; color: #111; }
.cp-page-shipping-rates, .cp-page-certificate-table { overflow-wrap: normal; }
.cp-page-shipping-rates thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.cp-page-shipping-rates tbody th {
	width: 15.4%;
	background: #131313;
	color: var(--cp-page-table-gold);
	font-weight: 600;
}
.cp-page-shipping-rates .cp-page-rate-label {
	display: block;
	color: #8b683d;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.cp-page-prose .cp-page-shipping-rates { border: 1px solid #111; }
.cp-domains { background: #fafafa; border: 1px solid #ded8ca; border-radius: 5px; }
.cp-domains .cp-domains-head {
	display: flex;
	justify-content: space-between;
	background: #171717;
	color: #e0bd7a;
	padding: 12px 16px;
	font-weight: 700;
	text-transform: uppercase;
}
.cp-page-prose .cp-domains ul {
	list-style: none;
	padding: 12px 16px;
	margin: 0;
	columns: 3 185px;
	column-gap: 24px;
}
.cp-domains li { break-inside: avoid; overflow-wrap: anywhere; }

.cp-page-certificate-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	padding: 0 !important;
	list-style: none;
}
.cp-page-certificate-stats li {
	border-radius: 4px;
	padding: 5px 12px;
	background: #151515;
	color: #fff;
	text-transform: uppercase;
}
.cp-page-certificate-stats strong { color: var(--cp-page-table-gold); }
.cp-page-certificate-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	justify-items: start;
	align-items: center;
	gap: 6px 12px;
	margin: 20px 0;
}
.cp-page-certificate-search label {
	grid-column: 1 / -1;
	font-weight: 700;
	color: #161616;
	text-transform: uppercase;
}
.cp-page-certificate-search input {
	width: 100%;
	padding: 10px 13px;
	border: 1px solid #9a7445;
	border-radius: 3px;
}
.cp-page-certificate-table { min-width: 680px; color: #222; }
.cp-page--coa .cp-page-prose table:not(.cp-page-certificate-table) thead { text-transform: uppercase; }
.cp-page-certificate-table thead { color: #f3c67b; background: #151515; }
.cp-page-certificate-table tbody tr:nth-child(even) { background: #faf8f5; }
.cp-page-certificate-table td:nth-child(4) { color: #444; font-weight: 700; }
.cp-page-prose .cp-page-certificate-table tbody td:last-child a { color: #865518; }
.cp-page-certificate-faq {
	border: 1px solid #ddd;
	margin-bottom: 14px;
	padding: 18px 20px;
	background: #f7f7f7;
}
.cp-page-certificate-faq summary { cursor: pointer; color: #333; font-weight: 700; }
.cp-page-certificate-faq div { margin-top: 10px; }

.cp-page-contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	color: #fff;
	background: linear-gradient(63deg, #c3a166 42%, #9c6b2b 100%);
}
.cp-page-contact-form-column,
.cp-page-contact-help { padding-inline: clamp(24px, 7vw, 100px); min-width: 0; }
.cp-page-contact-form-column { background: #1e1e1e; padding-block: 115px 50px; }
.cp-page-contact-form-column > p { margin: 0 0 46px; }
.cp-page-contact-help { align-self: center; padding-block: 55px; }
.cp-page .cp-page-contact-help h2 { margin: 0; color: #fff; font-size: 30px; font-weight: 700; }
.cp-page-contact-help h2::after {
	content: "";
	display: block;
	width: 50px;
	border-bottom: 2px solid #fff;
	margin-block: 22px 20px;
}
.cp-page-contact-help p { line-height: 1.8; margin: 0 0 31px; }
.cp-page-contact-help p strong { color: #000; }
.cp-page .cp-page-contact-help p a[href="/my-account/"] { color: inherit; font-weight: inherit; }
.cp-page-contact-details { margin: 0; list-style: none; padding: 0; }
.cp-page-contact-details li { position: relative; padding-inline-start: 46px; margin-block: 0 24px; min-height: 27px; }
.cp-page-contact-details li:last-child { margin-bottom: 0; }
.cp-page-contact-details li > span {
	position: absolute;
	inset-inline-start: 0;
	font-size: 25px;
	line-height: 1;
}
.cp-page-contact-details .cp-page-contact-pin {
	inset: 0 auto auto 4px;
	width: 18px;
	height: 18px;
	border: 4px solid white;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
}
.cp-page-contact-details a { text-decoration: none; }
.cp-page-contact-form { margin: 0; }
.cp-page-contact-form > :is(input:not([type=hidden]), textarea) {
	display: block;
	width: 100%;
	margin: 0 0 15px;
	padding: 11px 12px;
	min-height: 42px;
	font: 400 13px / 18px var(--cp-font);
	color: white;
	background-color: transparent;
	border: 1px solid #fff;
	border-radius: 0;
}
.cp-page-contact-form > :is(input, textarea)::placeholder { color: #fff; opacity: 1; }
.cp-page-contact-form > textarea { min-height: 186px; resize: vertical; margin-bottom: 43px; }
.cp-page-contact-verify {
	width: 100%;
	min-inline-size: 0;
	min-height: 96px;
	border: 1px solid #fff;
	margin: 0 0 15px;
	padding: 10px 8px 21px;
	text-align: center;
}
.cp-page-contact-verify b { color: #ed72a9; }
.cp-page-contact-verify label { display: inline-block; cursor: pointer; padding-inline: 2px; }
.cp-page-contact-verify label > span:first-of-type {
	display: grid;
	width: 36px;
	height: 32px;
	place-items: center;
	line-height: 1;
	font-size: 17px;
	filter: brightness(0) invert(1);
}
.cp-page-contact-verify input:checked + span { background: #6ad581; filter: none; border-radius: 4px; }
.cp-page-contact-verify input:focus-visible + span { outline: 2px solid white; }
.cp-page-contact-form button {
	width: 100%;
	min-height: 50px;
	border: 2px solid #69d080;
	border-radius: 22px;
	padding: 8px 16px;
	color: #69d080;
	background: transparent;
	font: 400 20px / 1.2 var(--cp-font);
	text-transform: uppercase;
	cursor: pointer;
}
.cp-page-contact-form button:hover { background: #69d080; color: #1e1e1e; }
.cp-page-contact-status { color: white; border-left: 3px solid #69d080; padding-left: 10px; }

@media (max-width: 1100px) {
	.cp-page { --cp-page-title-size: 52px; }
	.cp-page--about-us, .cp-page--privacy { --cp-page-title-size: 48px; }
	.cp-page-contact-form-column, .cp-page-contact-help { padding-inline: 5vw; }
}

@media (min-width: 768px) and (max-width: 1100px) {
	.cp-page--coa { --cp-page-title-width: min(100%, 520px); }
}

@media (max-width: 767px) {
	.cp-page--coa .cp-page-banner { background-position: center calc(50% - 44px); }

	.cp-page {
		--cp-page-title-size: 40px;
		--cp-page-title-width: 100%;
		--cp-page-banner-top: 161px;
		--cp-page-banner-bottom: 30px;
		--cp-page-prose-top: 78px;
	}
	.cp-page--about-us,
	.cp-page--privacy {
		--cp-page-title-size: 32px;
		--cp-page-title-leading: 1.25;
		--cp-page-banner-top: 98px;
		--cp-page-width: 90%;
		--cp-page-prose-top: 31px;
	}
	.cp-page--privacy { --cp-page-prose-top: 39px; --cp-page-banner-bottom: 79px; }
	.cp-page--privacy .cp-page-prose h2 { font-size: 22px; line-height: 1.25; }
	.cp-page--privacy .cp-page-prose h3 { font-size: 20px; }
	.cp-page--terms { --cp-page-width: 90%; --cp-page-title-leading: 1.25; }
	.cp-page--terms .cp-page-banner-inner, .cp-page--privacy .cp-page-banner-inner { width: 90%; }
	.cp-page--about-us .cp-page-banner-inner { width: 80%; }
	.cp-page--about-us .cp-page-banner h1 { max-width: 285px; }
	.cp-page-about-testing { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.cp-page-contact { grid-template-columns: minmax(0, 1fr); }
	.cp-page-contact-form-column, .cp-page-contact-help { padding-inline: 20px; }
	.cp-page-contact-form-column { padding-block: 74px 50px; }
}
