#subscribe {
	position: relative;
	display: grid;
	gap: 16px;
	width: 100%;
	margin-top: 32px;
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}

#subscribe label {
	display: grid;
	gap: 6px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}

#subscribe input:not([type="checkbox"]) {
	width: 100%;
	height: 56px;
	padding: 0 22px;
	border: 1.33px solid rgba(255, 255, 255, 0.72);
	border-radius: 100px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 16px;
}

#subscribe input:not([type="checkbox"])::placeholder {
	color: rgba(255, 255, 255, 0.72);
}

#subscribe input[aria-invalid="true"] {
	border-color: #ffd0dc;
	background: rgba(253, 100, 135, 0.16);
}

#subscribe small {
	color: #ffe4ec;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
}

#subscribe small:empty {
	display: none;
}

#subscribe > div:not([data-honeypot]) {
	display: grid;
	gap: 12px;
	align-items: start;
}

#subscribe > div:not([data-honeypot]) button {
	width: 100%;
}

#subscribe label:has(input[type="checkbox"]) {
	grid-template-columns: 22px 1fr;
	align-items: start;
	column-gap: 12px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
}

#subscribe label:has(input[type="checkbox"]) input {
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: #638dfe;
}

#subscribe label:has(input[type="checkbox"]) small {
	grid-column: 2;
}

#subscribe label a {
	color: #fff;
	font-weight: 600;
	text-underline-offset: 3px;
}

#subscribe label a:hover {
	color: #fec789;
}

#subscribe button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 56px;
	padding: 0 32px;
	border: 0;
	border-radius: 100px;
	background-image: linear-gradient(90deg, #b979f2 1%, #638dfe 107%);
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.3px;
	line-height: 24px;
	text-transform: uppercase;
	cursor: pointer;
}

#subscribe button:hover {
	filter: brightness(1.06);
}

#subscribe button:disabled {
	cursor: progress;
	opacity: 0.72;
}

#subscribe [data-status] {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
}

#subscribe [data-status]:empty {
	display: none;
}

#subscribe[data-state="success"] > label,
#subscribe[data-state="success"] > div,
#subscribe[data-state="success"] > button {
	display: none;
}

#subscribe[data-state="success"] [data-status] {
	font-size: clamp(20px, 3vw, 28px);
	font-style: italic;
	line-height: 1.3;
}

#subscribe [data-honeypot] {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

#subscribe :focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

@media (min-width: 760px) {
	#subscribe > div:not([data-honeypot]) {
		grid-template-columns: 1fr auto;
		align-items: end;
	}

	#subscribe > div:not([data-honeypot]) button {
		width: auto;
	}
}
