/*
 * Fastrr section components (inc/components.php).
 *
 * The section shell — background, divider, vertical rhythm, gutter — and the
 * headings (.section h2 silver, h2 em purple, .section-sub), the FAQ
 * (.faq-section), the closing CTA (.repeat-cta) and the brand band
 * (.brandband) all come from fastrr.css, as on the homepage. This file adds
 * cards, rails, grids, stat rows and media cards, with the Checkout page's
 * card and slider measurements.
 */

.fc {
	--fc-gutter: max(6vw, 50vw - 750px);
	--fc-card-bg: #0f0e13;
	--fc-card-line: #ffffff1a;
	--fc-card-radius: 22px;
	--fc-card-pad: 12px;
	--fc-visual-radius: 18px;
	--fc-text: #b5afbe;
	--fc-title: #ece8f3;
	--fc-accent: linear-gradient(115deg, #fff 0%, #dccbff 30%, #a76dff 85%);
	--fc-accent-solid: #c8acff;
	--fc-display: "Bricolage Grotesque", "Bricolage Grotesque Fallback", Arial, Helvetica, sans-serif;
}

/* ---- Section surfaces ('surface' arg): backgrounds for key sections ---- */

.fc.has-surface {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.fc-surface {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

/* glow: the homepage light field (.cta-light-field colours), rising softly
   from the bottom and breathing, with faint dust. */
.is-surface-glow .fc-surface {
	background:
		radial-gradient(48% 70% at 50% 118%, #bc91de8c 0%, #72369866 22%, #32153f40 42%, #32153f00 66%),
		radial-gradient(30% 40% at 15% 110%, #7c3aed26, #7c3aed00 70%),
		radial-gradient(30% 40% at 85% 110%, #a76dff21, #a76dff00 70%);
	transform-origin: 50% 100%;
	animation: fc-breathe 9s ease-in-out infinite alternate;
}

.is-surface-glow .fc-surface::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle, #e7d6ff 0 1px, #0000 1.6px),
		radial-gradient(circle, #c9a8ff 0 .8px, #0000 1.4px);
	background-position: 0 0, 40px 60px;
	background-size: 180px 180px, 110px 110px;
	opacity: .35;
	-webkit-mask-image: linear-gradient(0deg, #000, #0000 70%);
	mask-image: linear-gradient(0deg, #000, #0000 70%);
}

/* grid: the site's background bars with a soft top glow — for process /
   steps sections. */
.is-surface-grid .fc-surface {
	background:
		radial-gradient(55% 60% at 50% 0%, #7c3aed33, #7c3aed00 70%),
		repeating-linear-gradient(90deg, #ffffff08 0 1px, #fff0 1px 64px),
		repeating-linear-gradient(0deg, #ffffff06 0 1px, #fff0 1px 64px);
	-webkit-mask-image: radial-gradient(75% 85% at 50% 30%, #000 40%, #0000 100%);
	mask-image: radial-gradient(75% 85% at 50% 30%, #000 40%, #0000 100%);
}

@keyframes fc-breathe {
	0% { opacity: .8; transform: scale(1); }
	100% { opacity: 1; transform: scale(1.06); }
}

/* ---- Steps: numbered timeline (fastrr_fc_steps) ---- */

.fc-timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* The track: from the first node's centre to the last's. */
.fc-timeline::before {
	content: "";
	position: absolute;
	top: 32px;
	left: calc(100% / var(--steps, 4) / 2);
	right: calc(100% / var(--steps, 4) / 2);
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, #a76dff, #dccbff 50%, #a76dff);
	box-shadow: 0 0 18px #7c3aed80;
	opacity: .55;
}

.fc-step {
	position: relative;
	display: grid;
	align-content: start;
	justify-items: center;
	gap: 22px;
	text-align: center;
}

.fc-step-node {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border: 1px solid #a76dff99;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 35%, #2d1a4d, #120c1c 70%);
	box-shadow: 0 0 0 8px var(--section-bg, #08060b), 0 0 34px #7c3aed66, inset 0 1px #ffffff26;
	font-family: var(--fc-display);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -.02em;
	color: #e2d6ff;
}

.fc-step-copy {
	display: grid;
	gap: 6px;
	max-width: 240px;
}

.fc-step-label {
	color: #9d8bb8;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.fc .fc-step h3 {
	margin: 0;
	color: var(--fc-title);
	-webkit-text-fill-color: currentColor;
	background: none;
	font-family: var(--fc-display);
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -.02em;
	line-height: 1.25;
}

.fc .fc-step p {
	margin: 0;
	color: var(--fc-text);
	font-size: 14px;
	line-height: 1.55;
}

/* Vertical timeline when the steps no longer fit in one row. */
@media (width <= 800px) {
	.fc-timeline {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.fc-timeline::before {
		top: 28px;
		bottom: 28px;
		left: 27px;
		right: auto;
		width: 2px;
		height: auto;
		background: linear-gradient(180deg, #a76dff, #dccbff 50%, #a76dff);
	}

	.fc-step {
		grid-template-columns: 56px minmax(0, 1fr);
		align-items: center;
		justify-items: start;
		gap: 18px;
		text-align: left;
	}

	.fc-step-node {
		width: 56px;
		height: 56px;
		font-size: 19px;
		box-shadow: 0 0 0 6px var(--section-bg, #08060b), 0 0 26px #7c3aed66, inset 0 1px #ffffff26;
	}

	.fc-step-copy {
		max-width: none;
	}

	.fc .fc-step h3 {
		font-size: 18px;
	}
}

/* ---- Section heading ---- */

.fc-head {
	max-width: 900px;
	margin: 0 auto var(--head-gap, 48px);
	text-align: center;
}

.fc-head.is-left {
	margin-left: 0;
	text-align: left;
}

.fc-head .section-sub {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

.fc-head.is-left .section-sub {
	margin-left: 0;
}

/* ---- Card (Checkout .solution-glass) ---- */

.fc-card {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: var(--fc-card-pad);
	border: 1px solid var(--fc-card-line);
	border-radius: var(--fc-card-radius);
	background: var(--fc-card-bg);
	transition: border-color .25s, transform .3s;
}

.fc-card:hover {
	border-color: #c8acff40;
	transform: translateY(-3px);
}

.fc-visual {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: var(--fc-visual-radius);
	background: #f4f2fb;
	isolation: isolate;
}

.fc-visual::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px #ffffff1f;
	pointer-events: none;
}

.fc-visual img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fc-card-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 6px 0;
}

.fc-icon {
	width: 44px;
	height: 44px;
	padding: 8px;
	border-radius: 12px;
	background: #ffffff10;
	object-fit: contain;
}

.fc-tag {
	padding: 6px 12px;
	border: 1px solid #a76dff59;
	border-radius: 999px;
	background: #7b4dff26;
	color: #e2d6ff;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .02em;
}

.fc-card-copy {
	display: grid;
	gap: 10px;
	padding: 18px 8px 8px;
}

.fc .fc-card h3 {
	margin: 0;
	color: var(--fc-title);
	-webkit-text-fill-color: currentColor;
	background: none;
	font-family: var(--fc-display);
	font-size: 21px;
	font-weight: 600;
	letter-spacing: -.02em;
	line-height: 1.2;
}

.fc .fc-card p {
	margin: 0;
	color: var(--fc-text);
	font-size: 14px;
	line-height: 1.55;
}

.fc-ticks {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fc-ticks li {
	position: relative;
	padding-left: 24px;
	color: var(--fc-text);
	font-size: 14px;
	line-height: 1.55;
}

.fc-ticks li::before {
	content: "";
	position: absolute;
	top: .3em;
	left: 0;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2 6.8 11 12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat, linear-gradient(135deg, #c8acff, #a76dff);
}

/* ---- Rail (Checkout features slider): full-bleed, snap, arrows ---- */

.fc-rail {
	display: grid;
	grid-auto-columns: clamp(300px, 26vw, 400px);
	grid-auto-flow: column;
	gap: 16px;
	margin: 0 calc(-1 * var(--fc-gutter));
	/* Room above/below for the hover lift and the reveal, and no vertical
	   scrolling: a horizontal scroller would otherwise scroll vertically too. */
	padding: 8px var(--fc-gutter) 12px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-padding-inline: var(--fc-gutter);
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	list-style: none;
}

.fc-rail::-webkit-scrollbar {
	display: none;
}

.fc-rail > li {
	scroll-snap-align: start;
}

.fc-rail:focus-visible {
	outline: 2px solid #c8acff;
	outline-offset: 4px;
}

.fc-arrows {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 28px;
}

.fc-arrows button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid #ffffff3a;
	border-radius: 50%;
	background: #ffffff08;
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	transition: background .2s, border-color .2s;
}

.fc-arrows button:hover:not(:disabled) {
	border-color: #fff;
	background: #ffffff14;
}

.fc-arrows button:disabled {
	opacity: .35;
	cursor: default;
}

/* ---- Grid ---- */

.fc-grid {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fc-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fc-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fc-grid.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fc-grid.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Cards without an image (steps) sit their copy under the meta row. */
.fc-card:not(:has(.fc-visual)) .fc-card-copy {
	padding-top: 14px;
}

.fc-grid.is-2 .fc-visual {
	order: 2;
	margin-top: auto;
	aspect-ratio: 16 / 9;
}

/* ---- Linked cards (card 'url' / 'more') ---- */

.fc-card.is-link {
	padding: 0;
}

.fc-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: var(--fc-card-pad, 12px);
	border-radius: inherit;
	color: inherit;
	text-decoration: none;
}

.fc-card-link:focus-visible {
	outline: 2px solid #a76dff;
	outline-offset: 2px;
}









.fc-card-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 6px;
	color: #c8acff;
	font-size: 14px;
	font-weight: 500;
}

.fc-card-more::after {
	content: "→";
	transition: translate .25s;
}

.fc-card.is-link:hover .fc-card-more::after {
	translate: 4px 0;
}


/* ---- Feature cards (grid style 'feature') ---- */

:is(.fc-grid, .fc-rail).is-feature {
		gap: 24px;
}

:is(.fc-grid, .fc-rail).is-feature > .fc-card {
	position: relative;
	padding: 14px;
	border: 1px solid transparent;
	border-radius: 28px;
	background:
		radial-gradient(70% 55% at 20% 0%, #7c3aed2e, #7c3aed00 70%) padding-box,
		linear-gradient(180deg, #16121f, #0d0b12) padding-box,
		linear-gradient(150deg, #a76dff80, #ffffff14 40%, #ffffff0a 70%, #a76dff40) border-box;
	box-shadow: 0 30px 70px #0006;
}

:is(.fc-grid, .fc-rail).is-feature > .fc-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 34px 80px #0008, 0 0 50px #7c3aed26;
}

:is(.fc-grid, .fc-rail).is-feature .fc-card-copy {
	gap: 12px;
	padding: 22px 16px 20px;
}

.fc :is(.fc-grid, .fc-rail).is-feature .fc-card h3 {
	font-size: clamp(24px, 2vw, 30px);
	font-weight: 500;
	letter-spacing: -.035em;
}

.fc :is(.fc-grid, .fc-rail).is-feature .fc-card p {
	max-width: 46ch;
	font-size: 15px;
}

/* Points as chips. */
:is(.fc-grid, .fc-rail).is-feature .fc-ticks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

:is(.fc-grid, .fc-rail).is-feature .fc-ticks li {
	padding: 8px 14px 8px 30px;
	border: 1px solid #ffffff1a;
	border-radius: 999px;
	background: #ffffff08;
	color: #e7e2ef;
	font-size: 13px;
	line-height: 1.3;
}

:is(.fc-grid, .fc-rail).is-feature .fc-ticks li::before {
	top: 50%;
	left: 10px;
	width: 13px;
	height: 13px;
	translate: 0 -50%;
	background-size: 9px, auto;
}

/* Image in an inset, glowing frame. */
:is(.fc-grid, .fc-rail).is-feature .fc-visual {
	margin-top: auto;
	border-radius: 20px;
	box-shadow: 0 0 0 1px #ffffff1f, 0 18px 50px #7c3aed33;
}

/* Feature rail: narrower cards, a shorter image on top, the badge over it. */
.fc-rail.is-feature {
	grid-auto-columns: clamp(280px, 24vw, 350px);
	gap: 20px;
	padding-top: 12px;
	padding-bottom: 18px;
}

.fc-rail.is-feature .fc-visual {
	order: -1;
	margin-top: 0;
	aspect-ratio: 4 / 3;
}

.fc-rail.is-feature .fc-visual img {
	object-position: center 35%;
	transition: scale .6s cubic-bezier(.22, 1, .36, 1);
}

.fc-rail.is-feature > .fc-card:hover .fc-visual img {
	scale: 1.04;
}

.fc-rail.is-feature .fc-card-copy {
	padding: 20px 10px 12px;
}

.fc .fc-rail.is-feature .fc-card h3 {
	padding-right: 0;
	font-size: clamp(20px, 1.6vw, 24px);
}

/* Points stay a list here (they are sentences, not chips). */
.fc-rail.is-feature .fc-ticks {
	display: grid;
	gap: 10px;
}

.fc-rail.is-feature .fc-ticks li {
	padding: 0 0 0 26px;
	border: 0;
	background: none;
	color: #cfc9da;
	font-size: 14px;
	line-height: 1.5;
}

.fc-rail.is-feature .fc-ticks li::before {
	top: 3px;
	left: 0;
	width: 16px;
	height: 16px;
	translate: none;
}

/* Progress line between the arrows. */
.fc-arrows:has(.fc-rail-progress) {
	align-items: center;
	gap: 16px;
}

.fc-rail-progress {
	position: relative;
	width: min(240px, 40vw);
	height: 3px;
	overflow: hidden;
	border-radius: 3px;
	background: #ffffff1f;
}

.fc-rail-progress i {
	position: absolute;
	inset: 0 auto 0 0;
	width: calc(var(--fc-p-size, .3) * 100%);
	border-radius: inherit;
	background: linear-gradient(90deg, #a76dff, #dccbff);
	box-shadow: 0 0 10px #a76dff99;
	translate: calc(var(--fc-p, 0) * (1 / var(--fc-p-size, .3) - 1) * 100%) 0;
	transition: translate .15s linear;
}

/* flow: a round arrow between the cards (one row only). */
@media (width > 680px) {
	.fc-grid.is-flow {
		position: relative;
	}

	/* The journey arrow: the CTA's glossy orb (conic rim, purple core, soft
	   glow), an SVG arrow that nudges forward, no hard ring. */
	.fc-grid.is-flow.is-2::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		z-index: 2;
		width: 56px;
		height: 56px;
		border: 1px solid transparent;
		border-radius: 50%;
		background:
			url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13m-5-6 6 6-6 6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat padding-box,
			radial-gradient(circle at 50% 30%, #9d6bff, #5b2bd6 60%, #2a1259) padding-box,
			conic-gradient(from 100deg, #341052, #8b4dee, #f3e9ff, #8c4ff6, #271b49, #9dcff9, #f1edff, #522ba7, #341052) border-box;
		box-shadow: 0 0 0 5px #0b0812b3, 0 10px 30px #00000080, 0 0 36px #8b4dee8c;
		translate: -50% -50%;
		animation: fc-flow-nudge 2.4s ease-in-out infinite;
	}
}

@keyframes fc-flow-nudge {
	0%, 100% { background-position: center, 0 0, 0 0; }
	50% { background-position: calc(50% + 4px) 50%, 0 0, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
	.fc-grid.is-flow.is-2::after {
		animation: none;
	}
}

/* ---- Stat row (site accent numbers) ---- */

.fc-stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fc-stats li {
	display: grid;
	flex: 1 1 0;
	gap: 10px;
	justify-items: center;
	min-width: 0;
	padding: 8px 20px;
	text-align: center;
}

.fc-stats li + li {
	border-left: 1px solid #ffffff2a;
}

.fc-stats strong {
	font-family: var(--fc-display);
	font-size: clamp(56px, 6vw, 88px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.04em;
	color: var(--fc-accent-solid);
	-webkit-text-fill-color: transparent;
	background: var(--fc-accent);
	-webkit-background-clip: text;
	background-clip: text;
}

.fc-stats span {
	color: var(--fc-text);
	font-size: 15px;
	line-height: 1.45;
}

.fc-stats.is-md strong {
	font-size: clamp(40px, 4vw, 60px);
}

.fc-stats.is-sm {
	justify-content: flex-start;
	margin-top: 24px;
}

.fc-stats.is-sm li {
	flex: 0 1 auto;
	justify-items: start;
	padding: 4px 22px 4px 0;
	text-align: left;
}

.fc-stats.is-sm li + li {
	padding-left: 22px;
}

.fc-stats.is-sm strong {
	font-size: clamp(34px, 3.2vw, 50px);
}

.fc-stats.is-sm span {
	font-size: 14px;
}

/* ---- Figure (one wide image) ---- */

.fc-figure {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--fc-card-line);
	border-radius: 28px;
	background: #fff;
}

.fc-figure img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---- Media card (image + copy) ---- */

.fc-media {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: center;
	gap: 48px;
	padding: 14px 48px 14px 14px;
	border: 1px solid var(--fc-card-line);
	border-radius: 28px;
	background: var(--fc-card-bg);
}

.fc-media.is-right {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	padding: 14px 14px 14px 48px;
}

.fc-media.is-right > .fc-visual {
	order: 2;
}

.fc-media > .fc-visual {
	aspect-ratio: 16 / 10;
}

.fc .fc-media-copy h2 {
	font-size: clamp(34px, 3.2vw, 52px);
}

.fc-media-copy .section-sub {
	margin-bottom: 0;
}

.fc-media-copy .button {
	margin-top: 28px;
}

/* ---- Testimonials ---- */

.fc-quotes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fc-quote {
	gap: 16px;
	padding: 24px;
}

.fc-person {
	display: grid;
	gap: 2px;
	margin: 0;
}

.fc .fc-person b {
	color: #fff;
	font-family: var(--fc-display);
	font-size: 18px;
	font-weight: 600;
}

.fc .fc-person span {
	color: #8d8898;
	font-size: 13px;
}

.fc-quote blockquote {
	margin: 0;
	color: #dcd8e3;
	font-size: 15px;
	line-height: 1.65;
}

.fc-stars {
	align-self: flex-start;
	width: auto;
	height: 18px;
	margin-top: auto;
}

/* ---- FAQ answers (the homepage FAQ section styles the rest) ---- */

.fc--faq [data-slot="accordion-content"] p {
	margin: 0 0 6px;
	color: var(--fc-text);
	font-size: 15px;
	line-height: 1.65;
}

/* ---- Brand band: logos that would turn into blobs in white ---- */

.fc-brands .brand-logo img.is-tone {
	filter: grayscale(1) brightness(1.2);
	opacity: .8;
}

.fc-brands .brand-logo img.is-invert {
	filter: grayscale(1) invert(1);
	mix-blend-mode: screen;
}

/* ---- Tablet ---- */

@media (width <= 1000px) {
	.fc-grid.is-3,
	.fc-grid.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fc-grid.is-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

	.fc-media,
	.fc-media.is-right {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
		padding: 12px 12px 26px;
	}

	.fc-media.is-right > .fc-visual {
		order: 0;
	}

	.fc-media-copy {
		padding: 0 10px;
	}

	.fc-quotes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---- Phone sliders: as the site's blog section (homepage articles) ----
   One whole card at a time (no sliver of the next), snapping, with the
   site's Prev · n / N · Next under it instead of the round arrows. */
@media (width <= 760px) {
	.fc-rail:not(#_),
	.fc-rail.is-feature:not(#_),
	.fc-quotes:not(#_) {
		grid-auto-columns: 100%;
		grid-auto-flow: column;
		grid-template-columns: none;
		gap: 16px;
		margin: 0;
		padding: 8px 0 12px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-padding-inline: 0;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		overscroll-behavior-x: contain;
	}

	.fc-quotes > li {
		scroll-snap-align: start;
	}

	.fc-arrows {
		display: none;
	}
}

/* ---- Mobile (Checkout's measurements at 390px) ---- */

@media (width <= 680px) {
	/* Media cards: copy left-aligned like every other section head. */
	.fc .fc-media-copy:not(#_),
	.fc .fc-media-copy h2:not(#_),
	.fc .fc-media-copy .section-sub:not(#_) {
		text-align: left;
	}

	/* Small stats inside a media card: an even row with dividers. */
	.fc-stats.is-sm {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
		grid-auto-flow: column;
	}

	.fc-stats.is-sm li,
	.fc-stats.is-sm li + li {
		padding: 4px 10px;
	}

	.fc-stats.is-sm li:first-child {
		padding-left: 0;
	}

	/* An odd last card in a 2-up grid takes the full row. */
	.fc-grid.is-5 > li:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.fc-grid.is-5 > li:last-child:nth-child(odd) .fc-visual {
		aspect-ratio: 16 / 9;
	}

	.fc-head {
		text-align: left;
	}

	.fc-figure {
		border-radius: 18px;
	}

	.fc-head .section-sub {
		margin-left: 0;
	}

	.fc-rail {
		grid-auto-columns: calc(100vw - 80px);
		gap: 16px;
	}

	.fc-rail.is-feature {
		grid-auto-columns: calc(100vw - 72px);
		gap: 14px;
	}

	.fc-arrows {
		display: none;
	}

	.fc-grid.is-2,
	.fc-grid.is-3,
	.fc-grid.is-4 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.fc-grid.is-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

	.fc-grid.is-5 .fc-card-copy {
		padding: 12px 4px 4px;
	}

	.fc-grid.is-5 .fc-card h3 {
		font-size: 15px;
	}

	/* Headline stats (not the small in-card row): stacked glass tiles,
	   number left, label right, an accent edge — not a squeezed 3-up row. */
	.fc-stats:not(.is-sm) {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		width: 100%;
		max-width: none;
		margin: 28px 0 0;
		padding: 0;
	}

	.fc-stats:not(.is-sm) li,
	.fc-stats:not(.is-sm) li + li {
		position: relative;
		display: grid;
		grid-template-columns: minmax(96px, auto) minmax(0, 1fr);
		grid-template-areas: "value label";
		align-items: center;
		justify-items: start;
		gap: 18px;
		overflow: hidden;
		padding: 18px 20px 18px 22px;
		border: 1px solid transparent;
		border-radius: 20px;
		background:
			radial-gradient(90% 120% at 0% 50%, #7c3aed2b, #7c3aed00 60%) padding-box,
			linear-gradient(180deg, #15111d, #0e0b14) padding-box,
			linear-gradient(120deg, #a76dff73, #ffffff12 45%, #ffffff0a) border-box;
		text-align: left;
	}

	.fc-stats:not(.is-sm) li::before {
		content: "";
		position: absolute;
		top: 18px;
		bottom: 18px;
		left: 0;
		width: 3px;
		border-radius: 0 3px 3px 0;
		background: linear-gradient(180deg, #dccbff, #a76dff);
		box-shadow: 0 0 14px #a76dff;
	}

	.fc-stats:not(.is-sm) strong {
		grid-area: value;
		font-size: 40px;
	}

	.fc-stats:not(.is-sm) span {
		grid-area: label;
		font-size: 14px;
		line-height: 1.4;
		color: #d9d3e3;
	}

	.fc-stats.is-md strong,
	.fc-stats.is-sm strong {
		font-size: 30px;
	}

	.fc-stats span,
	.fc-stats.is-sm span {
		font-size: 12.5px;
	}

	.fc-stats.is-sm li,
	.fc-stats.is-sm li + li {
		padding: 4px 10px;
	}

	.fc-stats.is-sm li:first-child {
		padding-left: 0;
	}

	.fc .fc-media-copy h2 {
		font-size: clamp(30px, 8.6vw, 36px);
	}

	/* Testimonials swipe, as Checkout's stories. */
	.fc-quotes {
		grid-auto-columns: calc(100vw - 80px);
		grid-auto-flow: column;
		grid-template-columns: none;
		margin: 0 calc(-1 * var(--fc-gutter));
		padding: 8px var(--fc-gutter) 10px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-padding-inline: var(--fc-gutter);
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.fc-quotes > li {
		scroll-snap-align: start;
	}

	.fc-quote {
		padding: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.is-surface-glow .fc-surface {
		animation: none;
	}

	.fc-card,
	.fc-arrows button {
		transition: none;
	}

	.fc-card:hover {
		transform: none;
	}
}
