/* "Become an Affiliate" section + signup modal
   The section reuses .feat-grid/.feat (css/api.css) and .eyebrow/.sec-head/.btn
   (css/base.css) as-is. The modal reuses the .fit-overlay/.fit-modal/.fit-close
   chrome and the .fit-q/.fit-sub/.fit-consent/.fit-hp/.fit-turnstile/.fit-err
   pieces from css/fit.css — this file only covers what neither already styles:
   the section's CTA button placement, and the plain (non-gated) form + success
   state inside the modal. Copy and behaviour live in js/affiliate-form.js.

   Phone overrides are in responsive.css, like every other media query. */

.affiliate {
	background: var(--grey-light);
}

.aff-cta {
	margin-top: 44px;
	display: flex;
	justify-content: center;
}

/* ---------------- signup form ---------------- */
.aff-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 22px;
}
.aff-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.aff-field span {
	font-size: 13px;
	font-weight: 600;
	color: var(--grey-60);
}
.aff-field input {
	border: 1px solid var(--grey-20);
	border-radius: 9px;
	padding: 11px 13px;
	font-family: inherit;
	font-size: 14px;
	color: var(--grey-70);
	outline: none;
	transition:
		border-color 0.14s,
		box-shadow 0.14s;
}
.aff-field input:focus {
	border-color: var(--green-40);
	box-shadow: 0 0 0 3px var(--green-10);
}
.aff-form .btn {
	margin-top: 4px;
	justify-content: center;
}

/* ---------------- success state ---------------- */
.aff-success {
	text-align: center;
	padding: 12px 0 6px;
}
.aff-success .fi {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--green-10);
	color: var(--green);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
}
.aff-success .fit-q,
.aff-success .fit-sub {
	text-align: center;
}
