/* Partner Platform — page-partner-platform.php */

/* ── Container ─────────────────────────────────────────────── */
.pp-page { background-color: var(--black); color: var(--white); min-height: 60vh; }

.pp-inner {
	max-width: calc(1100px + 2 * var(--page-px));
	margin: 0 auto;
	padding-left: var(--page-px);
	padding-right: var(--page-px);
}

/* ── Password form ─────────────────────────────────────────── */
.pp-pw-wrap {
	min-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px var(--page-px);
}
.pp-pw-inner { max-width: 480px; width: 100%; }

.pp-pw-title {
	font-family: 'Space Mono', monospace;
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	word-spacing: -0.3em;
	line-height: 0.95;
	color: var(--white);
	margin-bottom: 16px;
}
.pp-pw-desc {
	font-family: 'Geist', sans-serif;
	font-size: 15px;
	font-weight: 300;
	color: rgba(255,255,255,0.55);
	line-height: 1.65;
	margin-bottom: 40px;
}
.pp-pw-form { display: flex; gap: 0; }
.pp-pw-form input[type="password"] {
	flex: 1;
	background-color: var(--gray-90);
	border: 1px solid var(--gray-60);
	border-right: none;
	border-radius: 999px 0 0 999px;
	color: var(--white);
	font-family: 'Geist', sans-serif;
	font-size: 15px;
	padding: 13px 24px;
	outline: none;
	transition: border-color 0.2s;
}
.pp-pw-form input[type="password"]:focus { border-color: var(--yellow); }
.pp-pw-form input[type="password"]::placeholder { color: rgba(255,255,255,0.3); }
.pp-pw-form .btn-primary { border-radius: 0 999px 999px 0; }

/* ── Page header ───────────────────────────────────────────── */
.pp-page-header {
	padding-top: 80px;
	padding-bottom: 64px;
	border-bottom: 1px solid var(--gray-80);
}

.pp-title {
	font-family: 'Space Mono', monospace;
	font-size: clamp(36px, 5vw, 64px);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	word-spacing: -0.3em;
	line-height: 0.95;
	color: var(--white);
	margin-bottom: 24px;
}
.pp-intro {
	font-family: 'Geist', sans-serif;
	font-size: 17px;
	font-weight: 300;
	color: rgba(255,255,255,0.55);
	line-height: 1.65;
	margin-bottom: 36px;
	max-width: 560px;
}

/* ── Sections ──────────────────────────────────────────────── */
.pp-sections { display: flex; flex-direction: column; }
.pp-section { border-bottom: 1px solid var(--gray-80); }
.pp-section-inner {
	padding: 56px var(--page-px);
	max-width: calc(1100px + 2 * var(--page-px));
	margin: 0 auto;
}

.pp-section-heading {
	font-family: 'Geist', sans-serif;
	font-size: clamp(22px, 3vw, 34px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.1;
	color: var(--white);
	margin-bottom: 12px;
}
.pp-section-intro {
	font-family: 'Geist', sans-serif;
	font-size: 15px;
	font-weight: 300;
	color: rgba(255,255,255,0.55);
	line-height: 1.65;
	margin-bottom: 40px;
	max-width: 560px;
}
.pp-section-content { display: flex; flex-direction: column; gap: 48px; }

/* ── Eyebrow ───────────────────────────────────────────────── */
.pp-eyebrow { color: var(--yellow); margin-bottom: 28px; }
.pp-eyebrow::before { background: var(--yellow); }

/* ── Shared layout intro ───────────────────────────────────── */
.pp-layout-intro {
	font-family: 'Geist', sans-serif;
	font-size: 14px;
	font-weight: 300;
	color: rgba(255,255,255,0.55);
	line-height: 1.65;
	margin-bottom: 24px;
}

/* ── Sub-heading (e.g. "Logo Downloads") ──────────────────── */
.pp-subheading {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.5);
	margin: 40px 0 16px;
}

/* ── Download list ─────────────────────────────────────────── */
.pp-download-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.pp-download-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background-color: var(--gray-90);
	padding: 16px 20px;
	transition: background-color 0.15s;
}
.pp-download-item:hover { background-color: var(--gray-80); }
.pp-download-label {
	font-family: 'Geist', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: var(--white);
	flex: 1;
}
.pp-download-action { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.pp-download-meta {
	font-family: 'Space Mono', monospace;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.3);
}

/* ── Brand colors ──────────────────────────────────────────── */
.pp-swatches { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.pp-swatch { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pp-swatch-block {
	width: 80px;
	height: 80px;
	border: none;
	cursor: pointer;
	border-radius: 0;
	position: relative;
	transition: transform 0.15s;
}
.pp-swatch-block:hover { transform: scale(1.05); }
.pp-swatch-block.is-copied::after {
	content: '✓';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0,0,0,0.45);
	color: white;
	font-size: 22px;
}
.pp-swatch-name {
	font-family: 'Geist', sans-serif;
	font-size: 12px;
	font-weight: 400;
	color: rgba(255,255,255,0.55);
	text-align: center;
	max-width: 90px;
	line-height: 1.3;
}
.pp-swatch-hex {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	color: rgba(255,255,255,0.35);
	text-align: center;
}
.pp-brand-extra {
	font-family: 'Geist', sans-serif;
	font-size: 14px;
	font-weight: 300;
	color: rgba(255,255,255,0.55);
	line-height: 1.65;
}

/* ── Certificate ───────────────────────────────────────────── */
.pp-layout--certificate {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 48px;
	align-items: start;
	background-color: var(--gray-90);
	padding: 32px;
}
.pp-cert-image { background-color: var(--white); }
.pp-cert-image img { width: 100%; height: auto; display: block; }
.pp-cert-title {
	font-family: 'Geist', sans-serif;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--white);
	margin-bottom: 16px;
}
.pp-cert-body { margin-bottom: 28px; }

/* ── Text block ────────────────────────────────────────────── */
.pp-layout--text-block { display: flex; gap: 28px; align-items: flex-start; }
.pp-text-icon { flex-shrink: 0; width: 64px; }
.pp-text-icon img { width: 100%; height: auto; }

/* ── Wysiwyg ───────────────────────────────────────────────── */
.pp-wysiwyg {
	font-family: 'Geist', sans-serif;
	font-size: 15px;
	font-weight: 300;
	color: rgba(255,255,255,0.65);
	line-height: 1.7;
}
.pp-wysiwyg p { margin-bottom: 16px; }
.pp-wysiwyg p:last-child { margin-bottom: 0; }
.pp-wysiwyg h3, .pp-wysiwyg h4 {
	font-family: 'Geist', sans-serif;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--white);
	margin-bottom: 10px;
	margin-top: 24px;
}
.pp-wysiwyg a { color: var(--yellow); text-decoration: underline; }
.pp-wysiwyg ul, .pp-wysiwyg ol { padding-left: 20px; margin-bottom: 16px; }
.pp-wysiwyg li { margin-bottom: 6px; }

/* ── Product title (group label above downloads) ───────────── */
.pp-product-title {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: var(--yellow);
	margin-bottom: 12px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.pp-inner, .pp-section-inner { padding-left: 40px; padding-right: 40px; }
}
@media (max-width: 768px) {
	.pp-inner, .pp-section-inner { padding-left: 24px; padding-right: 24px; }
	.pp-pw-wrap { padding: 60px 24px; }
	.pp-pw-form { flex-direction: column; }
	.pp-pw-form input[type="password"] { border-right: 1px solid var(--gray-60); border-radius: 999px; }
	.pp-pw-form input[type="password"]:focus { border-color: var(--yellow); }
	.pp-pw-form .btn-primary { border-radius: 999px; }
	.pp-layout--certificate { grid-template-columns: 1fr; }
	.pp-download-item { flex-direction: column; align-items: flex-start; gap: 12px; }
}
