/* Final stability layer for the standalone build after removing the Flux runtime. */

main,
main > section,
.km-how-shell,
.km-how-step,
.km-bento-shell,
.km-bento-grid,
.km-feature-row,
.km-feature-media,
.km-feature-copy,
.km-chrome-shell,
.km-chrome-visual,
.km-chrome-copy,
.km-case-shell,
.km-case-stack,
.km-pricing-shell,
.km-faq-shell {
  min-width: 0;
}

.km-how-original-visual img,
.km-original-feature-media img,
.km-feature-scene img,
.km-chrome-screen > img,
.km-case-card img {
  max-width: 100%;
  height: auto;
}

/* Content must never disappear when motion setup is interrupted or unsupported. */
html.js:not(.motion-ready) :is(
  .km-hero-screen,
  .km-attribution-flow,
  .km-attribution-steps article,
  .km-attribution-steps > i,
  .km-how-heading,
  .km-how-step,
  .km-bento-grid > article,
  .km-features-intro,
  .km-feature-row,
  .reveal-media,
  .reveal-copy,
  .km-chrome-visual,
  .km-chrome-copy,
  .km-proof,
  .km-pricing-card,
  .km-faq-label,
  .km-faq-title,
  .km-faq details,
  .km-final-content
) {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
}

/* Keep section reveal transforms visual-only; they cannot alter document geometry. */
html.motion-ready .km-feature-row,
html.motion-ready .km-how-step,
html.motion-ready .km-bento-grid > article,
html.motion-ready .km-chrome-visual,
html.motion-ready .km-chrome-copy,
html.motion-ready .km-proof,
html.motion-ready .km-pricing-card,
html.motion-ready .km-faq details {
  backface-visibility: hidden;
  transform-origin: center top;
}

@media (max-width: 1100px) {
  .km-how-shell,
  .km-bento-shell,
  .km-data-features > .container,
  .km-chrome-shell,
  .km-case-shell,
  .km-faq-shell {
    width: min(100% - 40px, 980px);
  }

  .km-feature-row,
  .km-chrome-shell {
    column-gap: 36px !important;
  }
}

@media (max-width: 900px) {
  .km-how.is-scroll-stack .km-how-step {
    position: relative;
    top: auto;
  }

  .km-how-step,
  .km-feature-row,
  .km-chrome-shell {
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .km-how-shell,
  .km-bento-shell,
  .km-data-features > .container,
  .km-chrome-shell,
  .km-case-shell,
  .km-faq-shell {
    width: calc(100% - 24px);
  }

  .km-feature-scene,
  .km-chrome-screen,
  .km-case-stack,
  .km-pricing-card {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(
    .km-hero-screen,
    .km-attribution-flow,
    .km-attribution-steps article,
    .km-attribution-steps > i,
    .km-how-heading,
    .km-how-step,
    .km-bento-grid > article,
    .km-features-intro,
    .km-feature-row,
    .reveal-media,
    .reveal-copy,
    .km-proof,
    .km-pricing-card,
    .km-faq-label,
    .km-faq-title,
    .km-faq details,
    .km-final-content
  ) {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Reuse the hero grain in monochrome while preserving the footer's graphite color. */
.km-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #111526 !important;
}

.km-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("assets/footer-noise.svg") 0 0 / 360px 360px repeat;
  filter: contrast(1.3);
  mix-blend-mode: soft-light;
  opacity: .72;
}

.km-footer-shell,
.km-footer-bottom {
  position: relative;
  z-index: 1;
}

.km-footer-brand > img.km-footer-partner {
  display: block;
  width: 138px;
  height: auto;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  opacity: 1;
}

/* Match the compact CAPI steps section to the main hero background. */
.km-attribution-flow.km-steps-only {
  background-color: #1558ed !important;
  background-image:
    url("assets/hero-noise-pattern.svg"),
    radial-gradient(circle at 17% 10%, rgba(83, 157, 255, .52), transparent 30%),
    radial-gradient(circle at 84% 66%, rgba(77, 129, 255, .38), transparent 34%),
    linear-gradient(135deg, #2476ef 0%, #2853e9 52%, #1554e9 100%) !important;
  background-position: center top, center, center, center !important;
  background-repeat: no-repeat !important;
  background-size: cover, auto, auto, auto !important;
}

.km-attribution-flow.km-steps-only::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  display: block;
  height: 150px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(129, 155, 255, .24), transparent 72%),
    linear-gradient(180deg, rgba(61, 91, 222, .98) 0%, rgba(53, 83, 218, .62) 34%, rgba(37, 78, 218, 0) 100%);
  opacity: 1;
  mask-image: none;
  -webkit-mask-image: none;
}

.km-attribution-flow.km-steps-only .km-attribution-content {
  position: relative;
  z-index: 1;
}

.km-chrome-section {
  display: none;
}

#features-showcase .km-feature-benefits {
  display: grid;
  gap: 9px;
  margin: 21px 0 0;
  padding: 0;
  color: #35415a;
  list-style: none;
}

#features-showcase .km-feature-benefits li {
  font-size: 14px;
  font-weight: 650;
}

#features-showcase .km-feature-benefits li::before {
  content: "✓";
  margin-right: 9px;
  color: #586fee;
  font-weight: 800;
}

/* Center menu links independently from the logo and right-hand actions. */
@media (min-width: 901px) {
  .km-site-header > .km-nav-shell {
    position: relative;
  }

  .km-site-header .km-nav-links {
    position: absolute;
    left: 50%;
    margin-left: 0;
    transform: translateX(-50%);
  }

  .km-site-header .km-nav-actions {
    margin-left: auto;
  }
}

/* Keep FAQ centering independent from the reveal animation transform. */
.km-faq-title {
  grid-template-columns: minmax(40px, 1fr) minmax(0, auto) minmax(40px, 1fr);
  margin-right: auto;
  margin-left: auto;
  transform: none;
}

.km-faq-title h2 {
  max-width: 760px;
  text-wrap: balance;
}

.km-faq-list {
  width: 100%;
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
}

/* Continue the hero treatment through pricing and keep its marquee out of the card. */
.km-pricing {
  min-height: auto;
  background-color: #1558ed !important;
  background-image:
    url("assets/hero-noise-pattern.svg"),
    radial-gradient(circle at 17% 10%, rgba(83, 157, 255, .52), transparent 30%),
    radial-gradient(circle at 84% 66%, rgba(77, 129, 255, .38), transparent 34%),
    linear-gradient(135deg, #2476ef 0%, #2853e9 52%, #1554e9 100%) !important;
  background-position: center top, center, center, center !important;
  background-repeat: no-repeat !important;
  background-size: cover, auto, auto, auto !important;
}

.km-pricing::before,
.km-pricing::after {
  display: none;
}

@media (min-width: 801px) {
  .km-pricing {
    padding-top: 68px !important;
    padding-bottom: 68px !important;
  }

  .km-pricing .km-pricing-rail {
    position: absolute;
    top: 63%;
    left: 0;
    z-index: 0;
    width: 100%;
    margin: 0;
  }

  .km-pricing-explainer {
    position: absolute;
    top: 548px;
    left: max(24px, calc((100vw - 1180px) / 2));
    z-index: 1;
    width: auto;
    margin: 0;
  }
}

@media (max-width: 800px) {
  .km-pricing .km-pricing-rail {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% + 40px);
    margin: 46px -20px 0;
  }

  .km-pricing-explainer {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin: 34px auto 0;
  }
}

@media (min-width: 761px) {
  .km-chrome-overlay {
    left: 14%;
    right: 12%;
    bottom: 92px;
    grid-template-columns: minmax(150px, .82fr) 1px minmax(210px, 1fr);
    gap: 22px;
    padding: 20px 26px;
    border-radius: 20px;
  }

  .km-chrome-overlay img {
    max-width: 200px;
  }

  .km-chrome-overlay span {
    font-size: clamp(18px, 1.65vw, 28px);
  }
}

/* Cleaner button typography in the navigation and hero. */
.km-site-header .km-nav-login,
.km-site-header .km-nav-cta,
.km-hero-cta {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 650 !important;
  font-variation-settings: "wght" 650;
  letter-spacing: -.018em;
  line-height: 1.1;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.km-site-header .km-nav-login,
.km-site-header .km-nav-cta {
  display: inline-flex;
  height: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 4px;
  font-size: 13px;
  transition: height .35s ease, min-height .35s ease, padding .35s ease, font-size .35s ease, background .2s ease;
}

.km-hero-cta {
  font-size: 13px;
}

/* The compact state remains wider than the 1080px hero dashboard. */
@media (min-width: 701px) {
  .km-site-header > .km-nav-shell {
    height: 64px;
    width: min(1160px, calc(100vw - 48px));
  }

  .km-site-header.is-scrolled > .km-nav-shell {
    height: 52px;
    width: min(1080px, calc(100vw - 48px));
  }

  .km-site-header.is-scrolled .km-nav-login,
  .km-site-header.is-scrolled .km-nav-cta {
    height: 36px;
    min-height: 36px;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 12px;
  }
}

/* Full-bleed gray canvas; only the feature content remains constrained. */
main > #features-showcase.km-data-features {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  background-color: #f7f8fb;
}

/* Polish, revenue-based pricing inspired by the simplicity of HYROS. */
.km-pricing.km-pricing-modern {
  --pricing-level: 1;
  display: grid;
  min-height: 0;
  padding: 68px 24px !important;
  place-items: center;
}

.km-pricing-modern .km-pricing-modern-card {
  --pricing-level: 1;
  position: relative;
  isolation: isolate;
  display: flex;
  width: min(1500px, 100%);
  min-height: 760px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 62px 48px 54px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 44px;
  background:
    radial-gradient(circle at 50% 55%, rgba(99, 102, 241, .07), transparent 29%),
    linear-gradient(145deg, #fbfaf5 0%, #f6f3e9 100%);
  box-shadow: 0 32px 90px rgba(16, 30, 92, .24);
  color: #161827;
  text-align: center;
}

.km-pricing-modern .km-pricing-modern-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(67, 86, 153, .09) .8px, transparent .8px);
  background-size: 18px 18px;
  opacity: .26;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 78%, transparent);
}

.km-pricing-modern-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #6c7286;
  font: 750 13px/1 Inter, ui-sans-serif, sans-serif;
  letter-spacing: .22em;
}

.km-pricing-modern .km-pricing-modern-card h2 {
  margin: 0;
  color: #171824;
  font: 650 clamp(42px, 5.6vw, 82px)/.98 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.045em;
}

.km-pricing-modern .km-pricing-modern-card h2 em {
  color: #171824;
  font-style: italic;
  font-weight: 500;
}

.km-pricing-k-stage {
  position: relative;
  display: grid;
  width: 170px;
  height: 160px;
  margin: 18px 0 -2px;
  place-items: center;
}

.km-pricing-k-stage span {
  position: absolute;
  width: calc(88px + var(--pricing-level) * 12px);
  height: calc(88px + var(--pricing-level) * 12px);
  border-radius: 50%;
  background: rgba(85, 87, 244, .15);
  filter: blur(20px);
  transition: width .35s ease, height .35s ease, background .35s ease;
}

.km-pricing-k-stage img {
  position: relative;
  z-index: 1;
  width: calc(78px + var(--pricing-level) * 11px);
  height: calc(78px + var(--pricing-level) * 11px);
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(47, 63, 190, .22));
  transition: width .35s cubic-bezier(.2,.8,.2,1), height .35s cubic-bezier(.2,.8,.2,1), filter .35s ease;
}

.km-pricing-modern-card.is-custom .km-pricing-k-stage span {
  background: rgba(112, 79, 230, .28);
}

.km-pricing-modern-card.is-custom .km-pricing-k-stage img {
  filter: drop-shadow(0 14px 24px rgba(86, 54, 210, .35));
}

.km-pricing-slider-wrap {
  width: min(720px, 76vw);
}

.km-pricing-modern input[type="range"] {
  width: 100%;
  height: 30px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: grab;
  background: transparent;
}

.km-pricing-modern input[type="range"]:active {
  cursor: grabbing;
}

.km-pricing-modern input[type="range"]::-webkit-slider-runnable-track {
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(to right, #5560f3 var(--range-progress), #dedff5 var(--range-progress));
}

.km-pricing-modern input[type="range"]::-moz-range-track {
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(to right, #5560f3 var(--range-progress), #dedff5 var(--range-progress));
}

.km-pricing-modern input[type="range"]::-webkit-slider-thumb {
  width: 34px;
  height: 34px;
  margin-top: -13px;
  appearance: none;
  -webkit-appearance: none;
  border: 5px solid #5560f3;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 38, 101, .22);
}

.km-pricing-modern input[type="range"]::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border: 5px solid #5560f3;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 38, 101, .22);
}

.km-pricing-scale-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 1px;
  color: #777d91;
  font: 650 13px/1 Inter, ui-sans-serif, sans-serif;
}

.km-pricing-revenue-label {
  margin: 24px 0 4px;
  color: #6e7488;
  font: 750 13px/1.35 Inter, ui-sans-serif, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.km-pricing-revenue-label strong {
  color: #545bed;
}

.km-pricing-modern-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-top: 2px;
}

.km-pricing-modern-price strong {
  color: #171824;
  font: 650 clamp(54px, 6.2vw, 88px)/1 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.045em;
}

.km-pricing-modern-price span {
  color: #747a8d;
  font: 500 17px/1 Inter, ui-sans-serif, sans-serif;
}

.km-pricing-modern-plan {
  margin-top: 5px;
  color: #5d6275;
  font: 700 12px/1 Inter, ui-sans-serif, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.km-pricing-modern-actions {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}

.km-pricing-modern-actions a {
  display: inline-flex;
  min-width: 190px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid rgba(57, 63, 99, .08);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(25, 30, 65, .12);
  color: #253051;
  font: 750 16px/1 Inter, ui-sans-serif, sans-serif;
  transition: transform .2s ease, box-shadow .2s ease;
}

.km-pricing-modern-actions a:first-child {
  border-color: #f4df51;
  background: #f8e45c;
  color: #18213f;
  box-shadow: 0 14px 28px rgba(220, 190, 30, .22);
}

.km-pricing-modern-actions a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(25, 30, 65, .17);
}

.km-pricing-modern-note {
  margin-top: 16px;
  padding: 10px 22px;
  border: 1px solid rgba(80, 87, 118, .07);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: #6a7083;
  font: 650 13px/1.2 Inter, ui-sans-serif, sans-serif;
}

.km-pricing-stops .km-pricing-enterprise-icon {
  display: grid;
  place-items: center;
  color: #536ff0;
}

.km-pricing-stops .km-pricing-enterprise-icon svg {
  width: 18px;
  height: 18px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 3px 5px rgba(58, 78, 188, .2));
}

@media (max-width: 700px) {
  .km-pricing.km-pricing-modern {
    padding: 30px 12px !important;
  }

  .km-pricing-modern .km-pricing-modern-card {
    min-height: 650px;
    padding: 46px 18px 38px;
    border-radius: 30px;
  }

  .km-pricing-modern .km-pricing-modern-card h2 {
    max-width: 330px;
    font-size: clamp(42px, 13vw, 58px);
  }

  .km-pricing-k-stage {
    height: 130px;
    margin-top: 10px;
  }

  .km-pricing-slider-wrap {
    width: min(100%, 430px);
  }

  .km-pricing-revenue-label {
    max-width: 310px;
    margin-top: 20px;
    font-size: 11px;
  }

  .km-pricing-modern-price {
    flex-direction: column;
    gap: 2px;
  }

  .km-pricing-modern-price strong {
    font-size: 58px;
  }

  .km-pricing-modern-actions {
    width: 100%;
    max-width: 340px;
    flex-direction: column;
    gap: 10px;
  }

  .km-pricing-modern-actions a {
    width: 100%;
    min-height: 54px;
  }

  .km-pricing-modern-note {
    font-size: 11px;
  }
}

/* Hero-style grain without stretching the hero's large blurred light spots. */
.km-how-shell {
  position: relative;
  isolation: isolate;
  background-color: #5267e4;
  background-image:
    radial-gradient(circle at 88% 4%, rgba(149, 171, 244, .2) 0, rgba(149, 171, 244, 0) 25%),
    linear-gradient(135deg, #4656df 0%, #566be3 52%, #657ddb 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.km-how-shell::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: url("assets/hero-noise-pattern.svg") center / 1120px auto repeat;
  opacity: .18;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.km-how-shell > * {
  position: relative;
  z-index: 1;
}

/* Keep the case-study carousel compact instead of inheriting the global content width. */
@media (min-width: 801px) {
  .km-proof {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .km-proof .km-case-shell {
    width: min(900px, calc(100vw - 64px));
  }

  .km-proof .km-case-stack {
    height: 546px;
  }
}

/* Restore the original one-shot dashboard entrance in the hero. */
html.motion-ready main > .km-hero .km-hero-screen.is-visible {
  animation: kmHeroDashboardEntrance 1.18s .12s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes kmHeroDashboardEntrance {
  0% {
    opacity: 0;
    transform: translate3d(0, 64px, 0) scale(.955);
  }
  58% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  main > .km-hero .km-hero-screen.is-visible {
    animation: none;
  }
}

/* Restore the split scroll entrance for the former Flux feature rows. */
html.motion-ready #features-showcase .km-feature-row {
  opacity: 1;
  transform: none;
}

html.motion-ready #features-showcase .km-feature-media,
html.motion-ready #features-showcase .km-feature-copy {
  opacity: 0;
  transition:
    opacity .68s ease,
    transform .9s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}

html.motion-ready #features-showcase .km-feature-row:nth-child(odd) .km-feature-media,
html.motion-ready #features-showcase .km-feature-row:nth-child(even) .km-feature-copy {
  transform: translate3d(-42px, 18px, 0);
}

html.motion-ready #features-showcase .km-feature-row:nth-child(odd) .km-feature-copy,
html.motion-ready #features-showcase .km-feature-row:nth-child(even) .km-feature-media {
  transform: translate3d(42px, 18px, 0);
}

html.motion-ready #features-showcase .km-feature-row.is-visible .km-feature-media,
html.motion-ready #features-showcase .km-feature-row.is-visible .km-feature-copy {
  opacity: 1;
  transform: none;
}

html.motion-ready #features-showcase .km-feature-row.is-visible .km-feature-copy {
  transition-delay: .11s;
}

/* Dark, always-current sales panel in the bento reports card. */
.km-live-report-card {
  min-height: 590px;
  border-color: #1c3152;
  background: linear-gradient(145deg, #0d1d38, #07162e);
  color: #fff;
  box-shadow: 0 28px 65px rgba(7, 20, 47, .2);
}

.km-original-feature-meetings .km-original-feature-media.km-live-report-visual {
  position: relative;
  display: block;
  width: 100%;
  height: 410px;
  padding: 28px 28px 50px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(61, 141, 255, .13), transparent 230px),
    linear-gradient(rgba(147, 184, 239, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 184, 239, .035) 1px, transparent 1px),
    #0a1830;
  background-size: auto, 46px 46px, 46px 46px, auto;
}

.km-live-report-panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(145, 188, 245, .16);
  border-radius: 18px;
  background: rgba(7, 19, 41, .95);
  box-shadow: 0 24px 50px rgba(0, 5, 20, .35), inset 0 1px rgba(255, 255, 255, .035);
}

.km-live-report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 14px;
  border-bottom: 1px solid rgba(135, 178, 235, .11);
}

.km-live-report-head > div { display: grid; gap: 3px; }
.km-live-report-head span { color: #6081ad; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.km-live-report-head strong { color: #fff; font-size: 13px; }
.km-live-report-head em { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid rgba(92, 224, 159, .22); border-radius: 999px; background: rgba(40, 198, 123, .07); color: #74e4ae; font-size: 9px; font-style: normal; font-weight: 750; }
.km-live-report-head em i { width: 6px; height: 6px; border-radius: 50%; background: #59df9f; box-shadow: 0 0 0 0 rgba(89, 223, 159, .45); animation: km-live-pulse 2s infinite; }

.km-live-report-metrics { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 9px; padding: 12px; }
.km-live-report-metrics > div { display: grid; gap: 3px; min-width: 0; padding: 11px 12px; border: 1px solid rgba(132, 176, 231, .11); border-radius: 12px; background: rgba(255, 255, 255, .018); }
.km-live-report-metrics > div.is-primary { background: linear-gradient(145deg, rgba(39, 121, 230, .17), rgba(255, 255, 255, .01)); }
.km-live-report-metrics span { color: #778ba8; font-size: 8px; }
.km-live-report-metrics strong { color: #fff; font-size: 15px; line-height: 1.1; }
.km-live-report-metrics small { color: #59df9f; font-size: 7px; }

.km-live-report-chart { position: relative; height: 132px; margin: 0 12px 12px; padding: 12px 14px 7px; overflow: hidden; border: 1px solid rgba(132, 176, 231, .11); border-radius: 13px; background: rgba(3, 13, 30, .55); }
.km-live-report-chart::before { position: absolute; inset: 46px 14px 12px; content: ""; background: repeating-linear-gradient(to bottom, rgba(125, 163, 214, .09) 0 1px, transparent 1px 32px); }
.km-live-report-chart-head { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.km-live-report-chart-head > span { color: #7488a4; font-size: 8px; }
.km-live-report-chart-head strong { margin-left: 8px; color: #fff; font-size: 10px; }
.km-live-report-chart-head > small { padding: 4px 6px; border: 1px solid rgba(132, 176, 231, .11); border-radius: 6px; color: #7488a4; font-size: 7px; }
.km-live-report-chart svg { position: absolute; right: 14px; bottom: 7px; left: 14px; width: calc(100% - 28px); height: 86px; overflow: visible; }
.km-live-report-area { fill: url(#km-live-area); }
.km-live-report-line { fill: none; stroke: #5f98ff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 5px rgba(95, 152, 255, .65)); animation: km-live-draw 3.6s cubic-bezier(.65, 0, .35, 1) infinite; }
.km-live-report-chart > i { position: absolute; right: 11px; bottom: 78px; width: 8px; height: 8px; border: 2px solid #b8dbff; border-radius: 50%; background: #438ff7; box-shadow: 0 0 0 5px rgba(67, 143, 247, .15); animation: km-live-point 2s ease-in-out infinite; }

.km-live-report-panel footer { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 9px; padding: 2px 14px 15px; }
.km-live-report-source { display: flex; align-items: center; gap: 7px; }
.km-live-report-source > b { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; color: #fff; font-size: 11px; }
.km-live-report-shop > b { background: linear-gradient(145deg, #a8dc58, #65a62d); }
.km-live-report-store-logos { display: flex; align-items: center; padding-right: 4px; }
.km-live-report-store-logos img { display: block; width: 28px; height: 28px; object-fit: cover; border: 1px solid rgba(255,255,255,.9); border-radius: 8px; background: #fff; box-shadow: 0 4px 11px rgba(39,57,104,.14); }
.km-live-report-store-logos img + img { margin-left: -7px; }
.km-live-report-ads > b { background: linear-gradient(145deg, #559bff, #6955ee); }
.km-live-report-source > span { display: grid; gap: 1px; }
.km-live-report-source strong { color: #fff; font-size: 8px; }
.km-live-report-source small { color: #607491; font-size: 7px; white-space: nowrap; }
.km-live-report-flow { position: relative; height: 1px; overflow: hidden; background: rgba(110, 159, 219, .22); }
.km-live-report-flow::after { position: absolute; top: -1px; left: -38%; width: 38%; height: 3px; border-radius: 99px; background: linear-gradient(90deg, transparent, #54a8ff); box-shadow: 0 0 7px #3a9bff; content: ""; animation: km-live-flow 2.15s linear infinite; }
.km-live-report-flow.is-right::after { animation-delay: -1.08s; }
.km-live-report-sync { display: grid; justify-items: center; gap: 2px; }
.km-live-report-sync b { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(84, 174, 255, .34); border-radius: 9px; background: linear-gradient(145deg, #2b82e5, #55a8ff); color: #fff; font-size: 16px; box-shadow: 0 0 17px rgba(53, 149, 245, .3); animation: km-live-spin 4s ease-in-out infinite; }
.km-live-report-sync small { color: #607491; font-size: 6px; }

.km-live-report-toast { position: absolute; z-index: 3; right: 18px; bottom: 16px; display: flex; align-items: center; gap: 8px; min-width: 154px; padding: 10px 12px; border: 1px solid rgba(93, 225, 161, .22); border-radius: 11px; background: rgba(7, 28, 39, .97); box-shadow: 0 12px 28px rgba(0, 5, 18, .42); animation: km-live-toast 5s ease-in-out infinite; }
.km-live-report-toast > b { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: rgba(64, 213, 142, .14); color: #65e1a7; font-size: 11px; }
.km-live-report-toast > span { display: grid; gap: 1px; }
.km-live-report-toast strong { color: #fff; font-size: 9px; }
.km-live-report-toast small { color: #65dba4; font-size: 7px; }

.km-live-report-card .km-original-feature-copy { padding-top: 25px; background: linear-gradient(180deg, rgba(9, 25, 50, .86), #091932); }
.km-live-report-card .km-original-feature-copy h3,
.km-live-report-card .km-original-feature-copy p strong { color: #fff; }
.km-live-report-card .km-original-feature-copy p { color: #91a1ba; }

/* Light variant requested for the automatically updated reports card. */
.km-live-report-card {
  border-color: #dfe7f3;
  background: #f5f8ff;
  color: #172440;
  box-shadow: 0 24px 58px rgba(54, 76, 130, .13);
}

.km-original-feature-meetings .km-original-feature-media.km-live-report-visual {
  background:
    radial-gradient(circle at 78% 18%, rgba(91, 126, 239, .12), transparent 230px),
    linear-gradient(rgba(84, 106, 175, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 106, 175, .055) 1px, transparent 1px),
    #f4f7fd;
  background-size: auto, 46px 46px, 46px 46px, auto;
}

.km-live-report-panel {
  border-color: #dce5f2;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 22px 48px rgba(51, 72, 122, .13), inset 0 1px #fff;
}

.km-live-report-head { border-bottom-color: #e4eaf3; }
.km-live-report-head span { color: #6f809b; }
.km-live-report-head strong { color: #172440; }
.km-live-report-head em { border-color: #ccead9; background: #edf9f2; color: #319461; }

.km-live-report-metrics > div {
  border-color: #dfe6f1;
  background: #f8faff;
}
.km-live-report-metrics > div.is-primary { background: linear-gradient(145deg, #edf4ff, #f9fbff); }
.km-live-report-metrics span { color: #74829a; }
.km-live-report-metrics strong { color: #172440; }
.km-live-report-metrics small { color: #43a66c; }

.km-live-report-chart {
  border-color: #dfe6f1;
  background: rgba(250, 252, 255, .96);
}
.km-live-report-chart::before { background: repeating-linear-gradient(to bottom, rgba(83, 106, 164, .1) 0 1px, transparent 1px 32px); }
.km-live-report-chart-head > span { color: #74829a; }
.km-live-report-chart-head strong { color: #172440; }
.km-live-report-chart-head > small { border-color: #dfe6f1; background: #fff; color: #74829a; }

.km-live-report-source strong { color: #172440; }
.km-live-report-source small,
.km-live-report-sync small { color: #71809a; }
.km-live-report-flow { background: #dbe4f1; }

.km-live-report-toast {
  border-color: #d5eadf;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 12px 28px rgba(45, 68, 116, .15);
}
.km-live-report-toast strong { color: #20304d; }
.km-live-report-toast small { color: #3fa46a; }

.km-live-report-card .km-original-feature-copy {
  background: linear-gradient(180deg, #f4f7fd, #f8fbff);
}
.km-live-report-card .km-original-feature-copy h3,
.km-live-report-card .km-original-feature-copy p strong { color: #172440; }
.km-live-report-card .km-original-feature-copy p { color: #687791; }
.km-live-report-visual > .km-signal-motion { display: none !important; }

/* Keep the radar artwork and its copy on one seamless light surface. */
.km-original-feature-data {
  border-color: #dfe7f3;
  background: #f5f8ff;
  color: #172440;
  box-shadow: 0 24px 58px rgba(54, 76, 130, .13);
}
.km-original-feature-data .km-original-feature-media.km-bento-radar-visual,
.km-bento-radar-frame { background: #f5f8ff; }
.km-original-feature-data .km-original-feature-copy { background: #f5f8ff; }
.km-original-feature-data h3,
.km-original-feature-data p strong { color: #172440; }
.km-original-feature-data p { color: #687791; }

/* Stronger hierarchy and better balance for the decision / ad-set card. */
.km-original-feature-personalization {
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  background: linear-gradient(90deg, #f3f9ff 0 39%, #f7f9ff 39% 100%);
}

.km-original-feature-personalization .km-original-feature-copy {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 42px 26px 42px 34px;
  border-right: 1px solid #e1e8f4;
}

.km-original-feature-personalization .km-original-feature-copy::before {
  width: max-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid #d9e3f3;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: #62718f;
  content: "JEDNO ŹRÓDŁO DANYCH";
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.km-original-feature-personalization .km-original-feature-copy p {
  max-width: 315px;
  color: #687791;
  font-size: clamp(24px, 1.9vw, 30px);
  line-height: 1.15;
}

.km-original-feature-personalization .km-original-feature-copy p strong {
  display: block;
  margin-bottom: 7px;
  color: #172440;
}

.km-original-feature-personalization .km-original-feature-tags {
  gap: 8px;
  margin-top: 27px;
}

.km-original-feature-personalization .km-original-feature-tags span {
  padding: 9px 11px;
  border-color: #dbe4f1;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 8px 20px rgba(44, 66, 119, .06);
}

.km-original-feature-personalization .km-original-feature-media.km-bento-performance-visual {
  border-left: 0;
  background: #f7f9ff;
}

/* Wide, vertical decision card: message first, evidence directly below. */
@media (min-width: 821px) {
  .km-original-feature-personalization {
    grid-column: 1 / -1;
    display: flex;
    min-height: 760px;
    flex-direction: column;
    align-items: stretch;
    background: #f7f9ff;
  }

  .km-original-feature-personalization .km-original-feature-copy {
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr);
    grid-template-rows: auto auto;
    column-gap: 48px;
    align-items: end;
    padding: 34px 46px 32px;
    border-right: 0;
    border-bottom: 1px solid #e1e8f4;
    background: linear-gradient(110deg, #f3f9ff 0%, #f7f9ff 72%);
  }

  .km-original-feature-personalization .km-original-feature-copy::before {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    margin-bottom: 16px;
  }

  .km-original-feature-personalization .km-original-feature-copy p {
    max-width: 540px;
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    font-size: clamp(27px, 2.25vw, 35px);
    line-height: 1.1;
  }

  .km-original-feature-personalization .km-original-feature-tags {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-content: center;
    align-self: center;
    margin-top: 0;
  }

  .km-original-feature-personalization .km-original-feature-tags span {
    padding: 11px 14px;
    font-size: 12px;
  }

  .km-original-feature-personalization .km-original-feature-media.km-bento-performance-visual {
    width: 100%;
    height: 540px;
    min-height: 540px;
    flex: 0 0 540px;
  }
}

@keyframes km-live-pulse { 70% { box-shadow: 0 0 0 7px rgba(89, 223, 159, 0); } }
@keyframes km-live-draw { 0%, 12% { stroke-dashoffset: 1; } 58%, 100% { stroke-dashoffset: 0; } }
@keyframes km-live-point { 50% { transform: scale(1.2); } }
@keyframes km-live-flow { to { left: 105%; } }
@keyframes km-live-spin { 0%, 45% { transform: rotate(0); } 65%, 100% { transform: rotate(360deg); } }
@keyframes km-live-toast { 0%, 18% { opacity: 0; transform: translateY(10px); } 27%, 78% { opacity: 1; transform: translateY(0); } 90%, 100% { opacity: 0; transform: translateY(-5px); } }

@media (max-width: 520px) {
  .km-live-report-card { min-height: 565px; }
  .km-original-feature-meetings .km-original-feature-media.km-live-report-visual { height: 390px; padding: 16px 10px 47px; }
  .km-live-report-head { padding-inline: 13px; }
  .km-live-report-metrics { gap: 6px; padding: 8px; }
  .km-live-report-metrics > div { padding: 9px 8px; }
  .km-live-report-metrics strong { font-size: 13px; }
  .km-live-report-chart { height: 130px; margin-inline: 8px; }
  .km-live-report-panel footer { gap: 5px; padding-inline: 9px; }
  .km-live-report-source > span { display: none; }
  .km-live-report-toast { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .km-live-report-card * { animation: none !important; }
}

@media (max-width: 760px) {
  html.motion-ready #features-showcase .km-feature-media,
  html.motion-ready #features-showcase .km-feature-copy {
    transform: translate3d(0, 26px, 0);
  }
}

/* Consolidated mobile layout: one gutter, compact cards and reliable content. */
@media (max-width: 700px) {
  html.motion-ready :is(
    .km-how-heading,
    .km-how-step,
    .km-how-step .km-how-copy > *,
    .km-how-step .km-how-original-visual img,
    .km-bento-grid > article,
    .km-features-intro,
    #features-showcase .km-feature-row,
    #features-showcase .km-feature-media,
    #features-showcase .km-feature-copy
  ) {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  main > .km-how,
  main > .km-bento {
    width: 100% !important;
    margin-inline: 0 !important;
  }

  .km-how {
    padding: 10px 10px 68px;
  }

  .km-how-shell,
  .km-bento-shell,
  .km-data-features > .container {
    width: 100%;
    margin-inline: auto;
  }

  .km-how-shell {
    padding: 56px 10px 22px;
    border-radius: 20px;
  }

  .km-how-heading {
    padding-inline: 10px;
  }

  .km-how-heading h2 {
    margin-top: 20px;
    font-size: clamp(31px, 9.2vw, 38px);
  }

  .km-how-steps {
    gap: 14px;
    margin-top: 38px;
  }

  .km-how-step {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    border-radius: 18px;
  }

  .km-how-step.reverse .km-how-copy {
    order: 1;
  }

  .km-how-step.reverse > :last-child {
    order: 2;
  }

  .km-how-copy {
    padding: 28px 22px 30px;
  }

  .km-how-copy h3 {
    margin-top: 18px;
    font-size: clamp(27px, 7.8vw, 31px);
  }

  .km-how-copy ul {
    gap: 10px;
    margin-top: 22px;
  }

  .km-how-original-visual {
    height: 330px;
    min-height: 330px;
  }

  .km-platform-sync-frame,
  .km-accuracy-frame,
  .km-dashboard-frame {
    height: 100%;
    min-height: 0;
  }

  .km-how-step:nth-child(3) .km-how-original-visual {
    height: 255px;
    min-height: 255px;
  }

  .km-bento {
    padding: 64px 10px 72px !important;
  }

  .km-original-bento .km-bento-grid {
    gap: 14px;
  }

  .km-original-feature,
  .km-original-feature-data,
  .km-original-feature-email,
  .km-original-feature-personalization,
  .km-original-feature-meetings,
  .km-live-report-card {
    min-height: 0;
  }

  .km-original-feature-copy {
    padding: 26px 22px;
  }

  .km-original-feature-data .km-original-feature-media,
  .km-original-feature-data .km-original-feature-media.km-bento-radar-visual {
    height: 350px;
    min-height: 350px;
  }

  .km-original-feature-email .km-original-feature-media {
    height: 280px;
    min-height: 280px;
  }

  .km-original-feature-personalization {
    display: flex;
    flex-direction: column;
  }

  .km-original-feature-personalization .km-original-feature-copy p {
    font-size: 24px;
  }

  .km-original-feature-personalization .km-original-feature-copy {
    height: auto;
    padding: 28px 22px 30px;
    border-right: 0;
    border-bottom: 1px solid #e1e8f4;
  }

  .km-original-feature-personalization .km-original-feature-copy::before {
    margin-bottom: 15px;
  }

  .km-original-feature-personalization .km-original-feature-tags {
    margin-top: 21px;
  }

  .km-original-feature-personalization .km-original-feature-media.km-bento-performance-visual {
    width: 100%;
    height: 330px;
    min-height: 330px;
    flex: 0 0 330px;
  }

  .km-original-feature-meetings .km-original-feature-media.km-live-report-visual {
    height: 350px;
    min-height: 350px;
    padding: 12px 8px 42px;
  }

  #features-showcase.km-data-features {
    padding: 64px 12px 72px;
  }

  #features-showcase .km-feature-row {
    gap: 22px;
    margin-bottom: 64px;
  }

  #features-showcase .km-feature-row:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 430px) {
  .km-how-original-visual {
    height: 310px;
    min-height: 310px;
  }

  .km-how-step:nth-child(3) .km-how-original-visual {
    height: 230px;
    min-height: 230px;
  }

  .km-original-feature-data .km-original-feature-media,
  .km-original-feature-data .km-original-feature-media.km-bento-radar-visual {
    height: 330px;
    min-height: 330px;
  }
}

/* Equal visual height for the official Google Play and App Store badges. */
.km-store-badges .is-google-play,
.km-store-badges .is-app-store {
  height: 50px !important;
}

.km-store-badges .is-google-play img,
.km-store-badges .is-app-store img {
  width: auto !important;
  height: 50px !important;
  max-width: none !important;
  object-fit: contain !important;
}

@media (max-width: 600px) {
  .km-store-badges .is-google-play,
  .km-store-badges .is-app-store,
  .km-store-badges .is-google-play img,
  .km-store-badges .is-app-store img {
    height: 44px !important;
  }
}

/* Flutter app preview paired with the native Android home-screen widget. */
#aplikacja .km-feature-mobile {
  display: flex;
  min-height: 540px;
  align-items: center;
  padding: 28px 24px;
  background:
    radial-gradient(circle at 82% 22%, rgba(122, 142, 255, .28), transparent 34%),
    linear-gradient(145deg, #f1f5ff, #e4ebff);
}

#aplikacja .km-feature-mobile > img {
  position: relative;
  z-index: 2;
  width: 58%;
  height: 480px;
  margin: 0 0 0 -2%;
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(0 24px 34px rgba(35, 49, 123, .16));
}

#aplikacja .km-android-widget {
  box-sizing: border-box;
  position: absolute !important;
  z-index: 5 !important;
  top: 51% !important;
  right: 4% !important;
  bottom: auto !important;
  left: auto !important;
  width: min(40%, 252px) !important;
  min-height: 0 !important;
  padding: 14px 15px 13px !important;
  border-radius: 21px !important;
  transform: translateY(-50%) rotate(.6deg) !important;
  box-shadow: 0 24px 46px rgba(36,49,151,.25), 0 0 0 1px rgba(255,255,255,.12), inset 0 1px rgba(255,255,255,.25) !important;
  animation: km-android-widget-float 6s ease-in-out infinite !important;
}

#aplikacja .km-android-widget .km-feature-widget-head img { width: 94px !important; }
#aplikacja .km-android-widget .km-feature-widget-head span { font-size: 8px; }
#aplikacja .km-android-widget .km-widget-store { margin-top: 7px; }
#aplikacja .km-android-widget .km-widget-store strong { font-size: 13px; }
#aplikacja .km-android-widget .km-widget-store small { margin-top: 2px; font-size: 7px; }
#aplikacja .km-android-widget .km-widget-bento-grid { gap: 6px; margin-top: 9px; }
#aplikacja .km-android-widget .km-widget-revenue { padding: 8px; border-radius: 10px; }
#aplikacja .km-android-widget .km-widget-revenue small,
#aplikacja .km-android-widget .km-widget-metrics small { font-size: 6px; }
#aplikacja .km-android-widget .km-widget-revenue strong { margin-top: 4px; font-size: 18px; }
#aplikacja .km-android-widget .km-widget-revenue svg { height: 21px; margin-top: 3px; }
#aplikacja .km-android-widget .km-widget-metrics { gap: 4px; }
#aplikacja .km-android-widget .km-widget-metrics span { gap: 5px; padding: 5px 6px; border-radius: 8px; }
#aplikacja .km-android-widget .km-widget-metrics strong { font-size: 10px; }

#aplikacja .km-android-widget::after {
  content: "WIDGET ANDROID";
  position: absolute;
  right: 13px;
  bottom: -27px;
  padding: 5px 8px;
  border: 1px solid rgba(78, 96, 190, .12);
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  color: #65718d;
  box-shadow: 0 8px 18px rgba(44,59,126,.09);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .11em;
}

@keyframes km-android-widget-float {
  0%,100% { transform: translateY(-50%) rotate(.6deg); }
  50% { transform: translateY(calc(-50% - 6px)) rotate(0deg); }
}

@media (max-width: 760px) {
  #aplikacja .km-feature-mobile {
    min-height: 560px;
    padding: 20px 14px 34px;
  }

  #aplikacja .km-feature-mobile > img {
    width: 59%;
    height: 470px;
    margin-left: -4%;
  }

  #aplikacja .km-android-widget {
    right: 2% !important;
    width: min(41%, 232px) !important;
    min-height: 0 !important;
    padding: 12px 13px !important;
  }
}

@media (max-width: 480px) {
  #aplikacja .km-feature-mobile {
    min-height: 570px;
    align-items: flex-start;
    justify-content: center;
  }

  #aplikacja .km-feature-mobile > img {
    width: 76%;
    height: 405px;
    margin: 0;
  }

  #aplikacja .km-android-widget {
    top: auto !important;
    right: 50% !important;
    bottom: 25px !important;
    width: min(82%, 250px) !important;
    min-height: 0 !important;
    transform: translateX(50%) rotate(-.4deg) !important;
    animation: none !important;
  }

  #aplikacja .km-android-widget::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #aplikacja .km-android-widget {
    animation: none !important;
  }
}

/* Crisp, conventionally proportioned pointer for the animated feature scenes. */
.km-feature-cursor {
  width: 18px !important;
  height: 26px !important;
  background: #26314d !important;
  clip-path: polygon(3% 1%, 3% 82%, 23% 64%, 40% 97%, 55% 90%, 38% 60%, 68% 60%) !important;
  filter: drop-shadow(0 2px 2px rgba(18, 27, 56, .28)) !important;
  transform-origin: 3% 1%;
}

.km-feature-cursor::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 13px;
  height: 20px;
  background: #fff;
  clip-path: polygon(0 0, 0 82%, 23% 64%, 40% 97%, 55% 90%, 38% 60%, 68% 60%);
}

/* MCP cloned from the established "Jak działa Klientometr" section. */
.km-mcp {
  width: auto;
  padding: 18px 24px 112px;
  background: #fff;
  color: #172440;
}

.km-mcp-shell {
  display: block;
  width: min(100%, 1450px);
  max-width: none;
  margin: auto;
  padding: 112px 62px 68px;
  overflow: hidden;
  border: 0;
  border-radius: 25px;
  background: radial-gradient(circle at 85% 8%, rgba(134,163,244,.38), transparent 34%), linear-gradient(135deg,#4656df,#657ddb);
  box-shadow: none;
  color: #fff;
}

.km-mcp-heading {
  max-width: 900px;
  margin: auto;
  color: #fff;
  text-align: center;
}

.km-mcp-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 0 auto 13px;
  padding: 8px 16px 7px;
  border: 1px solid #d4bd45;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffed78 0%, #ffe45c 100%);
  color: #172038;
  box-shadow: 0 9px 22px rgba(45,50,120,.2), inset 0 2px rgba(255,255,255,.5);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
  font-variation-settings: "wght" 700;
  letter-spacing: -.015em;
  line-height: 1;
}

.km-pricing-card .km-pricing-addon {
  margin-top: 5px;
  padding: 11px 13px 11px 38px;
  border: 1px solid rgba(255, 228, 92, .7);
  border-radius: 10px;
  background: rgba(255, 228, 92, .12);
}

.km-pricing-card .km-pricing-addon::before {
  color: #ffe45c;
}

@media (max-width: 480px) {
  .km-mcp-new {
    min-height: 35px;
    padding: 7px 13px 6px;
    font-size: 12px;
  }
}

.km-mcp-rule {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  width: calc(100% + 420px);
  margin-left: -210px;
}

.km-mcp-rule i {
  position: relative;
  height: 1px;
  background: rgba(255,255,255,.27);
}

.km-mcp-rule i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 4px;
  transform: translateY(-50%);
}

.km-mcp-rule i:first-child::after { right: -1px; }
.km-mcp-rule i:last-child::after { left: -1px; }
.km-mcp-rule span { padding: 12px 17px; border-radius: 10px; background: rgba(255,255,255,.13); font-size: 14px; font-weight: 700; }
.km-mcp-heading h2 { margin: 24px 0 15px; color: #fff; font-size: clamp(42px,4.4vw,67px); font-weight: 500; line-height: 1.03; letter-spacing: -.05em; }
.km-mcp-heading p { max-width: 800px; margin: auto; color: rgba(255,255,255,.87); font-size: 18px; line-height: 1.48; }

.km-mcp-card {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  width: min(100%, 1040px);
  min-height: 520px;
  margin: 70px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 25px;
  background: #f4fbff;
  box-shadow: 0 25px 50px rgba(37,54,142,.2);
}

.km-mcp-card .km-mcp-copy { display: flex; max-width: none; flex-direction: column; justify-content: center; padding: 46px 42px; color: #172440; text-align: left; }
.km-mcp-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 10px; background: linear-gradient(145deg,#70a7ed,#526ee2); color: #fff; font-size: 20px; font-weight: 800; box-shadow: 0 8px 18px rgba(73,104,214,.2); }
.km-mcp-card .km-mcp-copy h3 { margin: 21px 0 14px; color: #172440; font-size: clamp(29px,2.6vw,40px); font-weight: 600; line-height: 1.06; letter-spacing: -.045em; }
.km-mcp-card .km-mcp-copy > p { margin: 0; color: #71809a; font-size: 15px; line-height: 1.55; }
.km-mcp-card .km-mcp-copy ul { gap: 13px; width: auto; margin: 28px 0 0; }
.km-mcp-card .km-mcp-copy li { display: block; position: relative; padding-left: 29px; color: #31405e; font-size: 14px; font-weight: 650; line-height: 1.4; }
.km-mcp-card .km-mcp-copy li::before { content:"✓"; position: absolute; top: 0; left: 0; display: grid; width: 19px; height: 19px; place-items: center; border-radius: 6px; background: #9bc7f3; color: #fff; font-size: 12px; font-weight:800; }
.km-mcp-card .km-mcp-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 11px;
  margin-top: 30px;
}

.km-mcp-card .km-mcp-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172038;
  font-size: 13px;
  font-weight: 650;
  font-variation-settings: "wght" 650;
  line-height: 1.1;
  letter-spacing: -.018em;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.km-mcp-card .km-mcp-actions a:hover { transform: translateY(-1px); }
.km-mcp-card .km-mcp-actions a:focus-visible { outline: 3px solid rgba(74,99,232,.28); outline-offset: 3px; }

.km-mcp-card .km-mcp-actions .km-mcp-primary {
  border-color: #f5d847;
  background: linear-gradient(180deg,#ffe86a,#f7d944);
  box-shadow: 0 7px 16px rgba(21,32,89,.12), inset 0 1px rgba(255,255,255,.32);
}

.km-mcp-card .km-mcp-actions .km-mcp-primary:hover {
  background: linear-gradient(180deg,#ffec7c,#f9de4c);
  box-shadow: 0 9px 20px rgba(21,32,89,.16), inset 0 1px rgba(255,255,255,.38);
}

.km-mcp-card .km-mcp-primary b { margin-left: 12px; font-size: 17px; line-height: 1; }

.km-mcp-card .km-mcp-actions .km-mcp-secondary {
  border-color: #cbd4e8;
  background: rgba(255,255,255,.62);
  box-shadow: 0 7px 16px rgba(48,64,130,.06);
}

.km-mcp-card .km-mcp-actions .km-mcp-secondary:hover {
  border-color: #aebbd8;
  background: #fff;
  box-shadow: 0 9px 20px rgba(48,64,130,.09);
}

.km-mcp-card .km-mcp-demo {
  display: flex;
  width: auto;
  margin: 0;
  padding: 34px 0 34px 28px;
  align-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: radial-gradient(circle at center,#d6e7ff,transparent 62%),#dfeeff;
  box-shadow: none;
}

.km-mcp-card .km-mcp-window { width: 112%; min-width: 520px; border-radius: 20px 0 0 20px; }

@media (max-width: 820px) {
  .km-mcp { padding: 12px 15px 82px; }
  .km-mcp-shell { padding: 78px 18px 35px; border-radius: 20px; }
  .km-mcp-rule { display: block; width: auto; margin: 0; }
  .km-mcp-rule i { display: none; }
  .km-mcp-heading h2 { font-size: 39px; }
  .km-mcp-heading p { font-size: 15px; }
  .km-mcp-card { grid-template-columns: 1fr; margin-top: 50px; }
  .km-mcp-card .km-mcp-copy { padding: 36px 25px; }
  .km-mcp-card .km-mcp-copy h3 { font-size: 31px; }
  .km-mcp-card .km-mcp-demo { min-height: 390px; padding: 24px 0 24px 20px; }
  .km-mcp-card .km-mcp-window { min-width: 500px; }
}

@media (max-width: 480px) {
  .km-mcp-heading h2 { font-size: 33px; }
  .km-mcp-card { border-radius: 18px; }
  .km-mcp-card .km-mcp-actions { align-items: stretch; flex-direction: column; }
  .km-mcp-card .km-mcp-demo { min-height: 330px; padding: 14px 0 14px 12px; }
  .km-mcp-card .km-mcp-window { min-width: 455px; transform: scale(.82); transform-origin: left center; }
}

/* Inner MCP interface — isolated from the cloned section layout. */
.km-mcp-window {
  overflow: hidden;
  border: 1px solid #dfe3ed;
  background: #fff;
  box-shadow: 0 24px 55px rgba(43,57,128,.17);
  color: #172037;
}

.km-mcp-window-top,
.km-mcp-window-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 17px;
  background: #f8f9fc;
}

.km-mcp-window-top { border-bottom: 1px solid #e8ebf2; }
.km-mcp-brand { display: flex; align-items: center; gap: 9px; color: #172037; font-size: 12px; }
.km-mcp-brand img { display: block; width: 28px !important; height: 28px !important; flex: 0 0 28px; object-fit: contain; }
.km-mcp-live { display: flex; align-items: center; gap: 6px; color: #657087; font-size: 10px; font-weight: 700; }
.km-mcp-live i,
.km-mcp-window-foot b i { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #36c88a; box-shadow: 0 0 0 4px rgba(54,200,138,.12); }
.km-mcp-conversation { padding: 18px; }
.km-mcp-user { width: 85%; margin-left: auto; padding: 13px 15px; border-radius: 14px 14px 4px 14px; background: #eef1ff; }
.km-mcp-user small { color: #6272db; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.km-mcp-user p { margin: 4px 0 0; color: #172037; font-size: 12px; font-weight: 650; line-height: 1.45; }
.km-mcp-tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 10px; }
.km-mcp-tools span { padding: 6px 8px; border: 1px solid #e3e6ee; border-radius: 7px; background: #fafbfc; color: #677087; font-size: 8px; font-weight: 800; }
.km-mcp-tools i { margin-right: 3px; color: #6f63e8; font-style: normal; }
.km-mcp-analysis { overflow: hidden; border: 1px solid #e3e6ee; border-radius: 12px; background: #fff; }
.km-mcp-analysis-head,
.km-mcp-analysis > div:not(.km-mcp-analysis-head) { display: grid; grid-template-columns: minmax(0,1fr) 52px 82px; align-items: center; gap: 8px; padding: 9px 11px; }
.km-mcp-analysis-head { background: #f7f8fb; color: #596278; font-size: 9px; font-weight: 800; }
.km-mcp-analysis-head b { grid-column: 3; justify-self: end; color: #27a973; font-size: 7px; letter-spacing: .08em; }
.km-mcp-analysis > div:not(.km-mcp-analysis-head) { border-top: 1px solid #edf0f5; color: #35415a; font-size: 9px; }
.km-mcp-analysis strong { font-size: 11px; }
.km-mcp-analysis small { justify-self: end; padding: 4px 6px; border-radius: 5px; font-size: 8px; font-weight: 800; }
.km-mcp-analysis .is-good strong { color: #1fa36e; }
.km-mcp-analysis .is-good small { background: #e9f8f1; color: #168d5e; }
.km-mcp-analysis .is-bad strong { color: #e55757; }
.km-mcp-analysis .is-bad small { background: #fff0ef; color: #d84b4b; }
.km-mcp-agent { display: grid; grid-template-columns: 29px 1fr; gap: 9px; align-items: start; margin-top: 13px; }
.km-mcp-agent img { display: block; width: 29px !important; height: 29px !important; object-fit: contain; }
.km-mcp-agent p { margin: 0; padding: 10px 12px; border-radius: 4px 13px 13px 13px; background: #f5f6f9; color: #4d566d; font-size: 10px; line-height: 1.5; }
.km-mcp-demo-action { display: flex; align-items: center; justify-content: space-between; width: calc(100% - 38px); min-height: 41px; margin: 13px 0 0 38px; padding: 0 13px; border: 0; border-radius: 9px; background: #5368f2; color: #fff; font-size: 10px; font-weight: 800; text-decoration: none; }
.km-mcp-demo-action span { font-size: 17px; }
.km-mcp-window-foot { border-top: 1px solid #e8ebf2; color: #7a8397; font-size: 8px; }
.km-mcp-window-foot b { display: flex; align-items: center; gap: 7px; color: #2b9b6e; font-size: 7px; letter-spacing: .1em; }

@media (max-width: 480px) {
  .km-mcp-window-top { padding: 11px; }
  .km-mcp-brand b { font-size: 10px; }
  .km-mcp-live { font-size: 8px; }
  .km-mcp-conversation { padding: 11px; }
}

/* Dark MCP conversation inspired by a real tool-call console, in Klientometr colors. */
.km-mcp-card .km-mcp-demo {
  position: relative;
  padding-bottom: 50px;
  background:
    linear-gradient(rgba(78, 99, 218, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 99, 218, .07) 1px, transparent 1px),
    radial-gradient(circle at 70% 18%, rgba(90, 108, 238, .32), transparent 40%),
    #dfe8ff;
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.km-mcp-card .km-mcp-window {
  border-color: rgba(133, 151, 255, .32);
  background: #0d1123;
  box-shadow: 0 28px 60px rgba(24, 35, 101, .3);
  color: #f4f6ff;
}

.km-mcp-card .km-mcp-window-top,
.km-mcp-card .km-mcp-window-foot {
  border-color: rgba(255,255,255,.09);
  background: #13182d;
}

.km-mcp-card .km-mcp-brand { color: #f5f7ff; }
.km-mcp-card .km-mcp-brand img { padding: 4px; border-radius: 8px; background: #fff; }
.km-mcp-card .km-mcp-live { color: #aab4d0; }
.km-mcp-card .km-mcp-conversation {
  background:
    radial-gradient(circle at 88% 8%, rgba(89, 105, 232, .13), transparent 31%),
    #0b0f20;
}

.km-mcp-card .km-mcp-user {
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(135deg, #5369eb, #6854dc);
  box-shadow: 0 12px 28px rgba(64, 74, 190, .22);
}

.km-mcp-card .km-mcp-user small { color: #c8d0ff; }
.km-mcp-card .km-mcp-user p { color: #fff; }
.km-mcp-response {
  width: 84%;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 15px 15px 15px 4px;
  background: #171b2c;
  color: #d9ddeb;
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
}
.km-mcp-response > p { margin: 0; font-size: 11px; line-height: 1.5; }
.km-mcp-response > p:last-child { margin-top: 12px; color: #aab2c8; }
.km-mcp-terminal {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(111, 128, 235, .16);
  border-radius: 10px;
  background: #090c18;
  color: #8992aa;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
  line-height: 1.35;
}
.km-mcp-terminal b { color: #80dc8c; font-weight: 700; }
.km-mcp-card .km-mcp-tools { gap: 7px; margin: 14px 0; }
.km-mcp-card .km-mcp-tools span {
  border-color: rgba(154, 168, 255, .18);
  background: #151a2d;
  color: #d5daeb;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.km-mcp-card .km-mcp-tools span i { color: #80db8b; }
.km-mcp-card .km-mcp-tools span b { margin-left: 4px; color: #69728c; font-weight: 600; }
.km-mcp-card .km-mcp-agent p {
  border: 1px solid rgba(255,255,255,.08);
  background: #151a2c;
  color: #d5daea;
}
.km-mcp-card .km-mcp-agent img { padding: 3px; border-radius: 8px; background: #fff; }

.km-mcp-chat-summary {
  margin: 13px 0 0 38px;
  overflow: hidden;
  border: 1px solid rgba(153, 167, 255, .2);
  border-radius: 13px;
  background: #111628;
}

.km-mcp-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: #f2f4fb;
  font-size: 9px;
  font-weight: 800;
}

.km-mcp-summary-head b {
  color: #83dc91;
  font-size: 7px;
  letter-spacing: .08em;
}

.km-mcp-chat-summary dl { margin: 0; }
.km-mcp-chat-summary dl > div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,.055);
  font-size: 8px;
}
.km-mcp-chat-summary dl > div:last-child { border-bottom: 0; }
.km-mcp-chat-summary dt { color: #69728c; }
.km-mcp-chat-summary dd { margin: 0; color: #e0e4f2; font-weight: 700; }
.km-mcp-chat-summary dd span { color: #f0c965; }
.km-mcp-card .km-mcp-demo-action {
  background: linear-gradient(135deg, #5269ee, #6655dc);
  box-shadow: 0 10px 24px rgba(64, 78, 211, .24);
}
.km-mcp-card .km-mcp-window-foot { color: #6f7892; }
.km-mcp-real-tools {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(91, 108, 219, .28);
  border-radius: 10px;
  background: #111627;
  color: #fff;
  box-shadow: 0 10px 24px rgba(34, 45, 119, .2);
  font-size: 9px;
  font-weight: 800;
}
.km-mcp-real-tools i { width: 8px; height: 8px; border-radius: 50%; background: #7ddd88; box-shadow: 0 0 0 4px rgba(125,221,136,.13); }

@media (max-width: 480px) {
  .km-mcp-chat-summary { margin-left: 0; }
  .km-mcp-response { width: 94%; }
}

/* Airy animated conversation: product story, not a dashboard. */
.km-mcp-card .km-mcp-demo {
  padding: 54px 42px 66px;
  background:
    radial-gradient(circle at 78% 16%, rgba(103, 123, 238, .22), transparent 34%),
    radial-gradient(circle at 18% 86%, rgba(127, 170, 244, .2), transparent 32%),
    linear-gradient(145deg, #edf3ff, #dfe8ff);
  background-size: auto;
}

.km-mcp-card .km-mcp-window {
  width: 100%;
  min-width: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #172440;
}

.km-mcp-card .km-mcp-window-top {
  min-height: 0;
  padding: 0 2px 24px;
  border: 0;
  background: transparent;
}

.km-mcp-card .km-mcp-brand { color: #26324f; }
.km-mcp-card .km-mcp-brand img { box-shadow: 0 8px 18px rgba(46,65,145,.12); }
.km-mcp-card .km-mcp-live {
  padding: 7px 10px;
  border: 1px solid rgba(68, 88, 177, .12);
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  color: #63708d;
}
.km-mcp-card .km-mcp-conversation { padding: 0; background: transparent; }
.km-mcp-card .km-mcp-user {
  width: 88%;
  padding: 16px 18px;
  border: 0;
  border-radius: 18px 18px 5px 18px;
  background: linear-gradient(135deg, #5169ec, #6a58df);
  box-shadow: 0 18px 34px rgba(66, 80, 201, .2);
}
.km-mcp-card .km-mcp-user p { font-size: 12px; line-height: 1.5; }
.km-mcp-typing {
  display: flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  margin-top: 17px;
}
.km-mcp-typing > img { width: 27px !important; height: 27px !important; padding: 3px; border-radius: 8px; background: #fff; box-shadow: 0 7px 16px rgba(46,65,145,.1); }
.km-mcp-typing > span { display:flex;gap:4px;padding:11px 13px;border:1px solid rgba(65,83,164,.12);border-radius:5px 15px 15px 15px;background:rgba(255,255,255,.88);box-shadow:0 10px 22px rgba(45,63,130,.08); }
.km-mcp-typing i { width:5px;height:5px;border-radius:50%;background:#8090bd;animation:km-mcp-dot .8s ease-in-out infinite alternate; }
.km-mcp-typing i:nth-child(2) { animation-delay:.15s; }
.km-mcp-typing i:nth-child(3) { animation-delay:.3s; }
.km-mcp-card .km-mcp-response {
  width: 91%;
  margin-top: 12px;
  padding: 18px;
  border: 1px solid rgba(60, 79, 161, .13);
  border-radius: 5px 19px 19px 19px;
  background: rgba(255,255,255,.92);
  color: #34415f;
  box-shadow: 0 18px 38px rgba(44,62,135,.1);
}
.km-mcp-response > p { color:#43506c;font-size:11px; }
.km-mcp-response > p:last-child { color:#65718b; }
.km-mcp-terminal {
  border-color: rgba(79, 101, 203, .12);
  background: #f2f5ff;
  color: #66728f;
}
.km-mcp-terminal b { color: #4965da; }
.km-mcp-card .km-mcp-tools { margin: 14px 0 0 36px; }
.km-mcp-card .km-mcp-tools span {
  border-color: rgba(70, 88, 170, .13);
  background: rgba(255,255,255,.78);
  color: #536079;
  box-shadow: 0 7px 15px rgba(45,61,126,.06);
}
.km-mcp-card .km-mcp-tools span b { color:#8a94aa; }
.km-mcp-card .km-mcp-window-foot { display: none; }
.km-mcp-real-tools {
  bottom: 20px;
  left: 42px;
  border-color: rgba(74, 93, 184, .14);
  background: rgba(255,255,255,.88);
  color: #34415f;
  box-shadow: 0 10px 24px rgba(45,62,134,.1);
}

html.motion-ready .km-mcp-card:not(.is-visible) :is(.km-mcp-window-top,.km-mcp-user,.km-mcp-typing,.km-mcp-response,.km-mcp-tools,.km-mcp-real-tools) {
  opacity: 0;
  transform: translateY(15px);
}
html.motion-ready .km-mcp-card.is-visible .km-mcp-window-top { animation: km-mcp-chat-in .45s ease-out .05s both; }
html.motion-ready .km-mcp-card.is-visible .km-mcp-user { animation: km-mcp-chat-in .6s cubic-bezier(.16,1,.3,1) .3s both; }
html.motion-ready .km-mcp-card.is-visible .km-mcp-typing { animation: km-mcp-typing-life 1.25s ease .95s both; }
html.motion-ready .km-mcp-card.is-visible .km-mcp-response { animation: km-mcp-chat-in .65s cubic-bezier(.16,1,.3,1) 2s both; }
html.motion-ready .km-mcp-card.is-visible .km-mcp-terminal span { animation: km-mcp-line-in .4s ease both; }
html.motion-ready .km-mcp-card.is-visible .km-mcp-terminal span:nth-child(1) { animation-delay:2.25s; }
html.motion-ready .km-mcp-card.is-visible .km-mcp-terminal span:nth-child(2) { animation-delay:2.4s; }
html.motion-ready .km-mcp-card.is-visible .km-mcp-terminal span:nth-child(3) { animation-delay:2.55s; }
html.motion-ready .km-mcp-card.is-visible .km-mcp-terminal span:nth-child(4) { animation-delay:2.7s; }
html.motion-ready .km-mcp-card.is-visible .km-mcp-terminal span:nth-child(5) { animation-delay:2.85s; }
html.motion-ready .km-mcp-card.is-visible .km-mcp-tools { animation: km-mcp-chat-in .5s ease 3.05s both; }
html.motion-ready .km-mcp-card.is-visible .km-mcp-real-tools { animation: km-mcp-chat-in .45s ease 3.3s both; }

@keyframes km-mcp-chat-in { from { opacity:0;transform:translateY(15px) scale(.985); } to { opacity:1;transform:none; } }
@keyframes km-mcp-typing-life { 0% { opacity:0;transform:translateY(10px); } 18%,78% { opacity:1;transform:none; } 100% { opacity:0;transform:translateY(-4px); } }
@keyframes km-mcp-line-in { from { opacity:0;transform:translateX(-7px); } to { opacity:1;transform:none; } }
@keyframes km-mcp-dot { to { transform:translateY(-3px);opacity:.45; } }

@media (max-width: 820px) {
  .km-mcp-card .km-mcp-demo { padding: 34px 22px 62px; }
  .km-mcp-real-tools { left:22px; }
}
@media (max-width: 480px) {
  .km-mcp-card .km-mcp-demo { padding: 25px 14px 58px; }
  .km-mcp-card .km-mcp-window { transform:none; }
  .km-mcp-card .km-mcp-window-top { align-items:flex-start;gap:8px; }
  .km-mcp-card .km-mcp-live { font-size:7px; }
  .km-mcp-card .km-mcp-user,.km-mcp-card .km-mcp-response { width:96%; }
  .km-mcp-card .km-mcp-tools { margin-left:0; }
  .km-mcp-real-tools { left:14px; }
}
@media (prefers-reduced-motion: reduce) {
  .km-mcp-card :is(.km-mcp-window-top,.km-mcp-user,.km-mcp-typing,.km-mcp-response,.km-mcp-tools,.km-mcp-real-tools,.km-mcp-terminal span) { opacity:1!important;transform:none!important;animation:none!important; }
  .km-mcp-typing { display:none; }
}

/* Premium polish for the MCP conversation. */
.km-mcp-card .km-mcp-demo {
  padding: 48px 38px 62px;
  background:
    radial-gradient(circle at 88% 5%, rgba(103, 112, 237, .2), transparent 32%),
    radial-gradient(circle at 3% 92%, rgba(112, 178, 241, .15), transparent 35%),
    linear-gradient(145deg, #f1f5ff 0%, #e8eeff 55%, #e2e9ff 100%);
}

.km-mcp-card .km-mcp-window-top {
  padding-bottom: 28px;
}

.km-mcp-card .km-mcp-brand {
  gap: 11px;
  color: #202b48;
  font-size: 11px;
  letter-spacing: -.015em;
}

.km-mcp-card .km-mcp-brand img {
  width: 32px !important;
  height: 32px !important;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 11px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 9px 22px rgba(48, 65, 144, .11), inset 0 1px #fff;
}

.km-mcp-card .km-mcp-live {
  padding: 7px 11px;
  border-color: rgba(86, 104, 191, .1);
  background: rgba(255,255,255,.62);
  box-shadow: inset 0 1px rgba(255,255,255,.8);
  color: #66718e;
  font-size: 8px;
  backdrop-filter: blur(10px);
}

.km-mcp-card .km-mcp-user {
  width: 86%;
  padding: 15px 17px;
  border-radius: 17px 17px 5px 17px;
  background: linear-gradient(135deg, #536be9 0%, #6262e8 55%, #7356dc 100%);
  box-shadow: 0 16px 34px rgba(65, 77, 192, .2), inset 0 1px rgba(255,255,255,.16);
}

.km-mcp-card .km-mcp-user p {
  font-size: 11px;
  font-weight: 650;
  line-height: 1.55;
}

.km-mcp-card .km-mcp-response {
  width: 86%;
  margin-top: 14px;
  padding: 16px 17px;
  border-color: rgba(72, 91, 175, .1);
  border-radius: 5px 17px 17px 17px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 16px 38px rgba(47, 63, 137, .09), inset 0 1px rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
}

.km-mcp-response > p {
  color: #4d5873;
  font-size: 9px;
  line-height: 1.55;
}

.km-mcp-response > p:last-child {
  margin-top: 11px;
  color: #66718b;
}

.km-mcp-terminal {
  gap: 6px;
  margin-top: 10px;
  padding: 12px 13px;
  border: 0;
  border-radius: 10px;
  background: rgba(239,243,255,.82);
  color: #707a94;
  box-shadow: inset 0 0 0 1px rgba(78, 97, 190, .09);
  font-size: 8px;
}

.km-mcp-terminal b {
  color: #546de4;
}

.km-mcp-card .km-mcp-tools {
  gap: 6px;
  margin: 12px 0 0 34px;
}

.km-mcp-card .km-mcp-tools span {
  padding: 5px 7px;
  border-color: rgba(74, 92, 175, .09);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  box-shadow: none;
  color: #5f6982;
  font-size: 7px;
  backdrop-filter: blur(8px);
}

.km-mcp-card .km-mcp-tools span i {
  color: #64bd7a;
}

.km-mcp-card .km-mcp-tools span b {
  color: #9098aa;
  font-size: 6px;
}

.km-mcp-real-tools {
  bottom: 19px;
  left: 38px;
  gap: 7px;
  padding: 7px 10px;
  border-color: rgba(75, 93, 179, .1);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  color: #46516c;
  box-shadow: 0 9px 20px rgba(49, 65, 137, .08), inset 0 1px rgba(255,255,255,.9);
  font-size: 8px;
  backdrop-filter: blur(12px);
}

.km-mcp-real-tools i {
  width: 7px;
  height: 7px;
}

html.motion-ready .km-mcp-card.is-visible .km-mcp-typing {
  animation: km-mcp-typing-collapse 1.25s ease .85s both;
}

@keyframes km-mcp-typing-collapse {
  0% { max-height:0;margin-top:0;opacity:0;transform:translateY(8px); }
  18%,72% { max-height:50px;margin-top:14px;opacity:1;transform:none; }
  100% { max-height:0;margin-top:0;opacity:0;transform:translateY(-3px);overflow:hidden; }
}

@media (max-width: 820px) {
  .km-mcp-card .km-mcp-demo { padding: 34px 22px 58px; }
  .km-mcp-real-tools { left:22px; }
}

@media (max-width: 480px) {
  .km-mcp-card .km-mcp-demo { padding: 26px 14px 55px; }
  .km-mcp-card .km-mcp-user,
  .km-mcp-card .km-mcp-response { width: 94%; }
  .km-mcp-card .km-mcp-tools { margin-left:0; }
  .km-mcp-real-tools { left:14px; }
}

/* Obsolete MCP experiments retained for reference but excluded from rendering. */
@media (max-width: 0px) {
/* Klientometr MCP — product module between the Chrome extension and proof. */
.km-mcp {
  position: relative;
  overflow: hidden;
  padding: 30px 20px 108px;
  background: #f7f8fc;
}

.km-mcp::before {
  content: "";
  position: absolute;
  top: -250px;
  left: 50%;
  width: 780px;
  height: 520px;
  border-radius: 50%;
  background: rgba(125, 91, 255, .16);
  filter: blur(90px);
  transform: translateX(-50%);
  pointer-events: none;
}

.km-mcp-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(520px, 1.16fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 84px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 0%, rgba(91, 106, 255, .28), transparent 34%),
    linear-gradient(135deg, #111629 0%, #171a31 50%, #111426 100%);
  box-shadow: 0 36px 80px rgba(25, 30, 70, .18);
  color: #fff;
}

.km-mcp-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.38) .7px, transparent .7px);
  background-size: 20px 20px;
  mask-image: linear-gradient(90deg, #000, transparent 65%);
}

.km-mcp-copy,
.km-mcp-demo {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.km-mcp-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 21px;
  color: #c9ceff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.km-mcp-kicker i {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #a998ff;
}

.km-mcp-kicker span {
  padding: 5px 8px;
  border-radius: 6px;
  background: #ffe667;
  color: #1b1d2d;
  letter-spacing: .1em;
}

.km-mcp-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4vw, 58px);
  line-height: .99;
  letter-spacing: -.047em;
}

.km-mcp-copy h2 em {
  display: inline-block;
  margin-top: 8px;
  color: #a998ff;
  font-family: inherit;
  font-style: normal;
}

.km-mcp-copy > p {
  max-width: 520px;
  margin: 25px 0 0;
  color: #b9c0d6;
  font-size: 16px;
  line-height: 1.67;
}

.km-mcp-copy ul {
  display: grid;
  gap: 12px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.km-mcp-copy li {
  display: grid;
  grid-template-columns: 22px auto;
  column-gap: 9px;
  align-items: baseline;
  color: #fff;
  font-size: 14px;
}

.km-mcp-copy li::before {
  content: "✓";
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(169, 152, 255, .17);
  color: #b8a9ff;
  font-size: 11px;
  font-weight: 900;
}

.km-mcp-copy li span {
  grid-column: 2;
  margin-top: 3px;
  color: #8f98b1;
  font-size: 12px;
}

.km-mcp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 31px;
}

.km-mcp-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.km-mcp-actions a:hover { transform: translateY(-2px); }
.km-mcp-actions .km-mcp-primary { background: #5368f2; box-shadow: 0 12px 28px rgba(83,104,242,.3); }
.km-mcp-actions .km-mcp-primary:hover { background: #6679f5; }
.km-mcp-primary b { margin-left: 17px; font-size: 18px; }
.km-mcp-actions .km-mcp-secondary { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.05); }
.km-mcp-actions .km-mcp-secondary:hover { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.09); }

.km-mcp-demo { perspective: 1200px; }

.km-mcp-window {
  overflow: hidden;
  border: 1px solid #dfe3ed;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 32px 70px rgba(0, 0, 0, .34);
  color: #172037;
  transform: rotate(1.25deg);
}

.km-mcp-window-top,
.km-mcp-window-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 17px;
  background: #f8f9fc;
}

.km-mcp-window-top { border-bottom: 1px solid #e8ebf2; }
.km-mcp-brand { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.km-mcp-brand img { width: 28px; height: 28px; }
.km-mcp-live { display: flex; align-items: center; gap: 6px; color: #657087; font-size: 10px; font-weight: 700; }
.km-mcp-live i,
.km-mcp-window-foot b i { width: 7px; height: 7px; border-radius: 50%; background: #36c88a; box-shadow: 0 0 0 4px rgba(54,200,138,.12); }

.km-mcp-conversation { padding: 18px; }

.km-mcp-user {
  width: 85%;
  margin-left: auto;
  padding: 13px 15px;
  border-radius: 14px 14px 4px 14px;
  background: #eef1ff;
}

.km-mcp-user small { color: #6272db; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.km-mcp-user p { margin: 4px 0 0; font-size: 12px; font-weight: 650; line-height: 1.45; }

.km-mcp-tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 10px; }
.km-mcp-tools span { padding: 6px 8px; border: 1px solid #e3e6ee; border-radius: 7px; background: #fafbfc; color: #677087; font-size: 8px; font-weight: 800; }
.km-mcp-tools i { margin-right: 3px; color: #6f63e8; font-style: normal; }

.km-mcp-analysis { overflow: hidden; border: 1px solid #e3e6ee; border-radius: 12px; }
.km-mcp-analysis-head,
.km-mcp-analysis > div:not(.km-mcp-analysis-head) { display: grid; grid-template-columns: minmax(0,1fr) 52px 82px; align-items: center; gap: 8px; padding: 9px 11px; }
.km-mcp-analysis-head { background: #f7f8fb; color: #596278; font-size: 9px; font-weight: 800; }
.km-mcp-analysis-head b { grid-column: 3; justify-self: end; color: #27a973; font-size: 7px; letter-spacing: .08em; }
.km-mcp-analysis > div:not(.km-mcp-analysis-head) { border-top: 1px solid #edf0f5; font-size: 9px; }
.km-mcp-analysis strong { font-size: 11px; }
.km-mcp-analysis small { justify-self: end; padding: 4px 6px; border-radius: 5px; font-size: 8px; font-weight: 800; }
.km-mcp-analysis .is-good strong { color: #1fa36e; }
.km-mcp-analysis .is-good small { background: #e9f8f1; color: #168d5e; }
.km-mcp-analysis .is-bad strong { color: #e55757; }
.km-mcp-analysis .is-bad small { background: #fff0ef; color: #d84b4b; }

.km-mcp-agent { display: grid; grid-template-columns: 29px 1fr; gap: 9px; align-items: start; margin-top: 13px; }
.km-mcp-agent img { width: 29px; height: 29px; }
.km-mcp-agent p { margin: 0; padding: 10px 12px; border-radius: 4px 13px 13px 13px; background: #f5f6f9; color: #4d566d; font-size: 10px; line-height: 1.5; }

.km-mcp-demo-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 38px);
  min-height: 41px;
  margin: 13px 0 0 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 9px;
  background: #5368f2;
  color: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.km-mcp-demo-action span { font-size: 17px; }
.km-mcp-window-foot { border-top: 1px solid #e8ebf2; color: #7a8397; font-size: 8px; }
.km-mcp-window-foot b { display: flex; align-items: center; gap: 7px; color: #2b9b6e; font-size: 7px; letter-spacing: .1em; }

@media (max-width: 1000px) {
  .km-mcp-shell { grid-template-columns: 1fr; width: min(760px, 100%); }
  .km-mcp-copy { text-align: center; }
  .km-mcp-kicker,
  .km-mcp-actions { justify-content: center; }
  .km-mcp-copy > p { margin-right: auto; margin-left: auto; }
  .km-mcp-copy ul { width: min(430px, 100%); margin-right: auto; margin-left: auto; text-align: left; }
  .km-mcp-demo { width: min(600px, 100%); margin: 0 auto; }
}

@media (max-width: 600px) {
  .km-mcp { padding: 12px 12px 72px; }
  .km-mcp-shell { gap: 40px; padding: 43px 18px 22px; border-radius: 24px; }
  .km-mcp-kicker { flex-wrap: wrap; font-size: 9px; }
  .km-mcp-copy h2 { font-size: 37px; }
  .km-mcp-copy > p { font-size: 14px; }
  .km-mcp-actions { align-items: stretch; flex-direction: column; }
  .km-mcp-actions a { width: 100%; }
  .km-mcp-window { border-radius: 14px; transform: none; }
  .km-mcp-window-top { padding: 11px; }
  .km-mcp-brand b { font-size: 10px; }
  .km-mcp-live { font-size: 8px; }
  .km-mcp-conversation { padding: 11px; }
  .km-mcp-user { width: 94%; }
  .km-mcp-analysis-head,
  .km-mcp-analysis > div:not(.km-mcp-analysis-head) { grid-template-columns: minmax(0,1fr) 44px 69px; padding: 8px; }
  .km-mcp-analysis > div:not(.km-mcp-analysis-head) { font-size: 8px; }
  .km-mcp-analysis small { font-size: 7px; }
  .km-mcp-window-foot span { display: none; }
  .km-mcp-window-foot { justify-content: flex-end; }
}

/* MCP visual alignment: reuse the light product-story language of the main LP. */
.km-mcp {
  width: var(--km-shell);
  padding: 108px 0 118px;
  background: #fff;
}

.km-mcp::before,
.km-mcp-shell::after {
  display: none;
}

.km-mcp-shell {
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 7vw, 108px);
  width: var(--km-content);
  max-width: 100%;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--km-ink);
}

.km-mcp-copy {
  max-width: 500px;
}

.km-mcp-copy h2 {
  margin: 16px 0 18px;
  color: var(--km-ink);
  font-size: clamp(42px, 4.1vw, 66px);
  line-height: .99;
}

.km-mcp-copy h2 em {
  margin-top: 7px;
  color: #5264e6;
}

.km-mcp-copy > p {
  margin-top: 0;
  color: var(--km-muted);
  font-size: 18px;
  line-height: 1.58;
}

.km-mcp-copy ul {
  gap: 10px;
  margin-top: 24px;
}

.km-mcp-copy li {
  grid-template-columns: 23px minmax(0, 1fr);
  column-gap: 10px;
  color: #35415a;
  font-size: 14px;
}

.km-mcp-copy li::before {
  width: 20px;
  height: 20px;
  background: #eef1ff;
  color: #586fee;
}

.km-mcp-copy li span {
  margin-top: 2px;
  color: #7a849a;
}

.km-mcp-actions {
  margin-top: 28px;
}

.km-mcp-actions a {
  min-height: 52px;
  border-radius: 11px;
}

.km-mcp-actions .km-mcp-primary {
  background: #5265e8;
  color: #fff;
  box-shadow: 0 12px 26px rgba(60, 78, 201, .22);
}

.km-mcp-actions .km-mcp-primary:hover {
  background: #4458dc;
}

.km-mcp-actions .km-mcp-secondary {
  border-color: #dce1ed;
  background: #fff;
  color: #30394e;
}

.km-mcp-actions .km-mcp-secondary:hover {
  border-color: #c6cde0;
  background: #f7f8fc;
}

.km-mcp-demo {
  padding: clamp(18px, 2.4vw, 31px);
  border: 1px solid #dce2f2;
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 12%, rgba(139, 157, 255, .34), transparent 34%),
    linear-gradient(145deg, #f4f7ff, #e8edff);
  box-shadow: 0 30px 80px rgba(47, 59, 124, .14);
}

.km-mcp-window {
  border-color: #dfe4f0;
  border-radius: 20px;
  box-shadow: 0 24px 55px rgba(43, 57, 128, .17);
  transform: none;
}

.km-mcp-window-top,
.km-mcp-window-foot {
  background: #fbfcfe;
}

.km-mcp-user {
  background: #eef1ff;
}

.km-mcp-analysis-head {
  background: #f7f8fc;
}

.km-mcp-demo-action {
  background: #5265e8;
}

@media (max-width: 1100px) {
  .km-mcp-shell {
    grid-template-columns: 1fr;
    width: var(--km-content);
    gap: 38px;
  }

  .km-mcp-copy {
    max-width: 780px;
    text-align: left;
  }

  .km-mcp-copy > p,
  .km-mcp-copy ul {
    margin-right: 0;
    margin-left: 0;
  }

  .km-mcp-copy ul {
    width: min(520px, 100%);
  }

  .km-mcp-actions {
    justify-content: flex-start;
  }

  .km-mcp-demo {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .km-mcp {
    width: var(--km-shell);
    padding: 72px 0 78px;
  }

  .km-mcp-shell {
    width: var(--km-content);
    padding: 0;
  }

  .km-mcp-copy h2 {
    font-size: 40px;
  }

  .km-mcp-copy > p {
    font-size: 16px;
  }

  .km-mcp-demo {
    padding: 12px;
    border-radius: 20px;
  }
}

@media (max-width: 430px) {
  .km-mcp-copy h2 {
    font-size: 31px;
  }

  .km-mcp-copy li {
    font-size: 13px;
  }

  .km-mcp-copy li span {
    font-size: 11px;
  }
}
}
