/* Footer legal link */
.foot-bottom {
  /* display: flex; */
  /* justify-content: space-between; */
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.foot-bottom-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.foot-bottom-sep {
  color: rgba(255, 255, 255, 0.28);
}

.foot-legal-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: #cfd3e5;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}

.foot-legal-link:hover {
  color: #fff;
}

/* Privacy modal */
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}

.privacy-modal section {
  padding: 0px;
}

.privacy-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.privacy-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 48, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.privacy-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(86vh, 900px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(27, 42, 110, 0.10);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(27, 42, 110, 0.18);
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
}

.privacy-modal.is-open .privacy-modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.privacy-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid rgba(27, 42, 110, 0.10);
}

.privacy-modal-header h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.2;
  color: #1B2A6E;
}

.privacy-modal-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(27, 42, 110, 0.10);
  border-radius: 10px;
  background: #fff;
  color: #1B2A6E;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.privacy-modal-close:hover {
  background: #EEF0FA;
  border-color: rgba(200, 32, 92, 0.25);
  color: #C8205C;
}

.privacy-modal-body {
  overflow: auto;
  padding: 20px 24px 28px;
  color: #0F1430;
}

.privacy-modal-body section + section {
  margin-top: 28px;
  border-top: 1px solid rgba(27, 42, 110, 0.08);
}

.privacy-modal-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
  color: #1B2A6E;
}

.privacy-modal-body h4 {
  margin: 18px 0 8px;
  font-size: 15px;
  line-height: 1.4;
  color: #1B2A6E;
}

.privacy-modal-body p,
.privacy-modal-body li {
  font-size: 15px;
  line-height: 1.65;
  color: #5A6079;
}

.privacy-modal-body p {
  margin: 0 0 12px;
}

.privacy-modal-body ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.privacy-modal-body li + li {
  margin-top: 6px;
}

.privacy-modal-body a {
  color: #1B2A6E;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}

.privacy-modal-body a:hover {
  color: #C8205C;
}

.privacy-modal-updated {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #C8205C;
}

body.privacy-modal-open {
  overflow: hidden;
}

@media (max-width: 680px) {
  .foot-bottom-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .foot-bottom-sep {
    display: none;
  }

  .privacy-modal {
    padding: 12px;
  }

  .privacy-modal-header,
  .privacy-modal-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .privacy-modal-dialog {
    max-height: 92vh;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-modal,
  .privacy-modal-dialog {
    transition: none;
  }

  .privacy-modal-dialog {
    transform: none;
    opacity: 1;
  }
}
