/* ============================================================================
 * JoJo Cal Salepage — Phase 2A additive styles (phase2.css)
 * Loaded AFTER ds.css (tokens) + site.css (Phase 1B mechanics). Kept as its
 * OWN new file on purpose: Phase 2A does not edit site.css/ds.css (Phase 1
 * owned) — only the new pages (about/how-it-works/contact/legal/campaign)
 * and the home-page social-proof bar link this file in addition to site.css.
 * ========================================================================== */

/* ---- Home social-proof stats bar (FR-P2-02) ------------------------------- */
.jc-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.jc-stats-bar__item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.jc-stats-bar__value {
  font-family: var(--font-metric);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--text-strong);
}
.jc-stats-bar__label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- Forms (contact form, FR-P2-01/03) ------------------------------------ */
.jc-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.jc-field label { font-size: 0.9rem; font-weight: 600; color: var(--text-strong); }
.jc-field input[type="text"],
.jc-field input[type="email"],
.jc-field select,
.jc-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  color: var(--text-strong);
  width: 100%;
  box-sizing: border-box;
}
.jc-field input:focus,
.jc-field select:focus,
.jc-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-subtle);
}
.jc-field textarea { resize: vertical; min-height: 130px; font-family: var(--font-body); }

.jc-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.55;
}
.jc-checkbox-row input { margin-top: 3px; flex-shrink: 0; }

.jc-alert {
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 22px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.jc-alert-success { background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-200); }
.jc-alert-error { background: var(--warning-bg); color: var(--warning-fg); border: 1px solid var(--orange-200); }
.jc-alert ul { margin: 0; padding-left: 1.2em; }

/* ---- Contact channel cards -------------------------------------------------- */
.jc-contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.jc-contact-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--text-body);
}
.jc-contact-channel__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}
.jc-contact-channel__label { font-size: 0.78rem; color: var(--text-faint); }
.jc-contact-channel__value { font-weight: 600; font-size: 0.94rem; word-break: break-word; }

/* ---- Legal page tabs -------------------------------------------------------- */
.jc-legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}
.jc-legal-tab {
  padding: 9px 16px;
  border-radius: 99px;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  color: var(--text-body);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
}
.jc-legal-tab.is-active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* ---- How-it-works: onboarding steps ---------------------------------------- */
.jc-onboard-list { display: flex; flex-direction: column; gap: 14px; max-width: 640px; margin: 0 auto; }
.jc-onboard-step { display: flex; gap: 16px; align-items: flex-start; text-align: left; }
.jc-onboard-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-metric);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.jc-onboard-step__text { padding-top: 6px; font-size: 0.98rem; color: var(--text-body); line-height: 1.6; }

/* ---- How-it-works: example-command cards ----------------------------------- */
.jc-cmd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.jc-cmd-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 14px;
}
.jc-cmd-card__title i { color: var(--brand); }
.jc-cmd-examples { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.jc-cmd-examples li {
  font-size: 0.88rem;
  color: var(--text-body);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 9px 12px;
}
