/*
 * Floreant phone layer.
 * Enqueued with media="(max-width: 700px)": browsers apply it on phones only, so tablet and desktop
 * layouts never change. Goals: 16px body text, calmer headings, shorter pages (swipe rows and
 * "show more" in place of long stacks), and touch targets of 44px or more.
 */

:root { --fx-space: 44px; }

.fx-site .fx-m-only { display: block !important; }
.fx-site .fx-m-hide { display: none !important; }

/* ----------------------------------------------------------------------------------- Type scale */
.fx-site h1, .fx-site .h1-size { font-size: 30px; line-height: 1.12; letter-spacing: -.022em; }
.fx-site h2, .fx-site .h2-size { font-size: 24px; line-height: 1.2; letter-spacing: -.015em; }
.fx-site h3, .fx-site .h3-size { font-size: 18px; line-height: 1.3; }
.fx-site h4, .fx-site .h4-size { font-size: 17px; }
.fx-site .fx-lead, .fx-site .fx-hero__lead { font-size: 16px; line-height: 1.6; }
.fx-site .fx-note { font-size: 14px; }

/* Section labels above headings add a line to every section and say little on a small screen. */
.fx-site .fx-eyebrow { display: none; }
.fx-site .fx-head { margin-bottom: 22px; }
.fx-site .fx-head .fx-lead { margin-top: 10px; }
.fx-site .fx-head--split { gap: 14px; }
.fx-site .fx-head .fx-btn { min-height: 44px; padding: 9px 18px; font-size: 15px; }

/* -------------------------------------------------------------------------------- Homepage hero */
.fx-site .fx-hero { padding-top: 22px; padding-bottom: 30px; }
.fx-site .fx-pill { padding: 4px 12px 4px 4px; font-size: 13.5px; }
.fx-site .fx-hero__title { margin-top: 16px; }
.fx-site .fx-hero__lead { margin-top: 12px; }
.fx-site .fx-hero .fx-actions { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; margin-top: 20px; }
.fx-site .fx-hero .fx-actions .fx-btn--primary { flex: 1 1 100%; }
.fx-site .fx-hero .fx-actions .fx-btn--ghost {
	min-height: 44px;
	padding: 8px 4px;
	border: 0;
	background: none;
	box-shadow: none;
	color: var(--fx-blue-ink) !important;
	font-size: 15px;
}
.fx-site .fx-checks { justify-content: center; gap: 6px 14px; margin-top: 10px; font-size: 13.5px; }
.fx-site .fx-hero__media { max-width: 300px; margin: 22px auto 0; }
.fx-site .fx-hero__award--sf { width: 78px; padding: 4px; border-radius: 12px; }
.fx-site .fx-hero__award--gf { width: 66px; padding: 4px; border-radius: 12px; }

/* --------------------------------------------------------------------------- Recognition strip */
.fx-site .fx-proof__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; padding-block: 22px; }
.fx-site .fx-proof__stat strong { font-size: 22px; }
.fx-site .fx-proof__stat span { font-size: 13.5px; }
.fx-site .fx-proof__badges { grid-column: 1 / -1; gap: 12px; }
.fx-site .fx-proof__badges img { height: 52px; }
.fx-site .fx-proof__note { grid-column: 1 / -1; margin: 0; font-size: 13.5px; text-align: left; }

/* --------------------------------------------------------------------------------------- Install */
.fx-site .fx-clock { display: none; }
.fx-site .fx-install { gap: 0; }
.fx-site .fx-steps h3 { font-size: 17px; }

/* ----------------------------------------------- Swipe rows: card groups become one sideways row */
.fx-site.home :is(.fx-grid--3, .fx-grid--4, .fx-shots) {
	display: flex !important;
	gap: 12px;
	margin-inline: calc(-1 * var(--fx-gutter));
	padding: 4px var(--fx-gutter) 16px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--fx-gutter);
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.fx-site.home :is(.fx-grid--3, .fx-grid--4, .fx-shots)::-webkit-scrollbar { display: none; }
.fx-site.home :is(.fx-grid--3, .fx-shots) > * { flex: 0 0 84%; scroll-snap-align: start; }
.fx-site.home .fx-grid--4 > * { flex: 0 0 66%; scroll-snap-align: start; }
.fx-site.home :is(.fx-card, .fx-feature, .fx-product) { padding: 20px; }
.fx-site.home .fx-shot { aspect-ratio: 16 / 11; }
.fx-site.home .fx-shot img { height: 100%; }

/* ---------------------------------------------------------------------- Guides: a list of links */
.fx-site .fx-guides { display: block; border-top: 1px solid var(--fx-gray-200); }
.fx-site .fx-guide {
	display: grid;
	grid-template-columns: 40px 1fr 16px;
	align-items: center;
	gap: 14px;
	min-height: 64px;
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--fx-gray-200);
	border-radius: 0;
	background: none !important;
	box-shadow: none;
	transform: none !important;
}
.fx-site .fx-guide--feature { border-top: 0; }
.fx-site .fx-guide .fx-ico { width: 40px; height: 40px; margin: 0; font-size: 16px; }
.fx-site .fx-guide h3 { margin: 0; font-size: 16px; line-height: 1.35; }
.fx-site .fx-guide p { display: none; }
.fx-site .fx-guide .fx-link { font-size: 0; }
.fx-site .fx-guide .fx-link span { font-size: 18px; color: var(--fx-blue-ink); }

/* -------------------------------------------------------------------------------------- Quote */
.fx-site .fx-quote blockquote p { font-size: 21px !important; line-height: 1.35; }

/* ------------------------------------------------- Requirements and story: key items, then "more" */
.fx-site .fx-specs > div { padding: 12px 16px; }
.fx-site .fx-specs:not(.is-open) > div:nth-child(n + 4) { display: none; }
.fx-site .fx-timeline:not(.is-open) > li:nth-child(n + 3) { display: none; }
.fx-site .fx-more {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	margin-top: 14px;
	padding: 10px 18px;
	border: 1px solid var(--fx-gray-200);
	border-radius: 999px;
	background: #fff;
	color: var(--fx-ink);
	font: 600 15px/1.2 var(--fx-font);
	cursor: pointer;
}
.fx-site .fx-more::after { content: ""; width: 8px; height: 8px; margin: -4px 0 0 10px; border: solid var(--fx-blue-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fx-site .fx-more[aria-expanded="true"]::after { margin-top: 4px; transform: rotate(-135deg); }
.fx-site .fx-more:focus-visible { outline: 3px solid var(--fx-blue); outline-offset: 2px; }

/* ----------------------------------------------------------------------------- PRO and products */
.fx-site .fx-ticks--cols { columns: 1; }

/* ---------------------------------------------------------------------------------------- FAQ */
.fx-site .fx-faq summary { padding-block: 14px; font-size: 16px; }

/* ------------------------------------------------------------------------------------ CTA box */
.fx-site .fx-cta__inner { padding: 26px 22px; }
.fx-site .fx-cta h2 { font-size: 24px; }

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

/* =============================================================================== Pricing page */
.fx-site .fx-pricing__hero { padding-top: 28px; padding-bottom: 20px; }
.fx-site .fx-plans {
	display: flex !important;
	gap: 12px;
	max-width: none !important;
	margin-inline: calc(-1 * var(--fx-gutter));
	padding: 14px var(--fx-gutter) 16px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--fx-gutter);
	scrollbar-width: none;
}
.fx-site .fx-plans::-webkit-scrollbar { display: none; }
.fx-site .fx-plans > .fx-plan { flex: 0 0 86%; scroll-snap-align: start; padding: 22px 20px; }
.fx-site .fx-plan__summary { font-size: 15px; }
.fx-site .fx-plans__note p { font-size: 14px; }

/* Comparison table: show what differs; "Show all features" reveals the rest. */
.fx-site .fx-diffbar { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 0 0 12px; }
.fx-site .fx-diffbar p { margin: 0; color: var(--fx-muted); font-size: 14px; }
.fx-site .fx-diffbar .fx-more { width: auto; min-height: 40px; margin: 0; padding: 8px 16px; font-size: 14px; }
.fx-site .fx-table-wrap:not(.is-open) :is(.fx-row--same, .fx-group--same) { display: none; }

/* ============================================================================== Features page */
.fx-site .fx-fhero { padding-block: 28px 32px; }
.fx-site .fx-route { padding: 18px; }
.fx-site .fx-route__stop { padding-block: 9px; }
.fx-site .fx-station { padding-block: 36px; }
.fx-site .fx-station__head > p { font-size: 15.5px; }
.fx-site .fx-station__shot { margin-top: 16px; }
.fx-site .fx-feat { padding-block: 18px; }
.fx-site .fx-feat p { font-size: 15.5px; line-height: 1.6; }
.fx-site .fx-profeats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; column-gap: 14px; }
.fx-site .fx-profeats a { min-height: 48px; font-size: 14.5px; }
.fx-site .fx-platform { grid-template-columns: 1fr !important; }

/* =========================================================================== Screenshots page */
.fx-site .fx-pagehero { padding-block: 28px 32px; }
.fx-site .fx-gal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 22px 12px; }
.fx-site .fx-gal figcaption { margin-top: 8px; gap: 2px 8px; }
.fx-site .fx-gal__label { font-size: 11px; }
.fx-site .fx-gal__title { font-size: 15px; }
.fx-site .fx-gal__more { font-size: 13.5px; }
.fx-site .fx-gal__zoom::after { width: 30px; height: 30px; right: 8px; bottom: 8px; background-size: 16px; }

/* =============================================================================== Support page */
.fx-site .fx-shero { padding-block: 28px 32px; }
.fx-site .fx-contact { padding: 22px 20px; }

/* ============================================= Older page-builder pages (articles, Dine-in, …) */
.fx-site .vc_row { margin-bottom: 0; }
.fx-site.single-post #content .entry-content :is(p, li) { font-size: 16px; line-height: 1.7; }

/* ======================================================================= Second pass refinements */
/* Footer column labels keep their small uppercase style (the phone heading scale must not reach them). */
.fx-site .fx-footer__col h2 { font: 700 13px/1.2 var(--fx-font); letter-spacing: .1em; }
.fx-site .fx-footer__col { margin-bottom: 4px; }

.fx-site .fx-hero__media { max-width: 270px; margin-top: 18px; }
.fx-site .fx-split .fx-head .fx-note { display: none; }

/* Features: the pinned station bar already gives the overview, so the route card is desktop-only. */
.fx-site .fx-route { display: none; }
.fx-site .fx-fhero { padding-bottom: 28px; }

/* Pricing: each feature group collapses to its heading; tap a heading to open it. */
.fx-site .fx-table-wrap:not(.is-open) tbody.fx-collapsible:not(.is-open) > tr:not(.fx-table__group) { display: none; }
.fx-site #content .fx-table tbody.fx-collapsible > .fx-table__group th { cursor: pointer; padding-right: 44px !important; position: relative; }
.fx-site #content .fx-table tbody.fx-collapsible > .fx-table__group th::after {
	content: "";
	position: absolute;
	right: 18px;
	top: 50%;
	width: 9px;
	height: 9px;
	margin-top: -2px;
	border: solid var(--fx-blue-ink);
	border-width: 0 2px 2px 0;
	transform: translateY(-50%) rotate(45deg);
}
.fx-site #content .fx-table tbody.fx-collapsible.is-open > .fx-table__group th::after,
.fx-site #content .fx-table-wrap.is-open .fx-table tbody.fx-collapsible > .fx-table__group th::after { margin-top: 3px; transform: translateY(-50%) rotate(-135deg); }
.fx-site .fx-table__glabel small { display: block; margin: 4px 0 0 !important; }

/* PRO section: the plugin cards and "Compare all plans" carry it on a phone; the long checklist is desktop-only. */
.fx-site .fx-ticks--cols { display: none; }
