/* Solutions section — grid of feature cards */
.feat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 52px;
}
.feat {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 15px;
	padding: 28px;
	/* `translate` is the scroll reveal, `transform` is the hover lift — two
	   separate properties so the slow entrance and the quick lift can each
	   keep their own timing instead of fighting over one shorthand. */
	transition:
		opacity 0.6s ease,
		translate 0.6s ease,
		transform 0.18s,
		box-shadow 0.18s,
		border-color 0.18s;
}
.feat:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px -22px rgba(20, 50, 35, 0.26);
	border-color: var(--green-20);
}
.feat .fi {
	width: 48px;
	height: 48px;
	border-radius: 13px;
	background: var(--green-10);
	color: var(--green);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}
.feat .fi svg {
	width: 25px;
	height: 25px;
}
.feat h3 {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--grey-70);
}
.feat p {
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--grey-60);
	margin-top: 9px;
}

/* ---------------- INTEGRATION LOGO WALL ----------------
   The grid of platforms Tax2Cargo connects to. Tiles hold either a <span
   class="lw"> wordmark placeholder or a real logo file — see the comment above
   the markup in index.html for how to swap one in. */
.io {
	margin-top: 72px;
	padding-top: 56px;
	border-top: 1px solid var(--border);
}
.io-head {
	text-align: center;
	font-family: "IBM Plex Mono", monospace;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--grey-50);
}
.io-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 14px;
	margin-top: 30px;
}
.io-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 84px;
	padding: 18px 14px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 13px;
	/* As on .feat: `translate` reveals, `transform` lifts on hover. */
	transition:
		opacity 0.5s ease,
		translate 0.5s ease,
		transform 0.18s,
		box-shadow 0.18s,
		border-color 0.18s;
}
.io-tile:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 32px -20px rgba(20, 50, 35, 0.3);
	border-color: var(--green-20);
}
/* Real logos: greyscale at rest, full colour on hover, like the wordmarks. */
.io-tile img,
.io-tile svg {
	max-width: 100%;
	height: 28px;
	width: auto;
	filter: grayscale(1);
	opacity: 0.72;
	transition:
		filter 0.18s,
		opacity 0.18s;
}
.io-tile:hover img,
.io-tile:hover svg {
	filter: none;
	opacity: 1;
}
/* Wordmark placeholder. */
.io-tile .lw {
	font-size: 16.5px;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.2;
	text-align: center;
	color: var(--grey-50);
	transition: color 0.18s;
}
.io-tile:hover .lw {
	color: var(--green);
}
.io-note {
	margin-top: 26px;
	text-align: center;
	font-size: 14.5px;
	color: var(--grey-50);
}
.io-note a {
	font-weight: 600;
	border-bottom: 1px solid var(--green-20);
}

/* Scroll reveal — cards start hidden and stagger in (see js/reveal.js).
   The hidden state hangs off :not(.sr-visible); undoing it with a declaration
   on .sr-visible instead would out-specify the :hover rule above. */
.feat-grid .feat:not(.sr-visible) {
	opacity: 0;
	translate: 0 36px;
}
.feat-grid .feat.sr-visible:nth-child(2) {
	transition-delay: 0.1s;
}
.feat-grid .feat.sr-visible:nth-child(3) {
	transition-delay: 0.2s;
}
.feat-grid .feat.sr-visible:nth-child(4) {
	transition-delay: 0.3s;
}
.feat-grid .feat.sr-visible:nth-child(5) {
	transition-delay: 0.4s;
}
.feat-grid .feat.sr-visible:nth-child(6) {
	transition-delay: 0.5s;
}
/* Same reveal for the logo tiles, but the stagger comes off the `--i` set on
   each tile in the markup rather than nth-child — there are twelve of them. */
.io-grid .io-tile:not(.sr-visible) {
	opacity: 0;
	translate: 0 24px;
}
.io-grid .io-tile.sr-visible {
	transition-delay: calc(var(--i, 0) * 0.045s);
}
/* The delay is for the entrance only — a hover must not wait its turn. */
.io-grid .io-tile.sr-visible:hover {
	transition-delay: 0s;
}
@media (prefers-reduced-motion: reduce) {
	.feat-grid .feat,
	.io-grid .io-tile {
		opacity: 1 !important;
		translate: none !important;
		transition: none !important;
	}
}
