/* Marketing pages: index.php, features.php, features/*.php. Everything is scoped to .fx */

.fx {
	--fx-blue: #3376a4;
	--fx-blue-dark: #24557a;
	--fx-orange: #ff9912;
	--fx-orange-dark: #e8870a;
	--fx-ink: #1f2b36;
	--fx-text: #4a5864;
	--fx-muted: #7d8a95;
	--fx-line: #e3e8ec;
	--fx-tint: #f3f7fa;
	color: var(--fx-text);
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.fx * { box-sizing: border-box; }
.fx h1, .fx h2, .fx h3 { color: var(--fx-ink); font-family: inherit; font-weight: 700; letter-spacing: -0.01em; }
.fx p { font-size: 17px; line-height: 1.6; color: var(--fx-text); margin: 0 0 14px; }
.fx a { color: var(--fx-blue); }
/* style.css puts stars on every li; marketing lists use their own markers */
.fx ul { margin: 0 0 16px; padding: 0; }
.fx ul li { text-indent: 0; list-style: none; position: relative; padding-left: 26px; font-size: 17px; line-height: 1.55; margin-bottom: 8px; color: var(--fx-text); }
.fx ul li:before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; padding: 0; border-radius: 50%; background: var(--fx-blue); }
.fx ol { margin: 0 0 16px 22px; }
.fx ol li { font-size: 17px; line-height: 1.55; margin-bottom: 8px; font-style: normal; font-weight: normal; color: var(--fx-text); text-indent: 0; padding-left: 4px; }
.fx ol li::marker { color: var(--fx-blue); font-weight: 700; }
.fx code, .fx kbd { font: 14px/1.4 Menlo, Consolas, monospace; background: var(--fx-tint); border: 1px solid var(--fx-line); border-radius: 4px; padding: 1px 6px; color: var(--fx-ink); white-space: nowrap; }
.fx kbd { border-bottom-width: 2px; }

.fx-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.fx .fx-btn { display: inline-block; background: var(--fx-orange); color: #fff; font-weight: 700; font-size: 17px; line-height: 1; padding: 16px 26px; border-radius: 6px; text-decoration: none; box-shadow: 0 2px 0 var(--fx-orange-dark); transition: background .15s; white-space: nowrap; }
.fx .fx-btn:hover { background: var(--fx-orange-dark); color: #fff; }
.fx .fx-link { font-weight: 600; text-decoration: none; }
.fx .fx-link:hover { text-decoration: underline; }
.fx .fx-link:after { content: " \2192"; }

/* Hero */
.fx-hero { background: linear-gradient(180deg, #2f6e9b 0%, var(--fx-blue) 100%); color: #fff; padding: 56px 0 0; overflow: hidden; }
.fx-hero .fx-wrap { text-align: center; }
.fx-hero h1 { color: #fff; font-size: 46px; line-height: 1.12; margin: 0 auto 16px; max-width: 820px; }
.fx-hero p { color: #dbe8f2; font-size: 20px; max-width: 700px; margin: 0 auto 26px; }
.fx-hero .fx-proof { display: block; margin-top: 14px; font-size: 14px; color: #c3d7e6; }
.fx-hero .fx-proof b { color: #fff; }
.fx-hero-shot { display: block; width: 100%; max-width: 1040px; margin: 40px auto 0; border-radius: 10px 10px 0 0; box-shadow: 0 -4px 40px rgba(0,0,0,.25); vertical-align: bottom; }

/* Highlight strip under hero */
.fx-strip { border-bottom: 1px solid var(--fx-line); background: #fff; }
.fx-strip ul { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin: 0; }
.fx-strip ul li { padding: 18px 10px; margin: 0; text-align: center; font-size: 14px; line-height: 1.35; border-right: 1px solid var(--fx-line); }
.fx-strip ul li:last-child { border-right: 0; }
.fx-strip ul li:before { display: none; }
.fx-strip a { text-decoration: none; color: var(--fx-ink); font-weight: 600; display: block; }
.fx-strip a:hover { color: var(--fx-blue); }
.fx-strip small { display: block; color: var(--fx-muted); font-weight: 400; font-size: 12.5px; margin-top: 2px; }

/* Feature rows (alternating) */
.fx-rows { padding: 30px 0 10px; }
.fx-row { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; padding: 50px 0; }
.fx-row + .fx-row { border-top: 1px solid var(--fx-line); }
.fx-row:nth-child(even) .fx-row-text { order: 2; }
.fx-row .fx-kicker { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--fx-orange-dark); font-weight: 700; margin-bottom: 8px; }
.fx-row h2 { font-size: 30px; line-height: 1.2; margin: 0 0 14px; }
.fx-row img { width: 100%; border-radius: 8px; display: block; box-shadow: 0 12px 34px rgba(31,43,54,.14), 0 0 0 1px rgba(31,43,54,.06); }
.fx-row a.fx-imglink { display: block; }

/* Sections */
.fx-section { padding: 64px 0; }
.fx-section.tint { background: var(--fx-tint); }
.fx-section h2.fx-center { text-align: center; font-size: 32px; margin: 0 0 10px; }
.fx-section p.fx-center { text-align: center; max-width: 640px; margin: 0 auto 36px; }

/* Steps */
.fx-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.fx-step { background: #fff; border: 1px solid var(--fx-line); border-radius: 10px; padding: 26px 24px 22px; position: relative; }
.fx-step:before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--fx-blue); color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.fx-step h3 { font-size: 19px; margin: 0 0 6px; }
.fx-step p { font-size: 15.5px; margin: 0; }

/* Card grid (overview + more features) */
.fx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fx-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fx-line); border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.fx a.fx-card { color: inherit; }
.fx-card:hover { box-shadow: 0 10px 28px rgba(31,43,54,.12); transform: translateY(-2px); }
.fx-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--fx-line); display: block; }
.fx-card .fx-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.fx-card h3 { font-size: 19px; margin: 0 0 6px; }
.fx-card p { font-size: 15px; line-height: 1.5; margin: 0 0 12px; flex: 1; }
.fx-card .fx-link { font-size: 15px; color: var(--fx-blue); }
.fx-card.small .fa { font-size: 22px; color: var(--fx-blue); margin-bottom: 10px; }

/* CTA band */
.fx-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--fx-ink); color: #fff; border-radius: 12px; padding: 30px 36px; margin: 56px 0 30px; }
.fx-cta h3 { color: #fff; font-size: 24px; margin: 0 0 4px; }
.fx-cta p { color: #b9c6d1; margin: 0; font-size: 16px; }

/* Overview page header */
.fx-head { padding: 50px 0 34px; text-align: center; }
.fx-head h1 { font-size: 40px; margin: 0 0 12px; }
.fx-head p { font-size: 19px; max-width: 680px; margin: 0 auto; }

/* Sub-page */
.fx-page { max-width: 880px; margin: 0 auto; padding: 34px 20px 40px; }
.fx-crumb { font-size: 14px !important; color: var(--fx-muted) !important; margin-bottom: 18px !important; }
.fx-crumb a { text-decoration: none; }
.fx-page h1 { font-size: 38px; line-height: 1.15; margin: 0 0 14px; }
.fx-page .fx-lead { font-size: 20px; line-height: 1.55; color: var(--fx-text); }
.fx-page .fx-shot { width: 100%; display: block; margin: 28px 0 10px; border-radius: 8px; box-shadow: 0 12px 34px rgba(31,43,54,.14), 0 0 0 1px rgba(31,43,54,.06); }
.fx-page img.fx-inline { max-width: 100%; display: block; margin: 14px 0 20px; border: 1px solid var(--fx-line); border-radius: 6px; }
.fx-page h2 { font-size: 26px; margin: 44px 0 12px; }
.fx-page h3 { font-size: 19px; margin: 28px 0 8px; }
.fx-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0 10px; }
.fx-benefits div { background: var(--fx-tint); border-radius: 10px; padding: 18px 18px 14px; }
.fx-benefits b { display: block; color: var(--fx-ink); font-size: 16px; margin-bottom: 4px; }
.fx-benefits span { display: block; font-size: 15px; line-height: 1.5; }
.fx-note { background: #fff8ec; border-left: 4px solid var(--fx-orange); padding: 12px 16px; border-radius: 0 6px 6px 0; margin: 18px 0; }
.fx-note p { margin: 0; font-size: 15.5px; }
.fx-table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: 15.5px; }
.fx-table th, .fx-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--fx-line); vertical-align: top; }
.fx-table th { background: var(--fx-tint); color: var(--fx-ink); font-weight: 600; }
.fx-also { font-size: 20px; margin: 10px 0 14px; }
.fx-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.fx-mini a { display: block; border: 1px solid var(--fx-line); border-radius: 8px; padding: 12px 14px; text-decoration: none; transition: border-color .15s; }
.fx-mini a:hover { border-color: var(--fx-blue); }
.fx-mini b { display: block; color: var(--fx-ink); font-size: 15px; }
.fx-mini span { display: block; color: var(--fx-muted); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }

@media (max-width: 900px) {
	.fx-hero h1 { font-size: 34px; }
	.fx-hero p { font-size: 18px; }
	.fx-strip ul { grid-template-columns: repeat(3, 1fr); }
	.fx-strip ul li:nth-child(3) { border-right: 0; }
	.fx-strip ul li:nth-child(-n+3) { border-bottom: 1px solid var(--fx-line); }
	.fx-row { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
	.fx-row:nth-child(even) .fx-row-text { order: 0; }
	.fx-steps, .fx-cards, .fx-benefits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.fx-hero { padding-top: 36px; }
	.fx-hero h1 { font-size: 29px; }
	.fx-strip ul { grid-template-columns: 1fr 1fr; }
	.fx-strip ul li { border-right: 1px solid var(--fx-line) !important; border-bottom: 1px solid var(--fx-line); }
	.fx-strip ul li:nth-child(even) { border-right: 0 !important; }
	.fx-steps, .fx-cards, .fx-benefits { grid-template-columns: 1fr; }
	.fx-cta { flex-direction: column; align-items: flex-start; padding: 24px; }
	.fx-page h1 { font-size: 30px; }
	.fx-head h1 { font-size: 31px; }
	.fx .fx-btn { white-space: normal; }
}
