/* bioQ analytics consent v1 — shared, privacy-first and intentionally quiet. */
.bioq-consent-open {
  scroll-padding-bottom: 220px;
}

.bioq-consent {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 1200;
  color: #f3efe7;
  font-family: var(--body, "Outfit", "Helvetica Neue", sans-serif);
}

.bioq-consent[hidden] {
  display: none;
}

.bioq-consent__inner {
  width: min(760px, 100%);
  margin-left: auto;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px 30px;
  align-items: end;
  border: 1px solid rgba(250, 247, 241, .34);
  border-radius: 2px;
  background: #0a2e30;
  box-shadow: 0 18px 50px rgba(10, 46, 48, .34);
}

.bioq-consent__eyebrow {
  margin: 0 0 8px;
  color: #d9a17d;
  font: 600 10px/1.2 var(--body, "Outfit", "Helvetica Neue", sans-serif);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.bioq-consent h2 {
  margin: 0;
  color: inherit;
  font: 400 clamp(27px, 3vw, 36px)/1.03 var(--display, "Newsreader", Georgia, serif);
  letter-spacing: -.025em;
}

.bioq-consent__copy > p:not(.bioq-consent__eyebrow) {
  max-width: 520px;
  margin: 10px 0 0;
  color: rgba(250, 247, 241, .74);
  font-size: 13px;
  line-height: 1.5;
}

.bioq-consent__copy a,
.bioq-consent__footer-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  color: inherit;
  font: 500 12px/1.3 var(--body, "Outfit", "Helvetica Neue", sans-serif);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bioq-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.bioq-consent__actions button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #f3efe7;
  border-radius: 2px;
  cursor: pointer;
  font: 500 12px/1 var(--body, "Outfit", "Helvetica Neue", sans-serif);
  letter-spacing: .02em;
}

.bioq-consent__necessary {
  background: transparent;
  color: #f3efe7;
}

.bioq-consent__accept {
  background: #f3efe7;
  color: #0a2e30;
}

.bioq-consent__actions button:hover {
  border-color: #d9a17d;
  color: #0a2e30;
  background: #d9a17d;
}

.bioq-consent :is(a, button):focus-visible,
.bioq-consent__footer-link:focus-visible {
  outline: 2px solid #d9a17d;
  outline-offset: 4px;
}

.bioq-consent__footer-link {
  margin: 20px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

@media (max-width: 640px) {
  .bioq-consent {
    inset: auto 12px 12px;
  }

  .bioq-consent__inner {
    padding: 17px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bioq-consent__actions {
    justify-content: stretch;
  }

  .bioq-consent__actions button {
    flex: 1 1 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bioq-consent,
  .bioq-consent * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
