/**
 * Light Forward Fund Ticker styles.
 * All rules scoped under .lff- to avoid collisions with Elementor and Kadence.
 *
 * Colors and radius are declared as CSS variables at the top of the file
 * so the palette can be changed here in one place.
 */

.lff-widget {
	--lff-accent:      #8B88F8;
	--lff-accent-dark: #534AB7;
	--lff-accent-soft: #EEEDFE;
	--lff-text:        #1a1a1a;
	--lff-text-muted:  #6b6b6b;
	--lff-text-dim:    #999999;
	--lff-border:      rgba(0, 0, 0, 0.08);
	--lff-surface:     #ffffff;
	--lff-radius:      12px;
	--lff-font:        "Open Sans", Helvetica, Arial, sans-serif;

	background: var(--lff-surface);
	border: 1px solid var(--lff-border);
	border-radius: var(--lff-radius);
	padding: 28px 32px;
	max-width: 720px;
	margin: 0 auto;
	font-family: var(--lff-font);
	color: var(--lff-text);
	box-sizing: border-box;
}

.lff-widget *,
.lff-widget *::before,
.lff-widget *::after {
	box-sizing: border-box;
}

/* Header ----------------------------------------------------------------- */

.lff-header {
	margin-bottom: 22px;
}

.lff-eyebrow {
	font-family: var(--lff-font);
	font-size: 11px;
	letter-spacing: 0.14em;
	color: var(--lff-accent-dark);
	text-transform: uppercase;
	margin-bottom: 8px;
	font-weight: 700;
}

.lff-title {
	font-family: var(--lff-font);
	font-size: 28px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	margin: 0 0 10px;
	color: var(--lff-text);
}

.lff-subtitle {
	font-family: var(--lff-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--lff-text-muted);
	margin: 0;
	max-width: 480px;
}

/* Stats row -------------------------------------------------------------- */

.lff-stats {
	display: flex;
	gap: 40px;
	padding: 18px 0;
	border-top: 1px solid var(--lff-border);
	border-bottom: 1px solid var(--lff-border);
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.lff-stat {
	min-width: 0;
}

.lff-stat-partners {
	margin-left: auto;
}

.lff-stat-value {
	font-family: var(--lff-font);
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	color: var(--lff-text-muted);
	font-variant-numeric: tabular-nums;
}

.lff-raised {
	color: var(--lff-text);
}

.lff-accent {
	color: var(--lff-accent);
}

.lff-stat-label {
	font-family: var(--lff-font);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--lff-text-dim);
	text-transform: uppercase;
	margin-top: 8px;
}

/* Thermometer ------------------------------------------------------------ */

.lff-thermo-wrap {
	display: flex;
	justify-content: center;
	padding: 20px 0 28px;
}

.lff-thermo {
	width: 340px;
	max-width: 100%;
	height: auto;
	display: block;
}

.lff-tube-empty,
.lff-bulb-empty {
	fill: var(--lff-accent-soft);
}

.lff-tube-fill,
.lff-bulb-fill {
	fill: var(--lff-accent);
	transition: y 600ms ease-out, height 600ms ease-out;
}

.lff-ticks line {
	stroke: #B4B2A9;
	stroke-width: 1;
	stroke-linecap: round;
}

.lff-tick-labels text {
	font-family: var(--lff-font);
	font-size: 12px;
	font-weight: 400;
	fill: var(--lff-text-muted);
}

/* Footer / CTA ----------------------------------------------------------- */

.lff-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 16px;
	border-top: 1px solid var(--lff-border);
}

.lff-footer-note {
	font-family: var(--lff-font);
	font-size: 13px;
	font-weight: 400;
	color: var(--lff-text-dim);
	line-height: 1.5;
}

.lff-cta {
	background: var(--lff-accent);
	color: #ffffff !important;
	padding: 13px 26px;
	border-radius: 8px;
	font-family: var(--lff-font);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: background 150ms ease;
	border: none;
	line-height: 1;
}

.lff-cta:hover,
.lff-cta:focus {
	background: var(--lff-accent-dark);
	color: #ffffff !important;
	text-decoration: none !important;
}

/* Mobile ----------------------------------------------------------------- */

@media (max-width: 600px) {

	.lff-widget {
		padding: 20px 20px;
	}

	.lff-title {
		font-size: 22px;
		letter-spacing: 0.015em;
	}

	.lff-stats {
		gap: 20px;
	}

	.lff-stat-partners {
		margin-left: 0;
	}

	.lff-stat-value {
		font-size: 20px;
	}

	.lff-thermo {
		width: 280px;
	}

	.lff-footer {
		flex-direction: column;
		align-items: stretch;
	}

	.lff-cta {
		justify-content: center;
	}
}
