/* ==========================================================================
   /features/ — builds on the ui-* components in site.css.
   ========================================================================== */

/* ------------------------------------------------------------------ hero */
.fx-hero .ui-hero__inner { padding-bottom: 56px; }
.fx-hero > .container:last-child { padding-bottom: 24px; }
.fx-hero__stage { padding: 56px 64px 0; overflow: hidden; }
/* the screenshot rises out of the panel, cropped at its bottom edge */
.fx-hero__stage .fx-figure { width: 100%; max-width: 835px; margin-bottom: -6px; }
.fx-figure { line-height: 0; text-align: center; }
.fx-figure img { display: inline-block; max-width: 100%; height: auto; }

/* ------------------------------------------------------------- campaigns */
.fx-intro { max-width: 720px; }

/* --------------------------------------------------------------- reports */
.fx-reports__list { margin-top: 28px; }
.fx-reports__stage { padding: 40px 32px; }

/* ----------------------------------------------------------- sender IDs */
.fx-senders {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 56px;
	max-width: 1020px;
	margin: 0 auto;
	padding: 64px;
	border-radius: 32px;
	background:
		radial-gradient(70% 90% at 100% 0%, rgba(37, 211, 102, .16) 0%, rgba(37, 211, 102, 0) 60%),
		var(--ui-navy);
	color: #cfe0ea;
}
.fx-senders__title { margin: 0 0 18px; font-size: 40px; font-weight: 700; line-height: 1.08; letter-spacing: -.022em; color: #fff; }
.fx-senders__text { font-size: 18px; line-height: 1.6; }
.fx-senders__text p { margin: 0; }

.fx-notes { display: flex; flex-direction: column; gap: 12px; }
.fx-note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 20px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .45);
	color: var(--ui-ink);
}
.fx-note:nth-child(2) { margin-left: 28px; margin-right: -12px; }
.fx-note:nth-child(3) { margin-left: 56px; margin-right: -24px; opacity: .92; }
.fx-note__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
}
.fx-note__icon--a { background: linear-gradient(145deg, #1a8fcc, #0f6a9c); }
.fx-note__icon--b { background: linear-gradient(145deg, #2fbf71, #1f8f52); }
.fx-note__icon--c { background: linear-gradient(145deg, #e0924a, #b86a2b); }
.fx-note__body { display: flex; flex-direction: column; min-width: 0; }
.fx-note__head { display: flex; justify-content: space-between; gap: 10px; }
.fx-note__from { font-size: 14px; font-weight: 700; }
.fx-note__time { font-size: 12px; color: var(--ui-muted); white-space: nowrap; }
.fx-note__text { font-size: 14px; line-height: 1.4; color: var(--ui-body); }

/* ------------------------------------------------------------ failover */
.fx-failover__list { margin-top: 28px; }
.fx-failover__actions { margin-top: 32px; }
.fx-failover__stage { padding: 56px 40px; }

/* ---------------------------------------------------------- integrations */
.fx-logos {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
	max-width: 1020px;
	margin: 40px auto 48px;
	padding: 0;
	list-style: none;
}
.fx-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 112px;
	padding: 20px;
	border: 1px solid var(--ui-line);
	border-radius: 20px;
	background: #fff;
}
.fx-logo img { display: block; max-width: 100%; max-height: 64px; width: auto; }
.fx-integrations__text { max-width: 760px; margin: 0 auto 32px; font-size: 18px; line-height: 1.6; text-align: center; color: var(--ui-body); }
.fx-integrations__text p { margin: 0 0 1em; }
.fx-integrations__text p:last-child { margin-bottom: 0; }

/* CTA: the bolt keeps its own width */
.ui-cta .btn__text { white-space: normal; }

/* ---------------------------------------------------------- breakpoints */
@media (max-width: 1024px) {
	.fx-hero__stage { padding: 40px 40px 0; }
	.fx-senders { padding: 52px 44px; gap: 40px; }
	.fx-senders__title { font-size: 34px; }
	.fx-note:nth-child(2), .fx-note:nth-child(3) { margin-right: 0; }
}

@media (max-width: 860px) {
	.fx-senders { grid-template-columns: 1fr; }
	.fx-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 560px; }
}

@media (max-width: 767px) {
	.fx-hero .ui-hero__inner { padding-bottom: 36px; }
	.fx-hero__stage { padding: 20px 16px 0; border-radius: 22px; }
	.fx-reports__stage { padding: 20px 14px; }
	.fx-failover__stage { padding: 20px 12px; }
	.fx-failover .ui-actions .ui-btn { width: 100%; }
	.fx-senders { margin: 0 -16px; padding: 44px 20px 48px; border-radius: 0; }
	.fx-senders__title { font-size: 30px; }
	.fx-senders__text { font-size: 17px; }
	.fx-note:nth-child(2) { margin-left: 14px; }
	.fx-note:nth-child(3) { margin-left: 28px; }
	.fx-logos { gap: 8px; margin: 28px auto 36px; }
	.fx-logo { height: 76px; padding: 12px; border-radius: 14px; }
	.fx-integrations__text { font-size: 17px; }
	.fx-integrations .ui-actions .ui-btn { width: 100%; }
}
