/* Shared styles for the FarmLoop lead-magnet landing pages hosted as Shopify
   pages. Loaded by each page's body; scoped with fl- prefixes so it cannot
   collide with the store theme. */

/* The theme renders h1.heading.title-xl inside .title-wrapper, with the text
   in a <split-words> element, at a size far too large for a landing page. */
.title-wrapper h1, h1.heading, h1.title-xl, main h1, .page-width h1 {
	font-size: clamp(22px, 3.2vw, 30px) !important;
	line-height: 1.3 !important;
	margin-bottom: .5em !important;
}
.title-wrapper h1 split-words, h1.heading split-words, h1 .split-words {
	font-size: inherit !important;
	line-height: inherit !important;
}

.fl-funnel { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; line-height: 1.6; }
.fl-main > *:first-child { margin-top: 0; }
.fl-main ul { margin-bottom: 1.1em; }
.fl-side { position: sticky; top: 24px; }
.fl-hero { width: 100%; height: auto; border-radius: 12px; border: 1px solid #e8e1d8; margin-bottom: 18px; display: block; }

.fl-card { background: #faf8f5; border: 1px solid #e8e1d8; border-left: 4px solid #c2410c; border-radius: 12px; padding: 22px 22px 24px; }
.fl-card-title { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: #1a1614; }
.fl-card-lead { margin: 0 0 16px; font-size: 13.5px; color: #5c554f; }
.fl-label { display: block; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #8a847e; margin-bottom: 6px; }
.fl-input { width: 100%; box-sizing: border-box; font-family: inherit; font-size: 15px; color: #1a1614; background: #fff; border: 1px solid #e8e1d8; border-radius: 8px; padding: 11px 12px; }
.fl-input:focus { outline: none; border-color: #c2410c; box-shadow: 0 0 0 3px #fef3ec; }
.fl-input + .fl-label { margin-top: 14px; }

.fl-consent { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 4px; font-size: 12.5px; line-height: 1.5; color: #5c554f; cursor: pointer; }
/* The theme hides native checkboxes in favour of its own - force ours back. */
.fl-card .fl-check[type="checkbox"] {
	-webkit-appearance: checkbox !important; appearance: auto !important;
	position: static !important; opacity: 1 !important; visibility: visible !important;
	clip: auto !important; clip-path: none !important;
	width: 17px !important; height: 17px !important;
	min-width: 17px !important; max-width: 17px !important;
	margin: 2px 0 0 !important; padding: 0 !important;
	flex: 0 0 auto !important; pointer-events: auto !important;
	accent-color: #c2410c; background: #fff; border: 1px solid #d4cabd;
}

.fl-btn { display: block; width: 100%; margin-top: 16px; padding: 12px 20px; background: #c2410c; color: #fff; border: 1px solid #c2410c; border-radius: 8px; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.fl-btn:hover { background: #9a330a; border-color: #9a330a; }
.fl-btn:disabled { background: #8a847e; border-color: #8a847e; cursor: not-allowed; }
.fl-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.fl-status { margin-top: 14px; padding: 12px 14px; border-radius: 8px; border: 1px solid transparent; font-size: 13px; line-height: 1.5; }
.fl-status.ok { background: #edf4ee; border-color: #3d8a4a; color: #2f6b3a; }
.fl-status.err { background: #fef3ec; border-color: #c2410c; color: #9a330a; }

.fl-sig { display: flex; align-items: center; gap: 12px; margin: 1.75rem 0 1.25rem; }
.fl-sig img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.fl-sig span { line-height: 1.45; }
.fl-disclaimer { font-size: 12.5px; color: #8a847e; margin: 0; }

@media (max-width: 900px) {
	.fl-funnel { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.fl-side { position: static; }
	.fl-hero { max-width: 420px; }
}
