/* CLIEAIR onboarding tour — soft, custodial, dismissible */

body.cl-onb-open { overflow: hidden; }

.cl-onb__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9990;
}

.cl-onb {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(34rem, 92vw);
  background: #0d1b2a;
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  z-index: 9999;
  padding: 1.5rem;
  color: #f0e6d2;
}

.cl-onb__close {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  background: transparent;
  color: #c9a227;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.3rem;
}
.cl-onb__close:focus { outline: 2px solid #c9a227; }

.cl-onb__title {
  margin: 0 0 0.6rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  line-height: 1.25;
  color: #f0e6d2;
}

.cl-onb__copy {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #d9d3c4;
}

.cl-onb__dots {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  margin: 1rem 0 1.2rem;
}
.cl-onb__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201,162,39,0.25);
  transition: background 180ms;
}
.cl-onb__dot--active { background: #c9a227; }

@media (prefers-reduced-motion: reduce) {
  .cl-onb__dot { transition: none; }
}

.cl-onb__ctrl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.cl-onb__nav { display: flex; gap: 0.5rem; }

.cl-onb__btn {
  padding: 0.55rem 1.1rem;
  background: rgba(201,162,39,0.1);
  color: #c9a227;
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}
.cl-onb__btn:hover { background: rgba(201,162,39,0.18); }
.cl-onb__btn:focus { outline: 2px solid #f0e6d2; }
.cl-onb__btn--primary {
  background: linear-gradient(180deg, #c9a227 0%, #a9871f 100%);
  color: #0d1b2a;
  border-color: transparent;
}
.cl-onb__btn--primary:hover { filter: brightness(1.06); }
.cl-onb__btn--ghost {
  background: transparent;
  color: #8a9bb0;
  border-color: rgba(255,255,255,0.07);
}
.cl-onb__btn--ghost:hover { color: #c9a227; border-color: rgba(201,162,39,0.3); }

/* The "What is this page?" reopen button placed in the nav */
.cl-onb-reopen {
  margin-left: 0.7rem;
  background: transparent;
  color: #8a9bb0;
  border: 1px dashed rgba(201,162,39,0.25);
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
}
.cl-onb-reopen:hover { color: #c9a227; border-color: #c9a227; }
