/* KIT Expert public CSS: brand-intro.css */

body.kitexpert-brand-intro-lock {
  overflow-y: hidden;
}

.kitexpert-brand-intro[hidden] {
  display: none;
}

.kitexpert-brand-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(159, 215, 255, 0.34), transparent 28%),
    linear-gradient(180deg, rgba(248, 250, 255, 0.98) 0%, rgba(238, 243, 251, 0.96) 100%);
}

.kitexpert-brand-intro__mark {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(620px, calc(100vw - 56px));
  max-width: none;
  max-height: 72vh;
  height: auto;
  transform: translate3d(-50%, -50%, 0);
  filter: drop-shadow(0 34px 58px rgba(24, 40, 61, 0.18));
  will-change: left, top, width, opacity, transform, filter;
}

.kitexpert-brand-intro__text {
  position: fixed;
  left: 50%;
  top: calc(50% + min(24vw, 250px));
  z-index: 2;
  width: min(760px, calc(100vw - 40px));
  min-height: 1.45em;
  transform: translate3d(-50%, 0, 0);
  color: var(--kitexpert-text);
  font-family: var(--kitexpert-font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
  opacity: 0;
  transition: opacity 180ms ease;
}

.kitexpert-brand-intro__text.is-visible {
  opacity: 1;
}

.kitexpert-brand-intro__skip {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  border: 1px solid rgba(92, 143, 224, 0.28);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--kitexpert-text);
  font: 700 0.78rem/1 var(--kitexpert-font-body);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 36px rgba(27, 46, 66, 0.1);
  cursor: pointer;
}

.kitexpert-brand-intro__skip:hover,
.kitexpert-brand-intro__skip:focus-visible {
  border-color: rgba(92, 143, 224, 0.58);
  outline: none;
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .kitexpert-brand-intro {
    display: none;
  }
}

@media (max-width: 720px) {
  .kitexpert-brand-intro__text {
    top: calc(50% + min(34vw, 190px));
    font-size: 1.05rem;
  }
}
