/* ==========================================================================
   MentionsFlow theme — design system
   Built to MentionsFlow Brand Guidelines v1.0
   Palette: Electric Blue #2F56EA · Ink #0F1424 · neutrals · teal/lime/amber accents
   Type: Poppins · Pills 999px · Cards 14–22px · Shadow 0 16px 34px rgba(30,60,140,.16)
   ========================================================================== */

:root {
	/* Brand — primary */
	--mf-blue: #2f56ea;
	--mf-blue-deep: #2546c9;
	--mf-ink: #0f1424;

	/* Neutrals */
	--mf-page: #eef1f6;
	--mf-surface: #f7f9fd;
	--mf-line: #edf0f5;
	--mf-body: #55607a;
	--mf-muted: #8a93a8;

	/* Accents — data & highlights */
	--mf-teal: #0fa47f;
	--mf-teal-deep: #20808d;
	--mf-lime: #e4ff5c;
	--mf-amber: #f6a03a;

	/* Surfaces & radii */
	--mf-radius-card: 18px;
	--mf-radius-lg: 28px;
	--mf-radius-pill: 999px;
	--mf-shadow-card: 0 16px 34px rgba(30, 60, 140, 0.16);
	--mf-shadow-soft: 0 8px 22px rgba(30, 60, 140, 0.06);
	--mf-shadow-btn: 0 8px 20px rgba(47, 86, 234, 0.28);

	/* Rhythm */
	--mf-maxw: 1120px;
	--mf-gutter: clamp(16px, 4vw, 48px);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
body.mf {
	font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	background: var(--mf-page);
	color: var(--mf-ink);
	line-height: 1.55;
	overflow-x: hidden;
}

.mf a { color: var(--mf-blue); }

.mf img { max-width: 100%; height: auto; display: block; }

.mf-site { width: 100%; overflow-x: hidden; }

.mf-container {
	max-width: var(--mf-maxw);
	margin: 0 auto;
	padding-left: var(--mf-gutter);
	padding-right: var(--mf-gutter);
}

/* Accessible skip link */
.mf-skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	z-index: 1000;
	background: var(--mf-ink);
	color: #fff;
	padding: 12px 18px;
	border-radius: 0 0 12px 0;
	font-size: 14px;
	text-decoration: none;
}
.mf-skip-link:focus { left: 0; }

.mf-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
	color: #28304a;
}
.mf-eyebrow .mf-dot {
	width: 16px;
	height: 16px;
	border-radius: 5px;
	background: var(--mf-blue);
	display: inline-block;
	flex: none;
}
.mf-eyebrow--pill {
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(15, 20, 36, 0.06);
	padding: 7px 15px;
	border-radius: var(--mf-radius-pill);
}

.mf-section-head { text-align: center; max-width: 640px; margin: 0 auto; }
.mf-section-head h2,
.mf-h2 {
	font-size: clamp(28px, 3.6vw, 44px);
	letter-spacing: -0.02em;
	font-weight: 700;
	margin: 16px 0 0;
	line-height: 1.1;
}
.mf-section-head p { color: #6b7488; font-size: 15px; line-height: 1.6; margin: 16px 0 0; }
.mf-lead { color: var(--mf-body); font-size: 15px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Buttons / pills / chips
   -------------------------------------------------------------------------- */
.mf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	padding: 13px 24px;
	border-radius: var(--mf-radius-pill);
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.mf-btn.mf-btn--primary {
	background: var(--mf-blue);
	color: #fff;
	box-shadow: var(--mf-shadow-btn);
}
.mf-btn.mf-btn--primary:hover { background: var(--mf-blue-deep); transform: translateY(-2px); }
.mf-btn.mf-btn--secondary {
	background: #fff;
	color: #28304a;
	border-color: #e2e8f2;
}
.mf-btn.mf-btn--secondary:hover { border-color: #c9d6ff; color: var(--mf-ink); }
.mf-btn--lg { padding: 15px 32px; font-size: 15px; box-shadow: 0 14px 30px rgba(47, 86, 234, 0.34); }
.mf-btn--block { display: flex; width: 100%; }

.mf-chip {
	font-size: 12px;
	font-weight: 600;
	padding: 6px 13px;
	border-radius: 8px;
	display: inline-block;
}
.mf-chip--lime { background: var(--mf-lime); color: var(--mf-ink); }
.mf-chip--ghost { background: #fff; color: #7a8398; font-weight: 500; }

/* --------------------------------------------------------------------------
   Navigation — sticky glass bar + scrolled state + mobile
   -------------------------------------------------------------------------- */
.mf-nav {
	position: sticky;
	top: 0;
	z-index: 50;
	padding: 14px var(--mf-gutter) 0;
	transition: padding 0.3s ease;
}
.mf-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 12px 14px 12px 20px;
	border-radius: var(--mf-radius-pill);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.28));
	backdrop-filter: blur(20px) saturate(185%);
	-webkit-backdrop-filter: blur(20px) saturate(185%);
	border: 1px solid rgba(255, 255, 255, 0.55);
	box-shadow: 0 10px 30px rgba(30, 50, 110, 0.14),
		inset 0 1px 0 rgba(255, 255, 255, 0.75),
		inset 0 -1px 0 rgba(255, 255, 255, 0.15);
	transition: box-shadow 0.3s ease, background 0.3s ease, padding 0.3s ease;
}
/* Scrolled: tighten + solidify */
.mf-nav.is-scrolled { padding-top: 8px; }
.mf-nav.is-scrolled .mf-nav__inner {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.68));
	box-shadow: 0 12px 34px rgba(30, 50, 110, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.mf-brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	text-decoration: none;
	color: var(--mf-ink);
	flex: none;
}
.mf-brand__glyph {
	width: 30px;
	height: 30px;
	background: var(--mf-blue);
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}
.mf-brand__glyph i {
	width: 13px;
	height: 13px;
	background: #fff;
	transform: rotate(45deg);
	border-radius: 3px;
	display: block;
}
.mf-brand__glyph--sm { width: 22px; height: 22px; border-radius: 7px; }
.mf-brand__glyph--sm i { width: 9px; height: 9px; border-radius: 2px; }
.mf-brand__glyph--xs { width: 18px; height: 18px; border-radius: 6px; }
.mf-brand__glyph--xs i { width: 7px; height: 7px; border-radius: 2px; }
.mf-brand__glyph--inv { background: #fff; }
.mf-brand__glyph--inv i { background: var(--mf-blue); }
.mf-brand__name { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.mf-brand__logo { height: 30px; width: auto; display: block; }
.mf-brand .custom-logo { width: auto; display: block; }
/* Phones only: render the Site Identity logo at half its natural size so the
   250px source stays sharp on high-DPI screens. Desktop/laptop/tablet keep full size. */
@media (max-width: 640px) {
	.mf-brand .custom-logo { height: 26px; }
}

.mf-nav__menu {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.4vw, 38px);
	list-style: none;
	margin: 0;
	padding: 0;
}
/* The drawer-only CTA item — hidden wherever the real nav button is visible. */
.mf-nav__menu .mf-nav__mobile-cta { display: none; }
.mf-nav__menu a {
	text-decoration: none;
	color: #28304a;
	font-size: 15px;
	white-space: nowrap;
	font-weight: 500;
	position: relative;
	padding: 4px 0;
	transition: color 0.2s ease;
}
.mf-nav__menu a:hover,
.mf-nav__menu .current-menu-item > a { color: var(--mf-blue); }
.mf-nav__menu a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--mf-blue);
	transition: width 0.25s ease;
}
.mf-nav__menu a:hover::after,
.mf-nav__menu .current-menu-item > a::after { width: 100%; }

.mf-nav__cta { flex: none; }

.mf-nav__toggle {
	display: none;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	border: 1px solid rgba(15, 20, 36, 0.08);
	background: rgba(255, 255, 255, 0.6);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	padding: 0;
}
.mf-nav__toggle span,
.mf-nav__toggle span::before,
.mf-nav__toggle span::after {
	content: "";
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--mf-ink);
	transition: transform 0.25s ease, opacity 0.2s ease;
}
.mf-nav__toggle span::before { transform: translateY(-6px); }
.mf-nav__toggle span::after { transform: translateY(4px); }
.mf-nav.is-open .mf-nav__toggle span { background: transparent; }
.mf-nav.is-open .mf-nav__toggle span::before { transform: translateY(0) rotate(45deg); }
.mf-nav.is-open .mf-nav__toggle span::after { transform: translateY(-2px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.mf-hero {
	position: relative;
	display: flow-root;
	background: linear-gradient(180deg, #e7f0fc 0%, #d3e3fb 62%, #dfeafb 100%);
	padding: clamp(48px, 7vw, 84px) clamp(20px, 5vw, 72px) 0;
	border-radius: 0 0 32px 32px;
}
.mf-hero__content {
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
	position: relative;
	z-index: 2;
}
.mf-hero__title {
	font-size: clamp(34px, 5.4vw, 60px);
	line-height: 1.06;
	letter-spacing: -0.03em;
	font-weight: 700;
	margin: 22px 0 0;
}
.mf-hero__subtitle {
	font-size: clamp(15px, 1.4vw, 17px);
	color: var(--mf-body);
	max-width: 480px;
	margin: 20px auto 0;
	line-height: 1.55;
}
.mf-hero__cta { margin-top: 26px; }

/* Floating AI-platform logos */
.mf-ai-float {
	position: absolute;
	z-index: 1;
	will-change: transform;
	transition: transform 0.12s linear;
}
.mf-ai-float__badge {
	position: relative;
	width: 62px;
	height: 62px;
	background: #fff;
	border-radius: 18px;
	box-shadow: var(--mf-shadow-card);
	padding: 11px;
}
.mf-ai-float__badge img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.mf-ai-float__check {
	position: absolute;
	right: -5px;
	bottom: -5px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: #22a06b;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mf-ai-float--a { left: clamp(12px, 8vw, 180px); top: 42%; }
.mf-ai-float--a .mf-ai-float__badge { animation: mf-float-a 6s ease-in-out infinite; }
.mf-ai-float--b { left: clamp(4px, 5vw, 110px); top: 62%; }
.mf-ai-float--b .mf-ai-float__badge { width: 66px; height: 66px; animation: mf-float-b 7s ease-in-out infinite 0.4s; }
.mf-ai-float--c { left: clamp(20px, 9vw, 200px); top: 80%; }
.mf-ai-float--c .mf-ai-float__badge { width: 58px; height: 58px; animation: mf-float-c 6.5s ease-in-out infinite 0.2s; }
.mf-ai-float--d { right: clamp(12px, 8vw, 180px); top: 44%; }
.mf-ai-float--d .mf-ai-float__badge { animation: mf-float-b 6.2s ease-in-out infinite 0.5s; }
.mf-ai-float--e { right: clamp(8px, 6vw, 140px); top: 70%; }
.mf-ai-float--e .mf-ai-float__badge { width: 64px; height: 64px; animation: mf-float-c 6.8s ease-in-out infinite 0.1s; }

@keyframes mf-float-a { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-16px) rotate(3deg); } }
@keyframes mf-float-b { 0%, 100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(-22px) rotate(-4deg); } }
@keyframes mf-float-c { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes mf-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Dashboard mockup */
.mf-dashboard {
	max-width: 1000px;
	margin: 56px auto -320px;
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 30px 70px rgba(30, 60, 140, 0.2);
	padding: 16px;
	position: relative;
	z-index: 5;
}
.mf-dash__bar { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 16px; flex-wrap: wrap; gap: 10px; }
.mf-dash__brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.mf-dash__tabs { display: flex; gap: 6px; background: #f2f5fb; padding: 5px; border-radius: 10px; }
.mf-dash__tab { font-size: 12px; color: #7a8398; padding: 5px 12px; border-radius: 7px; }
.mf-dash__tab.is-active { font-weight: 600; background: var(--mf-lime); color: var(--mf-ink); }
.mf-dash__row { display: grid; gap: 14px; padding: 0 6px 6px; }
.mf-dash__row--top { grid-template-columns: 1fr 1.1fr 1.4fr; }
.mf-dash__row--bottom { grid-template-columns: 2.4fr 1fr; padding: 6px; }
.mf-tile { background: var(--mf-surface); border-radius: 14px; padding: 16px; }
.mf-tile__label { font-size: 11px; color: var(--mf-muted); }
.mf-tile__value { font-size: 26px; font-weight: 700; margin-top: 6px; }
.mf-up { font-size: 11px; color: #22a06b; font-weight: 600; }
.mf-bars { display: flex; align-items: flex-end; gap: 5px; height: 96px; margin-top: 12px; }
.mf-bars i { flex: 1; border-radius: 3px; background: #e9edf5; display: block; }
.mf-bars i.is-hot { background: var(--mf-amber); }
.mf-placeholder {
	background: repeating-linear-gradient(45deg, #eef2fa 0 12px, #f5f8fd 12px 24px);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: ui-monospace, monospace;
	font-size: 11px;
	color: #9aa3b5;
}
.mf-progress { height: 4px; background: #e9edf5; border-radius: 99px; margin-top: 3px; }
.mf-progress i { display: block; height: 4px; background: var(--mf-blue); border-radius: 99px; }
.mf-geo-row { font-size: 9px; color: #7a8398; display: flex; justify-content: space-between; }
.mf-donut { width: 84px; height: 42px; overflow: hidden; position: relative; margin: 10px auto 0; }
.mf-donut__ring { width: 84px; height: 84px; border-radius: 50%; background: conic-gradient(from 270deg, #ef6a5a 0deg, #f6c34a 90deg, #6fbf73 180deg, #e9edf5 180deg); }
.mf-donut__hole { position: absolute; left: 14px; top: 14px; width: 56px; height: 56px; border-radius: 50%; background: var(--mf-surface); }
.mf-avatars { display: flex; }
.mf-avatars span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; }
.mf-avatars span + span { margin-left: -9px; }

/* --------------------------------------------------------------------------
   Dashboard mockup v2 — AI Source Analytics (hero)
   -------------------------------------------------------------------------- */
.mf-dashboard--v2 { max-width: 1140px; padding: 0; display: flex; align-items: stretch; overflow: hidden; }

.mf-dash2__sidebar { flex: 0 0 190px; background: #fbfcfe; border-right: 1px solid var(--mf-line); padding: 18px 12px; display: flex; flex-direction: column; }

.mf-dash2__workspace {
	width: 100%;
	margin-bottom: 6px;
	border: none;
	cursor: pointer;
	font: inherit;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	border-radius: 10px;
	padding: 9px 10px;
	background: #f2f5fb;
	transition: background 0.2s ease;
}
.mf-dash2__workspace:hover { background: #e9edf9; }
.mf-dash2__workspace-id { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #28304a; }
.mf-dash2__workspace-id img { width: 22px; height: auto; }
.mf-dash2__workspace > span:last-child { font-size: 9px; color: var(--mf-muted); }

.mf-dash2__sidebar .mf-dash2__navitem { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 9px; font-size: 12.5px; font-weight: 500; color: var(--mf-body); text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.mf-dash2__sidebar .mf-dash2__navitem:hover { background: #f2f5fb; color: #28304a; }
.mf-dash2__sidebar .mf-dash2__navitem.is-active { background: #eaf0ff; color: var(--mf-blue); font-weight: 600; }
.mf-dash2__sidebar .mf-dash2__navitem.is-active .mf-dash2__dot { background: var(--mf-blue); }
.mf-dash2__dot { width: 6px; height: 6px; border-radius: 50%; background: #c7ccd6; flex-shrink: 0; }
.mf-dash2__navlabel { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; color: #a7aebd; text-transform: uppercase; margin: 14px 0 4px; padding: 0 10px; }
.mf-dash2__navfoot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--mf-line); display: flex; flex-direction: column; gap: 2px; }

.mf-dash2__main { flex: 1; min-width: 0; background: var(--mf-page); padding: 20px; display: grid; gap: 14px; }
.mf-dash2__card { background: #fff; border-radius: 16px; padding: 16px; transition: box-shadow 0.3s ease, transform 0.3s ease; }
.mf-dash2__card:hover { box-shadow: 0 14px 32px rgba(30, 60, 140, 0.14); transform: translateY(-3px); }
.mf-dash2__cardhead { font-size: 13px; font-weight: 600; }
.mf-dash2__cardsub { font-size: 11px; color: var(--mf-muted); margin-top: 2px; }
.mf-dash2__rowhead { display: flex; justify-content: space-between; align-items: flex-start; }

.mf-dash2__kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; }
.mf-dash2__kpis .mf-dash2__card { padding: 14px; }
.mf-dash2__kpihead { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; color: var(--mf-muted); }
.mf-dash2__kpihead .mf-up { font-size: 10px; }
.mf-dash2__kpival { font-size: 22px; font-weight: 700; margin-top: 6px; }
.mf-spark { width: 100%; height: 26px; margin-top: 8px; display: block; }

.mf-dash2__row2 { display: grid; grid-template-columns: 1.8fr 1fr; gap: 14px; }
.mf-dash2__row3 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.mf-dash2__chart { width: 100%; height: 180px; margin-top: 8px; display: block; }
.mf-dash2__chart--sm { height: 150px; }
.mf-dash2__chart line { stroke: var(--mf-line); }
.mf-dash2__axis { font-family: ui-monospace, monospace; font-size: 9px; fill: #9aa3b5; }

.mf-dash2__source { margin-top: 16px; }
.mf-dash2__source:first-of-type { margin-top: 16px; }
.mf-dash2__sourcerow { display: flex; align-items: center; justify-content: space-between; }
.mf-dash2__sourcename { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: #28304a; }
.mf-dash2__sourcename img { width: 18px; height: 18px; border-radius: 5px; object-fit: cover; }
.mf-dash2__sourcestat { display: flex; align-items: center; gap: 8px; }
.mf-dash2__sourcestat small { font-size: 10px; color: var(--mf-muted); }
.mf-dash2__sourcestat b { font-size: 13px; font-weight: 700; }
.mf-dash2__source .mf-progress { height: 5px; margin-top: 6px; }
.mf-dash2__source .mf-progress i { height: 5px; }

.mf-dash2__device { display: flex; align-items: center; gap: 20px; margin-top: 14px; }
.mf-dash2__donutwrap { position: relative; width: 128px; height: 128px; flex-shrink: 0; }
.mf-dash2__donut { transform: rotate(-90deg); }
.mf-dash2__donutlabel { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mf-dash2__donutlabel div:first-child { font-size: 19px; font-weight: 700; }
.mf-dash2__donutlabel div:last-child { font-size: 9.5px; color: var(--mf-muted); }
.mf-dash2__legend { display: grid; gap: 8px; font-size: 12px; color: #3a4258; }
.mf-dash2__legend div { display: flex; align-items: center; gap: 7px; }
.mf-dash2__legend span { width: 9px; height: 9px; border-radius: 50%; display: block; }
.mf-dash2__minilegend { display: flex; gap: 10px; font-size: 10px; color: var(--mf-muted); white-space: nowrap; }
.mf-dash2__minilegend span { display: flex; align-items: center; gap: 4px; }
.mf-dash2__minilegend i { width: 7px; height: 7px; border-radius: 50%; display: block; }

/* Chart / count-up "draw in" animation, triggered by .is-in on .mf-dashboard--v2 */
.mf-progress-fill { width: 0; transition: width 1.2s cubic-bezier(.22, .9, .3, 1); }
.mf-dashboard--v2.is-in .mf-progress-fill { width: var(--pct); }
.mf-spark path { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.1s ease; }
.mf-dashboard--v2.is-in .mf-spark path { stroke-dashoffset: 0; }
.mf-area-line { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.7s ease .1s; }
.mf-dashboard--v2.is-in .mf-area-line { stroke-dashoffset: 0; }
.mf-area-fill { opacity: 0; transition: opacity 1s ease .6s; }
.mf-dashboard--v2.is-in .mf-area-fill { opacity: 1; }
.mf-line-a { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s ease .15s; }
.mf-line-b { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s ease .35s; }
.mf-dashboard--v2.is-in .mf-line-a, .mf-dashboard--v2.is-in .mf-line-b { stroke-dashoffset: 0; }
.mf-donut-d1 { transition: stroke-dashoffset 1s ease .2s; }
.mf-donut-d2 { transition: stroke-dashoffset 1s ease .35s; }
.mf-donut-d3 { transition: stroke-dashoffset 1s ease .5s; }
.mf-dashboard--v2.is-in .mf-donut-d1 { stroke-dashoffset: 0; }
.mf-dashboard--v2.is-in .mf-donut-d2 { stroke-dashoffset: -64; }
.mf-dashboard--v2.is-in .mf-donut-d3 { stroke-dashoffset: -97; }

/* --------------------------------------------------------------------------
   Free-trial modal — opened from the hero dashboard mockup
   -------------------------------------------------------------------------- */
.mf-trial-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(15, 20, 36, 0.55);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	animation: mf-overlay-in 0.2s ease;
}
.mf-trial-overlay.is-open { display: flex; }
.mf-trial-modal {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
	padding: 28px;
	max-width: 400px;
	width: 100%;
	text-align: left;
	animation: mf-modal-in 0.22s cubic-bezier(.22, .9, .3, 1);
}
.mf-trial-modal__head { display: flex; align-items: flex-start; justify-content: space-between; }
.mf-trial-modal__head img { height: 26px; width: auto; display: block; }
.mf-trial-close { border: none; background: transparent; color: var(--mf-muted); font-size: 18px; cursor: pointer; line-height: 1; padding: 2px; }
.mf-trial-modal h3 { font-size: 21px; font-weight: 700; margin: 16px 0 0; color: var(--mf-ink); }
.mf-trial-modal p.mf-trial-modal__lead { font-size: 14px; color: var(--mf-body); line-height: 1.6; margin: 8px 0 0; }
.mf-trial-modal__list { display: grid; gap: 11px; margin-top: 18px; }
.mf-trial-modal__list div { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: #3a4258; }
.mf-trial-modal__check { width: 18px; height: 18px; border-radius: 50%; background: var(--mf-lime); display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; }
.mf-trial-modal .mf-btn { display: block; text-align: center; margin-top: 20px; width: 100%; }
.mf-trial-modal__fine { text-align: center; font-size: 11.5px; color: var(--mf-muted); margin: 10px 0 0; }

@keyframes mf-overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes mf-modal-in { from { opacity: 0; transform: scale(.94) translateY(6px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/* --------------------------------------------------------------------------
   Logo strips — AI platforms + trusted marquee
   -------------------------------------------------------------------------- */
.mf-after-hero { background: #fff; padding-top: 400px; }
.mf-strip { padding: 8px 0 0; }
.mf-strip__label { text-align: center; font-size: 13px; color: #9aa3b5; margin: 0 0 26px; letter-spacing: 0.02em; }
.mf-ai-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; max-width: 900px; margin: 0 auto; padding: 0 var(--mf-gutter); }
.mf-ai-strip__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--mf-surface);
	border: 1px solid var(--mf-line);
	border-radius: var(--mf-radius-pill);
	padding: 9px 18px 9px 12px;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.mf-ai-strip__item:hover { border-color: #c9d6ff; transform: translateY(-2px); box-shadow: var(--mf-shadow-soft); }
.mf-ai-strip__item img { width: 26px; height: 26px; object-fit: contain; border-radius: 6px; }
.mf-ai-strip__item span { font-size: 14px; font-weight: 600; color: #3a4258; }

.mf-marquee { position: relative; overflow: hidden; margin-top: 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mf-marquee__track { display: flex; width: max-content; gap: 64px; padding: 0 32px; animation: mf-marquee 26s linear infinite; }
.mf-marquee__track span { font-size: 22px; font-weight: 700; color: #aeb6c6; white-space: nowrap; }

/* --------------------------------------------------------------------------
   Statement paragraph (scroll word highlight)
   -------------------------------------------------------------------------- */
.mf-statement { background: #fff; padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 72px); }
.mf-statement__p {
	max-width: 920px;
	margin: 0 auto;
	font-size: clamp(24px, 3.4vw, 42px);
	line-height: 1.38;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.mf-statement__p [data-word] { color: #c7ccd6; transition: color 0.1s linear; }
.mf-inline-avatars { display: inline-flex; vertical-align: middle; margin: 0 6px; }
.mf-inline-avatars span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; }
.mf-inline-avatars span + span { margin-left: -12px; }
.mf-inline-badge { display: inline-flex; vertical-align: middle; align-items: center; justify-content: center; width: 46px; height: 30px; border-radius: 8px; background: #eaf0ff; margin: 0 6px; color: var(--mf-blue); font-family: ui-monospace, monospace; font-size: 13px; }

/* --------------------------------------------------------------------------
   Split feature blocks (audience growth / monetization)
   -------------------------------------------------------------------------- */
.mf-split-wrap { background: #fff; padding: 0 var(--mf-gutter) clamp(20px, 4vw, 40px); }
.mf-split {
	max-width: var(--mf-maxw);
	margin: 0 auto;
	border-radius: var(--mf-radius-lg);
	padding: clamp(30px, 4vw, 54px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 36px;
	align-items: center;
}
.mf-split--growth { background: linear-gradient(135deg, #e7f0fc, #d7e6fb); }
.mf-split--money { background: linear-gradient(135deg, #fbe4d0 0%, #ecd8f2 46%, #e3d3f5 100%); }
.mf-split h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -0.02em; margin: 18px 0 0; font-weight: 700; }
.mf-split p { margin: 16px 0 0; max-width: 380px; }
.mf-card {
	background: #fff;
	border-radius: var(--mf-radius-card);
	padding: 20px;
	box-shadow: 0 20px 40px rgba(30, 60, 140, 0.1);
}
.mf-card__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mf-money-grid { display: grid; gap: 14px; }
.mf-money-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; align-items: center; font-size: 12px; }

/* --------------------------------------------------------------------------
   Features grid
   -------------------------------------------------------------------------- */
.mf-features { background: #fff; padding: clamp(50px, 7vw, 96px) clamp(20px, 5vw, 72px); }
.mf-features__grid {
	max-width: 920px;
	margin: 44px auto 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}
.mf-feature {
	border: 1px solid var(--mf-line);
	border-radius: var(--mf-radius-card);
	padding: 26px;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.mf-feature:hover { border-color: #c9d6ff; box-shadow: 0 16px 34px rgba(30, 60, 140, 0.08); transform: translateY(-3px); }
.mf-feature__icon {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #eaf0ff;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--mf-blue);
}
.mf-feature h3 { font-size: 19px; font-weight: 600; margin: 18px 0 0; }
.mf-feature p { color: #6b7488; font-size: 14px; line-height: 1.55; margin: 10px 0 0; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.mf-testimonials { background: #fff; padding: 0 var(--mf-gutter) clamp(40px, 6vw, 80px); }
.mf-testimonials__inner {
	max-width: var(--mf-maxw);
	margin: 0 auto;
	background: linear-gradient(180deg, #e7f0fc, #eef4fd);
	border-radius: var(--mf-radius-lg);
	padding: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 48px);
}
.mf-testimonials__grid { margin-top: 40px; columns: 3 260px; column-gap: 20px; }
.mf-quote {
	break-inside: avoid;
	background: #fff;
	border-radius: 16px;
	padding: 22px;
	margin-bottom: 20px;
	box-shadow: var(--mf-shadow-soft);
}
.mf-quote p { font-size: 14px; line-height: 1.6; color: #3a4258; margin: 0; }
.mf-quote__by { display: flex; align-items: center; gap: 11px; margin-top: 16px; }
.mf-quote__avatar { width: 38px; height: 38px; border-radius: 50%; flex: none; }
.mf-quote__name { font-size: 13px; font-weight: 600; }
.mf-quote__role { font-size: 12px; color: var(--mf-muted); }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.mf-pricing { background: #fff; padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 72px); }
.mf-toggle {
	display: inline-flex;
	margin-top: 26px;
	background: #f2f5fb;
	padding: 5px;
	border-radius: var(--mf-radius-pill);
}
.mf-toggle button {
	border: none;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	padding: 9px 18px;
	border-radius: var(--mf-radius-pill);
	background: transparent;
	color: #7a8398;
	transition: all 0.25s ease;
}
.mf-toggle button.is-active {
	font-weight: 600;
	background: #fff;
	color: var(--mf-ink);
	box-shadow: 0 2px 8px rgba(15, 20, 36, 0.08);
}
.mf-plans {
	max-width: 1060px;
	margin: 44px auto 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 22px;
	align-items: stretch;
}
.mf-plan {
	border: 1px solid var(--mf-line);
	border-radius: 22px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	background: #fff;
	transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.mf-plan:hover { box-shadow: 0 20px 44px rgba(30, 60, 140, 0.1); transform: translateY(-4px); }
.mf-plan--featured { border-color: transparent; background: linear-gradient(180deg, #dce9fc, #c9ddfb); }
.mf-plan__badge {
	position: absolute;
	top: 18px;
	right: 18px;
	font-size: 11px;
	font-weight: 600;
	background: var(--mf-blue);
	color: #fff;
	padding: 4px 11px;
	border-radius: var(--mf-radius-pill);
}
.mf-plan { position: relative; }
.mf-plan__icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #eaf0ff;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--mf-blue);
}
.mf-plan--featured .mf-plan__icon { background: #fff; }
.mf-plan h3 { font-size: 20px; font-weight: 600; margin: 18px 0 0; }
.mf-plan__desc { color: var(--mf-muted); font-size: 13px; margin: 6px 0 0; }
.mf-plan--featured .mf-plan__desc { color: #5a6480; }
.mf-plan__price { font-size: 40px; font-weight: 700; margin: 18px 0 0; }
.mf-plan__price small { font-size: 15px; color: var(--mf-muted); font-weight: 500; }
.mf-plan__rule { height: 1px; background: var(--mf-line); margin: 22px 0; }
.mf-plan--featured .mf-plan__rule { background: rgba(15, 20, 36, 0.08); }
.mf-plan__list { display: grid; gap: 12px; font-size: 14px; color: #3a4258; margin: 0; padding: 0; list-style: none; flex: 1; }
.mf-plan__list li { display: flex; gap: 10px; align-items: center; }
.mf-plan__check {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--mf-lime);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	color: var(--mf-ink);
}
.mf-plan .mf-btn { margin-top: 24px; }
.mf-plan__note { text-align: center; font-size: 12px; color: var(--mf-muted); margin: 12px 0 0; }
.mf-plan--featured .mf-plan__note { color: #5a6480; }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.mf-cta-wrap { background: #fff; padding: 0 var(--mf-gutter) clamp(50px, 7vw, 90px); }
.mf-cta {
	max-width: 1000px;
	margin: 0 auto;
	background: linear-gradient(180deg, #e7f0fc, #d5e5fb);
	border-radius: var(--mf-radius-lg);
	padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 48px) 0;
	text-align: center;
	overflow: hidden;
}
.mf-cta h2 { font-size: clamp(28px, 4vw, 48px); letter-spacing: -0.03em; font-weight: 700; margin: 18px 0 0; line-height: 1.08; }
.mf-cta__mock {
	max-width: 760px;
	margin: 44px auto 0;
	background: #fff;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 -6px 40px rgba(30, 60, 140, 0.12);
	padding: 14px 14px 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.mf-footer { background: #141922; color: #c5ccd8; padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 72px) 0; position: relative; overflow: hidden; }
.mf-footer__grid { max-width: var(--mf-maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.mf-footer p { font-size: 15px; line-height: 1.6; color: #e4e9f1; margin: 0; }
.mf-footer__links { display: grid; gap: 14px; font-size: 14px; list-style: none; margin: 0; padding: 0; }
.mf-footer__links a { color: #c5ccd8; text-decoration: none; transition: color 0.2s ease; }
.mf-footer__links a:hover { color: #fff; }
.mf-social { display: flex; gap: 10px; margin-top: 12px; }
.mf-social a {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #2c3340;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #e4e9f1;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.mf-social a:hover { background: var(--mf-blue); border-color: var(--mf-blue); }
.mf-social svg { width: 16px; height: 16px; }
.mf-footer__sub-label { font-size: 13px; color: #8993a5; margin: 22px 0 12px; }
.mf-subscribe { display: flex; gap: 8px; flex-wrap: wrap; }
.mf-subscribe input {
	flex: 1;
	min-width: 160px;
	background: #1d2431;
	border: 1px solid #2c3340;
	border-radius: 10px;
	padding: 11px 14px;
	color: #e4e9f1;
	font: inherit;
	font-size: 13px;
}
.mf-subscribe button { background: var(--mf-blue); color: #fff; border: none; border-radius: 10px; padding: 11px 20px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.mf-subscribe button:hover { background: var(--mf-blue-deep); }
.mf-footer__watermark { max-width: var(--mf-maxw); margin: 36px auto 0; font-weight: 800; font-size: clamp(70px, 17vw, 220px); letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.035); line-height: 0.9; user-select: none; }
.mf-footer__bottom { max-width: var(--mf-maxw); margin: 0 auto; border-top: 1px solid #232a36; padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 12px; color: #8993a5; }
.mf-footer__bottom a { color: #8993a5; text-decoration: none; }
.mf-footer__bottom a:hover { color: #c5ccd8; }
.mf-footer__legal { display: flex; gap: 26px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Inner page hero + shared page pieces
   -------------------------------------------------------------------------- */
.mf-page-hero {
	background: linear-gradient(180deg, #e7f0fc 0%, #dfeafb 100%);
	border-radius: 0 0 32px 32px;
	padding: clamp(56px, 8vw, 100px) var(--mf-gutter) clamp(48px, 6vw, 76px);
	text-align: center;
}
.mf-page-hero h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.03em; font-weight: 700; margin: 18px 0 0; line-height: 1.04; }
.mf-page-hero p { max-width: 560px; margin: 18px auto 0; }
.mf-section { background: #fff; padding: clamp(48px, 7vw, 96px) var(--mf-gutter); }
.mf-section--tint { background: var(--mf-surface); }

/* About: values + stats + team */
.mf-values { max-width: var(--mf-maxw); margin: 44px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.mf-value { border: 1px solid var(--mf-line); border-radius: var(--mf-radius-card); padding: 28px; background: #fff; }
.mf-value__icon { width: 46px; height: 46px; border-radius: 13px; background: #eaf0ff; color: var(--mf-blue); display: flex; align-items: center; justify-content: center; }
.mf-value h3 { font-size: 18px; font-weight: 600; margin: 18px 0 0; }
.mf-value p { color: #6b7488; font-size: 14px; line-height: 1.55; margin: 10px 0 0; }

.mf-stats { max-width: var(--mf-maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; text-align: center; }
.mf-stat { background: #fff; border-radius: var(--mf-radius-card); padding: 32px 20px; box-shadow: var(--mf-shadow-soft); }
.mf-stat__num { font-size: clamp(34px, 4vw, 52px); font-weight: 700; letter-spacing: -0.02em; color: var(--mf-blue); }
.mf-stat__label { font-size: 14px; color: var(--mf-body); margin-top: 6px; }

.mf-team { max-width: var(--mf-maxw); margin: 44px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.mf-member { text-align: center; }
.mf-member__photo { width: 100%; aspect-ratio: 1 / 1; border-radius: var(--mf-radius-card); background: repeating-linear-gradient(45deg, #e3e9f4 0 8px, #eef2f9 8px 16px); }
.mf-member h3 { font-size: 17px; font-weight: 600; margin: 16px 0 0; }
.mf-member p { color: var(--mf-muted); font-size: 13px; margin: 4px 0 0; }

/* Contact */
.mf-contact-grid { max-width: var(--mf-maxw); margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: start; }
.mf-contact-info { display: grid; gap: 16px; }
.mf-info-card { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--mf-line); border-radius: var(--mf-radius-card); padding: 22px; background: #fff; }
.mf-info-card__icon { width: 44px; height: 44px; border-radius: 12px; background: #eaf0ff; color: var(--mf-blue); display: flex; align-items: center; justify-content: center; flex: none; }
.mf-info-card h3 { font-size: 15px; font-weight: 600; margin: 0; }
.mf-info-card p, .mf-info-card a { font-size: 14px; color: var(--mf-body); margin: 4px 0 0; text-decoration: none; display: block; }
.mf-info-card a:hover { color: var(--mf-blue); }
.mf-form-card { background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-radius-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--mf-shadow-soft); }

/* Style Contact Form 7 + fallback form to match the brand */
.mf-form-card label { display: block; font-size: 13px; font-weight: 600; color: #3a4258; margin-bottom: 6px; }
.mf-form-card .mf-field { margin-bottom: 18px; }
.mf-form-card input[type="text"],
.mf-form-card input[type="email"],
.mf-form-card input[type="tel"],
.mf-form-card input[type="url"],
.mf-form-card select,
.mf-form-card textarea,
.mf-form-card .wpcf7-form-control:not(.wpcf7-submit):not([type="checkbox"]):not([type="radio"]) {
	width: 100%;
	font: inherit;
	font-size: 14px;
	color: var(--mf-ink);
	background: var(--mf-surface);
	border: 1px solid #e2e8f2;
	border-radius: 12px;
	padding: 12px 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mf-form-card textarea { min-height: 140px; resize: vertical; }
.mf-form-card input:focus,
.mf-form-card select:focus,
.mf-form-card textarea:focus,
.mf-form-card .wpcf7-form-control:focus {
	outline: none;
	border-color: var(--mf-blue);
	box-shadow: 0 0 0 4px rgba(47, 86, 234, 0.12);
}
.mf-form-card .wpcf7-submit,
.mf-form-card button[type="submit"] {
	background: var(--mf-blue);
	color: #fff;
	border: none;
	border-radius: var(--mf-radius-pill);
	padding: 14px 30px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: var(--mf-shadow-btn);
	transition: background 0.2s ease, transform 0.2s ease;
}
.mf-form-card .wpcf7-submit:hover,
.mf-form-card button[type="submit"]:hover { background: var(--mf-blue-deep); transform: translateY(-2px); }
.mf-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

/* Comparison table (pricing) */
.mf-compare { max-width: var(--mf-maxw); margin: 40px auto 0; overflow-x: auto; }
.mf-compare__table { width: 100%; min-width: 560px; border-collapse: collapse; background: #fff; border-radius: var(--mf-radius-card); overflow: hidden; box-shadow: var(--mf-shadow-soft); }
.mf-compare__table th,
.mf-compare__table td { padding: 14px 20px; text-align: center; font-size: 14px; border-bottom: 1px solid var(--mf-line); }
.mf-compare__table th[scope="row"] { text-align: left; font-weight: 500; color: #3a4258; }
.mf-compare__table thead th { font-weight: 600; color: var(--mf-ink); background: var(--mf-surface); }
.mf-compare__table thead th:first-child { text-align: left; }
.mf-compare__table tbody tr:last-child th,
.mf-compare__table tbody tr:last-child td { border-bottom: none; }

/* How-it-works numbered steps */
.mf-steps { max-width: var(--mf-maxw); margin: 44px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.mf-step { background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-radius-card); padding: 26px; }
.mf-step__num { width: 40px; height: 40px; border-radius: 50%; background: var(--mf-blue); color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.mf-step h3 { font-size: 17px; font-weight: 600; margin: 18px 0 0; }
.mf-step p { color: #6b7488; font-size: 14px; line-height: 1.55; margin: 10px 0 0; }

/* FAQ (pricing/about) */
.mf-faq { max-width: 760px; margin: 40px auto 0; display: grid; gap: 12px; }
.mf-faq__item { border: 1px solid var(--mf-line); border-radius: 16px; background: #fff; overflow: hidden; }
.mf-faq__q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; font: inherit; font-size: 16px; font-weight: 600; color: var(--mf-ink); padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mf-faq__q .mf-faq__sign { flex: none; width: 22px; height: 22px; position: relative; }
.mf-faq__q .mf-faq__sign::before,
.mf-faq__q .mf-faq__sign::after { content: ""; position: absolute; background: var(--mf-blue); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.mf-faq__q .mf-faq__sign::before { top: 10px; left: 3px; width: 16px; height: 2px; }
.mf-faq__q .mf-faq__sign::after { top: 3px; left: 10px; width: 2px; height: 16px; }
.mf-faq__item.is-open .mf-faq__sign::after { transform: rotate(90deg); opacity: 0; }
.mf-faq__a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.mf-faq__a p { color: var(--mf-body); font-size: 14px; line-height: 1.6; margin: 0; padding: 0 22px 20px; }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
/* Hidden only when JS is present (.mf-js is set in <head>); no-JS shows content. */
.mf-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.mf-js [data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.06s; }
[data-reveal-delay="2"] { transition-delay: 0.12s; }
[data-reveal-delay="3"] { transition-delay: 0.18s; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.mf-mt-8 { margin-top: 8px; }
.mf-mt-16 { margin-top: 16px; }
.mf-mt-24 { margin-top: 24px; }
.mf-center { text-align: center; }
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
}

/* --------------------------------------------------------------------------
   Focus-visible — keyboard accessibility (UX checklist)
   -------------------------------------------------------------------------- */
.mf a:focus-visible,
.mf button:focus-visible,
.mf input:focus-visible,
.mf textarea:focus-visible,
.mf select:focus-visible,
.mf [tabindex]:focus-visible {
	outline: 3px solid rgba(47, 86, 234, 0.55);
	outline-offset: 2px;
	border-radius: 6px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
	.mf-dash__row--top { grid-template-columns: 1fr; }
	.mf-dash__row--bottom { grid-template-columns: 1fr; }
	.mf-contact-grid { grid-template-columns: 1fr; }
	.mf-testimonials__grid { columns: 2 240px; }
}

@media (max-width: 860px) {
	.mf-dash2__sidebar { display: none; }
}

@media (max-width: 700px) {
	.mf-dash2__row2, .mf-dash2__row3 { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
	.mf-nav__cta { display: none; }
	.mf-nav__toggle { display: inline-flex; }
	.mf-nav__menu {
		position: absolute;
		top: calc(100% + 10px);
		left: var(--mf-gutter);
		right: var(--mf-gutter);
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		background: rgba(255, 255, 255, 0.96);
		backdrop-filter: blur(20px) saturate(180%);
		-webkit-backdrop-filter: blur(20px) saturate(180%);
		border: 1px solid rgba(255, 255, 255, 0.7);
		border-radius: 20px;
		box-shadow: 0 20px 44px rgba(30, 50, 110, 0.22);
		padding: 12px;
		opacity: 0;
		transform: translateY(-8px);
		pointer-events: none;
		transition: opacity 0.22s ease, transform 0.22s ease;
	}
	.mf-nav.is-open .mf-nav__menu { opacity: 1; transform: none; pointer-events: auto; }
	.mf-nav__menu li { margin: 0; }
	.mf-nav__menu a {
		display: flex;
		align-items: center;
		min-height: 48px;
		padding: 0 16px;
		font-size: 16px;
		border-radius: 14px;
	}
	.mf-nav__menu a:hover,
	.mf-nav__menu a:focus-visible { background: #eef2fd; }
	.mf-nav__menu a::after { display: none; }
	.mf-nav__menu .mf-nav__mobile-cta { display: block; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--mf-line); }
	.mf-nav__menu .mf-nav__mobile-cta a {
		justify-content: center;
		background: var(--mf-blue);
		color: #fff;
		font-weight: 600;
		min-height: 50px;
		border-radius: var(--mf-radius-pill);
		box-shadow: var(--mf-shadow-btn);
	}
	.mf-nav__menu .mf-nav__mobile-cta a:hover { background: var(--mf-blue-deep); }
}

@media (max-width: 640px) {
	.mf-dashboard { margin-bottom: -200px; }
	.mf-after-hero { padding-top: 260px; }
	.mf-testimonials__grid { columns: 1; }
	.mf-form-grid { grid-template-columns: 1fr; }
	.mf-ai-float { display: none; }
}

/* --------------------------------------------------------------------------
   Reduced motion (UX checklist)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
	.mf-ai-float__badge,
	.mf-marquee__track { animation: none !important; }
	[data-reveal] { opacity: 1 !important; transform: none !important; }
}
