/* The consent bar. It sits at the bottom, out of the way of the hero and of
   the dock, and it leaves on a choice and never comes back: the answer is in
   localStorage. Tokens only, so it is the page's brand in every tone. */
.consent {
  position: fixed;
  inset-inline: clamp(0.75rem, 3vw, 2rem);
  bottom: clamp(0.75rem, 3vw, 2rem);
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  max-width: 44rem;
  margin-inline: auto;
  padding: 1rem 1.25rem;
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 50px -24px rgba(0, 0, 0, 0.9);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--d) var(--e-out), transform var(--d) var(--e-out);
}
.consent.is-in { opacity: 1; transform: none; }
.consent.is-out { opacity: 0; transform: translateY(12px); }

.consent__text {
  flex: 1 1 18rem;
  margin: 0;
  font-size: var(--t-sm);
  line-height: 1.5;
  color: var(--muted);
}
.consent__acts { display: flex; gap: 0.6rem; margin-inline-start: auto; }
.consent .btn { padding: 0.7em 1.2em; }

@media (prefers-reduced-motion: reduce) {
  .consent { transition: opacity var(--d-fast) linear; transform: none; }
  .consent.is-in, .consent.is-out { transform: none; }
}
