/* Company Chicago — AI agents page ([cc_agentic], cc-agentic.php). Same tokens as the home page (cc-hero/hero.css):
   black #000, ink #232323, paper #fff, sky #9fcfe8 (the light blue of the Chicago flag — the one accent).
   Everything is scoped to .cca so the Flatsome theme styles around it are untouched. */

.cca {
	--cc-black: #000;
	--cc-ink: #232323;
	--cc-paper: #fff;
	--cc-grey: #f5f5f5;
	--cc-sky: #9fcfe8;
	--cc-muted: #5c5c5c;
	--cc-line: rgba(0, 0, 0, .14);
	--cc-line-dark: rgba(255, 255, 255, .18);
	--cc-max: 1240px;
	--cc-gutter: 32px;
	color: var(--cc-ink);
	font-size: 1.05rem;
	line-height: 1.55;
}

.cca *,
.cca *::before,
.cca *::after {
	box-sizing: border-box;
}

.cca h1,
.cca h2,
.cca h3,
.cca p,
.cca ul,
.cca ol {
	margin: 0;
	padding: 0;
	color: inherit;
}

.cca .cca-wrap {
	max-width: var(--cc-max);
	margin: 0 auto;
	padding: 0 var(--cc-gutter);
}

/* ---------- type ---------- */

.cca h2 {
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 600;
	letter-spacing: -.03em;
	line-height: 1.02;
	max-width: 20ch;
	margin-bottom: 1.25rem;
	text-wrap: balance;
}

.cca h3 {
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: -.015em;
	line-height: 1.2;
	margin-bottom: .6rem;
}

.cca p.cca-eyebrow {
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--cc-sky);
	margin-bottom: 1.25rem;
}

.cca p.cca-eyebrow--dark {
	color: var(--cc-muted);
}

.cca p.cca-eyebrow--dark::before {
	content: "";
	display: inline-block;
	width: .55em;
	height: .55em;
	margin-right: .6em;
	background: var(--cc-sky);
	border-radius: 50%;
	vertical-align: .05em;
}

.cca p.cca-lede {
	font-size: 1.15rem;
	max-width: 56ch;
	margin-bottom: 3rem;
}

/* ---------- buttons and links ---------- */

.cca .cca-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .9rem;
}

.cca a.cca-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: .8rem 1.6rem;
	border: 2px solid transparent;
	border-radius: 4px;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s, border-color .2s, color .2s;
}

.cca a.cca-btn--sky {
	background: var(--cc-sky);
	border-color: var(--cc-sky);
	color: var(--cc-black);
}

.cca a.cca-btn--sky:hover {
	background: var(--cc-paper);
	border-color: var(--cc-paper);
	color: var(--cc-black);
}

.cca a.cca-btn--line {
	border-color: var(--cc-line-dark);
	color: var(--cc-paper);
}

.cca a.cca-btn--line:hover {
	border-color: var(--cc-sky);
	color: var(--cc-sky);
}

.cca a.cca-more {
	display: inline-block;
	font-weight: 600;
	color: var(--cc-black);
	border-bottom: 2px solid var(--cc-sky);
	padding-bottom: 2px;
	text-decoration: none;
}

.cca a.cca-more:hover {
	border-color: var(--cc-black);
}

.cca a:focus-visible,
.cca summary:focus-visible {
	outline: 3px solid var(--cc-sky);
	outline-offset: 3px;
	box-shadow: 0 0 0 1px var(--cc-black);
}

/* ---------- hero ---------- */

.cca .cca-hero {
	background: var(--cc-black);
	color: var(--cc-paper);
	padding: clamp(5rem, 11vw, 9rem) 0 0;
	position: relative;
	overflow: hidden;
}

/* a faint sky-blue glow, top right */
.cca .cca-hero::before {
	content: "";
	position: absolute;
	top: -30%;
	right: -15%;
	width: 60vw;
	height: 60vw;
	max-width: 900px;
	max-height: 900px;
	background: radial-gradient(circle, rgba(159, 207, 232, .16), transparent 65%);
	pointer-events: none;
}

.cca .cca-hero .cca-wrap {
	position: relative;
}

.cca .cca-hero h1 {
	font-size: clamp(2.6rem, 6.4vw, 5.5rem);
	font-weight: 600;
	letter-spacing: -.04em;
	line-height: .98;
	max-width: 15ch;
	margin-bottom: 1.75rem;
	color: var(--cc-paper);
	text-wrap: balance;
}

.cca p.cca-hero__lede {
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
	line-height: 1.5;
	max-width: 52ch;
	margin-bottom: 2.5rem;
	color: rgba(255, 255, 255, .78);
}

.cca .cca-hero a.cca-btn:focus-visible {
	box-shadow: 0 0 0 1px var(--cc-paper);
}

.cca ul.cca-facts {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-top: clamp(4rem, 8vw, 6.5rem);
	border-top: 1px solid var(--cc-line-dark);
}

.cca ul.cca-facts li {
	list-style: none;
	margin: 0;
	padding: 1.6rem 1.5rem 1.8rem 0;
	color: rgba(255, 255, 255, .62);
	font-size: .98rem;
	line-height: 1.4;
}

.cca ul.cca-facts li + li {
	padding-left: 1.5rem;
	border-left: 1px solid var(--cc-line-dark);
}

.cca ul.cca-facts strong {
	display: block;
	color: var(--cc-paper);
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: .2rem;
}

/* ---------- sections ---------- */

.cca .cca-section {
	padding: clamp(4.5rem, 9vw, 7rem) 0;
	background: var(--cc-paper);
}

.cca .cca-section--grey {
	background: var(--cc-grey);
}

.cca .cca-section--black {
	background: var(--cc-black);
	color: var(--cc-paper);
}

/* use cases: 2 x 2 cards */
.cca .cca-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	margin-top: 3rem;
}

.cca .cca-card {
	border: 1px solid var(--cc-line);
	border-radius: 4px;
	padding: 2rem 2rem 2.2rem;
	background: var(--cc-paper);
	transition: border-color .2s;
}

.cca .cca-card:hover {
	border-color: var(--cc-black);
}

.cca .cca-card__num {
	display: block;
	font-size: .85rem;
	font-weight: 600;
	color: var(--cc-muted);
	margin-bottom: 2.5rem;
	font-variant-numeric: tabular-nums;
}

.cca .cca-card p {
	max-width: 46ch;
}

/* what we build: an index, like the home page services */
.cca .cca-index__row {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 2rem;
	padding: 2.25rem 0;
	border-top: 1px solid var(--cc-line);
}

.cca .cca-index__row:last-child {
	border-bottom: 1px solid var(--cc-line);
}

.cca .cca-index__row h3 {
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
	letter-spacing: -.03em;
	line-height: 1.05;
	margin: 0;
	max-width: 14ch;
}

.cca .cca-index__row p {
	max-width: 52ch;
}

/* how it works: five steps on black */
.cca ol.cca-steps {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	margin-top: 3.5rem;
	border-top: 1px solid var(--cc-line-dark);
}

.cca ol.cca-steps li {
	list-style: none;
	margin: 0;
	padding: 2rem 1.5rem 0 0;
}

.cca ol.cca-steps li + li {
	padding-left: 1.5rem;
	border-left: 1px solid var(--cc-line-dark);
}

.cca .cca-steps__num {
	display: block;
	font-size: clamp(2.5rem, 4vw, 3.5rem);
	font-weight: 600;
	letter-spacing: -.04em;
	line-height: 1;
	color: var(--cc-sky);
	margin-bottom: 1.5rem;
	font-variant-numeric: tabular-nums;
}

.cca ol.cca-steps h3 {
	color: var(--cc-paper);
}

.cca ol.cca-steps p {
	color: rgba(255, 255, 255, .7);
	font-size: .98rem;
}

/* what it costs */
.cca .cca-prices {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 3rem;
}

.cca .cca-price {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--cc-line);
	border-radius: 4px;
	padding: 2rem;
}

.cca .cca-price p {
	margin-bottom: 1.5rem;
}

.cca p.cca-price__amount {
	font-size: clamp(1.8rem, 2.8vw, 2.4rem);
	font-weight: 600;
	letter-spacing: -.03em;
	line-height: 1.1;
	margin-bottom: 1rem;
}

.cca p.cca-price__amount small {
	font-size: .95rem;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--cc-muted);
}

.cca .cca-price a.cca-more {
	margin-top: auto;
	align-self: flex-start;
}

.cca .cca-price--dark {
	background: var(--cc-black);
	border-color: var(--cc-black);
	color: var(--cc-paper);
}

.cca .cca-price--dark p.cca-price__amount {
	color: var(--cc-sky);
}

.cca .cca-price--dark p.cca-price__amount small {
	color: rgba(255, 255, 255, .65);
}

.cca .cca-price--dark a.cca-more {
	color: var(--cc-paper);
}

.cca .cca-price--dark a.cca-more:hover {
	border-color: var(--cc-paper);
}

.cca .cca-price--dark a.cca-more:focus-visible {
	box-shadow: 0 0 0 1px var(--cc-paper);
}

/* questions */
.cca .cca-faq-wrap {
	display: grid;
	grid-template-columns: 4fr 8fr;
	gap: 3rem;
}

.cca .cca-faq details {
	border-top: 1px solid var(--cc-line);
}

.cca .cca-faq details:last-child {
	border-bottom: 1px solid var(--cc-line);
}

.cca .cca-faq summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
	padding: 1.4rem 0;
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: -.01em;
	color: var(--cc-black);
}

.cca .cca-faq summary::-webkit-details-marker {
	display: none;
}

/* a plus that turns into a minus */
.cca .cca-faq summary::after {
	content: "";
	flex: 0 0 18px;
	height: 18px;
	background:
		linear-gradient(var(--cc-black), var(--cc-black)) center / 18px 2px no-repeat,
		linear-gradient(var(--cc-black), var(--cc-black)) center / 2px 18px no-repeat;
	transition: transform .2s;
}

.cca .cca-faq details[open] summary::after {
	background: linear-gradient(var(--cc-black), var(--cc-black)) center / 18px 2px no-repeat;
}

.cca .cca-faq details p {
	padding: 0 3rem 1.6rem 0;
	max-width: 62ch;
}

/* closing call to action */
.cca .cca-cta {
	background: var(--cc-black);
	color: var(--cc-paper);
	padding: clamp(5rem, 10vw, 8rem) 0;
	border-top: 1px solid var(--cc-line-dark);
}

.cca .cca-cta h2 {
	font-size: clamp(2.4rem, 5.5vw, 4.5rem);
	letter-spacing: -.04em;
	max-width: 16ch;
	color: var(--cc-paper);
}

.cca .cca-cta p {
	font-size: 1.2rem;
	max-width: 48ch;
	margin-bottom: 2.5rem;
	color: rgba(255, 255, 255, .75);
}

.cca .cca-cta a.cca-btn:focus-visible {
	box-shadow: 0 0 0 1px var(--cc-paper);
}

/* ---------- smaller screens ---------- */

@media (max-width: 1000px) {
	.cca ol.cca-steps {
		grid-template-columns: 1fr;
	}

	.cca ol.cca-steps li,
	.cca ol.cca-steps li + li {
		display: grid;
		grid-template-columns: 4.5rem 1fr;
		column-gap: 1rem;
		padding: 1.75rem 0;
		border-left: 0;
		border-bottom: 1px solid var(--cc-line-dark);
	}

	.cca .cca-steps__num {
		grid-row: span 2;
		font-size: 2.2rem;
		margin: 0;
	}

	.cca .cca-prices {
		grid-template-columns: 1fr;
	}

	.cca .cca-faq-wrap {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
}

@media (max-width: 760px) {
	.cca {
		--cc-gutter: 20px;
	}

	.cca ul.cca-facts {
		grid-template-columns: 1fr;
	}

	.cca ul.cca-facts li,
	.cca ul.cca-facts li + li {
		padding: 1.1rem 0;
		border-left: 0;
		border-bottom: 1px solid var(--cc-line-dark);
	}

	.cca ul.cca-facts li:last-child {
		border-bottom: 0;
	}

	.cca .cca-grid {
		grid-template-columns: 1fr;
	}

	.cca .cca-card__num {
		margin-bottom: 1.25rem;
	}

	.cca .cca-index__row {
		grid-template-columns: 1fr;
		gap: .75rem;
	}

	.cca .cca-actions a.cca-btn {
		width: 100%;
	}

	.cca .cca-faq details p {
		padding-right: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cca * {
		transition: none !important;
	}
}
