.kit-hero {
  --kit-hero-ink: #f4f7f8;
  --kit-hero-muted: rgba(244, 247, 248, 0.82);
  --kit-hero-mark: #0099f7;
  --kit-hero-navy: #030f27;
  --kit-hero-h: min(78vh, 720px);
  position: relative;
  background: var(--kit-hero-navy);
  color: var(--kit-hero-ink);
}

.kit-hero .splide__track {
  overflow: hidden;
}

.kit-hero .splide__slide {
  height: var(--kit-hero-h);
}

.kit-slide__frame {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #0a1628;
}

.kit-slide__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 9s linear;
}

.kit-hero .splide__slide.is-active .kit-slide__media,
.kit-hero--solo .kit-slide__media {
  transform: scale(1.12);
}

.kit-slide__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 15, 39, 0.22) 0%, rgba(3, 15, 39, 0.55) 100%),
    linear-gradient(90deg, rgba(3, 15, 39, 0.62) 0%, rgba(3, 15, 39, 0.18) 58%, rgba(0, 44, 66, 0.28) 100%);
}

.kit-slide__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 4.5rem 0 5.5rem;
}

.kit-slide--center .kit-slide__content {
  text-align: center;
}

.kit-slide--center .kit-slide__copy,
.kit-slide--center .kit-slide__actions {
  margin-left: auto;
  margin-right: auto;
}

.kit-slide__copy {
  max-width: 42rem;
}

.kit-slide--center .kit-slide__copy {
  max-width: 48rem;
}

.kit-slide__eyebrow {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
}

.kit-slide--center .kit-slide__eyebrow {
  display: inline-block;
}

.kit-slide--left .kit-slide__eyebrow,
.kit-slide--split .kit-slide__eyebrow {
  padding-left: 3.25rem;
  position: relative;
}

.kit-slide--left .kit-slide__eyebrow::before,
.kit-slide--split .kit-slide__eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2.4rem;
  height: 2px;
  margin-top: -1px;
  background: var(--kit-hero-mark);
}

.kit-slide__headline {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 4.35rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.kit-slide__headline b,
.kit-slide__headline strong {
  font-weight: 700;
  color: #fff;
}

.kit-slide__support {
  margin: 1.15rem 0 0;
  max-width: 36rem;
  color: var(--kit-hero-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.kit-slide--center .kit-slide__support {
  margin-left: auto;
  margin-right: auto;
}

.kit-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
  max-width: 42rem;
}

.kit-slide--center .kit-slide__actions {
  justify-content: center;
}

.kit-slide__cta {
  margin: 0;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.kit-slide__cta--secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.kit-slide__cta--secondary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--kit-hero-navy);
}

.kit-slide--split .kit-slide__copy {
  max-width: 34rem;
  background: rgba(8, 16, 28, 0.82);
  border-left: 3px solid var(--kit-hero-mark);
  padding: 1.65rem 1.7rem 1.4rem;
}

.kit-slide--split .kit-slide__actions {
  margin-top: 1.1rem;
}

.kit-hero .splide__arrows {
  position: absolute;
  right: 1.5rem;
  bottom: 1.35rem;
  z-index: 4;
  display: flex;
  gap: 0.45rem;
}

.kit-hero .splide__arrow {
  position: static;
  transform: none;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(3, 15, 39, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 0;
  opacity: 1;
}

.kit-hero .splide__arrow svg {
  width: 1rem;
  height: 1rem;
  fill: #fff;
}

.kit-hero .splide__arrow:hover:not(:disabled) {
  background: var(--kit-hero-mark);
  border-color: var(--kit-hero-mark);
}

.kit-hero .splide__arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.kit-hero .splide__pagination {
  position: absolute;
  left: auto;
  right: 1.5rem;
  bottom: 4.4rem;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0;
  transform: none;
}

.kit-hero .splide__pagination__page {
  display: block;
  width: 2px;
  height: 14px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.38);
  opacity: 1;
}

.kit-hero .splide__pagination__page.is-active {
  height: 28px;
  background: var(--kit-hero-mark);
  transform: none;
}

.kit-hero__chrome {
  position: absolute;
  left: 1.5rem;
  right: 7.5rem;
  bottom: 1.4rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 22rem;
}

.kit-hero__meter {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.kit-hero__index {
  flex: none;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.kit-hero .splide__progress {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.kit-hero .splide__progress__bar {
  height: 100%;
  background: var(--kit-hero-mark);
}

.kit-hero__toggle {
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(3, 15, 39, 0.45);
  color: #fff;
  cursor: pointer;
}

.kit-hero__toggle span {
  display: block;
  margin: 0 auto;
}

.kit-hero .splide__pause span {
  width: 10px;
  height: 12px;
  border-left: 3px solid #fff;
  border-right: 3px solid #fff;
}

.kit-hero .splide__play span {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
}

.kit-hero.is-playing .splide__play {
  display: none;
}

.kit-hero.is-paused .splide__pause,
.kit-hero:not(.is-playing) .splide__pause {
  display: none;
}

.kit-hero.is-paused .splide__play,
.kit-hero:not(.is-playing) .splide__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kit-hero.is-playing .splide__pause {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kit-hero--solo .kit-hero__chrome,
.kit-hero--solo .splide__arrows,
.kit-hero--solo .splide__pagination {
  display: none;
}

.kit-slide--anim-fade-up.is-active .kit-slide__eyebrow,
.kit-slide--anim-fade-up.is-active .kit-slide__headline,
.kit-slide--anim-fade-up.is-active .kit-slide__support,
.kit-slide--anim-fade-up.is-active .kit-slide__actions {
  animation: kit-fade-up 0.72s cubic-bezier(0.16, 0.84, 0.32, 1) both;
}

.kit-slide--anim-fade-down.is-active .kit-slide__eyebrow,
.kit-slide--anim-fade-down.is-active .kit-slide__headline,
.kit-slide--anim-fade-down.is-active .kit-slide__support,
.kit-slide--anim-fade-down.is-active .kit-slide__actions {
  animation: kit-fade-down 0.72s cubic-bezier(0.16, 0.84, 0.32, 1) both;
}

.kit-slide--anim-fade.is-active .kit-slide__eyebrow,
.kit-slide--anim-fade.is-active .kit-slide__headline,
.kit-slide--anim-fade.is-active .kit-slide__support,
.kit-slide--anim-fade.is-active .kit-slide__actions {
  animation: kit-fade 0.65s ease both;
}

.kit-slide--anim-zoom.is-active .kit-slide__eyebrow,
.kit-slide--anim-zoom.is-active .kit-slide__headline,
.kit-slide--anim-zoom.is-active .kit-slide__support,
.kit-slide--anim-zoom.is-active .kit-slide__actions {
  animation: kit-zoom 0.7s cubic-bezier(0.16, 0.84, 0.32, 1) both;
}

.kit-slide--anim-slide-left.is-active .kit-slide__eyebrow,
.kit-slide--anim-slide-left.is-active .kit-slide__headline,
.kit-slide--anim-slide-left.is-active .kit-slide__support,
.kit-slide--anim-slide-left.is-active .kit-slide__actions {
  animation: kit-from-left 0.72s cubic-bezier(0.16, 0.84, 0.32, 1) both;
}

.kit-slide--anim-slide-right.is-active .kit-slide__eyebrow,
.kit-slide--anim-slide-right.is-active .kit-slide__headline,
.kit-slide--anim-slide-right.is-active .kit-slide__support,
.kit-slide--anim-slide-right.is-active .kit-slide__actions {
  animation: kit-from-right 0.72s cubic-bezier(0.16, 0.84, 0.32, 1) both;
}

.kit-hero .is-active .kit-slide__headline {
  animation-delay: 0.08s;
}

.kit-hero .is-active .kit-slide__support {
  animation-delay: 0.16s;
}

.kit-hero .is-active .kit-slide__actions {
  animation-delay: 0.24s;
}

@keyframes kit-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes kit-fade-down {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes kit-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes kit-zoom {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes kit-from-left {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes kit-from-right {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767px) {
  .kit-hero {
    --kit-hero-h: min(86vh, 640px);
  }

  .kit-slide__content {
    padding: 2.5rem 0 6.25rem;
    align-items: flex-end;
  }

  .kit-slide--left .kit-slide__eyebrow,
  .kit-slide--split .kit-slide__eyebrow {
    padding-left: 0;
  }

  .kit-slide--left .kit-slide__eyebrow::before,
  .kit-slide--split .kit-slide__eyebrow::before {
    display: none;
  }

  .kit-slide--split .kit-slide__copy {
    padding: 1.1rem 1rem;
  }

  .kit-hero .splide__arrows {
    right: 1rem;
    bottom: 1rem;
  }

  .kit-hero .splide__pagination {
    right: 1rem;
    bottom: 4rem;
  }

  .kit-hero__chrome {
    left: 1rem;
    right: 6.5rem;
    bottom: 1.05rem;
    max-width: none;
  }

  .kit-slide__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .kit-slide--center .kit-slide__actions {
    align-items: stretch;
  }

  .kit-slide__cta {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kit-slide__media,
  .kit-hero .is-active .kit-slide__eyebrow,
  .kit-hero .is-active .kit-slide__headline,
  .kit-hero .is-active .kit-slide__support,
  .kit-hero .is-active .kit-slide__actions {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

.kit-slide__eyebrow:empty,
.kit-slide__support:empty {
  display: none !important;
}

.kayise-cara-preview-frame {
  --kit-preview-w: 1280;
  --kit-preview-h: 720;
  --kit-preview-scale: 0.32;
  position: relative;
  width: 100%;
  aspect-ratio: 1280 / 720;
  height: auto;
  overflow: hidden;
  border-radius: 8px;
  background: #030f27;
}

.kayise-cara-preview-frame--mini {
  margin-bottom: 14px;
}

.kayise-cara-preview-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(var(--kit-preview-w) * 1px);
  height: calc(var(--kit-preview-h) * 1px);
  transform-origin: top left;
  transform: scale(var(--kit-preview-scale));
}

.kit-hero--admin {
  --kit-hero-h: 720px;
  width: 100%;
  height: 100%;
}

.kit-hero--admin .splide__track,
.kit-hero--admin .splide__list,
.kit-hero--admin .splide__slide {
  height: 100%;
}

.kit-hero--admin .splide__list,
.kit-hero--admin .splide__slide {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kit-hero--admin .container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.kit-hero--admin .theme-btn.kit-slide__cta {
  display: inline-block;
  padding: 16px 45px;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  border-radius: 7px;
}
