/* Cookie banner (consent.js). Ink on White on purpose: Lagoon stays with the page's one primary action. */
.cc {
  position: fixed;
  /* Bottom right: at bottom left the card covered the v1 hero's "Book a Board Room
     demo" at 1280x800 and 1440x900. The v1 step rail is centred vertically, above it. */
  right: 24px;
  bottom: 24px;
  z-index: 300; /* above .nav in v2 (200) and --z-dialog in v1 (20) */
  max-width: 420px;
  padding: 20px 22px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(20, 33, 61, 0.14);
  font: 400 15px/1.55 var(--sans);
  animation: cc-in 0.35s var(--ease) both;
}
.cc[hidden] {
  display: none;
}
.cc-h {
  margin: 0 0 6px;
  font: 500 20px/1.25 var(--serif);
}
.cc-p {
  margin: 0 0 16px;
  color: var(--text-2);
}
.cc-p a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cc-actions {
  display: flex;
  gap: 10px;
}
.cc-btn {
  flex: 1 1 0;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font: 500 15px/1 var(--sans);
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.cc-btn:hover {
  background: var(--ink);
  color: var(--white);
}
.cc-btn:focus-visible,
.cc-p a:focus-visible,
.cc-open:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.cc-open {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cc-open:hover {
  color: var(--on-ink);
}
.cc-open:focus-visible {
  outline-color: var(--on-ink);
}
@keyframes cc-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Phones: a full-width card just under the fixed nav, not a bottom sheet. At 375 px a
   bottom sheet covered the hero's "Book a Board Room demo"; up here it leaves both the
   nav's "Book a demo" and the hero CTA visible. */
@media (max-width: 860px) {
  .cc {
    left: 12px;
    right: 12px;
    top: 76px; /* below .nav (68 px tall on phones) */
    bottom: auto;
    max-width: none;
    padding: 16px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cc {
    animation: none;
  }
  .cc-btn {
    transition: none;
  }
}
