.ss-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.ss-modal.is-open {
  display: block;
}

.ss-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.4);
  backdrop-filter: blur(8px);
}

.ss-modal-dialog {
  position: relative;
  width: min(920px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 24px;
  background: #020617;
  color: #e5e7eb;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.ss-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.ss-modal-header {
  padding: 36px 40px 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.ss-modal-header h2 {
  margin: 8px 0 8px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.ss-modal-header p {
  margin: 0;
  color: #94a3b8;
}

.ss-modal-body {
  max-height: calc(100vh - 220px);
  overflow-y: auto;
  padding: 28px 40px 40px;
}

.ss-modal-body h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  color: #fff;
}

.ss-modal-body h3:first-child {
  margin-top: 0;
}

.ss-modal-body p,
.ss-modal-body li {
  color: #cbd5e1;
  line-height: 1.7;
}

.ss-modal-body a {
  color: #93c5fd;
}

body.ss-modal-open {
  overflow: hidden;
}