/* Лендінг Kyros. Верстка перенесена з макетів (landing/*.dc.html): там стилі
   інлайнові — це вимога середовища прототипів, тут вони зібрані в класи.
   Значення (кольори, відступи, clamp) — рівно ті, що в макеті. */

/* ─── база ─────────────────────────────────────────────────────────────── */

html, body { margin: 0; padding: 0; background: #06070a; }
* { box-sizing: border-box; }
a { color: #a5a8fa; text-decoration: none; }
a:hover { color: #ffffff; }
::selection { background: #5c61f2; color: #fff; }
input, textarea, select, button { font-family: inherit; }
input::placeholder, textarea::placeholder { color: #5f6878; }
select option { background: #0f1219; color: #e8ebf3; }

@keyframes kyDrift { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -16px, 0); } }
@keyframes kyDriftSm { 0%, 100% { transform: translate3d(0, 6px, 0); } 50% { transform: translate3d(0, -10px, 0); } }
@keyframes kyPulse { 0%, 100% { opacity: .4; } 50% { opacity: .9; } }
@keyframes kySpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.ky-page {
  background: #06070a;
  color: #f2f3f8;
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  /* overflow-x: hidden робить сторінку горизонтальним скрол-контейнером:
     підсвітка секцій ширша за екран, і браузер, тягнучи у видиму зону
     сфокусовану кнопку (бургер), зсував усю сторінку вбік. clip ріже так
     само, але скролити нічого не дає. hidden лишаємо для старих браузерів. */
  overflow-x: hidden;
  overflow-x: clip;
}
.ky-page--demo { min-height: 100vh; }

/* ─── спільні елементи ─────────────────────────────────────────────────── */

.ky-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ky-eyebrow--accent { color: #8b8ff8; }
.ky-eyebrow--muted { color: #6b7383; }

.ky-h2 {
  margin: 0;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(25px, 3.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -.045em;
  font-weight: 500;
  text-wrap: balance;
}

.ky-btn-primary {
  padding: 14px 26px;
  border-radius: 999px;
  background: #5c61f2;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  box-shadow: 0 12px 34px rgba(92, 97, 242, .42);
}
.ky-btn-primary:hover { background: #6b6ff2; color: #ffffff; }

.ky-btn-ghost {
  padding: 14px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #e8ebf3;
  font-weight: 500;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.ky-btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #ffffff; }
.ky-btn-ghost__play {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
}

/* ─── шапка ────────────────────────────────────────────────────────────── */

.ky-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: rgba(6, 7, 10, .74);
  border-bottom: 1px solid rgba(255, 255, 255, .055);
}
.ky-header__bar {
  max-width: 1220px;
  margin: 0 auto;
  padding: 12px clamp(16px, 4vw, 24px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
}
.ky-header--demo .ky-header__bar { gap: clamp(10px, 2vw, 26px); flex-wrap: wrap; }

.ky-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  letter-spacing: -.03em;
  font-size: 18px;
}
.ky-logo__mark {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(140deg, #c9cbff, #5c61f2 55%, #242766);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 6px 20px rgba(92, 97, 242, .5);
  display: block;
}

.ky-nav {
  display: flex;
  gap: clamp(14px, 1.8vw, 24px);
  margin-left: 6px;
  flex-wrap: wrap;
  font-size: 14.5px;
  font-weight: 500;
}
.ky-nav a { color: #98a2b3; }
.ky-nav a:hover { color: #ffffff; }

.ky-header__back { color: #98a2b3; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.ky-header__back:hover { color: #ffffff; }

.ky-header__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ky-header--demo .ky-header__right { gap: 12px; }

.ky-lang {
  display: flex;
  padding: 3px;
  gap: 2px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .03);
}
.ky-lang__btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  background: transparent;
  color: #98a2b3;
}
.ky-lang__btn:hover { color: #98a2b3; }
.ky-lang__btn.is-active,
.ky-lang__btn.is-active:hover { background: #5c61f2; color: #fff; }

.ky-header__cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: #5c61f2;
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(92, 97, 242, .35);
}
.ky-header__cta:hover { background: #6b6ff2; color: #ffffff; }

.ky-burger {
  width: 44px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 0 0 auto;
}
.ky-burger__line { width: 18px; height: 1.6px; background: #e8ebf3; border-radius: 2px; display: block; }

.ky-drawer {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 6px clamp(16px, 4vw, 24px) 16px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.ky-drawer__link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 4px;
  color: #cdd3dd;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.ky-drawer__link:hover { color: #ffffff; }
.ky-drawer__link--last { border-bottom: none; }
.ky-drawer__cta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  background: #5c61f2;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 10px 26px rgba(92, 97, 242, .35);
}
.ky-drawer__cta:hover { background: #6b6ff2; color: #ffffff; }

/* ─── hero ─────────────────────────────────────────────────────────────── */

.ky-hero {
  position: relative;
  padding: clamp(48px, 8vw, 104px) clamp(16px, 4vw, 24px) 0;
  overflow: hidden;
}
.ky-hero__glow {
  position: absolute;
  inset: -22% 0 auto;
  height: 900px;
  background:
    radial-gradient(58% 52% at 50% 26%, rgba(92, 97, 242, .34), transparent 70%),
    radial-gradient(38% 38% at 80% 6%, rgba(139, 92, 246, .2), transparent 70%);
  pointer-events: none;
  animation: kyPulse 10s ease-in-out infinite;
}
.ky-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(72% 58% at 50% 14%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(72% 58% at 50% 14%, #000, transparent 76%);
  pointer-events: none;
}
.ky-hero__inner { position: relative; max-width: 1000px; margin: 0 auto; text-align: center; }

.ky-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #b4bcc9;
}
.ky-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fd36f;
  box-shadow: 0 0 10px #8fd36f;
  display: block;
}

.ky-hero__title {
  margin: 24px 0 0;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(34px, 5.2vw, 70px);
  line-height: 1.04;
  letter-spacing: -.05em;
  font-weight: 500;
  text-wrap: balance;
}
.ky-hero__accent {
  background: linear-gradient(100deg, #dcddff, #8b8ff8 44%, #4a4fe0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ky-hero__sub {
  margin: 26px auto 0;
  max-width: 660px;
  font-size: clamp(16px, 1.4vw, 19.5px);
  color: #b4bcc9;
  text-wrap: pretty;
}
.ky-hero__actions { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ky-hero__note {
  margin: 18px 0 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: #6b7383;
  text-transform: uppercase;
}

/* ─── орбіта з глобусом ────────────────────────────────────────────────── */

.ky-orbit {
  position: relative;
  max-width: 1180px;
  margin: clamp(24px, 4vw, 56px) auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2.5vw, 40px);
  flex-wrap: wrap;
  padding-bottom: clamp(20px, 4vw, 48px);
}
.ky-orbit__col { display: flex; flex-direction: column; gap: 16px; width: min(100%, 270px); }
.ky-orbit__col--left { animation: kyDrift 13s ease-in-out infinite; }
.ky-orbit__col--right { animation: kyDriftSm 11s ease-in-out infinite; }

.ky-orbit__doc {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(24, 27, 38, .82), rgba(12, 14, 20, .72));
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .5);
}
.ky-orbit__doc-num { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .08em; color: #6b7383; }
.ky-orbit__doc-title { margin-top: 8px; font-size: 15px; font-weight: 600; color: #fff; }
.ky-orbit__doc-row { margin-top: 12px; display: flex; align-items: center; gap: 8px; }
.ky-orbit__status {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 205, 99, .14);
  border: 1px solid rgba(245, 205, 99, .32);
  color: #f5cd63;
  font-size: 12px;
  white-space: nowrap;
}
.ky-orbit__count { font-size: 12.5px; color: #7d8696; }
.ky-orbit__bar {
  margin-top: 12px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}
.ky-orbit__bar span { display: block; width: 50%; height: 100%; background: linear-gradient(90deg, #5c61f2, #8b8ff8); }

.ky-orbit__ok {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(143, 211, 111, .28);
  background: rgba(22, 40, 26, .5);
  backdrop-filter: blur(10px);
  display: flex;
  gap: 10px;
  align-items: center;
}
.ky-orbit__ok-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(143, 211, 111, .18);
  color: #8fd36f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex: 0 0 auto;
}
.ky-orbit__ok-text { font-size: 13.5px; color: #cdd3dd; text-wrap: pretty; }

.ky-orbit__ai {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(123, 127, 245, .3);
  background: linear-gradient(180deg, rgba(28, 30, 58, .86), rgba(12, 14, 20, .74));
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .5);
}
.ky-orbit__ai-head { display: flex; align-items: center; gap: 8px; }
.ky-orbit__ai-mark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(140deg, #c9cbff, #5c61f2);
  display: block;
}
.ky-orbit__ai-name { font-size: 13px; font-weight: 600; color: #fff; }
.ky-orbit__ai-time {
  margin-left: auto;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  color: #7d8696;
}
.ky-orbit__ai-text { margin-top: 10px; font-size: 13.5px; color: #cdd3dd; text-wrap: pretty; }

.ky-orbit__stat {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(16, 19, 26, .7);
  backdrop-filter: blur(10px);
}
.ky-orbit__stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .08em;
  color: #6b7383;
  text-transform: uppercase;
}
.ky-orbit__stat-row { margin-top: 8px; display: flex; align-items: baseline; gap: 8px; }
.ky-orbit__stat-value {
  font-family: 'Unbounded', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -.03em;
}
.ky-orbit__stat-unit { font-size: 13px; color: #98a2b3; }

.ky-globe {
  position: relative;
  width: clamp(240px, 32vw, 400px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ky-globe__ring {
  position: absolute;
  width: 150%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .07);
  transform: rotate(-16deg) scaleY(.34);
  animation: kySpin 34s linear infinite;
}
.ky-globe__ring--inner {
  width: 122%;
  border-color: rgba(123, 127, 245, .22);
  transform: rotate(12deg) scaleY(.42);
  animation: kySpin 22s linear infinite reverse;
}
.ky-globe__canvas { position: absolute; inset: 0; }
.ky-globe__halo {
  position: absolute;
  inset: -1.5%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, transparent 62%, rgba(138, 172, 255, .28) 78%, rgba(120, 150, 255, .1) 88%, transparent 96%);
}
.ky-globe__track {
  position: absolute;
  width: 150%;
  aspect-ratio: 1;
  transform: rotate(-16deg) scaleY(.34);
  animation: kySpin 34s linear infinite;
}
.ky-globe__satellite {
  position: absolute;
  top: -4px;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dcddff;
  box-shadow: 0 0 18px 4px rgba(164, 168, 248, .8);
  display: block;
}

/* ─── метрики ──────────────────────────────────────────────────────────── */

.ky-metrics { max-width: 1180px; margin: 0 auto; padding: clamp(36px, 5vw, 72px) clamp(16px, 4vw, 24px); }
.ky-metrics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 18px;
  overflow: hidden;
}
.ky-metric { background: #0a0b11; padding: 28px 24px; }
.ky-metric__value {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -.05em;
  color: #fff;
}
.ky-metric__label { margin-top: 8px; font-size: 14.5px; color: #98a2b3; text-wrap: pretty; }

/* ─── ШІ-агент ─────────────────────────────────────────────────────────── */

.ky-ai { position: relative; max-width: 1180px; margin: 0 auto; padding: clamp(44px, 6vw, 90px) clamp(16px, 4vw, 24px); }
.ky-ai__glow {
  position: absolute;
  inset: 12% -12% auto;
  height: 520px;
  background: radial-gradient(45% 50% at 28% 40%, rgba(139, 92, 246, .16), transparent 70%);
  pointer-events: none;
}
.ky-ai__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.ky-ai__title { margin: 16px 0 0; }
.ky-ai__sub { margin: 18px 0 0; font-size: 17px; color: #b4bcc9; max-width: 46ch; text-wrap: pretty; }
.ky-ai__chips { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.ky-ai__chip {
  text-align: left;
  padding: 13px 16px;
  border-radius: 13px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  transition: border-color .18s, background .18s;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .03);
  color: #b4bcc9;
}
.ky-ai__chip.is-active {
  border: 1px solid rgba(123, 127, 245, .55);
  background: rgba(92, 97, 242, .16);
  color: #ffffff;
}
.ky-ai__foot { margin: 22px 0 0; font-size: 13.5px; color: #6b7383; max-width: 44ch; text-wrap: pretty; }

.ky-ai__panel {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, #0f1219, #0a0b11);
  padding: 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
}
.ky-ai__panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.ky-ai__panel-mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(140deg, #c9cbff, #4a4fe0);
  display: block;
}
.ky-ai__panel-name { font-weight: 600; font-size: 15px; }
.ky-ai__panel-scope {
  margin-left: auto;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  color: #6b7383;
}
.ky-ai__thread { padding: 18px 0 0; display: flex; flex-direction: column; gap: 16px; }
.ky-ai__q {
  align-self: flex-end;
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px 16px 5px 16px;
  background: #2b2f56;
  color: #eef0f6;
  font-size: 15.5px;
}
.ky-ai__a {
  max-width: 92%;
  padding: 15px 17px;
  border-radius: 16px 16px 16px 5px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .07);
  font-size: 15.5px;
  color: #cdd3dd;
  text-wrap: pretty;
}
.ky-ai__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.ky-ai__tag {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(92, 97, 242, .14);
  border: 1px solid rgba(123, 127, 245, .3);
  color: #b6b9ff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
}

/* ─── модулі ───────────────────────────────────────────────────────────── */

.ky-modules { max-width: 1180px; margin: 0 auto; padding: clamp(44px, 6vw, 90px) clamp(16px, 4vw, 24px); }
.ky-modules__title { margin: 16px 0 0; max-width: 24ch; }
.ky-modules__sub { margin: 16px 0 0; font-size: 17px; color: #98a2b3; max-width: 56ch; text-wrap: pretty; }
.ky-modules__grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 16px;
}
.ky-module {
  padding: 26px 24px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01));
  transition: border-color .2s, transform .2s;
}
.ky-module:hover { border-color: rgba(123, 127, 245, .45); transform: translateY(-3px); }
.ky-module__n { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: #7b7ff5; }
.ky-module__title {
  margin: 14px 0 0;
  font-family: 'Unbounded', sans-serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.035em;
}
.ky-module__text { margin: 12px 0 0; font-size: 15px; color: #98a2b3; text-wrap: pretty; }
.ky-module__tags {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #6b7383;
}

/* ─── смуга з відео ────────────────────────────────────────────────────── */

.ky-video { max-width: 1180px; margin: 0 auto; padding: clamp(44px, 6vw, 80px) clamp(16px, 4vw, 24px); }
.ky-video__band {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(120deg, rgba(92, 97, 242, .18), rgba(10, 11, 17, .6) 55%);
  padding: clamp(20px, 3vw, 32px);
}
.ky-video__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
.ky-video__title { margin: 14px 0 0; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.14; }
.ky-video__sub { margin: 14px 0 0; font-size: 16px; color: #b4bcc9; max-width: 42ch; text-wrap: pretty; }
.ky-video__cta {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #f2f3f8;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.ky-video__cta:hover {
  background: rgba(92, 97, 242, .9);
  border-color: rgba(123, 127, 245, .6);
  color: #ffffff;
}
.ky-video__cta-play {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #5c61f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #fff;
}
.ky-video__thumb {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  aspect-ratio: 16/9;
  background: #0c0e14;
}
.ky-video__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.ky-video__thumb-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(6, 7, 10, .6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
}

/* ─── кадри інтерфейсу ─────────────────────────────────────────────────── */

.ky-shots { max-width: 1180px; margin: 0 auto; padding: clamp(44px, 6vw, 90px) clamp(16px, 4vw, 24px); }
.ky-shots__head { display: flex; gap: 20px 44px; align-items: baseline; flex-wrap: wrap; }
.ky-shots__title { max-width: 20ch; }
.ky-shots__sub { margin: 0; font-size: 16px; color: #98a2b3; max-width: 42ch; text-wrap: pretty; }
.ky-shots__grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}
.ky-shot {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .09);
  background: #0b0d12;
  padding: 8px;
}
/* Рамка знімка — кнопка: знімок відкривається на весь екран. */
.ky-shot__frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #06070a;
  cursor: zoom-in;
}
.ky-shot__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.ky-shot__frame:focus-visible { outline: 2px solid rgba(123, 127, 245, .85); outline-offset: 3px; }

.ky-shot__lens {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e8ebf3;
  background: rgba(6, 7, 10, .62);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
  transition: opacity .22s, transform .22s cubic-bezier(.2, .8, .2, 1), background .22s, border-color .22s;
}

/* На тачі ховера немає — лупу видно одразу, але приглушено. */
.ky-shot__lens { opacity: .82; }
@media (hover: hover) {
  .ky-shot__lens { opacity: 0; transform: scale(.88) translateY(5px); }
  .ky-shot__frame:hover img { transform: scale(1.035); }
  .ky-shot__frame:hover .ky-shot__lens,
  .ky-shot__frame:focus-visible .ky-shot__lens { opacity: 1; transform: none; }
  .ky-shot__frame:hover .ky-shot__lens {
    background: rgba(92, 97, 242, .92);
    border-color: rgba(123, 127, 245, .7);
  }
}

.ky-shot__cap { padding: 12px 8px 6px; font-size: 14px; color: #98a2b3; text-wrap: pretty; }

/* ─── знімок на весь екран ─────────────────────────────────────────────── */

.ky-lightbox { position: fixed; inset: 0; z-index: 100; }
.ky-lightbox[hidden] { display: none; }

.ky-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 46%, rgba(92, 97, 242, .16), transparent 72%),
    rgba(5, 6, 10, .84);
  backdrop-filter: blur(22px) saturate(130%);
  cursor: zoom-out;
}

.ky-lightbox__stage {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.6vw, 18px);
  padding: clamp(12px, 2.4vw, 26px) clamp(12px, 3vw, 34px) clamp(16px, 2.4vw, 26px);
  pointer-events: none;
}
.ky-lightbox__stage > * { pointer-events: auto; }

/* Лічильник і закриття лишаються над знімком, навіть коли його збільшено. */
.ky-lightbox__bar { position: relative; z-index: 2; display: flex; align-items: center; gap: 16px; }
.ky-lightbox__counter {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .14em;
  color: #6b7383;
  display: flex;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(10, 11, 17, .5);
  backdrop-filter: blur(10px);
}
.ky-lightbox__counter-now { color: #dcddff; }
.ky-lightbox__counter-sep { color: #39414f; }

.ky-lightbox__btn {
  margin-left: auto;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
  color: #e8ebf3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.ky-lightbox__btn:hover { background: rgba(92, 97, 242, .92); border-color: rgba(123, 127, 245, .7); }
.ky-lightbox__btn:active { transform: scale(.94); }

.ky-lightbox__figure {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.ky-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 50px 140px rgba(0, 0, 0, .8);
  background: #06070a;
  cursor: zoom-in;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), transform-origin .12s linear;
}
.ky-lightbox__img.is-zoomed { cursor: zoom-out; }

.ky-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(10, 11, 17, .58);
  backdrop-filter: blur(10px);
  color: #e8ebf3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, opacity .2s;
}
.ky-lightbox__nav:hover { background: rgba(92, 97, 242, .92); border-color: rgba(123, 127, 245, .7); }
.ky-lightbox__nav--prev { left: clamp(-4px, -1vw, 0px); }
.ky-lightbox__nav--next { right: clamp(-4px, -1vw, 0px); }

.ky-lightbox__foot { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; gap: 8px; }
.ky-lightbox__cap {
  font-size: 15.5px;
  color: #e8ebf3;
  text-wrap: pretty;
  max-width: 62ch;
  margin: 0 auto;
}
.ky-lightbox__hint {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6b7383;
}

/* Хром з'являється трохи пізніше за сам знімок. */
.ky-lightbox__bar,
.ky-lightbox__foot,
.ky-lightbox__nav { opacity: 0; transition: opacity .3s ease .1s, background .2s, border-color .2s; }
.ky-lightbox.is-open .ky-lightbox__bar,
.ky-lightbox.is-open .ky-lightbox__foot,
.ky-lightbox.is-open .ky-lightbox__nav { opacity: 1; }
.ky-lightbox.is-closing .ky-lightbox__bar,
.ky-lightbox.is-closing .ky-lightbox__foot,
.ky-lightbox.is-closing .ky-lightbox__nav { opacity: 0; transition-delay: 0s; }

/* Поки знімок збільшений, нічого зайвого: лишаються лічильник і закриття. */
.ky-lightbox.is-zoomed .ky-lightbox__nav,
.ky-lightbox.is-zoomed .ky-lightbox__foot { opacity: 0; pointer-events: none; }

.ky-lightbox__btn:focus-visible,
.ky-lightbox__nav:focus-visible {
  outline: 2px solid rgba(123, 127, 245, .9);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  /* У портреті знімок вузький — стрілки йдуть під нього, щоб не закривали. */
  .ky-lightbox__nav { width: 40px; height: 40px; top: auto; bottom: 0; transform: none; }
  .ky-lightbox__nav--prev { left: 2px; }
  .ky-lightbox__nav--next { right: 2px; }
  .ky-lightbox__hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ky-shot__frame img,
  .ky-lightbox__img { transition: none; }
}

/* ─── робочий стіл ─────────────────────────────────────────────────────── */

.ky-agent { max-width: 1180px; margin: 0 auto; padding: clamp(44px, 6vw, 90px) clamp(16px, 4vw, 24px); }
.ky-agent__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.ky-agent__title { margin: 16px 0 0; font-size: clamp(23px, 2.9vw, 38px); line-height: 1.14; }
.ky-agent__sub { margin: 16px 0 0; font-size: 16.5px; color: #b4bcc9; max-width: 48ch; text-wrap: pretty; }
.ky-agent__figure { display: flex; justify-content: center; animation: kyDrift 12s ease-in-out infinite; }
.ky-agent__notif {
  width: min(100%, 380px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, #14161f, #0d0f15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .65);
  overflow: hidden;
}
.ky-agent__notif-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.ky-agent__notif-mark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(140deg, #c9cbff, #4a4fe0);
  display: block;
}
.ky-agent__notif-app { font-size: 13px; font-weight: 600; color: #cdd3dd; }
.ky-agent__notif-time { margin-left: auto; font-size: 12px; color: #6b7383; }
.ky-agent__notif-body { padding: 16px; }
.ky-agent__notif-title { font-size: 15px; font-weight: 600; color: #fff; }
.ky-agent__notif-text { margin-top: 6px; font-size: 14px; color: #98a2b3; text-wrap: pretty; }
.ky-agent__notif-btns { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.ky-agent__btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 9px;
  background: #5c61f2;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
}
.ky-agent__btn--ghost { background: rgba(255, 255, 255, .07); color: #cdd3dd; }

/* ─── безпека ──────────────────────────────────────────────────────────── */

.ky-security { max-width: 1180px; margin: 0 auto; padding: clamp(44px, 6vw, 90px) clamp(16px, 4vw, 24px); }
.ky-security__title { max-width: 22ch; }
.ky-security__grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 18px;
  overflow: hidden;
}
.ky-security__item { background: #0a0b11; padding: 28px 24px; }
.ky-security__item-title { font-size: 16.5px; font-weight: 600; color: #fff; }
.ky-security__item-text { margin-top: 8px; font-size: 14.5px; color: #98a2b3; text-wrap: pretty; }

/* ─── заявка на демо ───────────────────────────────────────────────────── */

.ky-cta {
  position: relative;
  padding: clamp(44px, 6vw, 90px) clamp(16px, 4vw, 24px) clamp(56px, 7vw, 110px);
}
.ky-cta__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 50% 100%, rgba(92, 97, 242, .22), transparent 70%);
  pointer-events: none;
}
.ky-cta__card {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  padding: clamp(26px, 4vw, 52px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
}
.ky-cta__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 3.5vw, 48px);
}
.ky-form__title { font-size: clamp(23px, 2.9vw, 38px); }
.ky-form__sub { margin: 16px 0 0; font-size: 16.5px; color: #b4bcc9; max-width: 40ch; text-wrap: pretty; }
.ky-form__bullets { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.ky-form__bullet { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #cdd3dd; }
.ky-form__bullet-dot {
  margin-top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7b7ff5;
  flex: 0 0 auto;
  display: block;
}
.ky-form__bullet-text { flex: 1; min-width: 0; }
.ky-form__contact { margin-top: 28px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #6b7383; }

.ky-form { display: flex; flex-direction: column; gap: 12px; }
.ky-input, .ky-select, .ky-textarea {
  padding: 13px 15px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  color: #f2f3f8;
  font-size: 15.5px;
  outline: none;
}
.ky-input:focus, .ky-textarea:focus { border-color: #7b7ff5; background: rgba(123, 127, 245, .08); }
.ky-select { color: #b4bcc9; }
.ky-select:focus { border-color: #7b7ff5; }
.ky-textarea { resize: vertical; }
.ky-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.ky-form__row .ky-input { min-width: 0; }
.ky-form__submit {
  margin-top: 4px;
  padding: 15px 20px;
  border-radius: 11px;
  border: none;
  background: #5c61f2;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(92, 97, 242, .35);
}
.ky-form__submit:hover { background: #6b6ff2; }
.ky-form__privacy { font-size: 12.5px; color: #6b7383; text-wrap: pretty; }

/* Стану помилки в макеті немає: підсвічуємо поле й даємо один рядок згори. */
.ky-form__error {
  padding: 13px 16px;
  border-radius: 11px;
  border: 1px solid rgba(245, 205, 99, .3);
  background: rgba(245, 205, 99, .08);
  color: #f5cd63;
  font-size: 14px;
  text-wrap: pretty;
}
.ky-input.is-invalid, .ky-textarea.is-invalid { border-color: rgba(245, 205, 99, .55); }

.ky-done { text-align: center; padding: clamp(20px, 4vw, 48px) 0; }
.ky-done__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(143, 211, 111, .14);
  border: 1px solid rgba(143, 211, 111, .4);
  color: #8fd36f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.ky-done__title {
  margin: 22px 0 0;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  letter-spacing: -.045em;
}
.ky-done__text { margin: 14px auto 0; max-width: 44ch; font-size: 16.5px; color: #b4bcc9; text-wrap: pretty; }

/* ─── підвал ───────────────────────────────────────────────────────────── */

.ky-footer { border-top: 1px solid rgba(255, 255, 255, .07); padding: 34px 24px; }
.ky-footer--demo { padding: 32px 24px; }
.ky-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: #6b7383;
}
.ky-footer__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #cdd3dd;
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  letter-spacing: -.03em;
}
.ky-footer__mark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(140deg, #c9cbff, #4a4fe0);
  display: block;
}
.ky-footer__link { color: #98a2b3; }
.ky-footer__link:hover { color: #ffffff; }
.ky-footer__link--right { margin-left: auto; }

/* ─── сторінка демо ────────────────────────────────────────────────────── */

.ky-demo-hero {
  position: relative;
  padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 24px) 0;
  overflow: hidden;
}
.ky-demo-hero__glow {
  position: absolute;
  inset: -30% 0 auto;
  height: 760px;
  background: radial-gradient(55% 50% at 50% 30%, rgba(92, 97, 242, .28), transparent 70%);
  pointer-events: none;
  animation: kyPulse 11s ease-in-out infinite;
}
.ky-demo-hero__inner { position: relative; max-width: 1180px; margin: 0 auto; }
.ky-demo__title {
  margin: 16px 0 0;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -.05em;
  font-weight: 500;
  max-width: 22ch;
  text-wrap: balance;
}
.ky-demo__sub { margin: 20px 0 0; font-size: clamp(16px, 1.4vw, 19px); color: #b4bcc9; max-width: 58ch; text-wrap: pretty; }

.ky-player {
  margin-top: clamp(28px, 4vw, 48px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01));
  padding: 10px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7);
}
.ky-player__frame {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
}
.ky-player__cover { position: absolute; inset: 0; }
.ky-player__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}
.ky-player__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 7, 10, .35), rgba(6, 7, 10, .75));
}
.ky-player__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: none;
  border-radius: 999px;
  padding: 12px 22px 12px 14px;
  background: rgba(6, 7, 10, .72);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: #fff;
  white-space: nowrap;
}
.ky-player__play:hover { background: rgba(92, 97, 242, .92); }
.ky-player__play-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #5c61f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex: 0 0 auto;
}
.ky-player__play-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #e8ebf3;
}
.ky-player__video-wrap {
  position: absolute;
  inset: 0;
  --plyr-color-main: #5c61f2;
  --plyr-video-background: #000;
  --plyr-badge-background: #5c61f2;
  --plyr-menu-background: rgba(12, 14, 20, .96);
  --plyr-menu-color: #e8ebf3;
  --plyr-video-control-color: #f2f3f8;
  --plyr-range-thumb-background: #dcddff;
}
.ky-player__video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }

.ky-alert {
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(245, 205, 99, .3);
  background: rgba(245, 205, 99, .08);
  color: #f5cd63;
  font-size: 14px;
  text-wrap: pretty;
}

.ky-demo__meta {
  margin-top: 14px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: #6b7383;
  text-transform: uppercase;
}
.ky-demo__meta-dot { width: 4px; height: 4px; border-radius: 50%; background: #39414f; display: block; }

.ky-chapters { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) clamp(16px, 4vw, 24px); }
.ky-chapters__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.ky-chapters__title { font-size: clamp(21px, 2.4vw, 30px); line-height: 1.16; }
.ky-chapters__sub { margin: 14px 0 0; font-size: 16px; color: #98a2b3; max-width: 42ch; text-wrap: pretty; }
.ky-chapters__list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 16px;
  overflow: hidden;
}
.ky-chapter { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: #0a0b11; }
.ky-chapter__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5c61f2;
  flex: 0 0 auto;
  margin-top: 8px;
  display: block;
}
.ky-chapter__body { flex: 1; min-width: 0; }
.ky-chapter__title { display: block; font-size: 15.5px; font-weight: 600; color: #fff; }
.ky-chapter__text { display: block; margin-top: 4px; font-size: 14px; color: #98a2b3; text-wrap: pretty; }

.ky-demo-shots { max-width: 1180px; margin: 0 auto; padding: clamp(28px, 4vw, 56px) clamp(16px, 4vw, 24px); }
.ky-demo-shots__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.ky-demo-cta {
  position: relative;
  padding: clamp(36px, 5vw, 72px) clamp(16px, 4vw, 24px) clamp(56px, 7vw, 100px);
}
.ky-demo-cta__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 70% at 50% 100%, rgba(92, 97, 242, .2), transparent 70%);
  pointer-events: none;
}
.ky-demo-cta__card {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  padding: clamp(28px, 4vw, 52px);
}
.ky-demo-cta__title { font-size: clamp(22px, 2.8vw, 34px); line-height: 1.14; }
.ky-demo-cta__sub { margin: 16px auto 0; max-width: 48ch; font-size: 16.5px; color: #b4bcc9; text-wrap: pretty; }
.ky-demo-cta__btn {
  margin-top: 26px;
  display: inline-block;
  padding: 15px 28px;
  border-radius: 999px;
  background: #5c61f2;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  box-shadow: 0 12px 34px rgba(92, 97, 242, .42);
}
.ky-demo-cta__btn:hover { background: #6b6ff2; color: #ffffff; }

/* Плеєр Plyr малює власну розмітку — інлайновими стилями до неї не дістатись. */
.plyr { width: 100%; height: 100%; font-family: 'Onest', system-ui, sans-serif; }
.plyr__video-wrapper { height: 100%; background: #000; }
.plyr video { width: 100%; height: 100%; object-fit: contain; }
.plyr__control--overlaid { padding: 20px; }

/* ─── адмінка ──────────────────────────────────────────────────────────── */
/* Службові сторінки: та сама палітра, але без промо-декору. */

.ky-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 6vw, 64px) clamp(16px, 4vw, 24px);
}
.ky-login__card {
  width: min(100%, 430px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  padding: clamp(26px, 4vw, 40px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
}
.ky-login__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  letter-spacing: -.03em;
  font-size: 18px;
}
.ky-login__title {
  margin: 0;
  font-family: 'Unbounded', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.04em;
}

.ky-admin { max-width: 1180px; margin: 0 auto; padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 24px); }
.ky-admin__head { display: flex; gap: 8px 20px; align-items: baseline; flex-wrap: wrap; margin-bottom: clamp(18px, 3vw, 28px); }
.ky-admin__title {
  margin: 0;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.14;
  letter-spacing: -.045em;
  font-weight: 500;
}
.ky-admin__count { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #6b7383; }
.ky-admin__badge {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(123, 127, 245, .3);
  background: rgba(92, 97, 242, .14);
  color: #b6b9ff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ky-header__right form { display: flex; margin: 0; }
.ky-admin__link {
  color: #98a2b3;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
}
.ky-admin__link:hover { color: #ffffff; }
.ky-admin__link--button {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  font-size: 14.5px;
  font-weight: 500;
  color: #98a2b3;
}
.ky-admin__link--button:hover { color: #ffffff; }

.ky-admin__empty {
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .09);
  background: #0a0b11;
  color: #98a2b3;
  font-size: 15px;
  text-wrap: pretty;
}
.ky-admin__ok {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(143, 211, 111, .4);
  background: rgba(143, 211, 111, .1);
  color: #8fd36f;
  font-size: 15px;
}
.ky-admin__form { max-width: 420px; }

.ky-admin__scroll {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .09);
  background: #0a0b11;
}
.ky-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ky-table th {
  text-align: left;
  padding: 14px 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6b7383;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.ky-table td {
  padding: 14px 16px;
  color: #cdd3dd;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.ky-table tbody tr:last-child td { border-bottom: none; }
.ky-table tbody tr:hover td { background: rgba(255, 255, 255, .02); }
.ky-table__num, .ky-table__time, .ky-table__lang {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  color: #98a2b3;
  white-space: nowrap;
}
.ky-table__lang { color: #7b7ff5; }
.ky-table__note { min-width: 240px; color: #98a2b3; text-wrap: pretty; }

/* ─── мобільна шапка ───────────────────────────────────────────────────── */
/* До 860px горизонтальне меню не вміщається — бургер і шухляда. */

@media (max-width: 860px) {
  .ky-nav { display: none; }
  .ky-header--landing .ky-header__cta { display: none; }
  .ky-header--landing .ky-burger { display: flex; }
  .ky-drawer.is-open { display: flex; }
}
