.privacy-note {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 22px;
  z-index: 9999;
  display: grid;
  width: min(920px, calc(100% - 32px));
  max-width: none;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(20, 18, 31, .1);
  border-radius: 20px;
  background: rgba(255, 255, 255, .96);
  color: #14121f;
  font-family: 'Manrope', sans-serif;
  font-size: .84rem;
  line-height: 1.45;
  box-shadow: 0 24px 70px rgba(20, 18, 31, .18), 0 3px 10px rgba(20, 18, 31, .08);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  isolation: isolate;
}

.privacy-note[hidden] { display: none !important; }

.privacy-note::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(109, 59, 235, .04), transparent 46%, rgba(117, 225, 208, .09));
  pointer-events: none;
}

.privacy-note.is-dismissed {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
}

.privacy-note__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(11, 127, 116, .18);
  border-radius: 14px;
  background: linear-gradient(135deg, #effaf7, #f5f1fe);
  color: #0b7f74;
}

.privacy-note__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-note__copy {
  display: block;
  min-width: 0;
}

.privacy-note__copy > strong,
.privacy-note__copy > span {
  display: block;
}

.privacy-note__copy > strong {
  margin-bottom: 2px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .91rem;
  font-weight: 800;
}

.privacy-note__copy > span:not(.privacy-note__assurance) {
  color: #4b5563;
}

.privacy-note__assurance {
  display: flex !important;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
}

.privacy-note__assurance span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #075e56;
  font-size: .68rem;
  font-weight: 750;
}

.privacy-note__assurance span::before {
  content: "\2713";
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 50%;
  background: #dff7f1;
  color: #0b7f74;
  font-size: .58rem;
  font-weight: 900;
}

.privacy-note__actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  pointer-events: auto;
}

.privacy-note .privacy-note__actions a {
  margin: 0;
  padding: 9px 11px;
  border-radius: 10px;
  color: #4b5563;
  font-size: .76rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.privacy-note .privacy-note__actions a:hover {
  background: #f3f4f6;
  color: #14121f;
  text-decoration: none;
}

.privacy-note .privacy-note__actions button {
  position: relative;
  z-index: 2;
  min-width: 104px;
  margin: 0;
  padding: 10px 15px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #6d3beb 0%, #0b7f74 48%, #075e56 100%);
  color: #fff;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  box-shadow: 0 8px 18px rgba(11, 127, 116, .22);
  transition: transform .18s ease, box-shadow .18s ease;
}

.privacy-note .privacy-note__actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 11px 23px rgba(11, 127, 116, .3);
}

.privacy-note .privacy-note__actions button:focus-visible,
.privacy-note .privacy-note__actions a:focus-visible {
  outline: 3px solid rgba(109, 59, 235, .28);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .privacy-note {
    bottom: 12px;
    width: min(560px, calc(100% - 20px));
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 12px;
    padding: 12px;
    border-radius: 17px;
  }

  .privacy-note__actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

@media (max-width: 420px) {
  .privacy-note {
    grid-template-columns: 1fr;
  }

  .privacy-note__icon {
    display: none;
  }

  .privacy-note__actions {
    grid-column: auto;
    justify-content: stretch;
  }

  .privacy-note .privacy-note__actions a,
  .privacy-note .privacy-note__actions button {
    flex: 1 1 50%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-note,
  .privacy-note .privacy-note__actions button {
    transition: none;
  }
}
