/* ==========================================================================
   join-demonstration.css
   Page-specific overrides + additions for the demo sign-up page.
   Builds on signin.css (two-column shell, card, fields, buttons).
   ========================================================================== */

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

:root {
  --jd-accent: #0ea5a4;
  --jd-accent-soft: rgba(14, 165, 164, 0.10);
  --jd-radius: 14px;
  --jd-border: rgba(15, 23, 42, 0.08);
}

/* Make the demo aside lean teal/brand instead of the signin gradient */
.jd-shell .signin-aside.jd-aside {
  background:
    radial-gradient(1200px 600px at 0% 0%, rgba(14, 165, 164, 0.18), transparent 60%),
    linear-gradient(165deg, #0b1220 0%, #0f2533 55%, #0b3a3a 100%);
}

.jd-aside .aside-badge {
  background: var(--jd-accent-soft);
  color: #5eead4;
  border: 1px solid rgba(94, 234, 212, 0.3);
}

.jd-points li .dot {
  background: var(--jd-accent);
  box-shadow: 0 0 0 4px rgba(14, 165, 164, 0.18);
}

/* Embedded Vimeo */
.jd-video { margin: 1.5rem 0 1.25rem; }
.jd-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--jd-radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.jd-video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.jd-video-cap {
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}
.jd-video-cap a { color: #5eead4; text-decoration: underline; }

.jd-trust { gap: 0.75rem; }

.jd-alt {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}
.jd-alt em { color: #fff; font-style: normal; font-weight: 600; }
.jd-alt a { color: #5eead4; text-decoration: none; font-weight: 600; }
.jd-alt a:hover { text-decoration: underline; }

/* Card layout for two-up rows */
.jd-card .jd-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
@media (max-width: 560px) {
  .jd-card .jd-row.two { grid-template-columns: 1fr; }
}

.jd-card .field .req { color: #dc2626; font-weight: 700; }
.jd-card .field .muted { color: #64748b; font-weight: 400; font-size: 0.85em; }
.jd-card .field .hint {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

/* Primary button accent for the demo flow */
.jd-card .btn-primary {
  background: linear-gradient(135deg, var(--jd-accent) 0%, #0891b2 100%);
  border: 0;
}
.jd-card .btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 24px rgba(14, 165, 164, 0.30);
}

/* Honey-pot &mdash; hidden from real users */
.jd-hp {
  position: absolute;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Success alert variant */
.alert.alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

/* ===== FAQ band ===== */
.jd-faq {
  padding: 3rem 1rem 4rem;
}
.jd-faq h2 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
  color: #0f172a;
}
.jd-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.jd-faq details {
  background: #fff;
  border: 1px solid var(--jd-border);
  border-radius: var(--jd-radius);
  padding: 1rem 1.15rem;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.jd-faq details[open] {
  border-color: rgba(14, 165, 164, 0.35);
  box-shadow: 0 8px 22px rgba(14, 165, 164, 0.10);
}
.jd-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #0f172a;
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}
.jd-faq summary::-webkit-details-marker { display: none; }
.jd-faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: -2px;
  font-size: 1.25rem;
  color: var(--jd-accent);
  font-weight: 700;
  transition: transform 0.2s ease;
}
.jd-faq details[open] summary::after { content: "−"; }
.jd-faq details p {
  margin: 0.65rem 0 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
}
.jd-faq details a { color: #0891b2; }
