:root {
	--sdgf-ink: #111827;
	--sdgf-navy: #0b1f3f;
	--sdgf-red: #e0524d;
	--sdgf-paper: #f5f1e8;
	--sdgf-line: #d9dde4;
	--sdgf-muted: #697080;
}

html.sdgf-lock,
html.sdgf-lock body {
	overflow: hidden !important;
}

.sdgf-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 28px;
	border: 1px solid #d9d9d9;
	border-radius: 16px;
	background: #fff;
	color: #050505;
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.sdgf-trigger:hover,
.sdgf-trigger:focus-visible {
	border-color: #9da3ad;
	box-shadow: 0 8px 24px rgba(15, 23, 42, .09);
	color: #050505;
	transform: translateY(-1px);
}

.sdgf-modal, .sdgf-modal * { box-sizing: border-box; }

.sdgf-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .25s ease, visibility .25s ease;
}

.sdgf-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.sdgf-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(6, 12, 24, .72);
	backdrop-filter: blur(8px);
}

.sdgf-dialog {
	position: relative;
	display: grid;
	grid-template-columns: minmax(300px, 38%) minmax(0, 62%);
	width: min(1120px, 100%);
	height: min(880px, calc(100vh - 48px));
	height: min(880px, calc(100dvh - 48px));
	grid-template-rows: minmax(0, 1fr);
	min-height: 0;
	overflow: hidden;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
	transform: translateY(16px) scale(.985);
	transition: transform .25s ease;
}

.sdgf-modal.is-open .sdgf-dialog {
	transform: translateY(0) scale(1);
}

.sdgf-close {
	position: absolute;
	top: 17px;
	right: 18px;
	z-index: 3;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(17, 24, 39, .14);
	border-radius: 50%;
	background: rgba(255, 255, 255, .9);
	color: var(--sdgf-ink);
	font-size: 27px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
}

.sdgf-intro {
	position: relative;
	overflow: hidden;
	padding: 46px 42px 38px;
	background: var(--sdgf-navy);
	color: #fff;
}

.sdgf-intro::after {
	content: '';
	position: absolute;
	right: -100px;
	bottom: -140px;
	width: 360px;
	height: 360px;
	border: 70px solid rgba(224, 82, 77, .18);
	border-radius: 50%;
}

.sdgf-brand,
.sdgf-kicker,
.sdgf-intro h2,
.sdgf-lead,
.sdgf-steps,
.sdgf-paid-note {
	position: relative;
	z-index: 1;
}

.sdgf-brand {
	margin: 0 0 44px;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -.02em;
}

.sdgf-kicker,
.sdgf-eyebrow {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.sdgf-kicker { color: #f3b7b3; }

.sdgf-intro h2 {
	margin: 12px 0 20px;
	color: #fff;
	font-size: clamp(48px, 6vw, 78px);
	font-weight: 500;
	line-height: .9;
	letter-spacing: -.055em;
}

.sdgf-lead {
	margin: 0;
	color: rgba(255, 255, 255, .8);
	font-size: 16px;
	line-height: 1.6;
}

.sdgf-steps {
	display: grid;
	gap: 15px;
	margin: 40px 0 30px;
	padding: 0;
	list-style: none;
}

.sdgf-steps li {
	display: grid;
	grid-template-columns: 38px 1fr;
	align-items: center;
	gap: 12px;
}

.sdgf-steps span {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255,255,255,.28);
	border-radius: 50%;
	color: #f3b7b3;
	font-size: 11px;
	font-weight: 700;
}

.sdgf-steps strong {
	font-size: 14px;
	font-weight: 500;
}

.sdgf-paid-note {
	padding: 16px 18px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 14px;
	background: rgba(255,255,255,.07);
}

.sdgf-paid-note strong { font-size: 13px; }
.sdgf-paid-note p {
	margin: 4px 0 0;
	color: rgba(255,255,255,.68);
	font-size: 12px;
	line-height: 1.5;
}

.sdgf-form-panel {
	min-height: 0;
	min-width: 0;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	overflow-y: auto;
	padding: 52px 54px 48px;
}

.sdgf-eyebrow {
	margin: 0 0 10px;
	color: var(--sdgf-red);
}

.sdgf-form-panel h3 {
	margin: 0;
	color: var(--sdgf-ink);
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -.035em;
}

.sdgf-form-intro {
	margin: 10px 0 28px;
	color: var(--sdgf-muted);
	font-size: 14px;
}

.sdgf-form { margin: 0; }
.sdgf-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.sdgf-field,
.sdgf-upload {
	display: grid;
	gap: 7px;
	margin-bottom: 18px;
}

.sdgf-field > span,
.sdgf-upload > span {
	color: var(--sdgf-ink);
	font-size: 12px;
	font-weight: 650;
}

.sdgf-field input,
.sdgf-field select,
.sdgf-field textarea {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	border: 1px solid var(--sdgf-line);
	border-radius: 11px;
	background: #fff;
	color: var(--sdgf-ink);
	font: inherit;
	font-size: 14px;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.sdgf-field input,
.sdgf-field select { height: 48px; padding: 0 14px; }
.sdgf-field textarea { min-height: 92px; padding: 13px 14px; resize: vertical; }

.sdgf-field input:focus,
.sdgf-field select:focus,
.sdgf-field textarea:focus {
	border-color: var(--sdgf-navy);
	box-shadow: 0 0 0 3px rgba(11, 31, 63, .09);
}

.sdgf-files { align-items: stretch; }
.sdgf-upload {
	position: relative;
	align-content: center;
	min-height: 112px;
	padding: 16px;
	border: 1px dashed #bdc3cd;
	border-radius: 13px;
	background: #fafbfc;
	cursor: pointer;
}

.sdgf-upload input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.sdgf-upload strong {
	font-size: 13px;
	font-weight: 650;
}

.sdgf-upload small {
	overflow: hidden;
	color: var(--sdgf-muted);
	font-size: 11px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sdgf-consent {
	display: grid;
	grid-template-columns: 18px 1fr;
	align-items: start;
	gap: 10px;
	margin: 2px 0 10px;
	color: #454c59;
	font-size: 12px;
	line-height: 1.55;
}

.sdgf-consent input { margin: 3px 0 0; accent-color: var(--sdgf-navy); }
.sdgf-disclaimer {
	margin: 0 0 20px;
	color: #818793;
	font-size: 11px;
}

.sdgf-actions {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 16px;
}

.sdgf-submit {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	min-width: 200px;
	min-height: 50px;
	padding: 0 18px;
	border: 0;
	border-radius: 12px;
	background: var(--sdgf-navy);
	color: #fff;
	font-size: 13px;
	font-weight: 650;
	cursor: pointer;
}

.sdgf-submit:hover { background: #132d57; }
.sdgf-submit:disabled { cursor: wait; opacity: .65; }
.sdgf-status { margin: 0; font-size: 12px; line-height: 1.45; }
.sdgf-status.is-success { color: #147547; }
.sdgf-status.is-error { color: #b42318; }

.sdgf-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (max-width: 820px) {
	.sdgf-modal .sdgf-dialog, .sdgf-modal.is-open .sdgf-dialog { transform: none; transition: none; }
	.sdgf-modal { padding: 10px; }
	.sdgf-dialog {
		display: block;
		height: auto;
		max-height: calc(100vh - 20px);
		max-height: calc(100dvh - 20px);
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		border-radius: 18px;
		overflow-y: auto;
	}
	.sdgf-intro { padding: 34px 28px 28px; }
	.sdgf-brand { margin-bottom: 26px; }
	.sdgf-intro h2 { font-size: 54px; }
	.sdgf-steps { grid-template-columns: 1fr; margin: 28px 0 22px; }
	.sdgf-form-panel { overflow: visible; padding: 34px 24px 36px; }
	.sdgf-close { position: fixed; top: 20px; right: 20px; }
}

@media (max-width: 560px) {
	.sdgf-grid,
	.sdgf-actions { grid-template-columns: 1fr; }
	.sdgf-dialog { border-radius: 14px; }
	.sdgf-intro { padding: 30px 22px 24px; }
	.sdgf-form-panel { padding: 30px 20px 34px; }
	.sdgf-trigger { min-height: 48px; padding: 0 22px; font-size: 18px; }
	.sdgf-submit { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.sdgf-modal,
	.sdgf-dialog,
	.sdgf-trigger { transition: none; }
}


@media (min-width: 821px) and (max-height: 760px) {
 .sdgf-intro { overflow-y: auto; min-height: 0; }
}

/* Compact intro: scoped to the popup so theme typography cannot enlarge it. */
#get-featured .sdgf-intro {
 min-height: 0;
 min-width: 0;
 padding: 30px 30px 26px;
 overflow-y: auto;
 overscroll-behavior: contain;
}
#get-featured .sdgf-brand { margin: 0 0 24px; font-size: 18px; line-height: 1.3; }
#get-featured .sdgf-kicker { font-size: 10px; line-height: 1.5; letter-spacing: .12em; }
#get-featured .sdgf-intro h2 {
 margin: 12px 0 18px;
 font-size: 54px !important;
 line-height: 1 !important;
 letter-spacing: -.045em;
}
#get-featured .sdgf-lead { margin: 0; font-size: 14px; line-height: 1.55; }
#get-featured .sdgf-steps { margin: 24px 0 20px; gap: 10px; padding: 0; }
#get-featured .sdgf-steps li { margin: 0; padding: 0; grid-template-columns: 30px 1fr; gap: 10px; line-height: 1.4; }
#get-featured .sdgf-steps span { width: 28px; height: 28px; font-size: 10px; }
#get-featured .sdgf-steps strong { font-size: 12px; line-height: 1.4; }
#get-featured .sdgf-paid-note { padding: 12px 14px; }
#get-featured .sdgf-paid-note strong { font-size: 12px; line-height: 1.4; }
#get-featured .sdgf-paid-note p { margin: 4px 0 0; font-size: 11px; line-height: 1.5; }
@media (min-width: 821px) and (max-height: 740px) {
 #get-featured .sdgf-intro { padding: 24px 28px; }
 #get-featured .sdgf-brand { margin-bottom: 18px; }
 #get-featured .sdgf-intro h2 { font-size: 46px !important; margin: 10px 0 14px; }
 #get-featured .sdgf-steps { margin: 18px 0 16px; gap: 8px; }
}
@media (max-width: 820px) {
 #get-featured .sdgf-intro { padding: 28px 24px; overflow: hidden; }
 #get-featured .sdgf-intro h2 { font-size: 44px !important; }
 #get-featured .sdgf-brand { margin-bottom: 18px; }
}

#get-featured .sdgf-intro {
 overflow-x: hidden;
 background: radial-gradient(circle at 100% 100%, transparent 0 130px, rgba(224,82,77,.18) 131px 190px, transparent 191px), var(--sdgf-navy);
}
#get-featured .sdgf-intro::after { display: none; }
