/**
 * AISG Mailing List Sign-Up form.
 * Styled to match the AISG design: light grey card, red display heading,
 * white rounded inputs, blue-focus select, full-width red uppercase submit.
 */

.aisg-ml {
	--aisg-red: #ae2514;
	--aisg-red-dark: #8f1e10;
	--aisg-blue: #337ebd;
	--aisg-card: #ededed;
	--aisg-text: #2f3941;
	--aisg-muted: #7a7a7a;
	--aisg-border: #d8dcde;

	background: var(--aisg-card);
	padding: 40px;
	border-radius: 4px;
	max-width: 560px;
}

.aisg-ml__form {
	margin: 0;
}

.aisg-ml__title {
	color: var(--aisg-red);
	font-weight: 800;
	font-size: clamp(34px, 6vw, 52px);
	line-height: 1.05;
	letter-spacing: -0.01em;
	margin: 0 0 16px;
}

.aisg-ml__desc {
	color: var(--aisg-text);
	font-size: 18px;
	line-height: 1.5;
	margin: 0 0 28px;
}

.aisg-ml__field {
	margin-bottom: 24px;
}

.aisg-ml__field label {
	display: block;
	font-weight: 700;
	font-size: 18px;
	color: var(--aisg-text);
	margin-bottom: 10px;
	line-height: 1.4;
}

.aisg-ml__req {
	color: #e7593e;
	font-weight: 700;
}

.aisg-ml__field input,
.aisg-ml__field select {
	display: block;
	width: 100%;
	padding: 14px 16px;
	font-size: 16px;
	color: var(--aisg-text);
	background: #fff;
	border: 1px solid var(--aisg-border);
	border-radius: 8px;
	line-height: 1.4;
	box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.aisg-ml__field input::placeholder {
	color: var(--aisg-muted);
}

.aisg-ml__field input:focus,
.aisg-ml__field select:focus {
	outline: none;
	border-color: var(--aisg-blue);
	box-shadow: 0 0 0 1px var(--aisg-blue);
}

.aisg-ml__field select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23337ebd' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 44px;
	cursor: pointer;
}

/* Honeypot — visually hidden but not display:none (so bots still see it). */
.aisg-ml__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.aisg-ml__submit {
	display: block;
	width: 100%;
	padding: 18px 24px;
	margin-top: 4px;
	background: var(--aisg-red);
	color: #fff;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.aisg-ml__submit:hover {
	background: var(--aisg-red-dark);
}

.aisg-ml__submit:disabled,
.aisg-ml__submit.is-loading {
	opacity: 0.7;
	cursor: progress;
}

.aisg-ml__disclaimer {
	margin: 20px 0 0;
	color: var(--aisg-red);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.6;
}

.aisg-ml__message {
	margin: 16px 0 0;
	font-size: 15px;
	font-weight: 600;
	min-height: 1em;
}

.aisg-ml__message.is-success {
	color: #13612e;
}

.aisg-ml__message.is-error {
	color: #b82105;
}

@media (max-width: 600px) {
	.aisg-ml {
		padding: 28px 20px;
	}
}
