.privacy-choice,
.privacy-preferences {
  position: fixed;
  z-index: 1000;
  color: #0a0f16;
  font-family: Inter, Arial, sans-serif;
}

.privacy-choice[hidden],
.privacy-preferences[hidden] {
  display: none;
}

.privacy-choice {
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  max-width: 1040px;
  margin-inline: auto;
  padding: 22px;
  background: #ffffff;
  border: 2px solid #0a0f16;
  box-shadow: 10px 10px 0 rgb(10 15 22 / 0.2);
}

.privacy-choice__eyebrow {
  margin: 0 0 8px;
  color: #006f95;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.privacy-choice h2 {
  margin: 0 0 8px;
  color: #0a0f16;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.1;
}

.privacy-choice p {
  max-width: 72ch;
  margin: 0;
  color: #17202b;
  font-size: 0.9rem;
  line-height: 1.55;
}

.privacy-choice__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.privacy-choice button,
.privacy-preferences {
  min-height: 44px;
  padding: 10px 14px;
  color: #ffffff;
  background: #0a3f68;
  border: 2px solid #0a3f68;
  border-radius: 2px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.privacy-choice button:last-child {
  color: #0a0f16;
  background: #ffffff;
  border-color: #0a0f16;
}

.privacy-choice button:focus-visible,
.privacy-preferences:focus-visible {
  outline: 3px solid #f3b800;
  outline-offset: 3px;
}

.privacy-preferences {
  right: 18px;
  bottom: 18px;
  box-shadow: 5px 5px 0 rgb(10 15 22 / 0.2);
}

@media (max-width: 760px) {
  .privacy-choice {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 18px;
    padding: 18px;
  }

  .privacy-choice__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .privacy-choice button {
    width: 100%;
  }
}
