/* ================================================================
   JOIN OUR NETWORK PAGE
   ================================================================ */

/* ---- HERO ---- */
.jon-hero {
  background: linear-gradient(180deg, #F8FAFC, #F0F5FB);
  border-bottom: 1px solid var(--sl-line);
}

.jon-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 24px 64px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.jon-provider-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--sl-blue-300);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin-bottom: 22px;
}

.jon-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sl-blue-600);
  display: inline-block;
}

.jon-badge-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sl-blue-800);
}

.jon-hero h1 {
  font-family: var(--font-display);
  font-size: 62px;
  font-weight: 700;
  line-height: 1.02;
  margin-bottom: 24px;
  color: var(--fg-1);
}

.jon-hero h1 .accent {
  color: var(--sl-blue-600);
}

.jon-hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 560px;
  margin-bottom: 32px;
}

.jon-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.jon-btn-primary {
  background: var(--sl-blue-600);
  color: #fff;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.jon-btn-secondary {
  background: #fff;
  color: var(--sl-blue-700);
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  border: 1px solid var(--sl-blue-300);
  text-decoration: none;
}

.jon-hero-stats {
  margin-top: 40px;
  display: flex;
  gap: 44px;
  color: var(--fg-3);
  font-size: 14px;
}

.jon-stat-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--sl-blue-800);
  line-height: 1;
}

.jon-stat-value .stat-sub {
  font-size: 16px;
  margin-left: 2px;
}

.jon-stat-label {
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 600;
}

/* ---- PROVIDER CARD ---- */
.jon-card-col {
  position: relative;
}

.jon-provider-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--sl-line);
  padding: 24px;
}

.jon-provider-card-heading {
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  margin-bottom: 14px;
}

.jon-provider-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
}

.jon-provider-row:not(:last-child) {
  border-bottom: 1px dashed var(--sl-line);
}

.jon-provider-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--sl-blue-100);
  color: var(--sl-blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.jon-provider-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg-1);
}

.jon-provider-desc {
  font-size: 13px;
  color: var(--fg-3);
  margin-top: 2px;
}

.jon-credentialing-toast {
  position: absolute;
  bottom: -70px;
  right: -20px;
  background: var(--sl-ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  max-width: 240px;
}

.jon-toast-label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7EAAD8;
  font-weight: 700;
  margin-bottom: 4px;
}

.jon-toast-body {
  font-size: 15px;
  line-height: 1.45;
}

/* ---- WHY PROVIDERS JOIN ---- */
.jon-why-join {
  background: #fff;
  padding: 80px 0;
}

/* ---- WHAT WE LOOK FOR ---- */
.jon-criteria {
  background: var(--bg-2);
  padding: 80px 0;
  border-top: 1px solid var(--sl-line);
  border-bottom: 1px solid var(--sl-line);
}

.jon-criteria-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.jon-criteria-sticky {
  position: sticky;
  top: 100px;
}

.jon-criteria-eyebrow {
  margin-bottom: 14px;
}

.jon-criteria-h2 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--fg-1);
  margin-bottom: 18px;
}

.jon-criteria-p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-3);
}

.jon-requirements {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--sl-line);
  overflow: hidden;
}

.jon-req-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 26px;
  align-items: start;
}

.jon-req-item:not(:last-child) {
  border-bottom: 1px solid var(--sl-line);
}

.jon-req-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sl-blue-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 14px;
}

.jon-req-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg-1);
  margin-bottom: 4px;
}

.jon-req-body {
  font-size: 14px;
  color: var(--fg-3);
  line-height: 1.55;
}

/* ---- ONBOARDING ---- */
.jon-onboarding {
  background: #fff;
  padding: 80px 0;
}

.process-grid.jon-process-5 {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 48px;
}

.jon-onboarding-faq-note {
  margin-top: 32px;
  font-size: 15px;
  color: var(--fg-3);
  text-align: center;
}

/* ---- APPLICATION FORM ---- */
.jon-apply {
  background: var(--sl-blue-050);
  padding: 80px 0;
}

.jon-apply-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.jon-apply-header {
  text-align: center;
  margin-bottom: 48px;
}

.jon-apply-eyebrow {
  margin-bottom: 14px;
}

.jon-apply-h2 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--fg-1);
  margin-bottom: 14px;
}

.jon-apply-subhead {
  font-size: 16px;
  color: var(--fg-3);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- SERVICES CHECKBOXES ---- */
.jon-services-group {
  margin-bottom: 14px;
  border: 0;
  padding: 0;
  min-width: 0;
}

.jon-services-heading {
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
  width: 100%;
  padding: 0;
}

.jon-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jon-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* ---- FORM OVERRIDES ---- */
.form-field.wide {
  flex: 2;
}

.jon-cred-field {
  margin-bottom: 14px;
}

.form-submit-row.jon-submit-row {
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.jon-submit-disclaimer {
  font-size: 13px;
  color: var(--fg-3);
  max-width: 480px;
}

.jon-form-status {
  flex-basis: 100%;
  font-size: 14px;
  font-weight: 500;
}

.jon-form-status--success {
  color: var(--color-success, #1a7f37);
}

.jon-form-status--error {
  color: var(--color-error, #d1242f);
}

/* ===== RESPONSIVE ===== */

/* -- 960px: tablet layout reflow -- */
@media (max-width: 960px) {
  .jon-hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px 40px; }
  .jon-hero h1 { font-size: 44px; }
  .jon-hero-lead { max-width: none; }
  .jon-card-col { margin-top: 8px; }
  .jon-credentialing-toast { position: static; margin-top: 16px; max-width: none; }

  .jon-criteria-layout { grid-template-columns: 1fr; gap: 32px; }
  .jon-criteria-sticky { position: static; top: auto; }
  .jon-criteria-h2 { font-size: 34px; }

  .process-grid.jon-process-5 { grid-template-columns: repeat(3, 1fr); }

  .jon-apply-h2 { font-size: 34px; }
}

/* -- 640px: mobile -- */
@media (max-width: 640px) {
  .jon-hero-inner { padding: 36px 16px 32px; gap: 32px; }
  .jon-hero h1 { font-size: 32px; }
  .jon-hero-lead { font-size: 16px; }
  .jon-hero-ctas { flex-direction: column; align-items: stretch; }
  .jon-hero-stats { flex-wrap: no-wrap; gap: 20px; }
  .jon-provider-card { padding: 18px; }

  .jon-criteria { padding: 56px 0; }
  .jon-criteria-h2 { font-size: 28px; }
  .jon-req-item { grid-template-columns: 36px 1fr; gap: 14px; padding: 18px; }

  .process-grid.jon-process-5 { grid-template-columns: repeat(2, 1fr); }

  .jon-onboarding { padding: 56px 0; }
  .jon-apply { padding: 56px 0; }
  .jon-apply-inner { padding: 0 16px; }
  .jon-apply-h2 { font-size: 28px; }

  .jon-submit-row { flex-direction: column; align-items: stretch; }
  .jon-submit-disclaimer { max-width: none; }

  .form-submit-btn { width: 100%; }
}