/* ==========================================================================
   join.css
   Trial-account sign-up overrides. Builds on signin.css and
   join-demonstration.css. Uses an indigo accent to differentiate the trial
   flow from the teal demo flow.
   ========================================================================== */

/*rh*/
h1 {color:white;}

:root {
  --j-accent: #4f46e5;
  --j-accent-2: #6366f1;
  --j-accent-soft: rgba(79, 70, 229, 0.12);
  --j-border: rgba(15, 23, 42, 0.08);
}

/* Aside: indigo wash instead of teal */
.j-shell .signin-aside.j-aside {
  background:
    radial-gradient(1200px 600px at 0% 0%, rgba(99, 102, 241, 0.22), transparent 60%),
    linear-gradient(165deg, #0b1220 0%, #1a1b3a 55%, #2a1f5c 100%);
}
.j-aside .aside-badge {
  background: var(--j-accent-soft);
  color: #c7d2fe;
  border: 1px solid rgba(199, 210, 254, 0.35);
}
.j-points li .dot {
  background: var(--j-accent-2);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.20);
}
.j-alt a { color: #c7d2fe; }
.j-trust strong { color: #fff; }

/* Steps */
.j-steps {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
}
.j-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--j-border);
  border-radius: 999px;
  background: #fff;
}
.j-steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  font-weight: 700;
  font-size: 0.7rem;
}
.j-steps li.active {
  background: var(--j-accent-soft);
  border-color: rgba(79, 70, 229, 0.35);
  color: #3730a3;
}
.j-steps li.active span {
  background: var(--j-accent);
  color: #fff;
}

/* Grouped sections inside the card */
.j-fs {
  border: 1px solid var(--j-border);
  border-radius: 12px;
  padding: 1rem 1rem 0.6rem;
  margin: 0 0 1rem;
  background: #fafbff;
}
.j-fs legend {
  padding: 0 0.45rem;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4338ca;
}
.j-fs .field { margin-bottom: 0.85rem; }

/* Primary button &mdash; indigo for trial */
.j-card .btn-primary,
.j-card .btn-primary.j-btn {
  background: linear-gradient(135deg, var(--j-accent) 0%, #7c3aed 100%);
  border: 0;
}
.j-card .btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.30);
}

/* FAQ accent override for indigo flow */
#join-trial + .jd-faq details[open] {
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.10);
}
#join-trial + .jd-faq summary::after { color: var(--j-accent); }
#join-trial + .jd-faq details a { color: var(--j-accent); }
