/* =========================================================================
   Firmatec — strony marketingowe
   Design system: tokeny, layout, komponenty, makiety UI.
   Kolor akcentu (--accent) ustawia layout na podstawie produktu.
   ========================================================================= */

:root {
	--ink: #0b1220;
	--ink-soft: #1e293b;
	--body: #334155;
	--muted: #64748b;
	--faint: #94a3b8;
	--line: #e2e8f0;
	--line-soft: #eef2f7;
	--surface: #ffffff;
	--bg: #f8fafc;
	--bg-alt: #f1f5f9;

	--accent: #dc2626;
	--accent-dark: #991b1b;
	--accent-tint: rgba(220, 38, 38, .09);
	--accent-tint-strong: rgba(220, 38, 38, .16);

	--radius-sm: 10px;
	--radius: 14px;
	--radius-lg: 20px;
	--radius-xl: 28px;

	--shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
	--shadow-sm: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
	--shadow-md: 0 8px 24px -8px rgba(15, 23, 42, .12), 0 2px 6px rgba(15, 23, 42, .04);
	--shadow-lg: 0 24px 56px -20px rgba(15, 23, 42, .22), 0 4px 12px rgba(15, 23, 42, .05);

	--font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;

	--head-h: 68px;
	--shell: 1200px;
}

/* Tinty akcentu — nowsze przeglądarki liczą je z --accent. */
@supports (color: color-mix(in srgb, red 10%, white)) {
	:root {
		--accent-tint: color-mix(in srgb, var(--accent) 9%, white);
		--accent-tint-strong: color-mix(in srgb, var(--accent) 16%, white);
	}
}

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

html {
	scroll-behavior: smooth;
	/* Zakotwiczenia nie mogą chować się pod przyklejonym nagłówkiem. */
	scroll-padding-top: calc(var(--head-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

body.ftm {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--body);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; border: 0; }

h1, h2, h3, h4 {
	color: var(--ink);
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.18;
	margin: 0;
	text-wrap: balance;
}

p { margin: 0; }
a { color: var(--accent-dark); text-decoration: none; }
.ftm-hero__lead a,
.ftm-head p a,
.ftm-tile a,
.ftm-step p a,
.ftm-card p a,
.ftm-cta p a,
.ftm-facts span a {
	text-decoration: underline;
}
a:hover { text-decoration: underline; }

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

.ftm-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: .7rem 1.1rem;
	background: var(--ink);
	color: #fff;
	border-radius: 0 0 var(--radius-sm) 0;
}
.ftm-skip:focus { left: 0; }

/* ------------------------------------------------------------------ layout */

.ftm-shell {
	width: 100%;
	max-width: var(--shell);
	margin: 0 auto;
	padding: 0 24px;
}
.ftm-shell--narrow { max-width: 880px; }

#ekosystem,
#wersje,
#uslugi {
	scroll-margin-top: calc(var(--head-h) + 12px);
}

.ftm-section { padding: 88px 0; }
.ftm-section--tight { padding: 64px 0; }
.ftm-section--alt {
	background:
		radial-gradient(640px 280px at 0% 0%, rgba(37, 99, 235, .04), transparent 60%),
		var(--bg);
	border-block: 1px solid var(--line-soft);
}
.ftm-section--soft {
	background:
		radial-gradient(680px 300px at 100% 0%, rgba(220, 38, 38, .04), transparent 58%),
		#f8fafc;
	border-block: 1px solid var(--line-soft);
}
.ftm-section--ink { background: var(--ink); }

.ftm-head { max-width: 760px; margin-bottom: 48px; }
.ftm-head--center { margin-inline: auto; text-align: center; }
.ftm-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.ftm-head p {
	margin-top: 14px;
	font-size: 1.0625rem;
	color: var(--muted);
	text-wrap: pretty;
}

.ftm-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--accent-dark);
}
.ftm-eyebrow::before {
	content: "";
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--accent);
}
.ftm-head--center .ftm-eyebrow::before { display: none; }

/* ------------------------------------------------------------------ badges */

.ftm-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px 6px 10px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	font-size: .8125rem;
	font-weight: 500;
	color: var(--ink-soft);
	box-shadow: var(--shadow-xs);
}
.ftm-badge__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-tint);
}
.ftm-badge--soft {
	border-color: transparent;
	background: var(--accent-tint);
	color: var(--accent-dark);
	box-shadow: none;
	font-weight: 600;
}
.ftm-badge--plan {
	border-style: dashed;
	background: transparent;
	color: var(--muted);
	box-shadow: none;
}

/* ------------------------------------------------------------------ buttons */

.ftm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 13px 22px;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	font: inherit;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
}
.ftm-btn:hover { text-decoration: none; transform: translateY(-1px); }
.ftm-btn:active { transform: translateY(0); }
.ftm-btn svg { width: 17px; height: 17px; flex: none; }

.ftm-btn--primary {
	background: var(--ink);
	color: #fff;
	box-shadow: var(--shadow-sm);
}
.ftm-btn--primary:hover { background: #101a2e; box-shadow: var(--shadow-md); }

.ftm-btn--accent {
	background: var(--accent);
	color: #fff;
	box-shadow: 0 6px 18px -8px var(--accent);
}
.ftm-btn--accent:hover { background: var(--accent-dark); }

.ftm-btn--firmatec {
	background: #f7941e;
	color: #fff;
	box-shadow: 0 8px 20px -10px rgba(247, 148, 30, .65);
}
.ftm-btn--firmatec:hover { background: #e07b00; color: #fff; }

.ftm-btn--ghost {
	background: var(--surface);
	border-color: var(--line);
	color: var(--ink);
	box-shadow: var(--shadow-xs);
}
.ftm-btn--ghost:hover { border-color: #cbd5e1; background: var(--bg); }

.ftm-btn--onink {
	background: rgba(255, 255, 255, .1);
	border-color: rgba(255, 255, 255, .22);
	color: #fff;
}
.ftm-btn--onink:hover { background: rgba(255, 255, 255, .17); }

.ftm-btn--sm { padding: 9px 16px; font-size: .875rem; }

.ftm-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

/* ------------------------------------------------------------------ header */

.ftm-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 255, 255, .88);
	border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(160%) blur(12px);
}

.ftm-header__bar {
	display: flex;
	align-items: center;
	gap: 20px;
	height: var(--head-h);
}

.ftm-logo {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	color: var(--ink);
	text-decoration: none;
	flex: none;
}
.ftm-logo:hover { text-decoration: none; }
.ftm-logo img { width: 32px; height: 32px; }
.ftm-logo__name {
	display: block;
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.15;
}
.ftm-logo__sub {
	display: block;
	font-size: .6875rem;
	font-weight: 500;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--faint);
}

.ftm-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.ftm-nav__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: 8px;
}
.ftm-nav__cta .ftm-btn {
	min-height: 38px;
	padding: 8px 16px;
	font-size: .875rem;
	font-weight: 650;
	line-height: 1.2;
	box-sizing: border-box;
}
.ftm-nav__cta .ftm-btn svg {
	width: 15px;
	height: 15px;
}

.ftm-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 13px;
	border-radius: var(--radius-sm);
	font-size: .9375rem;
	font-weight: 500;
	color: var(--ink-soft);
	text-decoration: none;
	white-space: nowrap;
}
.ftm-nav__link:hover { background: var(--bg-alt); color: var(--ink); text-decoration: none; }
.ftm-nav__link[aria-current="page"] { color: var(--accent-dark); background: var(--accent-tint); }
.ftm-nav__link svg { width: 15px; height: 15px; opacity: .6; }
.ftm-nav__link--hub {
	font-weight: 650;
	color: #2C3E50;
	background: #f4f1eb;
}
.ftm-nav__link--hub:hover { background: #ebe6dc; color: #1A252F; }
.ftm-nav__link--hub[aria-current="page"] {
	color: #1A252F;
	background: #f4f1eb;
	box-shadow: inset 0 0 0 1px #d6cfc3;
}
.ftm-nav__link--hub svg { opacity: .85; }

.ftm-drop__item--hub {
	background: #f4f1eb;
	box-shadow: inset 0 0 0 1px #e5ddd0;
	margin-bottom: 6px;
}
.ftm-drop__item--hub:hover { background: #ebe6dc; }
.ftm-drop__item--hub[aria-current="page"] {
	box-shadow: inset 0 0 0 1px #d6cfc3;
}

.ftm-btn--shop {
	color: #1c1608;
	font-weight: 700;
	background: linear-gradient(180deg, #f0d060 0%, #d4a017 100%);
	border-color: #b8860b;
	box-shadow: 0 4px 14px -4px rgba(184, 134, 11, .55), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.ftm-btn--shop:hover {
	color: #fff;
	background: linear-gradient(180deg, #d4a017 0%, #8a6d12 100%);
	border-color: #8a6d12;
	box-shadow: 0 6px 18px -6px rgba(138, 109, 18, .6);
}
.ftm-btn--shop[aria-current="page"] {
	color: #1c1608;
	background: linear-gradient(180deg, #ffe08a 0%, #e0b422 100%);
	border-color: #b8860b;
}
.ftm-btn--shop svg { color: currentColor; }

.ftm-btn--shop-renew {
	color: #fff;
	font-weight: 700;
	background: linear-gradient(180deg, #e85d4c 0%, #c2410c 100%);
	border-color: #9a3412;
	box-shadow: 0 4px 14px -4px rgba(194, 65, 12, .55), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.ftm-btn--shop-renew:hover {
	color: #fff;
	background: linear-gradient(180deg, #c2410c 0%, #9a3412 100%);
	border-color: #7c2d12;
	box-shadow: 0 6px 18px -6px rgba(154, 52, 18, .6);
}
.ftm-btn--shop-renew svg { color: currentColor; }

.ftm-mobile__link--hub {
	font-weight: 650;
	background: #f4f1eb;
	border-radius: var(--radius-sm);
}

.ftm-mobile__link--shop {
	font-weight: 700;
	color: #1c1608;
	background: linear-gradient(180deg, #f0d060 0%, #d4a017 100%);
	border-radius: var(--radius-sm);
	padding-inline: 10px;
	box-shadow: inset 0 0 0 1px color-mix(in srgb, #b8860b 40%, transparent);
}
.ftm-mobile__link--shop svg {
	width: 16px;
	height: 16px;
	flex: none;
	color: currentColor;
	opacity: .95;
}
.ftm-mobile__link--shop-renew {
	font-weight: 700;
	color: #fff;
	background: linear-gradient(180deg, #e85d4c 0%, #c2410c 100%);
	border-radius: var(--radius-sm);
	padding-inline: 10px;
	box-shadow: inset 0 0 0 1px color-mix(in srgb, #9a3412 45%, transparent);
}
.ftm-mobile__link--shop-renew svg {
	width: 16px;
	height: 16px;
	flex: none;
	color: currentColor;
	opacity: .95;
}

/* Rozwijane menu produktów — details/summary, bez zależności JS. */
.ftm-drop { position: relative; }
.ftm-drop > summary {
	list-style: none;
	cursor: pointer;
}
.ftm-drop > summary::-webkit-details-marker { display: none; }
.ftm-drop__chev { transition: transform .18s ease; }
.ftm-drop[open] .ftm-drop__chev { transform: rotate(180deg); }

.ftm-drop__panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: 460px;
	padding: 10px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
}
.ftm-drop__panel--editions,
.ftm-drop__panel--services {
	width: min(520px, calc(100vw - 32px));
	left: 0;
	right: auto;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	padding: 12px;
	max-height: min(78vh, 640px);
	overflow-y: auto;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(8px);
}
.ftm-drop__panel--services {
	left: auto;
	right: 0;
}
.ftm-drop__panel--editions .ftm-drop__mosaic,
.ftm-drop__panel--services .ftm-drop__mosaic {
	padding: 12px 14px;
	border-width: 1px;
	box-shadow: 0 6px 16px -10px color-mix(in srgb, var(--accent-dark) 28%, transparent), var(--shadow-sm);
}
.ftm-drop__panel--editions .ftm-drop__mosaic:hover,
.ftm-drop__panel--services .ftm-drop__mosaic:hover {
	box-shadow: 0 12px 28px -16px color-mix(in srgb, var(--accent-dark) 40%, transparent), var(--shadow-md);
}
.ftm-drop__panel--editions .ftm-drop__mosaic img {
	width: 44px;
	height: 54px;
	object-fit: contain;
	border-radius: 8px;
	background:
		radial-gradient(80% 60% at 50% 100%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
		#fff;
}
.ftm-drop__panel--services .ftm-drop__mosaic img {
	width: 44px;
	height: 44px;
	object-fit: contain;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--accent-dark) 45%, transparent);
}
.ftm-drop__mosaic--cmp {
	grid-column: 1 / -1;
}
.ftm-drop__glyph--tile {
	grid-row: 1 / span 2;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--accent) 12%, #fff);
	color: var(--accent-dark);
	box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--accent-dark) 45%, transparent);
}
.ftm-drop__glyph--tile svg { width: 18px; height: 18px; }
.ftm-drop__panel--editions .ftm-drop__mosaic[aria-current="page"],
.ftm-drop__panel--services .ftm-drop__mosaic[aria-current="page"] {
	border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
	box-shadow:
		0 6px 16px -10px color-mix(in srgb, var(--accent-dark) 28%, transparent),
		var(--shadow-sm),
		inset 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent);
}
.ftm-nav__link.is-active { color: var(--accent-dark); }

.ftm-drop__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px;
	border-radius: var(--radius-sm);
	text-decoration: none;
	color: var(--ink);
}
.ftm-drop__item:hover { background: var(--bg-alt); text-decoration: none; }
.ftm-drop__item img {
	width: 28px;
	height: 28px;
	flex: none;
	margin-top: 1px;
	border-radius: 7px;
	object-fit: cover;
}
.ftm-drop__item b { display: block; font-size: .875rem; font-weight: 600; line-height: 1.3; }
.ftm-drop__item span { display: block; font-size: .75rem; color: var(--muted); line-height: 1.4; }

.ftm-burger {
	display: none;
	margin-left: auto;
	padding: 9px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
	color: var(--ink);
	cursor: pointer;
}
.ftm-burger svg { width: 20px; height: 20px; display: block; }

.ftm-mobile {
	display: none;
	padding: 8px 0 20px;
	border-top: 1px solid var(--line-soft);
}
.ftm-mobile[data-open="true"] { display: block; }
.ftm-mobile__label {
	padding: 14px 4px 6px;
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--faint);
}
.ftm-mobile__link {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 11px 4px;
	border-radius: var(--radius-sm);
	color: var(--ink);
	font-weight: 500;
	text-decoration: none;
}
.ftm-mobile__link:hover { background: var(--bg-alt); text-decoration: none; }
.ftm-mobile__link img {
	width: 28px;
	height: 28px;
	border-radius: 7px;
	object-fit: cover;
}
.ftm-mobile .ftm-btn { width: 100%; margin-top: 14px; }

/* ------------------------------------------------------------------ hero */

.ftm-hero {
	position: relative;
	padding: 76px 0 84px;
	overflow: hidden;
	background:
		radial-gradient(760px 420px at 12% -8%, var(--accent-tint), transparent 70%),
		linear-gradient(180deg, var(--bg) 0%, var(--surface) 62%);
	border-bottom: 1px solid var(--line-soft);
}
.ftm-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(to right, rgba(15, 23, 42, .035) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(15, 23, 42, .035) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(720px 340px at 78% 12%, #000, transparent 72%);
	-webkit-mask-image: radial-gradient(720px 340px at 78% 12%, #000, transparent 72%);
}

.ftm-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
	gap: 56px;
	align-items: center;
}
.ftm-hero__grid--center {
	grid-template-columns: minmax(0, 820px);
	justify-content: center;
	text-align: center;
}

/* Strona główna — jasna, nowoczesna, z subtelną atmosferą koloru */
.ftm-hero--home {
	background:
		radial-gradient(720px 420px at 8% -12%, rgba(220, 38, 38, .11), transparent 62%),
		radial-gradient(640px 380px at 96% 4%, rgba(37, 99, 235, .08), transparent 58%),
		linear-gradient(180deg, #f3f6fa 0%, #f8fafc 48%, #ffffff 100%);
	border-bottom: 1px solid var(--line-soft);
	color: inherit;
}
.ftm-hero--home::after {
	background-image:
		linear-gradient(to right, rgba(15, 23, 42, .03) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(15, 23, 42, .03) 1px, transparent 1px);
	mask-image: radial-gradient(720px 360px at 78% 12%, #000, transparent 72%);
	-webkit-mask-image: radial-gradient(720px 360px at 78% 12%, #000, transparent 72%);
	opacity: .7;
}
.ftm-hero--home h1 { color: var(--ink); }
.ftm-hero--home h1 em {
	color: var(--accent-dark);
	background-image: linear-gradient(var(--accent-tint-strong), var(--accent-tint-strong));
	background-repeat: no-repeat;
	background-size: 100% .16em;
	background-position: 0 94%;
}
.ftm-hero--home .ftm-hero__lead { color: var(--muted); max-width: 540px; }
.ftm-hero--home .ftm-badge {
	background: rgba(255, 255, 255, .9);
	border-color: var(--line);
	color: var(--ink-soft);
	box-shadow: var(--shadow-xs);
}
.ftm-hero--home .ftm-badge__dot {
	background: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-tint);
}
.ftm-hero--home .ftm-facts {
	background: var(--line);
	border: 1px solid var(--line);
	padding: 0;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-xs);
}
.ftm-hero--home .ftm-facts > div {
	background: rgba(255, 255, 255, .96);
}
.ftm-hero--home .ftm-facts b { color: var(--ink); }
.ftm-hero--home .ftm-facts span { color: var(--muted); }
.ftm-hero--home .ftm-btn--ghost {
	background: rgba(255, 255, 255, .92);
	border-color: var(--line);
	color: var(--ink);
}
.ftm-hero--home .ftm-btn--ghost:hover {
	background: #fff;
	border-color: #cbd5e1;
}

/* Strona opisu centrum — jasny pulpit jak w wconfig */
.ftm-hero--hub {
	background:
		radial-gradient(680px 380px at 12% -10%, rgba(29, 141, 219, .16), transparent 60%),
		radial-gradient(620px 320px at 94% 0%, rgba(247, 148, 30, .18), transparent 55%),
		linear-gradient(180deg, #e8eef4 0%, #f7f9fb 55%, #ffffff 100%);
	border-bottom: 0;
	padding-bottom: 36px;
}
.ftm-hero--hub::after { opacity: .45; }
.ftm-hero--hub h1 em {
	background: linear-gradient(120deg, #1d8ddb, #004477);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.ftm-hero--hub .ftm-badge {
	background: #fff;
	border-color: #dbe7f2;
}
.ftm-hero--hub .ftm-badge__dot { background: #22c55e; }
.ftm-hero--hub .ftm-facts > div {
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-xs);
}
.ftm-hubpage__lock {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 18px;
	padding: 10px 14px;
	border-radius: 12px;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	color: #9a3412;
	font-size: .875rem;
	line-height: 1.4;
	text-align: left;
}
.ftm-hubpage__lock svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }

.ftm-home-mosaic {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 14px;
	border-radius: calc(var(--radius-lg) + 2px);
	background: rgba(255, 255, 255, .55);
	border: 1px solid rgba(226, 232, 240, .95);
	box-shadow: var(--shadow-sm);
	backdrop-filter: blur(8px);
}
.ftm-home-mosaic__item {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	column-gap: 12px;
	row-gap: 2px;
	align-items: center;
	padding: 14px 16px;
	background: linear-gradient(165deg, #fff 0%, color-mix(in srgb, var(--accent) 6%, #fff) 100%);
	border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--line));
	border-radius: var(--radius);
	color: var(--ink);
	text-decoration: none;
	box-shadow: var(--shadow-xs);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ftm-home-mosaic__item:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
	border-color: color-mix(in srgb, var(--accent) 32%, var(--line));
	text-decoration: none;
}
.ftm-home-mosaic__glow {
	position: absolute;
	inset: auto -24% -45% auto;
	width: 110px;
	height: 110px;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 72%);
	pointer-events: none;
}
.ftm-home-mosaic__item img {
	grid-row: 1 / span 2;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	object-fit: contain;
	background: #fff;
	flex: none;
	box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--accent-dark) 45%, transparent);
}
.ftm-home-mosaic__name {
	font-size: .875rem;
	font-weight: 650;
	line-height: 1.25;
	color: var(--ink);
}
.ftm-home-mosaic__tag {
	font-size: .75rem;
	line-height: 1.35;
	color: var(--muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ------------------------------------------------------------------ home page atmosphere */

body.ftm--home {
	background-color: #f2f5f9;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
		radial-gradient(ellipse 58vw 44vw at 0% 4%, rgba(247, 148, 30, .18), transparent 64%),
		radial-gradient(ellipse 52vw 40vw at 100% 8%, rgba(42, 114, 183, .15), transparent 62%),
		radial-gradient(ellipse 46vw 38vw at 98% 72%, rgba(67, 160, 71, .10), transparent 64%),
		radial-gradient(ellipse 50vw 42vw at 2% 86%, rgba(220, 38, 38, .09), transparent 62%),
		radial-gradient(ellipse 36vw 28vw at 50% 18%, rgba(255, 255, 255, .55), transparent 72%);
	background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
	background-size: 160px 160px, auto, auto, auto, auto, auto;
	background-attachment: scroll;
}
.ftm-home {
	position: relative;
	isolation: isolate;
}
.ftm-home::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: linear-gradient(90deg, #000 0%, transparent 11%, transparent 89%, #000 100%);
	-webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 11%, transparent 89%, #000 100%);
}
.ftm-home::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: min(42vw, 520px);
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 48% 80% at 12% 80%, rgba(247, 148, 30, .10), transparent 70%),
		radial-gradient(ellipse 42% 80% at 88% 90%, rgba(42, 114, 183, .10), transparent 70%);
}
.ftm-home > * { position: relative; z-index: 1; }

@media (min-width: 1440px) {
	body.ftm--home { --shell: 1280px; }
}
@media (min-width: 1680px) {
	body.ftm--home { --shell: 1360px; }
}

body.ftm--home .ftm-header {
	background: rgba(255, 255, 255, .86);
	border-bottom-color: var(--line);
}
.ftm-home .ftm-section--alt {
	background:
		radial-gradient(720px 300px at 0% 0%, rgba(37, 99, 235, .05), transparent 60%),
		linear-gradient(180deg, #eef2f7 0%, #f4f6f9 100%);
	border-block-color: var(--line-soft);
}
.ftm-home .ftm-section--soft {
	background:
		radial-gradient(640px 280px at 100% 0%, rgba(220, 38, 38, .05), transparent 58%),
		#f8fafc;
}
.ftm-home .ftm-section:has(.ftm-cta) {
	background: linear-gradient(180deg, #f4f6f9 0%, #eef2f7 100%);
	padding-top: 72px;
	padding-bottom: 80px;
}
.ftm-home .ftm-product {
	background:
		linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, #fff) 0%, #fff 48%);
	border-color: color-mix(in srgb, var(--accent) 16%, var(--line));
	box-shadow: var(--shadow-sm);
}
.ftm-home .ftm-product__foot {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, #fff) 0%, var(--bg) 100%);
	border-top-color: color-mix(in srgb, var(--accent) 12%, var(--line-soft));
	color: var(--ink);
}
.ftm-home .ftm-product__foot svg { color: var(--accent); }
.ftm-home .ftm-card {
	background: #fff;
	border-color: var(--line);
	box-shadow: var(--shadow-sm);
}
.ftm-home .ftm-iconblock {
	background: var(--accent-tint);
	color: var(--accent-dark);
	box-shadow: none;
}
.ftm-home .ftm-integr__item {
	background: #fff;
	border-color: var(--line);
	box-shadow: var(--shadow-xs);
}
.ftm-home .ftm-integr__item b::before {
	background: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-tint);
}
.ftm-home .ftm-cta {
	box-shadow: 0 24px 48px -28px rgba(15, 23, 42, .4);
}

/* ------------------------------------------------------------------ centrum konfiguracji (pas na home) */

.ftm-hubband {
	position: relative;
	overflow: hidden;
	padding: 72px 0 76px;
	background:
		radial-gradient(640px 360px at 100% -8%, rgba(247, 148, 30, .28), transparent 58%),
		radial-gradient(480px 280px at 0% 110%, rgba(29, 141, 219, .14), transparent 55%),
		linear-gradient(155deg, #1A252F 0%, #0b1220 52%, #152238 100%);
	color: #cbd5e1;
	border-block: 1px solid #1e293b;
}
.ftm-hubband::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(720px 360px at 80% 20%, #000, transparent 72%);
	pointer-events: none;
}
.ftm-hubband__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
}
.ftm-hubband__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	padding: 5px 12px 5px 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .12);
	font-size: .8125rem;
	font-weight: 650;
	letter-spacing: .02em;
	color: #fde68a;
}
.ftm-hubband__eyebrow img {
	width: 28px;
	height: 28px;
	border-radius: 7px;
}
.ftm-hubband h2 {
	color: #fff;
	font-size: clamp(1.7rem, 3.2vw, 2.45rem);
	max-width: 18ch;
}
.ftm-hubband__lead {
	margin: 16px 0 0;
	max-width: 52ch;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: #94a3b8;
}
.ftm-hubband__lock {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 18px;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(247, 148, 30, .12);
	border: 1px solid rgba(247, 148, 30, .28);
	color: #fde68a;
	font-size: .875rem;
	line-height: 1.45;
}
.ftm-hubband__lock svg {
	width: 18px;
	height: 18px;
	flex: none;
	margin-top: 1px;
}
.ftm-hubband__points {
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
	display: grid;
	gap: 12px;
}
.ftm-hubband__points li {
	padding-left: 14px;
	border-left: 2px solid #f7941e;
}
.ftm-hubband__points b {
	display: block;
	color: #fff;
	font-size: .9375rem;
}
.ftm-hubband__points span {
	display: block;
	margin-top: 2px;
	font-size: .8125rem;
	color: #94a3b8;
}
.ftm-hubband .ftm-btns { margin-top: 26px; }
.ftm-hubband__visual .ftm-mock {
	box-shadow: 0 28px 64px -24px rgba(0, 0, 0, .55);
}

.ftm-hubcall {
	padding: 8px 0 0;
	background: var(--bg);
}
.ftm-hubcall__card {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 18px;
	align-items: center;
	padding: 18px 22px;
	border-radius: var(--radius-lg);
	background:
		radial-gradient(480px 160px at 100% 0%, rgba(247, 148, 30, .16), transparent 62%),
		linear-gradient(135deg, #1A252F, #152238);
	color: #e2e8f0;
	text-decoration: none;
	box-shadow: var(--shadow-md);
}
.ftm-hubcall__card:hover { text-decoration: none; color: #fff; }
.ftm-hubcall__card img {
	width: 48px;
	height: 48px;
	border-radius: 12px;
}
.ftm-hubcall__kicker {
	display: block;
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #fde68a;
	margin-bottom: 4px;
}
.ftm-hubcall__text b {
	display: block;
	font-size: 1.0625rem;
	color: #fff;
}
.ftm-hubcall__text span:last-child {
	display: block;
	margin-top: 4px;
	font-size: .875rem;
	color: #94a3b8;
	max-width: 62ch;
}
.ftm-hubcall__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: none;
	padding: 10px 14px;
	border-radius: 999px;
	background: #f7941e;
	color: #fff;
	font-size: .8125rem;
	font-weight: 700;
	white-space: nowrap;
}
.ftm-hubcall__cta svg { width: 16px; height: 16px; }

.ftm-home .ftm-btn--accent {
	box-shadow: 0 8px 20px -10px rgba(220, 38, 38, .45);
}

.ftm-hero h1 {
	margin: 20px 0 0;
	font-size: clamp(2.1rem, 5vw, 3.4rem);
	letter-spacing: -.035em;
}
.ftm-hero h1 em {
	font-style: normal;
	color: var(--accent-dark);
	background-image: linear-gradient(var(--accent-tint-strong), var(--accent-tint-strong));
	background-repeat: no-repeat;
	background-size: 100% .14em;
	background-position: 0 96%;
}
.ftm-hero__lead {
	margin-top: 20px;
	max-width: 620px;
	font-size: 1.125rem;
	color: var(--muted);
	text-wrap: pretty;
}
.ftm-hero__grid--center .ftm-hero__lead { margin-inline: auto; }
.ftm-hero__grid--center .ftm-btns { justify-content: center; }
.ftm-hero .ftm-btns { margin-top: 30px; }

.ftm-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin-top: 44px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.ftm-facts > div { padding: 16px 18px; background: var(--surface); }
.ftm-facts b {
	display: block;
	font-size: 1.375rem;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--ink);
}
.ftm-facts span {
	display: block;
	margin-top: 2px;
	font-size: .8125rem;
	color: var(--muted);
	line-height: 1.4;
}

/* ------------------------------------------------------------------ cards */

.ftm-grid { display: grid; gap: 20px; }
.ftm-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ftm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ftm-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ftm-card {
	display: flex;
	flex-direction: column;
	padding: 26px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-xs);
	transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.ftm-card h3 { font-size: 1.0625rem; }
.ftm-card p { margin-top: 9px; font-size: .9375rem; color: var(--muted); }

.ftm-card--hover:hover {
	border-color: #cfdae7;
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.ftm-iconblock {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 16px;
	border-radius: 11px;
	background: var(--accent-tint);
	color: var(--accent-dark);
	flex: none;
}
.ftm-iconblock svg { width: 21px; height: 21px; }
.ftm-iconblock--sm { width: 34px; height: 34px; border-radius: 9px; margin-bottom: 0; }
.ftm-iconblock--sm svg { width: 17px; height: 17px; }

.ftm-bullets {
	margin: 18px 0 0;
	padding: 16px 0 0;
	list-style: none;
	border-top: 1px solid var(--line-soft);
	display: grid;
	gap: 8px;
}
.ftm-bullets li {
	position: relative;
	padding-left: 22px;
	font-size: .875rem;
	color: var(--ink-soft);
}
.ftm-bullets li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .52em;
	width: 12px;
	height: 6px;
	border-left: 2px solid var(--accent);
	border-bottom: 2px solid var(--accent);
	transform: rotate(-45deg);
	border-radius: 1px;
}

/* karta produktu na stronie głównej */
.ftm-product {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 0;
	overflow: hidden;
	background:
		linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, #fff) 0%, #fff 42%);
	border-color: color-mix(in srgb, var(--accent) 16%, var(--line));
}
.ftm-product::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 35%, #f7941e), var(--accent-dark));
}
.ftm-product__body { padding: 28px 26px 24px; flex: 1; }
.ftm-product__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 18px;
}
.ftm-product__mark {
	width: 48px;
	height: 48px;
	border-radius: 13px;
	padding: 0;
	object-fit: cover;
	background: transparent;
	border: 0;
	flex: none;
	box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--accent-dark) 50%, transparent);
}
.ftm-product__meta {
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--faint);
	text-align: right;
}
.ftm-product h3 { font-size: 1.1875rem; }
.ftm-product__tagline {
	margin-top: 4px;
	font-size: .875rem;
	font-weight: 500;
	color: var(--accent-dark);
}
.ftm-product p { margin-top: 12px; }
.ftm-product__foot {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 16px 26px;
	border-top: 1px solid color-mix(in srgb, var(--accent) 12%, var(--line-soft));
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 5%, var(--bg)) 0%, var(--bg) 100%);
	font-size: .9375rem;
	font-weight: 600;
	color: var(--ink);
}
.ftm-product__foot svg {
	width: 16px;
	height: 16px;
	color: var(--accent);
	transition: transform .18s ease;
}
.ftm-product:hover .ftm-product__foot svg { transform: translateX(4px); }
.ftm-card--hover.ftm-product:hover {
	border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
	box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--accent-dark) 45%, transparent), var(--shadow-md);
}

.ftm-cardlink { text-decoration: none; color: inherit; }
.ftm-cardlink:hover { text-decoration: none; }

/* ------------------------------------------------------------------ steps */

.ftm-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	counter-reset: ftm-step;
}
.ftm-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ftm-step { position: relative; padding-top: 54px; }
.ftm-step::before {
	counter-increment: ftm-step;
	content: "0" counter(ftm-step);
	position: absolute;
	top: 0;
	left: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: var(--accent);
	color: #fff;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: 0;
}
.ftm-step::after {
	content: "";
	position: absolute;
	top: 19px;
	left: 52px;
	right: -24px;
	height: 1px;
	background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.ftm-step:last-child::after { display: none; }
.ftm-step h3 { font-size: 1rem; }
.ftm-step p { margin-top: 8px; font-size: .9375rem; color: var(--muted); }

/* ------------------------------------------------------------------ spotlight / benefits */

.ftm-tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.ftm-tile {
	display: flex;
	gap: 14px;
	padding: 22px;
	background: var(--surface);
}
.ftm-tile b { display: block; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.ftm-tile span { display: block; margin-top: 5px; font-size: .875rem; color: var(--muted); line-height: 1.55; }

.ftm-benefit {
	display: flex;
	gap: 18px;
	padding: 24px 0;
	border-top: 1px solid var(--line-soft);
}
.ftm-benefit:first-child { border-top: 0; }
.ftm-benefit h3 { font-size: 1.0625rem; }
.ftm-benefit p { margin-top: 7px; font-size: .9375rem; color: var(--muted); }

/* ------------------------------------------------------------------ integracje */

.ftm-integr {
	display: grid;
	/* auto-fit, aby 3 lub 5 pozycji nie zostawiało pustej kolumny */
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
}
.ftm-integr__item {
	padding: 18px 20px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.ftm-integr__item b {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: .9375rem;
	font-weight: 600;
	color: var(--ink);
}
.ftm-integr__item b::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 3px;
	background: var(--accent);
	flex: none;
}
.ftm-integr__item span {
	display: block;
	margin-top: 7px;
	font-size: .8125rem;
	color: var(--muted);
	line-height: 1.55;
}

/* ------------------------------------------------------------------ roadmap */

.ftm-plan {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ftm-plan li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	padding: 15px 18px;
	border: 1px dashed #cbd5e1;
	border-radius: var(--radius);
	background: var(--surface);
	font-size: .9375rem;
	color: var(--ink-soft);
}
.ftm-plan li::before {
	content: "";
	width: 9px;
	height: 9px;
	margin-top: 7px;
	border-radius: 50%;
	border: 2px solid var(--faint);
	flex: none;
}

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

.ftm-cta {
	position: relative;
	overflow: hidden;
	padding: 56px 52px;
	border-radius: var(--radius-xl);
	background:
		radial-gradient(520px 280px at 100% 0%, rgba(220, 38, 38, .32), transparent 60%),
		radial-gradient(420px 260px at 0% 100%, rgba(37, 99, 235, .18), transparent 55%),
		linear-gradient(145deg, #0b1220 0%, #152238 100%);
	color: #cbd5e1;
}
.ftm-cta::before {
	content: "";
	position: absolute;
	top: -160px;
	right: -120px;
	width: 460px;
	height: 460px;
	border-radius: 50%;
	background: var(--accent);
	opacity: .22;
	filter: blur(90px);
}
.ftm-cta__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}
.ftm-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.ftm-cta p { margin-top: 12px; max-width: 620px; font-size: 1.0625rem; }
.ftm-cta .ftm-btns { flex: none; }

/* ------------------------------------------------------------------ footer */

.ftm-footer {
	padding: 64px 0 32px;
	background: var(--ink);
	color: #94a3b8;
	font-size: .9375rem;
}
.ftm-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
	gap: 44px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.ftm-footer__grid--editions {
	grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
}
.ftm-footer .ftm-logo { color: #fff; }
.ftm-footer .ftm-logo__sub { color: #64748b; }
.ftm-footer__about { margin-top: 16px; max-width: 380px; font-size: .9375rem; line-height: 1.65; }
.ftm-footer h3 {
	margin-bottom: 14px;
	color: #fff;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
}
.ftm-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ftm-footer a { color: #94a3b8; text-decoration: none; }
.ftm-footer a:hover { color: #fff; text-decoration: none; }
.ftm-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	justify-content: space-between;
	padding-top: 24px;
	font-size: .8125rem;
	color: #64748b;
}

/* ================================================================== makiety
   Uproszczone odwzorowania realnych ekranów — bez zrzutów, bez wymyślonych
   funkcji. Dane w makietach są przykładowe.
   ================================================================== */

.ftm-mock {
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}
.ftm-mock__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 11px 14px;
	background: var(--bg-alt);
	border-bottom: 1px solid var(--line);
}
.ftm-mock__dots { display: flex; gap: 5px; }
.ftm-mock__dots i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #cbd5e1;
}
.ftm-mock__url {
	flex: 1;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--surface);
	border: 1px solid var(--line);
	font-family: var(--font-mono);
	font-size: .6875rem;
	color: var(--faint);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ftm-mock__body { padding: 18px; }

.ftm-mock__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}
.ftm-mock__title b { font-size: .9375rem; color: var(--ink); }
.ftm-mock__chip {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--accent-tint);
	color: var(--accent-dark);
	font-size: .6875rem;
	font-weight: 600;
}

/* tabela w makiecie */
.ftm-tbl { width: 100%; border-collapse: collapse; font-size: .75rem; }
.ftm-tbl th {
	padding: 8px 10px;
	text-align: left;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-weight: 600;
	white-space: nowrap;
}
.ftm-tbl td {
	padding: 9px 10px;
	border-bottom: 1px solid var(--line-soft);
	color: var(--ink-soft);
	white-space: nowrap;
}
.ftm-tbl tr:last-child td { border-bottom: 0; }
.ftm-tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.ftm-tbl .due { color: #b91c1c; font-weight: 600; }
.ftm-tbl .ok { color: #15803d; font-weight: 600; }
.ftm-mock__scroll { overflow-x: auto; }

.ftm-pill {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: .6875rem;
	font-weight: 600;
	line-height: 1.6;
}
.ftm-pill--new { background: #dbeafe; color: #1d4ed8; }
.ftm-pill--work { background: #fef3c7; color: #92400e; }
.ftm-pill--done { background: #dcfce7; color: #15803d; }
.ftm-pill--gray { background: var(--bg-alt); color: var(--muted); }

/* kafle statystyk w makiecie */
.ftm-mock__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 14px;
}
.ftm-mock__stat {
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--bg);
}
.ftm-mock__stat span {
	display: block;
	font-size: .6875rem;
	color: var(--muted);
}
.ftm-mock__stat b {
	display: block;
	margin-top: 3px;
	font-size: 1.0625rem;
	color: var(--ink);
	letter-spacing: -.02em;
}

/* wykres słupkowy */
.ftm-bars {
	display: flex;
	align-items: flex-end;
	gap: 7px;
	height: 96px;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--bg);
}
.ftm-bars i {
	flex: 1;
	border-radius: 3px 3px 0 0;
	background: var(--accent);
	opacity: .35;
}
.ftm-bars i:nth-child(n+8) { opacity: .75; }
.ftm-bars i:last-child { opacity: 1; }

/* kalendarz */
.ftm-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.ftm-cal__dow {
	padding: 4px 0;
	text-align: center;
	font-size: .625rem;
	font-weight: 600;
	color: var(--muted);
	text-transform: uppercase;
}
.ftm-cal__day {
	min-height: 46px;
	padding: 4px 5px;
	border: 1px solid var(--line-soft);
	border-radius: 5px;
	background: var(--surface);
	font-size: .625rem;
	color: var(--faint);
}
.ftm-cal__day--off { background: var(--bg); }
.ftm-cal__day--today { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.ftm-cal__ev {
	display: block;
	margin-top: 3px;
	padding: 2px 4px;
	border-radius: 3px;
	background: var(--accent);
	color: #fff;
	font-size: .5625rem;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ftm-cal__ev--soft { background: var(--accent-tint-strong); color: var(--accent-dark); }

/* rozmowa / autoresponder */
.ftm-thread { display: grid; gap: 10px; }
.ftm-msg {
	max-width: 82%;
	padding: 10px 13px;
	border-radius: 13px;
	font-size: .8125rem;
	line-height: 1.55;
}
.ftm-msg--in {
	background: var(--bg-alt);
	border: 1px solid var(--line);
	color: var(--ink-soft);
	border-bottom-left-radius: 4px;
}
.ftm-msg--out {
	margin-left: auto;
	background: var(--accent);
	color: #fff;
	border-bottom-right-radius: 4px;
}
.ftm-msg__who {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 4px;
	font-size: .625rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	opacity: .75;
}

/* terminal / kod */
.ftm-term {
	padding: 16px 18px;
	background: #0b1220;
	font-family: var(--font-mono);
	font-size: .75rem;
	line-height: 1.85;
	color: #cbd5e1;
	overflow-x: auto;
}
.ftm-term pre { margin: 0; white-space: pre; }
.ftm-term .c { color: #64748b; }
.ftm-term .k { color: #7dd3fc; }
.ftm-term .s { color: #86efac; }
.ftm-term .p { color: #fca5a5; }
.ftm-mock--dark { background: #0b1220; border-color: #1e293b; }
.ftm-mock--dark .ftm-mock__bar { background: #111a2e; border-color: #1e293b; }
.ftm-mock--dark .ftm-mock__url { background: #0b1220; border-color: #1e293b; color: #64748b; }
.ftm-mock--dark .ftm-mock__dots i { background: #334155; }

/* makieta centrum konfiguracji — pulpit jak w wconfig */
.ftm-mock--hub {
	background: #f3f6f9;
	padding: 0;
	overflow: hidden;
	border-color: #d7e0ea;
}
.ftm-mock--hub .ftm-mock__bar {
	margin: 0;
	border-radius: 0;
	background: #0b1220;
	border-bottom: 0;
}
.ftm-mock--hub .ftm-mock__url {
	background: #152033;
	border-color: #243044;
	color: #94a3b8;
}
.ftm-mock--hub .ftm-mock__dots i:nth-child(1) { background: #f87171; }
.ftm-mock--hub .ftm-mock__dots i:nth-child(2) { background: #fbbf24; }
.ftm-mock--hub .ftm-mock__dots i:nth-child(3) { background: #34d399; }
.ftm-mock--hub .ftm-mock__body { padding: 0; }

.ftm-wcapp__appbar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
	background: linear-gradient(180deg, #004477 0%, #003357 100%);
	color: #fff;
}
.ftm-wcapp__brand {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: none;
}
.ftm-wcapp__brand img {
	width: 28px;
	height: 28px;
	border-radius: 7px;
	background: #fff;
}
.ftm-wcapp__brand b { display: block; font-size: .75rem; color: #fff; line-height: 1.15; }
.ftm-wcapp__brand small { display: block; font-size: .5625rem; color: #9ec9e8; }
.ftm-wcapp__search {
	flex: 1;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .18);
	font-size: .6875rem;
	color: #c5d8e8;
}
.ftm-wcapp__who {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: .6875rem;
	font-weight: 650;
	color: #e2eef6;
	white-space: nowrap;
}
.ftm-wcapp__avatar {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #1d8ddb;
	color: #fff;
	font-size: .6875rem;
	font-weight: 800;
}

.ftm-wcapp__chrome {
	display: grid;
	grid-template-columns: 188px minmax(0, 1fr);
	background: #eef2f6;
}
.ftm-wcapp__nav {
	background: #f7f9fb;
	border-right: 1px solid #e2e8f0;
	padding: 10px 8px 14px;
}
.ftm-wcapp__group {
	margin: 10px 6px 4px;
	font-size: .5rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #94a3b8;
}
.ftm-wcapp__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 5px 8px;
	border-radius: 8px;
	font-size: .6875rem;
	font-weight: 600;
	color: var(--ink-soft);
}
.ftm-wcapp__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 2px rgba(34, 197, 94, .18);
	flex: none;
}
.ftm-wcapp__dot--trial {
	background: #f59e0b;
	box-shadow: 0 0 0 2px rgba(245, 158, 11, .18);
}
.ftm-wcapp__add {
	margin-top: 12px;
	padding: 8px;
	border-radius: 8px;
	border: 1px dashed #93c5fd;
	text-align: center;
	font-size: .6875rem;
	font-weight: 700;
	color: #1d8ddb;
	background: #eff6ff;
}
.ftm-wcapp__main { padding: 14px 16px 18px; background: #f3f6f9; }
.ftm-wcapp__h {
	margin: 0;
	font-size: 1.12rem;
	color: #16232b;
}
.ftm-wcapp__sub {
	margin: 2px 0 12px;
	font-size: .75rem;
	color: var(--muted);
}
.ftm-wcapp__lic {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	margin-bottom: 12px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #cfe3f4;
	box-shadow: var(--shadow-xs);
}
.ftm-wcapp__lic-mark {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, #fbbf24, #f7941e);
	color: #7c2d12;
	flex: none;
}
.ftm-wcapp__lic strong {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-size: .8125rem;
	color: var(--ink);
}
.ftm-wcapp__lic strong em {
	font-style: normal;
	padding: 2px 7px;
	border-radius: 999px;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	color: #c2410c;
	font-size: .5625rem;
	font-weight: 800;
}
.ftm-wcapp__lic span { display: block; font-size: .6875rem; color: var(--muted); margin-top: 2px; }
.ftm-wcapp__lic > b {
	margin-left: auto;
	font-size: .6875rem;
	font-weight: 700;
	color: #1d8ddb;
	white-space: nowrap;
}

.ftm-wcapp__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 12px;
}
.ftm-wcapp__stats > div {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-xs);
}
.ftm-wcapp__stat-ico {
	width: 32px;
	height: 32px;
	border-radius: 9px;
	flex: none;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.ftm-wcapp__stats b { display: block; font-size: 1.15rem; color: #16232b; letter-spacing: -.03em; }
.ftm-wcapp__stats span { display: block; font-size: .625rem; font-weight: 650; color: var(--muted); }

.ftm-wcapp__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}
.ftm-wcapp__filters span {
	padding: 4px 10px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--line);
	font-size: .625rem;
	font-weight: 650;
	color: var(--muted);
}
.ftm-wcapp__filters .is-on {
	background: #004477;
	border-color: #004477;
	color: #fff;
}

.ftm-wcapp__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}
.ftm-wcapp__card {
	padding: 10px 12px 8px;
	border-radius: 12px;
	background: #fff;
	background: linear-gradient(180deg, color-mix(in srgb, var(--card-accent, #1d8ddb) 10%, #fff) 0%, #fff 42%);
	border: 1px solid var(--line);
	border-color: color-mix(in srgb, var(--card-accent, #94a3b8) 22%, var(--line));
	box-shadow: var(--shadow-xs);
	min-width: 0;
}
.ftm-wcapp__card-head {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 8px;
	align-items: start;
}
.ftm-wcapp__card-head img { width: 36px; height: 36px; border-radius: 9px; background: #fff; }
.ftm-wcapp__card-head b { display: block; font-size: .75rem; color: var(--ink); line-height: 1.2; }
.ftm-wcapp__card-head small { display: block; font-size: .5625rem; color: var(--muted); margin-top: 2px; }
.ftm-wcapp__pill {
	padding: 2px 7px;
	border-radius: 999px;
	font-size: .5625rem;
	font-weight: 700;
	white-space: nowrap;
}
.ftm-wcapp__pill--ok { background: #dcfce7; color: #15803d; }
.ftm-wcapp__pill--trial { background: #fef3c7; color: #b45309; }
.ftm-wcapp__pill--special { background: #e0f2fe; color: #0369a1; }
.ftm-wcapp__blurb {
	margin: 8px 0 6px;
	font-size: .625rem;
	line-height: 1.4;
	color: var(--muted);
}
.ftm-wcapp__meta {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-size: .5625rem;
	color: var(--muted);
	padding: 2px 0;
}
.ftm-wcapp__meta b { color: var(--ink-soft); font-weight: 650; text-align: right; }
.ftm-wcapp__meta b.is-ok { color: #15803d; }
.ftm-wcapp__meta b.is-trial { color: #b45309; }
.ftm-wcapp__meta b.is-special { color: #0369a1; }
.ftm-wcapp__go {
	margin-top: 8px;
	padding-top: 6px;
	border-top: 1px solid var(--line-soft);
	text-align: center;
	font-size: .6875rem;
	font-weight: 700;
	color: #1d8ddb;
}
.ftm-wcapp__add-tile {
	display: grid;
	place-content: center;
	text-align: center;
	min-height: 150px;
	background: repeating-linear-gradient(-45deg, #f8fafc, #f8fafc 8px, #eef4fa 8px, #eef4fa 16px);
	border: 1px dashed #93c5fd;
}
.ftm-wcapp__add-tile strong { display: block; font-size: .8125rem; color: #1d8ddb; }
.ftm-wcapp__add-tile span { display: block; margin-top: 4px; font-size: .625rem; color: var(--muted); }

.ftm-hub-showcase {
	padding: 8px 0 72px;
	background:
		radial-gradient(720px 280px at 80% 0%, rgba(247, 148, 30, .14), transparent 58%),
		radial-gradient(520px 240px at 8% 100%, rgba(29, 141, 219, .1), transparent 55%),
		linear-gradient(180deg, #e8edf3 0%, #f4f6f9 100%);
}
.ftm-hub-showcase__head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 28px;
}
.ftm-hub-showcase__head h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.ftm-hub-showcase__head p { margin-top: 8px; color: var(--muted); }
.ftm-hub-showcase .ftm-mock {
	box-shadow: 0 28px 64px -24px rgba(15, 23, 42, .35);
}

.ftm-hubband__visual { max-height: 540px; overflow: hidden; }
.ftm-hubband .ftm-wcapp__nav,
.ftm-hubband .ftm-wcapp__search,
.ftm-hubband .ftm-wcapp__filters,
.ftm-hubband .ftm-wcapp__blurb,
.ftm-hubband .ftm-wcapp__meta,
.ftm-hubband .ftm-wcapp__add-tile,
.ftm-hubband .ftm-wcapp__card:nth-child(n+5) { display: none; }
.ftm-hubband .ftm-wcapp__chrome { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.ftm-hubband .ftm-wcapp__grid { grid-template-columns: 1fr 1fr; }
.ftm-hubband .ftm-wcapp__stats { grid-template-columns: 1fr 1fr; }

/* lista kluczy/wartości */
.ftm-kv { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.ftm-kv > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 12px;
	background: var(--surface);
	font-size: .75rem;
}
.ftm-kv span { color: var(--muted); }
.ftm-kv b { color: var(--ink); font-family: var(--font-mono); font-weight: 600; }

/* --------------------------------------------- nawigacja krzyżowa (inne produkty) */

.ftm-more {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}
.ftm-more__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	color: inherit;
	text-decoration: none;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.ftm-more__item:hover {
	border-color: #cbd5e1;
	box-shadow: var(--shadow-sm);
	transform: translateY(-2px);
	text-decoration: none;
}
.ftm-more__item img {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	object-fit: cover;
}
.ftm-more__text { min-width: 0; flex: 1; }
.ftm-more__text b {
	display: block;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ink);
}
.ftm-more__text span {
	display: block;
	margin-top: 3px;
	font-size: .8125rem;
	line-height: 1.45;
	color: var(--muted);
}
.ftm-more__arrow {
	flex: none;
	width: 17px;
	height: 17px;
	color: var(--muted);
	transition: transform .18s ease, color .18s ease;
}
.ftm-more__item:hover .ftm-more__arrow { transform: translateX(3px); color: var(--accent); }

/* ------------------------------------------------------------------ shop (kup licencję) */

.ftm-shop {
	--lic: #c9a227;
	--lic-soft: #fbf6e8;
	--lic-line: color-mix(in srgb, #c9a227 28%, var(--line));
	--accent: #c9a227;
	--accent-dark: #8a6d12;
	--accent-tint: color-mix(in srgb, #c9a227 12%, white);
	--accent-tint-strong: color-mix(in srgb, #c9a227 20%, white);
	background:
		radial-gradient(880px 420px at 6% -8%, rgba(201, 162, 39, .18), transparent 58%),
		radial-gradient(720px 380px at 100% 92%, rgba(148, 163, 184, .14), transparent 52%),
		linear-gradient(180deg, #faf6ea 0%, #f4efe3 42%, #eef1f6 100%);
	border-block: 1px solid color-mix(in srgb, #c9a227 18%, var(--line));
}
body.ftm--shop {
	background: #f3f4f7;
}
.ftm-shop-stage {
	position: relative;
	padding: 22px 22px 12px;
	border-radius: 24px;
	background:
		radial-gradient(120% 80% at 0% 0%, rgba(201, 162, 39, .10), transparent 55%),
		linear-gradient(165deg, rgba(255, 255, 255, .92) 0%, rgba(255, 252, 244, .88) 100%);
	border: 1px solid color-mix(in srgb, #c9a227 20%, var(--line));
	box-shadow: var(--shadow-sm);
}
.ftm-shop .ftm-btn--accent {
	background: linear-gradient(180deg, #d4b84a, #b89422);
	color: #1c1608;
	box-shadow: 0 6px 18px -8px rgba(138, 109, 18, .55);
}
.ftm-shop .ftm-btn--accent:hover {
	background: #8a6d12;
	color: #fff;
}
.ftm-shop .ftm-btn--accent:disabled,
.ftm-shop .ftm-btn--accent[disabled] {
	opacity: .45;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
	pointer-events: none;
	background: linear-gradient(180deg, #d4b84a, #b89422);
	color: #1c1608;
}
.ftm-shop .ftm-btn--accent svg { color: currentColor; }
.ftm-shop-head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 22px;
	padding: 18px 20px;
	border: 1px solid var(--lic-line);
	border-radius: var(--radius);
	background:
		radial-gradient(130% 90% at 0% -10%, color-mix(in srgb, var(--lic) 22%, transparent), transparent 58%),
		linear-gradient(165deg, var(--lic-soft), #fff 70%);
}
.ftm-shop-head__icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, #e8c547, #c9a227 55%, #8a6d12);
	box-shadow: 0 6px 16px -8px rgba(138, 109, 18, .55);
}
.ftm-shop-head__icon img { width: 34px; height: 34px; object-fit: contain; }
.ftm-shop-head__title {
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--ink);
}
.ftm-shop-head__lead {
	margin-top: 4px;
	font-size: .875rem;
	color: var(--muted);
	max-width: 46rem;
}
.ftm-shop-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	font-size: .8125rem;
	font-weight: 700;
	color: var(--muted);
}
.ftm-shop-steps li { display: inline-flex; align-items: center; }
.ftm-shop-steps li button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 4px 2px;
	border: 0;
	background: none;
	font: inherit;
	font-weight: 700;
	color: inherit;
	cursor: default;
}
.ftm-shop-steps span {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	background: #fff;
	font-size: .75rem;
	color: var(--muted);
}
.ftm-shop-steps li.is-active { color: var(--accent-dark, #8a6d12); }
.ftm-shop-steps li.is-active span {
	background: linear-gradient(180deg, #d4b84a, #b89422);
	color: #1c1608;
	border-color: #b89422;
	font-weight: 800;
}
.ftm-shop-steps li.is-done { color: #15803d; }
.ftm-shop-steps li.is-done span {
	background: #eefbf3;
	color: #15803d;
	border-color: #bfe9cf;
}
.ftm-shop-steps li.is-back button { cursor: pointer; }
.ftm-shop-steps li.is-back button:hover { color: var(--accent-dark, #8a6d12); }
.ftm-shop-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 22px;
	align-items: start;
}
.ftm-shop-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	margin-bottom: 16px;
	box-shadow: var(--shadow-xs);
}
.ftm-shop-card__h {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 16px;
	font-size: .9375rem;
	font-weight: 700;
	color: var(--ink-soft);
	background: linear-gradient(180deg, #fff, #f8fafc);
	border-bottom: 1px solid var(--line-soft);
	border-left: 3px solid var(--lic);
	border-radius: var(--radius) var(--radius) 0 0;
}
.ftm-shop-card__h svg { width: 18px; height: 18px; color: var(--lic); }
.ftm-shop-card__b { padding: 16px 18px 18px; }
.ftm-shop-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ftm-shop-chip {
	border: 1px solid var(--line);
	background: #fff;
	color: var(--muted);
	font: inherit;
	font-weight: 700;
	font-size: .9375rem;
	padding: .65rem 1.15rem;
	border-radius: 999px;
	box-shadow: var(--shadow-xs);
	transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
	cursor: pointer;
}
.ftm-shop-chip.is-active {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}
.ftm-shop-chip--buy.is-active {
	color: #1c1608;
	background: linear-gradient(180deg, #f0d060 0%, #d4a017 100%);
	border-color: #b8860b;
	box-shadow: 0 4px 12px -4px rgba(184, 134, 11, .5);
}
.ftm-shop-chip--upd.is-active {
	color: #fff;
	background: linear-gradient(180deg, #e85d4c 0%, #c2410c 100%);
	border-color: #9a3412;
	box-shadow: 0 4px 12px -4px rgba(194, 65, 12, .5);
}
.ftm-shop-chip:disabled,
.ftm-shop-chip.is-disabled {
	opacity: .45;
	cursor: not-allowed;
}
.ftm-shop-hint, .ftm-shop-muted {
	margin-top: 10px;
	font-size: .8125rem;
	color: var(--muted);
	line-height: 1.45;
}
.ftm-shop-err { margin-top: 8px; font-size: .8125rem; color: #b42318; }
.ftm-shop [hidden] { display: none !important; }
.ftm-shop-editions {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.ftm-shop-egroup {
	margin: 8px 0 2px;
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted);
}
.ftm-shop-egroup:first-child { margin-top: 0; }
.ftm-shop-edition {
	width: 100%;
	text-align: left;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	padding: .45rem .75rem;
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: space-between;
	gap: .75rem;
	cursor: pointer;
	font: inherit;
}
.ftm-shop-edition b { font-size: .8125rem; color: var(--ink); font-weight: 700; }
.ftm-shop-edition span { font-size: .75rem; color: var(--muted); text-align: right; flex: none; }
.ftm-shop-edition__left {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
}
.ftm-shop-edition__left b { text-align: left; }
.ftm-shop-pill {
	display: inline-flex;
	align-items: center;
	font-size: .65rem;
	font-weight: 700;
	letter-spacing: .01em;
	padding: .12rem .5rem;
	border-radius: 999px;
	line-height: 1.3;
}
.ftm-shop-pill.is-ok { background: #ecfdf3; color: #15803d; }
.ftm-shop-pill.is-warn { background: #fff7ed; color: #c2410c; }
.ftm-shop-pill.is-err { background: #fef2f2; color: #b42318; }
.ftm-shop-pill.is-off { background: #f1f5f9; color: #64748b; }
.ftm-shop-edition:hover { border-color: var(--ink-soft); background: #f8fafc; }
.ftm-shop-edition.is-active {
	border-color: var(--accent, #c9a227);
	box-shadow: 0 0 0 1px var(--accent, #c9a227);
	background: color-mix(in srgb, var(--accent, #c9a227) 8%, #fff);
}
.ftm-shop-edition.is-late span { color: #b45309; }
.ftm-shop-edition.is-expired { border-color: color-mix(in srgb, #b42318 28%, var(--line)); }
.ftm-shop-media {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
}
.ftm-shop-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 14px;
	font-size: .875rem;
	cursor: pointer;
}
.ftm-shop-check--inline {
	margin-top: 0;
	margin-left: 4px;
	align-items: center;
	padding: .35rem .7rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	font-size: .8125rem;
	font-weight: 600;
}
.ftm-shop-row {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	margin-top: 12px;
}
.ftm-shop-row:first-child { margin-top: 0; }
.ftm-shop-row label { font-size: .8125rem; font-weight: 600; color: var(--ink-soft); }
.ftm-shop-qty {
	display: inline-flex;
	align-items: stretch;
	justify-self: start;
	width: fit-content;
	max-width: 100%;
	height: 40px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}
.ftm-shop-qty button {
	flex: 0 0 40px;
	width: 40px;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #f8fafc;
	color: var(--ink-soft);
	cursor: pointer;
	font: inherit;
	font-size: 1.125rem;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease, color .15s ease;
}
.ftm-shop-qty button:hover {
	background: color-mix(in srgb, var(--lic) 18%, #fff);
	color: var(--ink);
}
.ftm-shop-qty button:first-child { border-right: 1px solid var(--line); }
.ftm-shop-qty button:last-child { border-left: 1px solid var(--line); }
.ftm-shop-row input:not([data-qty]), .ftm-shop-row textarea,
.ftm-shop-field input, .ftm-shop-field textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: .55rem .75rem;
	font: inherit;
	font-size: .9375rem;
	background: #fff;
	color: var(--ink);
}
.ftm-shop-qty input {
	box-sizing: border-box;
	flex: 0 0 3.5rem;
	width: 3.5rem;
	min-width: 3.5rem;
	height: 100%;
	margin: 0;
	padding: 0 .35rem;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: var(--ink);
	font: inherit;
	font-size: .9375rem;
	font-weight: 650;
	line-height: 1;
	text-align: center;
	appearance: textfield;
	-moz-appearance: textfield;
}
.ftm-shop-qty input::-webkit-outer-spin-button,
.ftm-shop-qty input::-webkit-inner-spin-button {
	appearance: none;
	margin: 0;
}
.ftm-shop-qty:focus-within {
	border-color: color-mix(in srgb, var(--lic) 65%, #8a6d12);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--lic) 26%, transparent);
}
.ftm-shop-qty input:focus {
	outline: none;
	box-shadow: none;
}
.ftm-shop-row input:not([data-qty]):focus, .ftm-shop-row textarea:focus,
.ftm-shop-field input:focus, .ftm-shop-field textarea:focus,
.ftm-gus-row input:focus {
	outline: none;
	border-color: color-mix(in srgb, var(--lic) 65%, #8a6d12);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--lic) 26%, transparent);
}
.ftm-shop-field input.is-err, .ftm-shop-row input.is-err {
	border-color: #e11d48;
	background: #fff1f2;
}
.ftm-shop-field input.is-err:focus, .ftm-shop-row input.is-err:focus {
	border-color: #e11d48;
	box-shadow: 0 0 0 3px rgba(225, 29, 72, .16);
}
.ftm-shop-form { display: grid; gap: 12px; }
.ftm-gus-box {
	display: grid;
	gap: 8px;
	padding: 12px 14px;
	border: 1px dashed color-mix(in srgb, var(--lic) 48%, var(--line));
	border-radius: 12px;
	background: color-mix(in srgb, var(--lic) 11%, #fff);
	transition: background .2s ease, border-color .2s ease;
}
.ftm-gus-box.is-wait {
	border-color: color-mix(in srgb, var(--lic) 60%, var(--line));
	background: #fffbeb;
}
.ftm-gus-box.is-ok {
	border-style: solid;
	border-color: #86efac;
	background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
}
.ftm-gus-box.is-err {
	border-style: solid;
	border-color: #fecaca;
	background: #fff7f7;
}
.ftm-gus-box > label {
	margin: 0;
	font-size: .8125rem;
	font-weight: 600;
	color: var(--ink-soft);
}
.ftm-gus-row {
	display: flex;
	gap: 8px;
	align-items: stretch;
}
.ftm-gus-row input {
	flex: 1;
	min-width: 0;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: .55rem .75rem;
	font: inherit;
	font-size: .9375rem;
	background: #fff;
	color: var(--ink);
}
.ftm-gus-row .ftm-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	flex: 0 0 auto;
}
.ftm-gus-msg {
	margin: 0;
	font-size: .8125rem;
}
.ftm-gus-msg.is-ok { color: #15803d; }
.ftm-gus-msg.is-err { color: #b42318; }
.ftm-gus-box.is-wait .ftm-gus-msg { color: #92650f; }
.ftm-shop-field label {
	display: block;
	margin-bottom: 5px;
	font-size: .8125rem;
	font-weight: 600;
	color: var(--ink-soft);
}
.ftm-shop-field abbr { color: #b42318; text-decoration: none; }
.ftm-shop-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ftm-shop-nav {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 8px 0 12px;
}
.ftm-shop-aside.is-paid {
	display: none !important;
}
.ftm-shop-quote {
	position: sticky;
	top: calc(var(--head-h) + 16px);
	border: 1px solid var(--lic-line);
	border-radius: var(--radius);
	background: #fff;
	padding: 0 0 18px;
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}
.ftm-shop-quote__h {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 4px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--lic-line);
	background:
		radial-gradient(130% 90% at 0% -10%, color-mix(in srgb, var(--lic) 22%, transparent), transparent 58%),
		linear-gradient(165deg, var(--lic-soft), #fff 70%);
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: -.02em;
	text-transform: none;
	color: var(--ink);
}
.ftm-shop-quote__icon {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, #e8c547, #c9a227 55%, #8a6d12);
	box-shadow: 0 6px 16px -8px rgba(138, 109, 18, .55);
}
.ftm-shop-quote__icon img {
	width: 24px;
	height: 24px;
	object-fit: contain;
}
.ftm-shop-quote [data-quote-body] {
	padding: 8px 18px 0;
}
.ftm-shop-qline {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: .875rem;
	padding: .4rem 0;
	border-bottom: 1px dashed var(--line);
}
.ftm-shop-qline:last-of-type { border-bottom: 0; }
.ftm-shop-qline.is-late,
.ftm-shop-qline.is-late b {
	color: #b45309;
}
.ftm-shop-qline.is-ok,
.ftm-shop-qline.is-ok b {
	color: #15803d;
}
.ftm-shop-qline b {
	text-align: right;
}
.ftm-shop-qline b small {
	display: block;
	margin-top: 3px;
	font-size: .75rem;
	font-weight: 600;
	line-height: 1.25;
	max-width: 14rem;
}
.ftm-shop-qtotal {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-top: 10px;
	padding-top: 12px;
	border-top: 1px solid var(--line);
	font-weight: 700;
}
.ftm-shop-qtotal b { font-size: 1.35rem; color: var(--ink); }
.ftm-lic-code {
	font-family: var(--font-mono);
	font-size: .8125rem;
	letter-spacing: .04em;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: .08rem .4rem;
	color: var(--ink);
}
.ftm-lic-triplet {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
}
.ftm-lic-triplet-box {
	width: 5.2rem;
	text-align: center;
	font-family: var(--font-mono);
	font-size: 1.05rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: .55rem .4rem;
	background: #fff;
}
.ftm-lic-triplet-box:focus {
	outline: 2px solid color-mix(in srgb, var(--lic) 55%, white);
	border-color: var(--lic);
}
.ftm-shop-bank {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--bg);
	border: 1px solid var(--line);
	font-size: .875rem;
	line-height: 1.5;
}
.ftm-shop-bank b { font-family: var(--font-mono); letter-spacing: .02em; }
.ftm-shop-paybtns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ftm-shop-ok { color: #15803d; font-weight: 700; }
.ftm-shop-warn { color: #a35b00; }

.ftm-shop-stage.is-busy { pointer-events: none; user-select: none; }
.ftm-shop-busy {
	position: absolute;
	inset: 0;
	z-index: 20;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
	padding: 18px;
	border-radius: inherit;
	background: color-mix(in srgb, #fff 78%, transparent);
	backdrop-filter: blur(2px);
}
.ftm-shop-busy[hidden] { display: none !important; }
.ftm-shop-busy__panel {
	flex: 1;
	display: flex;
	align-items: stretch;
}
.ftm-shop-busy__cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 18px;
	width: 100%;
	align-content: start;
	padding-top: 92px;
}
.ftm-skel-list { display: flex; flex-direction: column; gap: 8px; }
.ftm-skel-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 42px;
	padding: 0 .75rem;
	border-radius: 10px;
	background: #fff;
	border: 1px solid color-mix(in srgb, #c9a227 18%, var(--line));
}
.ftm-skel-row i,
.ftm-skel-quote i {
	display: block;
	height: 10px;
	border-radius: 6px;
	background: linear-gradient(90deg, #ece7da 25%, #f7f3e8 50%, #ece7da 75%);
	background-size: 200% 100%;
	animation: ftm-skel 1.2s ease-in-out infinite;
}
.ftm-skel-row i:first-child { width: 42%; }
.ftm-skel-row i:last-child { width: 22%; }
.ftm-skel-quote { display: flex; flex-direction: column; gap: 10px; padding: 8px 0; }
.ftm-skel-quote i { width: 100%; }
.ftm-skel-quote i.is-wide { height: 36px; margin-top: 8px; }
@keyframes ftm-skel {
	0% { background-position: 100% 0; }
	100% { background-position: -100% 0; }
}

/* ------------------------------------------------------------------ editions (wersje iBiznes) */

.ftm-crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 28px;
	font-size: .8125rem;
	color: var(--muted);
}
.ftm-crumb a { color: var(--muted); text-decoration: none; }
.ftm-crumb a:hover { color: var(--accent-dark); text-decoration: underline; }
.ftm-crumb span[aria-hidden] { opacity: .45; }

.ftm-hero--edition {
	padding-top: 56px;
	border-bottom: 1px solid var(--line-soft);
}
.ftm-hero--edition::after { opacity: .55; }
.ftm-hero--edition h1 em {
	color: var(--accent-dark);
	background-image: linear-gradient(var(--accent-tint-strong), var(--accent-tint-strong));
	background-repeat: no-repeat;
	background-size: 100% .16em;
	background-position: 0 94%;
	font-style: normal;
}

.ftm-edition-hero {
	align-items: end;
}
.ftm-edition-cover {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	min-height: 320px;
}
.ftm-edition-cover::before {
	content: "";
	position: absolute;
	inset: 12% 8% 0;
	border-radius: 50% 50% 24px 24px;
	background: radial-gradient(ellipse at 50% 30%, var(--accent-tint-strong), transparent 70%);
	pointer-events: none;
}
.ftm-edition-cover img {
	position: relative;
	z-index: 1;
	width: min(100%, 340px);
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 28px 40px rgba(15, 23, 42, .18));
}

.ftm-edition-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 28px;
}
.ftm-edition-list li {
	position: relative;
	padding: 10px 12px 10px 34px;
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-sm);
	font-size: .9375rem;
	color: var(--ink-soft);
	line-height: 1.45;
}
.ftm-edition-list li::before {
	content: "";
	position: absolute;
	left: 12px;
	top: 1.05em;
	width: 12px;
	height: 6px;
	border-left: 2px solid var(--accent);
	border-bottom: 2px solid var(--accent);
	transform: rotate(-45deg);
	border-radius: 1px;
}

.ftm-edition-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.ftm-edition-tag {
	display: inline-flex;
	align-items: center;
	padding: 9px 14px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: .875rem;
	font-weight: 500;
	color: var(--ink-soft);
	box-shadow: var(--shadow-xs);
}

.ftm-edition-note {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--line-soft);
	font-size: .875rem;
	color: var(--muted);
	line-height: 1.55;
}

/* Wyróżnienia z dawnych stron (było color:blue) — w tonie akcentu wersji */
.ftm-hl {
	display: inline;
	padding: 0 .12em;
	margin: 0;
	color: var(--accent-dark);
	background: linear-gradient(180deg, transparent 58%, var(--accent-tint-strong) 58%);
	font-weight: 650;
	font-style: normal;
	border-radius: 2px;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

.ftm-cardlink--edition {
	display: flex;
	height: 100%;
	min-width: 0;
	border-radius: var(--radius-lg);
	transition: transform .18s ease;
}
.ftm-edition-card {
	position: relative;
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr) auto;
	gap: 16px 16px;
	align-items: start;
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
	min-height: 100%;
	box-sizing: border-box;
	padding: 18px 18px 16px;
	overflow: hidden;
	background: linear-gradient(165deg, #fff 0%, color-mix(in srgb, var(--accent) 6%, #fff) 100%);
	border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--line));
	box-shadow: 0 10px 24px -18px color-mix(in srgb, var(--accent-dark) 32%, transparent), var(--shadow-sm);
}
.ftm-edition-card::after {
	content: "";
	position: absolute;
	inset: auto -24% -45% auto;
	width: 110px;
	height: 110px;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 72%);
	pointer-events: none;
	z-index: 0;
}
.ftm-edition-card > * {
	position: relative;
	z-index: 1;
}
.ftm-edition-card__cover {
	width: 88px;
	height: 110px;
	object-fit: contain;
	object-position: center bottom;
	border-radius: 8px;
	background:
		radial-gradient(80% 60% at 50% 100%, var(--accent-tint), transparent 70%),
		var(--bg-alt);
}
.ftm-edition-card__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
}
.ftm-edition-card h3 { font-size: 1.05rem; margin-top: 4px; }
.ftm-edition-card p {
	margin-top: 6px;
	font-size: .875rem;
	flex: 1 1 auto;
}

.ftm-edition-card__cta {
	grid-column: 1 / -1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	margin-top: 0;
	align-self: end;
	padding: 12px 18px;
	border-radius: 12px;
	border: 1px solid color-mix(in srgb, var(--accent-dark) 12%, transparent);
	background:
		linear-gradient(165deg,
			color-mix(in srgb, var(--accent) 55%, #fff) 0%,
			color-mix(in srgb, var(--accent) 72%, #e8eef5) 48%,
			color-mix(in srgb, var(--accent-dark) 68%, #c5d0dc) 100%);
	color: #fff;
	font-size: .9375rem;
	font-weight: 700;
	letter-spacing: -.01em;
	box-shadow:
		0 1px 0 color-mix(in srgb, #fff 28%, transparent) inset,
		0 8px 18px -12px color-mix(in srgb, var(--accent-dark) 40%, transparent);
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.ftm-edition-card__cta svg {
	width: 17px;
	height: 17px;
	flex: none;
	color: #fff;
	transition: transform .18s ease;
}
.ftm-cardlink--edition:hover,
.ftm-cardlink--edition:focus-visible {
	transform: translateY(-2px);
	text-decoration: none;
}
.ftm-cardlink--edition:hover .ftm-edition-card,
.ftm-cardlink--edition:focus-visible .ftm-edition-card,
.ftm-card--hover.ftm-edition-card:hover {
	border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
	box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--accent-dark) 45%, transparent), var(--shadow-md);
	transform: none;
}
.ftm-cardlink:hover .ftm-edition-card__cta {
	filter: brightness(1.03);
	box-shadow:
		0 1px 0 color-mix(in srgb, #fff 32%, transparent) inset,
		0 12px 22px -12px color-mix(in srgb, var(--accent-dark) 48%, transparent);
}
.ftm-cardlink:hover .ftm-edition-card__cta svg {
	transform: translateX(4px);
}
.ftm-cardlink:focus-visible .ftm-edition-card__cta {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

/* Home: .ftm-home .ftm-card spłaszcza ramkę — wersje jak kafelki mozaiki. */
.ftm-home .ftm-edition-card {
	background: linear-gradient(165deg, #fff 0%, color-mix(in srgb, var(--accent) 6%, #fff) 100%);
	border-color: color-mix(in srgb, var(--accent) 14%, var(--line));
	box-shadow: 0 10px 24px -18px color-mix(in srgb, var(--accent-dark) 32%, transparent), var(--shadow-sm);
}
.ftm-home .ftm-cardlink--edition:hover .ftm-edition-card,
.ftm-home .ftm-cardlink--edition:focus-visible .ftm-edition-card,
.ftm-home .ftm-card--hover.ftm-edition-card:hover {
	border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
	box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--accent-dark) 45%, transparent), var(--shadow-md);
}

/* ------------------------------------------------------------------ porównanie wersji
   Inspiracja: stare porownanie_wersji.html (niebieski nagłówek sekcji, zielone/czerwone tak/nie,
   zebra #EAEAEA) — odświeżone pod ekosystem /about, bez „wyblakłego” wyglądu. */

.ftm-shell--wide { max-width: 1280px; }

.ftm-hero--comparison {
	padding: 28px 0 22px;
	background:
		linear-gradient(180deg, #d9ebff 0%, #eaf3fc 42%, #f4f7fb 100%);
	border-bottom: 1px solid #b7d2ef;
}
.ftm-hero--comparison h1 {
	margin-top: 12px;
	font-size: clamp(1.65rem, 3vw, 2.2rem);
	color: #00468c;
}
.ftm-hero--comparison .ftm-hero__lead {
	max-width: 42rem;
	margin-top: 10px;
	color: #1e3a5f;
}

.ftm-cmp-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}
.ftm-cmp-legend__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border: 1px solid #c5d6e8;
	border-radius: 10px;
	background: #fff;
	font-size: .8125rem;
	color: #334155;
	box-shadow: var(--shadow-xs);
}
.ftm-cmp-legend__label { font-weight: 500; }
.ftm-cmp-mark {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	min-width: 2.75rem;
	font-size: .875rem;
	font-weight: 700;
	line-height: 1.1;
	text-transform: lowercase;
}
.ftm-cmp-mark--yes { color: #008000; }
.ftm-cmp-mark--no { color: #cc0000; }
.ftm-cmp-mark--yearly { color: #008000; }
.ftm-cmp-note {
	display: block;
	max-width: 6.5rem;
	font-size: .5625rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
	color: #9a6700;
	white-space: normal;
	text-align: center;
}

.ftm-cmp { padding-top: 12px; padding-bottom: 40px; }
.ftm-cmp-scroll {
	--cmp-head-h: 118px;
	--cmp-radius: 12px;
	/* overflow:auto tu blokuje sticky względem strony */
	overflow: visible;
	border: 1px solid #9eb6d0;
	border-radius: var(--cmp-radius);
	background: #fff;
	box-shadow: 0 10px 28px -18px rgba(0, 70, 140, .35);
}
.ftm-cmp-table {
	width: max(100%, 980px);
	border-collapse: separate;
	border-spacing: 0;
	font-size: .8125rem;
	color: #1a252f;
}
.ftm-cmp-table thead th {
	position: sticky;
	top: var(--head-h);
	z-index: 5;
	background: #edf5ff;
	border-bottom: 2px solid #7eacd8;
	vertical-align: bottom;
	padding: 12px 8px 10px;
	text-align: center;
}
.ftm-cmp-table thead th:first-child {
	border-top-left-radius: calc(var(--cmp-radius) - 1px);
}
.ftm-cmp-table thead th:last-child {
	border-top-right-radius: calc(var(--cmp-radius) - 1px);
}
.ftm-cmp-table tbody tr:last-child .ftm-cmp-table__feature {
	border-bottom-left-radius: calc(var(--cmp-radius) - 1px);
}
.ftm-cmp-table tbody tr:last-child td:last-child {
	border-bottom-right-radius: calc(var(--cmp-radius) - 1px);
}
.ftm-cmp-table__feature {
	position: sticky;
	left: 0;
	z-index: 2;
	width: 250px;
	min-width: 210px;
	max-width: 280px;
	padding: 6px 12px;
	text-align: left;
	font-weight: 600;
	color: #102a43;
	background: #fff;
	border-right: 1px solid #c7d6e6;
	box-shadow: 8px 0 14px -12px rgba(0, 50, 100, .35);
}
thead .ftm-cmp-table__feature {
	z-index: 6;
	background: #edf5ff;
	font-weight: 750;
	color: #00468c;
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.ftm-cmp-table__col {
	min-width: 112px;
	border-left: 1px solid #c7d6e6;
}
.ftm-cmp-edition {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	color: #00468c;
	text-decoration: none;
	font-weight: 750;
	font-size: .8125rem;
	line-height: 1.2;
}
.ftm-cmp-edition:hover { text-decoration: none; color: #002f60; }
.ftm-cmp-edition img {
	width: 52px;
	height: 64px;
	object-fit: contain;
	border-radius: 4px;
	border: 1px solid #c7d6e6;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 50, 100, .12);
}
.ftm-cmp-demo {
	display: inline-block;
	margin-top: 6px;
	padding: 4px 9px;
	border-radius: 4px;
	border: 1px solid #4a86c2;
	background: linear-gradient(180deg, #5ea0e0, #2f6fad);
	color: #fff;
	font-size: .6875rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset;
}
.ftm-cmp-demo:hover {
	background: linear-gradient(180deg, #6aacec, #245f96);
	color: #fff;
	text-decoration: none;
}

.ftm-cmp-table__section th {
	position: sticky;
	top: calc(var(--head-h) + var(--cmp-head-h));
	z-index: 4;
	padding: 8px 10px;
	font-size: .75rem;
	font-weight: 750;
	letter-spacing: -.01em;
	color: #003366;
	background: #9fcfff;
	border-top: 1px solid #dfefff;
	border-bottom: 1px solid #7eb6e8;
	border-right: 1px solid #dfefff;
	box-shadow: 0 2px 0 #7eb6e8;
}
.ftm-cmp-table__section-title {
	left: 0;
	z-index: 5;
	text-align: left;
	border-left: 4px solid #00468c !important;
	box-shadow:
		8px 0 14px -12px rgba(0, 50, 100, .3),
		0 2px 0 #7eb6e8;
}
.ftm-cmp-table__section-col {
	text-align: center;
	font-weight: 700;
	white-space: nowrap;
}

.ftm-cmp-table tbody tr.is-alt td,
.ftm-cmp-table tbody tr.is-alt .ftm-cmp-table__feature {
	background: #eaeaea;
}
.ftm-cmp-table tbody tr:not(.ftm-cmp-table__section):not(.is-alt) td,
.ftm-cmp-table tbody tr:not(.ftm-cmp-table__section):not(.is-alt) .ftm-cmp-table__feature {
	background: #fff;
}
.ftm-cmp-table tbody tr:not(.ftm-cmp-table__section):hover td,
.ftm-cmp-table tbody tr:not(.ftm-cmp-table__section):hover .ftm-cmp-table__feature {
	background: #fff8d6;
}
.ftm-cmp-table td {
	padding: 5px 6px;
	text-align: center;
	vertical-align: middle;
	border-bottom: 1px solid #ccc;
	border-left: 1px solid #ccc;
}
.ftm-cmp-table tbody .ftm-cmp-table__feature {
	border-bottom: 1px solid #ccc;
}
.ftm-cmp-cell--yes { background-image: linear-gradient(180deg, rgba(0, 128, 0, .04), transparent); }
.ftm-cmp-cell--no .ftm-cmp-mark { opacity: .95; }
.ftm-cmp-cell--yearly {
	background-image: linear-gradient(180deg, rgba(154, 103, 0, .08), transparent);
}

.ftm-cmp-foot {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 22px;
}

.ftm-cmp-cta {
	display: flex;
	justify-content: center;
	margin-top: 28px;
}

.ftm-drop__item--cmp {
	margin-top: 6px;
	padding-top: 12px;
	border-top: 1px solid var(--line-soft);
}
.ftm-drop__glyph {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 7px;
	background: var(--bg-alt);
	color: var(--ink-soft);
	flex: none;
}
.ftm-drop__glyph svg { width: 15px; height: 15px; }

body.ftm--comparison {
	background: #e8eef5;
}

/* ------------------------------------------------------------------ RWD */

@media (max-width: 1040px) {
	.ftm-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
	.ftm-grid--4, .ftm-integr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ftm-grid--3, .ftm-tiles, .ftm-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ftm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
	.ftm-step:nth-child(2n)::after { display: none; }
	.ftm-cta__inner { flex-direction: column; align-items: flex-start; }
	.ftm-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
	.ftm-hubband__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.ftm-hubcall__card { grid-template-columns: auto 1fr; }
	.ftm-hubcall__cta { grid-column: 1 / -1; justify-content: center; }
	.ftm-wcapp__chrome { grid-template-columns: minmax(0, 1fr); }
	.ftm-shop-layout { grid-template-columns: minmax(0, 1fr); }
	.ftm-shop-quote { position: static; }
	.ftm-shop-stage { padding: 16px 14px 8px; }
	.ftm-shop-busy__cols { grid-template-columns: minmax(0, 1fr); padding-top: 72px; }
	.ftm-wcapp__nav { display: none; }
	.ftm-wcapp__grid { grid-template-columns: 1fr 1fr; }
	.ftm-wcapp__stats { grid-template-columns: 1fr 1fr; }
	.ftm-wcapp__search { display: none; }
	.ftm-edition-list { grid-template-columns: minmax(0, 1fr); }
	.ftm-footer__grid--editions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
	.ftm-nav { display: none; }
	.ftm-burger { display: inline-flex; }
	.ftm-header__bar { gap: 12px; }
	.ftm-section { padding: 64px 0; }
	.ftm-hero { padding: 52px 0 60px; }
	.ftm-head { margin-bottom: 34px; }
	.ftm-cta { padding: 38px 26px; }
	.ftm-home-mosaic { grid-template-columns: minmax(0, 1fr); }
	.ftm-hubband { padding: 52px 0 56px; }
	.ftm-hubband h2 { max-width: none; }
	.ftm-wcapp__grid { grid-template-columns: minmax(0, 1fr); }
	.ftm-wcapp__lic > b { display: none; }
	.ftm-wcapp__who span:first-child { display: none; }
}

@media (max-width: 640px) {
	.ftm-shell { padding: 0 18px; }
	.ftm-grid--2, .ftm-grid--3, .ftm-grid--4,
	.ftm-tiles, .ftm-integr, .ftm-plan, .ftm-more { grid-template-columns: minmax(0, 1fr); }
	.ftm-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ftm-steps, .ftm-steps--3 { grid-template-columns: minmax(0, 1fr); }
	.ftm-step::after { display: none; }
	.ftm-mock__stats { grid-template-columns: minmax(0, 1fr); }
	.ftm-btns .ftm-btn { width: 100%; }
	.ftm-card { padding: 22px; }
	.ftm-shop-editions, .ftm-shop-grid2, .ftm-shop-row { grid-template-columns: minmax(0, 1fr); }
	.ftm-gus-row { flex-direction: column; }
	.ftm-product { padding: 0; }
	.ftm-tile { padding: 18px; }
	.ftm-cal__day { min-height: 38px; }
	/* makiety: na wąskich ekranach zostawiamy tylko kolumny kluczowe */
	.ftm-tbl .opt { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}

.ftm-shop-modal {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.ftm-shop-modal[hidden] { display: none !important; }
.ftm-shop-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(28, 22, 8, .45);
	backdrop-filter: blur(3px);
}
.ftm-shop-modal__panel {
	position: relative;
	z-index: 1;
	width: min(460px, 100%);
	padding: 22px 22px 18px;
	border-radius: 18px;
	background: linear-gradient(180deg, #fffdf8, #fff);
	border: 1px solid color-mix(in srgb, #c9a227 28%, var(--line, #e5e0d4));
	box-shadow: 0 24px 48px -20px rgba(28, 22, 8, .45);
}
.ftm-shop-modal__panel h3 {
	margin: 0 0 10px;
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--ink, #1c1608);
}
.ftm-shop-modal__body p {
	margin: 0 0 8px;
	font-size: .875rem;
	line-height: 1.45;
	color: var(--muted, #5c574c);
}
.ftm-shop-modal__body p:last-child { margin-bottom: 0; }
.ftm-shop-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	margin-top: 18px;
}

/* Publiczne przedłużenie usługi (deep-link /przedluz) */
.ftm-svc-renew-form {
	display: grid;
	gap: 16px;
}
.ftm-svc-renew-layout {
	display: grid;
	gap: 16px;
}
@media (min-width: 880px) {
	.ftm-svc-renew-layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
		align-items: start;
	}
}
.ftm-svc-renew-pay {
	display: grid;
	gap: 10px;
	justify-items: stretch;
}
@media (min-width: 880px) {
	.ftm-svc-renew-pay .ftm-btns {
		justify-content: flex-end;
	}
}
.ftm-svc-meta {
	margin: 0;
	display: grid;
	gap: 10px;
}
.ftm-svc-meta > div {
	display: grid;
	grid-template-columns: 7.5rem minmax(0, 1fr);
	gap: 8px 12px;
	font-size: .875rem;
}
.ftm-svc-meta dt {
	margin: 0;
	color: var(--muted);
	font-weight: 600;
}
.ftm-svc-meta dd {
	margin: 0;
	color: var(--ink);
	font-weight: 650;
	word-break: break-word;
}
.ftm-svc-renew-layout .ftm-shop-card {
	overflow: hidden;
}
.ftm-svc-renew-layout .ftm-shop-card__h {
	color: #0f172a;
	font-size: .8125rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	background: #f1f5f9;
	border-bottom: 1px solid #cbd5e1;
	border-left: 3px solid #64748b;
	box-shadow: inset 0 -1px 0 rgba(15, 23, 42, .04);
}
.ftm-svc-renew-layout .ftm-shop-card__h svg {
	color: #475569;
}
.ftm-svc-renew-layout .ftm-shop-card__b {
	background: #fff;
}
.ftm-svc-renew-layout .ftm-shop-card.is-expired {
	border-color: color-mix(in srgb, #b42318 34%, var(--line));
	background:
		linear-gradient(
			152deg,
			rgba(254, 226, 226, .95) 0%,
			rgba(254, 242, 242, .88) 38%,
			rgba(255, 255, 255, .98) 72%,
			#fff 100%
		);
	box-shadow:
		0 12px 30px -16px rgba(180, 35, 24, .34),
		inset 0 1px 0 rgba(255, 255, 255, .65);
}
.ftm-svc-renew-layout .ftm-shop-card.is-expired .ftm-shop-card__h {
	color: #9f1239;
	background: #fee2e2;
	border-bottom-color: color-mix(in srgb, #b42318 28%, #fecaca);
	border-left-color: #b42318;
}
.ftm-svc-renew-layout .ftm-shop-card.is-expired .ftm-shop-card__h svg {
	color: #b42318;
}
.ftm-svc-renew-layout .ftm-shop-card.is-expired .ftm-shop-card__b {
	background: transparent;
}
.ftm-svc-renew-layout .ftm-shop-card.is-expired .ftm-svc-meta dd {
	color: #7f1d1d;
}
.ftm-svc-plans {
	display: grid;
	gap: 10px;
}
.ftm-svc-plan {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.ftm-svc-plan input {
	margin-top: 3px;
	accent-color: #334155;
}
.ftm-svc-plan__body {
	display: grid;
	gap: 2px;
	min-width: 0;
}
.ftm-svc-plan__label {
	font-weight: 700;
	color: var(--ink);
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
.ftm-svc-plan__price {
	font-size: 1.05rem;
	font-weight: 750;
	color: #0f172a;
}
.ftm-svc-plan__meta {
	font-size: .8125rem;
	color: var(--muted);
}
.ftm-svc-plan__badge {
	font-size: .6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: .15rem .45rem;
	border-radius: 999px;
	background: #f1f5f9;
	color: #64748b;
}
.ftm-svc-plan.is-selected {
	border-color: #94a3b8;
	box-shadow: 0 0 0 1px #64748b, 0 10px 22px -14px rgba(15, 23, 42, .28);
	background: linear-gradient(160deg, #f8fafc 0%, #fff 100%);
}
.ftm-svc-plan.is-disabled {
	opacity: .55;
	cursor: not-allowed;
	background: #f8fafc;
}
.ftm-svc-renew .ftm-shop-head__icon {
	color: #c2410c;
	background: #fff7f4;
	border-color: color-mix(in srgb, #c2410c 28%, #e2e8f0);
}

@media print {
	.ftm-header, .ftm-mobile, .ftm-cta, .ftm-footer { display: none !important; }
	body.ftm { color: #000; }
}
