/* consent.css — cookie-consent banner. Uses the shared design tokens (present in
   both landing.css and app style.css) with hard fallbacks so it renders even if
   loaded before those, and adapts to light/dark via the tokens. */
.cp-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--surface, #ffffff);
  border-top: 1px solid var(--border, #e6e8ec);
  box-shadow: 0 -6px 28px rgba(10, 21, 38, 0.14);
  font-family: var(--font-sans, system-ui, sans-serif);
  animation: cp-consent-up 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.cp-consent-inner {
  max-width: 1100px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.cp-consent-text {
  flex: 1; min-width: 240px; margin: 0;
  font-size: 13px; line-height: 1.55; color: var(--fg-2, #4a5563);
}
.cp-consent-text a { color: var(--primary, #2c6cb0); text-decoration: underline; text-underline-offset: 2px; }
.cp-consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cp-consent-btn {
  padding: 9px 20px; border-radius: var(--r-md, 10px);
  font-family: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: background 0.15s ease;
}
.cp-consent-accept { background: var(--primary, #2c6cb0); color: #fff; }
.cp-consent-accept:hover { background: var(--primary-hover, #245a94); }
.cp-consent-decline {
  background: var(--surface, #fff); color: var(--fg, #1a2230);
  border-color: var(--border-strong, #cbd5e1);
}
.cp-consent-decline:hover { background: var(--surface-2, #f1f4f8); }
@keyframes cp-consent-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (max-width: 600px) {
  .cp-consent-inner { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .cp-consent-actions { width: 100%; }
  .cp-consent-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .cp-consent { animation: none; } }
