/*
	AI Profit Roadmap page styles (loaded only by airoadmap.html).
	Builds on the Solid State template in main.css and reuses its palette:
	slate #2e3141 / #353849, spotlight indigo #4c5c96 #45558d #3f4e85 #39477c,
	button blue #4c5c96 (hover #53639e), light indigo #5b6ba6 / #7985b0.
*/

/* ---------- Hero / banner ---------- */
#banner.ar-hero { position: relative; overflow: hidden; padding: 9em 0 7em 0; }
#banner.ar-hero .inner { position: relative; z-index: 1; width: 64em; max-width: 100%; }
#banner.ar-hero .inner > * { max-width: 54%; }
.ar-hero-photo {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 58%;
	z-index: 0;
	pointer-events: none;
	/* Fade every edge to transparent so the photo melts into the banner's
	   rendered background (#2e3141 + bg.jpg) with no visible edge. */
	-webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 25%, rgba(0,0,0,0.75) 48%, #000 70%),
		linear-gradient(to bottom, transparent 0%, #000 18%, #000 72%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 25%, rgba(0,0,0,0.75) 48%, #000 70%),
		linear-gradient(to bottom, transparent 0%, #000 18%, #000 72%, transparent 100%);
	mask-composite: intersect;
}
.ar-hero-photo img {
	width: 100%; height: 100%;
	object-fit: cover; object-position: 60% 35%;
	display: block;
	opacity: 0.85;
}
#banner .ar-logo { width: 340px; max-width: 100%; height: auto; display: block; }
#banner.ar-hero h2, #banner.ar-hero h1 { font-size: 2.6em; line-height: 1.2; }
#banner.ar-hero p { margin-bottom: 2.2em; }
.ar-hero-lead {
	display: block;
	font-weight: 700;
	font-size: 1.3em;
	letter-spacing: 0.06em;
	color: #ffffff;
	margin-bottom: 0.6em;
	line-height: 1.5;
}
.ar-hero-sub {
	display: block;
	text-transform: none;
	letter-spacing: 0.02em;
	font-weight: 300;
	font-size: 1.15em;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
}
#banner.ar-hero .actions { margin-bottom: 0; }

/* ---------- Shared content patterns ---------- */
.ar-page .wrapper .inner { padding-top: 3.5em; padding-bottom: 2em; }
.ar-page .spotlight .content { text-align: left; }
.ar-page .spotlight .image { flex-shrink: 0; box-shadow: 0 1.25em 2.5em rgba(0, 0, 0, 0.18); }
.ar-page .spotlight .inner { align-items: flex-start; }
.ar-page .spotlight .image { margin-top: 0.5em; aspect-ratio: 1 / 1; }
.ar-page .spotlight .image img { height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.ar-lead { font-size: 1.15em; line-height: 1.6; color: #ffffff; }
.ar-kicker { font-weight: 600; color: #ffffff; }
.ar-label {
	font-size: 0.8em;
	letter-spacing: 0.2em;
	color: rgba(255, 255, 255, 0.75);
	margin: 1.5em 0 1em 0;
}
.ar-prose p:last-child { margin-bottom: 0; }

.ar-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	gap: 2.5em;
	align-items: start;
}

/* Problem intro */
.ar-quote {
	margin: 0;
	padding: 1.6em 1.6em 1.6em 1.8em;
	border-left: solid 4px #5b6ba6;
	border-radius: 0 6px 6px 0;
	background: #4c5c96;
	font-style: normal;
}
.ar-quote p {
	margin: 0;
	font-family: Raleway, Helvetica, sans-serif;
	font-size: 1.15em;
	line-height: 1.5;
	font-weight: 400;
	color: #ffffff;
}
.ar-quote em { display: block; margin-top: 0.6em; font-size: 1.2em; font-weight: 700; color: #ffffff; }
.ar-bridge {
	margin: 2.25em 0 0 0;
	padding-top: 1.5em;
	border-top: solid 2px rgba(255, 255, 255, 0.125);
	font-size: 1.2em;
	color: #ffffff;
}
.ar-bridge .icon { margin-right: 0.6em; color: #7985b0; }

/* Evaluation tiles (inside the indigo spotlight) */
.ar-tiles, .ar-checks {
	list-style: none;
	padding: 0;
	margin: 0 0 2em 0;
	display: grid;
	gap: 0.75em;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ar-tiles li, .ar-checks li {
	display: flex;
	align-items: center;
	gap: 0.85em;
	padding: 0.85em 1em;
	margin: 0;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.075);
	line-height: 1.35;
	color: #ffffff;
}
.ar-tiles li .icon {
	flex: 0 0 2.2em;
	width: 2.2em; height: 2.2em;
	border-radius: 100%;
	border: solid 2px rgba(255, 255, 255, 0.25);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 0.85em;
}
.ar-tiles li.ar-tile-wide { grid-column: span 2; }

.ar-callout {
	display: flex;
	align-items: center;
	gap: 1.1em;
	padding: 1.25em 1.5em;
	border-radius: 6px;
	background: #2e3141;
	margin-bottom: 2em;
}
.ar-callout .icon { flex: 0 0 auto; font-size: 1.5em; color: #7985b0; }
.ar-callout p { margin: 0; font-size: 1.05em; color: #ffffff; font-weight: 400; }

/* Why projects fail */
.ar-compare {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5em;
	align-items: stretch;
	margin-bottom: 2em;
}
.ar-card {
	position: relative;
	padding: 1.75em 1.75em 1.5em 1.75em;
	border-radius: 6px;
	overflow: hidden;
}
.ar-card p:last-of-type { margin-bottom: 0; }
.ar-card-title {
	font-family: Raleway, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 1.05em;
	line-height: 1.45;
	color: #ffffff;
}
.ar-card--muted { background: rgba(0, 0, 0, 0.12); }
.ar-card--muted p { color: rgba(255, 255, 255, 0.8); }
.ar-card--muted .ar-card-title { color: #ffffff; }
.ar-xlist > span { display: block; padding: 0.2em 0; }
.ar-xlist .icon { margin-right: 0.65em; opacity: 0.6; }
.ar-card--accent { background: #2e3141; box-shadow: 0 1em 2em rgba(0, 0, 0, 0.15); }
.ar-card--accent p { color: #ffffff; font-size: 1.1em; }
.ar-card--accent .ar-card-title { font-size: 1.15em; }
.ar-card-icon {
	position: absolute;
	right: 0.3em;
	bottom: -0.2em;
	font-size: 6em;
	color: rgba(255, 255, 255, 0.06);
	pointer-events: none;
}

/* Deliverables: template features grid, numbered */
.ar-steps { counter-reset: arstep; }
.ar-steps article { counter-increment: arstep; position: relative; }
.ar-steps article:before {
	content: counter(arstep, decimal-leading-zero);
	position: absolute;
	top: 1.1em;
	right: 1.6em;
	font-family: Raleway, Helvetica, sans-serif;
	font-weight: 800;
	font-size: 2.2em;
	line-height: 1;
	color: rgba(255, 255, 255, 0.14);
}
.ar-steps .icon.major {
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.6em; height: 2.6em;
	border-radius: 100%;
	background: #4c5c96;
	color: #ffffff;
	font-size: 1.05em;
	margin-bottom: 1em;
}
.ar-steps h3.major { padding-right: 3.5em; }

/* Who it's for */
.ar-checks li { align-items: flex-start; }
.ar-checks .icon {
	flex: 0 0 1.6em;
	width: 1.6em; height: 1.6em;
	margin-top: 0.05em;
	border-radius: 100%;
	display: inline-flex; align-items: center; justify-content: center;
	background: #ffffff;
	color: #3f4e85;
	font-size: 0.75em;
}

/* Closing CTA: photo fades into the slate wrapper on every edge */
.ar-cta-section { overflow: visible; }
.ar-cta-photo {
	position: absolute;
	inset: 0;
	background: url("../../images/web-banner-connection1-cta.webp") center 45% / cover no-repeat;
	opacity: 0.22;
	-webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%);
	mask-image: radial-gradient(closest-side, #000 35%, transparent 100%);
	pointer-events: none;
}
.ar-cta-section .inner { position: relative; z-index: 1; }
.ar-cta { text-align: center; padding: 2em 0 1.5em 0; text-shadow: 0 1px 12px rgba(46, 49, 65, 0.9); }
.ar-cta h2 { font-size: 1.9em; line-height: 1.3; margin-bottom: 0.9em; }
.ar-cta p { max-width: 36em; margin-left: auto; margin-right: auto; color: rgba(255, 255, 255, 0.9); font-size: 1.1em; }
.ar-cta .ar-cta-strong { color: #ffffff; }
.ar-cta .actions { justify-content: center; margin-bottom: 0; }
.ar-cta .actions li { padding-left: 0; }

/* ---------- Responsive ---------- */
@media screen and (max-width: 1280px) {
	#banner.ar-hero { padding: 8em 3em 9em 3em; }
}

@media screen and (max-width: 980px) {
	#banner.ar-hero { padding: 8em 3em 10em 3em; }
	.ar-hero-photo { width: 70%; opacity: 0.7; }
	#banner.ar-hero h2, #banner.ar-hero h1 { font-size: 2.2em; }
	.ar-page .spotlight .image { width: 14em; }
}

@media screen and (max-width: 736px) {
	#banner.ar-hero { padding: 5.5em 1.75em 5em 1.75em; }
	.ar-hero-photo {
		width: 100%;
		opacity: 0.3;
		-webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 55%, transparent 100%);
		mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 55%, transparent 100%);
	}
	#banner .ar-logo { width: 240px; }
	#banner.ar-hero .inner > * { max-width: 100%; }
	#banner.ar-hero h2, #banner.ar-hero h1 { font-size: 1.75em; }
	.ar-hero-lead { font-size: 1.25em; }
	.ar-hero-sub { font-size: 1.15em; }
	.ar-split, .ar-compare { grid-template-columns: minmax(0, 1fr); gap: 1.25em; }
	.ar-split { gap: 1.75em; }
	.ar-page .spotlight .inner { display: block; }
	.ar-page .spotlight .image { width: 11em; margin: 0 0 1.5em 0 !important; }
	.ar-lead { font-size: 1.05em; }
	.ar-cta h2 { font-size: 1.35em; }
	.ar-cta p { font-size: 1em; }
	.ar-cta-photo { opacity: 0.18; }
}

@media screen and (max-width: 480px) {
	.ar-tiles, .ar-checks { grid-template-columns: minmax(0, 1fr); gap: 0.6em; }
	.ar-tiles li.ar-tile-wide { grid-column: auto; }
	.ar-card { padding: 1.5em 1.35em 1.35em 1.35em; }
	.ar-callout { padding: 1.15em; gap: 0.9em; }
	.ar-steps article:before { top: 0.4em; right: 0.2em; font-size: 1.8em; }
	.ar-cta .actions li, #banner.ar-hero .actions li { width: 100%; }
	.ar-cta .actions .button, #banner.ar-hero .actions .button { width: 100%; white-space: normal; height: auto; line-height: 1.4; padding: 1em 1.25em; }
}
