.form-page{
	background-color: rgba(255,255,255,0.72);
	background-image: url("../imgs/newsletter.jpg");
	background-position: center top;
	background-repeat: no-repeat;
	background-size: min(100%, 980px) auto;
	padding: 3rem 1rem 4rem;
}

.form-panel{
	width: min(100%, 620px);
	margin: 0 auto;
	padding: clamp(1.5rem, 4vw, 3rem);
	box-sizing: border-box;
	border: 1px solid rgba(0,0,0,0.14);
	border-radius: 12px;
	background: rgba(255,255,255,0.92);
	box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.form-kicker{
	margin: 0;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.65;
}

.form-panel h1{
	margin: 0.4rem 0 0.8rem;
	font-size: clamp(1.7rem, 5vw, 2.5rem);
	font-weight: 500;
	line-height: 1.15;
}

.form-panel > p{
	line-height: 1.55;
}

.form-message{
	margin: 1.2rem 0;
	padding: 0.9rem 1rem;
	border-radius: 6px;
	line-height: 1.45;
}

.form-message--success{
	background: #eaf7ed;
	color: #1c6030;
}

.form-message--error{
	background: #fff0f0;
	color: #8b2020;
}

.form-message--info{
	background: #eef5fb;
	color: #204d75;
}

.modern-form{
	display: grid;
	gap: 0.65rem;
	margin-top: 1.5rem;
}

.modern-form label{
	font-weight: 600;
}

.modern-form > label:not(.form-honeypot){
	padding: 0;
	background-image: none;
}

.modern-form input[type="email"]{
	width: 100%;
	padding: 0.8rem 0.9rem;
	border: 1px solid rgba(0,0,0,0.3);
	border-radius: 6px;
	font: inherit;
	box-sizing: border-box;
}

.modern-form input[type="email"]:focus{
	outline: 2px solid #222;
	outline-offset: 2px;
}

.modern-form button{
	justify-self: start;
	margin-top: 0.5rem;
	padding: 0.8rem 1rem;
	border: 0;
	border-radius: 6px;
	background: #222;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.modern-form button:hover,
.modern-form button:focus-visible{
	background: #444;
}

.form-honeypot{
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-secondary-link{
	display: inline-block;
	margin-top: 1.3rem;
	color: inherit;
	font-weight: 600;
}

.g-recaptcha{
	margin-top: 0.6rem;
}

@media (max-width: 600px){
	.form-page{
		padding-top: 1.5rem;
	}

	.form-panel{
		padding: 1.25rem;
	}

	.modern-form button{
		width: 100%;
	}
}
