/* ==========================================================================
   Konix IT — main stylesheet
   1 Tokens   2 Base   3 Layout   4 Buttons & badges   5 Header & navigation
   6 Heroes   7 Interface mockups   8 Cards & content blocks   9 Forms
   10 Footer  11 Motion   12 Reduced motion & small screens
   Logical properties (inline/block) keep the layout ready for RTL languages.
   ========================================================================== */

/* 1 Tokens ---------------------------------------------------------------- */
:root {
	--kx-navy-950: #07111f;
	--kx-navy-900: #0b1f3a;
	--kx-navy-800: #12305a;
	--kx-blue-700: #1d4ed8;
	--kx-blue-600: #2563eb;
	--kx-blue-500: #3b82f6;
	--kx-cyan-400: #22d3ee;
	--kx-cyan-300: #67e8f9;
	--kx-white: #ffffff;
	--kx-bg: #f5f7fb;
	--kx-ink: #0f172a;
	--kx-text: #475569;
	--kx-muted: #64748b;
	--kx-line: #e2e8f0;
	--kx-line-strong: #cbd5e1;
	--kx-on-dark: #dbe4f0;
	--kx-on-dark-muted: #94a3b8;
	--kx-line-dark: rgba(148, 163, 184, 0.18);
	--kx-error: #b91c1c;

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

	--kx-radius: 14px;
	--kx-radius-lg: 20px;
	--kx-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.07);
	--kx-shadow: 0 18px 40px -18px rgba(15, 23, 42, 0.25);
	--kx-shadow-lg: 0 30px 70px -24px rgba(7, 17, 31, 0.55);

	--kx-container: 1200px;
	--kx-gutter: clamp(16px, 4vw, 32px);
	--kx-section: clamp(72px, 9vw, 120px);
	--kx-header: 72px;
	--kx-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	--kx-h1: clamp(2.375rem, 1.5rem + 3.6vw, 4.25rem);
	--kx-h2: clamp(1.875rem, 1.35rem + 2vw, 2.75rem);
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--kx-header) + 24px);
}

body {
	margin: 0;
	font-family: var(--kx-font);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--kx-text);
	background: var(--kx-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
	font-feature-settings: "cv11", "ss01";
}

body.kx-lock { overflow: hidden; }

img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }

h1, h2, h3, h4 {
	margin: 0 0 0.55em;
	color: var(--kx-ink);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
h1 { font-size: var(--kx-h1); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: var(--kx-h2); letter-spacing: -0.03em; }
h3 { font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.015em; }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--kx-blue-600); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--kx-blue-700); }

:focus-visible { outline: 3px solid var(--kx-blue-600); outline-offset: 3px; border-radius: 6px; }
.kx-dark :focus-visible,
.kx-header :focus-visible,
.kx-footer :focus-visible,
.kx-cta :focus-visible { outline-color: var(--kx-cyan-400); }

::selection { background: rgba(34, 211, 238, 0.3); }

ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }

[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

.kx-skip {
	position: absolute;
	inset-inline-start: 16px;
	top: -120px;
	z-index: 100;
	padding: 12px 18px;
	border-radius: 10px;
	background: var(--kx-white);
	color: var(--kx-ink);
	font-weight: 600;
	text-decoration: none;
	box-shadow: var(--kx-shadow);
}
.kx-skip:focus { top: 16px; }

.kx-main:focus { outline: none; }

/* 3 Layout ---------------------------------------------------------------- */
.kx-container {
	width: 100%;
	max-width: calc(var(--kx-container) + 2 * var(--kx-gutter));
	margin-inline: auto;
	padding-inline: var(--kx-gutter);
}

.kx-section { position: relative; padding-block: var(--kx-section); }
.kx-section--muted { background: var(--kx-bg); }
.kx-section--tight { padding-block: clamp(56px, 7vw, 96px); }

.kx-dark { background: var(--kx-navy-950); color: var(--kx-on-dark); }
.kx-dark h1, .kx-dark h2, .kx-dark h3, .kx-dark h4 { color: var(--kx-white); }
.kx-dark a:not(.kx-btn) { color: var(--kx-cyan-300); }

.kx-grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.kx-grid > li { min-width: 0; }
@media (min-width: 640px) {
	.kx-grid--2, .kx-grid--3, .kx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.kx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.kx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.kx-split { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
.kx-split > * { min-width: 0; }
.kx-split--top { align-items: start; }
@media (min-width: 1024px) {
	.kx-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kx-split--wide-left { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); }
}

.kx-section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.kx-section-head--center { margin-inline: auto; text-align: center; }
.kx-section-head p:last-child { margin-bottom: 0; font-size: 1.0625rem; }

.kx-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--kx-blue-600);
}
.kx-eyebrow::before {
	content: "";
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}
.kx-dark .kx-eyebrow, .kx-cta .kx-eyebrow { color: var(--kx-cyan-400); }

.kx-lead { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; }
.kx-lead p:last-child { margin-bottom: 0; }
.kx-muted { color: var(--kx-muted); }
.kx-center { margin: 40px 0 0; text-align: center; }

/* 4 Buttons & badges ------------------------------------------------------ */
.kx-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.kx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: 12px;
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.25s var(--kx-ease), transform 0.25s var(--kx-ease);
}
.kx-btn .kx-icon { width: 18px; height: 18px; transition: translate 0.25s var(--kx-ease); }
.kx-btn:hover .kx-arrow { translate: 3px 0; }
.kx-btn:active { transform: translateY(1px); }

.kx-btn--primary {
	background: var(--kx-blue-600);
	color: var(--kx-white);
	box-shadow: 0 10px 24px -12px rgba(37, 99, 235, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.kx-btn--primary:hover { background: var(--kx-blue-700); color: var(--kx-white); box-shadow: 0 14px 30px -12px rgba(37, 99, 235, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.18); }

.kx-btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.24); color: var(--kx-white); }
.kx-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.45); color: var(--kx-white); }

.kx-btn--outline { background: var(--kx-white); border-color: var(--kx-line-strong); color: var(--kx-ink); }
.kx-btn--outline:hover { border-color: var(--kx-blue-600); color: var(--kx-blue-600); }

.kx-btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.875rem; border-radius: 10px; }

[dir="rtl"] .kx-arrow { scale: -1 1; }
[dir="rtl"] .kx-btn:hover .kx-arrow { translate: -3px 0; }

.kx-icon { width: 24px; height: 24px; flex: none; }

.kx-icon-box {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 13px;
	background: rgba(37, 99, 235, 0.07);
	border: 1px solid rgba(37, 99, 235, 0.14);
	color: var(--kx-blue-600);
}
.kx-icon-box--lg { width: 60px; height: 60px; border-radius: 16px; }
.kx-icon-box--lg .kx-icon { width: 28px; height: 28px; }
.kx-dark .kx-icon-box { background: rgba(34, 211, 238, 0.07); border-color: rgba(34, 211, 238, 0.22); color: var(--kx-cyan-400); }

.kx-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	width: max-content;
	padding: 3px 10px;
	border: 1px solid;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
}
.kx-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.kx-badge--available { color: #047857; background: #ecfdf5; border-color: #a7f3d0; }
.kx-badge--in-development { color: #92400e; background: #fffbeb; border-color: #fde68a; }
.kx-badge--on-request { color: #3730a3; background: #eef2ff; border-color: #c7d2fe; }
.kx-badge--service { color: #1e40af; background: #eff6ff; border-color: #bfdbfe; }

/* 5 Header & navigation --------------------------------------------------- */
.kx-header {
	position: fixed;
	top: 0;
	inset-inline: 0;
	z-index: 60;
	color: var(--kx-white);
	border-bottom: 1px solid transparent;
	transition: background-color 0.35s var(--kx-ease), border-color 0.35s var(--kx-ease);
}
.admin-bar .kx-header { top: var(--wp-admin--admin-bar--height, 32px); }
.kx-header.is-scrolled,
.kx-header.is-menu-open {
	background: rgba(7, 17, 31, 0.9);
	border-bottom-color: var(--kx-line-dark);
}
@supports (backdrop-filter: blur(1px)) {
	.kx-header.is-scrolled:not(.is-menu-open) {
		background: rgba(7, 17, 31, 0.78);
		-webkit-backdrop-filter: saturate(150%) blur(14px);
		backdrop-filter: saturate(150%) blur(14px);
	}
}
.kx-header.is-menu-open { background: var(--kx-navy-950); }

.kx-header__inner { display: flex; align-items: center; gap: 16px; height: var(--kx-header); }

.kx-logo {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	margin-inline-end: auto;
	color: var(--kx-white);
	text-decoration: none;
	border-radius: 10px;
}
.kx-logo:hover { color: var(--kx-white); }
.kx-logo__mark { width: 38px; height: 38px; flex: none; }
.kx-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.kx-logo__name { font-size: 1.1875rem; font-weight: 750; letter-spacing: -0.02em; }
.kx-logo__it { color: var(--kx-cyan-400); }
.kx-logo__tag { margin-top: 3px; font-size: 0.625rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--kx-on-dark-muted); }

.kx-nav__item { position: relative; display: flex; align-items: center; }
.kx-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 8px;
	color: rgba(219, 228, 240, 0.86);
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s;
}
.kx-nav__link:hover,
.kx-nav__link[aria-current="page"],
.kx-nav__item.is-current > .kx-nav__link,
.kx-nav__item.is-open > .kx-nav__link { color: var(--kx-white); }

.kx-nav__toggle {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 44px;
	margin-inline-start: -10px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: none;
	color: rgba(219, 228, 240, 0.8);
	cursor: pointer;
}
.kx-nav__toggle .kx-icon { width: 16px; height: 16px; transition: rotate 0.25s var(--kx-ease); }
.kx-nav__item.is-open > .kx-nav__toggle .kx-icon { rotate: 180deg; }

.kx-submenu__link { text-decoration: none; }
.kx-submenu__title { display: block; font-weight: 600; }
.kx-submenu__desc { display: block; font-size: 0.8125rem; line-height: 1.45; }

.kx-header__actions { display: flex; align-items: center; gap: 10px; }
.kx-header__secondary { display: none; }

.kx-menu-toggle {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--kx-white);
	cursor: pointer;
}
.kx-menu-toggle .kx-icon { grid-area: 1 / 1; transition: opacity 0.2s, rotate 0.25s var(--kx-ease); }
.kx-menu-toggle__close { opacity: 0; rotate: -90deg; }
.kx-header.is-menu-open .kx-menu-toggle__open { opacity: 0; rotate: 90deg; }
.kx-header.is-menu-open .kx-menu-toggle__close { opacity: 1; rotate: 0deg; }

@media (min-width: 1080px) {
	.kx-nav__list { display: flex; align-items: center; gap: 2px; }
	.kx-nav__link[aria-current="page"]::after,
	.kx-nav__item.is-current > .kx-nav__link::after {
		content: "";
		position: absolute;
		inset-inline: 12px;
		bottom: 6px;
		height: 2px;
		border-radius: 2px;
		background: var(--kx-cyan-400);
	}
	.kx-submenu {
		position: absolute;
		top: calc(100% + 10px);
		inset-inline-start: -14px;
		width: 340px;
		padding: 8px;
		border: 1px solid var(--kx-line);
		border-radius: 16px;
		background: var(--kx-white);
		box-shadow: 0 28px 60px -22px rgba(7, 17, 31, 0.55);
		opacity: 0;
		visibility: hidden;
		translate: 0 8px;
		transition: opacity 0.22s var(--kx-ease), translate 0.22s var(--kx-ease), visibility 0s linear 0.22s;
	}
	.kx-submenu::before { content: ""; position: absolute; inset-inline: 0; top: -14px; height: 14px; }
	.kx-nav__item--parent:hover > .kx-submenu,
	.kx-nav__item.is-open > .kx-submenu { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
	.kx-submenu__link { display: block; padding: 10px 12px; border-radius: 10px; color: var(--kx-ink); transition: background-color 0.15s; }
	.kx-submenu__link:hover, .kx-submenu__link[aria-current="page"] { background: var(--kx-bg); color: var(--kx-ink); }
	.kx-submenu__title { font-size: 0.9375rem; }
	.kx-submenu__desc { color: var(--kx-muted); }
	.kx-nav__actions, .kx-menu-toggle { display: none; }
}
@media (min-width: 1280px) {
	.kx-header__secondary { display: inline-flex; }
	.kx-nav { margin-inline-end: 8px; }
}

@media (max-width: 1079.98px) {
	.kx-nav {
		position: absolute;
		top: 100%;
		inset-inline: 0;
		height: calc(100vh - var(--kx-header) - var(--wp-admin--admin-bar--height, 0px));
		height: calc(100dvh - var(--kx-header) - var(--wp-admin--admin-bar--height, 0px));
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 12px var(--kx-gutter) 40px;
		background: var(--kx-navy-950);
		border-top: 1px solid var(--kx-line-dark);
		opacity: 0;
		visibility: hidden;
		translate: 0 -10px;
		transition: opacity 0.25s var(--kx-ease), translate 0.25s var(--kx-ease), visibility 0s linear 0.25s;
	}
	.kx-header.is-menu-open .kx-nav { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
	.kx-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--kx-line-dark); }
	.kx-nav__link { flex: 1; min-height: 56px; padding: 0 4px; font-size: 1.0625rem; color: var(--kx-white); }
	.kx-nav__link[aria-current="page"], .kx-nav__item.is-current > .kx-nav__link { color: var(--kx-cyan-300); }
	.kx-nav__toggle { width: 48px; height: 56px; margin: 0; }
	.kx-submenu { display: none; width: 100%; padding: 0 0 14px; }
	.kx-nav__item.is-open > .kx-submenu { display: block; }
	.kx-submenu__link { display: block; padding: 10px 4px 10px 16px; color: var(--kx-on-dark); border-radius: 8px; }
	.kx-submenu__link[aria-current="page"] { color: var(--kx-cyan-300); }
	.kx-submenu__desc { color: var(--kx-on-dark-muted); }
	.kx-nav__actions { display: grid; gap: 12px; margin-top: 28px; }
	.kx-header__primary { display: none; }
}
@media (min-width: 520px) and (max-width: 1079.98px) {
	.kx-header__primary { display: inline-flex; }
}

/* 6 Heroes ---------------------------------------------------------------- */
.kx-hero,
.kx-page-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.kx-hero { padding-block: calc(var(--kx-header) + clamp(48px, 7vw, 96px)) clamp(72px, 9vw, 120px); }
.kx-page-hero { padding-block: calc(var(--kx-header) + clamp(40px, 6vw, 80px)) clamp(56px, 7vw, 96px); }

.kx-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
	translate: 0 calc(var(--sy, 0) * 1px);
}
.kx-hero__bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 75% 70% at 65% 30%, #000 25%, transparent 75%);
	mask-image: radial-gradient(ellipse 75% 70% at 65% 30%, #000 25%, transparent 75%);
}
.kx-orb { position: absolute; border-radius: 50%; }
.kx-orb--a {
	top: -30%;
	inset-inline-end: -12%;
	width: min(70vw, 820px);
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(37, 99, 235, 0.42) 0%, rgba(37, 99, 235, 0) 62%);
	animation: kx-drift-a 24s ease-in-out infinite alternate;
}
.kx-orb--b {
	bottom: -40%;
	inset-inline-start: -14%;
	width: min(60vw, 640px);
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(34, 211, 238, 0.16) 0%, rgba(34, 211, 238, 0) 62%);
	animation: kx-drift-b 28s ease-in-out infinite alternate;
}

.kx-hero__grid { display: grid; gap: clamp(48px, 6vw, 72px); align-items: center; }
.kx-hero__grid > * { min-width: 0; }
@media (min-width: 1024px) {
	.kx-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); }
}

.kx-hero__copy { max-width: 40rem; }
.kx-hero h1 { margin-bottom: 24px; }
.kx-hero .kx-lead { max-width: 36rem; margin-bottom: 32px; color: var(--kx-on-dark); }

.kx-hl { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.kx-hl > span { display: inline-block; animation: kx-rise 1s var(--kx-ease) var(--d, 0s) both; }
.kx-grad {
	background: linear-gradient(92deg, #ffffff 0%, var(--kx-cyan-300) 55%, var(--kx-blue-500) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.kx-hero__products { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--kx-line-dark); }
.kx-hero__products p { margin: 0 0 12px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--kx-on-dark-muted); }
.kx-hero__products ul { display: flex; flex-wrap: wrap; gap: 8px; }
.kx-dark .kx-hero__products a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 0 14px;
	border: 1px solid var(--kx-line-dark);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--kx-on-dark);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.kx-hero__products a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.kx-dark .kx-hero__products a:hover { border-color: rgba(34, 211, 238, 0.5); background: rgba(34, 211, 238, 0.06); color: var(--kx-white); }

.kx-hero__visual { width: 100%; max-width: 640px; margin-inline: auto; container-type: inline-size; }

.kx-page-hero__copy { max-width: 44rem; }
.kx-page-hero h1 { font-size: clamp(2.125rem, 1.35rem + 3vw, 3.5rem); margin-bottom: 20px; }
.kx-page-hero .kx-lead { color: var(--kx-on-dark); max-width: 40rem; }
.kx-page-hero .kx-lead + .kx-btns { margin-top: 32px; }
.kx-page-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; }
.kx-page-hero__meta .kx-eyebrow { margin: 0; }
.kx-page-hero__visual { width: 100%; max-width: 540px; margin-inline: auto; container-type: inline-size; }
.kx-page-hero__visual .kx-panel { font-size: clamp(7.5px, 2.45cqi, 13px); }

.kx-crumbs { margin-bottom: 26px; }
.kx-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.875rem; color: var(--kx-on-dark-muted); }
.kx-crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: 0.5; }
.kx-dark .kx-crumbs a { color: var(--kx-on-dark-muted); text-decoration: none; }
.kx-dark .kx-crumbs a:hover { color: var(--kx-white); text-decoration: underline; }
.kx-crumbs [aria-current] { color: var(--kx-white); }

/* 7 Interface mockups ------------------------------------------------------ */
.kx-stage { position: relative; aspect-ratio: 1 / 0.9; font-size: clamp(6.5px, 1.95cqi, 12.5px); }
.kx-stage__links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.kx-stage__links path {
	fill: none;
	stroke: rgba(34, 211, 238, 0.45);
	stroke-width: 1.5;
	stroke-dasharray: 3 6;
	vector-effect: non-scaling-stroke;
	animation: kx-flow 1.6s linear infinite;
}
.kx-layer {
	position: absolute;
	transform: translate3d(calc(var(--mx, 0) * var(--depth, 1) * 14px), calc(var(--my, 0) * var(--depth, 1) * 10px), 0);
	transition: transform 0.9s var(--kx-ease);
}
.kx-layer--dash { left: 9%; top: 14%; width: 80%; z-index: 1; }
.kx-layer--hotel { right: 0; top: 0; width: 49%; z-index: 2; }
.kx-layer--pos { left: 0; bottom: 2%; width: 45%; z-index: 3; }
.kx-layer--dns { right: 1%; bottom: 8%; width: 44%; z-index: 3; }

.kx-float { animation: kx-float var(--fd, 10s) ease-in-out var(--fdel, 0s) infinite; }

.kx-panel {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: 1.15em;
	background: linear-gradient(180deg, #10284a 0%, #0b1f3a 100%);
	box-shadow: 0 2.6em 5em -1.6em rgba(2, 6, 23, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.07);
	color: var(--kx-on-dark);
	font-family: var(--kx-font);
	line-height: 1.35;
	text-align: left;
}
.kx-win {
	display: flex;
	align-items: center;
	gap: 0.8em;
	padding: 0.8em 1.1em;
	border-bottom: 1px solid rgba(148, 163, 184, 0.14);
	background: rgba(7, 17, 31, 0.35);
}
.kx-win__dots { display: flex; gap: 0.4em; }
.kx-win__dots i { width: 0.62em; height: 0.62em; border-radius: 50%; background: rgba(148, 163, 184, 0.35); }
.kx-win__dots i:first-child { background: var(--kx-cyan-400); }
.kx-win__title { overflow: hidden; font-size: 0.95em; font-weight: 600; color: var(--kx-white); white-space: nowrap; text-overflow: ellipsis; }
.kx-win__tag {
	margin-inline-start: auto;
	padding: 0.2em 0.65em;
	border-radius: 99px;
	background: rgba(34, 211, 238, 0.12);
	color: var(--kx-cyan-300);
	font-size: 0.8em;
	font-weight: 600;
	white-space: nowrap;
}
.kx-panel__body { padding: 1.1em; }

/* Dashboard */
.kx-dash__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7em; margin-bottom: 0.9em; }
.kx-kpi { padding: 0.7em 0.85em; border: 1px solid rgba(148, 163, 184, 0.12); border-radius: 0.7em; background: rgba(148, 163, 184, 0.08); }
.kx-kpi span { display: block; font-size: 0.82em; color: var(--kx-on-dark-muted); white-space: nowrap; }
.kx-kpi b { display: block; margin-top: 0.15em; font-size: 1.35em; font-weight: 650; letter-spacing: -0.01em; color: var(--kx-white); }
.kx-dash__chart { height: 7.2em; margin-bottom: 0.9em; padding-top: 0.6em; overflow: hidden; border: 1px solid rgba(148, 163, 184, 0.1); border-radius: 0.7em; background: rgba(7, 17, 31, 0.35); }
.kx-dash__chart svg { width: 100%; height: 100%; }
.kx-chart-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: kx-draw 2.4s var(--kx-ease) 0.6s forwards; }
.kx-dash__bars { display: flex; align-items: flex-end; gap: 0.45em; height: 4.4em; }
.kx-dash__bars i {
	flex: 1;
	height: calc(var(--h) * 100%);
	border-radius: 0.3em 0.3em 0.1em 0.1em;
	background: linear-gradient(180deg, var(--kx-blue-500), rgba(37, 99, 235, 0.3));
	transform-origin: bottom;
	animation: kx-bar 3.2s ease-in-out infinite alternate;
	animation-delay: calc(var(--i) * -0.37s);
}
.kx-dash__bars i:nth-child(4n) { background: linear-gradient(180deg, var(--kx-cyan-400), rgba(34, 211, 238, 0.28)); }

/* POS */
.kx-pos { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0.8em; }
.kx-pos__ticket { padding: 0.6em 0.8em; border: 1px solid rgba(148, 163, 184, 0.12); border-radius: 0.7em; background: rgba(7, 17, 31, 0.4); font-size: 0.92em; }
.kx-pos__row { display: flex; justify-content: space-between; gap: 0.5em; padding: 0.32em 0; border-bottom: 1px dashed rgba(148, 163, 184, 0.18); white-space: nowrap; }
.kx-pos__row span:first-child { overflow: hidden; text-overflow: ellipsis; }
.kx-pos__head { font-size: 0.86em; color: var(--kx-on-dark-muted); border-bottom-style: solid; }
.kx-pos__row--new { animation: kx-row-in 6s ease-in-out infinite; }
.kx-pos__total { display: flex; justify-content: space-between; padding-top: 0.5em; font-weight: 700; color: var(--kx-white); }
.kx-pos__keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.45em; align-content: start; }
.kx-pos__keys span {
	display: grid;
	place-items: center;
	min-height: 2.5em;
	border: 1px solid rgba(148, 163, 184, 0.14);
	border-radius: 0.55em;
	background: rgba(148, 163, 184, 0.1);
	font-size: 0.88em;
	font-weight: 500;
}
.kx-pos__keys .is-hot { animation: kx-press 6s ease-in-out infinite; }
.kx-pos__keys .kx-pos__pay { grid-column: span 2; border-color: transparent; background: var(--kx-blue-600); color: var(--kx-white); font-weight: 700; }

/* Hotel planning */
.kx-plan { font-size: 0.9em; }
.kx-plan__head, .kx-plan__row { display: grid; grid-template-columns: 2.6em repeat(6, minmax(0, 1fr)); gap: 0.3em; align-items: center; }
.kx-plan__head { margin-bottom: 0.35em; font-size: 0.85em; color: var(--kx-on-dark-muted); }
.kx-plan__row { min-height: 2.3em; border-top: 1px solid rgba(148, 163, 184, 0.1); }
.kx-plan__room { grid-column: 1; font-size: 0.88em; font-weight: 600; color: var(--kx-on-dark-muted); }
.kx-plan__bar {
	display: flex;
	align-items: center;
	grid-row: 1;
	height: 1.55em;
	padding-inline: 0.5em;
	overflow: hidden;
	border-radius: 0.45em;
	background: linear-gradient(90deg, var(--kx-blue-600), var(--kx-blue-500));
	color: var(--kx-white);
	font-size: 0.82em;
	font-style: normal;
	font-weight: 500;
	white-space: nowrap;
}
.kx-plan__room { grid-row: 1; }
.kx-plan__bar--b { background: linear-gradient(90deg, #0891b2, var(--kx-cyan-400)); color: #04222b; }
.kx-plan__bar--c { background: repeating-linear-gradient(135deg, rgba(148, 163, 184, 0.22) 0 0.4em, rgba(148, 163, 184, 0.1) 0.4em 0.8em); }
.kx-plan__bar--new { transform-origin: left; animation: kx-bar-in 7s var(--kx-ease) infinite; }
.kx-plan__legend { display: flex; flex-wrap: wrap; gap: 0.4em 1em; margin-top: 0.7em; font-size: 0.8em; color: var(--kx-on-dark-muted); }
.kx-plan__legend span { display: inline-flex; align-items: center; gap: 0.4em; }
.kx-plan__legend i { width: 0.7em; height: 0.7em; border-radius: 0.2em; background: var(--kx-blue-500); }
.kx-plan__legend i.b { background: var(--kx-cyan-400); }
.kx-plan__legend i.c { background: rgba(148, 163, 184, 0.35); }

/* Dynamic DNS */
.kx-dns { display: grid; gap: 0.85em; }
.kx-dns__label { display: block; margin-bottom: 0.2em; font-size: 0.8em; color: var(--kx-on-dark-muted); }
.kx-dns__host b { font-family: var(--kx-mono); font-size: 1.05em; font-weight: 600; color: var(--kx-white); }
.kx-dns__flow { display: flex; align-items: center; gap: 0.5em; font-size: 0.85em; }
.kx-dns__node { padding: 0.35em 0.7em; border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 0.5em; background: rgba(148, 163, 184, 0.1); white-space: nowrap; }
.kx-dns__node--srv { border-color: rgba(34, 211, 238, 0.35); color: var(--kx-cyan-300); }
.kx-dns__line { position: relative; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.4) 0 4px, transparent 4px 8px); }
.kx-dns__line i {
	position: absolute;
	top: 50%;
	left: 0;
	width: 0.55em;
	height: 0.55em;
	margin-top: -0.275em;
	border-radius: 50%;
	background: var(--kx-cyan-400);
	box-shadow: 0 0 0.8em var(--kx-cyan-400);
	animation: kx-travel 2.8s ease-in-out infinite;
}
.kx-dns__ip { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.6em; }
.kx-dns__swap { display: grid; font-family: var(--kx-mono); font-size: 1.05em; color: var(--kx-cyan-300); }
.kx-dns__swap b { grid-area: 1 / 1; font-weight: 600; animation: kx-swap 8s ease-in-out infinite; }
.kx-dns__swap b:nth-child(2) { animation-delay: -4s; }
.kx-dns__ok {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.25em 0.65em;
	border-radius: 99px;
	background: rgba(52, 211, 153, 0.12);
	color: #34d399;
	font-size: 0.8em;
	font-weight: 600;
	white-space: nowrap;
}
.kx-dns__ok::before { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: currentColor; animation: kx-pulse 2s ease-out infinite; }

/* QR menu */
.kx-qr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1em; align-items: center; }
.kx-qr__code { position: relative; overflow: hidden; padding: 0.7em; border-radius: 0.7em; background: var(--kx-white); }
.kx-qr__code svg { width: 100%; height: auto; }
.kx-qr__code::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 6%;
	height: 2px;
	background: var(--kx-cyan-400);
	box-shadow: 0 0 0.8em var(--kx-cyan-400);
	animation: kx-scan 2.6s ease-in-out infinite alternate;
}
.kx-qr__phone {
	display: flex;
	flex-direction: column;
	gap: 0.45em;
	aspect-ratio: 9 / 15;
	overflow: hidden;
	padding: 0.8em 0.7em;
	border: 0.35em solid #1e293b;
	border-radius: 1.2em;
	background: #f8fafc;
	color: var(--kx-ink);
}
.kx-qr__cats { display: flex; gap: 0.3em; }
.kx-qr__cats span { padding: 0.15em 0.5em; border-radius: 99px; background: #e2e8f0; font-size: 0.72em; }
.kx-qr__cats .is-on { background: var(--kx-blue-600); color: var(--kx-white); }
.kx-qr__item { display: grid; grid-template-columns: 2em minmax(0, 1fr); gap: 0.45em; align-items: center; }
.kx-qr__item i { height: 2em; border-radius: 0.4em; background: linear-gradient(135deg, #cbd5e1, #e2e8f0); }
.kx-qr__item span { display: grid; gap: 0.3em; }
.kx-qr__item span::before, .kx-qr__item span::after { content: ""; height: 0.45em; border-radius: 99px; background: #cbd5e1; }
.kx-qr__item span::after { width: 55%; background: #93c5fd; }

/* Marble invoice */
.kx-inv__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.6em; }
.kx-inv__head b { font-size: 1.05em; color: var(--kx-white); }
.kx-inv__head span { font-family: var(--kx-mono); font-size: 0.82em; color: var(--kx-on-dark-muted); }
.kx-inv__row { display: grid; grid-template-columns: 2.2em minmax(0, 1fr) auto; gap: 0.6em; align-items: center; padding: 0.45em 0; border-top: 1px solid rgba(148, 163, 184, 0.12); font-size: 0.9em; }
.kx-inv__row span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kx-swatch { height: 2.2em; border-radius: 0.45em; }
.kx-swatch--a { background: linear-gradient(125deg, #f5f5f4 0%, #e7e5e4 38%, #a8a29e 40%, #f5f5f4 43%, #e7e5e4 70%, #d6d3d1 72%, #f5f5f4 100%); }
.kx-swatch--b { background: radial-gradient(circle at 30% 35%, #c8b68c 0 12%, transparent 13%), radial-gradient(circle at 70% 70%, #c8b68c 0 9%, transparent 10%), linear-gradient(135deg, #eadfc4, #d2c196); }
.kx-swatch--c { background: radial-gradient(#9ca3af 1px, transparent 1.5px) 0 0 / 0.45em 0.45em, linear-gradient(135deg, #4b5563, #1f2937); }
.kx-inv__total { display: flex; justify-content: space-between; align-items: center; margin-top: 0.2em; padding-top: 0.6em; border-top: 1px solid rgba(148, 163, 184, 0.28); font-weight: 600; color: var(--kx-white); }
.kx-skel {
	display: inline-block;
	width: 4.5em;
	height: 0.7em;
	border-radius: 99px;
	background: linear-gradient(90deg, rgba(148, 163, 184, 0.22), rgba(148, 163, 184, 0.45), rgba(148, 163, 184, 0.22));
	background-size: 200% 100%;
	animation: kx-shimmer 2.4s linear infinite;
}

/* Custom solution */
.kx-mods { position: relative; aspect-ratio: 16 / 10; }
.kx-mods svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.kx-mods path { fill: none; stroke: rgba(34, 211, 238, 0.5); stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; animation: kx-flow 1.4s linear infinite; }
.kx-mod {
	position: absolute;
	translate: -50% -50%;
	padding: 0.5em 0.85em;
	border: 1px solid rgba(148, 163, 184, 0.24);
	border-radius: 0.6em;
	background: #0f2547;
	font-size: 0.92em;
	font-weight: 500;
	white-space: nowrap;
}
.kx-mod--core {
	border-color: transparent;
	background: linear-gradient(135deg, var(--kx-blue-600), var(--kx-blue-700));
	color: var(--kx-white);
	font-weight: 650;
	box-shadow: 0 0 0 0.45em rgba(37, 99, 235, 0.18), 0 0 2.4em rgba(37, 99, 235, 0.45);
}

/* 8 Cards & content blocks -------------------------------------------------- */
.kx-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--kx-line);
	border-radius: var(--kx-radius-lg);
	background: var(--kx-white);
	box-shadow: var(--kx-shadow-sm);
	transition: transform 0.35s var(--kx-ease), box-shadow 0.35s var(--kx-ease), border-color 0.35s;
}
.kx-card::before {
	content: "";
	position: absolute;
	z-index: 2;
	top: 0;
	inset-inline: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--accent, var(--kx-blue-600)), var(--kx-cyan-400));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s var(--kx-ease);
}
[dir="rtl"] .kx-card::before { transform-origin: right; }
.kx-card:hover, .kx-card:focus-within { transform: translateY(-4px); border-color: var(--kx-line-strong); box-shadow: var(--kx-shadow); }
.kx-card:hover::before, .kx-card:focus-within::before { transform: scaleX(1); }

.kx-card__visual {
	position: relative;
	height: 200px;
	overflow: hidden;
	container-type: inline-size;
	background:
		radial-gradient(110% 90% at 85% 0%, color-mix(in srgb, var(--accent, #2563eb) 40%, transparent) 0%, transparent 62%),
		linear-gradient(180deg, var(--kx-navy-900), var(--kx-navy-950));
}
.kx-card__visual .kx-panel {
	position: absolute;
	top: 24px;
	inset-inline: 9%;
	font-size: clamp(6px, 2.55cqi, 10px);
	transition: translate 0.5s var(--kx-ease);
}
.kx-card:hover .kx-card__visual .kx-panel { translate: 0 -6px; }

.kx-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; }
.kx-card__title { margin: 0; font-size: 1.25rem; }
.kx-card__title a { color: var(--kx-ink); text-decoration: none; }
.kx-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.kx-card__title a:focus-visible { outline: none; }
.kx-card:has(.kx-card__title a:focus-visible) { outline: 3px solid var(--kx-blue-600); outline-offset: 3px; }
.kx-card__body p { margin: 0; }
.kx-card__meta { font-size: 0.875rem; color: var(--kx-muted); }
.kx-card__meta strong { font-weight: 600; color: var(--kx-ink); }
.kx-card__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--kx-blue-600); }
.kx-card__cta .kx-icon { width: 18px; height: 18px; transition: translate 0.25s var(--kx-ease); }
.kx-card:hover .kx-card__cta .kx-arrow { translate: 3px 0; }

.kx-feature {
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
	padding: 26px;
	border: 1px solid var(--kx-line);
	border-radius: var(--kx-radius);
	background: var(--kx-white);
	transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--kx-ease);
}
.kx-feature:hover { border-color: var(--kx-line-strong); box-shadow: var(--kx-shadow-sm); }
.kx-feature h3 { margin: 0; font-size: 1.0625rem; }
.kx-feature p { margin: 0; font-size: 0.9375rem; }
.kx-dark .kx-feature { border-color: var(--kx-line-dark); background: rgba(255, 255, 255, 0.025); }
.kx-dark .kx-feature:hover { border-color: rgba(34, 211, 238, 0.35); background: rgba(255, 255, 255, 0.04); }
.kx-dark .kx-feature p { color: var(--kx-on-dark-muted); }

.kx-why { overflow: hidden; }
.kx-why::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(60% 50% at 50% 0%, rgba(37, 99, 235, 0.22), transparent 70%);
	pointer-events: none;
}
.kx-why > .kx-container { position: relative; }

.kx-tile {
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
	padding: 26px;
	border: 1px solid var(--kx-line);
	border-radius: var(--kx-radius-lg);
	background: var(--kx-white);
	transition: border-color 0.3s, box-shadow 0.3s;
}
.kx-tile:hover { border-color: var(--kx-line-strong); box-shadow: var(--kx-shadow-sm); }
.kx-tile h3 { margin: 0; }
.kx-tile h3 a { color: var(--kx-ink); text-decoration: none; }
.kx-tile h3 a:hover { color: var(--kx-blue-600); text-decoration: underline; }
.kx-tile p { margin: 0; font-size: 0.9375rem; }

.kx-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }
.kx-tags a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid var(--kx-line);
	border-radius: 999px;
	background: var(--kx-bg);
	color: var(--kx-ink);
	font-size: 0.8125rem;
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s;
}
.kx-tags a:hover { border-color: var(--kx-blue-600); color: var(--kx-blue-600); }

.kx-pillars { display: grid; }
.kx-pillar { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--kx-line); }
.kx-pillar:last-child { border-bottom: 1px solid var(--kx-line); }
.kx-pillar h3 { margin: 0 0 4px; font-size: 1.0625rem; }
.kx-pillar p { margin: 0; font-size: 0.9375rem; }

.kx-checklist { display: grid; gap: 10px; margin: 24px 0 32px; }
.kx-checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--kx-ink); font-weight: 500; }
.kx-checklist .kx-icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(37, 99, 235, 0.1); color: var(--kx-blue-600); stroke-width: 2.6; }
.kx-checklist--compact { gap: 6px; margin: 10px 0 22px; }
.kx-checklist--compact li { font-size: 0.9375rem; }

.kx-showcase {
	position: relative;
	padding: clamp(20px, 4vw, 44px);
	border-radius: 26px;
	background:
		radial-gradient(80% 80% at 100% 0%, rgba(37, 99, 235, 0.45), transparent 60%),
		radial-gradient(60% 70% at 0% 100%, rgba(34, 211, 238, 0.18), transparent 60%),
		var(--kx-navy-900);
	container-type: inline-size;
	box-shadow: var(--kx-shadow-lg);
}
.kx-showcase .kx-panel { font-size: clamp(7.5px, 2.5cqi, 13px); }

.kx-steps { position: relative; display: grid; gap: 28px; }
@media (min-width: 768px) { .kx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.kx-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.kx-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.kx-steps::before {
		content: "";
		position: absolute;
		top: 27px;
		inset-inline: 28px calc(25% - 28px);
		height: 2px;
		background: linear-gradient(90deg, var(--kx-blue-600), var(--kx-cyan-400));
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 1.4s var(--kx-ease) 0.25s;
	}
	.kx-steps--3::before { inset-inline-end: calc(33.33% - 28px); }
	[dir="rtl"] .kx-steps::before { transform-origin: right; }
	.kx-steps.is-visible::before { transform: scaleX(1); }
}
.kx-step__num {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 20px;
	border: 1px solid var(--kx-line);
	border-radius: 16px;
	background: var(--kx-white);
	box-shadow: var(--kx-shadow-sm);
	color: var(--kx-blue-600);
	font-size: 1.0625rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.kx-step h3 { margin-bottom: 8px; font-size: 1.125rem; }
.kx-step p { margin: 0; font-size: 0.9375rem; }

.kx-mini-steps { display: grid; gap: 14px; counter-reset: kx-step; }
.kx-mini-steps li {
	position: relative;
	display: grid;
	gap: 2px;
	padding: 18px 20px 18px 64px;
	border: 1px solid var(--kx-line-dark);
	border-radius: var(--kx-radius);
	background: rgba(255, 255, 255, 0.03);
	counter-increment: kx-step;
}
.kx-mini-steps li::before {
	content: counter(kx-step);
	position: absolute;
	inset-inline-start: 20px;
	top: 18px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: rgba(34, 211, 238, 0.12);
	color: var(--kx-cyan-300);
	font-size: 0.875rem;
	font-weight: 700;
}
[dir="rtl"] .kx-mini-steps li { padding: 18px 64px 18px 20px; }
.kx-mini-steps strong { color: var(--kx-white); }
.kx-mini-steps span { font-size: 0.9375rem; color: var(--kx-on-dark-muted); }
.kx-mini-steps--light li { border-color: var(--kx-line); background: var(--kx-white); }
.kx-mini-steps--light li::before { background: rgba(37, 99, 235, 0.1); color: var(--kx-blue-600); }
.kx-mini-steps--light strong { color: var(--kx-ink); }
.kx-mini-steps--light span { color: var(--kx-text); }

.kx-aside { padding: 28px; border: 1px solid var(--kx-line); border-radius: var(--kx-radius-lg); background: var(--kx-bg); }
.kx-aside h3 { font-size: 1.0625rem; }
.kx-aside .kx-checklist { margin: 16px 0 20px; }
.kx-aside__status { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 0.9375rem; }
.kx-aside--plain { background: transparent; }
.kx-aside p:last-child { margin-bottom: 0; }

.kx-notice {
	display: flex;
	gap: 14px;
	max-width: 52rem;
	margin-top: 32px;
	padding: 18px 20px;
	border: 1px solid;
	border-radius: var(--kx-radius);
	font-size: 0.9375rem;
}
.kx-notice .kx-icon { width: 22px; height: 22px; margin-top: 2px; }
.kx-notice p { margin: 0; }
.kx-notice strong { display: block; margin-bottom: 2px; }
.kx-notice--warn { border-color: #fde68a; background: #fffbeb; color: #78350f; }
.kx-notice--info { border-color: #bfdbfe; background: #eff6ff; color: #1e3a8a; }
.kx-notice a { color: inherit; font-weight: 600; }

.kx-source-note { max-width: 52rem; margin: 28px 0 0; font-size: 0.875rem; color: var(--kx-muted); }

.kx-filters { display: none; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.js .kx-filters { display: flex; }
.kx-chip {
	min-height: 42px;
	padding: 0 18px;
	border: 1px solid var(--kx-line-strong);
	border-radius: 999px;
	background: var(--kx-white);
	color: var(--kx-ink);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.kx-chip:hover { border-color: var(--kx-blue-600); }
.kx-chip[aria-pressed="true"] { border-color: var(--kx-navy-900); background: var(--kx-navy-900); color: var(--kx-white); }

.kx-status-list { display: grid; gap: 12px; margin: 0; }
.kx-status-list > div { display: grid; gap: 8px; padding: 18px 20px; border: 1px solid var(--kx-line); border-radius: var(--kx-radius); }
@media (min-width: 640px) { .kx-status-list > div { grid-template-columns: 170px minmax(0, 1fr); align-items: center; } }
.kx-status-list dd { margin: 0; font-size: 0.9375rem; }

.kx-industry { display: grid; gap: 20px 32px; padding-block: 44px; border-top: 1px solid var(--kx-line); scroll-margin-top: calc(var(--kx-header) + 16px); }
.kx-industry:last-child { border-bottom: 1px solid var(--kx-line); }
.kx-industry h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.kx-industry__text p { margin: 0; font-size: 1.0625rem; }
.kx-industry__aside h3 { margin: 0; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--kx-muted); }
@media (min-width: 1024px) { .kx-industry { grid-template-columns: 60px minmax(0, 1.2fr) minmax(0, 0.9fr); } }

.kx-product-list { display: grid; gap: 10px; }
.kx-product-list a {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2px 16px;
	align-items: center;
	padding: 16px 20px;
	border: 1px solid var(--kx-line);
	border-inline-start: 3px solid var(--accent);
	border-radius: 12px;
	background: var(--kx-white);
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.kx-product-list a:hover { box-shadow: var(--kx-shadow-sm); border-color: var(--kx-line-strong); border-inline-start-color: var(--accent); }
.kx-product-list__name { font-weight: 650; color: var(--kx-ink); }
.kx-product-list__desc { grid-column: 1; font-size: 0.875rem; color: var(--kx-muted); }
.kx-product-list .kx-icon { grid-column: 2; grid-row: 1 / span 2; width: 20px; height: 20px; color: var(--kx-blue-600); transition: translate 0.25s var(--kx-ease); }
.kx-product-list a:hover .kx-arrow { translate: 3px 0; }

.kx-cta {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(44px, 7vw, 88px) clamp(24px, 5vw, 72px);
	border-radius: 28px;
	background:
		radial-gradient(80% 120% at 100% 0%, rgba(37, 99, 235, 0.55), transparent 60%),
		radial-gradient(70% 100% at 0% 100%, rgba(34, 211, 238, 0.2), transparent 60%),
		var(--kx-navy-900);
	color: var(--kx-on-dark);
	text-align: center;
}
.kx-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
	mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
}
.kx-cta h2 { max-width: 22ch; margin-inline: auto; color: var(--kx-white); }
.kx-cta p { max-width: 40rem; margin: 0 auto 30px; font-size: 1.0625rem; }
.kx-cta .kx-btns { justify-content: center; }

.kx-contact { display: grid; gap: 32px; }
.kx-contact > * { min-width: 0; }
.kx-contact__form h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.kx-contact__aside { display: grid; gap: 16px; align-content: start; }
.kx-contact__aside .kx-aside { background: var(--kx-white); }
.kx-contact__aside .kx-aside--plain { background: transparent; }
.kx-contact__email, .kx-footer__email { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; word-break: break-word; }
.kx-contact__email .kx-icon, .kx-footer__email .kx-icon { width: 20px; height: 20px; }
@media (min-width: 1024px) { .kx-contact { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; } }

.kx-prose { max-width: 46rem; color: var(--kx-text); }
.kx-prose h2 { margin-top: 1.8em; font-size: 1.5rem; }
.kx-prose h3 { margin-top: 1.5em; font-size: 1.125rem; }
.kx-prose ul, .kx-prose ol { padding-inline-start: 1.3em; }
.kx-prose li { margin: 0.35em 0; }
.kx-prose > :first-child { margin-top: 0; }
.kx-prose__updated { margin-top: 3em; font-size: 0.875rem; }

/* 9 Forms ------------------------------------------------------------------ */
.kx-form-wrap {
	padding: clamp(22px, 4vw, 40px);
	border: 1px solid var(--kx-line);
	border-radius: var(--kx-radius-lg);
	background: var(--kx-white);
	box-shadow: var(--kx-shadow);
	scroll-margin-top: calc(var(--kx-header) + 24px);
}
.kx-form { display: grid; gap: 22px; }
.kx-form__grid { display: grid; gap: 20px; }
.kx-form__grid > * { min-width: 0; }
@media (min-width: 640px) {
	.kx-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kx-field--full { grid-column: 1 / -1; }
}
.kx-form__note { margin: 0; font-size: 0.875rem; color: var(--kx-muted); }
.kx-field > label, .kx-fieldset legend { display: block; margin-bottom: 8px; padding: 0; color: var(--kx-ink); font-size: 0.9375rem; font-weight: 600; }
.kx-req { color: var(--kx-error); }
.kx-opt { font-weight: 400; color: var(--kx-muted); font-size: 0.875rem; }
.kx-input {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--kx-line-strong);
	border-radius: 10px;
	background-color: var(--kx-white);
	color: var(--kx-ink);
	font: inherit;
	font-size: 1rem;
	transition: border-color 0.2s, box-shadow 0.2s;
	-webkit-appearance: none;
	appearance: none;
}
textarea.kx-input { min-height: 150px; resize: vertical; line-height: 1.55; }
select.kx-input {
	padding-inline-end: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px;
}
[dir="rtl"] select.kx-input { background-position: left 14px center; }
.kx-input:hover { border-color: #94a3b8; }
.kx-input:focus { outline: none; border-color: var(--kx-blue-600); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18); }
.kx-input[aria-invalid="true"] { border-color: var(--kx-error); }
.kx-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.15); }
.kx-field__error { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0 0; color: var(--kx-error); font-size: 0.875rem; font-weight: 500; }
.kx-field__error::before {
	content: "!";
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--kx-error);
	color: var(--kx-white);
	font-size: 0.75rem;
	font-weight: 700;
}
.kx-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.kx-radios { display: flex; flex-wrap: wrap; gap: 10px; }
.kx-radio {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	padding: 0 18px;
	border: 1px solid var(--kx-line-strong);
	border-radius: 10px;
	color: var(--kx-ink);
	font-weight: 500;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
}
.kx-radio:has(input:checked) { border-color: var(--kx-blue-600); background: #eff6ff; }
.kx-radio input, .kx-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--kx-blue-600); }
.kx-check { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9375rem; line-height: 1.55; cursor: pointer; }
.kx-check input { flex: none; margin-top: 3px; }
.kx-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.kx-form .kx-btn[aria-disabled="true"] { opacity: 0.7; pointer-events: none; }
.kx-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.kx-alert { margin-bottom: 24px; padding: 18px 20px; border: 1px solid; border-radius: 12px; }
.kx-alert:focus { outline: 3px solid currentColor; outline-offset: 2px; }
.kx-alert p { margin: 0; }
.kx-alert p + p { margin-top: 6px; }
.kx-alert ul { margin: 8px 0 0; padding-inline-start: 20px; }
.kx-alert a { color: inherit; font-weight: 600; }
.kx-alert--success { border-color: #a7f3d0; background: #ecfdf5; color: #065f46; }
.kx-alert--success:only-child { margin-bottom: 0; }
.kx-alert--error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }

/* 10 Footer ---------------------------------------------------------------- */
.kx-footer { padding-block: clamp(56px, 7vw, 88px) 32px; background: var(--kx-navy-950); color: var(--kx-on-dark-muted); font-size: 0.9375rem; }
.kx-footer__grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .kx-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .kx-footer__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.3fr); } }
.kx-footer h2 { margin-bottom: 16px; color: var(--kx-white); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
.kx-footer ul li { margin-bottom: 10px; }
.kx-footer a { color: var(--kx-on-dark-muted); text-decoration: none; transition: color 0.2s; }
.kx-footer a:hover { color: var(--kx-white); text-decoration: underline; }
.kx-footer .kx-logo:hover { text-decoration: none; }
.kx-footer__brand p { max-width: 22rem; margin-top: 18px; }
.kx-footer__email { color: var(--kx-cyan-300) !important; }
.kx-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid var(--kx-line-dark);
	font-size: 0.875rem;
}
.kx-footer__bottom p { margin: 0; }
.kx-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }
.kx-footer__bottom li { margin: 0 !important; }

/* 11 Motion ------------------------------------------------------------------ */
.kx-load { animation: kx-fade-up 0.9s var(--kx-ease) var(--d, 0s) both; }

.js [data-reveal] {
	opacity: 0;
	translate: 0 22px;
	transition: opacity 0.8s var(--kx-ease), translate 0.8s var(--kx-ease), scale 0.8s var(--kx-ease);
	transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal="scale"] { translate: 0 0; scale: 0.97; }
.js [data-reveal].is-visible { opacity: 1; translate: 0 0; scale: 1; }

[data-animate].is-paused,
[data-animate].is-paused * { animation-play-state: paused !important; }

@keyframes kx-fade-up { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@keyframes kx-rise { from { opacity: 0; translate: 0 105%; } to { opacity: 1; translate: 0 0; } }
@keyframes kx-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes kx-drift-a { to { transform: translate3d(-6%, 8%, 0) scale(1.08); } }
@keyframes kx-drift-b { to { transform: translate3d(8%, -6%, 0) scale(1.12); } }
@keyframes kx-draw { to { stroke-dashoffset: 0; } }
@keyframes kx-bar { from { scale: 1 0.78; } to { scale: 1 1; } }
@keyframes kx-flow { to { stroke-dashoffset: -18; } }
@keyframes kx-row-in { 0%, 10% { opacity: 0; translate: 0 -0.4em; } 20%, 85% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes kx-press { 0%, 8% { background: rgba(148, 163, 184, 0.1); scale: 1; } 12% { background: rgba(34, 211, 238, 0.4); scale: 0.94; } 20%, 100% { background: rgba(148, 163, 184, 0.1); scale: 1; } }
@keyframes kx-bar-in { 0%, 8% { opacity: 0; scale: 0 1; } 22%, 86% { opacity: 1; scale: 1 1; } 100% { opacity: 0; scale: 1 1; } }
@keyframes kx-travel { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 0.55em); opacity: 0; } }
@keyframes kx-swap { 0%, 42% { opacity: 1; translate: 0 0; } 50%, 92% { opacity: 0; translate: 0 -0.5em; } 100% { opacity: 1; translate: 0 0; } }
@keyframes kx-pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); } 100% { box-shadow: 0 0 0 0.6em rgba(52, 211, 153, 0); } }
@keyframes kx-scan { from { top: 6%; } to { top: 92%; } }
@keyframes kx-shimmer { to { background-position: -200% 0; } }

/* 12 Reduced motion & small screens ---------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

@media (max-width: 767.98px) {
	.kx-float,
	.kx-orb,
	.kx-dash__bars i,
	.kx-stage__links path,
	.kx-mods path,
	.kx-pos__keys .is-hot,
	.kx-skel { animation: none; }
	.kx-layer { transform: none; transition: none; }
	.kx-hero__bg { translate: none; }
	.kx-card__visual { height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		animation-delay: 0s !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}
	.kx-load, .kx-hl > span, .js [data-reveal] { opacity: 1 !important; translate: none !important; scale: none !important; }
	.kx-layer { transform: none !important; }
	.kx-hero__bg { translate: none !important; }
	.kx-chart-line { stroke-dashoffset: 0; }
	.kx-dns__swap b:nth-child(2) { opacity: 0; }
}
