/*
 * Name: F-Tech Core: tokeny i komponenty
 * Slug: ft-core
 * Version: 1.2.1
 * Description: Kontrakt designu perfekt-dywan.com w jednym arkuszu: fonty z własnego serwera, tokeny o wartościach używanych dziś przez sekcje oraz wspólne komponenty ft-*.
 * Scope: front
 * Load: auto
 * Dependencies: astra-theme-css
 * Media: all
 *
 * 1.2.1: wariant .ft-hero__area--caps działa także wewnątrz .entry-content.
 * 1.2.0: plakietka hero obok opisu (siatka .ft-hero__intro), węższe przyciski hero na telefonie, iskra ukryta na desktopie, mniejsza bańka przy nagłówku.
 * 1.1.0: komponent .ft-hero wspólny dla hero PL i DE (ilustracja, plakietka odręczna, bańki, rząd cech), tokeny --ft-fs-feat, --ft-hero-mask, --pd-bubble-*.
 * 1.0.0: pierwsza wersja. Tokeny równe wartościom zapasowym z 39 adresów (zero zmian w istniejących sekcjach), fonty Plus Jakarta Sans, DM Sans i Caveat Brush z /wp-content/uploads/fonts/, komponenty przycisku, nagłówków, ikon, plakietki odręcznej, karty, pola, badge, linku i reveal.
 */

/* ==========================================================================
   1. FONTY. Pliki z biblioteki fontów WordPressa, bez Google.
   ========================================================================== */
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('/wp-content/uploads/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('/wp-content/uploads/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url('/wp-content/uploads/fonts/dm-sans-latin-ext-wght-normal.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url('/wp-content/uploads/fonts/dm-sans-latin-wght-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Caveat Brush';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/wp-content/uploads/fonts/caveat-brush-latin-ext-400-normal.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Caveat Brush';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/wp-content/uploads/fonts/caveat-brush-latin-400-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   2. TOKENY. Wartości równe zapasowym z sekcji (KONTRAKT.md v1).
   --ft-fs-sm celowo pominięty: sekcje PL i DE mają różne wartości zapasowe.
   ========================================================================== */
:root {
	--ft-core: 1;

	/* Kolor marki i tekstu */
	--pd-brand: #1877F2;
	--pd-brand-alt: #1565C0;
	--pd-brand-strong: #1160CE;
	--pd-brand-soft: #E7F0FE;
	--pd-brand-tint: rgba(24, 119, 242, 0.05);
	--pd-brand-tint-2: rgba(24, 119, 242, 0.08);
	--pd-grad-brand: linear-gradient(135deg, #1877F2 0%, #1565C0 100%);
	--pd-ink: #0F1A2E;
	--pd-heading: #1B2A4A;
	--pd-text: #334155;
	--pd-text-2: #475569;
	--pd-muted: #55637A;
	--pd-muted-2: #94A3B8;
	--pd-surface-soft: #F8FAFC;
	--pd-surface-soft-2: #F1F5F9;
	--pd-border-soft: #E2E8F0;
	--pd-border-strong: #CBD5E1;
	--pd-border-hover: #C5D7EE;
	--pd-navy: linear-gradient(140deg, #0B1426 0%, #14233F 55%, #1E3A5F 100%);
	--pd-navy-solid: #0F1B33;
	--pd-on-navy: #E8EEF8;
	--pd-on-navy-muted: #A9B6CB;
	--pd-star: #F5B300;
	--pd-whatsapp: #128C4B;
	--pd-glow: rgba(24, 119, 242, 0.16);
	--pd-glow-soft: rgba(24, 119, 242, 0.14);

	--ft-accent: var(--pd-brand);
	--ft-accent-hover: var(--pd-brand-strong);
	--ft-accent-soft: var(--pd-brand-soft);
	--ft-ink: var(--pd-ink);
	--ft-muted: var(--pd-muted);
	--ft-on-accent: #FFFFFF;
	--ft-surface: #FFFFFF;
	--ft-surface-alt: #F2F7FD;
	--ft-border: #DCE6F2;
	--ft-success: #16A34A;
	--ft-success-soft: #E8F7EE;
	--ft-error: #C62828;
	--ft-error-soft: #FDECEC;
	--ft-danger: var(--ft-error);

	/* Typografia */
	--ft-font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
	--ft-font-body: 'DM Sans', system-ui, sans-serif;
	--ft-font-hand: 'Caveat Brush', 'Comic Sans MS', cursive;
	--ft-fs-h1: clamp(2.125rem, 4.8vw, 3.5rem);
	--ft-fs-h2: clamp(1.75rem, 3.2vw, 2.5rem);
	--ft-fs-h3: clamp(1.1875rem, 1.6vw, 1.375rem);
	--ft-fs-body: clamp(1rem, 1.35vw, 1.1875rem);
	--ft-fs-base: 1rem;
	--ft-fs-xs: 0.8125rem;
	--ft-fs-2xs: 0.75rem;
	--ft-fs-btn: 0.9375rem;
	--ft-fs-hand: clamp(1.375rem, 4.2vw, 1.875rem);
	--ft-fs-feat: 0.875rem;
	--ft-lh-tight: 1.08;
	--ft-lh-h2: 1.15;
	--ft-lh-snug: 1.3;
	--ft-lh-body: 1.7;
	--ft-lh-btn: 1.2;
	--ft-track-tight: -0.03em;
	--ft-track-wide: 0.08em;

	/* Odstępy */
	--ft-space-1: 0.25rem;
	--ft-space-2: 0.5rem;
	--ft-space-3: 0.75rem;
	--ft-space-4: 1rem;
	--ft-space-5: 1.5rem;
	--ft-space-6: 2rem;
	--ft-space-7: 3rem;
	--ft-space-8: 4rem;
	--ft-space-9: 6rem;
	--ft-gutter: clamp(1.25rem, 4vw, 2.5rem);

	/* Promienie */
	--pd-radius-xs: 6px;
	--pd-radius-btn-sm: 10px;
	--pd-radius-btn: 12px;
	--pd-radius-btn-lg: 14px;
	--pd-radius-card: 16px;
	--ft-radius-sm: 10px;
	--ft-radius-md: 14px;
	--ft-radius-lg: 24px;
	--ft-radius-pill: 999px;

	/* Cienie */
	--ft-shadow-1: 0 1px 2px rgba(15, 26, 46, 0.05);
	--ft-shadow-2: 0 2px 8px rgba(15, 26, 46, 0.06), 0 12px 32px rgba(15, 26, 46, 0.07);
	--ft-shadow-3: 0 20px 52px rgba(15, 26, 46, 0.16);
	--pd-shadow-brand: 0 10px 26px rgba(24, 119, 242, 0.28);
	--pd-shadow-brand-hover: 0 14px 32px rgba(24, 119, 242, 0.36);
	--ft-focus: 0 0 0 3px rgba(24, 119, 242, 0.45);

	/* Ruch */
	--ft-dur-fast: 180ms;
	--ft-dur: 320ms;
	--ft-dur-slow: 700ms;
	--ft-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--ft-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ft-reveal-y: 24px;
	--ft-stagger: 80ms;
	--ft-float-dur: 6s;
	--ft-hand-rotate: -8deg;

	/* Layout */
	--ft-container: 1200px;
	--ft-container-wide: 1280px;
	--ft-measure: 38rem;
	--ft-tap: 48px;
	--ft-tap-sm: 44px;
	--ft-btn-h: 52px;
	--ft-icon-circle: 56px;
	--pd-sticky-cta-h: 5.5rem;
	--ft-hero-mask: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / 1) 20%, rgb(0 0 0 / 1) 86%, transparent 100%);
	--ft-hero-badge-w: clamp(5.75rem, 24vw, 9rem);
	--ft-fs-hand-hero: clamp(1.125rem, 4.6vw, 1.75rem);
	--pd-bubble-fill: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.95) 0 14%, rgba(24, 119, 242, 0.08) 46%, rgba(24, 119, 242, 0.26) 100%);
	--pd-bubble-line: rgba(24, 119, 242, 0.32);

	/* Warstwy */
	--ft-z-chat: 9996;
	--ft-z-sticky: 9997;
	--ft-z-panel: 9998;
	--ft-z-header: 9999;
}

/* ==========================================================================
   3. PODKŁADKA POD ASTRĘ. Tylko wewnątrz komponentów ft-*.
   ========================================================================== */
.entry-content .ft-section > * { margin-block: 0; }
.entry-content .ft-list { list-style: none; margin: 0; padding: 0; }
.ft-section [hidden], .ft-section[hidden] { display: none !important; }

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
.ft-section {
	position: relative;
	padding-block: var(--ft-space-8);
	background: var(--ft-surface);
	color: var(--ft-ink);
	font-family: var(--ft-font-body);
	font-size: var(--ft-fs-body);
	line-height: var(--ft-lh-body);
}
.ft-section--alt { background: var(--ft-surface-alt); }
.ft-container { width: 100%; max-width: var(--ft-container); margin-inline: auto; padding-inline: var(--ft-gutter); box-sizing: border-box; }
.ft-container--wide { max-width: var(--ft-container-wide); }
.ft-stack { display: flex; flex-direction: column; gap: var(--ft-space-4); }
.ft-row { display: flex; flex-wrap: wrap; gap: var(--ft-space-3); align-items: center; }

/* ==========================================================================
   5. TYPOGRAFIA
   ========================================================================== */
.ft-eyebrow {
	display: block;
	margin: 0;
	font-family: var(--ft-font-body);
	font-size: var(--ft-fs-xs);
	font-weight: 700;
	line-height: var(--ft-lh-snug);
	letter-spacing: var(--ft-track-wide);
	text-transform: uppercase;
	color: var(--ft-accent);
	text-wrap: balance;
}
.entry-content .ft-title, .ft-title {
	margin: 0;
	font-family: var(--ft-font-display);
	font-size: var(--ft-fs-h2);
	font-weight: 800;
	line-height: var(--ft-lh-h2);
	letter-spacing: var(--ft-track-tight);
	color: var(--ft-ink);
	text-wrap: balance;
}
.entry-content .ft-title--hero, .ft-title--hero { font-size: var(--ft-fs-h1); line-height: var(--ft-lh-tight); }
.ft-accent { color: var(--ft-accent); }
.entry-content .ft-lead, .ft-lead {
	margin: 0;
	max-width: var(--ft-measure);
	font-family: var(--ft-font-body);
	font-size: var(--ft-fs-body);
	line-height: var(--ft-lh-body);
	color: var(--ft-muted);
	text-wrap: pretty;
}

/* ==========================================================================
   6. PRZYCISK
   ========================================================================== */
.entry-content a.ft-btn, .ft-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--ft-space-2);
	min-height: var(--ft-btn-h);
	padding: var(--ft-space-3) var(--ft-space-6);
	box-sizing: border-box;
	border: 1px solid transparent;
	border-radius: var(--ft-radius-md);
	font-family: var(--ft-font-body);
	font-size: var(--ft-fs-btn);
	font-weight: 700;
	line-height: var(--ft-lh-btn);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--ft-dur) var(--ft-ease), border-color var(--ft-dur) var(--ft-ease), color var(--ft-dur) var(--ft-ease), box-shadow var(--ft-dur) var(--ft-ease), transform var(--ft-dur) var(--ft-ease);
}
.ft-btn svg { flex: none; width: 1.125em; height: 1.125em; transition: transform var(--ft-dur) var(--ft-ease); }
.ft-btn:hover { transform: translateY(-1px); }
.ft-btn:active { transform: translateY(0); }
.ft-btn:focus-visible { outline: none; box-shadow: var(--ft-focus); }
.ft-btn[disabled], .ft-btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.ft-btn--arrow:hover svg { transform: translateX(3px); }

.entry-content a.ft-btn--primary, .ft-btn--primary {
	background-color: var(--ft-accent);
	background-image: var(--pd-grad-brand);
	color: var(--ft-on-accent);
	box-shadow: var(--pd-shadow-brand);
}
.entry-content a.ft-btn--primary:hover, .ft-btn--primary:hover { color: var(--ft-on-accent); box-shadow: var(--pd-shadow-brand-hover); }
.entry-content a.ft-btn--primary:focus-visible, .ft-btn--primary:focus-visible { box-shadow: var(--pd-shadow-brand), var(--ft-focus); }

.entry-content a.ft-btn--secondary, .ft-btn--secondary {
	background: var(--ft-surface);
	border-color: var(--ft-border);
	color: var(--ft-ink);
	box-shadow: var(--ft-shadow-1);
}
.entry-content a.ft-btn--secondary:hover, .ft-btn--secondary:hover { border-color: var(--ft-accent); color: var(--ft-ink); box-shadow: var(--ft-shadow-2); }

.entry-content a.ft-btn--whatsapp, .ft-btn--whatsapp { background: var(--pd-whatsapp); color: var(--ft-on-accent); }
.entry-content a.ft-btn--whatsapp:hover, .ft-btn--whatsapp:hover { color: var(--ft-on-accent); box-shadow: var(--ft-shadow-2); }

.ft-btn--sm { min-height: var(--ft-tap-sm); padding: var(--ft-space-2) var(--ft-space-4); border-radius: var(--ft-radius-sm); }
.ft-btn--block { display: flex; width: 100%; }

/* ==========================================================================
   7. IKONA W KÓŁKU I PLAKIETKA ODRĘCZNA
   ========================================================================== */
.ft-icon-circle {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: var(--ft-icon-circle);
	height: var(--ft-icon-circle);
	border-radius: var(--ft-radius-pill);
	background: var(--ft-accent-soft);
	color: var(--ft-accent);
	box-shadow: inset 0 0 0 1px var(--pd-brand-tint-2);
}
.ft-icon-circle svg { width: 50%; height: 50%; }

.ft-hand-badge {
	position: relative;
	display: inline-block;
	margin: 0;
	padding-bottom: var(--ft-space-3);
	font-family: var(--ft-font-hand);
	font-size: var(--ft-fs-hand);
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	text-align: center;
	color: var(--ft-accent);
	transform: rotate(var(--ft-hand-rotate));
	text-wrap: balance;
}
.ft-hand-badge__arc {
	position: absolute;
	inset: auto 0 0;
	width: 100%;
	height: var(--ft-space-4);
	color: var(--ft-accent);
	pointer-events: none;
}

/* ==========================================================================
   8. KARTA, POLE, BADGE, LINK
   ========================================================================== */
.ft-card {
	display: flex;
	flex-direction: column;
	gap: var(--ft-space-3);
	padding: var(--ft-space-5);
	background: var(--ft-surface);
	border: 1px solid var(--ft-border);
	border-radius: var(--pd-radius-card);
	box-shadow: var(--ft-shadow-1);
	transition: box-shadow var(--ft-dur) var(--ft-ease), transform var(--ft-dur) var(--ft-ease), border-color var(--ft-dur) var(--ft-ease);
}
.ft-card--hover:hover { border-color: var(--pd-border-hover); box-shadow: var(--ft-shadow-2); transform: translateY(-4px); }

.ft-field { display: flex; flex-direction: column; gap: var(--ft-space-2); }
.ft-label { font-size: var(--ft-fs-xs); font-weight: 600; color: var(--ft-ink); }
.ft-input, .ft-textarea, .ft-select {
	width: 100%;
	min-height: var(--ft-tap);
	padding: var(--ft-space-3) var(--ft-space-4);
	box-sizing: border-box;
	border: 1px solid var(--ft-border);
	border-radius: var(--ft-radius-sm);
	background: var(--ft-surface);
	color: var(--ft-ink);
	font-family: var(--ft-font-body);
	font-size: var(--ft-fs-base);
	line-height: var(--ft-lh-snug);
	transition: border-color var(--ft-dur-fast) var(--ft-ease), box-shadow var(--ft-dur-fast) var(--ft-ease);
}
.ft-input:focus-visible, .ft-textarea:focus-visible, .ft-select:focus-visible { outline: none; border-color: var(--ft-accent); box-shadow: var(--ft-focus); }
.ft-input[aria-invalid="true"], .ft-textarea[aria-invalid="true"] { border-color: var(--ft-error); }
.ft-textarea { resize: vertical; }

.ft-badge {
	display: inline-flex;
	align-items: center;
	gap: var(--ft-space-1);
	padding: var(--ft-space-1) var(--ft-space-3);
	border-radius: var(--ft-radius-pill);
	background: var(--ft-accent-soft);
	color: var(--ft-ink);
	font-size: var(--ft-fs-2xs);
	font-weight: 600;
}

.entry-content a.ft-link, .ft-link {
	color: var(--ft-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: color var(--ft-dur-fast) var(--ft-ease), text-decoration-thickness var(--ft-dur-fast) var(--ft-ease);
}
.entry-content a.ft-link:hover, .ft-link:hover { color: var(--ft-accent-hover); text-decoration-thickness: 2px; }
.ft-link:focus-visible { outline: none; box-shadow: var(--ft-focus); border-radius: var(--pd-radius-xs); }

/* ==========================================================================
   9. RUCH. Ukrycie tylko wtedy, gdy skrypt ft-core-reveal ustawił klasę na <html>.
   ========================================================================== */
.ft-js .ft-reveal { opacity: 0; transform: translateY(var(--ft-reveal-y)); transition: opacity var(--ft-dur-slow) var(--ft-ease-out), transform var(--ft-dur-slow) var(--ft-ease-out); }
.ft-js .ft-reveal.is-visible { opacity: 1; transform: none; }
.ft-reveal[data-delay="1"] { transition-delay: var(--ft-stagger); }
.ft-reveal[data-delay="2"] { transition-delay: calc(var(--ft-stagger) * 2); }
.ft-reveal[data-delay="3"] { transition-delay: calc(var(--ft-stagger) * 3); }
.ft-reveal[data-delay="4"] { transition-delay: calc(var(--ft-stagger) * 4); }

/* ==========================================================================
   9b. HERO (strona główna PL i DE). Sekcja dostarcza treść, układ jest tutaj.
   Telefon: tekst, ilustracja na całą szerokość, przyciski, trzy cechy.
   Od 900px: tekst i przyciski po lewej, ilustracja po prawej, cechy w rzędzie.
   ========================================================================== */
.ft-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(120% 80% at 94% 0%, var(--pd-glow) 0%, transparent 58%),
		linear-gradient(180deg, var(--ft-surface) 0%, var(--ft-surface-alt) 100%);
	color: var(--ft-ink);
	font-family: var(--ft-font-body);
}
.ft-hero *, .ft-hero *::before, .ft-hero *::after { box-sizing: border-box; }
.ft-hero [hidden] { display: none !important; }
.ft-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-areas: "copy" "stage" "actions" "features";
	padding-block: var(--ft-space-6) var(--ft-space-7);
}
.ft-hero__copy {
	grid-area: copy;
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: var(--ft-space-4);
	min-width: 0;
}
.entry-content .ft-hero__area, .ft-hero__area {
	margin: 0;
	font-size: var(--ft-fs-xs);
	font-weight: 700;
	line-height: var(--ft-lh-snug);
	letter-spacing: 0;
	text-transform: none;
	color: var(--ft-accent);
}
.entry-content .ft-hero__area--caps, .ft-hero__area--caps { letter-spacing: var(--ft-track-wide); text-transform: uppercase; }
.ft-hero .ft-title--hero { max-width: 16ch; }
.entry-content .ft-hero__lead, .ft-hero__lead { font-size: var(--ft-fs-base); color: var(--pd-text-2); }

.ft-hero__stage {
	grid-area: stage;
	position: relative;
	z-index: 1;
	margin-top: calc(-1 * var(--ft-space-4));
	margin-inline: calc(-1 * var(--ft-gutter));
}
.ft-hero__img {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	aspect-ratio: 1055 / 931;
	-webkit-mask-image: var(--ft-hero-mask);
	mask-image: var(--ft-hero-mask);
}
.ft-hero__intro {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--ft-hero-badge-w);
	align-items: center;
	column-gap: var(--ft-space-3);
}
.ft-hero__badge {
	position: relative;
	z-index: 2;
	justify-self: end;
	width: 100%;
	font-size: var(--ft-fs-hand-hero);
	animation: ft-hero-pop var(--ft-dur-slow) var(--ft-ease-out) calc(var(--ft-stagger) * 4) both;
}
.ft-hero__spark {
	position: absolute;
	right: calc(var(--ft-hero-badge-w) - var(--ft-space-3));
	bottom: calc(-1 * var(--ft-space-4));
	z-index: 2;
	width: var(--ft-space-5);
	height: var(--ft-space-5);
	color: var(--pd-star);
	animation: ft-hero-twinkle var(--ft-float-dur) var(--ft-ease) infinite;
}

.ft-hero__bubbles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ft-hero__bubble {
	position: absolute;
	border: 1px solid var(--pd-bubble-line);
	border-radius: 50%;
	background: var(--pd-bubble-fill);
	animation: ft-hero-float var(--ft-float-dur) var(--ft-ease) infinite;
}
.ft-hero__bubble:nth-child(1) { top: 3%; right: 4%; width: var(--ft-space-6); height: var(--ft-space-6); }
.ft-hero__bubble:nth-child(2) { top: 14%; right: 18%; width: var(--ft-space-5); height: var(--ft-space-5); animation-delay: calc(var(--ft-stagger) * 10); }
.ft-hero__bubble:nth-child(3) { top: 22%; right: 3%; width: var(--ft-space-4); height: var(--ft-space-4); animation-delay: calc(var(--ft-stagger) * 20); }

.ft-hero__actions {
	grid-area: actions;
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: var(--ft-space-3);
	margin-top: calc(-1 * var(--ft-space-5));
}
.entry-content .ft-hero__actions a.ft-btn, .ft-hero__actions .ft-btn { padding-inline: var(--ft-space-4); }
.ft-hero__actions .ft-btn--primary { flex: 1 1 auto; }
.ft-hero__actions .ft-btn--secondary { flex: 1 1 auto; }

.entry-content .ft-hero__features, .ft-hero__features {
	grid-area: features;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--ft-space-3);
	margin: var(--ft-space-6) 0 0;
	padding: 0;
	list-style: none;
}
.entry-content .ft-hero__feature, .ft-hero__feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--ft-space-2);
	margin: 0;
	text-align: center;
	min-width: 0;
}
.ft-hero__feature-text { display: flex; flex-direction: column; gap: var(--ft-space-1); min-width: 0; }
.ft-hero__feature-title { font-size: var(--ft-fs-feat); font-weight: 700; line-height: var(--ft-lh-snug); color: var(--ft-ink); overflow-wrap: anywhere; hyphens: auto; }
.ft-hero__feature-sub { font-size: var(--ft-fs-xs); line-height: var(--ft-lh-snug); color: var(--ft-muted); }
.ft-hero__feature-sub:empty { display: none; }

@keyframes ft-hero-pop {
	from { opacity: 0; transform: rotate(var(--ft-hand-rotate)) scale(0.85); }
	to { opacity: 1; transform: rotate(var(--ft-hand-rotate)) scale(1); }
}
@keyframes ft-hero-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(calc(-1 * var(--ft-space-2))); }
}
@keyframes ft-hero-twinkle {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.6; transform: scale(0.82); }
}

@media (min-width: 640px) {
	.ft-hero__stage { margin-inline: 0; }
}

@media (min-width: 900px) {
	.ft-hero__inner {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		grid-template-areas: "copy stage" "actions stage" "features features";
		column-gap: var(--ft-space-7);
		padding-block: var(--ft-space-8) var(--ft-space-7);
	}
	.ft-hero__copy { align-self: end; gap: var(--ft-space-5); }
	.entry-content .ft-hero__lead, .ft-hero__lead { font-size: var(--ft-fs-body); }
	.ft-hero__intro { align-items: start; }
	.ft-hero__badge { margin-top: var(--ft-space-2); margin-right: calc(-1 * var(--ft-space-6)); }
	.ft-hero__spark { display: none; }
	.ft-hero__stage { margin: 0; align-self: center; }
	.ft-hero__actions { align-self: start; margin-top: var(--ft-space-6); }
	.entry-content .ft-hero__actions a.ft-btn, .ft-hero__actions .ft-btn { padding-inline: var(--ft-space-6); }
	.ft-hero__actions .ft-btn--primary, .ft-hero__actions .ft-btn--secondary { flex: 0 0 auto; }
	.entry-content .ft-hero__features, .ft-hero__features {
		gap: var(--ft-space-5);
		margin-top: var(--ft-space-7);
		padding-top: var(--ft-space-6);
		border-top: 1px solid var(--ft-border);
	}
	.entry-content .ft-hero__feature, .ft-hero__feature { flex-direction: row; align-items: center; gap: var(--ft-space-4); text-align: left; }
	.ft-hero__bubble:nth-child(1) { right: 44%; }
}

@media (prefers-reduced-motion: reduce) {
	.ft-hero__badge, .ft-hero__spark, .ft-hero__bubble { animation: none; }
}

/* ==========================================================================
   10. POMOCNICZE
   ========================================================================== */
.ft-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
	.ft-js .ft-reveal { opacity: 1; transform: none; transition: none; }
	.ft-btn, .ft-btn svg, .ft-card, .ft-link { transition: none; }
	.ft-btn:hover, .ft-card--hover:hover, .ft-btn--arrow:hover svg { transform: none; }
}
