/*
 * XGene 1.13.10 — Enterprise Experience Finalization
 * Final Stage 8 presentation authority before Stage 9.
 * Scope: design-system normalization, conversion hierarchy, knowledge surfaces,
 * mobile economy, and perceived-speed safeguards. Presentation only.
 */

:root {
	--xg1310-section-y: clamp(4.25rem, 6vw, 6.5rem);
	--xg1310-section-y-compact: clamp(3.25rem, 4.8vw, 5rem);
	--xg1310-card-radius: 1.2rem;
	--xg1310-card-border: #d7e2eb;
	--xg1310-card-shadow: 0 10px 28px rgb(15 42 74 / 7%);
	--xg1310-card-shadow-hover: 0 20px 46px rgb(15 42 74 / 12%);
	--xg1310-copy: 44rem;
	--xg1310-reading: 45rem;
	--xg1310-muted: #53687b;
	--xg1310-warm: #d8744d;
	--xg1310-warm-hover: #bd603c;
}

/* --------------------------------------------------------------------------
   01. GLOBAL RHYTHM + TYPOGRAPHY
   -------------------------------------------------------------------------- */
body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.xg-eyebrow,
.xg-card__eyebrow,
.xg-service-card__eyebrow,
.xg-hub-route__kicker,
.xg190-kicker,
.xg111-kicker {
	font-size: .72rem !important;
	font-weight: 850 !important;
	letter-spacing: .105em !important;
	line-height: 1.25 !important;
}

.xg-hub-section,
.xg-enterprise-section,
.xg111-section,
.xg190-section,
.xg-editorial-section,
.xg-services-catalog,
.xg-service-section,
.xg-commercial-section,
.xg-page-section {
	padding-top: var(--xg1310-section-y) !important;
	padding-bottom: var(--xg1310-section-y) !important;
}

.xg-hub-heading,
.xg-enterprise-heading,
.xg-section-heading,
.xg-editorial-heading,
.xg190-heading {
	margin-bottom: clamp(1.8rem, 2.6vw, 2.6rem) !important;
}

.xg-hub-heading h2,
.xg-enterprise-heading h2,
.xg-section-heading h2,
.xg-editorial-heading h2,
.xg190-heading h2 {
	max-width: 22ch;
	line-height: 1.06 !important;
	letter-spacing: -.042em !important;
	text-wrap: balance;
}

.xg-hub-heading p,
.xg-enterprise-heading p,
.xg-section-heading p,
.xg-editorial-heading p,
.xg190-heading p {
	max-width: var(--xg1310-copy);
	color: var(--xg1310-muted);
	line-height: 1.68;
}

/* --------------------------------------------------------------------------
   02. ENTERPRISE CARD GRAMMAR
   One surface language across commercial, knowledge and proof components.
   -------------------------------------------------------------------------- */
.xg-card,
.xg-hub-route,
.xg-audience-card,
.xg-contact-path,
.xg-service-180-card,
.xg-service-grid--enterprise .xg-service-card,
.xg-analysis-feature,
.xg-analysis-side article,
.xg-evidence-card,
.xg-related-card,
.xg111-card,
.xg190-card,
.xg190-resource-card,
.xg190-related-card,
.xg190-result-card,
.xg120-card,
.xg-faq-card,
.xg-resource-card,
.xg-media-card,
.xg-contact-assurance,
.xg-about-story,
.xg-methodology-card,
body.page-id-168 .xg-filter-form,
body.page-id-168 .xg-card {
	border: 1px solid var(--xg1310-card-border) !important;
	border-radius: var(--xg1310-card-radius) !important;
	box-shadow: var(--xg1310-card-shadow) !important;
}

.xg-card,
.xg-hub-route,
.xg-audience-card,
.xg-contact-path,
.xg-service-180-card,
.xg-service-grid--enterprise .xg-service-card,
.xg-analysis-side article,
.xg-related-card,
.xg111-card,
.xg190-card,
.xg190-resource-card,
.xg190-related-card,
.xg190-result-card,
.xg120-card,
.xg-faq-card,
.xg-resource-card,
.xg-media-card,
body.page-id-168 .xg-card {
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease !important;
}

.xg-card:hover,
.xg-card:focus-within,
.xg-hub-route:hover,
.xg-hub-route:focus-visible,
.xg-audience-card:hover,
.xg-audience-card:focus-visible,
.xg-contact-path:hover,
.xg-contact-path:focus-visible,
.xg-service-180-card:hover,
.xg-service-180-card:focus-visible,
.xg-service-grid--enterprise .xg-service-card:hover,
.xg-service-grid--enterprise .xg-service-card:focus-visible,
.xg-analysis-side article:hover,
.xg-analysis-side article:focus-within,
.xg-related-card:hover,
.xg-related-card:focus-visible,
.xg111-card:hover,
.xg111-card:focus-within,
.xg190-card:hover,
.xg190-card:focus-within,
.xg190-resource-card:hover,
.xg190-resource-card:focus-visible,
.xg190-related-card:hover,
.xg190-related-card:focus-visible,
.xg190-result-card:hover,
.xg190-result-card:focus-visible,
.xg120-card:hover,
.xg120-card:focus-within,
.xg-faq-card:hover,
.xg-faq-card:focus-within,
.xg-resource-card:hover,
.xg-resource-card:focus-within,
.xg-media-card:hover,
.xg-media-card:focus-within,
body.page-id-168 .xg-card:hover {
	border-color: rgb(17 93 246 / 24%) !important;
	box-shadow: var(--xg1310-card-shadow-hover) !important;
	transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   03. CONVERSION HIERARCHY
   One warm conversion action; secondary actions stay cool/outlined.
   -------------------------------------------------------------------------- */
.xg-button,
.xg-hub-button {
	min-height: 3.05rem;
	padding: .76rem 1.12rem !important;
	border-radius: .8rem !important;
	font-size: .96rem !important;
	font-weight: 810 !important;
	letter-spacing: -.012em !important;
}

.xg-button--coral,
.xg-button--coral:visited,
.xg-hub-button--primary,
.xg-hub-button--primary:visited,
#ast-desktop-header .main-header-menu > .xg-nav-conversion > .menu-link,
#ast-desktop-header .main-header-menu > .xg-nav-conversion > .menu-link:visited {
	color: #fff !important;
	border-color: #c96842 !important;
	background: linear-gradient(135deg, #df7c55 0%, var(--xg1310-warm) 58%, #cb673f 100%) !important;
	box-shadow: 0 9px 22px rgb(169 81 49 / 18%) !important;
}

.xg-button--coral:hover,
.xg-button--coral:focus-visible,
.xg-hub-button--primary:hover,
.xg-hub-button--primary:focus-visible,
#ast-desktop-header .main-header-menu > .xg-nav-conversion > .menu-link:hover,
#ast-desktop-header .main-header-menu > .xg-nav-conversion > .menu-link:focus-visible {
	color: #fff !important;
	border-color: var(--xg1310-warm-hover) !important;
	background: linear-gradient(135deg, #c86b45, var(--xg1310-warm-hover)) !important;
	box-shadow: 0 12px 28px rgb(169 81 49 / 23%) !important;
}

.xg-button--outline,
.xg-button--outline:visited,
.xg-hub-button--light,
.xg-hub-button--light:visited {
	color: var(--xg-deep-blue) !important;
	border-color: #c6d4e1 !important;
	background: #fff !important;
	box-shadow: 0 3px 12px rgb(15 42 74 / 5%) !important;
}

.xg-button--outline:hover,
.xg-button--outline:focus-visible,
.xg-hub-button--light:hover,
.xg-hub-button--light:focus-visible {
	color: #fff !important;
	border-color: var(--xg-deep-blue) !important;
	background: var(--xg-deep-blue) !important;
}

.xg-text-link,
.xg-hub-text-link,
.xg-service-card__link,
.xg-analysis-link {
	color: var(--xg-teal) !important;
	font-weight: 790 !important;
}

/* --------------------------------------------------------------------------
   04. BUSINESS-PATHWAY CLARITY
   Make commercial routing easier to scan without changing content ownership.
   -------------------------------------------------------------------------- */
.xg-service-grid--enterprise,
.xg-hub-route-grid,
.xg-audience-grid,
.xg-contact-paths,
.xg-publication-grid,
.xg-pathway-grid {
	gap: clamp(1rem, 1.5vw, 1.35rem) !important;
}

.xg-service-grid--enterprise .xg-service-card__body,
.xg-service-180-card,
.xg-hub-route,
.xg-audience-card,
.xg-contact-path {
	padding: clamp(1.3rem, 1.8vw, 1.65rem) !important;
}

.xg-service-grid--enterprise .xg-service-card__title,
.xg-service-180-card > strong,
.xg-hub-route h3,
.xg-audience-card h3,
.xg-contact-path strong {
	font-size: clamp(1.15rem, 1.1rem + .25vw, 1.4rem) !important;
	line-height: 1.16 !important;
	letter-spacing: -.027em !important;
}

.xg-service-grid--enterprise .xg-service-card__desc,
.xg-service-180-card p,
.xg-hub-route p,
.xg-audience-card p,
.xg-contact-path small {
	color: var(--xg1310-muted) !important;
	line-height: 1.62 !important;
}

/* --------------------------------------------------------------------------
   05. KNOWLEDGE / INTELLIGENCE POLISH
   Quiet reading surfaces, stronger source-to-decision hierarchy.
   -------------------------------------------------------------------------- */
.xg-editorial-reading-content,
.xg111-prose,
.xg190-record-content,
.xg190-article-body {
	max-width: var(--xg1310-reading);
	font-size: clamp(1.02rem, .99rem + .16vw, 1.1rem);
	line-height: 1.78;
}

.xg-editorial-reading-content p,
.xg111-prose p,
.xg190-record-content p,
.xg190-article-body p {
	margin-bottom: 1.18em;
}

.xg-editorial-reading-content h2,
.xg111-prose h2,
.xg190-record-content h2,
.xg190-article-body h2 {
	margin-top: 2.7rem !important;
	margin-bottom: .8rem !important;
	line-height: 1.12 !important;
	letter-spacing: -.035em !important;
}

.xg-editorial-toc,
.xg190-record-meta,
.xg-reading-tools {
	border-color: var(--xg1310-card-border) !important;
	border-radius: 1rem !important;
	box-shadow: 0 8px 24px rgb(15 42 74 / 6%) !important;
}

.xg190-discovery,
.xg190-filter-panel,
.xg-filter-form {
	border-radius: 1.1rem !important;
}

/* --------------------------------------------------------------------------
   06. SECTION TRANSITIONS + RESTRAINT
   Reduce decorative competition; let key analytical visuals carry emphasis.
   -------------------------------------------------------------------------- */
.xg-hub-section:nth-of-type(even),
.xg-enterprise-section:nth-of-type(even),
.xg111-section:nth-of-type(even),
.xg190-section:nth-of-type(even) {
	background-image: none;
}

.xg-service-pressure-band,
.xg-home-proof,
.xg190-signal-strip,
.xg-hub-section--routes,
.xg-services-catalog {
	border-top: 1px solid rgb(15 42 74 / 6%);
	border-bottom: 1px solid rgb(15 42 74 / 6%);
}

/* --------------------------------------------------------------------------
   07. DESKTOP/TABLET CONSISTENCY
   Preserve 1.13.9 geometry while tightening repeated anchors.
   -------------------------------------------------------------------------- */
@media (min-width:1101px) {
	.xg-home-hero__grid,
	.xg-service-hub-hero__grid,
	.xg-services-hero__grid,
	.xg-service-detail-hero__grid,
	.xg-enterprise-hero__grid,
	.xg-contact-hero__grid,
	.xg-hub-hero__grid,
	.xg-compact-hero__grid,
	.xg-methodology-hero__grid,
	.xg-editorial-hub-hero__grid,
	.xg190-hero__grid,
	.xg190-knowledge-hero__grid,
	.xg111-hero__grid,
	.xg120-faq-hero__grid,
	.xg120-search-hero__grid,
	.xg611-faq-hero__grid,
	.xg-media-hero__grid {
		min-height: 35.5rem !important;
	}

	.xg-home-hero h1,
	.xg-service-hub-hero h1,
	.xg-services-hero h1,
	.xg-service-detail-hero h1,
	.xg-enterprise-hero h1,
	.xg-contact-hero h1,
	.xg-hub-hero h1,
	.xg-compact-hero h1,
	.xg-methodology-hero h1,
	.xg-editorial-hub-hero h1,
	.xg190-hero h1,
	.xg111-hero h1 {
		max-width: 13.5ch !important;
	}

	.xg-home-hero__content > p,
	.xg-services-hero__lead,
	.xg-service-detail-hero__copy > p,
	.xg-enterprise-lead,
	.xg-hub-lead,
	.xg190-hero__lead,
	.xg111-hero p {
		max-width: 42rem !important;
	}
}

/* --------------------------------------------------------------------------
   08. MOBILE EXPERIENCE
   Business-first, animation-free, immediate content, compact vertical rhythm.
   -------------------------------------------------------------------------- */
@media (max-width:1100px) {
	:root {
		--xg1310-section-y: 3.5rem;
		--xg1310-section-y-compact: 2.75rem;
	}

	.xg-home-hero__grid,
	.xg-service-hub-hero__grid,
	.xg-services-hero__grid,
	.xg-service-detail-hero__grid,
	.xg-enterprise-hero__grid,
	.xg-contact-hero__grid,
	.xg-hub-hero__grid,
	.xg-compact-hero__grid,
	.xg-methodology-hero__grid,
	.xg-editorial-hub-hero__grid,
	.xg190-hero__grid,
	.xg111-hero__grid {
		padding-top: clamp(2.5rem, 7vw, 3.6rem) !important;
		padding-bottom: clamp(2.5rem, 7vw, 3.6rem) !important;
	}

	.xg-home-hero h1,
	.xg-service-hub-hero h1,
	.xg-services-hero h1,
	.xg-service-detail-hero h1,
	.xg-enterprise-hero h1,
	.xg-contact-hero h1,
	.xg-hub-hero h1,
	.xg-compact-hero h1,
	.xg-methodology-hero h1,
	.xg-editorial-hub-hero h1,
	.xg190-hero h1,
	.xg111-hero h1 {
		max-width: 18ch !important;
		margin-bottom: .9rem !important;
	}

	.xg-button-row,
	.xg-hub-actions {
		width: 100%;
		gap: .65rem !important;
	}

	.xg-button,
	.xg-hub-button,
	body.xg-r10 .xg-button {
		width: 100%;
		min-height: 3rem !important;
		padding: .72rem .95rem !important;
	}

	.xg-card,
	.xg-hub-route,
	.xg-audience-card,
	.xg-contact-path,
	.xg-service-180-card,
	.xg-service-grid--enterprise .xg-service-card,
	.xg111-card,
	.xg190-card,
	.xg120-card,
	.xg-faq-card,
	.xg-resource-card,
	.xg-media-card {
		border-radius: 1rem !important;
		box-shadow: 0 7px 20px rgb(15 42 74 / 7%) !important;
	}

	/* No staged reveal on mobile; content should be paint-ready immediately. */
	[data-xg-reveal],
	.xg-reveal-eligible,
	.xg-section-motion-item,
	.xg110-commercial-card {
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		transition: none !important;
		animation: none !important;
	}
}

@media (max-width:600px) {
	:root {
		--xg1310-section-y: 3rem;
	}

	.xg-hub-section,
	.xg-enterprise-section,
	.xg111-section,
	.xg190-section,
	.xg-editorial-section,
	.xg-services-catalog,
	.xg-service-section,
	.xg-commercial-section,
	.xg-page-section {
		padding-top: 3rem !important;
		padding-bottom: 3rem !important;
	}
}

@media (max-width:1100px) {
	.xg1310-immediate {
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		transition: none !important;
		animation: none !important;
	}
}
