/*
Theme Name:   NMFR Divi Child
Description:  NMFR Trading child theme for Divi 4. Brand styles, MVP header and footer, and the
              building blocks used by the page layouts. Replaces the previous agency's child theme.
Author:       NMFR Trading
Template:     Divi
Version:      1.0.0
Requires PHP: 7.4
Text Domain:  nmfr
*/

/*
 * Layout: Divi's own header (logo, primary menu) and sections, restyled to the NMFR mockups — dark navy
 * page, NMFR green for actions and highlighted words, cards for grouped content. Page layouts are
 * ordinary Divi sections and modules; they get their look from the classes below, so text stays
 * editable in the Divi builder.
 */
/* Colors from the NMFR Web Dev Brand Package (04_Developer_Handoff/design-tokens.css). */
:root {
	--nmfr-bg: #03141b;            /* ink */
	--nmfr-surface: #061d26;       /* deep navy */
	--nmfr-surface-2: #082832;     /* panel */
	--nmfr-line: rgba(16, 239, 194, .16);
	--nmfr-line-strong: rgba(16, 239, 194, .30);  /* panel border */
	--nmfr-border-teal: #0e5662;
	--nmfr-text: #f7fafc;
	--nmfr-body: #dde8ec;
	--nmfr-muted: #a9bbc2;
	--nmfr-green: #10efc2;         /* aqua: accents, active states, icons, primary result */
	--nmfr-green-ink: #03141b;     /* text on aqua */
	--nmfr-cta: linear-gradient(90deg, #00cfa8, #10efc2);
	--nmfr-glow: 0 0 28px rgba(16, 239, 194, .18);
	--nmfr-positive: #18d68a;
	--nmfr-amber: #f4c84a;         /* warnings and tips only */
	--nmfr-red: #ff4d4d;           /* loss / danger only */
	--nmfr-panel-bg: linear-gradient(180deg, rgba(8, 40, 50, .96), rgba(3, 20, 27, .96));
	--nmfr-font: "Inter", Arial, Helvetica, sans-serif;
	--nmfr-radius: 14px;
	--nmfr-content: 1180px;
	--nmfr-header-h: 72px;
	color-scheme: dark;
}

/* ---------- Base ---------- */
body.nmfr-site,
body.nmfr-site #page-container,
body.nmfr-site #main-content,
body.nmfr-site #et-main-area {
	background: var(--nmfr-bg);
}
body.nmfr-site {
	color: var(--nmfr-body);
	font-family: var(--nmfr-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
body.nmfr-site #main-content .container::before { display: none; } /* Divi sidebar divider */
body.nmfr-site h1, body.nmfr-site h2, body.nmfr-site h3, body.nmfr-site h4,
body.nmfr-site .et_pb_module h1, body.nmfr-site .et_pb_module h2, body.nmfr-site .et_pb_module h3 {
	color: var(--nmfr-text);
	font-family: var(--nmfr-font);
	font-weight: 800;
	letter-spacing: -0.015em;
	line-height: 1.12;
	padding-bottom: 0;
	text-wrap: balance;
}
body.nmfr-site a { color: var(--nmfr-green); }
body.nmfr-site ::selection { background: rgba(16, 239, 194, .3); }
body.nmfr-site :focus-visible { outline: 2px solid var(--nmfr-green); outline-offset: 2px; }

/* Divi spacing reset for NMFR layouts */
.nmfr-site .et_pb_section.nmfr-section { padding: 56px 0; background-color: transparent; }
.nmfr-site .et_pb_section.nmfr-section--tight { padding: 28px 0; }
.nmfr-site .nmfr-section .et_pb_row { width: calc(100% - 32px); max-width: var(--nmfr-content); padding: 0; margin: 0 auto; }
.nmfr-site .nmfr-section .et_pb_row + .et_pb_row { margin-top: 28px; }
.nmfr-site .nmfr-section .et_pb_module { margin-bottom: 0; }
/* Margin only: padding here would strip the bottom padding of cards, CTA bands and tip boxes. */
.nmfr-site .nmfr-section .et_pb_text_inner > :last-child { margin-bottom: 0; }
/* Only text written in Divi text modules — never the calculator plugin's own markup. */
.nmfr-site .nmfr-section .et_pb_text p { padding-bottom: 0; margin: 0 0 14px; }
/*
 * Column grid for NMFR sections. Self-contained so layouts don't depend on which of Divi's performance
 * modes (dynamic CSS, critical CSS, deferred stylesheets) delivers Divi's own float grid.
 */
.nmfr-site .nmfr-section .et_pb_column { float: none; width: 100%; margin-right: 0; }
@media (min-width: 981px) {
	.nmfr-site .nmfr-section .et_pb_row { width: calc(100% - 56px); display: flex; gap: 28px; align-items: stretch; }
	.nmfr-site .nmfr-section .et_pb_row::after { content: none; }
	.nmfr-site .nmfr-section .et_pb_column { min-width: 0; margin: 0; }
	.nmfr-site .nmfr-section .et_pb_column_4_4 { flex: 1 1 100%; }
	.nmfr-site .nmfr-section .et_pb_column_1_2 { flex: 1 1 0; }
	.nmfr-site .nmfr-section .et_pb_column_2_3 { flex: 2 1 0; }
	.nmfr-site .nmfr-section .et_pb_column_1_3 { flex: 1 1 0; }
	/* Hero: headline takes the room, the note card keeps the mockup's width. */
	.nmfr-site .nmfr-hero .et_pb_column_2_3 { flex: 1 1 auto; }
	.nmfr-site .nmfr-hero .et_pb_column_1_3 { flex: 0 0 320px; }
	/* Side-by-side cards share one height. */
	.nmfr-site .nmfr-section .et_pb_column > .et_pb_text:has(.nmfr-card),
	.nmfr-site .nmfr-section .et_pb_text:has(.nmfr-card) .et_pb_text_inner { height: 100%; }
	/* Hero note card sits level with the headline. */
	.nmfr-site .nmfr-hero .et_pb_column_1_3 { display: flex; align-items: center; }
	.nmfr-site .nmfr-hero .et_pb_column_1_3 .et_pb_module { width: 100%; }
}
@media (max-width: 980px) {
	.nmfr-site .et_pb_section.nmfr-section { padding: 40px 0; }
	.nmfr-site .nmfr-section .et_pb_column { margin-bottom: 20px; }
	.nmfr-site .nmfr-section .et_pb_column:last-child { margin-bottom: 0; }
}

/* ---------- Header (Divi #main-header) ---------- */
.nmfr-site #main-header {
	background: rgba(6, 11, 17, .92);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--nmfr-line);
	box-shadow: none;
}
.nmfr-site #main-header .container { width: calc(100% - 32px); max-width: var(--nmfr-content); }
/*
 * Logo lockup (brand guide: hat = icon, NMFR TRADING = wordmark, hat + wordmark = primary logo).
 * Divi's logo image is the supplied white hat; the wordmark is set in Inter next to it, monochrome
 * as the brand guide requires. The image's alt text carries the name for screen readers.
 */
.nmfr-site #main-header .logo_container > a {
	display: inline-grid;
	grid-template-columns: auto auto;
	grid-template-rows: auto auto;
	align-items: center;
	column-gap: 10px;
	color: var(--nmfr-text);
	line-height: 1;
	text-decoration: none;
}
.nmfr-site #main-header .logo_container > a::before {
	content: "NMFR";
	grid-column: 2;
	grid-row: 1;
	align-self: end;
	font: 900 23px/0.95 var(--nmfr-font);
	letter-spacing: -0.01em;
}
.nmfr-site #main-header .logo_container > a::after {
	content: "TRADING";
	grid-column: 2;
	grid-row: 2;
	align-self: start;
	margin-top: 3px;
	padding: 0 11px 0 calc(11px + .45em);
	background:
		linear-gradient(currentColor, currentColor) left 55% / 8px 1px no-repeat,
		linear-gradient(currentColor, currentColor) right 55% / 8px 1px no-repeat;
	font: 600 7.5px/1 var(--nmfr-font);
	letter-spacing: .45em;
	text-align: center;
	white-space: nowrap;
}
.nmfr-site #main-header #logo,
.nmfr-site.et_pb_svg_logo #main-header #logo { grid-column: 1; grid-row: 1 / span 2; display: block; width: auto !important; max-width: none !important; height: 30px !important; max-height: none; }
.nmfr-site #top-menu li a,
.nmfr-site .et_header_style_left #et-top-navigation nav > ul > li > a {
	color: var(--nmfr-text);
	font-family: var(--nmfr-font);
	font-size: 14.5px;
	font-weight: 600;
	opacity: .92;
}
.nmfr-site #top-menu li a:hover { opacity: 1; color: var(--nmfr-text); }
.nmfr-site #top-menu li.current-menu-item > a,
.nmfr-site #top-menu li.current-menu-ancestor > a,
.nmfr-site #top-menu li.current-page-ancestor > a { color: var(--nmfr-green); opacity: 1; }
/* Active page: aqua underline (brand component spec). */
.nmfr-site #top-menu > li:not(.nmfr-menu-cta).current-menu-item > a,
.nmfr-site #top-menu > li:not(.nmfr-menu-cta).current-menu-ancestor > a,
.nmfr-site #top-menu > li:not(.nmfr-menu-cta).current-page-ancestor > a { text-decoration: underline 2px var(--nmfr-green); text-underline-offset: 10px; }
/*
 * Desktop header as one centered row, per the mockup: logo · nav links · (right) Log In + Start Free Trial.
 * Divi positions its header with absolute logo, top padding on the nav (some !important) and 36px bottom
 * padding on each link; all of that is replaced here so every item shares one vertical center.
 */
@media (min-width: 981px) {
	.nmfr-site #main-header .container.et_menu_container { display: flex; align-items: center; height: var(--nmfr-header-h); }
	.nmfr-site #main-header .container::after { content: none; }
	.nmfr-site #main-header .logo_container { position: static; display: flex; align-items: center; flex: 0 0 auto; width: auto; height: auto; }
	.nmfr-site #main-header .logo_helper { display: none; }
	.nmfr-site #et-top-navigation,
	.nmfr-site.et_header_style_left #et-top-navigation { display: flex; align-items: center; flex: 1 1 auto; float: none; margin-left: 56px; padding: 0 !important; }
	.nmfr-site #top-menu-nav { display: flex; flex: 1 1 auto; float: none; }
	.nmfr-site #top-menu { display: flex; align-items: center; width: 100%; float: none; }
	.nmfr-site #top-menu > li { display: flex; align-items: center; margin: 0; padding: 0 30px 0 0; }
	.nmfr-site #et-top-navigation nav > ul > li > a,
	.nmfr-site.et_header_style_left #et-top-navigation nav > ul > li > a { padding: 0 !important; line-height: 1.2; }
	.nmfr-site #top-menu > li.nmfr-menu-login { margin-left: auto; padding-right: 26px; }
	.nmfr-site #top-menu > li.nmfr-menu-cta { padding-right: 0; }
	.nmfr-site #top-menu > li.nmfr-menu-cta > a,
	.nmfr-site.et_header_style_left #et-top-navigation nav > ul > li.nmfr-menu-cta > a {
		padding: 12px 20px !important;
		border-radius: 8px;
		background: var(--nmfr-cta);
		color: var(--nmfr-green-ink) !important;
		font-weight: 800;
		box-shadow: var(--nmfr-glow);
		opacity: 1;
	}
	.nmfr-site #top-menu > li.nmfr-menu-cta > a:hover { filter: brightness(1.08); }
	/* Divi shrinks the header on scroll; keep the same row height so nothing jumps. */
	.nmfr-site #main-header.et-fixed-header .container.et_menu_container { height: 64px; }
}
/* No header search in the NMFR design. */
.nmfr-site #et_top_search,
.nmfr-site #et_search_icon,
.nmfr-site .et_search_outer { display: none !important; }
/* Mobile menu */
.nmfr-site .mobile_menu_bar::before { color: var(--nmfr-text); }
.nmfr-site .et_mobile_menu { background: var(--nmfr-surface-2); border-top-color: var(--nmfr-green); }
.nmfr-site .et_mobile_menu li a { color: var(--nmfr-text); border-bottom-color: var(--nmfr-line); font-weight: 600; }
.nmfr-site .et_mobile_menu li.nmfr-menu-cta a { color: var(--nmfr-green); }

/* ---------- Type helpers ---------- */
.nmfr-eyebrow { margin: 0 0 10px !important; color: var(--nmfr-green); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nmfr-site .nmfr-h1 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -.025em; margin-bottom: 16px; }
.nmfr-site .nmfr-h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 12px; }
.nmfr-site .nmfr-h3 { font-size: 21px; margin-bottom: 8px; }
.nmfr-accent { color: var(--nmfr-green); }
.nmfr-lede { max-width: 62ch; color: var(--nmfr-text); font-size: 18px; opacity: .88; }
.nmfr-muted { color: var(--nmfr-muted); }
.nmfr-center { text-align: center; }
.nmfr-center .nmfr-lede { margin-left: auto; margin-right: auto; }

/* ---------- Breadcrumbs ---------- */
.nmfr-breadcrumbs { margin: 0 0 20px; font-size: 14px; color: var(--nmfr-muted); }
.nmfr-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nmfr-breadcrumbs li { padding: 0; }
.nmfr-breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--nmfr-muted); }
.nmfr-breadcrumbs a { color: var(--nmfr-text); text-decoration: none; }
.nmfr-breadcrumbs a:hover { color: var(--nmfr-green); }

/* ---------- Buttons ---------- */
.nmfr-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.nmfr-center .nmfr-actions { justify-content: center; }
a.nmfr-button, button.nmfr-button,
.nmfr-site a.nmfr-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 22px;
	border: 0;
	border-radius: 8px;
	background: var(--nmfr-cta);
	box-shadow: var(--nmfr-glow);
	color: var(--nmfr-green-ink);
	font-weight: 800;
	font-size: 15.5px;
	text-decoration: none;
	transition: filter .15s, background .15s;
}
a.nmfr-button:hover, button.nmfr-button:hover { filter: brightness(1.08); color: var(--nmfr-green-ink); }
a.nmfr-button::after { content: "→"; transition: transform .15s; }
a.nmfr-button:hover::after { transform: translateX(3px); }
a.nmfr-button.nmfr-button--ghost { background: transparent; border: 1px solid var(--nmfr-line-strong); box-shadow: none; color: var(--nmfr-text); font-weight: 700; }
a.nmfr-button.nmfr-button--ghost::after { content: none; }
a.nmfr-button.nmfr-button--ghost:hover { background: rgba(16, 239, 194, .08); border-color: var(--nmfr-green); color: var(--nmfr-text); filter: none; }
.nmfr-trust { margin-top: 14px !important; color: var(--nmfr-muted); font-size: 14px; }

/* ---------- Cards ---------- */
.nmfr-card {
	height: 100%;
	padding: 26px;
	border: 1px solid var(--nmfr-line-strong);
	border-radius: var(--nmfr-radius);
	background: var(--nmfr-panel-bg);
}
.nmfr-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.nmfr-card__head .nmfr-h3, .nmfr-card__head h3, .nmfr-card__head .nmfr-eyebrow { margin: 0 !important; }
.nmfr-card .nmfr-subtitle { margin: -6px 0 12px; color: var(--nmfr-text); font-weight: 700; }

/* Hero support card ("Plan your trades. Manage risk. Trade with confidence.") */
.nmfr-hero-note { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 320px; margin-left: auto; padding: 20px 22px; border: 1px solid var(--nmfr-line-strong); border-radius: var(--nmfr-radius); background: rgba(11, 20, 30, .85); }
.nmfr-hero-note p { margin: 0 !important; padding: 0 !important; color: var(--nmfr-text); font-size: 14.5px; line-height: 1.6; }
.nmfr-hero-note .nmfr-ico--lg { width: 40px; height: 40px; }
@media (max-width: 980px) { .nmfr-hero-note { margin-left: 0; } }

/* Benefit chips under hero, and the benefit strip at page end */
.nmfr-benefits { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0 !important; padding: 0 !important; list-style: none; }
.nmfr-benefits li { display: flex; align-items: center; gap: 8px; padding: 0; color: var(--nmfr-text); font-weight: 600; font-size: 14.5px; }
.nmfr-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 !important; padding: 26px 0 0 !important; border-top: 1px solid var(--nmfr-line); list-style: none; }
.nmfr-strip li { display: flex; align-items: center; gap: 12px; padding: 0; color: var(--nmfr-text); font-weight: 600; font-size: 14.5px; }
@media (max-width: 980px) { .nmfr-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .nmfr-strip { grid-template-columns: 1fr; } }

/* Numbered steps (How It Works) */
.nmfr-steps { counter-reset: nmfr-step; display: grid; gap: 14px; margin: 18px 0 0 !important; padding: 0 !important; list-style: none; }
.nmfr-steps li { counter-increment: nmfr-step; display: flex; align-items: center; gap: 14px; padding: 0; color: var(--nmfr-text); font-size: 15.5px; }
.nmfr-steps li::before {
	content: counter(nmfr-step);
	display: grid;
	place-items: center;
	flex: 0 0 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--nmfr-green);
	color: var(--nmfr-green-ink);
	font-weight: 800;
	font-size: 14px;
}

/* Check list (positioning bullets) */
.nmfr-checks { display: grid; gap: 10px; margin: 18px 0 0 !important; padding: 0 !important; list-style: none; }
.nmfr-checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
@media (max-width: 680px) { .nmfr-checks--2 { grid-template-columns: 1fr; } }
.nmfr-checks li { display: flex; align-items: flex-start; gap: 10px; padding: 0; color: var(--nmfr-text); font-size: 15.5px; }
.nmfr-checks li::before { content: ""; flex: 0 0 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--nmfr-green) var(--nmfr-check) center / 12px no-repeat; }

/* Example calculation */
.nmfr-example { margin: 16px 0 0 !important; border: 1px solid var(--nmfr-line); border-radius: 10px; overflow: hidden; }
.nmfr-example div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 16px; border-top: 1px solid rgba(28, 43, 57, .6); font-size: 15px; }
.nmfr-example div:first-child { border-top: 0; }
.nmfr-example div.nmfr-example__break { border-top: 1px solid var(--nmfr-line-strong); }
.nmfr-example dt { color: var(--nmfr-body); }
.nmfr-example dd { margin: 0; color: var(--nmfr-text); font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.nmfr-example .is-ok dd { color: var(--nmfr-green); font-size: 17px; }
.nmfr-example .is-bad dd { color: var(--nmfr-red); }

/* Tip and callout boxes */
.nmfr-tip { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border: 1px solid var(--nmfr-line-strong); border-radius: var(--nmfr-radius); background: var(--nmfr-surface); }
.nmfr-tip__label { flex: 0 0 auto; color: var(--nmfr-amber); font-size: 16px; font-weight: 700; }
.nmfr-tip p { margin: 0 !important; color: var(--nmfr-text); }
@media (max-width: 680px) { .nmfr-tip { flex-wrap: wrap; } }

/* Calculator overview cards on the Trading Tools hub */
.nmfr-tool-card .nmfr-actions { margin-top: 18px; }
.nmfr-tool-card p { color: var(--nmfr-body); }

/* Workflow steps (Morning Brief → Journal + AAR) */
.nmfr-flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0 !important; padding: 0 !important; list-style: none; counter-reset: nmfr-flow; }
.nmfr-flow li { counter-increment: nmfr-flow; padding: 0; }
/* Divi numbers ordered lists inside text modules; these lists draw their own numbers. */
.nmfr-site .et_pb_text ol.nmfr-flow,
.nmfr-site .et_pb_text ol.nmfr-steps { list-style: none; padding: 0; }
.nmfr-site .et_pb_text ol.nmfr-flow li,
.nmfr-site .et_pb_text ol.nmfr-steps li { list-style: none; }
.nmfr-flow a { display: grid; align-content: start; gap: 4px; height: 100%; padding: 16px; border: 1px solid var(--nmfr-line-strong); border-radius: 12px; background: var(--nmfr-surface); color: var(--nmfr-text); text-decoration: none; transition: border-color .15s; }
.nmfr-flow a:hover { border-color: var(--nmfr-green); }
.nmfr-flow a::before { content: counter(nmfr-flow, decimal-leading-zero); color: var(--nmfr-green); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.nmfr-flow strong { font-size: 15px; }
.nmfr-flow span { color: var(--nmfr-muted); font-size: 13px; line-height: 1.4; }
.nmfr-flow li.is-current a { border-color: var(--nmfr-green); background: rgba(16, 239, 194, .08); }
@media (max-width: 980px) { .nmfr-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .nmfr-flow { grid-template-columns: 1fr; } }

/* FAQ (visible; mirrors the FAQPage structured data) */
.nmfr-faq { display: grid; gap: 10px; margin-top: 18px; }
.nmfr-faq details { border: 1px solid var(--nmfr-line-strong); border-radius: 12px; background: var(--nmfr-surface); }
.nmfr-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; color: var(--nmfr-text); font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; }
.nmfr-faq summary::-webkit-details-marker { display: none; }
.nmfr-faq summary::after { content: "+"; color: var(--nmfr-green); font-size: 22px; line-height: 1; }
.nmfr-faq details[open] summary::after { content: "–"; }
.nmfr-faq details p { margin: 0 !important; padding: 0 20px 18px; }

/* Final CTA band */
.nmfr-cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 34px; border: 1px solid var(--nmfr-line-strong); border-radius: 18px; background: radial-gradient(600px 220px at 85% 0%, rgba(16, 239, 194, .12), transparent 70%), var(--nmfr-surface); }
.nmfr-cta-band__copy { flex: 1 1 420px; }
.nmfr-cta-band__copy p:last-child { margin-bottom: 0 !important; }
.nmfr-cta-band__actions { display: grid; justify-items: end; gap: 12px; }
.nmfr-cta-band__actions .nmfr-actions { margin: 0; }
@media (max-width: 760px) { .nmfr-cta-band { padding: 24px; } .nmfr-cta-band__actions { justify-items: start; } }

/* ---------- Icons (CSS masks, so page content stays plain text) ---------- */
:root {
	--nmfr-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303130b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.nmfr-ico { display: inline-block; flex: 0 0 auto; width: 24px; height: 24px; background: var(--nmfr-green); -webkit-mask: var(--nmfr-ico) center / contain no-repeat; mask: var(--nmfr-ico) center / contain no-repeat; vertical-align: middle; }
.nmfr-ico--lg { width: 44px; height: 44px; }
.nmfr-ico--amber { background: var(--nmfr-amber); }
.nmfr-ico--check { --nmfr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8.2 12.4 2.6 2.6 5-5.4'/%3E%3C/svg%3E"); }
.nmfr-ico--bolt { --nmfr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M13.5 2 4 14h7l-1.5 8L20 10h-7z'/%3E%3C/svg%3E"); }
.nmfr-ico--target { --nmfr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='black'/%3E%3C/svg%3E"); }
.nmfr-ico--lock { --nmfr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10.5' rx='2'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3Cpath d='M12 14.5v3'/%3E%3C/svg%3E"); }
.nmfr-ico--user { --nmfr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='7.5' r='4'/%3E%3Cpath d='M4 21c.8-4.2 4-6.5 8-6.5s7.2 2.3 8 6.5'/%3E%3C/svg%3E"); }
.nmfr-ico--shield { --nmfr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.5 4 5.5v6c0 5 3.4 8.6 8 10 4.6-1.4 8-5 8-10v-6z'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5'/%3E%3C/svg%3E"); }
.nmfr-ico--gear { --nmfr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3Cpath d='M12 2v3M12 19v3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M2 12h3M19 12h3M4.9 19.1 7 17M17 7l2.1-2.1'/%3E%3C/svg%3E"); }
.nmfr-ico--doc { --nmfr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M6 2.5h8.5L19 7v14.5H6z'/%3E%3Cpath d='M14 2.5V7.5h5M9 12h7M9 15.5h7M9 19h4'/%3E%3C/svg%3E"); }
.nmfr-ico--bulb { --nmfr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a7 7 0 0 0-4 12.7V17h8v-2.3A7 7 0 0 0 12 2zM9 19h6v1.5a1.5 1.5 0 0 1-1.5 1.5h-3A1.5 1.5 0 0 1 9 20.5z'/%3E%3C/svg%3E"); }
.nmfr-ico--calc { --nmfr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='5' y='2.5' width='14' height='19' rx='2'/%3E%3Cpath d='M8.5 6.5h7M8.5 11h.01M12 11h.01M15.5 11h.01M8.5 14.5h.01M12 14.5h.01M15.5 14.5h.01M8.5 18h.01M12 18h.01M15.5 18h.01'/%3E%3C/svg%3E"); }
.nmfr-ico--sun { --nmfr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2.5M12 19.5V22M4.9 4.9l1.8 1.8M17.3 17.3l1.8 1.8M2 12h2.5M19.5 12H22M4.9 19.1l1.8-1.8M17.3 6.7l1.8-1.8'/%3E%3C/svg%3E"); }
.nmfr-ico--sidecar { --nmfr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='2.5' y='4' width='19' height='16' rx='2'/%3E%3Cpath d='M15 4v16M17.5 8h1.5M17.5 11.5h1.5M17.5 15h1.5M5.5 15l3-4 2.5 2.5 2-3'/%3E%3C/svg%3E"); }
.nmfr-ico--audio { --nmfr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9.5v5h3.5L13 19V5L7.5 9.5z'/%3E%3Cpath d='M16.5 9a4 4 0 0 1 0 6M19 6.5a7.5 7.5 0 0 1 0 11'/%3E%3C/svg%3E"); }
.nmfr-ico--journal { --nmfr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3.5h12a2 2 0 0 1 2 2v15H7a2 2 0 0 1-2-2z'/%3E%3Cpath d='M5 18.5a2 2 0 0 1 2-2h12M9 7.5h6M9 11h4'/%3E%3C/svg%3E"); }
.nmfr-ico--alert { --nmfr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9 2.4 17.6A2 2 0 0 0 4.1 20.6h15.8a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9.5v4.5M12 17.2h.01'/%3E%3C/svg%3E"); }
.nmfr-ico--red { background: var(--nmfr-red); }

/* ---------- Legal pages: Terms, Privacy, Risk Disclosure, … ---------- */
.nmfr-site .nmfr-hero--legal { padding-bottom: 8px; }
.nmfr-legal-updated { color: var(--nmfr-muted); font-size: 15px; }
@media (min-width: 981px) {
	.nmfr-site .nmfr-section .et_pb_column_1_4 { flex: 0 0 240px; }
	.nmfr-site .nmfr-section .et_pb_column_3_4 { flex: 1 1 0; }
	.nmfr-site .nmfr-legal-row .et_pb_column_1_4 .et_pb_module { position: sticky; top: calc(var(--nmfr-header-h) + 24px); }
}
.nmfr-toc { padding: 18px 20px; border: 1px solid var(--nmfr-line-strong); border-radius: var(--nmfr-radius); background: var(--nmfr-surface); }
.nmfr-site .et_pb_text .nmfr-toc ol { margin: 0; padding: 0 0 0 18px; list-style: decimal; color: var(--nmfr-muted); font-size: 14px; }
.nmfr-toc li { padding: 4px 0; }
.nmfr-toc a { color: var(--nmfr-body); text-decoration: none; }
.nmfr-toc a:hover { color: var(--nmfr-green); }
@media (max-width: 980px) { .nmfr-toc { display: none; } }

.nmfr-legal { max-width: 72ch; color: var(--nmfr-body); font-size: 16px; line-height: 1.7; }
.nmfr-site .nmfr-legal h2 { margin: 40px 0 12px; font-size: 24px; scroll-margin-top: calc(var(--nmfr-header-h) + 20px); }
.nmfr-site .nmfr-legal h3 { margin: 26px 0 8px; font-size: 18px; scroll-margin-top: calc(var(--nmfr-header-h) + 20px); }
.nmfr-site .nmfr-legal p { margin: 0 0 12px; }
.nmfr-site .et_pb_text .nmfr-legal ul,
.nmfr-site .et_pb_text .nmfr-legal ol { margin: 0 0 16px; padding: 0 0 0 4px; list-style: none; }
.nmfr-legal li { position: relative; padding: 3px 0 3px 22px; }
.nmfr-legal ul > li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--nmfr-green); }
.nmfr-legal ol { counter-reset: nmfr-legal; }
.nmfr-legal ol > li { counter-increment: nmfr-legal; }
.nmfr-legal ol > li::before { content: counter(nmfr-legal) "."; position: absolute; left: 0; color: var(--nmfr-green); font-weight: 700; }
.nmfr-legal a { color: var(--nmfr-green); }
.nmfr-legal strong { color: var(--nmfr-text); }
.nmfr-legal-notice { padding: 22px 24px 12px; border: 1px solid var(--nmfr-line-strong); border-left: 3px solid var(--nmfr-green); border-radius: var(--nmfr-radius); background: var(--nmfr-surface); }
.nmfr-site .nmfr-legal .nmfr-legal-notice h2 { margin-top: 0; font-size: 18px; }
.nmfr-legal-related { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--nmfr-line); }
.nmfr-site .et_pb_text .nmfr-legal-related ul { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; }
.nmfr-legal-related li { padding: 0; }
.nmfr-legal-related li::before { content: none !important; }

/* ---------- Marketing pages: Home, Pricing ---------- */

/* "Coming soon" label for features that need a market-data provider (client decision, Oct 12). */
.nmfr-soon { display: inline-flex; align-items: center; padding: 3px 9px; border: 1px solid rgba(244, 200, 74, .55); border-radius: 999px; background: rgba(244, 200, 74, .1); color: var(--nmfr-amber); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }

/* Feature cards: whole card clickable through the title link. */
.nmfr-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
@media (max-width: 980px) { .nmfr-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .nmfr-features { grid-template-columns: 1fr; } }
.nmfr-feature { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--nmfr-line-strong); border-radius: var(--nmfr-radius); background: var(--nmfr-panel-bg); transition: border-color .15s, box-shadow .15s; }
.nmfr-feature:hover, .nmfr-feature:focus-within { border-color: var(--nmfr-green); box-shadow: var(--nmfr-glow); }
.nmfr-feature__head { display: flex; align-items: center; gap: 12px; }
.nmfr-feature__head .nmfr-soon { margin-left: auto; }
.nmfr-site .nmfr-feature h3 { margin: 0; font-size: 18px; }
.nmfr-feature h3 a { color: var(--nmfr-text); text-decoration: none; }
.nmfr-feature h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.nmfr-feature h3 a:focus-visible { outline: none; }
.nmfr-feature h3 a:focus-visible::after { outline: 2px solid var(--nmfr-green); outline-offset: 2px; }
.nmfr-site .nmfr-feature p { margin: 0 !important; color: var(--nmfr-body); font-size: 15px; }
.nmfr-feature__more { margin-top: auto; padding-top: 6px; color: var(--nmfr-green); font-size: 14px; font-weight: 700; }

/* Split feature section: copy beside a product visual. */
.nmfr-split-visual { display: flex; align-items: center; justify-content: center; height: 100%; }

/* Example Sidecar panel (static; values are labelled as examples, no market data). */
.nmfr-dock { width: 100%; max-width: 340px; border: 1px solid var(--nmfr-line-strong); border-radius: 16px; background: var(--nmfr-panel-bg); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .8), var(--nmfr-glow); overflow: hidden; font-size: 13px; }
.nmfr-dock__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--nmfr-line); }
.nmfr-dock__brand { color: var(--nmfr-text); font-weight: 900; font-size: 15px; }
.nmfr-dock__time { color: var(--nmfr-muted); font-variant-numeric: tabular-nums; }
.nmfr-dock__status { display: flex; gap: 10px; margin: 14px; padding: 12px 14px; border: 1px solid rgba(24, 214, 138, .45); border-radius: 10px; background: rgba(24, 214, 138, .09); }
.nmfr-dock__lamp { flex: 0 0 10px; height: 10px; margin-top: 4px; border-radius: 50%; background: var(--nmfr-positive); box-shadow: 0 0 0 4px rgba(24, 214, 138, .2); }
.nmfr-dock__eyebrow { color: var(--nmfr-positive); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nmfr-dock__headline { color: var(--nmfr-text); font-size: 14px; font-weight: 700; }
.nmfr-dock__row { display: grid; gap: 7px; margin: 0 16px; padding: 11px 0; border-top: 1px solid var(--nmfr-line); }
.nmfr-dock__rowhead { display: flex; justify-content: space-between; gap: 8px; color: var(--nmfr-text); font-weight: 600; }
.nmfr-dock__rowhead span:last-child { font-variant-numeric: tabular-nums; }
.nmfr-dock__track { height: 7px; border-radius: 999px; background: rgba(16, 239, 194, .12); overflow: hidden; }
.nmfr-dock__track div { height: 100%; border-radius: inherit; background: var(--nmfr-positive); }
.nmfr-dock__pips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.nmfr-dock__pips div { height: 7px; border-radius: 2px; background: rgba(16, 239, 194, .12); }
.nmfr-dock__pips div.is-on { background: var(--nmfr-positive); }
.nmfr-dock__big { color: var(--nmfr-green); font-size: 26px; font-weight: 900; line-height: 1; }
.nmfr-dock__note { padding: 10px 16px; border-top: 1px solid var(--nmfr-line); color: var(--nmfr-muted); font-size: 11.5px; text-align: center; }

/* Small example cards beside feature copy. */
.nmfr-mini { width: 100%; max-width: 420px; padding: 22px; border: 1px solid var(--nmfr-line-strong); border-radius: var(--nmfr-radius); background: var(--nmfr-panel-bg); }
.nmfr-mini__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.nmfr-mini__title { color: var(--nmfr-text); font-size: 15px; font-weight: 800; }
.nmfr-mini__label { color: var(--nmfr-muted); font-size: 12px; }
.nmfr-mini__rows { display: grid; }
.nmfr-mini__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--nmfr-line); color: var(--nmfr-body); font-size: 14px; }
.nmfr-mini__rows div:first-child { border-top: 0; }
.nmfr-mini__rows b { color: var(--nmfr-text); font-variant-numeric: tabular-nums; }
.nmfr-mini__rows .is-pos b { color: var(--nmfr-positive); }
.nmfr-mini__rows .is-neg b { color: var(--nmfr-red); }
.nmfr-mini__big { margin: 2px 0 12px; color: var(--nmfr-green); font-size: 44px; font-weight: 900; line-height: 1; }
.nmfr-mini__big span { margin-left: 8px; color: var(--nmfr-text); font-size: 18px; font-weight: 700; }
.nmfr-mini__checks { display: grid; gap: 10px; }
.nmfr-mini__checks div { display: flex; align-items: center; gap: 10px; color: var(--nmfr-text); font-size: 14.5px; }

/* Discipline Check example (Fiddle Switch). */
.nmfr-check-card { width: 100%; max-width: 420px; padding: 22px; border: 1px solid rgba(255, 77, 77, .65); border-radius: var(--nmfr-radius); background: linear-gradient(180deg, rgba(255, 77, 77, .1), rgba(3, 20, 27, .96)); }
.nmfr-check-card__title { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--nmfr-red); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.nmfr-check-card__msg { margin-bottom: 18px; color: var(--nmfr-text); font-size: 18px; font-weight: 700; line-height: 1.35; }
.nmfr-check-card__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nmfr-check-card__btns div { padding: 11px; border-radius: 8px; text-align: center; font-size: 14px; font-weight: 700; }
.nmfr-check-card__btns .is-review { border: 1px solid var(--nmfr-line-strong); color: var(--nmfr-text); }
.nmfr-check-card__btns .is-proceed { background: var(--nmfr-red); color: #fff; }

/* Three-step workflow. */
.nmfr-workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; counter-reset: nmfr-wf; }
@media (max-width: 860px) { .nmfr-workflow { grid-template-columns: 1fr; } }
.nmfr-workflow > div { counter-increment: nmfr-wf; position: relative; padding: 24px; border: 1px solid var(--nmfr-line-strong); border-radius: var(--nmfr-radius); background: var(--nmfr-surface); }
.nmfr-workflow > div::before { content: counter(nmfr-wf, decimal-leading-zero); display: block; margin-bottom: 10px; color: var(--nmfr-green); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.nmfr-site .nmfr-workflow h3 { margin: 0 0 8px; font-size: 19px; }
.nmfr-workflow h3 a { color: var(--nmfr-text); text-decoration: none; }
.nmfr-workflow h3 a:hover { color: var(--nmfr-green); }
.nmfr-site .nmfr-workflow p { margin: 0 !important; }

/* Philosophy statement. */
.nmfr-statement { padding: 48px 32px; border: 1px solid var(--nmfr-line-strong); border-radius: 18px; background: radial-gradient(700px 260px at 50% 0%, rgba(16, 239, 194, .1), transparent 70%), var(--nmfr-surface); text-align: center; }
.nmfr-statement .nmfr-h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.nmfr-statement p { max-width: 64ch; margin-left: auto !important; margin-right: auto !important; }

/* Price card. */
.nmfr-price-card { padding: 30px; border: 1px solid var(--nmfr-green); border-radius: 18px; background: var(--nmfr-panel-bg); box-shadow: var(--nmfr-glow); }
.nmfr-price { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 18px; }
.nmfr-price__amount { color: var(--nmfr-text); font-size: 56px; font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.nmfr-price__per { color: var(--nmfr-muted); font-size: 18px; font-weight: 600; }
.nmfr-price-card .nmfr-checks { margin-bottom: 22px !important; }
.nmfr-price-card .nmfr-actions { margin-top: 0; }
.nmfr-price-card .nmfr-actions a.nmfr-button { width: 100%; justify-content: center; }

/* Competitor comparison table. */
.nmfr-compare-wrap { margin-top: 24px; overflow-x: auto; border: 1px solid var(--nmfr-line-strong); border-radius: var(--nmfr-radius); }
.nmfr-site table.nmfr-compare-table { width: 100%; min-width: 760px; margin: 0; border: 0; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.nmfr-site .nmfr-compare-table th,
.nmfr-site .nmfr-compare-table td { padding: 12px 14px; border: 0; border-top: 1px solid var(--nmfr-line); color: var(--nmfr-body); text-align: center; vertical-align: middle; }
.nmfr-site .nmfr-compare-table thead th { border-top: 0; background: var(--nmfr-surface-2); color: var(--nmfr-text); font-weight: 800; }
.nmfr-site .nmfr-compare-table thead small { display: block; margin-top: 2px; color: var(--nmfr-muted); font-weight: 500; font-size: 12px; }
.nmfr-site .nmfr-compare-table tbody th { color: var(--nmfr-text); font-weight: 600; text-align: left; }
.nmfr-site .nmfr-compare-table .is-nmfr { background: rgba(16, 239, 194, .07); }
.nmfr-site .nmfr-compare-table thead .is-nmfr { background: rgba(16, 239, 194, .16); color: var(--nmfr-green); }
.nmfr-site .nmfr-compare-table .nmfr-row-price td,
.nmfr-site .nmfr-compare-table .nmfr-row-price th { color: var(--nmfr-text); font-weight: 800; }
.nmfr-site .nmfr-compare-table a { color: var(--nmfr-muted); font-size: 13px; }
.nmfr-cell { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.nmfr-cell.is-yes { background: rgba(24, 214, 138, .14); color: var(--nmfr-positive); }
.nmfr-cell.is-part { background: rgba(169, 187, 194, .14); color: var(--nmfr-body); }
.nmfr-cell.is-no { background: transparent; color: var(--nmfr-muted); }
.nmfr-cell.is-soon { border: 1px solid rgba(244, 200, 74, .55); background: rgba(244, 200, 74, .1); color: var(--nmfr-amber); }
.nmfr-compare-notes { margin-top: 14px; color: var(--nmfr-muted); font-size: 12.5px; line-height: 1.6; }
.nmfr-site .nmfr-compare-notes p { margin: 0 0 4px !important; }

/* ---------- Product, How It Works, product pages, Affiliate, Contact ---------- */

.nmfr-ico--calendar { --nmfr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4M7.5 14h2M11 14h2M14.5 14h2M7.5 17h2M11 17h2'/%3E%3C/svg%3E"); }
.nmfr-ico--chart { --nmfr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 3.5v17h17'/%3E%3Cpath d='m7 15 4-4.5 3 3 5.5-6'/%3E%3C/svg%3E"); }
.nmfr-ico--clock { --nmfr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3.5 2'/%3E%3C/svg%3E"); }
.nmfr-ico--tag { --nmfr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 12.2V4a1 1 0 0 1 1-1h8.2L21 11.8 11.8 21z'/%3E%3Ccircle cx='7.8' cy='7.8' r='1.6' fill='black'/%3E%3C/svg%3E"); }
.nmfr-ico--mail { --nmfr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 6.5 8.5 6.5 8.5-6.5'/%3E%3C/svg%3E"); }

/* "Coming soon" badge under a hero eyebrow or section heading; notice under the hero buttons. */
.nmfr-eyebrow + .nmfr-soon { margin: -4px 0 12px; }
.nmfr-h2 + .nmfr-soon { margin-top: 10px; }
.nmfr-tip--soon { margin-top: 18px; padding: 14px 18px; border-color: rgba(244, 200, 74, .45); }
.nmfr-tip--soon .nmfr-tip__label { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.nmfr-site .nmfr-tip--soon p { font-size: 14.5px; }

/* Grid variants and non-link cards. */
.nmfr-features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nmfr-features--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 980px) { .nmfr-features--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .nmfr-features--4, .nmfr-features--2 { grid-template-columns: 1fr; } }
.nmfr-feature--static:hover { border-color: var(--nmfr-line-strong); box-shadow: none; }
.nmfr-feature .nmfr-note { display: block; margin-top: 10px; color: var(--nmfr-muted); font-size: 14px; }
.nmfr-feature__more { overflow-wrap: anywhere; }
.nmfr-stack { display: grid; gap: 14px; width: 100%; }
/* Panels keep their own height; split rows centre the two halves against each other. */
.nmfr-list-panel, .nmfr-contact-side, .nmfr-hero .nmfr-card { height: auto; }
@media (min-width: 981px) {
	.nmfr-site .nmfr-section .et_pb_row.nmfr-split { align-items: center; }
	.nmfr-site .nmfr-section .et_pb_row.nmfr-split + .et_pb_row.nmfr-split { margin-top: 56px; }
	.nmfr-contact-side { position: sticky; top: calc(var(--nmfr-header-h) + 24px); }
}

/* Phase cards (Before / During / After the Bell) and the four affiliate steps. */
.nmfr-workflow--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .nmfr-workflow--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .nmfr-workflow--4 { grid-template-columns: 1fr; } }
.nmfr-site .nmfr-workflow .nmfr-subtitle { margin: 0 0 8px !important; color: var(--nmfr-green); font-weight: 700; }
.nmfr-workflow--phases .nmfr-checks { margin-top: 14px !important; }
.nmfr-checks--sm li { font-size: 14.5px; }
.nmfr-checks--sm li::before { flex-basis: 18px; height: 18px; background-size: 11px; }

/* Panels: positioning lists, AAR questions, side notes. */
.nmfr-list-panel .nmfr-checks, .nmfr-list-panel .nmfr-steps { margin-top: 6px !important; }
.nmfr-card .nmfr-h2 { font-size: clamp(24px, 2.4vw, 30px); }
.nmfr-checks a { color: var(--nmfr-text); text-decoration: underline; text-decoration-color: rgba(16, 239, 194, .5); text-underline-offset: 3px; }
.nmfr-checks a:hover { color: var(--nmfr-green); }
.nmfr-checks .nmfr-soon { margin-left: 6px; }
.nmfr-mini__checks .nmfr-soon { margin-left: auto; }
.nmfr-mini__foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--nmfr-line); color: var(--nmfr-muted); font-size: 13px; }

/* Journal metrics. */
.nmfr-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0 !important; padding: 0 !important; list-style: none; }
.nmfr-metrics li { display: flex; align-items: center; gap: 10px; padding: 16px; border: 1px solid var(--nmfr-line-strong); border-radius: 12px; background: var(--nmfr-surface); color: var(--nmfr-text); font-weight: 700; }
@media (max-width: 980px) { .nmfr-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Contact form. */
.nmfr-contact-card { padding: 30px; }
.nmfr-site .nmfr-contact-side p { color: var(--nmfr-body); font-size: 15px; }
.nmfr-contact-side strong { color: var(--nmfr-text); }
.nmfr-form { display: grid; gap: 16px; margin-top: 22px; }
.nmfr-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .nmfr-form__row { grid-template-columns: 1fr; } }
.nmfr-field { display: grid; gap: 6px; }
.nmfr-field label { color: var(--nmfr-text); font-size: 14px; font-weight: 700; }
.nmfr-field__opt { color: var(--nmfr-muted); font-weight: 500; }
.nmfr-site .nmfr-field input[type="text"],
.nmfr-site .nmfr-field input[type="email"],
.nmfr-site .nmfr-field select,
.nmfr-site .nmfr-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--nmfr-line-strong); border-radius: 10px; background: var(--nmfr-bg); color: var(--nmfr-text); font: 500 15px/1.4 var(--nmfr-font); }
.nmfr-site .nmfr-field textarea { min-height: 150px; resize: vertical; }
.nmfr-site .nmfr-field select { appearance: none; background: var(--nmfr-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310efc2' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; padding-right: 40px; }
.nmfr-site .nmfr-field :is(input, select, textarea):focus { outline: none; border-color: var(--nmfr-green); box-shadow: 0 0 0 3px rgba(16, 239, 194, .2); }
.nmfr-site .nmfr-field [aria-invalid="true"] { border-color: var(--nmfr-red); }
.nmfr-field__help { color: var(--nmfr-muted); font-size: 13px; }
.nmfr-field__error { color: var(--nmfr-red); font-size: 13px; font-weight: 600; }
.nmfr-field--check label { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--nmfr-body); }
.nmfr-field--check input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--nmfr-green); }
.nmfr-field--trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nmfr-form button.nmfr-button { justify-self: start; border: 0; cursor: pointer; font-family: var(--nmfr-font); }
.nmfr-site .nmfr-form__note { margin: 0 !important; color: var(--nmfr-muted); font-size: 13px; }
.nmfr-form-error { padding: 12px 16px; border: 1px solid rgba(255, 77, 77, .6); border-radius: 10px; background: rgba(255, 77, 77, .08); color: var(--nmfr-text); font-weight: 600; }
.nmfr-form-success { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 20px; border: 1px solid rgba(24, 214, 138, .5); border-radius: var(--nmfr-radius); background: rgba(24, 214, 138, .08); }
.nmfr-site .nmfr-form-success p { margin: 0 !important; color: var(--nmfr-text); font-weight: 600; }

/* ---------- Cookie consent (inc/analytics.php, assets/nmfr-analytics.js) ---------- */
.nmfr-consent { position: fixed; z-index: 100000; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 20px; max-width: 980px; margin: 0 auto; padding: 18px 22px; border: 1px solid var(--nmfr-line-strong); border-radius: var(--nmfr-radius); background: var(--nmfr-panel-bg); box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .8); color: var(--nmfr-body); font: 500 14.5px/1.55 var(--nmfr-font); }
.nmfr-consent__text { margin: 0; padding: 0; }
.nmfr-consent__text strong { color: var(--nmfr-text); }
.nmfr-consent__text a { color: var(--nmfr-green); }
.nmfr-consent__actions { display: flex; flex: 0 0 auto; gap: 10px; }
.nmfr-consent__btn { min-height: 44px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--nmfr-cta); color: var(--nmfr-green-ink); font: 800 14.5px/1 var(--nmfr-font); cursor: pointer; }
.nmfr-consent__btn--ghost { border: 1px solid var(--nmfr-line-strong); background: transparent; color: var(--nmfr-text); font-weight: 700; }
.nmfr-consent__btn:focus-visible { outline: 2px solid var(--nmfr-green); outline-offset: 2px; }
@media (max-width: 720px) { .nmfr-consent { flex-direction: column; align-items: stretch; gap: 14px; } .nmfr-consent__actions .nmfr-consent__btn { flex: 1 1 0; } }
.nmfr-cookie-link { margin-left: 10px; padding: 0; border: 0; background: none; color: var(--nmfr-muted); font: inherit; text-decoration: underline; cursor: pointer; }
.nmfr-cookie-link:hover { color: var(--nmfr-green); }

/* ---------- Footer (child theme footer.php) ---------- */
.nmfr-footer { padding: 56px 0 28px; border-top: 1px solid var(--nmfr-line); background: #020e13; color: var(--nmfr-muted); font-size: 14.5px; }
.nmfr-footer__inner { width: calc(100% - 32px); max-width: var(--nmfr-content); margin: 0 auto; }
.nmfr-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
/* Footer logo lockup: hat + NMFR / — TRADING — (same proportions as the header). */
.nmfr-lockup { display: inline-grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center; margin-bottom: 16px; color: var(--nmfr-text) !important; text-decoration: none; line-height: 1; }
.nmfr-lockup img { grid-row: 1 / span 2; display: block; width: auto; height: 40px; }
.nmfr-lockup__name { align-self: end; font: 900 30px/0.95 var(--nmfr-font); letter-spacing: -0.01em; }
.nmfr-lockup__sub { align-self: start; margin-top: 4px; padding: 0 13px 0 calc(13px + .45em); background: linear-gradient(currentColor, currentColor) left 55% / 10px 1px no-repeat, linear-gradient(currentColor, currentColor) right 55% / 10px 1px no-repeat; font: 600 9.5px/1 var(--nmfr-font); letter-spacing: .45em; text-align: center; white-space: nowrap; }
.nmfr-footer__brand p { max-width: 30ch; margin: 0; color: var(--nmfr-text); }
.nmfr-footer h2 { margin: 0 0 12px; color: var(--nmfr-text); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nmfr-footer ul { margin: 0; padding: 0; list-style: none; }
.nmfr-footer li { padding: 4px 0; }
.nmfr-footer a { color: var(--nmfr-muted); text-decoration: none; }
.nmfr-footer a:hover { color: var(--nmfr-green); }
.nmfr-footer__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--nmfr-line); font-size: 12.5px; line-height: 1.6; }
.nmfr-footer__legal p { margin: 0 0 6px; padding: 0; }
@media (max-width: 980px) { .nmfr-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nmfr-footer__brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
	.nmfr-site * { transition: none !important; }
}

/* Signed-in visitors (nmfr-account plugin): no "Start Free Trial" in the header. */
.nmfr-signed-in .nmfr-menu-cta { display: none !important; }
