/*
 * CleanPeptide — state landing pages (Figma node 1:14).
 *
 * Loaded after cms-base.css on single cp_state only, every rule scoped under
 * .cp-state. Measurements are the design's at 1440px; the section rhythm is
 * 120px between plain sections and bands, and bands carry their own padding.
 */

/* Plain sections sit 120px below whatever precedes them; bands are pushed 120px
   down. Together that gives the design's single 120px gap everywhere, without
   two adjacent plain sections doubling it. */
.cp-state .cps-plain { padding-top: var(--rhythm); }
.cp-state .cps-band  { margin-top: var(--rhythm); }

/* ================================================================== HERO */

.cp-state .cps-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-start;
	min-height: 601px;
	overflow: hidden;
	background: #EDF3F6;
}

.cp-state .cps-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

/* The 5% black plate the design lays over the photograph. */
.cp-state .cps-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(0, 0, 0, 0.05);
	pointer-events: none;
}

.cp-state .cps-hero > .cms-wrap { align-self: stretch; }

.cp-state .cps-hero__in {
	width: 660px;
	max-width: 100%;
	padding: 48px 0 66px;
}

.cp-state .cps-hero__eyebrow {
	font-family: var(--mono, 'JetBrains Mono', monospace);
	font-weight: 500;
	font-size: 14px;
	line-height: 18px;
	text-transform: uppercase;
	color: var(--c-accent);
}

.cp-state .cps-hero__title {
	margin-top: 26px;
	font-family: var(--body, 'Inter', sans-serif);
	font-weight: 800;
	font-size: 54px;
	line-height: 54px;
	letter-spacing: 0;
	color: var(--c-accent);
}

.cp-state .cps-hero__title .is-accent { color: var(--c-head); }

.cp-state .cps-hero__body { width: 645px; max-width: 100%; margin-top: 26px; }

.cp-state .cps-hero__body p {
	font-weight: 500;
	font-size: 18px;
	line-height: 26px;
	color: var(--c-ink);
}

.cp-state .cps-hero__body p + p { margin-top: 16px; }
.cp-state .cps-hero .cms-acts { margin-top: 16px; }

.cp-state .cps-hero__note {
	width: 606px;
	max-width: 100%;
	margin-top: 16px;
	font-size: 14px;
	line-height: 20px;
	color: var(--c-ink2);
}

/* ============================================================ TRUST STRIP */

.cp-state .cps-trust { background: var(--c-tint); border-radius: 12px; }

.cp-state .cps-trust__list {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 122px;
	padding-block: 30px;
}

.cp-state .cps-trust__item { display: flex; align-items: center; gap: 21px; }

.cp-state .cps-trust__ic {
	flex: none;
	display: grid;
	place-items: center;
	width: 54px;
	height: 56px;
	border-radius: 5px;
	background: #fff;
	color: var(--c-head);
}

.cp-state .cps-trust__txt { display: flex; flex-direction: column; gap: 6px; width: 130px; }

.cp-state .cps-trust__txt strong {
	font-weight: 600;
	font-size: 14px;
	line-height: 17px;
	color: var(--c-head);
}

.cp-state .cps-trust__txt span { font-size: 12px; line-height: 15px; color: var(--c-ink); }

/* =============================================================== PRODUCTS */

.cp-state .cps-products__lead {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-top: 12px;
}

.cp-state .cps-products__intro {
	width: 699px;
	max-width: 100%;
	padding-top: 10px;
	font-size: 16px;
	line-height: 26.8px;
	color: var(--c-ink);
}

.cp-state .cps-products .cmsc-grid { margin-top: 24px; }

/* ======================================================= WHY CLEANPEPTIDE */

.cp-state .cps-why { padding-block: 76px; background: var(--c-tint); }

.cp-state .cps-why__head { display: flex; flex-direction: column; gap: 10px; max-width: 718px; }

.cp-state .cps-why__p {
	margin-top: 15px;
	font-size: 15px;
	line-height: 24.75px;
	color: var(--c-ink);
}

.cp-state .cps-checks { margin-top: 32px; }

.cp-state .cps-checks__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.cp-state .cps-checks__h {
	font-weight: 600;
	font-size: 24px;
	line-height: 29px;
	letter-spacing: -0.005em;
	color: var(--c-head);
}

.cp-state .cps-checks__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-top: 20px;
}

.cp-state .cps-check {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 183px;
	padding: 20px;
	border-radius: 12px;
	background: #fff;
}

.cp-state .cps-check__top { display: flex; align-items: flex-start; justify-content: space-between; }

.cp-state .cps-check__n {
	font-family: var(--mono, 'JetBrains Mono', monospace);
	font-size: 12px;
	line-height: 16px;
	color: var(--c-accent);
}

.cp-state .cps-check__txt,
.cp-state .cps-hub__txt { display: flex; flex-direction: column; gap: 5px; }

.cp-state .cps-check__txt strong,
.cp-state .cps-hub__txt strong {
	font-weight: 600;
	font-size: 14px;
	line-height: 17px;
	color: var(--c-head);
}

.cp-state .cps-check__txt span,
.cp-state .cps-hub__txt span { font-size: 12px; line-height: 15px; color: var(--c-ink2); }

/* =============================================================== SHIPPING */

.cp-state .cps-ship__p {
	margin-top: 8px;
	font-size: 16px;
	line-height: 25px;
	color: var(--c-ink);
}

.cp-state .cps-ship__head .cms-h2 + .cps-ship__p { margin-top: 20px; }

.cp-state .cps-ship__panels {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 19px;
	margin-top: 32px;
}

.cp-state .cps-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 297px;
	padding: 20px;
	border-radius: 12px;
}

.cp-state .cps-panel--line { background: #fff; border: 1px solid #D9D9D9; }
.cp-state .cps-panel--tint { background: var(--c-tint); }

.cp-state .cps-panel__label {
	font-family: var(--mono, 'JetBrains Mono', monospace);
	font-weight: 500;
	font-size: 12px;
	line-height: 16px;
	color: var(--c-accent);
}

.cp-state .cps-panel__sub {
	margin-top: 12px;
	font-weight: 600;
	font-size: 14px;
	line-height: 17px;
	color: var(--c-head);
}

.cp-state .cps-steps { display: grid; gap: 42px; margin-top: 26px; }

.cp-state .cps-steps li {
	position: relative;
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
}

/* The dashed connector between the numbered circles (4px dash, 4px gap). */
.cp-state .cps-steps li + li::before {
	content: "";
	position: absolute;
	left: 18.5px;
	top: -44px;
	width: 1px;
	height: 46px;
	background: repeating-linear-gradient(to bottom, #888 0 4px, transparent 4px 8px);
}

.cp-state .cps-steps__n {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--c-accent);
	font-family: var(--mono, 'JetBrains Mono', monospace);
	font-weight: 500;
	font-size: 14px;
	color: #fff;
}

.cp-state .cps-steps__txt { display: flex; flex-direction: column; gap: 2px; }

.cp-state .cps-steps__txt strong {
	padding-bottom: 4px;
	font-weight: 600;
	font-size: 14px;
	line-height: 17px;
	color: var(--c-head);
}

.cp-state .cps-steps__txt span { font-weight: 500; font-size: 12px; line-height: 15px; color: var(--c-muted); }

.cp-state .cps-cities { display: grid; gap: 6px; margin-top: 20px; }

.cp-state .cps-cities li,
.cp-state .cps-cities__more { font-weight: 500; font-size: 12px; line-height: 15px; color: #555; }

.cp-state .cps-cities li::before { content: "• "; }
.cp-state .cps-cities__more { margin-top: 6px; color: #000; }

/* ===================================================== RESEARCH ECOSYSTEM */

.cp-state .cps-sci {
	padding-block: 108px;
	background: linear-gradient(135deg, #F5F7F7 0%, #EAF4F2 100%);
}

.cp-state .cps-sci__head { display: flex; flex-direction: column; gap: 8px; max-width: 886px; }

.cp-state .cps-sci__h {
	font-weight: 800;
	font-size: clamp(30px, 3.2vw, 46px);
	line-height: 1.21;
	color: var(--c-head);
}

.cp-state .cps-sci__p { font-size: 16px; line-height: 25px; color: var(--c-ink); }
.cp-state .cps-sci__p strong { font-weight: 600; }

.cp-state .cps-sci__row {
	display: grid;
	grid-template-columns: minmax(0, 679fr) minmax(0, 524fr);
	align-items: center;
	gap: 33px;
	margin-top: 32px;
}

.cp-state .cps-sci__body { display: flex; flex-direction: column; gap: 8px; }

.cp-state .cps-hubs__h {
	margin-bottom: 16px;
	font-weight: 600;
	font-size: 26px;
	line-height: 31px;
	color: var(--c-ink2);
}

.cp-state .cps-hubs__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: 151px;
	gap: 9px 10px;
}

.cp-state .cps-hub {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 17px 18px 17px 17px;
	border-radius: 12px;
	background: #fff;
}

/* ================================================== VERIFY BEFORE ORDERING */

.cp-state .cms-wrap--verify { max-width: calc(1027px + 2 * var(--gutter)); }

.cp-state .cps-verify__row {
	display: grid;
	grid-template-columns: minmax(0, 502fr) minmax(0, 505fr);
	align-items: center;
	gap: 20px;
}

.cp-state .cps-verify__media { height: 569px; overflow: hidden; border-radius: 12px; }
.cp-state .cps-verify__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }

.cp-state .cps-verify__body { display: flex; flex-direction: column; gap: 20px; }

.cp-state .cps-verify__head { display: flex; flex-direction: column; }
.cp-state .cps-verify__head .cms-eyebrow + .cps-verify__h { margin-top: 12px; }
.cp-state .cps-verify__h { line-height: 37px; letter-spacing: 0; }

.cp-state .cps-verify__p { font-size: 14px; line-height: 20px; color: #000; }
.cp-state .cps-verify__h + .cps-verify__p { margin-top: 16px; }
.cp-state .cps-verify__p + .cps-verify__p { margin-top: 12px; }

.cp-state .cps-vlist { display: flex; flex-direction: column; gap: 12px; max-width: 469px; }
.cp-state .cps-vlist__dl { display: grid; gap: 10px; }

.cp-state .cps-vlist__dl dt {
	font-weight: 600;
	font-size: 14px;
	line-height: 17px;
	text-transform: uppercase;
	color: #000;
}

.cp-state .cps-vlist__dl dd {
	margin-top: 6px;
	font-size: 12px;
	line-height: 15px;
	text-transform: uppercase;
	color: #000;
}

/* ===================================================================== FAQ */

.cp-state .cms-faq .cms-wrap { max-width: calc(var(--w) + 2 * var(--gutter)); }

/* ============================================================== RESPONSIVE */

@media (max-width: 1280px) {
	.cp-state .cps-trust__list { flex-wrap: wrap; justify-content: flex-start; row-gap: 20px; }
	.cp-state .cps-trust__item { flex: 1 1 calc(50% - 24px); }
	.cp-state .cps-trust__txt { width: auto; }
}

@media (max-width: 1100px) {
	/* Below desktop the vials drift behind the copy; a pale wash on the left
	   keeps the text legible without hiding the photograph. */
	.cp-state .cps-hero { min-height: 0; }
	.cp-state .cps-hero::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: -1;
		background: linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.72) 55%, rgba(255,255,255,.25) 100%);
	}
	.cp-state .cps-hero__bg { object-position: 70% center; }
	.cp-state .cps-hero__title { font-size: 44px; line-height: 46px; }

	.cp-state .cps-checks__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cp-state .cps-check { min-height: 160px; }

	.cp-state .cps-sci { padding-block: 80px; }
	.cp-state .cps-sci__row { grid-template-columns: minmax(0, 1fr); gap: 32px; }

	.cp-state .cps-verify__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
	.cp-state .cps-verify__media { height: auto; aspect-ratio: 502 / 569; }
}

@media (max-width: 900px) {
	.cp-state .cps-ship__panels { grid-template-columns: minmax(0, 1fr); }
	.cp-state .cps-panel { min-height: 0; }

	.cp-state .cps-verify__row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.cp-state .cps-verify__media { aspect-ratio: 4 / 3; }
	.cp-state .cps-vlist { max-width: none; }

	.cp-state .cps-products__lead { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 767px) {
	.cp-state .cps-hero__in { padding: 36px 0 44px; }
	.cp-state .cps-hero__title { margin-top: 16px; font-size: 34px; line-height: 38px; }
	.cp-state .cps-hero__body { margin-top: 18px; }
	.cp-state .cps-hero__body p { font-size: 16px; line-height: 24px; }
	.cp-state .cps-hero__bg { object-position: 78% center; }
	.cp-state .cps-hero::before { background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.82) 100%); }

	.cp-state .cps-trust { border-radius: 0; }
	.cp-state .cps-trust__list { padding-block: 24px; }

	.cp-state .cps-why { padding-block: 56px; }
	.cp-state .cps-checks__head { flex-direction: column; align-items: flex-start; gap: 10px; }
	.cp-state .cps-checks__h { font-size: 21px; line-height: 26px; }

	.cp-state .cps-sci { padding-block: 56px; }
	.cp-state .cps-hubs__h { font-size: 22px; line-height: 27px; }
	.cp-state .cps-hubs__grid { grid-auto-rows: auto; }
	.cp-state .cps-hub { min-height: 132px; gap: 16px; }
}

@media (max-width: 560px) {
	.cp-state .cps-trust__item { flex-basis: 100%; }
	.cp-state .cps-checks__list { grid-template-columns: minmax(0, 1fr); }
	.cp-state .cps-check { min-height: 0; gap: 18px; }
	.cp-state .cps-hubs__grid { grid-template-columns: minmax(0, 1fr); }
	.cp-state .cps-hub { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; min-height: 0; }
}
