.privacy-wrapper {
  position: fixed;
  inset: 0;
  z-index: 995;
  pointer-events: none;
}

.privacy-shell {
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background-color 260ms ease;
}

.privacy-panel {
  position: absolute;
  inset: 20vh 0 0 0;
  height: 80vh;
  background: #fdfdfc;
  color: #1f1f1f;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 260ms ease, transform 520ms cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.privacy-panel > * {
  position: relative;
  z-index: 1;
}

.privacy-close {
  position: fixed;
  top: 1.4rem;
  right: 1.6rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: #1f1f1f;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 2;
}

.privacy-content {
  max-width: 860px;
  padding: clamp(2.6rem, 5.5vw, 4.2rem) clamp(2rem, 7vw, 7.5rem) 5rem;
  max-height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  box-sizing: border-box;
}

.privacy-eyebrow {
  font-family: var(--font-anton);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.privacy-updated {
  font-family: var(--font-dm-sans);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  color: #2a2a2a;
}

.privacy-body {
  font-family: var(--font-dm-sans);
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  line-height: 1.6;
  color: #1f1f1f;
}

.privacy-body p {
  margin: 0 0 0.8rem;
}

.privacy-body h3 {
  font-family: var(--font-anton);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 2rem 0 0.8rem;
}

html.is-privacy-open,
body.is-privacy-open {
  overflow: hidden;
}

html.is-privacy-open .privacy-wrapper {
  pointer-events: auto;
}

html.is-privacy-open .privacy-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

html.is-privacy-open .privacy-shell {
  background: #fdfdfc;
}

@media (max-width: 720px) {
  .privacy-panel {
    inset: 0;
    height: 100vh;
  }

  .privacy-content {
    padding: 2.4rem 1.8rem 3.5rem;
  }
}
