.privacy-modal[hidden] { display: none; }
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(34, 26, 21, .58);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .28s ease;
}
.privacy-modal.is-open { opacity: 1; }
.privacy-modal__card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: min(100%, 760px);
  max-height: min(86vh, 780px);
  overflow: hidden;
  clip-path: inset(0 round 28px);
  border: 1px solid rgba(255, 252, 247, .68);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, .68), transparent 38%),
    linear-gradient(145deg, rgba(255, 249, 243, .88), rgba(239, 214, 201, .72));
  color: #31231f;
  -webkit-backdrop-filter: blur(28px) saturate(135%);
  backdrop-filter: blur(28px) saturate(135%);
  box-shadow: 0 32px 90px rgba(34, 26, 21, .42), 0 0 48px rgba(193, 105, 79, .13), inset 0 1px 0 rgba(255, 255, 255, .82);
  transform: translateY(20px) scale(.98);
  transition: transform .36s cubic-bezier(.22,.68,.16,1);
}
.privacy-modal.is-open .privacy-modal__card { transform: translateY(0) scale(1); }
.privacy-modal__header { position:relative; z-index:1; flex:0 0 auto; padding:28px 64px 20px 28px; border-bottom:1px solid rgba(152,75,55,.12); background:linear-gradient(145deg,rgba(255,252,247,.62),rgba(239,210,195,.22)); box-shadow:0 12px 28px -28px rgba(49,35,31,.8); }
.privacy-modal__eyebrow { margin:0 0 6px; color:#984b37; font:700 .68rem/1.3 "Manrope","Poppins",sans-serif; letter-spacing:.13em; text-transform:uppercase; }
.privacy-modal__title { margin:0 0 8px; color:#31231f; font:500 clamp(1.7rem,5vw,2.5rem)/1.08 "Fraunces","Playfair Display",Georgia,serif; }
.privacy-modal__intro { margin:0; color:#6b5b52; font:400 .84rem/1.55 "Manrope","Poppins",sans-serif; }
.privacy-modal__close { position:absolute; top:14px; right:14px; display:grid; width:44px; height:44px; place-items:center; border:1px solid rgba(152,75,55,.18); border-radius:50%; background:rgba(255,252,247,.7); color:#78665d; cursor:pointer; font:400 1.25rem/1 sans-serif; transition:transform .22s ease,background .22s ease,color .22s ease; }
.privacy-modal__close:hover { transform:rotate(8deg) scale(1.06); background:#fff8f1; color:#984b37; }
.privacy-modal__content { box-sizing:border-box; flex:1 1 auto; min-height:0; width:100%; max-height:none; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; scroll-behavior:smooth; padding:20px 22px 26px; border-radius:0 0 27px 27px; background:linear-gradient(180deg,rgba(255,252,247,.28),rgba(255,248,241,.12)); box-shadow:inset 0 14px 24px -28px rgba(49,35,31,.9); scrollbar-color:rgba(166,79,59,.72) transparent; scrollbar-width:thin; }
.privacy-modal__content::-webkit-scrollbar { width:8px; }
.privacy-modal__content::-webkit-scrollbar-track { margin-block:10px; background:transparent; }
.privacy-modal__content::-webkit-scrollbar-thumb { border:3px solid transparent; border-radius:999px; background:linear-gradient(180deg,rgba(193,105,79,.82),rgba(152,75,55,.72)) padding-box; }
.privacy-modal__content::-webkit-scrollbar-thumb:hover { background:linear-gradient(180deg,#c1694f,#984b37) padding-box; }
.privacy-modal__section { padding:17px 18px; border:1px solid rgba(152,75,55,.12); border-radius:17px; background:linear-gradient(145deg,rgba(255,255,255,.46),rgba(255,248,241,.25)); box-shadow:inset 0 1px 0 rgba(255,255,255,.66),0 9px 24px rgba(91,57,45,.045); }
.privacy-modal__section + .privacy-modal__section { margin-top:10px; }
.privacy-modal__section h3 { margin:0 0 8px; color:#31231f; font:500 1.12rem/1.25 "Fraunces","Playfair Display",Georgia,serif; }
.privacy-modal__section p { margin:0; color:#6b5b52; font:400 .82rem/1.65 "Manrope","Poppins",sans-serif; }
.privacy-modal__section a { color:#984b37; font-weight:700; }
.privacy-modal__settings { min-height:44px; margin-top:14px; padding:10px 16px; border:0; border-radius:999px; background:linear-gradient(135deg,#bd604c,#984b37); color:#fff8f1; cursor:pointer; font:700 .72rem/1.2 "Manrope",sans-serif; }
body.privacy-modal-lock { overflow:hidden; }
@media (max-width:540px) {
  .privacy-modal { align-items:end; padding:8px; }
  .privacy-modal__card { max-height:92vh; border-radius:24px 24px 18px 18px; clip-path:inset(0 round 24px 24px 18px 18px); }
  .privacy-modal__header { padding:24px 54px 17px 20px; }
  .privacy-modal__content { padding:14px 12px 18px; border-radius:0 0 17px 17px; }
  .privacy-modal__section { padding:15px; border-radius:15px; }
}
@media (prefers-reduced-motion:reduce) { .privacy-modal,.privacy-modal__card { transition:none; } }
