/* NDA Gate Modal — shared across cases 02 / 03 / 04
   All classes prefixed .nda- to avoid collisions with site styles. */

.nda-scrim {
  position: fixed;
  inset: 0;
  background: rgba(45, 42, 38, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.nda-scrim-locked {
  overflow: hidden;
}

.nda-scrim.is-hidden {
  display: none;
}

.nda-modal {
  position: relative;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow:
    0 30px 80px rgba(45, 42, 38, 0.25),
    0 2px 0 rgba(232, 224, 212, 0.6) inset;
  max-width: 640px;
  width: 100%;
  padding: 48px 48px 36px;
  z-index: 10000;
  font-family: 'DM Sans', sans-serif;
  color: #2D2A26;
  line-height: 1.6;
}

.nda-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2D2A26;
  line-height: 1;
}
.nda-modal-close svg { width: 16px; height: 16px; display: block; }
.nda-modal-close:hover { opacity: 0.6; }
.nda-modal-close:focus-visible { outline: 2px solid #2D2A26; outline-offset: 2px; border-radius: 2px; }

.nda-modal-hero {
  text-align: center;
  margin-bottom: 28px;
}

.nda-hero-emoji {
  font-size: 64px;
  line-height: 1;
  display: inline-block;
  transform-origin: 70% 80%;
  animation: nda-wave 2.4s ease-in-out infinite;
  margin-bottom: 16px;
}

@keyframes nda-wave {
  0%, 60%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
}

.nda-modal h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  font-weight: 400;
  color: #2D2A26;
  line-height: 1.15;
  margin: 0 0 12px;
}

.nda-modal-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #E8734A;
  margin-bottom: 14px;
}

.nda-modal p.nda-lede {
  font-size: 1rem;
  color: #7A7067;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.55;
}

.nda-paths {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

.nda-path-card {
  background: #FDF6EC;
  border: 1px solid #E8E0D4;
  border-radius: 18px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.nda-path-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: #2D2A26;
  line-height: 1.3;
  margin: 0;
}

.nda-path-card p {
  font-size: 0.9rem;
  color: #7A7067;
  line-height: 1.5;
  margin: 0;
}

.nda-email-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid #E8E0D4;
  border-radius: 50px;
  padding: 10px 16px;
  font-family: 'DM Mono', monospace;
  font-size: 0.85rem;
  color: #2D2A26;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
  margin-top: auto;
  align-self: center;
  max-width: 100%;
}

.nda-email-pill:hover {
  border-color: #E8734A;
  transform: translateY(-1px);
}

.nda-email-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nda-copy-ico {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  opacity: 0.55;
}

.nda-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #2D2A26;
  color: #FDF6EC;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nda-email-pill.is-copied .nda-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.nda-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #2D2A26;
}

.nda-modal-foot {
  margin-top: 28px;
  text-align: center;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: #7A7067;
  letter-spacing: 0.04em;
}

.nda-modal-foot a {
  color: #7A7067;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.nda-modal-foot a:hover {
  color: #E8734A;
}

@media (max-width: 560px) {
  .nda-modal {
    padding: 36px 24px 28px;
    border-radius: 20px;
  }
  .nda-modal h1 {
    font-size: 1.5rem;
  }
  .nda-hero-emoji {
    font-size: 52px;
  }
}
