/* =========================================================================
   LiquidPixels — Cookie consent banner styles
   Tokens referenced from global.css. No !important.
   ========================================================================= */

.lp-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -8px 32px rgba(14, 14, 12, 0.18);
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  font-family: var(--f-body, var(--f-sans));--amber:#f59e0b;}

.lp-consent.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.lp-consent.is-leaving {
  transform: translateY(110%);
  opacity: 0;
}

.lp-consent-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.lp-consent-copy {
  color: rgba(255, 255, 255, 0.85);
}

.lp-consent-tag {
  display: block;
  font-family: var(--f-label, var(--f-mono));
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 6px;
}

.lp-consent-copy p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
}

.lp-consent-copy a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lp-consent-copy a:hover {
  color: var(--amber);
}

.lp-consent-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.lp-consent-btn {
  font-family: var(--f-body, var(--f-sans));
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1;
  padding: 11px 20px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  min-height: 44px;
}

.lp-consent-btn--primary {
  background: #ffffff;
  color: var(--ink-900);
  border-color: #ffffff;
}

.lp-consent-btn--primary:hover {
  background: var(--warm-50);
  border-color: var(--warm-50);
}

.lp-consent-btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.3);
}

.lp-consent-btn--ghost:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* ── High-contrast mode override ─────────────────────────────────────── */
body.hc .lp-consent {
  background: #00102a;
  border-top-color: rgba(255, 255, 255, 0.2);--amber:#f59e0b;}

body.hc .lp-consent-copy p {
  color: #ffffff;
}

body.hc .lp-consent-btn--ghost {
  color: #ffffff;
  border-color: #ffffff;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .lp-consent {
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .lp-consent-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lp-consent-copy p {
    font-size: 13px;
  }

  .lp-consent-actions {
    justify-content: flex-end;
  }

  .lp-consent-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .lp-consent-actions {
    width: 100%;
  }

  .lp-consent-btn {
    padding: 12px 16px;
  }
}

/* ── Respect reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .lp-consent {
    transition: opacity 0.2s ease;
    transform: translateY(0);
  }
  .lp-consent.is-leaving {
    transform: translateY(0);
  }
}
