/**
 * Modern static / legal / story pages.
 * Centered glass panel + decorative SVG rails. Rails hide on small screens.
 */

.content-page {
	--hp-violet: #6c5ce7;
	--hp-orange: #ff6b00;
	--hp-glass: rgba(255, 255, 255, 0.03);
	position: relative;
	display: block;
	padding: 1.1rem 0 3.2rem;
	overflow: visible;
}

.content-page::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.22;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 40px 40px;
	mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}

.orbit-rail {
	display: none;
	pointer-events: none;
	color: #6c5ce7;
}

.orbit-rail--right {
	color: #ff6b00;
}

.orbit-rail__art {
	width: 100%;
	height: auto;
	max-height: 36rem;
	opacity: 0.72;
}

.content-page__panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 100%;
	margin-inline: auto;
	padding: 1.35rem 1.1rem 1.8rem;
	border-radius: 1.35rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background:
		radial-gradient(720px 240px at 0% 0%, rgba(108, 92, 231, 0.18), transparent 55%),
		radial-gradient(520px 200px at 100% 0%, rgba(255, 107, 0, 0.12), transparent 50%),
		var(--hp-glass);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.content-page__kicker {
	margin: 0 0 0.85rem;
	color: var(--hp-orange);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-size: 0.68rem;
	font-weight: 800;
}

.content-page .kushmayy-prose {
	max-width: none;
	padding-bottom: 0;
}

.content-page .kushmayy-prose .kushmayy-prose {
	padding: 0;
}

.content-page .kushmayy-prose h1 {
	margin: 0 0 1rem;
	font-size: clamp(1.7rem, 5vw, 2.7rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: #f5f6fa;
}

.content-page .kushmayy-prose h2 {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin: 1.55rem 0 0.7rem;
	font-size: 1.12rem;
	color: #f5f6fa;
}

.content-page .kushmayy-prose h2::before {
	content: "";
	width: 2rem;
	height: 2rem;
	flex: 0 0 auto;
	border-radius: 0.7rem;
	background-color: rgba(108, 92, 231, 0.2);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 1.05rem;
	box-shadow: 0 0 0 1px rgba(108, 92, 231, 0.35);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c5ce7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
}

.content-page .kushmayy-prose h2:nth-of-type(2)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 3L5 13h7l-1 8 9-12h-7z'/%3E%3C/svg%3E");
	background-color: rgba(255, 107, 0, 0.16);
	box-shadow: 0 0 0 1px rgba(255, 107, 0, 0.35);
}

.content-page .kushmayy-prose h2:nth-of-type(3)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c5ce7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='6' width='16' height='12' rx='2'/%3E%3Cpath d='M8 10h8M8 14h5'/%3E%3C/svg%3E");
}

.content-page .kushmayy-prose h2:nth-of-type(4)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8a8 8 0 0110-2m1-4v5h-5M17 16a8 8 0 01-10 2m-1 4v-5h5'/%3E%3C/svg%3E");
	background-color: rgba(255, 107, 0, 0.16);
	box-shadow: 0 0 0 1px rgba(255, 107, 0, 0.35);
}

.content-page .kushmayy-prose h2 + p,
.content-page .kushmayy-prose h2 + ul,
.content-page .kushmayy-prose h2 + ol,
.content-page .kushmayy-prose h2 + table,
.content-page .kushmayy-prose h1 + p {
	margin-top: 0;
	padding: 1rem 1.05rem;
	border-radius: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(15, 15, 26, 0.42);
}

.content-page .kushmayy-prose ul,
.content-page .kushmayy-prose ol {
	display: grid;
	gap: 0.45rem;
}

.content-page .kushmayy-prose ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	padding: 0;
	list-style: none;
}

.content-page .kushmayy-prose ul.products .product-card {
	text-align: left;
}

.content-page .kushmayy-prose__logo {
	display: block;
	margin: 0 auto 1.4rem;
	width: min(42vw, 160px);
	height: min(42vw, 160px);
	box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.35), 0 12px 32px rgba(108, 92, 231, 0.22);
}

.content-page .kushmayy-badges {
	grid-template-columns: 1fr;
	margin-top: 1.2rem;
}

.content-page .kushmayy-badges li {
	background: rgba(108, 92, 231, 0.12);
	border-color: rgba(108, 92, 231, 0.35);
}

.content-page .kushmayy-table {
	display: block;
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 0;
}

.content-page .kushmayy-table thead,
.content-page .kushmayy-table tbody,
.content-page .kushmayy-table tr {
	width: 100%;
}

.content-page .kushmayy-form {
	max-width: 100%;
}

.content-chips {
	display: none;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1.1rem;
	padding: 0;
	list-style: none;
}

.content-chips li {
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.04);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #d4d0e6;
}

/* Inquiry templates share the same leftover-gutter problem. */
.inquiry-stack {
	min-width: 0;
	position: relative;
	z-index: 1;
}

.is-inquiry-page .inquiry-main {
	position: relative;
	padding-top: 0.4rem;
}

.is-inquiry-page .inquiry-hero {
	padding: 1.6rem 0 1.2rem;
}

@media (min-width: 640px) {
	.content-page__panel {
		padding: 1.8rem 1.7rem 2.1rem;
	}

	.content-page .kushmayy-badges {
		grid-template-columns: 1fr 1fr;
	}

	.content-chips {
		display: flex;
	}
}

@media (min-width: 960px) {
	.content-page {
		padding-top: 1.6rem;
	}

	.orbit-rail {
		display: block;
		position: absolute;
		top: 1.6rem;
		width: 5.5rem;
		z-index: 0;
	}

	.orbit-rail--left {
		left: 0;
	}

	.orbit-rail--right {
		right: 0;
	}

	.content-page__panel,
	.inquiry-stack {
		width: 100%;
	}

	.content-page:has(.orbit-rail) .content-page__panel,
	.content-page:has(.orbit-rail) .inquiry-stack {
		padding-inline: 6.25rem;
	}
}

@media (max-width: 639px) {
	.content-page__panel {
		padding: 1.1rem 0.9rem 1.5rem;
		border-radius: 1.1rem;
	}

	.content-page .kushmayy-prose h2 {
		align-items: flex-start;
		font-size: 1.02rem;
	}

	.content-page .kushmayy-prose h2 + p,
	.content-page .kushmayy-prose h2 + ul,
	.content-page .kushmayy-prose h2 + ol,
	.content-page .kushmayy-prose h1 + p {
		padding: 0.85rem 0.9rem;
	}
}
