/*
 * Strategic Estimate - Coming Soon pattern (tb/strategic-coming-soon).
 * Loaded only when a block with the .strategic-coming-soon class renders (see app/strategic-coming-soon.php).
 * Every rule is scoped to .strategic-coming-soon so other Gravity Forms are untouched.
 */

@font-face {
	font-family: "Roboto Serif";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/roboto-serif/RobotoSerif-Medium.woff2") format("woff2");
}

.strategic-coming-soon,
.wp-block-group.strategic-coming-soon {
	--sce-black: #111b0b;
	--sce-green: #3d6622;
	--sce-white: #ffffff;
	--sce-serif: "Roboto Serif", Georgia, serif;
	--sce-sans: "Roboto", Arial, sans-serif;

	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 40px;
	min-height: 100vh;
	margin: 0;
	padding: 220px 16px 200px;
	text-align: center;
	background: var(--sce-white);
	color: var(--sce-black);
	font-family: var(--sce-sans);
}

/* Logo */
.strategic-coming-soon .strategic-coming-soon__logo {
	position: absolute;
	top: 60px;
	left: 50%;
	transform: translateX(-50%);
	width: 273px;
	margin: 0;
	font-family: var(--sce-serif);
	font-size: 28px;
	font-weight: 500;
	line-height: 26.4px;
	text-align: center;
}

.strategic-coming-soon .strategic-coming-soon__logo a {
	color: inherit;
	text-decoration: none;
}

/* Content: beat the theme's :root :where() block margins, which load after this file. */
.wp-block-group.strategic-coming-soon > * {
	margin: 0;
}

.strategic-coming-soon .strategic-coming-soon__title {
	font-family: var(--sce-serif);
	font-size: 80px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	color: var(--sce-black);
}

.strategic-coming-soon .strategic-coming-soon__text {
	max-width: 710px;
	font-family: var(--sce-sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--sce-black);
}

/*
 * Gravity Form: inline email + submit.
 * The Orbital theme sets --gf-local-* variables on the input and button with very
 * high-specificity selectors, so the control styles below need !important to win.
 */
.strategic-coming-soon .gform_wrapper.gform-theme {
	width: 100%;
	max-width: 441px;
	margin: 0;
}

.strategic-coming-soon .gform_wrapper.gform-theme form {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.strategic-coming-soon .gform_wrapper.gform-theme .gform_validation_errors {
	flex: 0 0 100%;
	margin: 0 0 16px;
}

.strategic-coming-soon .gform_wrapper.gform-theme .gform-body {
	flex: 1 1 auto;
	min-width: 0;
}

.strategic-coming-soon .gform_wrapper.gform-theme .gform_fields {
	display: block;
}

.strategic-coming-soon .gform_wrapper.gform-theme .gfield {
	margin: 0;
}

.strategic-coming-soon .gform_wrapper.gform-theme .gfield input[type="email"] {
	box-sizing: border-box !important;
	width: 100% !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 10px !important;
	border: 1px solid var(--sce-green) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: var(--sce-white) !important;
	color: var(--sce-black) !important;
	font-family: var(--sce-sans) !important;
	font-size: 16px !important;
	line-height: 1.4 !important;
	text-align: left !important;
}

.strategic-coming-soon .gform_wrapper.gform-theme .gfield input[type="email"]::placeholder {
	color: var(--sce-black);
	opacity: 0.5;
}

.strategic-coming-soon .gform_wrapper.gform-theme .gfield input[type="email"]:focus {
	outline: 2px solid var(--sce-green) !important;
	outline-offset: 0 !important;
}

.strategic-coming-soon .gform_wrapper.gform-theme .gfield_validation_message {
	margin-top: 8px;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
	font-size: 14px;
}

.strategic-coming-soon .gform_wrapper.gform-theme .gform-footer {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
}

.strategic-coming-soon .gform_wrapper.gform-theme .gform-footer .gform_button {
	height: 44px !important;
	margin: 0 !important;
	padding: 10px 20px !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: var(--sce-green) !important;
	color: var(--sce-white) !important;
	font-family: var(--sce-sans) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 22.448px !important;
	letter-spacing: 1.4px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
}

.strategic-coming-soon .gform_wrapper.gform-theme .gform-footer .gform_button:hover,
.strategic-coming-soon .gform_wrapper.gform-theme .gform-footer .gform_button:focus {
	background: var(--sce-black) !important;
}

.strategic-coming-soon .gform_confirmation_message {
	font-family: var(--sce-sans);
	font-size: 16px;
	line-height: 1.4;
	color: var(--sce-green);
}

@media (max-width: 781px) {
	.strategic-coming-soon {
		padding-top: 180px;
		padding-bottom: 120px;
	}

	.strategic-coming-soon .strategic-coming-soon__title {
		font-size: 52px;
	}
}
