/* Shared finish: retain the role palette and architectural, restrained character. */
:root {
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
body.is-booting {
  overflow: hidden;
}
.startup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #111113;
  color: #f7f7fa;
  padding: 24px;
  box-sizing: border-box;
}
.startup-content {
  width: min(310px, 100%);
  text-align: center;
}
.startup-monogram {
  width: 76px;
  height: 76px;
  margin: 0 auto 30px;
  position: relative;
  display: grid;
  place-items: center;
  background: #ee902f;
  border-radius: 20px;
  box-shadow: 0 12px 32px #0005;
}
.startup-bricks {
  display: grid;
  grid-template-columns: repeat(3, 12px);
  gap: 4px;
  transform: rotate(-8deg);
}
.startup-bricks i {
  height: 12px;
  background: #211b15;
  border-radius: 2px;
  animation: brick-settle 700ms var(--motion-ease) both;
}
.startup-bricks i:nth-child(2) {
  animation-delay: 90ms;
}
.startup-bricks i:nth-child(3) {
  animation-delay: 180ms;
}
.startup-bricks i:nth-child(4) {
  animation-delay: 270ms;
}
.startup-bricks i:nth-child(5) {
  animation-delay: 360ms;
}
.startup-bricks i:nth-child(6) {
  animation-delay: 450ms;
}
.startup-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin: 0 0 12px;
}
.startup-subtitle {
  color: #a9a8b2;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.startup-track {
  height: 2px;
  width: 160px;
  margin: 30px auto 0;
  overflow: hidden;
  border-radius: 2px;
  background: #313037;
}
.startup-track::after {
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  background: #ee902f;
  transform-origin: left;
  animation: startup-progress 2.5s var(--motion-ease) both;
}
@keyframes brick-settle {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes startup-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

#kc-workspace .kc-button,
#kc-workspace .kc-nav button,
.login button {
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms var(--motion-ease),
    box-shadow 180ms ease;
}
#kc-workspace .kc-button:active:not(:disabled),
.login button:active:not(:disabled) {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  #kc-workspace .kc-button:hover:not(:disabled),
  .login button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px #0003;
    filter: brightness(1.08);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .startup-track::after {
    transform: none;
  }
}
