/* Request Access modal — shared across all marketing pages */

.ra-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.ra-modal[hidden] { display: none; }
.ra-modal.ra-open { opacity: 1; }

.ra-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 20, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ra-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fcfbf8;
  border: 1px solid rgba(15, 17, 20, 0.08);
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(15, 17, 20, 0.18);
  padding: 40px 44px 32px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #15171a;
  transform: translateY(12px);
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ra-modal.ra-open .ra-card { transform: translateY(0); }

.ra-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: rgba(15, 17, 20, 0.45);
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.ra-x:hover { background: rgba(15, 17, 20, 0.06); color: #15171a; }

.ra-head { margin-bottom: 28px; }
.ra-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(15, 17, 20, 0.5);
  margin: 0 0 10px;
  font-weight: 500;
}
.ra-head h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  color: #15171a;
}
.ra-sub {
  font-size: 13px;
  color: rgba(15, 17, 20, 0.55);
  margin: 0;
}

.ra-form { display: flex; flex-direction: column; gap: 16px; }
.ra-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .ra-row { grid-template-columns: 1fr; } }

.ra-field { display: flex; flex-direction: column; gap: 6px; }
.ra-field span {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(15, 17, 20, 0.6);
  font-weight: 500;
}
.ra-opt { text-transform: none; letter-spacing: 0; color: rgba(15, 17, 20, 0.4); }

.ra-field input,
.ra-field select,
.ra-field textarea {
  font-family: inherit;
  font-size: 14px;
  color: #15171a;
  background: #ffffff;
  border: 1px solid rgba(15, 17, 20, 0.14);
  border-radius: 3px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ra-field input:focus,
.ra-field select:focus,
.ra-field textarea:focus {
  border-color: rgba(15, 17, 20, 0.5);
  box-shadow: 0 0 0 3px rgba(15, 17, 20, 0.06);
}
.ra-field textarea { resize: vertical; min-height: 72px; font-family: inherit; }

.ra-honey {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.ra-actions { margin-top: 6px; }
.ra-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: #15171a;
  color: #fcfbf8;
  border: none;
  border-radius: 3px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.ra-submit:hover { background: #2a2d33; }
.ra-submit:disabled { opacity: 0.6; cursor: progress; }
.ra-submit-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(252, 251, 248, 0.3);
  border-top-color: #fcfbf8;
  border-radius: 50%;
  animation: ra-spin 0.7s linear infinite;
  display: none;
}
.ra-submit.ra-loading .ra-submit-spinner { display: inline-block; }
.ra-submit.ra-loading .ra-submit-text { opacity: 0.7; }
@keyframes ra-spin { to { transform: rotate(360deg); } }

.ra-status {
  margin: 4px 0 0;
  font-size: 13px;
  min-height: 18px;
}
.ra-status-ok { color: #1a6b3a; }
.ra-status-error { color: #a8341e; }
