/*
 * /dark-funnel/ (patterns/page-dark-funnel.php). The product map is styled by blocks/steps/style.css,
 * the FAQ by theme.css.
 */

/* ---------- Hero: the definition ---------- */
/* Hero: the definition on the left, the dark funnel diagram (inc/product-page.php) on the right */
.fx-df-hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 4vw, 56px); }
.fx-df-hero__copy { flex: 1 1 420px; min-width: 0; }
.fx-df-hero__art { flex: 1 1 440px; min-width: 0; }
.fx-df-hero__title { max-width: 18ch; }
.fx-df-hero__definition { max-width: 62ch; }
.fx-band--ink p.fx-df-hero__line {
	margin-top: 24px;
	padding-left: 16px;
	border-left: 3px solid var(--wp--preset--color--lit);
	font-size: clamp(20px, 2.6vw, 28px);
	font-weight: 600;
	line-height: 1.3;
	color: var(--wp--preset--color--white);
}

/* ---------- Shared section bits ---------- */
.fx-df-sec h2 { max-width: 28ch; }
.fx-df-sec .fx-lede { max-width: 68ch; }
.fx-df-prose { max-width: 68ch; margin-top: 20px; }
.fx-df-prose > * + * { margin-top: 1em; }
.fx-df-prose p { color: var(--wp--preset--color--fg-2); }

/* ---------- 1. Two kinds of dark ---------- */
.fx-df-kinds {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin-top: 40px;
}
.fx-df-kinds > * { margin: 0 !important; }
.fx-df-kind h3 { margin-top: 10px; }
.fx-df-kind--lit { border-color: var(--wp--preset--color--brand); box-shadow: inset 3px 0 0 var(--wp--preset--color--brand); }
.fx-df-kind--lit .fx-mono-label { color: var(--wp--preset--color--brand); }

/* ---------- Pull quote ---------- */
.fx-df-quote {
	margin: 48px 0 0;
	padding: 0 0 0 24px;
	border-left: 4px solid var(--wp--preset--color--signal);
}
.fx-df-quote p {
	margin: 0;
	max-width: 24ch;
	font-size: clamp(26px, 3.6vw, 40px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--ink);
}

/* ---------- 3. Trackable, but dark ---------- */
.fx-df-figure {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	align-items: flex-start;
	margin-top: 32px;
	padding: 28px 24px;
	background: var(--wp--preset--color--ink);
	border-radius: var(--wp--custom--radius--md);
}
.fx-df-figure > * { margin: 0 !important; }
p.fx-df-figure__stat {
	flex: none;
	font-size: clamp(44px, 6vw, 64px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--wp--preset--color--signal);
}
.fx-df-figure__text { flex: 1 1 320px; min-width: 0; }
.fx-df-figure__text p { color: var(--wp--preset--color--fg-on-dark-2); max-width: 64ch; }
.fx-df-figure__text p + p { margin-top: 0.8em; }
.fx-df-figure__text strong { color: var(--wp--preset--color--white); }
.fx-df-lit__intro { margin-top: 32px; color: var(--wp--preset--color--fg-2); }
.fx-df-lit {
	margin-top: 16px;
	border-top: 1px solid var(--wp--preset--color--border);
}
.fx-df-lit__row {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1fr);
	gap: 8px 32px;
	padding-block: 24px;
	border-bottom: 1px solid var(--wp--preset--color--border);
}
.fx-df-lit__row > * { margin: 0 !important; }
.fx-df-lit__step { padding-top: 4px; }
.fx-df-lit__step a { color: var(--wp--preset--color--brand); text-decoration: none; }
.fx-df-lit__step a:hover { text-decoration: underline; }
.fx-df-lit__dark h3 { font-size: var(--wp--preset--font-size--body-lg); }
.fx-df-lit__dark p { margin-top: 6px; color: var(--wp--preset--color--fg-2); }
p.fx-df-lit__opening {
	padding-left: 14px;
	border-left: 3px solid var(--wp--preset--color--brand);
	font-weight: 500;
	color: var(--wp--preset--color--ink);
}
@media (max-width: 880px) {
	.fx-df-lit__row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 4. Self-reported attribution ---------- */
.fx-df-ask { align-items: flex-start; }
.fx-df-ask .fx-df-prose { margin-top: 0; }

/* ---------- 5. How to light it up ---------- */
.fx-df-sec .fx-steps-block { margin-top: 40px; }
.fx-df-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin-top: 32px;
}
.fx-df-steps > * { margin: 0 !important; }
.fx-df-step {
	padding-top: 16px;
	border-top: 2px solid var(--wp--preset--color--brand);
}
.fx-df-step h3 { font-size: var(--wp--preset--font-size--body-lg); }
.fx-df-step p { margin-top: 8px; color: var(--wp--preset--color--fg-2); }
p.fx-df-step__products { margin-top: 12px; }
.fx-df-step__products a { color: var(--wp--preset--color--brand); }

/* ---------- 6. By industry ---------- */
.fx-df-inds {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin-top: 32px;
}
.fx-df-inds > * { margin: 0 !important; }
.fx-df-ind p + p { margin-top: 10px; }
.fx-df-ind p:not([class]) { color: var(--wp--preset--color--fg-2); }
.fx-df-ind__more a { font-weight: 600; }
.fx-df-reads {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px 32px;
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--wp--preset--color--border);
}
.fx-df-reads > * { margin: 0 !important; }
.fx-df-read h3 { margin-top: 8px; font-size: var(--wp--preset--font-size--body-lg); }
.fx-df-read p:not([class]) { margin-top: 8px; color: var(--wp--preset--color--fg-2); }

/* ---------- 7. Why long, high-value funnels ---------- */
.fx-df-why__close { margin-top: 32px; max-width: 68ch; color: var(--wp--preset--color--fg-2); }
