/**
 * GDC — Partner landing page (/organize/). TL-08.
 *
 * Scoped entirely under .gdc-partner-landing so nothing here collides with
 * main.css's sand/gold system (a different, older palette — Q300). Every
 * color, type size, spacing step, radius and shadow below is transcribed
 * from spec/GOD.yaml (design.palette / design.typography / design.spacing /
 * design.borders / design.shadows / components.buttons.primary /
 * components.form_inputs). No values invented outside that file.
 *
 * Mobile-first: base rules target 390px. Overrides live in min-width blocks.
 */

.gdc-partner-landing {
	--pl-void: #050505;
	--pl-deep: #0D1117;
	--pl-abyss: #141B24;
	--pl-surface: #1C2430;
	--pl-purple: #9B7FD4;
	--pl-purple-light: #B9A4E3;
	--pl-purple-dark: #7B5FB8;
	--pl-teal: #4DD4C0;
	--pl-white: #FFFFFF;
	--pl-white-muted: #c3c6c8;
	--pl-white-dim: #6e7276;
	--pl-heading-font: 'Cormorant Garamond', Georgia, serif;
	--pl-body-font: 'Manrope', system-ui, sans-serif;
	--pl-ease: cubic-bezier(0.4, 0, 0.2, 1);

	background: var(--pl-void);
	color: var(--pl-white-muted);
	font-family: var(--pl-body-font);
	box-sizing: border-box;
}

.gdc-partner-landing *,
.gdc-partner-landing *::before,
.gdc-partner-landing *::after {
	box-sizing: inherit;
}

@media (prefers-reduced-motion: reduce) {
	.gdc-partner-landing * {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* ---------------------------------------------------------------------
 * Section shell — full viewport, alternating ground per GOD.yaml
 * components.section (default / alternate / elevated).
 * ------------------------------------------------------------------- */

.gdc-pl-section {
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	align-items: center;
	padding: 64px 20px;
	background: var(--pl-void);
	position: relative;
}

.gdc-pl-section--alt { background: var(--pl-abyss); }
.gdc-pl-section--elevated { background: var(--pl-deep); }

.gdc-pl-section__inner {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}

.gdc-pl-section--wide .gdc-pl-section__inner { max-width: 1200px; }

@media (min-width: 768px) {
	.gdc-pl-section { padding: 96px 48px; }
}

/* ---------------------------------------------------------------------
 * Typography
 * ------------------------------------------------------------------- */

.gdc-pl-eyebrow {
	font-family: var(--pl-body-font);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--pl-purple-light);
	margin: 0 0 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.gdc-pl-eyebrow::before {
	content: '';
	width: 24px;
	height: 1px;
	background: var(--pl-purple-light);
	opacity: 0.6;
}

.gdc-pl-head {
	font-family: var(--pl-heading-font);
	font-weight: 600;
	color: var(--pl-white);
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 20px;
	font-size: 1.5rem;
}

.gdc-pl-head--display {
	font-size: 2.5rem;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.gdc-pl-body {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--pl-white-muted);
	margin: 0 0 16px;
	max-width: 46ch;
}

.gdc-pl-body--lg {
	font-size: 1.125rem;
	line-height: 1.75;
}

@media (min-width: 768px) {
	.gdc-pl-head { font-size: 2.25rem; }
	.gdc-pl-head--display { font-size: 4.5rem; }
}

/* ---------------------------------------------------------------------
 * The Ease — three distinct, concrete statements. Not a bulleted
 * triplet formula: each carries its own label and its own named fact
 * (Stripe / GDC / DiveAssure), so the section reads as three separate
 * true claims rather than a repeated "zero X" cadence.
 * ------------------------------------------------------------------- */

.gdc-pl-ease-list {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin-top: 32px;
}

.gdc-pl-ease-item {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 20px;
}

.gdc-pl-ease-item__label {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--pl-teal);
	display: block;
	margin-bottom: 8px;
}

.gdc-pl-ease-item__text {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--pl-white-muted);
	margin: 0;
	max-width: 50ch;
}

/* ---------------------------------------------------------------------
 * The Proof — worked-example card
 * ------------------------------------------------------------------- */

.gdc-pl-proof-card {
	margin-top: 32px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	background: var(--pl-surface);
	padding: 24px;
}

.gdc-pl-proof-label {
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--pl-white-dim);
	margin: 0 0 4px;
}

.gdc-pl-proof-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gdc-pl-proof-row:last-child { border-bottom: none; }

.gdc-pl-proof-row__key {
	font-size: 0.9375rem;
	color: var(--pl-white-muted);
}

.gdc-pl-proof-row__val {
	font-family: var(--pl-heading-font);
	font-size: 1.375rem;
	font-weight: 600;
	color: var(--pl-white);
	white-space: nowrap;
}

.gdc-pl-proof-row--total .gdc-pl-proof-row__val {
	color: var(--pl-teal);
	font-size: 1.75rem;
}

.gdc-pl-proof-note {
	font-size: 0.875rem;
	color: var(--pl-white-dim);
	margin: 16px 0 0;
	line-height: 1.6;
}

@media (min-width: 768px) {
	.gdc-pl-proof-card { padding: 32px 40px; }
	.gdc-pl-proof-row__val { font-size: 1.625rem; }
	.gdc-pl-proof-row--total .gdc-pl-proof-row__val { font-size: 2rem; }
}

/* ---------------------------------------------------------------------
 * Buttons — components.buttons.primary
 * ------------------------------------------------------------------- */

.gdc-pl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	background: var(--pl-purple);
	color: var(--pl-white);
	border: none;
	border-radius: 8px;
	padding: 16px 32px;
	font-family: var(--pl-body-font);
	font-weight: 600;
	font-size: 0.9375rem;
	letter-spacing: 0.01em;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.3s var(--pl-ease);
}

.gdc-pl-btn:hover,
.gdc-pl-btn:focus-visible {
	background: var(--pl-purple-light);
}

.gdc-pl-btn:focus-visible {
	outline: 2px solid var(--pl-purple-light);
	outline-offset: 3px;
}

.gdc-pl-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.gdc-pl-btn.is-loading { opacity: 0.75; }

@media (min-width: 640px) {
	.gdc-pl-btn { width: auto; }
}

/* ---------------------------------------------------------------------
 * The Close — signup panel
 * ------------------------------------------------------------------- */

.gdc-pl-close__actions {
	margin-top: 32px;
}

.gdc-pl-form {
	margin-top: 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 420px;
}

.gdc-pl-form[hidden] { display: none; }

.gdc-pl-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.gdc-pl-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.gdc-pl-field__label {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.03em;
	color: var(--pl-white-dim);
}

.gdc-pl-field input {
	background: var(--pl-surface);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--pl-white);
	border-radius: 8px;
	height: 48px;
	padding: 0 16px;
	font-family: var(--pl-body-font);
	font-size: 1rem;
}

.gdc-pl-field input::placeholder { color: var(--pl-white-dim); }

.gdc-pl-field input:focus-visible {
	outline: none;
	border-color: var(--pl-purple);
	box-shadow: 0 0 0 3px rgba(155, 127, 212, 0.2);
}

.gdc-pl-field__error {
	font-size: 0.8125rem;
	color: #EF4444;
}

.gdc-pl-field__error[hidden] { display: none; }

.gdc-pl-form__feedback {
	font-size: 0.9375rem;
	color: var(--pl-teal);
	margin: 0;
}

.gdc-pl-form__feedback.is-error { color: #EF4444; }

.gdc-pl-form__feedback[hidden] { display: none; }

.gdc-pl-form__legal {
	font-size: 0.8125rem;
	color: var(--pl-white-dim);
	line-height: 1.6;
	margin: 0;
}

.gdc-pl-form__legal a,
.gdc-pl-form__signin a {
	color: var(--pl-purple-light);
}

.gdc-pl-form__signin {
	font-size: 0.875rem;
	color: var(--pl-white-dim);
	margin: 0;
}

@media (min-width: 640px) {
	.gdc-pl-close__actions { display: flex; }
}
