/* Cookie consent banner.
   Sits above the chat launcher (z-index 400/401) and lifts it while open. */

.vl-consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 500;
  background: var(--grad-ink);
  border-top: 1px solid rgba(159, 220, 239, .22);
  box-shadow: 0 -10px 40px rgba(14, 24, 48, .28);
  padding: 20px 0 calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform .42s var(--ease-out);
}
.vl-consent.in { transform: translateY(0); }

.vl-consent-inner {
  width: min(var(--maxw), 100% - 48px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.vl-consent-copy { flex: 1 1 auto; min-width: 0; }

.vl-consent h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}

.vl-consent p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.55;
  color: rgba(233, 242, 250, .9);
}

.vl-consent a {
  color: var(--cyan-300);
  font-weight: 600;
  border-bottom: 1px solid rgba(159, 220, 239, .45);
  transition: border-color .2s;
}
.vl-consent a:hover { border-bottom-color: var(--cyan-300); }

.vl-consent-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 12px;
}

/* Accept and reject carry equal visual weight: no nudging toward yes. */
.vl-consent-actions button {
  font-family: var(--font);
  font-size: .92rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s var(--ease-out), background-color .2s, border-color .2s;
}
.vl-consent-actions button:hover { transform: translateY(-2px); }

.vl-btn-accept { background: #fff; color: #1b2a4a; }
.vl-btn-accept:hover { background: var(--cyan-300); }

.vl-btn-reject {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.vl-btn-reject:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

.vl-consent-actions button:focus-visible,
.vl-consent a:focus-visible {
  outline: 3px solid var(--cyan-300);
  outline-offset: 3px;
}

/* Lift the chat launcher clear of the banner while it is showing. */
body.vl-consent-open .vee-launcher,
body.vl-consent-open .vee-panel {
  bottom: calc(22px + var(--vl-consent-h, 96px));
  transition: bottom .42s var(--ease-out);
}

@media (max-width: 860px) {
  .vl-consent-inner {
    width: min(var(--maxw), 100% - 32px);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .vl-consent-actions { gap: 10px; }
  .vl-consent-actions button { flex: 1 1 0; padding: 13px 16px; }
  body.vl-consent-open .vee-launcher,
  body.vl-consent-open .vee-panel { bottom: calc(16px + var(--vl-consent-h, 150px)); }
}

@media (prefers-reduced-motion: reduce) {
  .vl-consent { transition: none; }
  .vl-consent-actions button { transition: none; }
  .vl-consent-actions button:hover { transform: none; }
  body.vl-consent-open .vee-launcher,
  body.vl-consent-open .vee-panel { transition: none; }
}
