/* ════════════════════════════════════════════════════════════════════
   rd-signup.css — Signup / account creation page
   Requires: rd-base.css
   ════════════════════════════════════════════════════════════════════ */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAV ── */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 5rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

/* ── PAGE GRID ── */
.page-wrap {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
}

/* ── LEFT PANEL ── */
.left-panel {
  background: var(--deep);
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 5rem 5rem 6rem;
  position: relative; overflow: hidden;
}
.left-panel::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a84c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.left-panel::after {
  content: '';
  position: absolute; bottom: -4rem; right: -4rem;
  width: 28rem; height: 28rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.left-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.8rem;
  display: flex; align-items: center; gap: 0.8rem;
  position: relative; z-index: 2;
  animation: fadeUp 0.7s ease 0.1s both;
}
.left-eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--gold); }

.left-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 300; line-height: 1.05;
  color: var(--ivory); letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  position: relative; z-index: 2;
  animation: fadeUp 0.7s ease 0.2s both;
}
.left-h1 em { font-style: italic; color: var(--gold); }

.left-sub {
  font-size: 0.95rem; line-height: 1.8;
  color: rgba(245,240,232,0.78);
  max-width: 36ch;
  position: relative; z-index: 2;
  animation: fadeUp 0.7s ease 0.3s both;
}
.left-sub strong { color: rgba(245,240,232,0.95); font-weight: 400; }

.promise-list {
  list-style: none; margin-top: 2.5rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  position: relative; z-index: 2;
  animation: fadeUp 0.7s ease 0.4s both;
}
.promise-item {
  display: flex; align-items: flex-start; gap: 0.85rem;
  font-size: 0.88rem; line-height: 1.5;
  color: rgba(245,240,232,0.75);
}
.promise-item::before {
  content: '✦'; color: var(--gold); font-size: 0.5rem;
  flex-shrink: 0; margin-top: 0.38rem;
}

/* ── RIGHT PANEL ── */
.right-panel {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem 5rem;
  animation: fadeUp 0.7s ease 0.25s both;
}

.form-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.form-eyebrow::before { content: ''; width: 1.5rem; height: 1px; background: var(--gold); }

.form-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 300; line-height: 1.1;
  color: var(--ink); margin-bottom: 0.5rem;
}
.form-heading em { font-style: italic; color: var(--rose); }

.form-sub {
  font-size: 0.92rem; line-height: 1.7;
  color: rgba(14,11,11,0.68); margin-bottom: 2.5rem;
}

.field-group { gap: 1.25rem; }

/* ── SLUG FIELD ── */
.slug-wrap { position: relative; }
.slug-prefix {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  font-size: 0.82rem; color: rgba(14,11,11,0.52);
  pointer-events: none; white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}
.slug-input { padding-left: 9.6rem !important; }
.slug-check {
  position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem; border-radius: 2px;
  display: none;
}
.slug-check.available { display: block; background: rgba(122,158,138,0.15); color: #5a8a6a; }
.slug-check.taken     { display: block; background: rgba(176,80,96,0.12);  color: var(--rose); }
.slug-check.checking  { display: block; background: rgba(14,11,11,0.06);   color: rgba(14,11,11,0.5); }

/* ── INVITE CODE FIELD ── */
.invite-wrap { position: relative; }
.invite-icon {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  font-size: 0.95rem; pointer-events: none;
}
.invite-input {
  padding-left: 2.6rem !important;
  letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem !important;
}

/* ── PASSWORD STRENGTH ── */
.pw-strength {
  margin-top: 0.4rem;
  display: flex; gap: 3px; align-items: center;
}
.pw-bar {
  flex: 1; height: 2px; background: rgba(14,11,11,0.1);
  border-radius: 2px; transition: background 0.3s;
}
.pw-label {
  font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(14,11,11,0.45); margin-left: 0.5rem; min-width: 4rem;
  transition: color 0.3s;
}

/* ── SUBMIT BUTTON ── */
.form-actions { margin-top: 2rem; }
.btn-submit {
  width: 100%; padding: 1rem;
  background: var(--ink); color: var(--ivory);
  border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.25s, transform 0.15s;
}
.btn-submit:hover   { background: var(--rose); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.form-legal {
  font-size: 0.72rem; color: rgba(14,11,11,0.55);
  margin-top: 1rem; line-height: 1.6; text-align: center;
}
.form-legal a { color: rgba(14,11,11,0.65); }

/* ── FOOTER ── */
footer {
  padding: 1.5rem 5rem;
  border-top: 1px solid rgba(201,168,76,0.15);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--deep);
}
footer .foot-logo { color: var(--ivory); }
footer .foot-logo span { color: rgba(201,168,76,0.85); }
footer p { font-size: 0.68rem; color: rgba(245,240,232,0.45); letter-spacing: 0.07em; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .page-wrap        { grid-template-columns: 1fr; }
  .left-panel       { padding: 3.5rem 2rem 3rem; }
  .left-h1          { font-size: 2.4rem; }
  .right-panel      { padding: 3rem 1.5rem; }
  nav               { padding: 1rem 1.25rem; }
  footer            { padding: 1.25rem 1.5rem; flex-direction: column; gap: 0.5rem; text-align: center; }
}