/* ══ DIABETIC CARE CASE STUDY ══ */

/* ── Hero glow ────────────────────────── */
.dc-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 500px;
  background: radial-gradient(ellipse 70% 50% at 70% 0%,
    rgba(99,102,241,.1) 0%, rgba(139,92,246,.06) 40%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.dc-hero .cs-hero-inner { position: relative; z-index: 1; }

/* ── Section subtitle ─────────────────── */
.dc-section-sub {
  font-size: 17px;
  color: #7070a0;
  line-height: 1.75;
  margin-top: 12px;
  max-width: 680px;
}

/* ── Onboarding grid ──────────────────── */
.dc-onboarding-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
@media(max-width: 900px) { .dc-onboarding-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 560px) { .dc-onboarding-grid { grid-template-columns: 1fr; } }

.dc-ob-step {}
.dc-ob-screen {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.dc-ob-screen img { width: 100%; display: block; }
.dc-ob-num {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #a78bfa;
  display: block;
  margin-bottom: 7px;
}
.dc-ob-label p {
  font-size: 15px;
  color: #7070a0;
  line-height: 1.7;
}

/* ── Loading row ──────────────────────── */
.dc-loading-row {
  display: flex;
  gap: 40px;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 32px 36px;
}
@media(max-width: 700px) { .dc-loading-row { flex-direction: column; } }
.dc-loading-img {
  width: 200px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.dc-loading-img img { width: 100%; display: block; }
.dc-loading-note h4 {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.dc-loading-note p { font-size: 16px; color: #8080a0; line-height: 1.75; }

/* ── Core screens grid ────────────────── */
.dc-screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media(max-width: 900px) { .dc-screens-grid { grid-template-columns: 1fr; } }

.dc-screen-card {
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
  background: var(--bg2);
  transition: border-color .3s, transform .3s;
}
.dc-screen-card:hover {
  border-color: rgba(139,92,246,.3);
  transform: translateY(-5px);
}
.dc-screen-card > img {
  width: 100%;
  display: block;
  border-bottom: 1px solid var(--border);
}
.dc-screen-info { padding: 24px 22px; }
.dc-screen-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.dc-screen-info p { font-size: 15px; color: #7878a0; line-height: 1.75; }

/* ── Step sizes ───────────────────────── */
.cs-step-content h3 { font-size: 18px; }
.cs-step-content p  { font-size: 16px; }
.cs-prose p         { font-size: 18px; }
