/* Cross-template accessibility and responsive corrections. */

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid rgb(110 59 255 / 58%);
	outline-offset: 3px;
}

/* Contact and audit: keep the introduction concise and give the form its own region. */
.gc-conversion-hero__grid--intro {
	grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
	align-items: center;
}

.gc-conversion-preview {
	position: relative;
	padding: 30px;
	border: 1px solid #d7cec1;
	border-radius: 22px;
	background: rgb(255 255 255 / 72%);
	box-shadow: 0 24px 62px rgb(39 27 11 / 10%);
	backdrop-filter: blur(10px);
}

.gc-conversion-preview > p {
	margin: 0 0 18px;
	color: var(--gc-conversion-purple);
	font-size: 12px;
	font-weight: 820;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.gc-conversion-preview ol {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gc-conversion-preview li {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 14px;
	padding: 19px 0;
	border-top: 1px solid var(--gc-conversion-line);
}

.gc-conversion-preview li > span {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: rgb(110 59 255 / 11%);
	color: var(--gc-conversion-purple);
	font-size: 12px;
	font-weight: 850;
}

.gc-conversion-preview li div {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.gc-conversion-preview strong {
	font-size: 15px;
	line-height: 1.35;
}

.gc-conversion-preview small {
	color: #6b645b;
	font-size: 13px;
	line-height: 1.5;
}

.gc-conversion-form-section {
	padding: clamp(70px, 8vw, 112px) 0;
	border-top: 1px solid #ded5c8;
	background: #eee8dc;
}

.gc-conversion-form-section__inner {
	width: min(calc(100% - 40px), 900px);
}

.gc-conversion-form-section .gc-form-card {
	width: 100%;
	margin-inline: auto;
}

/* GEO/AEO carousel controls meet the 44px touch-target minimum. */
.gc-ai-demo__nav button {
	width: 44px !important;
	height: 44px !important;
	min-width: 44px;
	min-height: 44px;
}

/* A visual ecommerce mock-up must not masquerade as an operable control. */
.gc-ecom-product-ui__mock-action {
	pointer-events: none;
	user-select: none;
}

/* Useful 404 recovery, rather than a dead end. */
.gc-404 {
	padding: clamp(70px, 9vw, 132px) 0;
	background: radial-gradient(circle at 78% 16%, rgb(110 59 255 / 13%), transparent 30%), var(--gc-cream, #f6f1e7);
}

.gc-404__card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
	gap: clamp(44px, 7vw, 96px);
	align-items: center;
}

.gc-404 .gc-eyebrow {
	margin-bottom: 22px;
}

.gc-404 h1 {
	max-width: 780px;
	margin: 0;
	font-size: clamp(48px, 6vw, 78px);
	letter-spacing: -.055em;
	line-height: .98;
}

.gc-404__lead {
	max-width: 650px;
	margin: 25px 0 30px;
	color: #575047;
	font-size: 18px;
	line-height: 1.65;
}

.gc-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.gc-404__recovery {
	padding: 30px;
	border: 1px solid #d8cfbf;
	border-radius: 20px;
	background: rgb(255 255 255 / 76%);
	box-shadow: 0 24px 60px rgb(44 31 11 / 10%);
}

.gc-404__recovery h2 {
	margin: 0 0 18px;
	font-size: 25px;
}

.gc-404__search {
	display: grid;
	grid-template-columns: 1fr auto;
	margin-bottom: 22px;
}

.gc-404__search input {
	min-width: 0;
	min-height: 52px;
	padding: 12px 14px;
	border: 1px solid #cfc5b6;
	border-radius: 10px 0 0 10px;
	font-size: 16px;
}

.gc-404__search button {
	min-width: 52px;
	min-height: 52px;
	padding: 0 16px;
	border: 0;
	border-radius: 0 10px 10px 0;
	background: var(--gc-purple, #6e3bff);
	color: #fff;
	font-weight: 780;
	cursor: pointer;
}

.gc-404__links {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gc-404__links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 46px;
	padding: 10px 0;
	border-bottom: 1px solid #ded5c8;
	color: var(--gc-ink, #15130f);
	font-weight: 720;
}

@media (min-width: 768px) and (max-width: 1024px) {
	.gc-hero,
	.gc-seo-hero,
	.gc-local-hero,
	.gc-ecom-hero,
	.gc-edtech-hero,
	.gc-ai-hero,
	.gc-hub-hero,
	.gc-insights-hero,
	.gc-conversion-hero {
		padding-top: 44px !important;
		padding-bottom: 48px !important;
	}

	.gc-seo-hero h1,
	.gc-local-hero h1,
	.gc-ecom-hero h1,
	.gc-edtech-hero h1,
	.gc-ai-hero h1,
	.gc-hub-hero__copy h1,
	.gc-insights-hero h1,
	.gc-conversion-copy h1 {
		font-size: clamp(44px, 6vw, 48px) !important;
		line-height: 1 !important;
	}

	.gc-hero__grid,
	.gc-seo-hero__grid,
	.gc-local-hero__grid,
	.gc-ecom-hero__grid,
	.gc-edtech-hero__grid,
	.gc-ai-hero__grid,
	.gc-hub-hero__grid {
		gap: 24px !important;
	}

	.gc-engine {
		min-height: 430px !important;
		margin-top: -36px;
		margin-bottom: -36px;
		transform: scale(.82) !important;
		transform-origin: center;
	}

	.gc-seo-serp,
	.gc-local-mapdemo,
	.gc-ecom-searchdemo,
	.gc-edtech-discovery,
	.gc-ai-demo {
		width: min(100%, 560px) !important;
		margin-inline: auto;
		margin-top: -30px;
		margin-bottom: -30px;
		transform: scale(.9);
		transform-origin: center;
	}

	.gc-ai-demo__panels,
	.gc-ai-demo__panel {
		min-height: 360px !important;
	}

	.gc-ai-demo__nav button {
		width: 49px !important;
		height: 49px !important;
	}

	.gc-conversion-hero__grid--intro {
		grid-template-columns: minmax(0, 1.05fr) minmax(270px, .75fr) !important;
		gap: 28px !important;
	}

	.gc-conversion-copy {
		max-width: none;
	}

	.gc-conversion-copy .gc-conversion-lead {
		font-size: 17px;
		line-height: 1.58;
	}

	.gc-contact-details {
		margin-top: 24px;
	}

	.gc-contact-details > div {
		min-height: 94px;
		padding: 15px;
	}

	.gc-contact-services {
		margin-top: 20px;
	}

	.gc-conversion-preview {
		display: none;
	}
}

@media (max-width: 767px) {
	.gc-conversion-hero__grid--intro,
	.gc-404__card {
		grid-template-columns: 1fr !important;
	}

	.gc-conversion-preview {
		padding: 22px;
	}

	.gc-conversion-form-section {
		padding: 58px 0 72px;
	}

	.gc-conversion-form-section__inner {
		width: min(calc(100% - 28px), 900px);
	}

	.gc-footer-column a,
	.gc-footer-contact a,
	.gc-footer-bottom a,
	.gc-proofbar a,
	.gc-seo-proofbar a,
	.gc-local-proofbar a,
	.gc-ecom-proofbar a,
	.gc-ai-proofbar a {
		display: flex;
		align-items: center;
		min-height: 44px;
	}

	.gc-footer-column {
		gap: 2px;
	}

	.gc-404 {
		padding: 58px 0 76px;
	}

	.gc-404__card {
		gap: 34px;
	}

	.gc-404 h1 {
		font-size: clamp(40px, 12vw, 50px);
	}

	.gc-404__recovery {
		padding: 23px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gc-conversion-preview,
	.gc-404 * {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
