/* ── Cookie consent gate ──────────────────────────────────────────── */
/* Standalone on purpose — not merged into landing.css, so blog pages
   (which don't load landing.css) can use this without pulling in
   unrelated marketing styles. Values mirror .reg-overlay / .reg-panel /
   .why-card / .btn-primary-new / .btn-ghost-new in landing.css so it
   reads as the same design system. */

.cc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(7.2px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.cc-panel {
  width: 100%;
  max-width: 460px;
  background: hsl(var(--bg-300));
  border-radius: 16px;
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.5);
  padding: 1.75rem 1.6rem;
}

.cc-title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: hsl(var(--text-000));
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}

.cc-text {
  margin: 0 0 1.4rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: hsl(var(--text-200));
}

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.cc-btn-deny,
.cc-btn-accept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.7rem 1.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.cc-btn-deny {
  background: hsl(var(--bg-200));
  color: hsl(var(--text-100));
  border: 1px solid hsl(var(--border-300) / 20%);
}
.cc-btn-deny:hover {
  background: hsl(var(--bg-000));
  border-color: hsl(var(--border-300) / 35%);
}

.cc-btn-accept {
  background: var(--color-cta-base);
  color: #0B141E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px -12px rgba(255, 196, 184, 0.55);
}
.cc-btn-accept:hover {
  background: var(--color-cta);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px rgba(255, 196, 184, 0.7);
}

@media (max-width: 480px) {
  .cc-actions {
    flex-direction: column-reverse;
  }
  .cc-btn-deny,
  .cc-btn-accept {
    width: 100%;
  }
}
