#preloader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  z-index: 9999;
}

/* Bigger circle frame; logo + tagline stay static inside */
.preloader-orbit {
  position: relative;
  width: min(280px, 82vw);
  height: min(280px, 82vw);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: rotate(-90deg);
}

.preloader-orbit-glow {
  fill: rgba(95, 168, 43, 0.08);
  animation: preloader-orbit-glow 3.2s ease-in-out infinite;
}

@keyframes preloader-orbit-glow {

  0%,
  100% {
    opacity: 0.45;
  }

  50% {
    opacity: 0.95;
  }
}

.preloader-orbit-track {
  stroke: rgba(95, 168, 43, 0.18);
  stroke-width: 2;
  fill: none;
}

.preloader-orbit-track--inner {
  stroke: rgba(95, 168, 43, 0.12);
  stroke-width: 1.5;
}

/* ~25% arc on r=88: circumference ≈ 553 */
.preloader-orbit-arc--outer {
  stroke: #5fa82b;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 138 420;
  animation: preloader-orbit-dash-outer 2.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

/* r=76: C ≈ 477 */
.preloader-orbit-arc--inner {
  stroke: #7bc74a;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 95 385;
  animation: preloader-orbit-dash-inner 3.1s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite reverse;
}

@keyframes preloader-orbit-dash-outer {
  to {
    stroke-dashoffset: -553;
  }
}

@keyframes preloader-orbit-dash-inner {
  to {
    stroke-dashoffset: 477;
  }
}

/* Sidebar-sized lockup — no pulse on logo/text */
.preloader-brand {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#preloader .preloader-logo {
  display: block;
  width: 165px;
  height: 44px;
  object-fit: contain;
}

#preloader .preloader-tagline {
  margin-top: 2px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
  color: #1a1a1a;
}