/* Cookie consent banner — deliberately quiet: a small card in the bottom-left
   rather than a full-width bar, so it never blocks the signup card. Hidden
   until js/cookies.js decides there is actually something to consent to. */

.ck-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 80;
  width: min(380px, calc(100vw - 48px));
  background: rgba(244, 241, 234, .97);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  border: 1px solid rgba(23, 21, 18, .14);
  border-radius: 14px;
  padding: 20px 22px 18px;
  box-shadow: 0 22px 54px rgba(23, 21, 18, .18);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 480ms cubic-bezier(.22, 1, .36, 1),
              transform 480ms cubic-bezier(.22, 1, .36, 1);
}
.ck-banner.ck-in { opacity: 1; transform: translateY(0); }
.ck-banner[hidden] { display: none; }

.ck-title {
  font-family: 'Michroma', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #2b6765;
  margin-bottom: 11px;
}
.ck-copy {
  font-size: 12.5px;
  line-height: 1.7;
  color: #3e3933;
  margin-bottom: 16px;
}
.ck-copy a { color: #2b6765; }

.ck-actions { display: flex; gap: 10px; align-items: center; }
.ck-btn {
  font-family: 'Michroma', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 7px;
  padding: 11px 16px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 260ms cubic-bezier(.22, 1, .36, 1),
              color 260ms cubic-bezier(.22, 1, .36, 1);
}
/* Accepting and declining carry equal visual weight: no dark patterns. */
.ck-accept { background: #3f8f8c; color: #fff; }
.ck-accept:hover { background: #337a78; }
.ck-decline { background: transparent; color: #55504a; border-color: rgba(23, 21, 18, .2); }
.ck-decline:hover { background: rgba(23, 21, 18, .05); color: #171512; }

@media (max-width: 700px) {
  .ck-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px 18px 16px; }
  .ck-actions .ck-btn { flex: 1; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ck-banner { transition: none; }
}
