.privacy-notice {
  position: fixed;
  z-index: 200;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  padding: .8rem;
  pointer-events: none;
}

.privacy-notice[hidden] {
  display: none;
}

.privacy-notice-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .55rem 1.5rem;
  width: min(900px, 100%);
  padding: 1.15rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 1.1rem;
  background: #17291d;
  color: #fff;
  box-shadow: 0 .8rem 3rem rgba(0, 0, 0, .3);
  pointer-events: auto;
}

.privacy-notice-kicker {
  grid-column: 1 / -1;
  margin: 0;
  color: #dce77f;
  font-size: .6rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.privacy-notice h2 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -.045em;
}

.privacy-notice-card > p:not(.privacy-notice-kicker) {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .82rem;
  line-height: 1.45;
}

.privacy-notice-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: center;
}

.privacy-notice-links a {
  color: rgba(255, 255, 255, .86);
  font-size: .82rem;
  font-weight: 750;
}

.privacy-notice-button {
  grid-column: 2;
  grid-row: 3 / span 2;
  align-self: center;
  min-height: 2.8rem;
  padding: .6rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: #dce77f;
  color: #14251b;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.privacy-notice-button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.privacy-notice-card small {
  color: rgba(255, 255, 255, .5);
  font-size: .7rem;
}

@media (max-width: 680px) {
  .privacy-notice {
    padding: .5rem;
  }

  .privacy-notice-card {
    grid-template-columns: 1fr;
    gap: .6rem;
    padding: 1rem;
    border-radius: .95rem;
  }

  .privacy-notice h2 {
    font-size: 1.35rem;
  }

  .privacy-notice-button {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-notice-button {
    transform: none !important;
  }
}
