/* Cookie consent banner. Shared by the homepage and the beta page, so it uses
   only the tokens both already load from style.css. */

.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.6);
  animation: rise-in 0.35s ease both;
}

.consent-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.consent-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  flex: 1;
  min-width: 0;
}

.consent-text a {
  color: var(--accent);
  text-decoration: underline;
}

.consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.consent-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.consent-btn:hover { transform: translateY(-1px); }

/* Decline is a real button, not a hidden link. A consent choice that is harder
   to refuse than to accept is not much of a choice. */
.consent-btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.consent-btn-accept {
  background: var(--accent-grad);
  border: none;
  color: oklch(0.18 0.02 55);
}

@media (max-width: 620px) {
  .consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .consent-actions { justify-content: stretch; }
  .consent-btn { flex: 1; }
}
