/* Privacy Choices banner (shared by index, privacy, terms, support).
   Self-contained: the legal pages don't load landing.css, so every value has a
   literal fallback. The banner is built by analytics.js, so with JS off none of
   this renders. Accept and Decline share one class on purpose (equal prominence). */

.pc-banner {
  --pc-gold: #f0c567;
  --pc-text: #cfc5ea;
  --pc-heading: #fff9ec;
  position: fixed;
  z-index: 50;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 18px 18px;
  color: var(--pc-text);
  background: linear-gradient(150deg, #221b44 0%, #171130 55%, #120d22 100%);
  border: 1px solid rgba(168, 148, 255, 0.3);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(210, 196, 255, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.55);
  font:
    400 14px/1.5 'Barlow',
    system-ui,
    -apple-system,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
.pc-banner[hidden] {
  display: none;
}
@media (prefers-reduced-motion: no-preference) {
  .pc-banner {
    animation: pc-in 0.25s ease-out;
  }
}
@keyframes pc-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.pc-title {
  margin: 0 0 6px;
  color: var(--pc-gold);
  font:
    600 15px/1.2 'Cinzel',
    serif;
  letter-spacing: 0.04em;
}
.pc-body {
  margin: 0;
}
.pc-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.pc-btn {
  flex: 1 1 0;
  min-height: 44px;
  padding: 0 12px;
  color: var(--pc-heading);
  background: rgba(240, 197, 103, 0.12);
  border: 1px solid var(--pc-gold);
  border-radius: 10px;
  font:
    600 13px/1 'Barlow',
    system-ui,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.pc-btn:hover {
  background: rgba(240, 197, 103, 0.22);
}
.pc-btn:focus-visible,
.pc-more:focus-visible {
  outline: 2px solid var(--pc-gold);
  outline-offset: 2px;
}
.pc-more {
  color: #c9beff;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pc-more:hover {
  color: var(--pc-gold);
}

/* While the banner is up, keep the bottom of the page (footer badges, legal
   line) reachable: analytics.js sets --pc-h to the banner's measured height. */
html.pc-open body {
  padding-bottom: calc(var(--pc-h, 0px) + 24px);
}

/* Footer link on the legal pages (they have no footer nav of their own). */
.pc-footer {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px 40px;
  font:
    400 13px/1.5 'Barlow',
    system-ui,
    sans-serif;
  color: #a9a0cc;
}
.pc-footer a {
  color: #f0c567;
  text-decoration: underline;
  text-underline-offset: 2px;
}
