.privacy-modal {
  width: min(920px, calc(100% - 32px));
  max-height: min(88vh, 900px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  color: #17213a;
  background: #fff;
  box-shadow: 0 24px 80px rgba(7, 19, 48, .32);
}

.privacy-modal::backdrop {
  background: rgba(7, 16, 39, .72);
  backdrop-filter: blur(4px);
}

.privacy-modal__bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  color: #fff;
  background: #0f2252;
}

.privacy-modal__bar strong { font-size: 1.05rem; }

.privacy-modal__close {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.privacy-modal__body {
  max-height: calc(88vh - 76px);
  padding: 26px clamp(20px, 5vw, 54px) 42px;
  overflow: auto;
  overscroll-behavior: contain;
}

.privacy-modal__body .privacy-hero { padding: 0 0 20px; }
.privacy-modal__body .privacy-narrow,
.privacy-modal__body .privacy-layout { width: 100%; max-width: none; margin: 0; padding: 0; }
.privacy-modal__body .privacy-index { display: none; }
.privacy-modal__body .privacy-content { width: 100%; }
.privacy-modal__body .privacy-content section { scroll-margin-top: 20px; }
.privacy-modal__loading { padding: 30px 0; color: #526078; }
body.privacy-modal-open { overflow: hidden; }

@media (max-width: 640px) {
  .privacy-modal { width: 100%; max-height: 94vh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .privacy-modal__body { max-height: calc(94vh - 76px); padding: 22px 18px 36px; }
}

