/* Cookie-consent banner on the site's own tokens: a white card on paper,
   ink text, one ink button. Scoped to .site-consent. */

.site-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2147483000;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
  padding: 22px 24px;
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  font-family: Manrope, -apple-system, "Segoe UI", sans-serif;
  color: #16171B;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.site-consent--in { opacity: 1; transform: translateY(0); }
.site-consent__title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.4; color: #16171B; }
.site-consent__toggle {
  appearance: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; text-align: left;
}
.site-consent__caret { flex-shrink: 0; color: #B8B8BE; transition: transform 0.2s ease; }
.site-consent__toggle[aria-expanded="true"] .site-consent__caret { transform: rotate(180deg); }
.site-consent__toggle:focus-visible { outline: 2px solid #16171B; outline-offset: 4px; border-radius: 6px; }
.site-consent__text { margin: 0; font-size: 14px; line-height: 1.5; color: #8E8E93; }
.site-consent__text[hidden] { display: none; }
.site-consent__actions { display: flex; flex-direction: column; gap: 10px; }
.site-consent__btn {
  appearance: none; cursor: pointer; width: 100%; height: 46px; padding: 0 22px; border-radius: 999px;
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1; text-align: center;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}
.site-consent__accept { border: none; color: #FFFFFF; background: #16171B; }
.site-consent__accept:hover { opacity: 0.9; }
.site-consent__decline { border: none; color: #16171B; background: #ECEAE4; }
.site-consent__decline:hover { background: #E3DFD4; }
.site-consent__btn:focus-visible { outline: 2px solid #16171B; outline-offset: 2px; }
@media (min-width: 480px) {
  .site-consent__actions { flex-direction: row; justify-content: flex-end; }
  .site-consent__btn { width: auto; min-width: 132px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-consent, .site-consent__caret { transition: none; transform: none; }
}
