/* Free Course Signup – form styles. Accent color comes from --fcs-accent set inline. */
.fcs-signup {
	--fcs-accent: #2563eb;
	--fcs-bg: #ffffff;
	--fcs-fg: #111827;
	--fcs-muted: #6b7280;
	--fcs-line: #e5e7eb;
	--fcs-field: #ffffff;
	--fcs-soft: #f3f4f6;
	--fcs-ok-bg: #ecfdf5;
	--fcs-ok-fg: #065f46;
	--fcs-err-bg: #fef2f2;
	--fcs-err-fg: #991b1b;
	max-width: 520px;
	margin: 1.5em auto;
	padding: 32px 32px 28px;
	border: 1px solid var(--fcs-line);
	border-top: 5px solid var(--fcs-accent);
	border-radius: 16px;
	background: var(--fcs-bg);
	color: var(--fcs-fg);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08), 0 1px 3px rgba(17, 24, 39, 0.06);
	box-sizing: border-box;
}
.fcs-signup *, .fcs-signup *::before, .fcs-signup *::after { box-sizing: border-box; }
.fcs-ico { width: 1em; height: 1em; flex: 0 0 auto; }

.fcs-head { margin-bottom: 14px; }
.fcs-eyebrow {
	display: inline-block;
	font-size: 0.72em;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--fcs-accent);
	background: color-mix(in srgb, var(--fcs-accent) 10%, transparent);
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 10px;
}
.fcs-signup .fcs-course {
	font-size: 1.55em;
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 8px;
	letter-spacing: -0.01em;
	color: inherit;
}
.fcs-schedule {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--fcs-fg);
}
.fcs-schedule .fcs-ico { color: var(--fcs-accent); font-size: 1.05em; }
.fcs-next { margin-top: 4px; font-size: 0.92em; color: var(--fcs-muted); }
.fcs-next strong { color: var(--fcs-fg); font-weight: 600; }

.fcs-intro { margin: 0 0 14px; color: var(--fcs-muted); }

.fcs-bullets {
	list-style: none;
	margin: 0 0 20px;
	padding: 14px 16px;
	background: var(--fcs-soft);
	border-radius: 10px;
}
.fcs-bullets li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 8px;
	font-size: 0.95em;
}
.fcs-bullets li:last-child { margin-bottom: 0; }
.fcs-bullets .fcs-ico { color: var(--fcs-accent); margin-top: 0.2em; font-size: 1.05em; }

.fcs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
@media (max-width: 480px) { .fcs-row { grid-template-columns: 1fr; } }
.fcs-field { display: block; margin: 0; }
.fcs-field-full { margin-bottom: 14px; }
.fcs-field span { display: block; font-size: 0.85em; font-weight: 600; margin-bottom: 6px; }
.fcs-field input {
	width: 100%;
	padding: 12px 14px;
	font: inherit;
	line-height: 1.3;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	background: var(--fcs-field);
	color: inherit;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.fcs-field input::placeholder { color: #9ca3af; }
.fcs-field input:focus {
	outline: none;
	border-color: var(--fcs-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--fcs-accent) 25%, transparent);
}
.fcs-hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

.fcs-error {
	background: var(--fcs-err-bg);
	color: var(--fcs-err-fg);
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 0.9em;
	margin-bottom: 12px;
}
.fcs-signup .fcs-button {
	display: block;
	width: 100%;
	padding: 14px 18px;
	font: inherit;
	font-size: 1.05em;
	font-weight: 700;
	color: #fff;
	background: var(--fcs-accent);
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	box-shadow: 0 6px 16px color-mix(in srgb, var(--fcs-accent) 35%, transparent);
	transition: transform 0.1s, filter 0.15s;
}
.fcs-signup .fcs-button:hover { filter: brightness(0.92); }
.fcs-signup .fcs-button:active { transform: translateY(1px); }
.fcs-signup .fcs-button:disabled { opacity: 0.6; cursor: wait; transform: none; }

.fcs-trust {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 12px;
	font-size: 0.85em;
	color: var(--fcs-muted);
}
.fcs-trust .fcs-ico { color: #16a34a; }
.fcs-fine { font-size: 0.78em; color: var(--fcs-muted); margin: 10px 0 0; text-align: center; }

.fcs-success {
	background: var(--fcs-ok-bg);
	color: var(--fcs-ok-fg);
	border-radius: 10px;
	padding: 18px;
	font-weight: 500;
}
.fcs-closed { color: var(--fcs-muted); text-align: center; }

@media (prefers-color-scheme: dark) {
	.fcs-signup {
		--fcs-bg: #18181b;
		--fcs-fg: #f4f4f5;
		--fcs-muted: #a1a1aa;
		--fcs-line: #3f3f46;
		--fcs-field: #27272a;
		--fcs-soft: #27272a;
		--fcs-ok-bg: #052e16;
		--fcs-ok-fg: #bbf7d0;
		--fcs-err-bg: #450a0a;
		--fcs-err-fg: #fecaca;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	}
	.fcs-field input { border-color: #52525b; }
	.fcs-field input::placeholder { color: #71717a; }
}

/* Compact layout */
.fcs-signup.fcs-compact { padding: 22px 22px 18px; font-size: 15px; }
.fcs-compact .fcs-head { margin-bottom: 10px; }
.fcs-compact .fcs-eyebrow { margin-bottom: 6px; }
.fcs-compact .fcs-course { font-size: 1.4em; margin-bottom: 4px; }
.fcs-compact .fcs-intro { margin-bottom: 10px; }
.fcs-compact .fcs-bullets { padding: 10px 12px; margin-bottom: 14px; }
.fcs-compact .fcs-bullets li { margin-bottom: 4px; font-size: 0.92em; }
.fcs-compact .fcs-row { gap: 10px; margin-bottom: 10px; }
.fcs-compact .fcs-field-full { margin-bottom: 10px; }
.fcs-compact .fcs-field span { margin-bottom: 4px; }
.fcs-compact .fcs-field input { padding: 10px 12px; }
.fcs-compact .fcs-button { padding: 12px 16px; }
.fcs-compact .fcs-fine { margin-top: 8px; }
