/**
 * =========================================================
 * FELIX SYSTEMS — HOMEPAGE
 * =========================================================
 */

.fc-hero {
	position: relative;
	border-bottom: 1px solid var(--fc-border);
	background:
		radial-gradient(circle at 67% 28%, rgba(181, 226, 0, 0.09), transparent 28%),
		linear-gradient(rgba(181,226,0,0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(181,226,0,0.035) 1px, transparent 1px),
		var(--fc-black);
	background-size: auto, 72px 72px, 72px 72px, auto;
}

.fc-hero::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(8,10,8,0.15), transparent 40%, rgba(8,10,8,0.18));
	content: "";
	pointer-events: none;
}

.fc-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.04fr) minmax(520px, 0.96fr);
	align-items: center;
	gap: clamp(3rem, 5vw, 5.5rem);
	padding-block: clamp(4.75rem, 7vw, 6.75rem);
}

.fc-hero h1 { max-width: 15ch; font-size: clamp(3.35rem, 4.7vw, 5.15rem); line-height: 0.96; }
.fc-hero h1 span { color: var(--fc-green); }
.fc-hero__lede { max-width: 630px; margin: 0 0 2rem; color: var(--fc-text-muted); font-size: clamp(1.05rem, 1.35vw, 1.2rem); }
.fc-hero__metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 3rem; }
.fc-hero__metrics div { min-width: 0; padding-right: 1.35rem; }
.fc-hero__metrics div + div { border-left: 1px solid var(--fc-border); padding-left: 1.35rem; }
.fc-hero__metrics strong { display: block; color: var(--fc-cream); font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.08; }
.fc-hero__metrics span { display: block; margin-top: 0.35rem; color: var(--fc-text-muted); font-size: 0.84rem; }

.fc-sigma {
	overflow: hidden;
	border: 1px solid rgba(247,244,236,0.18);
	border-radius: var(--fc-radius-lg);
	background: rgba(13, 16, 13, 0.92);
	box-shadow: 0 28px 90px rgba(0,0,0,0.34);
}
.fc-sigma__topbar { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(247,244,236,0.09); padding: 1rem 1.15rem; }
.fc-sigma__topbar > div { display: flex; align-items: center; gap: 0.8rem; }
.fc-sigma__topbar strong { display: block; font-size: 0.95rem; }
.fc-sigma__topbar small { display: block; color: var(--fc-green); font-size: 0.82rem; }
.fc-sigma__mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--fc-border); border-radius: 10px; color: var(--fc-green); font-size: 1.3rem; font-weight: 850; }
.fc-status { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--fc-text-muted); font-size: 0.75rem; white-space: nowrap; }
.fc-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--fc-green); box-shadow: 0 0 0 4px rgba(181,226,0,0.08); }
.fc-sigma__body { display: grid; grid-template-columns: 58px 1fr; min-height: 420px; }
.fc-sigma__rail { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; border-right: 1px solid rgba(247,244,236,0.07); padding: 1rem 0.6rem; }
.fc-sigma__rail span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 8px; color: var(--fc-text-muted); font-size: 0.82rem; }
.fc-sigma__rail .is-active { background: rgba(181,226,0,0.13); color: var(--fc-green); }
.fc-sigma__panels { display: grid; grid-template-columns: 1fr 0.95fr; gap: 0.75rem; padding: 0.9rem; }
.fc-sigma__panel { display: flex; min-width: 0; flex-direction: column; gap: 0.55rem; border: 1px solid rgba(247,244,236,0.08); border-radius: 12px; background: rgba(17,20,17,0.88); padding: 1rem; }
.fc-sigma__panel small { color: var(--fc-text-muted); font-size: 0.75rem; }
.fc-sigma__panel strong { font-size: 0.92rem; line-height: 1.45; }
.fc-sigma__mission strong { font-size: 1.15rem; }
.fc-stage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-top: auto; }
.fc-stage span { height: 7px; border-radius: 99px; background: rgba(247,244,236,0.12); }
.fc-stage span:first-child,
.fc-stage .is-active { background: var(--fc-green); }
.fc-sigma__health ul { display: grid; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.fc-sigma__health li { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; border-top: 1px solid rgba(247,244,236,0.06); padding-top: 0.45rem; color: var(--fc-text-muted); font-size: 0.89rem; }
.fc-sigma__health li:first-child { border-top: 0; padding-top: 0; }
.fc-sigma__health b { color: var(--fc-green); font-size: 0.82rem; }

.fc-proof { border-bottom: 1px solid var(--fc-border); background: #090b09; }
.fc-proof__inner { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 2rem; padding-block: 1.15rem; }
.fc-proof p { margin: 0; color: var(--fc-text-muted); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; }
.fc-proof ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.fc-proof li { display: grid; min-height: 42px; place-items: center; border-left: 1px solid rgba(247,244,236,0.10); color: #d9ddd6; padding-inline: 1rem; text-align: center; font-size: 0.82rem; font-weight: 700; }

.fc-problems__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.fc-problem-card { min-height: 240px; border: 1px solid var(--fc-border-light); border-radius: var(--fc-radius-md); background: rgba(255,255,255,0.25); padding: 1.4rem; }
.fc-number { display: grid; width: 36px; height: 36px; place-items: center; margin-bottom: 2rem; border-radius: 50%; background: rgba(181,226,0,0.15); color: #638200; font-size: 0.76rem; font-weight: 900; }
.fc-problem-card h3 { max-width: 17ch; margin-bottom: 0.9rem; }
.fc-problem-card p { margin: 0; color: var(--fc-text-dark-muted); font-size: 0.95rem; }

.fc-services { background: #0a0c0a; }
.fc-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.fc-service-card { position: relative; display: flex; flex-direction: column; height: 100%; border: 1px solid var(--fc-border); border-radius: var(--fc-radius-lg); background: linear-gradient(180deg, rgba(181,226,0,0.035), transparent 40%), var(--fc-surface); padding: clamp(1.4rem, 2.5vw, 2rem); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.fc-service-card.has-link { cursor: pointer; }
.fc-service-card.has-link:hover,
.fc-service-card.has-link:focus-within { transform: translateY(-4px); border-color: rgba(181,226,0,0.46); background: linear-gradient(180deg, rgba(181,226,0,0.075), transparent 46%), var(--fc-surface); box-shadow: 0 18px 44px rgba(0,0,0,0.18); }
.fc-service-card__icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 2.4rem; border: 1px solid var(--fc-border); border-radius: 11px; color: var(--fc-green); font-size: 0.82rem; font-weight: 900; }
.fc-service-card h3 { margin-bottom: 0.8rem; }
.fc-service-card h3 a { color: inherit; text-decoration: none; }
.fc-service-card__stretched-link::after { position: absolute; z-index: 1; inset: 0; border-radius: inherit; content: ""; }
.fc-service-card:focus-within { outline: 2px solid var(--fc-green); outline-offset: 4px; }
.fc-service-card > p { color: var(--fc-text-muted); font-size: 0.98rem; line-height: 1.65; }
.fc-service-card ul { display: grid; gap: 0.45rem; margin: 1.2rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid rgba(247,244,236,0.08); list-style: none; }
.fc-service-card li { color: var(--fc-text-muted); font-size: 0.96rem; }
.fc-service-card li::before { color: var(--fc-green); content: "↗"; margin-right: 0.55rem; }
.fc-service-card__cta { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: auto; padding-top: 1.35rem; color: var(--fc-green); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.fc-service-card__cta span { transition: transform 180ms ease; }
.fc-service-card.has-link:hover .fc-service-card__cta span,
.fc-service-card.has-link:focus-within .fc-service-card__cta span { transform: translateX(4px); }

.fc-cases__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.fc-case-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--fc-border-light); border-radius: var(--fc-radius-lg); background: #fffefa; box-shadow: 0 16px 40px rgba(8, 10, 8, 0.05); }
.fc-case-card__visual { display: grid; grid-template-columns: 1.25fr 1fr 0.7fr; align-items: end; gap: 0.45rem; min-height: 185px; border-bottom: 1px solid var(--fc-border-light); background: radial-gradient(circle at 80% 20%, rgba(181,226,0,0.12), transparent 28%), linear-gradient(145deg, #0a0d0a, #111711); padding: 1.25rem; }
.fc-case-card__visual span { display: block; height: 60%; border: 1px solid rgba(181,226,0,0.35); border-radius: 8px 8px 2px 2px; background: linear-gradient(180deg, rgba(181,226,0,0.12), rgba(181,226,0,0.02)); }
.fc-case-card__visual span:nth-child(2) { height: 85%; }
.fc-case-card__visual span:nth-child(3) { height: 45%; }
.fc-case-card > *:not(.fc-case-card__visual) { margin-inline: 1.3rem; }
.fc-kicker { margin-top: 1.3rem; color: #6c8909; font-size: 0.75rem; font-weight: 850; letter-spacing: 0.08em; }
.fc-case-card h3 { margin-bottom: 1.2rem; }
.fc-case-card dl { margin: 0 1.3rem 1.4rem; margin-top: auto; }
.fc-case-card dl div { display: grid; grid-template-columns: 84px 1fr; gap: 0.8rem; border-top: 1px solid var(--fc-border-light); padding-block: 0.85rem; }
.fc-case-card dt { font-size: 0.76rem; font-weight: 850; text-transform: uppercase; }
.fc-case-card dd { margin: 0; color: var(--fc-text-dark-muted); font-size: 0.96rem; }

.fc-process { background: #090b09; }
.fc-process__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.fc-process__steps li { position: relative; min-width: 0; border-top: 1px solid var(--fc-border); padding: 1.25rem 1rem 0 0; }
.fc-process__steps li::after { position: absolute; top: -4px; right: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--fc-green); content: ""; }
.fc-process__steps li:last-child::after { right: auto; left: 0; }
.fc-process__steps span { display: grid; width: 31px; height: 31px; place-items: center; margin-bottom: 1.4rem; border-radius: 50%; background: var(--fc-green); color: var(--fc-black); font-size: 0.70rem; font-weight: 900; }
.fc-process__steps strong { display: block; color: var(--fc-cream); font-size: 0.90rem; letter-spacing: 0.06em; }
.fc-process__steps p { color: var(--fc-text-muted); font-size: 0.88rem; line-height: 1.55; }
.fc-pain-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0.75rem; margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--fc-border); padding-top: 2rem; }
.fc-pain-flow > div { border: 1px solid var(--fc-border); border-radius: 12px; background: var(--fc-surface); padding: 1rem; }
.fc-pain-flow > span { align-self: center; color: var(--fc-green); }
.fc-pain-flow small { display: block; margin-bottom: 0.45rem; color: var(--fc-green); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.08em; }
.fc-pain-flow strong { display: block; font-size: 0.96rem; line-height: 1.5; }

.fc-lab__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1rem; }
.fc-lab-card { min-height: 390px; border-radius: var(--fc-radius-lg); padding: clamp(1.5rem, 3vw, 2.4rem); }
.fc-lab-card--dark { background: linear-gradient(135deg, rgba(181,226,0,0.07), transparent 45%), var(--fc-black); color: var(--fc-cream); }
.fc-lab-card--ai { border: 1px solid var(--fc-border-light); background: #fffefa; color: var(--fc-black); }
.fc-lab-card h2 { max-width: 15ch; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.fc-lab-card--dark > p:not(.fc-eyebrow) { color: var(--fc-text-muted); }
.fc-chip-list { display: grid; gap: 0.55rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.fc-chip-list li { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; border: 1px solid rgba(247,244,236,0.09); border-radius: 10px; background: rgba(255,255,255,0.025); padding: 0.75rem 0.85rem; color: #d8ddd6; font-size: 0.96rem; }
.fc-chip-list span { color: var(--fc-green); font-size: 0.70rem; font-weight: 850; }
.fc-ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 2rem; }
.fc-ai-grid div { border-top: 1px solid var(--fc-border-light); padding-top: 0.9rem; }
.fc-ai-grid strong { font-size: 0.96rem; }
.fc-ai-grid p { margin: 0.35rem 0 0; color: var(--fc-text-dark-muted); font-size: 0.84rem; }

.fc-about { background: #0a0c0a; }
.fc-about__grid { display: grid; grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
.fc-about__portrait { position: relative; display: grid; min-height: 520px; align-items: end; overflow: hidden; border: 1px solid var(--fc-border); border-radius: var(--fc-radius-lg); background: radial-gradient(circle at 50% 30%, rgba(181,226,0,0.12), transparent 45%), #0e120e; }
.fc-about__portrait::before { position: absolute; inset: 1rem; border: 1px solid rgba(181,226,0,0.09); border-radius: 12px; content: ""; }
.fc-about__portrait img { position: relative; z-index: 1; width: 100%; max-height: 590px; object-fit: contain; object-position: center bottom; }
.fc-about__content h2 { max-width: 12ch; }
.fc-about__lede { color: var(--fc-text-muted); font-size: clamp(1.05rem, 1.35vw, 1.2rem); }
.fc-about__roles { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-block: 1.5rem; }
.fc-about__roles span { border: 1px solid var(--fc-border); border-radius: 999px; background: rgba(181,226,0,0.055); color: #d8ddd4; padding: 0.45rem 0.7rem; font-size: 0.82rem; }
.fc-about__content > p:last-child { color: var(--fc-text-muted); }

.fc-final-cta { position: relative; border-top: 1px solid var(--fc-border); border-bottom: 1px solid var(--fc-border); background: radial-gradient(circle at 80% 50%, rgba(181,226,0,0.12), transparent 28%), var(--fc-black); }
.fc-final-cta__inner { display: grid; grid-template-columns: 1.35fr auto; align-items: center; gap: 3rem; padding-block: clamp(3.4rem, 6vw, 5rem); }
.fc-final-cta h2 { max-width: 18ch; margin-bottom: 0.8rem; }
.fc-final-cta p:not(.fc-eyebrow) { margin-bottom: 0; color: var(--fc-text-muted); }

.fc-final-cta__inner--form { grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr); align-items: start; }
.fc-final-cta__form { min-width: 0; }
.fc-final-cta__form .asp-bridge { margin: 0; }

/* =========================================================
 * STARTING INVESTMENT — VALUE FIRST, PRICE SECOND
 * ========================================================= */
.fc-investment {
	border-top: 1px solid var(--fc-border-light);
	border-bottom: 1px solid var(--fc-border-light);
	background: var(--fc-cream-light);
	color: var(--fc-black);
}

.fc-investment .fc-section-heading p:not(.fc-eyebrow) {
	color: var(--fc-text-dark-muted);
}

.fc-investment__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.fc-investment-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	border: 1px solid var(--fc-border-light);
	border-radius: var(--fc-radius-lg);
	background: #fffefa;
	box-shadow: 0 18px 50px rgba(8, 10, 8, 0.045);
	padding: clamp(1.4rem, 2.6vw, 2rem);
}

.fc-investment-card__label {
	margin: 0 0 0.8rem;
	color: #6c8909;
	font-size: 0.76rem;
	font-weight: 850;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.fc-investment-card h3 {
	margin-bottom: 0.75rem;
	color: var(--fc-black);
}

.fc-investment-card__value {
	min-height: 7.2em;
	margin: 0;
	color: var(--fc-text-dark-muted);
	font-size: 0.96rem;
	line-height: 1.62;
}

.fc-investment-card__price {
	display: grid;
	gap: 0.25rem;
	margin: 1.25rem 0 0;
	border-top: 1px solid var(--fc-border-light);
	border-bottom: 1px solid var(--fc-border-light);
	padding: 1.1rem 0;
}

.fc-investment-card__price span {
	color: var(--fc-text-dark-muted);
	font-size: 0.76rem;
	font-weight: 750;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.fc-investment-card__price strong {
	color: var(--fc-black);
	font-size: clamp(1.55rem, 2.35vw, 2rem);
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.fc-investment-card__list {
	display: grid;
	gap: 0.55rem;
	margin: 1.2rem 0 1.5rem;
	padding: 0;
	list-style: none;
}

.fc-investment-card__list li {
	position: relative;
	padding-left: 1.15rem;
	color: var(--fc-text-dark-muted);
	font-size: 0.89rem;
}

.fc-investment-card__list li::before {
	position: absolute;
	top: 0.72em;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--fc-green-dark);
	content: "";
}

.fc-button--investment {
	width: 100%;
	margin-top: auto;
}

.fc-investment__note {
	max-width: 880px;
	margin: 1.35rem 0 0;
	color: var(--fc-text-dark-muted);
	font-size: 0.84rem;
	line-height: 1.6;
}

/* =========================================================
 * SMART PORTFOLIO CONTACT UX COMPATIBILITY
 * Keeps the enhanced shortcode form compact inside the theme.
 * Business logic remains in the Smart Portfolio plugin.
 * ========================================================= */
.fc-home .asp-v208-form {
	display: flex !important;
	min-height: 0 !important;
	flex-direction: column !important;
	align-items: stretch !important;
	justify-content: flex-start !important;
	gap: 14px !important;
}

.fc-home .asp-v208-form > * {
	max-width: 100% !important;
}

.fc-home .asp-v208-form-context {
	margin: 0 0 4px !important;
}

.fc-home .asp-v208-form-context + * {
	margin-top: 0 !important;
}

.fc-home .asp-v208-form label,
.fc-home .asp-v208-form .form-field,
.fc-home .asp-v208-form .field,
.fc-home .asp-v208-form p {
	margin-top: 0;
}

.fc-home .asp-v208-consent-row {
	margin: 2px 0 0 !important;
}

.fc-home .asp-v208-consent-row > label {
	font-size: 0.82rem !important;
	line-height: 1.55 !important;
}

.fc-home .asp-v208-form button[type="submit"],
.fc-home .asp-v208-form input[type="submit"] {
	margin-top: 2px !important;
}


/* =========================================================
 * v0.4.4 — CONSTRAINED RESPONSIVE PUBLIC PRESENTATION
 * The site shell and inner content are intentionally bounded on
 * large screens while remaining fluid below their max widths.
 * ========================================================= */
.fc-hero__grid,
.fc-proof__inner,
.fc-services__grid,
.fc-cases__grid,
.fc-investment__grid,
.fc-process__steps,
.fc-pain-flow,
.fc-about__grid,
.fc-final-cta__inner {
	width: 100%;
}

.fc-problem-card,
.fc-service-card,
.fc-case-card,
.fc-investment-card,
.fc-lab-card,
.fc-sigma {
	width: 100%;
	min-width: 0;
}

@media (min-width: 1600px) {
	.fc-hero__grid {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		gap: clamp(3rem, 5vw, 7rem);
	}

	.fc-problems__grid,
	.fc-services__grid,
	.fc-cases__grid,
	.fc-investment__grid {
		gap: clamp(1rem, 1.4vw, 1.75rem);
	}
}
