/*
 * Newsletter signup bands (design audit Phase 3). Markup: inc/site-chrome/newsletter.php.
 * Served whole (inc/wp-rocket-exclusions.php), so every rule here reaches pages whose stored
 * used-CSS predates it. Self-contained classes with token fallbacks; blue, black and white only.
 */
.roc-nl {
	box-sizing: border-box;
	font-family: var(--roc-font-body, Roboto, system-ui, -apple-system, "Segoe UI", sans-serif);
}

.roc-nl *,
.roc-nl *::before,
.roc-nl *::after {
	box-sizing: inherit;
}

.roc-nl__inner {
	display: grid;
	gap: 16px 40px;
	align-items: center;
	width: min(var(--roc-container, 1200px), 100% - 2 * var(--roc-gutter, 20px));
	margin-inline: auto;
}

@media (min-width: 900px) {
	.roc-nl__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	}
}

.roc-nl__eyebrow,
.roc-nl__title,
.roc-nl__pitch,
.roc-nl__form,
.roc-nl__consent,
.roc-nl__status {
	margin: 0;
}

.roc-nl__label {
	display: block;
	margin: 0 0 6px;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
}

.roc-nl__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.roc-nl .roc-nl__input {
	flex: 1 1 220px;
	min-width: 0;
	min-height: 48px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid #94a3b8;
	border-radius: 10px;
	background: #fff;
	color: #0f172a;
	font: 400 1rem / 1.4 inherit;
}

.roc-nl .roc-nl__input[aria-invalid="true"] {
	border: 2px solid #1e40af;
}

.roc-nl .roc-nl__button {
	min-height: 48px;
	margin: 0;
	padding: 12px 22px;
	border: 0;
	border-radius: 10px;
	background: #2563eb;
	color: #fff;
	font: 600 1rem / 1.2 inherit;
	cursor: pointer;
}

.roc-nl .roc-nl__button:hover {
	background: #1e40af;
}

.roc-nl .roc-nl__button:disabled {
	cursor: not-allowed;
	opacity: 0.6;
}

.roc-nl .roc-nl__input:focus-visible,
.roc-nl .roc-nl__button:focus-visible,
.roc-nl a:focus-visible {
	outline: 3px solid #1e40af !important;
	outline-offset: 2px;
}

.roc-nl__trap {
	position: absolute !important;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.roc-nl__challenge:not(:empty) {
	margin-top: 10px;
}

.roc-nl__consent {
	margin-top: 10px;
	font-size: 0.8125rem;
	line-height: 1.5;
}

.roc-nl__status:not(:empty) {
	margin-top: 8px;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.roc-nl__status--error {
	font-weight: 600;
}

/* Footer band: inside the dark site footer, above its link grid. */
.roc-nl--footer {
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.roc-nl--footer .roc-nl__inner {
	padding-block: 32px;
}

.roc-nl--footer .roc-nl__title {
	margin-bottom: 4px;
	color: #fff;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.4;
}

.roc-nl--footer .roc-nl__pitch {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.roc-nl--footer .roc-nl__label {
	color: rgba(255, 255, 255, 0.85);
}

.roc-nl--footer .roc-nl__consent {
	color: rgba(255, 255, 255, 0.7);
}

.roc-nl--footer .roc-nl__consent a,
.roc-nl--footer .roc-nl__status {
	color: #fff;
}

.roc-nl--footer .roc-nl__input:focus-visible,
.roc-nl--footer .roc-nl__button:focus-visible,
.roc-nl--footer a:focus-visible {
	outline-color: #93c5fd !important;
}

/* Homepage band: a light card before the About section. */
.roc-nl--home {
	margin-block: clamp(48px, 7vw, 96px);
}

.roc-nl--home .roc-nl__inner {
	padding: clamp(24px, 4vw, 40px);
	border: 1px solid #dbeafe;
	border-radius: 16px;
	background: #eff6ff;
}

.roc-nl--home .roc-nl__eyebrow {
	margin-bottom: 6px;
	color: #1d4ed8;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.roc-nl--home .roc-nl__title {
	margin-bottom: 8px;
	color: #0f172a;
	font-family: var(--roc-font-display, Raleway, system-ui, -apple-system, "Segoe UI", sans-serif);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	line-height: 1.2;
}

.roc-nl--home .roc-nl__pitch {
	color: #334155;
	font-size: 1rem;
	line-height: 1.6;
}

.roc-nl--home .roc-nl__label {
	color: #0f172a;
}

.roc-nl--home .roc-nl__consent {
	color: #475569;
}

.roc-nl--home .roc-nl__consent a {
	color: #1d4ed8;
}

.roc-nl--home .roc-nl__status {
	color: #0f172a;
}
