.ic-section {
	position: relative;
	background: var(--wp--preset--color--base);
}

/* Sections sit edge to edge, without the editor's block spacing. */
.ic-main-wide,
.is-layout-flow > .ic-section {
	margin-block-start: 0;
}

.ic-section--navy {
	background: radial-gradient(50% 70% at 85% 10%, rgba(94, 110, 245, 0.45) 0%, rgba(94, 110, 245, 0) 70%), radial-gradient(40% 60% at 5% 100%, rgba(247, 163, 27, 0.14) 0%, rgba(247, 163, 27, 0) 70%), var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}

.ic-section__inner {
	display: flex;
	flex-direction: column;
	gap: 48px;
	max-width: 1120px;
	margin: 0 auto;
	padding: var(--ic-pt, 112px) var(--ml-gutter) var(--ic-pb, 112px);
}

.ic-title {
	margin: 0;
	color: var(--wp--preset--color--heading);
	font-size: clamp(32px, 3.6vw, 48px);
	font-weight: 600;
	letter-spacing: -1.2px;
	line-height: 1.1;
}

.ic-section--navy .ic-title {
	color: var(--wp--preset--color--base);
}

.ic-title__muted {
	color: #858ca3;
}

.ic-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 48px;
}

.ic-head__main {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 560px;
}

.ic-head__main .ml-pill {
	align-self: flex-start;
}

.ic-head__text {
	max-width: 460px;
	margin: 0;
	color: var(--wp--preset--color--body);
	font-size: 17px;
}

.ic-head__text strong {
	color: var(--wp--preset--color--heading);
	font-weight: 600;
}

.ic-section--navy .ic-head__text {
	color: var(--wp--preset--color--border-strong);
}

.ic-pill--glass {
	border-color: rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.08);
	color: #c9d0ff;
}

/* Cards that lift under the pointer. */
.ic-lift {
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.ic-lift:hover {
	box-shadow: 0 30px 64px rgba(7, 10, 77, 0.13);
	transform: translateY(-6px);
}

@keyframes ic-up {

	from {
		opacity: 0;
		transform: translateY(32px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* Rise into place while scrolling, where browsers support scroll timelines. */
@media (prefers-reduced-motion: no-preference) {

	@supports (animation-timeline: view()) {

		:is(.ic-motion, .ic-motion *):is(.ic-rv, .ic-rv1, .ic-rv2, .ic-rv3) {
			animation: ic-up linear both;
			animation-timeline: view();
		}

		:is(.ic-motion, .ic-motion *).ic-rv {
			animation-range: entry 0% cover 26%;
		}

		:is(.ic-motion, .ic-motion *).ic-rv1 {
			animation-range: entry 6% cover 31%;
		}

		:is(.ic-motion, .ic-motion *).ic-rv2 {
			animation-range: entry 12% cover 36%;
		}

		:is(.ic-motion, .ic-motion *).ic-rv3 {
			animation-range: entry 18% cover 41%;
		}

		/* The rise keeps hold of transform, so the lift moves with translate. */
		:is(.ic-motion, .ic-motion *).ic-lift:is(.ic-rv, .ic-rv1, .ic-rv2, .ic-rv3):hover {
			translate: 0 -6px;
		}
	}
}

@media (max-width: 900px) {

	.ic-section {
		overflow-x: clip;
	}

	.ic-section__inner {
		--ic-pt: 88px;
		--ic-pb: 88px;
		box-sizing: border-box;
		max-width: 100%;
	}
}

@media (max-width: 640px) {

	.ic-section {
		--ml-gutter: 24px;
		font-size: 13px;
		text-align: center;
	}

	.ic-section__inner {
		--ic-pt: 64px;
		--ic-pb: 64px;
	}

	/* The phone text scale. Block styles set the exceptions; the app screen
	   keeps its own sizes. */
	.ic-section :is(p, li, label):not(:where(.ap-root *)) {
		font-size: 13px;
		font-weight: 400;
	}

	.ic-section h2:not(:where(.ap-root *)) {
		font-size: 24px;
		letter-spacing: -0.6px;
		line-height: 1.2;
	}

	.ic-section h3:not(:where(.ap-root *)) {
		font-size: 16px;
		line-height: 1.3;
	}

	.ic-head {
		justify-content: center;
	}

	.ic-head__main {
		align-items: center;
	}

	.ic-section .ml-pill,
	.ic-head__main .ml-pill {
		align-self: center;
	}

	.ic-head__text {
		margin-right: auto;
		margin-left: auto;
	}

	.ic-section a.ml-btn {
		display: flex;
		box-sizing: border-box;
		width: 100%;
		justify-content: center;
		font-size: 15px;
		text-align: center;
		white-space: normal;
	}
}

@media (prefers-reduced-motion: reduce) {

	.ic-lift {
		transition: none;
	}
}

/* Sections that run straight into the next one, at every width. */
.ic-section__inner.ic-section__inner--flush {
	padding-bottom: 0;
}
